1fa1ff
Patches for Vim - Vi IMproved 7.4
1fa1ff
1fa1ff
The files in this directory contain source code changes to fix problems
1fa1ff
in a released version of Vim.  Each file also contains an explanation of
1fa1ff
the problem that is fixed, like the message that was sent to the vim-dev
1fa1ff
maillist.
1fa1ff
1fa1ff
The best is to apply the patches in sequence.  This avoids problems when
1fa1ff
a patch depends on a previous patch. 
1fa1ff
1fa1ff
Before patching, change to the top Vim directory, where the "src" and
1fa1ff
"runtime" directories are located.
1fa1ff
Depending on the version of "patch" that you use, you may have add an
1fa1ff
argument to make it patch the right file:
1fa1ff
        patch -p < 7.4.001
1fa1ff
        patch -p0 < 7.4.001
1fa1ff
1fa1ff
After applying a patch, you need to compile Vim.  There are no patches
1fa1ff
for binaries.
1fa1ff
1fa1ff
Checksums for the patch files can be found in the file MD5.
1fa1ff
1fa1ff
1fa1ff
Individual patches for Vim 7.4:
1fa1ff
1fa1ff
  SIZE  NAME     FIXES
1fa1ff
 13179  7.4.001  'ic' doesn't work for patterns such as [a-z]
1fa1ff
  2522  7.4.002  pattern with two alternative look-behind matches doesn't match
1fa1ff
  2680  7.4.003  memory access error in Ruby syntax highlighting
1fa1ff
  7145  7.4.004  when closing a window fails ":bwipe" may hang
1fa1ff
  1391  7.4.005  "vaB" while 'virtualedit' is set selects the wrong area
1fa1ff
  1952  7.4.006  mkdir("foo/bar/", "p") gives an error message
1fa1ff
  2538  7.4.007  creating a preview window on startup messes up the screen
1fa1ff
  2176  7.4.008  new regexp engine can't be interrupted
1fa1ff
  2051  7.4.009  too easy to write a file was not decrypted (yet)
1fa1ff
  2307  7.4.010  (after 7.4.006) crash with invalid argument to mkdir()
1fa1ff
  2270  7.4.011  cannot find out if "acl" and "xpm" features are supported
1fa1ff
  6180  7.4.012  MS-Windows: resolving multi-bye shortcut does not work
1fa1ff
  2986  7.4.013  MS-Windows: File name buffer too small for utf-8
1fa1ff
  2671  7.4.014  MS-Windows: check for writing to device does not work
1fa1ff
  3135  7.4.015  MS-Windows: Detecting node type fails for multi-byte chars
1fa1ff
  5999  7.4.016  MS-Windows: File name completion has problem with Chinese
1fa1ff
  2319  7.4.017  ":help !!" does not find the "!!" tag in the help file
1fa1ff
  1400  7.4.018  when completing item becomes unselected
1fa1ff
  1948  7.4.019  file name completion fails with Chinese characters
1fa1ff
  2586  7.4.020  NFA engine matches too much with \@>
1fa1ff
  2806  7.4.021  NFA regexp: Using \ze may result in wrong end
1fa1ff
  4209  7.4.022  deadlock while exiting, because of allocating memory
1fa1ff
  1704  7.4.023  MS-Windows: warning for 64 bit type
1fa1ff
  1992  7.4.024  current user cannot always use the undo file he created
1fa1ff
  2074  7.4.025  reading before start of a string
1fa1ff
  1710  7.4.026  clang warning for int shift overflow
1fa1ff
  2815  7.4.027  valgrind error when using CTRL-X CTRL-F at start of the line
dcaee6
 27323  7.4.028  equivalence classes are not working for multi-byte characters
dcaee6
  1837  7.4.029  an error in a pattern is reported twice
dcaee6
  2724  7.4.030  the -mno-cygwin argument is no longer supported by Cygwin
dcaee6
  1748  7.4.031  ":diffoff!" resets options even when 'diff' is not set
dcaee6
  2629  7.4.032  NFA engine does not match the NUL character
dcaee6
  3610  7.4.033  if terminal has 20 lines test 92 and 93 overwrite input file
dcaee6
  5336  7.4.034  using "p" in Visual block mode only changes the first line
dcaee6
  1696  7.4.035  MS-Windows: mouse pointer flickers when going to Normal mode
dcaee6
  7996  7.4.036  NFA engine does not capture group correctly when using \@>
dcaee6
  4274  7.4.037  "\ze" in a sub-pattern does set the end of the match
dcaee6
  3579  7.4.038  Using "zw" and "zg" when 'spell' is off give confusing error
dcaee6
  6108  7.4.039  MS-Windows: < MSCV10 can't handle symlinks to a directory
dcaee6
  2320  7.4.040  error on exit when variable holds reference to a script scope
dcaee6
  1695  7.4.041  Visual selection does not remain after being copied over
dcaee6
  2104  7.4.042  after ":setlocal" 'spell'/'spellang' :spelldump doesn't work
dcaee6
  2920  7.4.043  VMS can't handle long function names
