8a1aa95
Patches for Vim - Vi IMproved 7.2
cvsdist 2cc57f3
cvsdist 2cc57f3
The files in this directory contain source code changes to fix
cvsdist 2cc57f3
problems in released versions of Vim.  Each file also contains an
cvsdist 2cc57f3
explanation of the problem that is fixed, like the message that
cvsdist 2cc57f3
was sent to the vim-dev maillist.
cvsdist 2cc57f3
cvsdist 2cc57f3
The best is to apply the patches in sequence.  This avoids problems
cvsdist 2cc57f3
when a patch depends on a previous patch.  If you did not unpack the
d172a1a
extra archive, you may want to skip patches marked with "(extra)".
f3be58e
Similarly for the "lang" archive.  Or ignore errors for missing files.
cvsdist 2cc57f3
cvsdist 2cc57f3
Before patching, change to the top Vim directory, where the "src"
cvsdist 2cc57f3
and "runtime" directories are located.
cvsdist 2cc57f3
Depending on the version of "patch" that you use, you may have add
cvsdist 2cc57f3
an argument to make it patch the right file:
8a1aa95
        patch -p < 7.2.001
8a1aa95
        patch -p0 < 7.2.001
cvsdist 2cc57f3
cvsdist 2cc57f3
After applying a patch, you need to compile Vim.  There are no
cvsdist 2cc57f3
patches for binaries.
cvsdist 2cc57f3
f330195
Checksums for the patch files can be found in the file MD5.
f330195
d172a1a
Collection of patches for Vim 7.2:
d172a1a
  SIZE  NAME                  INCLUDES
d172a1a
108889  7.2.001-100.gz        patches 7.2.001 to 7.2.100, gzip'ed
d172a1a
8a1aa95
Individual patches for Vim 7.2:
cvsdist 145ee09
cvsdist 2cc57f3
  SIZE  NAME     FIXES
8a1aa95
  1877  7.2.001  Mac: pseudo-ttys don't work properly on Leopard
8a1aa95
  1462  7.2.002  leaking memory when displaying menus
8a1aa95
  3663  7.2.003  typo in translated message, message not translated
8a1aa95
  3413  7.2.004  Cscope help message is not translated
62f925f
  4638  7.2.005  a few problems when profiling
8a1aa95
  1552  7.2.006  HTML files are not recognized by contents
62f925f
 16735  7.2.007  (extra) minor issues for VMS
62f925f
  1947  7.2.008  wrong window count when using :bunload in a BufHidden autocmd
62f925f
  2245  7.2.009  can't compile with Perl 5.10 on MS-aindows
62f925f
  5415  7.2.010  "K" in Visual mode does not properly escape all characters
62f925f
  2873  7.2.011  error when inserting a float value from expression register
62f925f
  1444  7.2.012  compiler warnings when building with startup timing
62f925f
  4157  7.2.013  hang when waiting for X selection, consuming lots of CPU time
307bbf4
  1769  7.2.014  synstack() doesn't work in an emptly line
307bbf4
  1943  7.2.015  "make all test install" doesn't stop when the test fails
307bbf4
  4536  7.2.016  cmdline completion pattern can be in freed memory
307bbf4
  5319  7.2.017  X11: strlen() used wrongly, pasting very big selection fails
307bbf4
  1390  7.2.018  memory leak when substitute is aborted
307bbf4
  2269  7.2.019  completion and exists() don't work for ":noautocmd"
307bbf4
  1521  7.2.020  "kvim" starts the GUI even though KDE is no longer supported
307bbf4
  4806  7.2.021  getting full file name when executing autocmds may be slow
307bbf4
  3823  7.2.022  (extra) cannot run tests with the MingW compiler
d8279b0
  2062  7.2.023  'cursorcolumn' wrong in a closed fold when display is shifted
d8279b0
  1452  7.2.024  'history' can be made negative, causes out-of-memory error
d8279b0
  1470  7.2.025  a CursorHold event that invokes system() is retriggered
6cd58e7
  2969  7.2.026  (after 7.2.010) 'K' uses the rest of the line
bb267a3
  3235  7.2.027  can use cscope commands in the sandbox, might not be safe
bb267a3
  1466  7.2.028  confusing error message for missing ()
bb267a3
  1291  7.2.029  no completion for ":doautoall" like for ":doautocmd"
bb267a3
  1546  7.2.030  (after 7.2.027) can't compile, ex_oldfiles undefined
bb267a3
 39400  7.2.031  file names from viminfo are not available to the user
bb267a3
  1583  7.2.032  (after 7.2.031) can't compile with EXITFREE defined
bb267a3
  2270  7.2.033  using "ucs-2le" for two-byte BOM, but text might be "utf-16le"
bb267a3
  2372  7.2.034  memory leak in spell info when deleting a buffer
bb267a3
  3522  7.2.035  mismatches for library and Vim alloc/free functions
bb267a3
  7545  7.2.036  (extra) mismatches for library and Vim alloc/free functions
