summaryrefslogtreecommitdiff
path: root/src/misc1.c
Commit message (Collapse)AuthorAgeFilesLines
* updated for version 7.3.631v7.3.631Bram Moolenaar2012-08-151-0/+87
| | | | | Problem: Cannot complete user names. Solution: Add user name completion. (Dominique Pelle)
* updated for version 7.3.629v7.3.629Bram Moolenaar2012-08-081-16/+21
| | | | | | Problem: There is no way to make 'shiftwidth' follow 'tabstop'. Solution: When 'shiftwidth' is zero use the value of 'tabstop'. (Christian Brabandt)
* updated for version 7.3.612v7.3.612Bram Moolenaar2012-07-251-0/+1
| | | | | Problem: Auto formatting messes up text when 'fo' contains "2". (ZyX) Solution: Decrement "less_cols". (Tor Perkins)
* updated for version 7.3.589v7.3.589Bram Moolenaar2012-07-061-3/+5
| | | | | Problem: Crash when $HOME is not set. Solution: Check for a NULL pointer. (Chris Webb)
* updated for version 7.3.576v7.3.576Bram Moolenaar2012-06-291-48/+15
| | | | | Problem: Formatting of lists inside comments is not right yet. Solution: Use another solution and add a test. (Tor Perkins)
* updated for version 7.3.564v7.3.564Bram Moolenaar2012-06-201-1/+2
| | | | | Problem: Warning for pointer conversion. Solution: Add type cast.
* updated for version 7.3.559v7.3.559Bram Moolenaar2012-06-201-3/+21
| | | | | Problem: home_replace() does not work with 8.3 filename. Solution: Make ":p" expand 8.3 name to full path. (Yasuhiro Matsumoto)
* updated for version 7.3.558v7.3.558Bram Moolenaar2012-06-201-4/+4
| | | | | Problem: Memory access error. (Gary Johnson) Solution: Allocate one more byte. (Dominique Pelle)
* updated for version 7.3.556v7.3.556Bram Moolenaar2012-06-141-3/+3
| | | | | Problem: Compiler warnings on 64 bit Windows. Solution: Add type casts. (Mike Williams)
* updated for version 7.3.552v7.3.552Bram Moolenaar2012-06-131-18/+79
| | | | | | Problem: Formatting inside comments does not use the "2" flag in 'formatoptions'. Solution: Support the "2" flag. (Tor Perkins)
* updated for version 7.3.549v7.3.549Bram Moolenaar2012-06-131-1/+3
| | | | | | Problem: In 'cinoptions' "0s" is interpreted as one shiftwidth. (David Pineau) Solution: Use the zero as zero. (Lech Lorens)
* updated for version 7.3.541v7.3.541Bram Moolenaar2012-06-061-6/+160
| | | | | Problem: When joining lines comment leaders need to be removed manually. Solution: Add the 'j' flag to 'formatoptions'. (Lech Lorens)
* updated for version 7.3.535v7.3.535Bram Moolenaar2012-06-011-1/+1
| | | | | | Problem: Many #ifdefs for MB_MAXBYTES. Solution: Also define MB_MAXBYTES without the +multi_byte feature. Fix places where the buffer didn't include space for a NUL byte.
* updated for version 7.3.515v7.3.515Bram Moolenaar2012-04-301-1/+7
| | | | | Problem: 'wildignorecase' only applies to the last part of the path. Solution: Also ignore case for letters earlier in the path.
* updated for version 7.3.495v7.3.495Bram Moolenaar2012-04-091-6/+6
| | | | | Problem: Compiler warnings. Solution: Add function declaration. Remove "offset" argument.
* updated for version 7.3.493v7.3.493Bram Moolenaar2012-04-061-2/+0
| | | | | Problem: Two unused variables. Solution: Remove them. (Hong Xu)
* updated for version 7.3.492v7.3.492Bram Moolenaar2012-04-051-4/+93
| | | | | Problem: Can't indent conditions separately from function arguments. Solution: Add the 'k' flag in 'cino. (Lech Lorens)
* updated for version 7.3.457v7.3.457Bram Moolenaar2012-02-291-11/+16
| | | | | | Problem: When setting $VIMRUNTIME later the directory for fetching translated messages is not adjusted. Solution: Put bindtextdomain() in vim_setenv().
* updated for version 7.3.431v7.3.431Bram Moolenaar2012-02-051-9/+28
| | | | | | | Problem: Fetching a key at a prompt may be confused by escape sequences. Especially when getting a prompt at a VimEnter autocommand. (Alex Efros) Solution: Properly handle escape sequences deleted by check_termcode().
* updated for version 7.3.399v7.3.399Bram Moolenaar2012-01-101-6/+12
| | | | | | Problem: ":cd" doesn't work when the path contains wildcards. (Yukihiro Nakadaira) Solution: Ignore wildcard errors when the EW_NOTWILD flag is used.
* updated for version 7.3.380v7.3.380Bram Moolenaar2011-12-141-7/+32
| | | | | Problem: C-indenting wrong for a function header. Solution: Skip to the start paren. (Lech Lorens)
* updated for version 7.3.379v7.3.379Bram Moolenaar2011-12-141-0/+3
| | | | | Problem: C-indenting wrong for static enum. Solution: Skip over "static". (Lech Lorens)
* updated for version 7.3.363v7.3.363Bram Moolenaar2011-11-301-0/+23
| | | | | | Problem: C indenting is wrong after #endif followed by a semicolon. Solution: Add special handling for a semicolon in a line by itself. (Lech Lorens)
* updated for version 7.3.356v7.3.356Bram Moolenaar2011-11-301-2/+3
| | | | | Problem: Using "o" with 'cindent' set may freeze Vim. (lolilolicon) Solution: Skip over {} correctly. (Hari G)
* updated for version 7.3.332v7.3.332Bram Moolenaar2011-10-041-38/+46
| | | | | | Problem: Indent after "public:" is not increased in C++ code. (Lech Lorens) Solution: Check for namespace after the regular checks. (partly by Martin Gieseking)
* updated for version 7.3.301v7.3.301Bram Moolenaar2011-09-071-2/+2
| | | | | | Problem: When 'smartindent' and 'copyindent' are set a Tab is used even though 'expandtab' is set. Solution: Do not insert Tabs. Add a test. (Christian Brabandt)
* updated for version 7.3.264v7.3.264Bram Moolenaar2011-07-271-3/+7
| | | | | | | | Problem: When the current directory name contains wildcard characters, such as "foo[with]bar", the tags file can't be found. (Jeremy Erickson) Solution: When searching for matching files also match without expanding wildcards. This is a bit of a hack.
* updated for version 7.3.255v7.3.255Bram Moolenaar2011-07-201-0/+4
| | | | | | Problem: When editing a file such as "File[2010-08-15].vim" an E16 error is given. (Manuel Stol) Solution: Don't give an error for failing to compile the regexp.
* updated for version 7.3.249v7.3.249Bram Moolenaar2011-07-151-2/+1
| | | | | Problem: Wrong indenting for array initializer. Solution: Detect '}' in a better way. (Lech Lorens)
* updated for version 7.3.213v7.3.213Bram Moolenaar2011-06-121-1/+1
| | | | | Problem: Javascript object literal is not indented correctly. Solution: Make a special case for when "J1" is in 'cino'. (Luc Deschenaux)
* updated for version 7.3.204v7.3.204Bram Moolenaar2011-05-251-1/+1
| | | | | Problem: Compiler warning. Solution: Add type cast. (Mike Williams)
* updated for version 7.3.202v7.3.202Bram Moolenaar2011-05-251-0/+105
| | | | | Problem: Cannot influence the indent inside a namespace. Solution: Add the "N" 'cino' parameter. (Konstantin Lepa)
* updated for version 7.3.201v7.3.201Bram Moolenaar2011-05-251-7/+15
| | | | | Problem: "} else" still causes following lines to be indented too much. Solution: Better detection for the "else" block. (Lech Lorens)
* updated for version 7.3.195v7.3.195Bram Moolenaar2011-05-191-5/+9
| | | | | | Problem: "} else" causes following lines to be indented too much. (Rouben Rostamian) Solution: Better detection for the "else". (Lech Lorens)
* updated for version 7.3.187v7.3.187Bram Moolenaar2011-05-101-12/+8
| | | | | Problem: The RISC OS port has obvious errors and is not being maintained. Solution: Remove the RISC OS files and code.
* updated for version 7.3.182v7.3.182Bram Moolenaar2011-05-101-1/+1
| | | | | Problem: Compiler warning for uninitialized variable. Solution: Add dummy initializer.
* updated for version 7.3.180v7.3.180Bram Moolenaar2011-05-101-36/+61
| | | | | | | Problem: When both a middle part of 'comments' matches and an end part, the middle part was used errornously. Solution: After finding the middle part match continue looking for a better end part match. (partly by Lech Lorens)
* updated for version 7.3.179v7.3.179Bram Moolenaar2011-05-101-1/+3
| | | | | Problem: C-indent doesn't handle colon in string correctly. Solution: Skip the string. (Lech Lorens)
* updated for version 7.3.178v7.3.178Bram Moolenaar2011-05-101-4/+17
| | | | | Problem: C-indent doesn't handle code right after { correctly. Solution: Fix detecting unterminated line. (Lech Lorens)
* updated for version 7.3.169v7.3.169Bram Moolenaar2011-04-281-5/+7
| | | | | | Problem: Freeing memory already freed, warning from static code analyzer. Solution: Initialize pointers to NULL, correct use of "mustfree". (partly by Dominique Pelle)
* updated for version 7.3.164v7.3.164Bram Moolenaar2011-04-281-6/+25
| | | | | | | Problem: C-indenting: a preprocessor statement confuses detection of a function delcaration. Solution: Ignore preprocessor lines. (Lech Lorens) Also recognize the style to put a comma before the argument name.
* updated for version 7.3.160v7.3.160Bram Moolenaar2011-04-111-5/+9
| | | | | | Problem: Unsafe string copying. Solution: Use vim_strncpy() instead of strcpy(). Use vim_strcat() instead of strcat().
* updated for version 7.3.158v7.3.158Bram Moolenaar2011-04-111-0/+2
| | | | | Problem: Might use uninitialized memory in C indenting. Solution: Init arrays to empty.
* updated for version 7.3.157v7.3.157Bram Moolenaar2011-04-111-2/+1
| | | | | Problem: Superfluous assignment. Solution: Remove assignment.
* updated for version 7.3.139v7.3.139Bram Moolenaar2011-03-221-1/+1
| | | | | Problem: When 'lazyredraw' is set ":ver" output can't be read. Solution: Don't redraw the screen when at a prompt or command line.
* updated for version 7.3.137v7.3.137Bram Moolenaar2011-03-031-0/+8
| | | | | | Problem: When 'lazyredraw' is set the screen may not be updated. (Ivan Krasilnikov) Solution: Call update_screen() before waiting for input.
* updated for version 7.3.103v7.3.103Bram Moolenaar2011-01-221-1/+1
| | | | | | Problem: Changing 'fileformat' and then using ":w" in an empty file sets the 'modified' option. Solution: In unchanged() don't ignore 'ff' for an empty file.
* updated for version 7.3.091v7.3.091Bram Moolenaar2010-12-301-3/+4
| | | | | | Problem: "vim -w foo" writes special key codes for removed escape sequences. (Josh Triplett) Solution: Don't write K_IGNORE codes.
* updated for version 7.3.072v7.3.072Bram Moolenaar2010-12-021-2/+5
| | | | | Problem: Can't complete file names while ignoring case. Solution: Add 'wildignorecase'.
* updated for version 7.3.002v7.3.001Bram Moolenaar2010-08-161-1/+2
| | | | | | | Problem: ":find" completion doesn't work when halfway an environment variable. (Dominique Pelle) Solution: Only use in-path completion when expanding file names. (Nazri Ramliy)