dcaee6
  2134  7.4.044  can't build with old MSVC
dcaee6
  3167  7.4.045  substitute() has a problem with pattern starting with "\ze".
dcaee6
  2147  7.4.046  can't use Tcl 8.6
dcaee6
  1685  7.4.047  input() does not work in a function invoked by a mapping
dcaee6
  4441  7.4.048  recent clang version complains about -fno-strength-reduce
dcaee6
  2145  7.4.049  in Ex mode substitute prompt is wrong with line numbers
dcaee6
  2605  7.4.050  "gn" may select too much when there are two matching lines
dcaee6
  2068  7.4.051  syntax highlighting a Yaml file causes a crash
dcaee6
  5890  7.4.052  cursor may end up in the wrong position when auto-formatting
dcaee6
  1251  7.4.053  test75 has a wrong header
dcaee6
  1441  7.4.054  reading past end of the 'stl' string
dcaee6
  4758  7.4.055  Mac: Where macros are defined depends on the system
dcaee6
  1651  7.4.056  Mac: Compilation problem with OS X 10.9 Mavericks
dcaee6
  7773  7.4.057  byteidx() does not work for composing characters
dcaee6
  2094  7.4.058  warnings on 64 bit Windows
dcaee6
  1479  7.4.059  set_last_cursor() may encounter w_buffer being NULL
dcaee6
  3582  7.4.060  declaration has wrong return type for PyObject_SetAttrString()
dcaee6
  4688  7.4.061  (after 7.4.056) configure check in the wrong place
dcaee6
  2634  7.4.062  (after 7.4.061) wrong configure check for AvailabilityMacros.h
dcaee6
  3619  7.4.063  crash when using invalid key in Python dictionary
dcaee6
  5347  7.4.064  in Visual block mode replacing with CR does not break lines
dcaee6
  2117  7.4.065  the character typed at the hit-enter prompt is recorded twice
dcaee6
  9483  7.4.066  MS-Windows: swap file name wrong if colon in file name
dcaee6
  4139  7.4.067  CTRL-\ CTRL-O moves the cursor after inserting comment leader
dcaee6
  5093  7.4.068  cannot build Vim on Mac with non-Apple compilers
dcaee6
 73551  7.4.069  cannot right shift comment lines starting with #
dcaee6
  1387  7.4.070  (after 7.4.069) can't compile with tiny features
dcaee6
 38365  7.4.071  (after 7.4.069) passing limits around too often
dcaee6
  1748  7.4.072  crash when using Insert mode completion
dcaee6
 11426  7.4.073  setting undolevels for one buffer changes undo in another
dcaee6
  2054  7.4.074  when undo'ing all and making a change, undo structure is wrong
dcaee6
  9907  7.4.075  locally setting 'undolevels' is not tested
dcaee6
  1894  7.4.076  "cgn" does not wrap around the end of the file
dcaee6
  2216  7.4.077  DOS installer creates shortcut without a path
dcaee6
  3552  7.4.078  MSVC 2013 is not supported
dcaee6
 13657  7.4.079  a script cannot detect whether 'hlsearch' highlighting is on
dcaee6
  1873  7.4.080  (after 7.4.079) missing documentation for v:hlsearch
dcaee6
  1659  7.4.081  (after 7.4.078) wrong logic when ANALYZE is "yes"
dcaee6
 11034  7.4.082  using "gf" in a changed buffer suggests adding "!"
dcaee6
  4493  7.4.083  hard to avoid adding a used pattern to the search history
dcaee6
  5971  7.4.084  Python: interrupt not being properly discarded
dcaee6
  3581  7.4.085  can't move cursor when inserting text in Visual block mode
dcaee6
  4786  7.4.086  can't skip over expression when not evaluating for dict member
dcaee6
  1770  7.4.087  compiler warning on 64 bit Windows systems
dcaee6
 16587  7.4.088  Asian characters are always marked as spell errors
dcaee6
  1397  7.4.089  Vim doesn't set the security context on a renamed file
dcaee6
  7859  7.4.090  Win32: no completion if dir name contains an exclamation mark
dcaee6
  1926  7.4.091  (after 7.4.089) missing semicolon
dcaee6
  1697  7.4.092  (after 7.4.088) can't build small version
dcaee6
  2993  7.4.093  configure can't use LuaJIT on ubuntu 12.04
dcaee6
  4837  7.4.094  configure may not find that -lint is needed for gettext()
dcaee6
  3138  7.4.095  (after 7.4.093) regexp for LuaJIT version doesn't work on BSD
dcaee6
  2294  7.4.096  can't change directory to an UNC path
dcaee6
  1615  7.4.097  unexpected behavior change related to 'virtualedit'
dcaee6
  8357  7.4.098  error for line numbers out of range when using ":'<,'>del"
dcaee6
  3122  7.4.099  append in blockwise Visual mode with "$" is wrong
dcaee6
  3069  7.4.100  NFA regexp doesn't handle backreference correctly
dcaee6
  2899  7.4.101  using \1 in pattern goes one line too far