bb267a3
  1576  7.2.037  double free with GTK 1 and compiled with EXITFREE
bb267a3
  2438  7.2.038  overlapping arguments to memcpy()
bb267a3
  1378  7.2.039  accessing freed memory on exit when EXITFREE is defined
bb267a3
  1836  7.2.040  ":e ++ff=dos foo" gets "unix" 'ff' when CR before NL missing
d172a1a
 22993  7.2.041  (extra) diff wrong when edit diff buffer in another tab page
bb267a3
  4987  7.2.042  restoring view in autocmd sometimes doesn't work completely
bb267a3
  2550  7.2.043  VMS: Too many chars escaped in filename and shell commands
bb267a3
  5639  7.2.044  crash because of gcc 4 being over protective for strcpy()
bb267a3
  2056  7.2.045  the Python interface has an empty entry in sys.path
bb267a3
  1704  7.2.046  wrong check for filling buffer with encoding
bb267a3
  2470  7.2.047  using -nb while it is not supported makes other side hang
bb267a3
  4758  7.2.048  v:count and v:prevcount are not set correctly
bb267a3
 32552  7.2.049  (extra) Win32: the clipboard doesn't support UTF-16
bb267a3
  8484  7.2.050  compiler warnings for not using return value of fwrite()
bb267a3
 15179  7.2.051  can't avoid 'wig' and 'suffixes' for glob() and globpath()
bb267a3
  2611  7.2.052  synIDattr() doesn't support "sp" for special color
bb267a3
  1754  7.2.053  crash when using WorkShop command ":ws foo"
bb267a3
  2006  7.2.054  compilation warnings for fprintf format
bb267a3
 34319  7.2.055  various compiler warnings with strict checking
bb267a3
  1635  7.2.056  (after 7.2.050) tests 58 and 59 fail
bb267a3
  3210  7.2.057  (after 7.2.056) trying to put size_t in int variable
bb267a3
  2338  7.2.058  can't add a feature name in the :version output
bb267a3
  1847  7.2.059  diff is not always displayed properly
bb267a3
 34772  7.2.060  spell checking doesn't work well for compound words
d172a1a
  1886  7.2.061  creating funcref requires loading the autoload script first
d172a1a
  1657  7.2.062  "[Scratch]" is not translated
d172a1a
  3558  7.2.063  warning for NULL argument of Perl_sys_init3()
d172a1a
  1942  7.2.064  repeating "~" on a Visual block doesn't always update screen
d172a1a
  5149  7.2.065  GTK GUI: cursor disappears doing ":vsp" when maximized
d172a1a
  2759  7.2.066  not easy to check if 'encoding' is a multi-byte encoding
d172a1a
  1683  7.2.067  can't load sesison extra file when it contains special chars
d172a1a
  2598  7.2.068  error when Emacs tags file line is too long
d172a1a
  1726  7.2.069  (after 7.2.060) compiler warning for putting size_t in int
d172a1a
 17606  7.2.070  crash when a function returns a:000
d172a1a
  2353  7.2.071  (extra) Win32: Handling netbeans events may cause a crash
d172a1a
  1615  7.2.072  (extra, fixed patch) compiler warning in Sniff code
d172a1a
  4121  7.2.073  ":set <xHome>" has the same output as ":set <Home>"
d172a1a
  1832  7.2.074  (extra, after 7.2.073) extra part of 7.2.073
d172a1a
  2218  7.2.075  (after 7.2.058) unclear comment about making a diff
d172a1a
  2666  7.2.076  rename(from, to) deletes file if names refer to the same file
d172a1a
  4745  7.2.077  (after 7.2.076) rename() fails if names differ only in case
d172a1a
  3298  7.2.078  problems with deleting folds
d172a1a
  6947  7.2.079  "killed" netbeans events are not handled correctly
d172a1a
  9942  7.2.080  accessing wrong memory with completion and composing char
d172a1a
  1728  7.2.081  compiler warning for float overflow on VAX
d172a1a
  2134  7.2.082  if 'ff' is "mac" then "ga" on a ^J shows 0x0d instead of 0x0a
d172a1a
  1733  7.2.083  ":tag" doesn't return to the right tag entry in the tag stack
d172a1a
  4331  7.2.084  Python: vim.eval() is wrong for recursive structures 
d172a1a
  1862  7.2.085  ":set <M-b>=<Esc>b" does not work when 'encoding' is utf-8
d172a1a
  3045  7.2.086  using ":diffget 1" in buffer 1 corrupts the text
d172a1a
  1570  7.2.087  adding URL to 'path' doesn't work to edit a file
d172a1a
  2895  7.2.088  (extra) Win32: Using the clipboard sometimes fails
d172a1a
  2473  7.2.089  (extra) Win32: crash when using Ultramon buttons
d172a1a
  3286  7.2.090  user command containing 0x80 does not work properly
d172a1a
  2113  7.2.091  ":cs help" output is not aligned for some languages
