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