Blob Blame History Raw
Patches for Vim - Vi IMproved 7.1

The files in this directory contain source code changes to fix
problems in released versions of Vim.  Each file also contains an
explanation of the problem that is fixed, like the message that
was sent to the vim-dev maillist.

The best is to apply the patches in sequence.  This avoids problems
when a patch depends on a previous patch.  If you did not unpack the
extra archive, you may want to skip patches marked with "extra:".
Similarly for the "lang" archive.  Or ignore errors for missing files.

Before patching, change to the top Vim directory, where the "src"
and "runtime" directories are located.
Depending on the version of "patch" that you use, you may have add
an argument to make it patch the right file:
        patch -p < 7.1.001
        patch -p0 < 7.1.001

After applying a patch, you need to compile Vim.  There are no
patches for binaries.

Checksums for the patch files can be found in the file MD5.

Collection of patches for Vim 7.1:
  SIZE  NAME                  INCLUDES
 91424  7.1.001-100.gz	      patches 7.1.001 to 7.1.100, gzip'ed


Individual patches for Vim 7.1:

  SIZE  NAME     FIXES
  2404  7.1.001  can't build with Gnome GUI
  2011  7.1.002  Oracle Pro*C/C++ files are not detected
  1529  7.1.003  (extra) Win32: menu entries end up in message history
  2481  7.1.004  crash when editing a directory
  3841  7.1.005  "cit" used on <foo></foo> deletes <foo>
  2941  7.1.006  when reading from stdin 'modified' can't be reset in autocmd
  6458  7.1.007  (extra) Mac: context menu does not work, scrollbars not dimmed
  2631  7.1.008  getfsize() returns an invalid number for very big files
  1881  7.1.009  diff mode: tab to spaces change not highlighted correctly
  2796  7.1.010  Gnome: tab pages are not included in the saved session
  1934  7.1.011  buffer overflow when $VIMRUNTIME is very long
  1904  7.1.012  ":let &tw = 'asdf'" does not give an error message
  2139  7.1.013  ":syn include" only loads the first file
  1479  7.1.014  crash in C-indenting
  3743  7.1.015  MzScheme interface doesn't build on Mac; init problem
  2368  7.1.016  (after 7.1.012) error message when using ":cwindow"
  6729  7.1.017  ":confirm w" does not give a prompt when file is read-only
  1771  7.1.018  "p" at end of line doesn't work right when 've' is set
  1650  7.1.019  ":python" doesn't mention the command is not implemented
  3229  7.1.020  reading uninitialized memory when using a dialog
  2875  7.1.021  (after 7.1.015) MzScheme interface doesn't build on Win32
  1842  7.1.022  when setting 'keymap' twice b:keymap_name variable isn't set
  1718  7.1.023  "dw" in a line with one character deletes the line
  1335  7.1.024  using a pointer that may have become invalid
  2292  7.1.025  search('pat', 'bc) doesn't find word under cursor at BOL
  1710  7.1.026  "[p" doesn't work in Visual mode
  3345  7.1.027  on Sun OS reading from a process substitutions doesn't work
  2239  7.1.028  ":sort" does nothing special with empty search pattern
  2692  7.1.029  (after 7.1.019) can't compile when all interfaces are used
  2364  7.1.030  vimtutor shell script checks for "vim6" but not for "vim7"
  6533  7.1.031  virtcol([123, '$']) doesn't work
  3006  7.1.032  possible crash when doing completion on the command line
  1530  7.1.033  buffer marked modified after ":bdel" and ":next"
  2956  7.1.034  Win64: compiler warnings for typecast, optimizer problem
  1797  7.1.035  after ":s/./&/#" all listed lines have a line number
 12171  7.1.036  add "none" to completion of ":echohl" and ":match"
  1817  7.1.037  using strcpy() for an overlapping string
  5704  7.1.038  'preseveindent' doesn't always work when 'et' is set
  1750  7.1.039  weird help-tags tag in docs file may make cause a crash
 53412  7.1.040  ":match" only supports three matches
  4614  7.1.041  (extra, after 7.1.040) update test makefiles for new test
  2366  7.1.042  (after 7.1.040) internal error when using matchadd()
  2820  7.1.043  in Ex mode using CTRL-D twice may cause a crash
  1632  7.1.044  in Insert mode 0 CTRL-T deletes all indent
  3101  7.1.045  double screen redraw in some situations
  1637  7.1.046  ":s/.*/&/" deletes composing characters
  1552  7.1.047  wrong argument for vim_regcomp()
  5010  7.1.048  paren highlighting is not updated after scrolling
  1722  7.1.049  can't compile with GTK2 when using hangul input feature
  4800  7.1.050  possible crash in C++ indenting
  2295  7.1.051  accessing uninitialized memory when finding spell suggestions
  2435  7.1.052  when creating a new match not all fields are initialized
  1473  7.1.053  reading uninitialized memory when updating command line
  4451  7.1.054  accessing uninitialized memory when displaying the fold column
  5414  7.1.055  using strcpy() with arguments that overlap
  3151  7.1.056  scrolling back at more prompt doesn't work properly
  2514  7.1.057  CursorHold causes problems for Normal and Visual mode commands
 10612  7.1.058  completion menu doesn't work properly when 'righleft' is set
  3350  7.1.059  in Ex mode "g/^/vi" and pressing CTRL-C: Vim hangs and beeps
  5066  7.1.060  splitting quickfix window messes up window layout
  6320  7.1.061  with latin1 'ignorecase' doesn't work for umlauts
  1550  7.1.062  (after 7.0.038) C comment indent can be wrong
  1391  7.1.063  compiler warning for uninitialized variable
  1405  7.1.064  on interix some files appear not to exist
  2983  7.1.065  Win32: MingW Compilation problem for newer version of w32api
  4553  7.1.066  when 'bomb' is changed the file should be considered modified
  7701  7.1.067  'infercase' doesn't work for thesaurus completion
  6709  7.1.068  'equalalways' equalizes windows too often
  2757  7.1.069  GTK GUI: confirm() dialog has a default button when not wanted
  1560  7.1.070  (extra) Win32 GUI: same confirm() default button problem
  5534  7.1.071  (after 7.1.040) add a basic test for regexp patterns
  5705  7.1.072  (extra, after 7.1.041 and 7.1.071) extra part of 7.1.071
  3595  7.1.073  (after 7.1.062) crash when 'preserveindent' is set
  5259  7.1.074  crash when using string() on a recursively nested List
  1686  7.1.075  ":let v:statusmsg" reads memory already freed
  2376  7.1.076  a couple more strcpy() with overlapping arguments
  2678  7.1.078  dropping file name on gvim containing CSI byte doesn't work
  2922  7.1.079  "@" character in 'isfname' doesn't pick up umlauts for latin1
  2960  7.1.080  (extra) Compiler warnings for gvimex.cpp
  3253  7.1.081  completion doesn't work after ":!cat <foo"
  3464  7.1.082  matchparen plugin doesn't update after window split
  3448  7.1.083  (after 7.1.081) completion doesn't work with wildcards
  1671  7.1.084  netbeans doesn't get fileOpened events when using -nb twice
  2496  7.1.085  after ":split fold.c" folds in one window disappear
  3561  7.1.086  crash when using specific Python syntax highlighting
  4165  7.1.087  cscope: reading past command end; writing past buffer end
  2276  7.1.088  (extra) window position wrong when using ":winpos"
 13841  7.1.089  when listing variables text of command is not cleared
  2372  7.1.090  compiler warning on Mac OS X 10.5 for sigaltstack()
 10488  7.1.091  (extra) Win32: add --windowid argument
  2901  7.1.092  (extra, after 7.1.088) wrong args for MoveWindowStructure()
 15955  7.1.093  read past end of screen line when checking for double width
  1901  7.1.094  using wrong buffer to check if syntax HL is present
  5809  7.1.095  autocmmand for focus events may cause problems
  2287  7.1.096  reading past end of a string when resizing Vim
  1620  7.1.097  "setlocal stl=%!expr" doesn't work
  1780  7.1.098  ":call s:var()" doesn't work if "s:var" is a Funcref
  4552  7.1.099  ":mkvimrc" doesn't work properly when 'paste' or 'keymap' set
 14551  7.1.100  Win32: Executing cscope doesn't always work properly
  1614  7.1.101  Ruby: The Buffer.line= method does not work
  3276  7.1.102  Perl interface doesn't compile with new version of Perl
  1976  7.1.103  "dw" past end of last line deletes a character
 14346  7.1.104  (after 7.1.095) when 'lazyredraw' set redraw may be postponed
  2426  7.1.105  internal error when using "0 ? {'a': 1} : {}"
  1580  7.1.106  ":messages" doesn't quit listing on ":"
  4081  7.1.107  Visual block mode "s" that auto-indents fails in other lines
  2633  7.1.108  (after 7.1.100) Win32: compilation problems in Cscope code
  2147  7.1.109  GTK GUI: click on arrow left of tab 
  2234  7.1.110  (after 7.1.102) Win32: Still compilation problems with Perl
  2946  7.1.111  after ":vimgrep /pat/j *" folds can be wrong
  1766  7.1.112  using input() with a wrong argument may crash Vim
  2765  7.1.113  map() on an empty list causes memory to be freed twice
  1386  7.1.114  memory leak in getmatches()
  1472  7.1.115  (after 7.1.105) compiler warning for uninitialized variable
  3137  7.1.116  can't display characters above 0x10000
  1414  7.1.117  can't check wether Vim was compiled with Gnome
  1805  7.1.118  (after 7.1.107) compiler warning for Visual C compiler
  1761  7.1.119  crash after setting 'cmdheight' to huge value
 17416  7.1.120  can't use valgrind with "make test" to test for memory leaks
  2350  7.1.121  ":cd %:h" fails when editing file in current directory
  3732  7.1.122  Mac: building with Aap doesn't work properly
  8051  7.1.123  Win32: ":edit foo ~ foo" expands "~"
  2599  7.1.124  (extra) Mac: may get empty buffer if dropping file on Vim.app
 12060  7.1.125  the TermResponse autocommand event is not always triggered
 13372  7.1.126  (extra) ":vimgrep */*" doesn't work if autocmd changes dir
  2319  7.1.127  memory leak when doing completing
  2079  7.1.128  (extra) build problem with Cygwin
  1740  7.1.129  (extra) Win32: Can't get long user name
  9494  7.1.130  crash with some combination of undo and redo
  1535  7.1.131  ":mksession" always adds ":setlocal autoread"
  1781  7.1.132  getpos("'>") may return < 0 for a Linewise selection
  1515  7.1.133  shorten_fname1() linked when it's not needed
 10379  7.1.134  (extra) Win32: Can't build with VC8
  3337  7.1.135  Win32: ":e c:/tmp/foo" and ":e c:/tmp//foo" create two buffers
  1522  7.1.136  memory leak when using Ruby syntax highlighting
  1553  7.1.137  build failure when using EXITFREE
  1836  7.1.138  Perl: Msg() doesn't stop when "q" is typed at the more prompt
  1557  7.1.139  fold truncated when ending Insert mode with CTRL-C
  1664  7.1.140  v:count can't be used in an expression mapping
  2806  7.1.141  GTK: can't use negative offset with -geom argument
  2161  7.1.142  ":redir @A>" doesn't work
  1723  7.1.143  uninitialized memory read when diffing three files
  1250  7.1.144  after ":diffup" cursor can be in the wrong position
  6160  7.1.145  stay in Insert completion mode depending on the char typed
  2838  7.1.146  VMS: writing fails for rare record organisation
  2079  7.1.147  (after 7.1.127) freeing memory twice completing user name
  2557  7.1.148  QNX and some other systems require testing for sys/types.h
  4823  7.1.149  completion menu messed up when using the scroll bar
  1759  7.1.150  Visual mode "p" doesn't work when 'clipboard' has "unnamed"
  2108  7.1.151  lalloc(0) error for line completion with 'ic' and 'inf' set
  3183  7.1.152  display problem when 'hls' and 'cursorcolumn' are set
  4610  7.1.153  compiler warnings on SGI
  1547  7.1.154  (after 7.1.152) compiler warning for signed/unsigned compare
  1594  7.1.155  crash when 'undolevels' is 0 and repeating "udd"
  4174  7.1.156  overlapping arguments for strcpy() during cmdline completion
  1541  7.1.157  :" in Ex mode at end of file results in an error message
  4629  7.1.158  (extra) Win32: with utf-8 and cp1250 Alt-y is the wrong char
  1646  7.1.159  overlapping arguments for a strcpy()
  1661  7.1.160  getting/losing focus may cause hit-enter prompt to be redrawn
  4347  7.1.161  compilation errors with tiny features and EXITFREE
  4691  7.1.162  crash when using a modifier before "while" or "for"
  2367  7.1.163  warning for the unknown option 'bufsecret'
  1576  7.1.164  reading past end of regexp pattern
  5538  7.1.165  crash related to getting X window ID
  2134  7.1.166  memory leak when using "gp" in Visual mode
  2528  7.1.167  xxd crashes when using "xxd -b -c 110"
  2989  7.1.168  (extra) Win32 GUI: when no focus click doesn't position cursor
  1926  7.1.169  using uninitialized memory when system() fails
  1722  7.1.170  overlapping arguments to strcpy()
  2324  7.1.171  reading one byte before allocated memory.
  1536  7.1.172  if 'buftype' is "acwrite" Vim still does overwrite check
  1928  7.1.173  accessing freed memory when using "\%^" pattern
  2197  7.1.174  writing NUL past end of a buffer
  4722  7.1.175  <BS> doesn't work with some combination of option settings