d172a1a
  4538  7.2.092  some error messages are not translated
d172a1a
  7287  7.2.093  (extra) dialogs can't always handle multi-byte text
d172a1a
  3430  7.2.094  compiler warning for signed/unsigned compare, typos
d172a1a
  1902  7.2.095  using "r" and then CTRL-C Visual highlighting is not removed
d172a1a
  1464  7.2.096  after ":number" "Press Enter" msg may be on the wrong screen
d172a1a
  1692  7.2.097  "!xterm&" doesn't work when 'shell' is "bash"
d172a1a
  1864  7.2.098  warning for signed/unsigned pointer
d172a1a
  3498  7.2.099  unnecessary redraw when changing GUI options in terminal
d172a1a
  3846  7.2.100  missing first three bytes on sourced FIFO
d172a1a
  1362  7.2.101  (extra) MSVC version not recognized
d172a1a
  1496  7.2.102  (after 7.2.100) BOM at start of Vim script not removed
d172a1a
  5153  7.2.103  tab page line isn't always updated, e.g. when 'bomb' is set
d172a1a
  1523  7.2.104  after ":saveas foo" the tab label isn't updated right away
d172a1a
  2159  7.2.105  modeline setting for 'foldmethod' overrules diff options
d172a1a
  3422  7.2.106  endless loop for "]s" in HTML when there are no misspellings
d172a1a
  1825  7.2.107  After a GUI dialog ":echo" messages are deleted
d172a1a
  1622  7.2.108  (after 7.2.105) can't compile without the diff feature
d172a1a
 11901  7.2.109  'langmap' does not work for multi-byte characters
d172a1a
  1407  7.2.110  compiler warning for unused variable
d172a1a
  2724  7.2.111  selection unclear for Visual block mode with 'cursorcolumn'
d172a1a
  1509  7.2.112  cursor invisible in first col in Visual mode if 'number' set
d172a1a
  2700  7.2.113  crash when using submatch() in substitute()
d172a1a
  2531  7.2.114  using wrong printf format: %d instead of %ld
d172a1a
  2716  7.2.115  some debugging code is never used
d172a1a
  1619  7.2.116  not all memory is freed when EXITFREE is defined
d172a1a
  2592  7.2.117  location list incorrectly labelled "Quickfix List"
d172a1a
  2068  7.2.118  <PageUp> at the more prompt only does half a page
d172a1a
  1550  7.2.119  status line is redrawn too often
d172a1a
  8305  7.2.120  location list is copied and then deleted when opening window
d172a1a
  4993  7.2.121  can't stop output of "!grep a *.c" in gvim with CTRL-C
d172a1a
  2472  7.2.122  invalid mem access if VimResized autocmd changes screen size
d172a1a
  1568  7.2.123  ":map" output continues after typing 'q' at more prompt
d172a1a
  3127  7.2.124  ":tselect" output continues after typing 'q' at more prompt
d172a1a
  3936  7.2.125  leaking memory when reading XPM bitmap for a sign
d172a1a
  4326  7.2.126  when EXITFREE is defined signs and keymaps are not freed
d172a1a
  1708  7.2.127  get another more prompt after typing 'q'
d172a1a
  1537  7.2.128  (after 7.2.055) ":lcd" causes invalid session file
d172a1a
  2229  7.2.129  opening command window from input() uses the search history
d172a1a
 12852  7.2.130  Vim may haing until CTRL-C is typed when using CTRL-Z
d172a1a
  2612  7.2.131  using wrong cursor highlighting after clearing 'keymap'
d172a1a
  7823  7.2.132  accessing freed memory when changing dir in SwapExists autocmd
d172a1a
  1665  7.2.133  ":diffoff!" changes settings in windows not in diff mode
d172a1a
  2314  7.2.134  compiler warnings for discarding "const" from pointer
d172a1a
  1991  7.2.135  memory leak when redefining user command with complete arg
d172a1a
  1326  7.2.136  (after 7.2.132) ":cd" still possible in SwapExists autocmd
d172a1a
 11328  7.2.137  wrong left shift of blockwise selection in tab when 've' set
d172a1a
  5428  7.2.138  extra part of 7.2.137
d172a1a
  2229  7.2.139  crash when 'virtualedit' is "all"
d172a1a
  1974  7.2.140  diff highlighting missing if Visual area starts at cursor pos
d172a1a
  6622  7.2.141  fixing bold spill redraws too many characters
d172a1a
  1753  7.2.142  Motif and Athena balloons don't use tooltip colors
d172a1a
  6830  7.2.143  no command line completion for ":cscope" command
d172a1a
  2304  7.2.144  colorscheme is reloaded when 't_Co' is set to the same value
d172a1a
  3379  7.2.145  white space in ":cscope find" is not ignored
d172a1a
  3394  7.2.146  v:warningmsg isn't used for all warnings
d172a1a
  1548  7.2.147  cursor in wrong position after Tab for small version
d172a1a
  4275  7.2.148  highlighting a character after the line doesn't always work