dcaee6
  2128  7.4.102  crash when interrupting "z="
dcaee6
  3846  7.4.103  dos installer escapes spaces in the diff command wrong
dcaee6
  2823  7.4.104  ":help s/\_" reports an internal error
dcaee6
  1792  7.4.105  completing a tag pattern may give an error for invalid pattern
dcaee6
  1971  7.4.106  can't build with Ruby using Cygwin
dcaee6
 21498  7.4.107  Python try/catch doesn't catch Vim error in vim.eval()
dcaee6
  5478  7.4.108  "zG" and "zW" leave temp files around on MS-Windows
dcaee6
  3775  7.4.109  ColorScheme autocommand matches with the current buffer name
dcaee6
  3703  7.4.110  "gUgn" cannot be repeeated
dcaee6
  1709  7.4.111  memory leak in Python OptionsAssItem
dcaee6
  1862  7.4.112  MS-Windows: defaults for 'dir' and 'bdir' do not include $TEMP
dcaee6
  2561  7.4.113  MSVC static analysis gives warnings
dcaee6
  3353  7.4.114  new GNU make directory change messages are different
dcaee6
  1633  7.4.115  Zsh: expanding ~abc fails when the result contains a space
dcaee6
  1381  7.4.116  'showcmd' does not show a typed space
dcaee6
  8049  7.4.117  can't build with Cygwin/MingW and Perl 5.18
dcaee6
  2394  7.4.118  redrawing status lines may causes recursive call
dcaee6
  7060  7.4.119  Vim doesn't work well on OpenVMS
dcaee6
  1702  7.4.120  (after 7.4.117) can't build with Perl 5.18 on Linux
dcaee6
  1426  7.4.121  completion doesn't work for ":py3d" and ":py3f"
dcaee6
  6071  7.4.122  Win32: :grep doesn't work when 'encoding' and ACP differ
dcaee6
  1883  7.4.123  Win32: Getting user name does not use wide function
dcaee6
  1730  7.4.124  Win32: Getting host name does not use wide function
dcaee6
  1568  7.4.125  Win32: Dealing with messages may not work for multi-byte chars
dcaee6
  1946  7.4.126  compiler warnings for "const" and incompatible types
dcaee6
  1949  7.4.127  Perl 5.18 on Unix doesn't work
dcaee6
  1948  7.4.128  Perl 5.18 for MSVC doesn't work
dcaee6
  1499  7.4.129  getline(-1) returns zero
dcaee6
  2064  7.4.130  relative line numbers mix up windows when using folds
dcaee6
  3038  7.4.131  syncbind causes E315 errors in some situations
dcaee6
  1559  7.4.132  (after 7.4.122) Win32: flags/inherit_handles args mixed up
dcaee6
  2043  7.4.133  Clang warns for using NUL
dcaee6
  1562  7.4.134  spurious space in MingW Makefile
dcaee6
  1696  7.4.135  missing dot in MingW test Makefile
dcaee6
  2314  7.4.136  (after 7.4.096) Windows: readonly when saving UNC path file
dcaee6
  6184  7.4.137  cannot use IME with Windows 8 console
dcaee6
  3391  7.4.138  (after 7.4.114) directory change messages are not recognized
dcaee6
  2254  7.4.139  crash when using :cd in autocommand
dcaee6
  5016  7.4.140  crash when autocommand wipes out only other buffer
dcaee6
  2430  7.4.141  problems when building with Borland
dcaee6
  4651  7.4.142  (after 7.4.137) on MS-Windows 8 IME input doen't work well
dcaee6
  6310  7.4.143  TextChangedI is not triggered.
dcaee6
  1480  7.4.144  MingW also supports intptr_t for OPEN_OH_ARGTYPE
dcaee6
  2513  7.4.145  getregtype() does not return zero for unknown register
dcaee6
  2324  7.4.146  when starting Vim with "-u NONE" v:oldfiles is NULL
dcaee6
  2583  7.4.147  cursor position wrong when using "gj" after "$"
dcaee6
  2554  7.4.148  cannot build with Cygwin and X1.
dcaee6
 24083  7.4.149  get E685 error when assigning a function to autoload variable
dcaee6
  2596  7.4.150  :keeppatterns is not respected for :s
dcaee6
 37572  7.4.151  Python: slices with steps are not supported
dcaee6
 19610  7.4.152  Python: Cannot iterate over options
dcaee6
  6150  7.4.153  compiler warning for pointer type
dcaee6
  5202  7.4.154  (after 7.4.149) still a problem with auto-loading
dcaee6
  2233  7.4.155  (after 7.4.150) search offset not kept with :keeppatterns
dcaee6
  1466  7.4.156  test file missing from distribution
dcaee6
  1643  7.4.157  error number used twice
dcaee6
  4006  7.4.158  pattern containing \zs not handled correctly by substitute()
dcaee6
  3819  7.4.159  completion hangs when using the current buffer after keywords
dcaee6
  2026  7.4.160  Win32: Crash when executing external command