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