blob: ab4e385e89b910d1694983e69cbc6b9944735966 [file] [log] [blame]
Bram Moolenaar36782082013-11-28 13:53:34 +01001*version7.txt* For Vim version 7.4. Last change: 2013 Nov 18
Bram Moolenaar071d4272004-06-13 20:20:40 +00002
3
4 VIM REFERENCE MANUAL by Bram Moolenaar
5
Bram Moolenaar7a329912010-05-21 12:05:36 +02006 *vim7* *version-7.0* *version7.0*
Bram Moolenaar071d4272004-06-13 20:20:40 +00007Welcome to Vim 7! A large number of features has been added. This file
8mentions all the new items, changes to existing features and bug fixes
Bram Moolenaar8ea91232006-04-28 22:41:43 +00009since Vim 6.x. Use this command to see the version you are using: >
Bram Moolenaarb2956cd2005-01-27 14:42:53 +000010 :version
Bram Moolenaar071d4272004-06-13 20:20:40 +000011
12See |vi_diff.txt| for an overview of differences between Vi and Vim 7.0.
13See |version4.txt| for differences between Vim 3.x and Vim 4.x.
14See |version5.txt| for differences between Vim 4.x and Vim 5.x.
15See |version6.txt| for differences between Vim 5.x and Vim 6.x.
16
17INCOMPATIBLE CHANGES |incompatible-7|
18
19NEW FEATURES |new-7|
20
Bram Moolenaarbac234e2005-01-17 22:21:07 +000021Vim script enhancements |new-vim-script|
Bram Moolenaar60c78922005-03-20 22:40:14 +000022Spell checking |new-spell|
Bram Moolenaarf75a9632005-09-13 21:20:47 +000023Omni completion |new-omni-completion|
Bram Moolenaarfb670262005-06-05 22:06:27 +000024MzScheme interface |new-MzScheme|
25Printing multi-byte text |new-print-multi-byte|
Bram Moolenaar17be7e62006-03-12 22:13:45 +000026Tab pages |new-tab-pages|
Bram Moolenaar34e9e2f2006-03-14 23:07:19 +000027Undo branches |new-undo-branches|
Bram Moolenaar362e1a32006-03-06 23:29:24 +000028Extended Unicode support |new-more-unicode|
Bram Moolenaar17be7e62006-03-12 22:13:45 +000029More highlighting |new-more-highlighting|
Bram Moolenaar293ee4d2004-12-09 21:34:53 +000030Translated manual pages |new-manpage-trans|
Bram Moolenaar8fc061c2004-12-29 21:03:02 +000031Internal grep |new-vimgrep|
Bram Moolenaar87e25fd2005-07-27 21:13:01 +000032Scroll back in messages |new-scroll-back|
Bram Moolenaarea0cd362006-03-16 21:46:52 +000033Cursor past end of the line |new-onemore|
Bram Moolenaar4399ef42005-02-12 14:29:27 +000034POSIX compatibility |new-posix|
Bram Moolenaare2ac10d2005-03-07 23:26:06 +000035Debugger support |new-debug-support|
Bram Moolenaar0be6e642005-08-04 21:32:22 +000036Remote file explorer |new-netrw-explore|
Bram Moolenaar900b4d72005-12-12 22:05:50 +000037Define an operator |new-define-operator|
Bram Moolenaarade00832006-03-10 21:46:58 +000038Mapping to an expression |new-map-expression|
Bram Moolenaarb3656ed2006-03-20 21:59:49 +000039Visual and Select mode mappings |new-map-select|
Bram Moolenaar17c7c012006-01-26 22:25:15 +000040Location list |new-location-list|
Bram Moolenaar071d4272004-06-13 20:20:40 +000041Various new items |new-items-7|
42
43IMPROVEMENTS |improvements-7|
44
45COMPILE TIME CHANGES |compile-changes-7|
46
47BUG FIXES |bug-fixes-7|
48
Bram Moolenaarc81e5e72007-05-05 18:24:42 +000049VERSION 7.1 |version-7.1|
50Changed |changed-7.1|
51Added |added-7.1|
52Fixed |fixed-7.1|
53
Bram Moolenaar8c8de832008-06-24 22:58:06 +000054VERSION 7.2 |version-7.2|
55Changed |changed-7.2|
56Added |added-7.2|
57Fixed |fixed-7.2|
58
Bram Moolenaar00a927d2010-05-14 23:24:24 +020059VERSION 7.3 |version-7.3|
Bram Moolenaar6df6f472010-07-18 18:04:50 +020060
61Persistent undo |new-persistent-undo|
62More encryption |new-more-encryption|
63Conceal text |new-conceal|
64Lua interface |new-lua|
65Python3 interface |new-python3|
66
Bram Moolenaar00a927d2010-05-14 23:24:24 +020067Changed |changed-7.3|
68Added |added-7.3|
69Fixed |fixed-7.3|
70
Bram Moolenaar913df812013-07-06 15:44:11 +020071VERSION 7.4 |version-7.4|
72New regexp engine |new-regexp-engine|
Bram Moolenaar9ba7e172013-07-17 22:37:26 +020073Better Python interface |better-python-interface|
Bram Moolenaar913df812013-07-06 15:44:11 +020074Changed |changed-7.4|
75Added |added-7.4|
76Fixed |fixed-7.4|
77
78
Bram Moolenaar071d4272004-06-13 20:20:40 +000079==============================================================================
80INCOMPATIBLE CHANGES *incompatible-7*
81
82These changes are incompatible with previous releases. Check this list if you
Bram Moolenaarb2956cd2005-01-27 14:42:53 +000083run into a problem when upgrading from Vim 6.x to 7.0.
84
85A ":write file" command no longer resets the 'modified' flag of the buffer,
86unless the '+' flag is in 'cpoptions' |cpo-+|. This was illogical, since the
87buffer is still modified compared to the original file. And when undoing
88all changes the file would actually be marked modified. It does mean that
89":quit" fails now.
Bram Moolenaar071d4272004-06-13 20:20:40 +000090
Bram Moolenaarf4b8e572004-06-24 15:53:16 +000091":helpgrep" now uses a help window to display a match.
92
Bram Moolenaar1cd871b2004-12-19 22:46:22 +000093In an argument list double quotes could be used to include spaces in a file
94name. This caused a difference between ":edit" and ":next" for escaping
95double quotes and it is incompatible with some versions of Vi.
96 Command Vim 6.x file name Vim 7.x file name ~
Bram Moolenaarc9b4b052006-04-30 18:54:39 +000097 :edit foo\"888 foo"888 foo"888
98 :next foo\"888 foo888 foo"888
99 :next a\"b c\"d ab cd a"b and c"d
Bram Moolenaar1cd871b2004-12-19 22:46:22 +0000100
Bram Moolenaar8c711452005-01-14 21:53:12 +0000101In a |literal-string| a single quote can be doubled to get one.
102":echo 'a''b'" would result in "a b", but now that two quotes stand for one it
103results in "a'b".
104
Bram Moolenaar04a09c12005-08-01 22:02:32 +0000105When overwriting a file with ":w! fname" there was no warning for when "fname"
106was being edited by another Vim. Vim now gives an error message |E768|.
107
Bram Moolenaar241a8aa2005-12-06 20:04:44 +0000108The support for Mac OS 9 has been removed.
109
Bram Moolenaard2cec5b2006-03-28 21:08:56 +0000110Files ending in .tex now have 'filetype' set to "context", "plaintex", or
111"tex". |ft-tex-plugin|
112
Bram Moolenaarf4b8e572004-06-24 15:53:16 +0000113
114Minor incompatibilities:
115
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000116For filetype detection: For many types, use */.dir/filename instead of
117~/.dir/filename, so that it also works for other user's files.
Bram Moolenaarf4b8e572004-06-24 15:53:16 +0000118
Bram Moolenaar910f66f2006-04-05 20:41:53 +0000119For quite a few filetypes the indent settings have been moved from the
120filetype plugin to the indent plugin. If you used: >
121 :filetype plugin on
122Then some indent settings may be missing. You need to use: >
123 :filetype plugin indent on
124
Bram Moolenaarf4b8e572004-06-24 15:53:16 +0000125":0verbose" now sets 'verbose' to zero instead of one.
126
127Removed the old and incomplete "VimBuddy" code.
128
129Buffers without a name report "No Name" instead of "No File". It was
130confusing for buffers with a name and 'buftype' set to "nofile".
Bram Moolenaar071d4272004-06-13 20:20:40 +0000131
Bram Moolenaar7b0294c2004-10-11 10:16:09 +0000132When ":file xxx" is used in a buffer without a name, the alternate file name
Bram Moolenaar54a709e2006-05-04 21:57:11 +0000133isn't set. This avoids creating buffers without a name, they are not useful.
Bram Moolenaar7b0294c2004-10-11 10:16:09 +0000134
135The "2html.vim" script now converts closed folds to HTML. This means the HTML
Bram Moolenaar54a709e2006-05-04 21:57:11 +0000136looks like it's displayed, with the same folds open and closed. Use "zR", or
Bram Moolenaarf4630b62005-05-20 21:31:17 +0000137"let html_ignore_folding=1", if no folds should appear in the HTML. (partly by
138Carl Osterwisch)
Bram Moolenaarc9b4b052006-04-30 18:54:39 +0000139Diff mode is now also converted to HTML as it is displayed.
Bram Moolenaar7b0294c2004-10-11 10:16:09 +0000140
Bram Moolenaar293ee4d2004-12-09 21:34:53 +0000141Win32: The effect of the <F10> key depended on 'winaltkeys'. Now it depends
142on whether <F10> has been mapped or not. This allows mapping <F10> without
143changing 'winaltkeys'.
144
Bram Moolenaar8c711452005-01-14 21:53:12 +0000145When 'octal' is in 'nrformats' and using CTRL-A on "08" it became "018", which
146is illogical. Now it becomes "9". The leading zero(s) is(are) removed to
147avoid the number becoming octal after incrementing "009" to "010".
Bram Moolenaar1cd871b2004-12-19 22:46:22 +0000148
149When 'encoding' is set to a Unicode encoding, the value for 'fileencodings'
150now includes "default" before "latin1". This means that for files with 8-bit
151encodings the default is to use the encoding specified by the environment, if
152possible. Previously latin1 would always be used, which is wrong in a
153non-latin1 environment, such as Russian.
154
Bram Moolenaard438e912005-01-31 19:21:46 +0000155Previously Vim would exit when there are two windows, both of them displaying
156a help file, and using ":quit". Now only the window is closed.
157
Bram Moolenaar4399ef42005-02-12 14:29:27 +0000158"-w {scriptout}" only works when {scriptout} doesn't start with a digit.
159Otherwise it's used to set the 'window' option.
160
Bram Moolenaar8bf59b92005-03-06 23:40:56 +0000161Previously <Home> and <xHome> could be mapped separately. This had the
162disadvantage that all mappings (with modifiers) had to be duplicated, since
163you can't be sure what the keyboard generates. Now all <xHome> are internally
164translated to <Home>, both for the keys and for mappings. Also for <xEnd>,
165<xF1>, etc.
166
Bram Moolenaar13fcaaf2005-04-15 21:13:42 +0000167":put" now leaves the cursor on the last inserted line.
168
Bram Moolenaar7fae6362005-06-30 22:06:41 +0000169When a .gvimrc file exists then 'compatible' is off, just like when a ".vimrc"
170file exists.
171
Bram Moolenaara2036d22005-08-23 21:04:20 +0000172When making a string upper-case with "vlllU" or similar then the German sharp
173s is replaced with "SS". This does not happen with "~" to avoid backwards
174compatibility problems and because "SS" can't be changed back to a sharp s.
175
Bram Moolenaardd2436f2005-09-05 22:14:46 +0000176"gd" previously found the very first occurrence of a variable in a function,
177that could be the function argument without type. Now it finds the position
178where the type is given.
179
Bram Moolenaare224ffa2006-03-01 00:01:28 +0000180The line continuation in functions was not taken into account, line numbers in
181errors were logical lines, not lines in the sourced file. That made it
182difficult to locate errors. Now the line number in the sourced file is
183reported, relative to the function start. This also means that line numbers
184for ":breakadd func" are different.
185
Bram Moolenaarb3656ed2006-03-20 21:59:49 +0000186When defining a user command with |:command| the special items could be
187abbreviated. This caused unexpected behavior, such as <li> being recognized
188as <line1>. The items can no longer be abbreviated.
189
Bram Moolenaar910f66f2006-04-05 20:41:53 +0000190When executing a FileChangedRO autocommand it is no longer allowed to switch
191to another buffer or edit another file. This is to prevent crashes (the event
192is triggered deep down in the code where changing buffers is not anticipated).
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000193It is still possible to reload the buffer.
194
195At the |more-prompt| and the |hit-enter-prompt|, when the 'more' option is
196set, the 'k', 'u', 'g' and 'b' keys are now used to scroll back to previous
197messages. Thus they are no longer used as typeahead.
Bram Moolenaar910f66f2006-04-05 20:41:53 +0000198
Bram Moolenaar071d4272004-06-13 20:20:40 +0000199==============================================================================
200NEW FEATURES *new-7*
201
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000202Vim script enhancements *new-vim-script*
203-----------------------
Bram Moolenaar071d4272004-06-13 20:20:40 +0000204
205In Vim scripts the following types have been added:
206
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000207 |List| ordered list of items
208 |Dictionary| associative array of items
209 |Funcref| reference to a function
Bram Moolenaar071d4272004-06-13 20:20:40 +0000210
211Many functions and commands have been added to support the new types.
212
Bram Moolenaar31c67ef2005-01-11 21:34:41 +0000213The |string()| function can be used to get a string representation of a
214variable. Works for Numbers, Strings and composites of them. Then |eval()|
215can be used to turn the string back into the variable value.
216
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000217The |:let| command can now use "+=", "-=" and ".=": >
218 :let var += expr " works like :let var = var + expr
219 :let var -= expr " works like :let var = var - expr
220 :let var .= string " works like :let var = var . string
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000221
Bram Moolenaar038eb0e2005-02-27 22:43:26 +0000222With the |:profile| command you can find out where your function or script
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000223is wasting time.
Bram Moolenaar038eb0e2005-02-27 22:43:26 +0000224
Bram Moolenaarb71eaae2006-01-20 23:10:18 +0000225In the Python interface vim.eval() also handles Dictionaries and Lists.
226|python-eval| (G. Sumner Hayes)
227
Bram Moolenaare580b0c2006-03-21 21:33:03 +0000228The |getscript| plugin was added as a convenient way to update scripts from
229www.vim.org automatically. (Charles Campbell)
230
231The |vimball| plugin was added as a convenient way to distribute a set of
232files for a plugin (plugin file, autoload script, documentation). (Charles
233Campbell)
234
Bram Moolenaar843ee412004-06-30 16:16:41 +0000235
Bram Moolenaar60c78922005-03-20 22:40:14 +0000236Spell checking *new-spell*
237--------------
238
239Spell checking has been integrated in Vim. There were a few implementations
240with scripts, but they were slow and/or required an external program.
241
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000242The 'spell' option is used to switch spell checking on or off
243The 'spelllang' option is used to specify the accepted language(s)
244The 'spellfile' option specifies where new words are added
Bram Moolenaar7fae6362005-06-30 22:06:41 +0000245The 'spellsuggest' option specifies the methods used for making suggestions
Bram Moolenaar9ba0eb82005-06-13 22:28:56 +0000246
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +0100247The |]s| and |[s| commands can be used to move to the next or previous error
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000248The |zg| and |zw| commands can be used to add good and wrong words
Bram Moolenaarc9b4b052006-04-30 18:54:39 +0000249The |z=| command can be used to list suggestions and correct the word
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000250The |:mkspell| command is used to generate a Vim spell file from word lists
Bram Moolenaar60c78922005-03-20 22:40:14 +0000251
252The "undercurl" highlighting attribute was added to nicely point out spelling
253mistakes in the GUI (based on patch from Marcin Dalecki).
254The "guisp" color can be used to give it a color different from foreground and
255background.
256The number of possible different highlight attributes was raised from about
257220 to over 30000. This allows for the attributes of spelling to be combined
Bram Moolenaar75c50c42005-06-04 22:06:24 +0000258with syntax highlighting attributes. This is also used for syntax
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000259highlighting and marking the Visual area.
Bram Moolenaar60c78922005-03-20 22:40:14 +0000260
261Much more info here: |spell|.
262
263
Bram Moolenaarf75a9632005-09-13 21:20:47 +0000264Omni completion *new-omni-completion*
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000265---------------
Bram Moolenaarf75a9632005-09-13 21:20:47 +0000266
267This could also be called "intellisense", but that is a trademark. It is a
268smart kind of completion. The text in front of the cursor is inspected to
Bram Moolenaar8b6144b2006-02-08 09:20:24 +0000269figure out what could be following. This may suggest struct and class
270members, system functions, etc.
Bram Moolenaarf75a9632005-09-13 21:20:47 +0000271
272Use CTRL-X CTRL-O in Insert mode to start the completion. |i_CTRL-X_CTRL-O|
273
274The 'omnifunc' option is set by filetype plugins to define the function that
275figures out the completion.
276
Bram Moolenaar07d4d732005-10-03 22:04:08 +0000277Currently supported languages:
Bram Moolenaar8b6144b2006-02-08 09:20:24 +0000278 C |ft-c-omni|
279 (X)HTML with CSS |ft-html-omni|
280 JavaScript |ft-javascript-omni|
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000281 PHP |ft-php-omni|
Bram Moolenaar9e54a0e2006-04-14 20:42:25 +0000282 Python
Bram Moolenaarfc1421e2006-04-20 22:17:20 +0000283 Ruby |ft-ruby-omni|
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000284 SQL |ft-sql-omni|
Bram Moolenaar8b6144b2006-02-08 09:20:24 +0000285 XML |ft-xml-omni|
Bram Moolenaarc236c162008-07-13 17:41:49 +0000286 any language with syntax highlighting |ft-syntax-omni|
Bram Moolenaar07d4d732005-10-03 22:04:08 +0000287
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000288You can add your own omni completion scripts.
289
Bram Moolenaar07d4d732005-10-03 22:04:08 +0000290When the 'completeopt' option contains "menu" then matches for Insert mode
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000291completion are displayed in a (rather primitive) popup menu.
Bram Moolenaarf75a9632005-09-13 21:20:47 +0000292
293
Bram Moolenaar325b7a22004-07-05 15:58:32 +0000294MzScheme interface *new-MzScheme*
295------------------
296
297The MzScheme interpreter is supported. |MzScheme|
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000298
299The |:mzscheme| command can be used to execute MzScheme commands
300The |:mzfile| command can be used to execute an MzScheme script file
301
302This depends on Vim being compiled with the |+mzscheme| feature.
Bram Moolenaar325b7a22004-07-05 15:58:32 +0000303
Bram Moolenaar31c67ef2005-01-11 21:34:41 +0000304
Bram Moolenaar8299df92004-07-10 09:47:34 +0000305Printing multi-byte text *new-print-multi-byte*
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000306------------------------
Bram Moolenaar8299df92004-07-10 09:47:34 +0000307
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000308The |:hardcopy| command now supports printing multi-byte characters when using
309PostScript.
310
Bram Moolenaar8299df92004-07-10 09:47:34 +0000311The 'printmbcharset' and 'printmbfont' options are used for this.
312Also see |postscript-cjk-printing|. (Mike Williams)
313
Bram Moolenaar325b7a22004-07-05 15:58:32 +0000314
Bram Moolenaar17be7e62006-03-12 22:13:45 +0000315Tab pages *new-tab-pages*
316---------
317
Bram Moolenaarfcb7ab62010-07-20 11:16:17 +0200318A tab page is a page with one or more windows with a label (aka tab) at the top.
Bram Moolenaar17be7e62006-03-12 22:13:45 +0000319By clicking on the label you can quickly switch between the tab pages. And
320with the keyboard, using the |gt| (Goto Tab) command. This is a convenient
321way to work with many windows.
322
323To start Vim with each file argument in a separate tab page use the |-p|
324argument. The maximum number of pages can be set with 'tabpagemax'.
325
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000326The line with tab labels is either made with plain text and highlighting or
Bram Moolenaar17be7e62006-03-12 22:13:45 +0000327with a GUI mechanism. The GUI labels look better but are only available on a
Bram Moolenaar57657d82006-04-21 22:12:41 +0000328few systems. The line can be customized with 'tabline', 'guitablabel' and
329'guitabtooltip'. Whether it is displayed is set with 'showtabline'. Whether
330to use the GUI labels is set with the "e" flag in 'guioptions'.
Bram Moolenaar17be7e62006-03-12 22:13:45 +0000331
332The |:tab| command modifier can be used to have most commands that open a new
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000333window open a new tab page instead.
Bram Moolenaar17be7e62006-03-12 22:13:45 +0000334
Bram Moolenaar0ce29932006-03-13 22:18:45 +0000335The |--remote-tab| argument can be used to edit a file in a new tab page in an
336already running Vim server.
337
Bram Moolenaar910f66f2006-04-05 20:41:53 +0000338Variables starting with "t:" are local to a tab page.
339
Bram Moolenaar17be7e62006-03-12 22:13:45 +0000340More info here: |tabpage|
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000341Most of the GUI stuff was implemented by Yegappan Lakshmanan.
Bram Moolenaar17be7e62006-03-12 22:13:45 +0000342
343
Bram Moolenaar34e9e2f2006-03-14 23:07:19 +0000344Undo branches *new-undo-branches*
345-------------
346
347Previously there was only one line of undo-redo. If, after undoing a number
348of changes, a new change was made all the undone changes were lost. This
Bram Moolenaarea0cd362006-03-16 21:46:52 +0000349could lead to accidentally losing work.
Bram Moolenaar34e9e2f2006-03-14 23:07:19 +0000350
351Vim now makes an undo branch in this situation. Thus you can go back to the
352text after any change, even if they were undone. So long as you do not run
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000353into 'undolevels', when undo information is freed up to limit the memory used.
Bram Moolenaar34e9e2f2006-03-14 23:07:19 +0000354
355To be able to navigate the undo branches each change is numbered sequentially.
356The commands |g-| and |:earlier| go back in time, to older changes. The
Bram Moolenaarc9b4b052006-04-30 18:54:39 +0000357commands |g+| and |:later| go forward in time, to newer changes.
Bram Moolenaar34e9e2f2006-03-14 23:07:19 +0000358
359The changes are also timestamped. Use ":earlier 10m" to go to the text as it
360was about ten minutes earlier.
361
Bram Moolenaarea0cd362006-03-16 21:46:52 +0000362The |:undolist| command can be used to get an idea of which undo branches
363exist. The |:undo| command now takes an argument to directly jump to a
Bram Moolenaarca003e12006-03-17 23:19:38 +0000364specific position in this list. The |changenr()| function can be used to
365obtain the change number.
Bram Moolenaarea0cd362006-03-16 21:46:52 +0000366
Bram Moolenaar34e9e2f2006-03-14 23:07:19 +0000367There is no graphical display of the tree with changes, navigation can be
368quite confusing.
369
370
Bram Moolenaar362e1a32006-03-06 23:29:24 +0000371Extended Unicode support *new-more-unicode*
372------------------------
373
374Previously only two combining characters were displayed. The limit is now
375raised to 6. This can be set with the 'maxcombine' option. The default is
376still 2.
377
378|ga| now shows all combining characters, not just the first two.
379
380Previously only 16 bit Unicode characters were supported for displaying. Now
381the full 32 bit character set can be used. Unless manually disabled at
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000382compile time to save a bit of memory.
Bram Moolenaar362e1a32006-03-06 23:29:24 +0000383
384For pattern matching it is now possible to search for individual composing
385characters. |patterns-composing|
386
Bram Moolenaarca003e12006-03-17 23:19:38 +0000387The |8g8| command searches for an illegal UTF-8 byte sequence.
388
Bram Moolenaar362e1a32006-03-06 23:29:24 +0000389
Bram Moolenaar17be7e62006-03-12 22:13:45 +0000390More highlighting *new-more-highlighting*
391-----------------
392
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000393Highlighting matching parens:
Bram Moolenaar5e3cb7e2006-02-27 23:58:35 +0000394
395When moving the cursor through the text and it is on a paren, then the
396matching paren can be highlighted. This uses the new |CursorMoved|
397autocommand event.
398
Bram Moolenaarc1e37902006-04-18 21:55:01 +0000399This means some commands are executed every time you move the cursor. If this
400slows you down too much switch it off with: >
401 :NoMatchParen
402
Bram Moolenaar261bfea2006-03-01 22:12:31 +0000403See |matchparen| for more information.
404
405The plugin uses the |:match| command. It now supports three match patterns.
406The plugin uses the third one. The first one is for the user and the second
407one can be used by another plugin.
Bram Moolenaar5e3cb7e2006-02-27 23:58:35 +0000408
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000409Highlighting the cursor line and column:
Bram Moolenaar17be7e62006-03-12 22:13:45 +0000410
411The 'cursorline' and 'cursorcolumn' options have been added. These highlight
412the screen line and screen column of the cursor. This makes the cursor
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000413position easier to spot. 'cursorcolumn' is also useful to align text. This
414may make screen updating quite slow. The CursorColumn and CursorLine
415highlight groups allow changing the colors used. |hl-CursorColumn|
416|hl-CursorLine|
417
418The number of possible different highlight attributes was raised from about
419220 to over 30000. This allows for the attributes of spelling to be combined
420with syntax highlighting attributes. This is also used for syntax
421highlighting, marking the Visual area, CursorColumn, etc.
Bram Moolenaar17be7e62006-03-12 22:13:45 +0000422
Bram Moolenaar5e3cb7e2006-02-27 23:58:35 +0000423
Bram Moolenaar293ee4d2004-12-09 21:34:53 +0000424Translated manual pages *new-manpage-trans*
425-----------------------
426
427The manual page of Vim and associated programs is now also available in
Bram Moolenaar4ad237d2005-03-11 22:49:40 +0000428several other languages.
429
Bram Moolenaar13fcaaf2005-04-15 21:13:42 +0000430French - translated by David Blanchet
Bram Moolenaar4ad237d2005-03-11 22:49:40 +0000431Italian - translated by Antonio Colombo
432Russian - translated by Vassily Ragosin
Bram Moolenaar899dddf2006-03-26 21:06:50 +0000433Polish - translated by Mikolaj Machowski
Bram Moolenaar293ee4d2004-12-09 21:34:53 +0000434
Bram Moolenaar13fcaaf2005-04-15 21:13:42 +0000435The Unix Makefile installs the Italian manual pages in .../man/it/man1/,
436.../man/it.ISO8859-1/man1/ and .../man/it.UTF-8/man1/. There appears to be no
437standard for what encoding goes in the "it" directory, the 8-bit encoded file
438is used there as a best guess.
439Other languages are installed in similar places.
Bram Moolenaar67fe1a12005-05-22 22:12:58 +0000440The translated pages are not automatically installed when Vim was configured
441with "--disable-nls", but "make install-languages install-tool-languages" will
442do it anyway.
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +0000443
Bram Moolenaar293ee4d2004-12-09 21:34:53 +0000444
Bram Moolenaar8fc061c2004-12-29 21:03:02 +0000445Internal grep *new-vimgrep*
446-------------
447
448The ":vimgrep" command can be used to search for a pattern in a list of files.
449This is like the ":grep" command, but no external program is used. Besides
450better portability, handling of different file encodings and using multi-line
451patterns, this also allows grepping in compressed and remote files.
452|:vimgrep|.
453
Bram Moolenaar05159a02005-02-26 23:04:13 +0000454If you want to use the search results in a script you can use the
Bram Moolenaar2641f772005-03-25 21:58:17 +0000455|getqflist()| function.
Bram Moolenaar05159a02005-02-26 23:04:13 +0000456
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000457To grep files in various directories the "**" pattern can be used. It expands
458into an arbitrary depth of directories. "**" can be used in all places where
459file names are expanded, thus also with |:next| and |:args|.
Bram Moolenaar231334e2005-07-25 20:46:57 +0000460
Bram Moolenaar8fc061c2004-12-29 21:03:02 +0000461
Bram Moolenaar87e25fd2005-07-27 21:13:01 +0000462Scroll back in messages *new-scroll-back*
463-----------------------
464
465When displaying messages, at the |more-prompt| and the |hit-enter-prompt|, The
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000466'k', 'u', 'g' and 'b' keys can be used to scroll back to previous messages.
467This is especially useful for commands such as ":syntax", ":autocommand" and
Bram Moolenaar87e25fd2005-07-27 21:13:01 +0000468":highlight". This is implemented in a generic way thus it works for all
469commands and highlighting is kept. Only works when the 'more' option is set.
470Previously it only partly worked for ":clist".
471
Bram Moolenaar661b1822005-07-28 22:36:45 +0000472The |g<| command can be used to see the last page of messages after you have
473hit <Enter> at the |hit-enter-prompt|. Then you can scroll further back.
474
Bram Moolenaar87e25fd2005-07-27 21:13:01 +0000475
Bram Moolenaarea0cd362006-03-16 21:46:52 +0000476Cursor past end of the line *new-onemore*
477---------------------------
478
479When the 'virtualedit' option contains "onemore" the cursor can move just past
480the end of the line. As if it's on top of the line break.
481
482This makes some commands more consistent. Previously the cursor was always
483past the end of the line if the line was empty. But it is far from Vi
484compatible. It may also break some plugins or Vim scripts. Use with care!
485
486The patch was provided by Mattias Flodin.
487
488
Bram Moolenaar4399ef42005-02-12 14:29:27 +0000489POSIX compatibility *new-posix*
490-------------------
491
492The POSIX test suite was used to verify POSIX compatibility. A number of
493problems have been fixed to make Vim more POSIX compatible. Some of them
494conflict with traditional Vi or expected behavior. The $VIM_POSIX environment
495variable can be set to get POSIX compatibility. See |posix|.
496
Bram Moolenaarc81e5e72007-05-05 18:24:42 +0000497Items that were fixed for both Vi and POSIX compatibility:
Bram Moolenaar4399ef42005-02-12 14:29:27 +0000498- repeating "R" with a count only overwrites text once; added the 'X' flag to
499 'cpoptions' |cpo-X|
500- a vertical movement command that moves to a non-existing line fails; added
501 the '-' flag to 'cpoptions' |cpo--|
502- when preserving a file and doing ":q!" the file can be recovered; added the
503 '&' flag to 'cpoptions' |cpo-&|
504- The 'window' option is partly implemented. It specifies how much CTRL-F and
505 CTRL-B scroll when there is one window. The "-w {number}" argument is now
506 accepted. "-w {scriptout}" only works when {scriptout} doesn't start with a
507 digit.
508- Allow "-c{command}" argument, no space between "-c" and {command}.
509- When writing a file with ":w!" don't reset 'readonly' when 'Z' is present in
510 'cpoptions'.
Bram Moolenaar5313dcb2005-02-22 08:56:13 +0000511- Allow 'l' and '#' flags for ":list", ":print" and ":number".
512- Added the '.' flag to 'cpoptions': ":cd" fails when the buffer is modified.
513- In Ex mode with an empty buffer ":read file" doesn't keep an empty line
514 above or below the new lines.
515- Remove a backslash before a NL for the ":global" command.
516- When ":append", ":insert" or ":change" is used with ":global", get the
517 inserted lines from the command. Can use backslash-NL to separate lines.
518- Can use ":global /pat/ visual" to execute Normal mode commands at each
519 matched line. Use "Q" to continue and go to the next line.
520- The |:open| command has been partially implemented. It stops Ex mode, but
521 redraws the whole screen, not just one line as open mode is supposed to do.
522- Support using a pipe to read the output from and write input to an external
523 command. Added the 'shelltemp' option and has("filterpipe").
524- In ex silent mode the ":set" command output is displayed.
525- The ":@@" and ":**" give an error message when no register was used before.
526- The search pattern "[]-`]" matches ']', '^', '_' and '`'.
527- Autoindent for ":insert" is using the line below the insert.
528- Autoindent for ":change" is using the first changed line.
529- Editing Ex command lines is not done in cooked mode, because CTRL-D and
530 CTRL-T cannot be handled then.
Bram Moolenaar45eeb132005-06-06 21:59:07 +0000531- In Ex mode, "1,3" prints three lines. "%" prints all lines.
532- In Ex mode "undo" would undo all changes since Ex mode was started.
Bram Moolenaar5313dcb2005-02-22 08:56:13 +0000533- Implemented the 'prompt' option.
Bram Moolenaar4399ef42005-02-12 14:29:27 +0000534
535
Bram Moolenaare2ac10d2005-03-07 23:26:06 +0000536Debugger support *new-debug-support*
537----------------
538
539The 'balloonexpr' option has been added. This is a generic way to implement
540balloon functionality. You can use it to show info for the word under the
541mouse pointer.
542
543
Bram Moolenaar0be6e642005-08-04 21:32:22 +0000544Remote file explorer *new-netrw-explore*
545--------------------
546
547The netrw plugin now also supports viewing a directory, when "scp://" is used.
548Deleting and renaming files is possible.
549
550To avoid duplicating a lot of code, the previous file explorer plugin has been
551integrated in the netrw plugin. This means browsing local and remote files
552works the same way.
553
554":browse edit" and ":browse split" use the netrw plugin when it's available
555and a GUI dialog is not possible.
556
557The netrw plugin is maintained by Charles Campbell.
558
559
Bram Moolenaar900b4d72005-12-12 22:05:50 +0000560Define an operator *new-define-operator*
561------------------
562
563Previously it was not possible to define your own operator; a command that is
564followed by a {motion}. Vim 7 introduces the 'operatorfunc' option and the
565|g@| operator. This makes it possible to define a mapping that works like an
566operator. The actual work is then done by a function, which is invoked
567through the |g@| operator.
568
569See |:map-operator| for the explanation and an example.
570
Bram Moolenaar9f2c6e12006-02-04 22:45:44 +0000571
Bram Moolenaarade00832006-03-10 21:46:58 +0000572Mapping to an expression *new-map-expression*
573------------------------
574
575The {rhs} argument of a mapping can be an expression. That means the
576resulting characters can depend on the context. Example: >
577 :inoremap <expr> . InsertDot()
578Here the dot will be mapped to whatever InsertDot() returns.
579
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000580This also works for abbreviations. See |:map-<expr>| for the details.
Bram Moolenaarade00832006-03-10 21:46:58 +0000581
582
Bram Moolenaarb3656ed2006-03-20 21:59:49 +0000583Visual and Select mode mappings *new-map-select*
584-------------------------------
585
586Previously Visual mode mappings applied both to Visual and Select mode. With
587a trick to have the mappings work in Select mode like they would in Visual
588mode.
589
590Commands have been added to define mappings for Visual and Select mode
591separately: |:xmap| and |:smap|. With the associated "noremap" and "unmap"
592commands.
593
594The same is done for menus: |:xmenu|, |:smenu|, etc.
595
596
Bram Moolenaar17c7c012006-01-26 22:25:15 +0000597Location list *new-location-list*
598-------------
599
600The support for a per-window quickfix list (location list) is added. The
601location list can be displayed in a location window (similar to the quickfix
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000602window). You can open more than one location list window. A set of commands
Bram Moolenaar17c7c012006-01-26 22:25:15 +0000603similar to the quickfix commands are added to browse the location list.
Bram Moolenaar9f2c6e12006-02-04 22:45:44 +0000604(Yegappan Lakshmanan)
605
Bram Moolenaar900b4d72005-12-12 22:05:50 +0000606
Bram Moolenaar071d4272004-06-13 20:20:40 +0000607Various new items *new-items-7*
608-----------------
609
610Normal mode commands: ~
611
Bram Moolenaarcfbc5ee2004-07-02 15:38:35 +0000612a", a' and a` New text objects to select quoted strings. |a'|
Bram Moolenaarac6e65f2005-08-29 22:25:38 +0000613i", i' and i` (Taro Muraoka)
Bram Moolenaar071d4272004-06-13 20:20:40 +0000614
Bram Moolenaar05159a02005-02-26 23:04:13 +0000615CTRL-W <Enter> In the quickfix window: opens a new window to show the
616 location of the error under the cursor.
617
Bram Moolenaarff6f0612005-07-19 22:21:12 +0000618|at| and |it| text objects select a block of text between HTML or XML tags.
619
Bram Moolenaarbca84a12005-12-14 22:08:35 +0000620<A-LeftMouse> ('mousemodel' "popup" or "popup-setpos")
621<A-RightMouse> ('mousemodel' "extend")
622 Make a blockwise selection. |<A-LeftMouse>|
Bram Moolenaarff6f0612005-07-19 22:21:12 +0000623
Bram Moolenaard1f56e62006-02-22 21:25:37 +0000624gF Start editing the filename under the cursor and jump
625 to the line number following the file name.
626 (Yegappan Lakshmanan)
627
628CTRL-W F Start editing the filename under the cursor in a new
629 window and jump to the line number following the file
630 name. (Yegappan Lakshmanan)
631
Bram Moolenaar488c6512005-08-11 20:09:58 +0000632Insert mode commands: ~
633
634CTRL-\ CTRL-O Execute a Normal mode command. Like CTRL-O but
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000635 without moving the cursor. |i_CTRL-\_CTRL-O|
Bram Moolenaar488c6512005-08-11 20:09:58 +0000636
Bram Moolenaar071d4272004-06-13 20:20:40 +0000637Options: ~
638
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000639'balloonexpr' expression for text to show in evaluation balloon
640'completefunc' The name of the function used for user-specified
641 Insert mode completion. CTRL-X CTRL-U can be used in
642 Insert mode to do any kind of completion. (Taro
643 Muraoka)
644'completeopt' Enable popup menu and other settings for Insert mode
645 completion.
646'cursorcolumn' highlight column of the cursor
647'cursorline' highlight line of the cursor
Bram Moolenaar1d2ba7f2006-02-14 22:29:30 +0000648'formatexpr' expression for formatting text with |gq| and when text
649 goes over 'textwidth' in Insert mode.
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000650'formatlistpat' pattern to recognize a numbered list for formatting.
651 (idea by Hugo Haas)
652'fsync' Whether fsync() is called after writing a file.
653 (Ciaran McCreesh)
654'guitablabel' expression for text to display in GUI tab page label
655'guitabtooltip' expression for text to display in GUI tab page tooltip
656'macatsui' Mac: use ATSUI text display functions
657'maxcombine' maximum number of combining characters displayed
658'maxmempattern' maximum amount of memory to use for pattern matching
659'mkspellmem' parameters for |:mkspell| memory use
660'mzquantum' Time in msec to schedule MzScheme threads.
Bram Moolenaar64486672010-05-16 15:46:46 +0200661'numberwidth' Minimal width of the space used for the 'number' and
662 'relativenumber' option. (Emmanuel Renieris)
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000663'omnifunc' The name of the function used for omni completion.
664'operatorfunc' function to be called for |g@| operator
665'printmbcharset' CJK character set to be used for :hardcopy
666'printmbfont' font names to be used for CJK output of :hardcopy
667'pumheight' maximum number of items to show in the popup menu
668'quoteescape' Characters used to escape quotes inside a string.
669 Used for the a", a' and a` text objects. |a'|
670'shelltemp' whether to use a temp file or pipes for shell commands
671'showtabline' whether to show the tab pages line
Bram Moolenaar60c78922005-03-20 22:40:14 +0000672'spell' switch spell checking on/off
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000673'spellcapcheck' pattern to locate the end of a sentence
674'spellfile' file where good and wrong words are added
Bram Moolenaar60c78922005-03-20 22:40:14 +0000675'spelllang' languages to check spelling for
Bram Moolenaar42eeac32005-06-29 22:40:58 +0000676'spellsuggest' methods for spell suggestions
Bram Moolenaar3b56eb32005-07-11 22:40:32 +0000677'synmaxcol' maximum column to look for syntax items; avoids very
678 slow redrawing when there are very long lines
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000679'tabline' expression for text to display in the tab pages line
680'tabpagemax' maximum number of tab pages to open for |-p|
Bram Moolenaar54ee7752005-05-31 22:22:17 +0000681'verbosefile' Log messages in a file.
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000682'wildoptions' "tagfile" value enables listing the file name of
683 matching tags for CTRL-D command line completion.
684 (based on an idea from Yegappan Lakshmanan)
Bram Moolenaar97b2ad32006-03-18 21:40:56 +0000685'winfixwidth' window with fixed width, similar to 'winfixheight'
Bram Moolenaar86b68352004-12-27 21:59:20 +0000686
Bram Moolenaar071d4272004-06-13 20:20:40 +0000687
688Ex commands: ~
689
Bram Moolenaar843ee412004-06-30 16:16:41 +0000690Win32: The ":winpos" command now also works in the console. (Vipin Aravind)
691
Bram Moolenaar8299df92004-07-10 09:47:34 +0000692|:startreplace| Start Replace mode. (Charles Campbell)
Bram Moolenaarbca84a12005-12-14 22:08:35 +0000693|:startgreplace| Start Virtual Replace mode.
Bram Moolenaar325b7a22004-07-05 15:58:32 +0000694
Bram Moolenaar8299df92004-07-10 09:47:34 +0000695|:0file| Removes the name of the buffer. (Charles Campbell)
Bram Moolenaar325b7a22004-07-05 15:58:32 +0000696
Bram Moolenaar2df6dcc2004-07-12 15:53:54 +0000697|:diffoff| Switch off diff mode in the current window or in all
698 windows.
699
Bram Moolenaarc0197e22004-09-13 20:26:32 +0000700|:delmarks| Delete marks.
701
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +0000702|:exusage| Help for Ex commands (Nvi command).
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +0000703|:viusage| Help for Vi commands (Nvi command).
704
Bram Moolenaar67fe1a12005-05-22 22:12:58 +0000705|:sort| Sort lines in the buffer without depending on an
Bram Moolenaar4c3f5362006-04-11 21:38:50 +0000706 external command. (partly by Bryce Wagner)
Bram Moolenaar67fe1a12005-05-22 22:12:58 +0000707
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000708|:vimgrep| Internal grep command, search for a pattern in files.
709|:vimgrepadd| Like |:vimgrep| but don't make a new list.
710
Bram Moolenaar87e25fd2005-07-27 21:13:01 +0000711|:caddfile| Add error messages to an existing quickfix list
712 (Yegappan Lakshmanan).
Bram Moolenaardb552d602006-03-23 22:59:57 +0000713|:cbuffer| Read error lines from a buffer. (partly by Yegappan
714 Lakshmanan)
715|:cgetbuffer| Create a quickfix list from a buffer but don't jump to
716 the first error.
Bram Moolenaar9f2c6e12006-02-04 22:45:44 +0000717|:caddbuffer| Add errors from the current buffer to the quickfix
718 list.
Bram Moolenaardb552d602006-03-23 22:59:57 +0000719|:cexpr| Read error messages from a Vim expression (Yegappan
720 Lakshmanan).
721|:caddexpr| Add error messages from a Vim expression to an
722 existing quickfix list. (Yegappan Lakshmanan).
723|:cgetexpr| Create a quickfix list from a Vim expression, but
724 don't jump to the first error. (Yegappan Lakshmanan).
Bram Moolenaar4770d092006-01-12 23:22:24 +0000725
Bram Moolenaar8b6144b2006-02-08 09:20:24 +0000726|:lfile| Like |:cfile| but use the location list.
727|:lgetfile| Like |:cgetfile| but use the location list.
728|:laddfile| Like |:caddfile| but use the location list.
729|:lbuffer| Like |:cbuffer| but use the location list.
Bram Moolenaar76b92b22006-03-24 22:46:53 +0000730|:lgetbuffer| Like |:cgetbuffer| but use the location list.
Bram Moolenaar9f2c6e12006-02-04 22:45:44 +0000731|:laddbuffer| Like |:caddbuffer| but use the location list.
Bram Moolenaar8b6144b2006-02-08 09:20:24 +0000732|:lexpr| Like |:cexpr| but use the location list.
Bram Moolenaar76b92b22006-03-24 22:46:53 +0000733|:lgetexpr| Like |:cgetexpr| but use the location list.
Bram Moolenaar8b6144b2006-02-08 09:20:24 +0000734|:laddexpr| Like |:caddexpr| but use the location list.
735|:ll| Like |:cc| but use the location list.
736|:llist| Like |:clist| but use the location list.
737|:lnext| Like |:cnext| but use the location list.
Bram Moolenaarf52c7252006-02-10 23:23:57 +0000738|:lprevious| Like |:cprevious| but use the location list.
Bram Moolenaar8b6144b2006-02-08 09:20:24 +0000739|:lNext| Like |:cNext| but use the location list.
740|:lfirst| Like |:cfirst| but use the location list.
741|:lrewind| Like |:crewind| but use the location list.
742|:llast| Like |:clast| but use the location list.
743|:lnfile| Like |:cnfile| but use the location list.
744|:lpfile| Like |:cpfile| but use the location list.
745|:lNfile| Like |:cNfile| but use the location list.
746|:lolder| Like |:colder| but use the location list.
747|:lnewer| Like |:cnewer| but use the location list.
748|:lwindow| Like |:cwindow| but use the location list.
749|:lopen| Like |:copen| but use the location list.
750|:lclose| Like |:cclose| but use the location list.
Bram Moolenaarf52c7252006-02-10 23:23:57 +0000751|:lmake| Like |:make| but use the location list.
752|:lgrep| Like |:grep| but use the location list.
753|:lgrepadd| Like |:grepadd| but use the location list.
754|:lvimgrep| Like |:vimgrep| but use the location list.
755|:lvimgrepadd| Like |:vimgrepadd| but use the location list.
756|:lhelpgrep| Like |:helpgrep| but use the location list.
757|:lcscope| Like |:cscope| but use the location list.
758|:ltag| Jump to a tag and add matching tags to a location list.
Bram Moolenaar1ef15e32006-02-01 21:56:25 +0000759
Bram Moolenaare224ffa2006-03-01 00:01:28 +0000760|:undojoin| Join a change with the previous undo block.
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000761|:undolist| List the leafs of the undo tree.
Bram Moolenaare224ffa2006-03-01 00:01:28 +0000762
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000763|:earlier| Go back in time for changes in the text.
764|:later| Go forward in time for changes in the text.
765
766|:for| Loop over a |List|.
767|:endfor|
768
769|:lockvar| Lock a variable, prevents it from being changed.
770|:unlockvar| Unlock a locked variable.
771
772|:mkspell| Create a Vim spell file.
773|:spellgood| Add a word to the list of good words.
774|:spellwrong| Add a word to the list of bad words
775|:spelldump| Dump list of good words.
776|:spellinfo| Show information about the spell files used.
777|:spellrepall| Repeat a spelling correction for the whole buffer.
778|:spellundo| Remove a word from list of good and bad words.
779
780|:mzscheme| Execute MzScheme commands.
Bram Moolenaarc9b4b052006-04-30 18:54:39 +0000781|:mzfile| Execute an MzScheme script file.
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000782
783|:nbkey| Pass a key to NetBeans for processing.
784
785|:profile| Commands for Vim script profiling.
786|:profdel| Stop profiling for specified items.
787
788|:smap| Select mode mapping.
789|:smapclear|
790|:snoremap|
791|:sunmap|
792
793|:xmap| Visual mode mapping, not used for Select mode.
794|:xmapclear|
795|:xnoremap|
796|:xunmap|
797
798|:smenu| Select mode menu.
799|:snoremenu|
800|:sunmenu|
801
802|:xmenu| Visual mode menu, not used for Select mode.
803|:xnoremenu|
804|:xunmenu|
805
806|:tabclose| Close the current tab page.
807|:tabdo| Perform a command in every tab page.
808|:tabedit| Edit a file in a new tab page.
809|:tabnew| Open a new tab page.
810|:tabfind| Search for a file and open it in a new tab page.
811|:tabnext| Go to the next tab page.
812|:tabprevious| Go to the previous tab page.
813|:tabNext| Go to the previous tab page.
814|:tabfirst| Go to the first tab page.
815|:tabrewind| Go to the first tab page.
816|:tablast| Go to the last tab page.
817|:tabmove| Move the current tab page elsewhere.
818|:tabonly| Close all other tab pages.
819|:tabs| List the tab pages and the windows they contain.
Bram Moolenaarbca84a12005-12-14 22:08:35 +0000820
Bram Moolenaar63a121b2005-12-11 21:36:39 +0000821Ex command modifiers: ~
822
823|:keepalt| Do not change the alternate file.
824
825|:noautocmd| Do not trigger autocommand events.
826
827|:sandbox| Execute a command in the sandbox.
828
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000829|:tab| When opening a new window create a new tab page.
830
Bram Moolenaar67fe1a12005-05-22 22:12:58 +0000831
Bram Moolenaarb2c2efa2005-12-13 20:09:08 +0000832Ex command arguments: ~
833
834|++bad| Specify what happens with characters that can't be
835 converted and illegal bytes. (code example by Yasuhiro
836 Matsumoto)
837 Also, when a conversion error occurs or illegal bytes
838 are found include the line number in the error
839 message.
840
841
Bram Moolenaara5792f52005-11-23 21:25:05 +0000842New and extended functions: ~
Bram Moolenaar071d4272004-06-13 20:20:40 +0000843
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000844|add()| append an item to a List
845|append()| append List of lines to the buffer
Bram Moolenaare2f98b92006-03-29 21:18:24 +0000846|argv()| without an argument return the whole argument list
Bram Moolenaar87b774d2005-07-20 22:04:36 +0000847|browsedir()| dialog to select a directory
Bram Moolenaarbd404142006-03-25 22:05:04 +0000848|bufnr()| takes an extra argument: create buffer
Bram Moolenaarc9b4b052006-04-30 18:54:39 +0000849|byteidx()| index of a character (Ilya Sher)
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000850|call()| call a function with List as arguments
Bram Moolenaarbd404142006-03-25 22:05:04 +0000851|changenr()| number of current change
852|complete()| set matches for Insert mode completion
Bram Moolenaar572cb562005-08-05 21:35:02 +0000853|complete_add()| add match for 'completefunc'
854|complete_check()| check for key pressed, for 'completefunc'
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000855|copy()| make a shallow copy of a List or Dictionary
856|count()| count nr of times a value is in a List or Dictionary
Bram Moolenaar8fd89f02006-03-02 22:51:05 +0000857|cursor()| also accepts an offset for 'virtualedit', and
858 the first argument can be a list: [lnum, col, off]
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000859|deepcopy()| make a full copy of a List or Dictionary
Bram Moolenaarbd404142006-03-25 22:05:04 +0000860|diff_filler()| returns number of filler lines above line {lnum}.
861|diff_hlID()| returns the highlight ID for diff mode
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000862|empty()| check if List or Dictionary is empty
Bram Moolenaarbd404142006-03-25 22:05:04 +0000863|eval()| evaluate {string} and return the result
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000864|extend()| append one List to another or add items from one
865 Dictionary to another
Bram Moolenaarf9393ef2006-04-24 19:47:27 +0000866|feedkeys()| put characters in the typeahead buffer
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000867|filter()| remove selected items from a List or Dictionary
Bram Moolenaar87b774d2005-07-20 22:04:36 +0000868|finddir()| find a directory in 'path'
869|findfile()| find a file in 'path' (Johannes Zellner)
Bram Moolenaarc9b4b052006-04-30 18:54:39 +0000870|foldtextresult()| the text displayed for a closed fold at line "lnum"
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000871|function()| make a Funcref out of a function name
Bram Moolenaarbd404142006-03-25 22:05:04 +0000872|garbagecollect()| cleanup unused |Lists| and |Dictionaries| with circular
873 references
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000874|get()| get an item from a List or Dictionary
Bram Moolenaar342337a2005-07-21 21:11:17 +0000875|getbufline()| get a list of lines from a specified buffer
Bram Moolenaar87b774d2005-07-20 22:04:36 +0000876 (Yegappan Lakshmanan)
Bram Moolenaarbfd8fc02005-09-20 23:22:24 +0000877|getcmdtype()| return the current command-line type
878 (Yegappan Lakshmanan)
Bram Moolenaarc9b4b052006-04-30 18:54:39 +0000879|getfontname()| get actual font name being used
Bram Moolenaar87b774d2005-07-20 22:04:36 +0000880|getfperm()| get file permission string (Nikolai Weibull)
881|getftype()| get type of file (Nikolai Weibull)
882|getline()| with second argument: get List with buffer lines
Bram Moolenaarbd404142006-03-25 22:05:04 +0000883|getloclist()| list of location list items (Yegappan Lakshmanan)
Bram Moolenaar8fd89f02006-03-02 22:51:05 +0000884|getpos()| return a list with the position of cursor, mark, etc.
Bram Moolenaarbd404142006-03-25 22:05:04 +0000885|getqflist()| list of quickfix errors (Yegappan Lakshmanan)
886|getreg()| get contents of a register
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000887|gettabwinvar()| get variable from window in specified tab page.
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000888|has_key()| check whether a key appears in a Dictionary
Bram Moolenaarc81e5e72007-05-05 18:24:42 +0000889|haslocaldir()| check if current window used |:lcd|
Bram Moolenaarbd404142006-03-25 22:05:04 +0000890|hasmapto()| check for a mapping to a string
Bram Moolenaarbd404142006-03-25 22:05:04 +0000891|index()| index of item in List
892|inputlist()| prompt the user to make a selection from a list
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000893|insert()| insert an item somewhere in a List
Bram Moolenaarbd404142006-03-25 22:05:04 +0000894|islocked()| check if a variable is locked
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000895|items()| get List of Dictionary key-value pairs
896|join()| join List items into a String
897|keys()| get List of Dictionary keys
898|len()| number of items in a List or Dictionary
899|map()| change each List or Dictionary item
Bram Moolenaarbd404142006-03-25 22:05:04 +0000900|maparg()| extra argument: use abbreviation
901|mapcheck()| extra argument: use abbreviation
902|match()| extra argument: count
Bram Moolenaar910f66f2006-04-05 20:41:53 +0000903|matcharg()| return arguments of |:match| command
Bram Moolenaarbd404142006-03-25 22:05:04 +0000904|matchend()| extra argument: count
Bram Moolenaar2a8d1f82005-02-05 21:43:56 +0000905|matchlist()| list with match and submatches of a pattern in a string
Bram Moolenaarbd404142006-03-25 22:05:04 +0000906|matchstr()| extra argument: count
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000907|max()| maximum value in a List or Dictionary
908|min()| minimum value in a List or Dictionary
Bram Moolenaar5313dcb2005-02-22 08:56:13 +0000909|mkdir()| create a directory
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000910|pathshorten()| reduce directory names to a single character
Bram Moolenaar4be06f92005-07-29 22:36:03 +0000911|printf()| format text
Bram Moolenaarbd404142006-03-25 22:05:04 +0000912|pumvisible()| check whether the popup menu is displayed
913|range()| generate a List with numbers
Bram Moolenaar2a8d1f82005-02-05 21:43:56 +0000914|readfile()| read a file into a list of lines
Bram Moolenaare580b0c2006-03-21 21:33:03 +0000915|reltime()| get time value, possibly relative
916|reltimestr()| turn a time value into a string
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000917|remove()| remove one or more items from a List or Dictionary
Bram Moolenaarc9b4b052006-04-30 18:54:39 +0000918|repeat()| repeat "expr" "count" times (Christophe Poucet)
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000919|reverse()| reverse the order of a List
Bram Moolenaarbd404142006-03-25 22:05:04 +0000920|search()| extra argument:
Bram Moolenaarf75a9632005-09-13 21:20:47 +0000921|searchdecl()| search for declaration of variable
Bram Moolenaarbd404142006-03-25 22:05:04 +0000922|searchpair()| extra argument: line to stop searching
Bram Moolenaar1d2ba7f2006-02-14 22:29:30 +0000923|searchpairpos()| return a List with the position of the match
Bram Moolenaarc9b4b052006-04-30 18:54:39 +0000924|searchpos()| return a List with the position of the match
Bram Moolenaar17c7c012006-01-26 22:25:15 +0000925|setloclist()| modify a location list (Yegappan Lakshmanan)
Bram Moolenaarbd404142006-03-25 22:05:04 +0000926|setpos()| set cursor or mark to a position
Bram Moolenaar17c7c012006-01-26 22:25:15 +0000927|setqflist()| modify a quickfix list (Yegappan Lakshmanan)
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000928|settabwinvar()| set variable in window of specified tab page
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000929|sort()| sort a List
Bram Moolenaar42eeac32005-06-29 22:40:58 +0000930|soundfold()| get the sound-a-like equivalent of a word
Bram Moolenaar42eeac32005-06-29 22:40:58 +0000931|spellbadword()| get a badly spelled word
932|spellsuggest()| get suggestions for correct spelling
Bram Moolenaarbd404142006-03-25 22:05:04 +0000933|split()| split a String into a List
Bram Moolenaar97b2ad32006-03-18 21:40:56 +0000934|str2nr()| convert a string to a number, base 8, 10 or 16
Bram Moolenaarbd404142006-03-25 22:05:04 +0000935|stridx()| extra argument: start position
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000936|strridx()| extra argument: start position
Bram Moolenaar87b774d2005-07-20 22:04:36 +0000937|string()| string representation of a List or Dictionary
Bram Moolenaarbd404142006-03-25 22:05:04 +0000938|system()| extra argument: filters {input} through a shell command
939|tabpagebuflist()| List of buffers in a tab page
940|tabpagenr()| number of current or last tab page
941|tabpagewinnr()| window number in a tab page
942|tagfiles()| List with tags file names
Bram Moolenaar87b774d2005-07-20 22:04:36 +0000943|taglist()| get list of matching tags (Yegappan Lakshmanan)
944|tr()| translate characters (Ron Aaron)
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000945|values()| get List of Dictionary values
Bram Moolenaarbd404142006-03-25 22:05:04 +0000946|winnr()| takes an argument: what window to use
Bram Moolenaar768b8c42006-03-04 21:58:33 +0000947|winrestview()| restore the view of the current window
948|winsaveview()| save the view of the current window
Bram Moolenaar2a8d1f82005-02-05 21:43:56 +0000949|writefile()| write a list of lines into a file
Bram Moolenaar8299df92004-07-10 09:47:34 +0000950
Bram Moolenaarbee0c5b2005-02-07 22:03:36 +0000951User defined functions can now be loaded automatically from the "autoload"
952directory in 'runtimepath'. See |autoload-functions|.
953
Bram Moolenaar071d4272004-06-13 20:20:40 +0000954
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000955New Vim variables: ~
956
957|v:insertmode| used for |InsertEnter| and |InsertChange| autocommands
958|v:val| item value in a |map()| or |filter()| function
959|v:key| item key in a |map()| or |filter()| function
960|v:profiling| non-zero after a ":profile start" command
Bram Moolenaarc9b4b052006-04-30 18:54:39 +0000961|v:fcs_reason| the reason why |FileChangedShell| was triggered
962|v:fcs_choice| what should happen after |FileChangedShell|
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000963|v:beval_bufnr| buffer number for 'balloonexpr'
964|v:beval_winnr| window number for 'balloonexpr'
965|v:beval_lnum| line number for 'balloonexpr'
966|v:beval_col| column number for 'balloonexpr'
967|v:beval_text| text under the mouse pointer for 'balloonexpr'
968|v:scrollstart| what caused the screen to be scrolled up
969|v:swapname| name of the swap file for the |SwapExists| event
Bram Moolenaarc81e5e72007-05-05 18:24:42 +0000970|v:swapchoice| what to do for an existing swap file
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000971|v:swapcommand| command to be executed after handling |SwapExists|
972|v:char| argument for evaluating 'formatexpr'
973
974
Bram Moolenaar071d4272004-06-13 20:20:40 +0000975New autocommand events: ~
976
Bram Moolenaar8299df92004-07-10 09:47:34 +0000977|ColorScheme| after loading a color scheme
Bram Moolenaar1f35bf92006-03-07 22:38:47 +0000978
Bram Moolenaar3d0a6032006-02-09 23:54:54 +0000979|CursorHoldI| the user doesn't press a key for a while in Insert mode
980|CursorMoved| the cursor was moved in Normal mode
981|CursorMovedI| the cursor was moved in Insert mode
982
Bram Moolenaarbd404142006-03-25 22:05:04 +0000983|FileChangedShellPost| after handling a file changed outside of Vim
984
985|InsertEnter| starting Insert or Replace mode
986|InsertChange| going from Insert to Replace mode or back
987|InsertLeave| leaving Insert or Replace mode
988
989|MenuPopup| just before showing popup menu
990
991|QuickFixCmdPre| before :make, :grep et al. (Ciaran McCreesh)
992|QuickFixCmdPost| after :make, :grep et al. (Ciaran McCreesh)
993
994|SessionLoadPost| after loading a session file. (Yegappan Lakshmanan)
995
996|ShellCmdPost| after executing a shell command
997|ShellFilterPost| after filtering with a shell command
998
999|SourcePre| before sourcing a Vim script
1000
1001|SpellFileMissing| when a spell file can't be found
1002
1003|SwapExists| found existing swap file when editing a file
1004
1005|TabEnter| just after entering a tab page
1006|TabLeave| just before leaving a tab page
1007
1008|VimResized| after the Vim window size changed (Yakov Lerner)
1009
Bram Moolenaarcfbc5ee2004-07-02 15:38:35 +00001010
Bram Moolenaar96351572006-05-05 21:16:59 +00001011New highlight groups: ~
1012
1013Pmenu Popup menu: normal item |hl-Pmenu|
1014PmenuSel Popup menu: selected item |hl-PmenuSel|
1015PmenuThumb Popup menu: scrollbar |hl-PmenuThumb|
1016PmenuSbar Popup menu: Thumb of the scrollbar |hl-PmenuSbar|
1017
1018TabLine tab pages line, inactive label |hl-TabLine|
1019TabLineSel tab pages line, selected label |hl-TabLineSel|
1020TabLineFill tab pages line, filler |hl-TabLineFill|
1021
1022SpellBad badly spelled word |hl-SpellBad|
1023SpellCap word with wrong caps |hl-SpellCap|
1024SpellRare rare word |hl-SpellRare|
1025SpellLocal word only exists in other region |hl-SpellLocal|
1026
1027CursorColumn 'cursorcolumn' |hl-CursorColumn|
1028CursorLine 'cursorline' |hl-CursorLine|
1029
1030MatchParen matching parens |pi_paren.txt| |hl-MatchParen|
1031
1032
Bram Moolenaarc0197e22004-09-13 20:26:32 +00001033New items in search patterns: ~
1034|/\%d| \%d123 search for character with decimal number
Bram Moolenaar49325942007-05-10 19:19:59 +00001035|/\]| [\d123] idem, in a collection
Bram Moolenaarc0197e22004-09-13 20:26:32 +00001036|/\%o| \%o103 search for character with octal number
Bram Moolenaar49325942007-05-10 19:19:59 +00001037|/\]| [\o1o3] idem, in a collection
Bram Moolenaarc0197e22004-09-13 20:26:32 +00001038|/\%x| \%x1a search for character with 2 pos. hex number
Bram Moolenaar49325942007-05-10 19:19:59 +00001039|/\]| [\x1a] idem, in a collection
Bram Moolenaarc0197e22004-09-13 20:26:32 +00001040|/\%u| \%u12ab search for character with 4 pos. hex number
Bram Moolenaar49325942007-05-10 19:19:59 +00001041|/\]| [\u12ab] idem, in a collection
Bram Moolenaarc0197e22004-09-13 20:26:32 +00001042|/\%U| \%U1234abcd search for character with 8 pos. hex number
Bram Moolenaar49325942007-05-10 19:19:59 +00001043|/\]| [\U1234abcd] idem, in a collection
Bram Moolenaarc0197e22004-09-13 20:26:32 +00001044 (The above partly by Ciaran McCreesh)
Bram Moolenaar33aec762006-01-22 23:30:12 +00001045
Bram Moolenaar13fcaaf2005-04-15 21:13:42 +00001046|/[[=| [[=a=]] an equivalence class (only for latin1 characters)
1047|/[[.| [[.a.]] a collation element (only works with single char)
Bram Moolenaar5313dcb2005-02-22 08:56:13 +00001048
Bram Moolenaar33aec762006-01-22 23:30:12 +00001049|/\%'m| \%'m match at mark m
1050|/\%<'m| \%<'m match before mark m
1051|/\%>'m| \%>'m match after mark m
1052|/\%V| \%V match in Visual area
1053
Bram Moolenaar5313dcb2005-02-22 08:56:13 +00001054Nesting |/multi| items no longer is an error when an empty match is possible.
1055
1056It is now possible to use \{0}, it matches the preceding atom zero times. Not
1057useful, just for compatibility.
Bram Moolenaarc0197e22004-09-13 20:26:32 +00001058
1059
Bram Moolenaarcfbc5ee2004-07-02 15:38:35 +00001060New Syntax/Indent/FTplugin files: ~
1061
Bram Moolenaarb982ca52005-03-28 21:02:15 +00001062Moved all the indent settings from the filetype plugin to the indent file.
1063Implemented b:undo_indent to undo indent settings when setting 'filetype' to a
1064different value.
1065
Bram Moolenaarbd404142006-03-25 22:05:04 +00001066a2ps syntax and ftplugin file. (Nikolai Weibull)
1067ABAB/4 syntax file. (Marius van Wyk)
1068alsaconf ftplugin file. (Nikolai Weibull)
1069AppendMatchGroup ftplugin file. (Dave Silvia)
1070arch ftplugin file. (Nikolai Weibull)
1071asterisk and asteriskvm syntax file. (Tilghman Lesher)
1072BDF ftplugin file. (Nikolai Weibull)
1073BibTeX indent file. (Dorai Sitaram)
Bram Moolenaar437df8f2006-04-27 21:47:44 +00001074BibTeX Bibliography Style syntax file. (Tim Pope)
Bram Moolenaarbd404142006-03-25 22:05:04 +00001075BTM ftplugin file. (Bram Moolenaar)
1076calendar ftplugin file. (Nikolai Weibull)
1077Changelog indent file. (Nikolai Weibull)
Bram Moolenaar57657d82006-04-21 22:12:41 +00001078ChordPro syntax file. (Niels Bo Andersen)
Bram Moolenaarc1e37902006-04-18 21:55:01 +00001079Cmake indent and syntax file. (Andy Cedilnik)
Bram Moolenaarbd404142006-03-25 22:05:04 +00001080conf ftplugin file. (Nikolai Weibull)
1081context syntax and ftplugin file. (Nikolai Weibull)
1082CRM114 ftplugin file. (Nikolai Weibull)
1083cvs RC ftplugin file. (Nikolai Weibull)
1084D indent file. (Jason Mills)
Bram Moolenaard2cec5b2006-03-28 21:08:56 +00001085Debian Sources.list syntax file. (Matthijs Mohlmann)
Bram Moolenaarbd404142006-03-25 22:05:04 +00001086dictconf and dictdconf syntax, indent and ftplugin files. (Nikolai Weibull)
1087diff ftplugin file. (Bram Moolenaar)
1088dircolors ftplugin file. (Nikolai Weibull)
1089django and htmldjango syntax file. (Dave Hodder)
Bram Moolenaar8cacf352006-04-15 20:27:24 +00001090doxygen syntax file. (Michael Geddes)
Bram Moolenaarbd404142006-03-25 22:05:04 +00001091elinks ftplugin file. (Nikolai Weibull)
1092eterm ftplugin file. (Nikolai Weibull)
1093eviews syntax file. (Vaidotas Zemlys)
1094fetchmail RC ftplugin file. (Nikolai Weibull)
Bram Moolenaar437df8f2006-04-27 21:47:44 +00001095FlexWiki syntax and ftplugin file. (George Reilly)
Bram Moolenaarbd404142006-03-25 22:05:04 +00001096Generic indent file. (Dave Silvia)
1097gpg ftplugin file. (Nikolai Weibull)
1098gretl syntax file. (Vaidotas Zemlys)
1099groovy syntax file. (Alessio Pace)
1100group syntax and ftplugin file. (Nikolai Weibull)
1101grub ftplugin file. (Nikolai Weibull)
1102Haskell ftplugin file. (Nikolai Weibull)
1103help ftplugin file. (Nikolai Weibull)
1104indent ftplugin file. (Nikolai Weibull)
1105Javascript ftplugin file. (Bram Moolenaar)
Bram Moolenaar4c3f5362006-04-11 21:38:50 +00001106Kconfig ftplugin and syntax file. (Nikolai Weibull)
Bram Moolenaarbd404142006-03-25 22:05:04 +00001107ld syntax, indent and ftplugin file. (Nikolai Weibull)
1108lftp ftplugin file. (Nikolai Weibull)
1109libao config ftplugin file. (Nikolai Weibull)
1110limits syntax and ftplugin file. (Nikolai Weibull)
1111Lisp indent file. (Sergey Khorev)
1112loginaccess and logindefs syntax and ftplugin file. (Nikolai Weibull)
1113m4 ftplugin file. (Nikolai Weibull)
Bram Moolenaar899dddf2006-03-26 21:06:50 +00001114mailaliases syntax file. (Nikolai Weibull)
Bram Moolenaarbd404142006-03-25 22:05:04 +00001115mailcap ftplugin file. (Nikolai Weibull)
1116manconf syntax and ftplugin file. (Nikolai Weibull)
1117matlab ftplugin file. (Jake Wasserman)
Bram Moolenaar779b74b2006-04-10 14:55:34 +00001118Maxima syntax file. (Robert Dodier)
Bram Moolenaar2a3f7ee2006-02-23 21:34:44 +00001119MGL syntax file. (Gero Kuhlmann)
Bram Moolenaarbd404142006-03-25 22:05:04 +00001120modconf ftplugin file. (Nikolai Weibull)
1121mplayer config ftplugin file. (Nikolai Weibull)
Bram Moolenaar437df8f2006-04-27 21:47:44 +00001122Mrxvtrc syntax and ftplugin file. (Gautam Iyer)
Bram Moolenaarbd404142006-03-25 22:05:04 +00001123MuPAD source syntax, indent and ftplugin. (Dave Silvia)
1124mutt RC ftplugin file. (Nikolai Weibull)
1125nanorc syntax and ftplugin file. (Nikolai Weibull)
1126netrc ftplugin file. (Nikolai Weibull)
1127pamconf syntax and ftplugin file. (Nikolai Weibull)
1128Pascal indent file. (Neil Carter)
1129passwd syntax and ftplugin file. (Nikolai Weibull)
1130PHP compiler plugin. (Doug Kearns)
1131pinfo ftplugin file. (Nikolai Weibull)
Bram Moolenaard2cec5b2006-03-28 21:08:56 +00001132plaintex syntax and ftplugin files. (Nikolai Weibull, Benji Fisher)
Bram Moolenaarbd404142006-03-25 22:05:04 +00001133procmail ftplugin file. (Nikolai Weibull)
1134prolog ftplugin file. (Nikolai Weibull)
1135protocols syntax and ftplugin file. (Nikolai Weibull)
1136quake ftplugin file. (Nikolai Weibull)
1137racc syntax and ftplugin file. (Nikolai Weibull)
Bram Moolenaarbd404142006-03-25 22:05:04 +00001138readline ftplugin file. (Nikolai Weibull)
1139rhelp syntax file. (Johannes Ranke)
Bram Moolenaarc1e37902006-04-18 21:55:01 +00001140rnoweb syntax file. (Johannes Ranke)
Bram Moolenaarbd404142006-03-25 22:05:04 +00001141Relax NG compact ftplugin file. (Nikolai Weibull)
1142Scheme indent file. (Sergey Khorev)
1143screen ftplugin file. (Nikolai Weibull)
1144sensors syntax and ftplugin file. (Nikolai Weibull)
1145services syntax and ftplugin file. (Nikolai Weibull)
1146setserial syntax and ftplugin file. (Nikolai Weibull)
1147sieve syntax and ftplugin file. (Nikolai Weibull)
Bram Moolenaar61660ea2006-04-07 21:40:07 +00001148SiSU syntax file (Ralph Amissah)
Bram Moolenaarbd404142006-03-25 22:05:04 +00001149Sive syntax file. (Nikolai Weibull)
1150slp config, reg and spi syntax and ftplugin files. (Nikolai Weibull)
1151SML indent file. (Saikat Guha)
1152SQL anywhere syntax and indent file. (David Fishburn)
1153SQL indent file.
1154SQL-Informix syntax file. (Dean L Hill)
1155SQL: Handling of various variants. (David Fishburn)
1156sshconfig ftplugin file. (Nikolai Weibull)
Bram Moolenaar8cacf352006-04-15 20:27:24 +00001157Stata and SMCL syntax files. (Jeff Pitblado)
Bram Moolenaarbd404142006-03-25 22:05:04 +00001158sudoers ftplugin file. (Nikolai Weibull)
1159sysctl syntax and ftplugin file. (Nikolai Weibull)
1160terminfo ftplugin file. (Nikolai Weibull)
1161trustees syntax file. (Nima Talebi)
Bram Moolenaarc1e37902006-04-18 21:55:01 +00001162Vera syntax file. (David Eggum)
Bram Moolenaarbd404142006-03-25 22:05:04 +00001163udev config, permissions and rules syntax and ftplugin files. (Nikolai Weibull)
1164updatedb syntax and ftplugin file. (Nikolai Weibull)
1165VHDL indent file (Gerald Lai)
1166WSML syntax file. (Thomas Haselwanter)
1167Xdefaults ftplugin file. (Nikolai Weibull)
1168XFree86 config ftplugin file. (Nikolai Weibull)
1169xinetd syntax, indent and ftplugin file. (Nikolai Weibull)
1170xmodmap ftplugin file. (Nikolai Weibull)
1171Xquery syntax file. (Jean-Marc Vanel)
1172xsd (XML schema) indent file.
1173YAML ftplugin file. (Nikolai Weibull)
1174Zsh ftplugin file. (Nikolai Weibull)
1175
Bram Moolenaar261bfea2006-03-01 22:12:31 +00001176
Bram Moolenaar47136d72004-10-12 20:02:24 +00001177New Keymaps: ~
1178
1179Sinhala (Sri Lanka) (Harshula Jayasuriya)
Bram Moolenaar238a5642006-02-21 22:12:05 +00001180Tamil in TSCII encoding (Yegappan Lakshmanan)
Bram Moolenaarbd404142006-03-25 22:05:04 +00001181Greek in cp737 (Panagiotis Louridas)
1182Polish-slash (HS6_06)
1183Ukrainian-jcuken (Anatoli Sakhnik)
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00001184Kana (Edward L. Fox)
Bram Moolenaar238a5642006-02-21 22:12:05 +00001185
Bram Moolenaar47136d72004-10-12 20:02:24 +00001186
Bram Moolenaar15d0a8c2004-09-06 17:44:46 +00001187New message translations: ~
1188
Bram Moolenaar8c8de832008-06-24 22:58:06 +00001189The Ukrainian messages are now also available in cp1251.
Bram Moolenaar05159a02005-02-26 23:04:13 +00001190Vietnamese message translations and menu. (Phan Vinh Thinh)
1191
Bram Moolenaar071d4272004-06-13 20:20:40 +00001192
Bram Moolenaarf4b8e572004-06-24 15:53:16 +00001193Others: ~
1194
Bram Moolenaar910f66f2006-04-05 20:41:53 +00001195The |:read| command has the |++edit| argument. This means it will use the
1196detected 'fileformat', 'fileencoding' and other options for the buffer. This
1197also fixes the problem that editing a compressed file didn't set these
1198options.
1199
Bram Moolenaar1f35bf92006-03-07 22:38:47 +00001200The Netbeans interface was updated for Sun Studio 10. The protocol number
1201goes from 2.2 to 2.3. (Gordon Prieur)
1202
Bram Moolenaar1056d982006-03-09 22:37:52 +00001203Mac: When starting up Vim will load the $VIMRUNTIME/macmap.vim script to
Bram Moolenaar34e9e2f2006-03-14 23:07:19 +00001204define default command-key mappings. (mostly by Benji Fisher)
Bram Moolenaar1056d982006-03-09 22:37:52 +00001205
Bram Moolenaarf4b8e572004-06-24 15:53:16 +00001206Mac: Add the selection type to the clipboard, so that Block, line and
1207character selections can be used between two Vims. (Eckehard Berns)
1208Also fixes the problem that setting 'clipboard' to "unnamed" breaks using
1209"yyp".
Bram Moolenaar071d4272004-06-13 20:20:40 +00001210
Bram Moolenaara5792f52005-11-23 21:25:05 +00001211Mac: GUI font selector. (Peter Cucka)
Bram Moolenaar592e0a22004-07-03 16:05:59 +00001212
Bram Moolenaar5313dcb2005-02-22 08:56:13 +00001213Mac: support for multi-byte characters. (Da Woon Jung)
Bram Moolenaarf9393ef2006-04-24 19:47:27 +00001214This doesn't always work properly. If you see text drawing problems try
1215switching the 'macatsui' option off.
Bram Moolenaar5313dcb2005-02-22 08:56:13 +00001216
Bram Moolenaar900b4d72005-12-12 22:05:50 +00001217Mac: Support the xterm mouse in the non-GUI version.
Bram Moolenaar567e4de2004-12-31 21:01:02 +00001218
Bram Moolenaar46c9c732004-12-12 11:37:09 +00001219Mac: better integration with Xcode. Post a fake mouse-up event after the odoc
1220event and the drag receive handler to work around a stall after Vim loads a
1221file. Fixed an off-by-one line number error. (Da Woon Jung)
1222
Bram Moolenaard2cec5b2006-03-28 21:08:56 +00001223Mac: When started from Finder change directory to the file being edited or the
1224user home directory.
1225
Bram Moolenaar293ee4d2004-12-09 21:34:53 +00001226Added the t_SI and t_EI escape sequences for starting and ending Insert mode.
Bram Moolenaarc93b83a2006-04-29 22:02:36 +00001227To be used to set the cursor shape to a bar or a block. No default values,
1228they are not supported by termcap/terminfo.
1229
Bram Moolenaar900b4d72005-12-12 22:05:50 +00001230GUI font selector for Motif. (Marcin Dalecki)
1231
1232Nicer toolbar buttons for Motif. (Marcin Dalecki)
1233
1234Mnemonics for the Motif find/replace dialog. (Marcin Dalecki)
1235
Bram Moolenaarc93b83a2006-04-29 22:02:36 +00001236Included a few improvements for Motif from Marcin Dalecki. Draw label
1237contents ourselves to make them handle fonts in a way configurable by Vim and
1238a bit less dependent on the X11 font management.
Bram Moolenaar293ee4d2004-12-09 21:34:53 +00001239
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001240Autocommands can be defined local to a buffer. This means they will also work
1241when the buffer does not have a name or no specific name. See
1242|autocmd-buflocal|. (Yakov Lerner)
1243
Bram Moolenaar19a09a12005-03-04 23:39:37 +00001244For xterm most combinations of modifiers with function keys are recognized.
1245|xterm-modifier-keys|
1246
Bram Moolenaarae5bce12005-08-15 21:41:48 +00001247When 'verbose' is set the output of ":highlight" will show where a highlight
1248item was last set.
Bram Moolenaare344bea2005-09-01 20:46:49 +00001249When 'verbose' is set the output of the ":map", ":abbreviate", ":command",
1250":function" and ":autocmd" commands will show where it was last defined.
1251(Yegappan Lakshmanan)
Bram Moolenaarae5bce12005-08-15 21:41:48 +00001252
Bram Moolenaardd2436f2005-09-05 22:14:46 +00001253":function /pattern" lists functions matching the pattern.
1254
Bram Moolenaarf75a9632005-09-13 21:20:47 +00001255"1gd" can be used like "gd" but ignores matches in a {} block that ends before
1256the cursor position. Likewise for "1gD" and "gD".
1257
Bram Moolenaar4463f292005-09-25 22:20:24 +00001258'scrolljump' can be set to a negative number to scroll a percentage of the
1259window height.
1260
Bram Moolenaar06b5d512010-05-22 15:37:44 +02001261The |v:scrollstart| variable has been added to help find the location in
Bram Moolenaar07d4d732005-10-03 22:04:08 +00001262your script that causes the hit-enter prompt.
1263
Bram Moolenaar63a121b2005-12-11 21:36:39 +00001264To make it possible to handle the situation that a file is being edited that
1265is already being edited by another Vim instance, the |SwapExists| event has
1266been added. The |v:swapname|, |v:swapchoice| and |v:swapcommand| variables
1267can be used, for example to use the |client-server| functionality to bring the
1268other Vim to the foreground.
Bram Moolenaar146522e2005-12-16 21:55:46 +00001269When starting Vim with a "-t tag" argument, there is an existing swapfile and
1270the user selects "quit" or "abort" then exit Vim.
Bram Moolenaar63a121b2005-12-11 21:36:39 +00001271
Bram Moolenaareddf53b2006-02-27 00:11:10 +00001272Undo now also restores the '< and '> marks. "gv" selects the same area as
1273before the change and undo.
1274
Bram Moolenaarea0cd362006-03-16 21:46:52 +00001275When editing a search pattern for a "/" or "?" command and 'incsearch' is set
1276CTRL-L can be used to add a character from the current match. CTRL-R CTRL-W
1277will add a word, but exclude the part of the word that was already typed.
1278
Bram Moolenaar97b2ad32006-03-18 21:40:56 +00001279Ruby interface: add line number methods. (Ryan Paul)
1280
Bram Moolenaar910f66f2006-04-05 20:41:53 +00001281The $MYVIMRC environment variable is set to the first found vimrc file.
1282The $MYGVIMRC environment variable is set to the first found gvimrc file.
1283
Bram Moolenaar071d4272004-06-13 20:20:40 +00001284==============================================================================
1285IMPROVEMENTS *improvements-7*
1286
Bram Moolenaarf4b8e572004-06-24 15:53:16 +00001287":helpgrep" accepts a language specifier after the pattern: "pat@it".
1288
Bram Moolenaarc93b83a2006-04-29 22:02:36 +00001289Moved the help for printing to a separate help file. It's quite a lot now.
Bram Moolenaar8299df92004-07-10 09:47:34 +00001290
Bram Moolenaar1f35bf92006-03-07 22:38:47 +00001291When doing completion for ":!cmd", ":r !cmd" or ":w !cmd" executable files are
Bram Moolenaar551dbcc2006-04-25 22:13:59 +00001292found in $PATH instead of looking for ordinary files in the current directory.
Bram Moolenaar1f35bf92006-03-07 22:38:47 +00001293
Bram Moolenaara5792f52005-11-23 21:25:05 +00001294When ":silent" is used and a backwards range is given for an Ex command the
1295range is swapped automatically instead of asking if that is OK.
1296
Bram Moolenaar8bf59b92005-03-06 23:40:56 +00001297The pattern matching code was changed from a recursive function to an
1298iterative mechanism. This avoids out-of-stack errors. State is stored in
1299allocated memory, running out of memory can always be detected. Allows
1300matching more complex things, but Vim may seem to hang while doing that.
1301
Bram Moolenaarb71eaae2006-01-20 23:10:18 +00001302Previously some options were always evaluated in the |sandbox|. Now that only
1303happens when the option was set from a modeline or in secure mode. Applies to
1304'balloonexpr', 'foldexpr', 'foldtext' and 'includeexpr'. (Sumner Hayes)
1305
1306Some commands and expressions could have nasty side effects, such as using
1307CTRL-R = while editing a search pattern and the expression invokes a function
1308that jumps to another window. The |textlock| has been added to prevent this
1309from happening.
1310
Bram Moolenaarf4b8e572004-06-24 15:53:16 +00001311":breakadd here" and ":breakdel here" can be used to set or delete a
1312breakpoint at the cursor.
1313
Bram Moolenaar997fb4b2006-02-17 21:53:23 +00001314It is now possible to define a function with: >
1315 :exe "func Test()\n ...\n endfunc"
1316
Bram Moolenaarc93b83a2006-04-29 22:02:36 +00001317The tutor was updated to make it simpler to use and text was added to explain
1318a few more important commands. Used ideas from Gabriel Zachmann.
Bram Moolenaar071d4272004-06-13 20:20:40 +00001319
Bram Moolenaarcfbc5ee2004-07-02 15:38:35 +00001320Unix: When libcall() fails obtain an error message with dlerror() and display
1321it. (Johannes Zellner)
1322
Bram Moolenaarcc016f52005-12-10 20:23:46 +00001323Mac and Cygwin: When editing an existing file make the file name the same case
1324of the edited file. Thus when typing ":e os_UNIX.c" the file name becomes
1325"os_unix.c".
1326
Bram Moolenaar592e0a22004-07-03 16:05:59 +00001327Added "nbsp" in 'listchars'. (David Blanchet)
1328
Bram Moolenaar21cf8232004-07-16 20:18:37 +00001329Added the "acwrite" value for the 'buftype' option. This is for a buffer that
Bram Moolenaara5792f52005-11-23 21:25:05 +00001330does not have a name that refers to a file and is written with BufWriteCmd
Bram Moolenaar21cf8232004-07-16 20:18:37 +00001331autocommands.
1332
Bram Moolenaar325b7a22004-07-05 15:58:32 +00001333For lisp indenting and matching parenthesis: (Sergey Khorev)
1334- square brackets are recognized properly
1335- #\(, #\), #\[ and #\] are recognized as character literals
1336- Lisp line comments (delimited by semicolon) are recognized
1337
Bram Moolenaar89cb5e02004-07-19 20:55:54 +00001338Added the "count" argument to match(), matchend() and matchstr(). (Ilya Sher)
1339
Bram Moolenaarc93b83a2006-04-29 22:02:36 +00001340winnr() takes an optional "$" or "#" argument. (Nikolai Weibull, Yegappan
Bram Moolenaar5eb86f92004-07-26 12:53:41 +00001341Lakshmanan)
1342
Bram Moolenaar768b8c42006-03-04 21:58:33 +00001343Added 's' flag to search(): set ' mark if cursor moved. (Yegappan Lakshmanan)
Bram Moolenaar5eb86f92004-07-26 12:53:41 +00001344Added 'n' flag to search(): don't move the cursor. (Nikolai Weibull)
Bram Moolenaar768b8c42006-03-04 21:58:33 +00001345Added 'c' flag to search(): accept match at the cursor.
1346Added 'e' flag to search(): move to end of the match. (Benji Fisher)
1347Added 'p' flag to search(): return number of sub-pattern. (Benji Fisher)
1348These also apply to searchpos(), searchpair() and searchpairpos().
Bram Moolenaarc93b83a2006-04-29 22:02:36 +00001349
Bram Moolenaar768b8c42006-03-04 21:58:33 +00001350The search() and searchpair() functions have an extra argument to specify
1351where to stop searching. Speeds up searches that should not continue too far.
Bram Moolenaar5eb86f92004-07-26 12:53:41 +00001352
Bram Moolenaard4755bb2004-09-02 19:12:26 +00001353When uncompressing fails in the gzip plugin, give an error message but don't
1354delete the raw text. Helps if the file has a .gz extension but is not
1355actually compressed. (Andrew Pimlott)
1356
1357When C, C++ or IDL syntax is used, may additionally load doxygen syntax.
Bram Moolenaard4755bb2004-09-02 19:12:26 +00001358(Michael Geddes)
1359
Bram Moolenaar97b2ad32006-03-18 21:40:56 +00001360Support setting 'filetype' and 'syntax' to "aaa.bbb" for "aaa" plus "bbb"
1361filetype or syntax.
1362
Bram Moolenaard4755bb2004-09-02 19:12:26 +00001363The ":registers" command now displays multi-byte characters properly.
1364
1365VMS: In the usage message mention that a slash can be used to make a flag
1366upper case. Add color support to the builtin vt320 terminal codes.
1367(Zoltan Arpadffy)
1368
Bram Moolenaar15d0a8c2004-09-06 17:44:46 +00001369For the '%' item in 'viminfo', allow a number to set a maximum for the number
1370of buffers.
1371
Bram Moolenaarc93b83a2006-04-29 22:02:36 +00001372For recognizing the file type: When a file looks like a shell script, check
1373for an "exec" command that starts the tcl interpreter. (suggested by Alexios
1374Zavras)
Bram Moolenaar3fdfa4a2004-10-07 21:02:47 +00001375
1376Support conversion between utf-8 and latin9 (iso-8859-15) internally, so that
1377digraphs still work when iconv is not available.
1378
Bram Moolenaar293ee4d2004-12-09 21:34:53 +00001379When a session file is loaded while editing an unnamed, empty buffer that
1380buffer is wiped out. Avoids that there is an unused buffer in the buffer
1381list.
1382
1383Win32: When libintl.dll supports bind_textdomain_codeset(), use it.
1384(NAKADAIRA Yukihiro)
1385
Bram Moolenaare224ffa2006-03-01 00:01:28 +00001386Win32: Vim was not aware of hard links on NTFS file systems. These are
1387detected now for when 'backupcopy' is "auto". Also fixed a bogus "file has
1388been changed since reading it" error for links.
1389
Bram Moolenaar293ee4d2004-12-09 21:34:53 +00001390When foldtext() finds no text after removing the comment leader, use the
1391second line of the fold. Helps for C-style /* */ comments where the first
1392line is just "/*".
1393
Bram Moolenaar1cd871b2004-12-19 22:46:22 +00001394When editing the same file from two systems (e.g., Unix and MS-Windows) there
1395mostly was no warning for an existing swap file, because the name of the
1396edited file differs (e.g., y:\dir\file vs /home/me/dir/file). Added a flag to
1397the swap file to indicate it is in the same directory as the edited file. The
1398used path then doesn't matter and the check for editing the same file is much
1399more reliable.
1400
Bram Moolenaar900b4d72005-12-12 22:05:50 +00001401Unix: When editing a file through a symlink the swap file would use the name
1402of the symlink. Now use the name of the actual file, so that editing the same
1403file twice is detected. (suggestions by Stefano Zacchiroli and James Vega)
1404
Bram Moolenaar1cd871b2004-12-19 22:46:22 +00001405Client-server communication now supports 'encoding'. When setting 'encoding'
1406in a Vim server to "utf-8", and using "vim --remote fname" in a console,
1407"fname" is converted from the console encoding to utf-8. Also allows Vims
1408with different 'encoding' settings to exchange messages.
1409
Bram Moolenaar86b68352004-12-27 21:59:20 +00001410Internal: Changed ga_room into ga_maxlen, so that it doesn't need to be
1411incremented/decremented each time.
1412
Bram Moolenaar49cd9572005-01-03 21:06:01 +00001413When a register is empty it is not stored in the viminfo file.
1414
Bram Moolenaar8c711452005-01-14 21:53:12 +00001415Removed the tcltags script, it's obsolete.
1416
Bram Moolenaar67fe1a12005-05-22 22:12:58 +00001417":redir @*>>" and ":redir @+>>" append to the clipboard. Better check for
Bram Moolenaar5313dcb2005-02-22 08:56:13 +00001418invalid characters after the register name. |:redir|
1419
1420":redir => variable" and ":redir =>> variable" write or append to a variable.
1421(Yegappan Lakshmanan) |:redir|
Bram Moolenaardcaf10e2005-01-21 11:55:25 +00001422
Bram Moolenaar231334e2005-07-25 20:46:57 +00001423":redir @{a-z}>>" appends to register a to z. (Yegappan Lakshmanan)
Bram Moolenaar67fe1a12005-05-22 22:12:58 +00001424
Bram Moolenaar54ee7752005-05-31 22:22:17 +00001425The 'verbosefile' option can be used to log messages in a file. Verbose
1426messages are not displayed then. The "-V{filename}" argument can be used to
1427log startup messages.
1428
Bram Moolenaardcaf10e2005-01-21 11:55:25 +00001429":let g:" lists global variables.
1430":let b:" lists buffer-local variables.
1431":let w:" lists window-local variables.
1432":let v:" lists Vim variables.
1433
Bram Moolenaard438e912005-01-31 19:21:46 +00001434The stridx() and strridx() functions take a third argument, where to start
1435searching. (Yegappan Lakshmanan)
Bram Moolenaarb71ec9f2005-01-25 22:22:02 +00001436
Bram Moolenaar67fe1a12005-05-22 22:12:58 +00001437The getreg() function takes an extra argument to be able to get the expression
1438for the '=' register instead of the result of evaluating it.
1439
1440The setline() function can take a List argument to set multiple lines. When
1441the line number is just below the last line the line is appended.
1442
Bram Moolenaarbee0c5b2005-02-07 22:03:36 +00001443g CTRL-G also shows the number of characters if it differs from the number of
1444bytes.
1445
Bram Moolenaar5313dcb2005-02-22 08:56:13 +00001446Completion for ":debug" and entering an expression for the '=' register. Skip
1447":" between range and command name. (Peter winters)
1448
1449CTRL-Q in Insert mode now works like CTRL-V by default. Previously it was
1450ignored.
1451
1452When "beep" is included in 'debug' a function or script that causes a beep
1453will result in a message with the source of the error.
1454
Bram Moolenaar05159a02005-02-26 23:04:13 +00001455When completing buffer names, match with "\(^\|[\/]\)" instead of "^", so that
1456":buf stor<Tab>" finds both "include/storage.h" and "storage/main.c".
1457
1458To count items (pattern matches) without changing the buffer the 'n' flag has
1459been added to |:substitute|. See |count-items|.
1460
Bram Moolenaarea0cd362006-03-16 21:46:52 +00001461In a |:substitute| command the \u, \U, \l and \L items now also work for
1462multi-byte characters.
1463
Bram Moolenaar038eb0e2005-02-27 22:43:26 +00001464The "screen.linux" $TERM name is recognized to set the default for
Bram Moolenaar482aaeb2005-09-29 18:26:07 +00001465'background' to "dark". (Ciaran McCreesh) Also for "cygwin" and "putty".
Bram Moolenaar19a09a12005-03-04 23:39:37 +00001466
1467The |FileChangedShell| autocommand event can now use the |v:fcs_reason|
1468variable that specifies what triggered the event. |v:fcs_choice| can be used
1469to reload the buffer or ask the user what to do.
Bram Moolenaar038eb0e2005-02-27 22:43:26 +00001470
Bram Moolenaar8bf59b92005-03-06 23:40:56 +00001471Not all modifiers were recognized for xterm function keys. Added the
1472possibility in term codes to end in ";*X" or "O*X", where X is any character
1473and the * stands for the modifier code.
1474Added the <xUp>, <xDown>, <xLeft> and <xRight> keys, to be able to recognize
1475the two forms that xterm can send their codes in and still handle all possible
1476modifiers.
1477
Bram Moolenaarc0761132005-03-18 20:30:32 +00001478getwinvar() now also works to obtain a buffer-local option from the specified
1479window.
1480
Bram Moolenaarb982ca52005-03-28 21:02:15 +00001481Added the "%s" item to 'errorformat'. (Yegappan Lakshmanan)
Bram Moolenaarb3656ed2006-03-20 21:59:49 +00001482Added the "%>" item to 'errorformat'.
1483
1484For 'errorformat' it was not possible to have a file name that contains the
1485character that follows after "%f". For example, in "%f:%l:%m" the file name
1486could not contain ":". Now include the first ":" where the rest of the
1487pattern matches. In the example a ":" not followed by a line number is
1488included in the file name. (suggested by Emanuele Giaquinta)
Bram Moolenaarb982ca52005-03-28 21:02:15 +00001489
Bram Moolenaar34cdc3e2005-05-18 22:24:46 +00001490GTK GUI: use the GTK file dialog when it's available. Mix from patches by
1491Grahame Bowland and Evan Webb.
1492
Bram Moolenaar9ba0eb82005-06-13 22:28:56 +00001493Added ":scriptnames" to bugreport.vim, so that we can see what plugins were
1494used.
1495
Bram Moolenaar520470a2005-06-16 21:59:56 +00001496Win32: If the user changes the setting for the number of lines a scroll wheel
1497click scrolls it is now used immediately. Previously Vim would need to be
1498restarted.
1499
Bram Moolenaarb2ec3072005-06-17 22:02:20 +00001500When using @= in an expression the value is expression @= contains. ":let @=
1501= value" can be used to set the register contents.
1502
Bram Moolenaar51bab742005-07-08 22:31:03 +00001503A ! can be added to ":popup" to have the popup menu appear at the mouse
1504pointer position instead of the text cursor.
1505
Bram Moolenaard8e9bb22005-07-09 21:14:46 +00001506The table with encodings has been expanded with many MS-Windows codepages,
1507such as cp1250 and cp737, so that these can also be used on Unix without
1508prepending "8bit-".
Bram Moolenaarae5bce12005-08-15 21:41:48 +00001509When an encoding name starts with "microsoft-cp" ignore the "microsoft-" part.
Bram Moolenaard8e9bb22005-07-09 21:14:46 +00001510
1511Added the "customlist" completion argument to a user-defined command. The
1512user-defined completion function should return the completion candidates as a
Bram Moolenaar231334e2005-07-25 20:46:57 +00001513Vim List and the returned results are not filtered by Vim. (Yegappan
1514Lakshmanan)
Bram Moolenaard8e9bb22005-07-09 21:14:46 +00001515
Bram Moolenaar342337a2005-07-21 21:11:17 +00001516Win32: Balloons can have multiple lines if common controls supports it.
1517(Sergey Khorev)
1518
Bram Moolenaar90cfdbe2005-08-12 19:59:19 +00001519For command-line completion the matches for various types of arguments are now
1520sorted: user commands, variables, syntax names, etc.
1521
Bram Moolenaara2036d22005-08-23 21:04:20 +00001522When no locale is set, thus using the "C" locale, Vim will work with latin1
Bram Moolenaara5792f52005-11-23 21:25:05 +00001523characters, using its own isupper()/toupper()/etc. functions.
Bram Moolenaara2036d22005-08-23 21:04:20 +00001524
Bram Moolenaarac6e65f2005-08-29 22:25:38 +00001525When using an rxvt terminal emulator guess the value of 'background' using the
1526COLORFGBG environment variable. (Ciaran McCreesh)
1527
1528Also support t_SI and t_EI on Unix with normal features. (Ciaran McCreesh)
1529
Bram Moolenaardcca87b2005-09-10 19:24:59 +00001530When 'foldcolumn' is one then put as much info in it as possible. This allows
1531closing a fold with the mouse by clicking on the '-'.
1532
Bram Moolenaarbfd8fc02005-09-20 23:22:24 +00001533input() takes an optional completion argument to specify the type of
1534completion supported for the input. (Yegappan Lakshmanan)
1535
Bram Moolenaar4463f292005-09-25 22:20:24 +00001536"dp" works with more than two buffers in diff mode if there is only one where
1537'modifiable' is set.
1538
Bram Moolenaar27dc1952006-03-15 23:06:44 +00001539The 'diffopt' option has three new values: "horizontal", "vertical" and
1540"foldcolumn".
1541
Bram Moolenaar69e0ff92005-09-30 21:23:56 +00001542When the 'include' option contains \zs the file name found is what is being
1543matched from \zs to the end or \ze. Useful to pass more to 'includeexpr'.
1544
Bram Moolenaar07d4d732005-10-03 22:04:08 +00001545Loading plugins on startup now supports subdirectories in the plugin
1546directory. |load-plugins|
1547
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00001548In the foldcolumn always show the '+' for a closed fold, so that it can be
1549opened easily. It may overwrite another character, esp. if 'foldcolumn' is 1.
1550
1551It is now possible to get the W10 message again by setting 'readonly'. Useful
1552in the FileChangedRO autocommand when checking out the file fails.
1553
Bram Moolenaar784c6142005-10-11 20:34:58 +00001554Unix: When open() returns EFBIG give an appropriate message.
1555
Bram Moolenaar241a8aa2005-12-06 20:04:44 +00001556":mksession" sets the SessionLoad variable to notify plugins. A modeline is
1557added to the session file to set 'filetype' to "vim".
1558
Bram Moolenaard5bc83f2005-12-07 21:07:59 +00001559In the ATTENTION prompt put the "Delete it" choice before "Quit" to make it
1560more logical. (Robert Webb)
1561
Bram Moolenaar63a121b2005-12-11 21:36:39 +00001562When appending to a file while the buffer has no name the name of the appended
1563file would be used for the current buffer. But the buffer contents is
1564actually different from the file content. Don't set the file name, unless the
1565'P' flag is present in 'cpoptions'.
1566
Bram Moolenaar900b4d72005-12-12 22:05:50 +00001567When starting to edit a new file and the directory for the file doesn't exist
1568then Vim will report "[New DIRECTORY]" instead of "[New File] to give the user
1569a hint that something might be wrong.
1570
Bram Moolenaarbca84a12005-12-14 22:08:35 +00001571Win32: Preserve the hidden attribute of the viminfo file.
1572
Bram Moolenaar146522e2005-12-16 21:55:46 +00001573In Insert mode CTRL-A didn't keep the last inserted text when using CTRL-O and
1574then a cursor key. Now keep the previously inserted text if nothing is
1575inserted after the CTRL-O. Allows using CTRL-O commands to move the cursor
1576without losing the last inserted text.
Bram Moolenaarbca84a12005-12-14 22:08:35 +00001577
Bram Moolenaarf4cd3e82005-12-22 22:47:02 +00001578The exists() function now supports checking for autocmd group definition
Bram Moolenaarcc984262005-12-23 22:19:46 +00001579and for supported autocommand events. (Yegappan Lakshmanan)
Bram Moolenaara9b1e742005-12-19 22:14:58 +00001580
Bram Moolenaar4770d092006-01-12 23:22:24 +00001581Allow using ":global" in the sandbox, it doesn't do anything harmful by
1582itself.
1583
Bram Moolenaarb71eaae2006-01-20 23:10:18 +00001584":saveas asdf.c" will set 'filetype' to c when it's empty. Also for ":w
1585asdf.c" when it sets the filename for the buffer.
1586
Bram Moolenaar1d2ba7f2006-02-14 22:29:30 +00001587Insert mode completion for whole lines now also searches unloaded buffers.
Bram Moolenaarb71eaae2006-01-20 23:10:18 +00001588
Bram Moolenaarf740b292006-02-16 22:11:02 +00001589The colortest.vim script can now be invoked directly with ":source" or
Bram Moolenaarc93b83a2006-04-29 22:02:36 +00001590":runtime syntax/colortest.vim".
Bram Moolenaarf740b292006-02-16 22:11:02 +00001591
Bram Moolenaard1f56e62006-02-22 21:25:37 +00001592The 'statusline' option can be local to the window, so that each window can
1593have a different value. (partly by Yegappan Lakshmanan)
1594
Bram Moolenaar238a5642006-02-21 22:12:05 +00001595The 'statusline' option and other options that support the same format can now
1596use these new features:
1597- When it starts with "%!" the value is first evaluated as an expression
1598 before parsing the value.
1599- "%#HLname#" can be used to start highlighting with HLname.
1600
Bram Moolenaard1f56e62006-02-22 21:25:37 +00001601When 'statusline' is set to something that causes an error message then it is
1602made empty to avoid an endless redraw loop. Also for other options, such at
Bram Moolenaarea0cd362006-03-16 21:46:52 +00001603'tabline' and 'titlestring'. ":verbose set statusline" will mention that it
1604was set in an error handler.
Bram Moolenaard1f56e62006-02-22 21:25:37 +00001605
Bram Moolenaar32466aa2006-02-24 23:53:04 +00001606When there are several matching tags, the ":tag <name>" and CTRL-] commands
1607jump to the [count] matching tag. (Yegappan Lakshmanan)
1608
Bram Moolenaar97b2ad32006-03-18 21:40:56 +00001609Win32: In the batch files generated by the install program, use $VIMRUNTIME or
1610$VIM if it's set. Example provided by Mathias Michaelis.
1611Also create a vimtutor.bat batch file.
Bram Moolenaar32466aa2006-02-24 23:53:04 +00001612
Bram Moolenaarb3656ed2006-03-20 21:59:49 +00001613The 'balloonexpr' option is now |global-local|.
1614
Bram Moolenaare580b0c2006-03-21 21:33:03 +00001615The system() function now runs in cooked mode, thus can be interrupted by
1616CTRL-C.
1617
Bram Moolenaar071d4272004-06-13 20:20:40 +00001618==============================================================================
1619COMPILE TIME CHANGES *compile-changes-7*
1620
Bram Moolenaar2079a602005-01-04 21:43:22 +00001621Dropped the support for the BeOS and Amiga GUI. They were not maintained and
1622probably didn't work. If you want to work on this: get the Vim 6.x version
1623and merge it back in.
1624
Bram Moolenaar5313dcb2005-02-22 08:56:13 +00001625When running the tests and one of them fails to produce "test.out" the
1626following tests are still executed. This helps when running out of memory.
1627
Bram Moolenaarf461c8e2005-06-25 23:04:51 +00001628When compiling with EXITFREE defined and the ccmalloc library it is possible
1629to detect memory leaks. Some memory will always reported as leaked, such as
1630allocated by X11 library functions and the memory allocated in alloc_cmdbuff()
1631to store the ":quit" command.
1632
Bram Moolenaar231334e2005-07-25 20:46:57 +00001633Moved the code for printing to src/hardcopy.c.
1634
1635Moved some code from main() to separate functions to make it easier to see
Bram Moolenaarc93b83a2006-04-29 22:02:36 +00001636what is being done. Using a structure to avoid a lot of arguments to the
Bram Moolenaar231334e2005-07-25 20:46:57 +00001637functions.
1638
1639Moved unix_expandpath() to misc1.c, so that it can also be used by os_mac.c
1640without copying the code.
1641
Bram Moolenaar362e1a32006-03-06 23:29:24 +00001642--- Mac ---
1643
1644"make" now creates the Vim.app directory and "make install" copies it to its
1645final destination. (Raf)
1646
Bram Moolenaar27dc1952006-03-15 23:06:44 +00001647Put the runtime directory not directly in Vim.app but in
1648Vim.app/Contents/Resources/vim, so that it's according to Mac specs.
1649
Bram Moolenaar362e1a32006-03-06 23:29:24 +00001650Made it possible to compile with Motif, Athena or GTK without tricks and still
1651being able to use the MacRoman conversion. Added the os_mac_conv.c file.
1652
1653When running "make install" the runtime files are installed as for Unix.
Bram Moolenaare344bea2005-09-01 20:46:49 +00001654Avoids that too many files are copied. When running "make" a link to the
1655runtime files is created to avoid a recursive copy that takes much time.
1656
Bram Moolenaar362e1a32006-03-06 23:29:24 +00001657Configure will attempt to build Vim for both Intel and PowerPC. The
Bram Moolenaareddf53b2006-02-27 00:11:10 +00001658--with-mac-arch configure argument can change it.
1659
Bram Moolenaar362e1a32006-03-06 23:29:24 +00001660--- Win32 ---
1661
1662The Make_mvc.mak file was adjusted to work with the latest MS compilers,
1663including the free version of Visual Studio 2005. (George Reilly)
1664
1665INSTALLpc.txt was updated for the recent changes. (George Reilly)
1666
1667The distributed executable is now produced with the free Visual C++ Toolkit
16682003 and other free SDK chunks. msvcsetup.bat was added to support this.
1669
1670Also generate the .pdb file that can be used to generate a useful crash report
1671on MS-Windows. (George Reilly)
1672
Bram Moolenaar071d4272004-06-13 20:20:40 +00001673==============================================================================
1674BUG FIXES *bug-fixes-7*
1675
Bram Moolenaarf4b8e572004-06-24 15:53:16 +00001676When using PostScript printing on MS-DOS the default 'printexpr' used "lpr"
1677instead of "copy". When 'printdevice' was empty the copy command did not
1678work. Use "LPT1" then.
1679
1680The GTK font dialog uses a font size zero when the font name doesn't include a
1681size. Use a default size of 10.
1682
1683This example in the documentation didn't work:
Bram Moolenaar166af9b2010-11-16 20:34:40 +01001684 :e `=foo . ".c"`
Bram Moolenaarf4b8e572004-06-24 15:53:16 +00001685Skip over the expression in `=expr` when looking for comments, |, % and #.
1686
1687When ":helpgrep" doesn't find anything there is no error message.
1688
1689"L" and "H" did not take closed folds into account.
1690
1691Win32: The "-P title" argument stopped at the first title that matched, even
1692when it doesn't support MDI.
1693
1694Mac GUI: CTRL-^ and CTRL-@ did not work.
1695
1696"2daw" on "word." at the end of a line didn't include the preceding white
1697space.
1698
1699Win32: Using FindExecutable() doesn't work to find a program. Use
1700SearchPath() instead. For executable() use $PATHEXT when the program searched
1701for doesn't have an extension.
1702
1703When 'virtualedit' is set, moving the cursor up after appending a character
1704may move it to a different column. Was caused by auto-formatting moving the
1705cursor and not putting it back where it was.
1706
1707When indent was added automatically and then moving the cursor, the indent was
1708not deleted (like when pressing ESC). The "I" flag in 'cpoptions' can be used
1709to make it work the old way.
1710
Bram Moolenaarf4b8e572004-06-24 15:53:16 +00001711When opening a command-line window, 'textwidth' gets set to 78 by the Vim
1712filetype plugin. Reset 'textwidth' to 0 to avoid lines are broken.
1713
1714After using cursor(line, col) moving up/down doesn't keep the same column.
1715
1716Win32: Borland C before 5.5 requires using ".u." for LowPart and HighPart
1717fields. (Walter Briscoe)
Bram Moolenaar071d4272004-06-13 20:20:40 +00001718
Bram Moolenaar843ee412004-06-30 16:16:41 +00001719On Sinix SYS_NMLN isn't always defined. Define it ourselves. (Cristiano De
1720Michele)
1721
Bram Moolenaar325b7a22004-07-05 15:58:32 +00001722Printing with PostScript may keep the printer waiting for more. Append a
1723CTRL-D to the printer output. (Mike Williams)
1724
Bram Moolenaar2df6dcc2004-07-12 15:53:54 +00001725When converting a string with a hex or octal number the leading '-' was
1726ignored. ":echo '-05' + 0" resulted in 5 instead of -5.
1727
1728Using "@:" to repeat a command line didn't work when it contains control
Bram Moolenaar90cfdbe2005-08-12 19:59:19 +00001729characters. Also remove "'<,'>" when in Visual mode to avoid that it appears
1730twice.
Bram Moolenaar2df6dcc2004-07-12 15:53:54 +00001731
Bram Moolenaar21cf8232004-07-16 20:18:37 +00001732When using file completion for a user command, it would not expand environment
1733variables like for a regular command with a file argument.
1734
1735'cindent': When the argument of a #define looks like a C++ class the next line
1736is indented too much.
1737
1738When 'comments' includes multi-byte characters inserting the middle part and
1739alignment may go wrong. 'cindent' also suffers from this for right-aligned
1740items.
1741
Bram Moolenaar05159a02005-02-26 23:04:13 +00001742Win32: when 'encoding' is set to "utf-8" getenv() still returns strings in the
1743active codepage. Convert to utf-8. Also for $HOME.
1744
Bram Moolenaarab79bcb2004-07-18 21:34:53 +00001745The default for 'helplang' was "zh" for both "zh_cn" and "zh_tw". Now use
1746"cn" or "tw" as intended.
1747
Bram Moolenaar5eb86f92004-07-26 12:53:41 +00001748When 'bin' is set and 'eol' is not set then line2byte() added the line break
1749after the last line while it's not there.
1750
1751Using foldlevel() in a WinEnter autocommand may not work. Noticed when
1752resizing the GUI shell upon startup.
1753
1754Python: Using buffer.append(f.readlines()) didn't work. Allow appending a
1755string with a trailing newline. The newline is ignored.
1756
Bram Moolenaar269ec652004-07-29 08:43:53 +00001757When using the ":saveas f2" command for buffer "f1", the Buffers menu would
1758contain "f2" twice, one of them leading to "f1". Also trigger the BufFilePre
1759and BufFilePost events for the alternate buffer that gets the old name.
1760
Bram Moolenaard4755bb2004-09-02 19:12:26 +00001761strridx() did not work well when the needle is empty. (Ciaran McCreesh)
1762
1763GTK: Avoid a potential hang in gui_mch_wait_for_chars() when input arrives
1764just before it is invoked
1765
1766VMS: Occasionally CR characters were inserted in the file. Expansion of
1767environment variables was not correct. (Zoltan Arpadffy)
1768
1769UTF-8: When 'delcombine' is set "dw" only deleted the last combining character
1770from the first character of the word.
1771
1772When using ":sball" in an autocommand only the filetype in one buffer was
1773detected. Reset did_filetype in enter_buffer().
1774
1775When using ":argdo" and the window already was at the first argument index,
1776but not actually editing it, the current buffer would be used instead.
1777
Bram Moolenaar15d0a8c2004-09-06 17:44:46 +00001778When ":next dir/*" includes many matches, adding the names to the argument
1779list may take an awful lot of time and can't be interrupted. Allow
1780interrupting this.
1781
1782When editing a file that was already loaded in a buffer, modelines were not
1783used. Now window-local options in the modeline are set. Buffer-local options
1784and global options remain unmodified.
1785
1786Win32: When 'encoding' is set to "utf-8" in the vimrc file, files from the
1787command line with non-ASCII characters are not used correctly. Recode the
1788file names when 'encoding' is set, using the Unicode command line.
1789
Bram Moolenaarc0197e22004-09-13 20:26:32 +00001790Win32 console: When the default for 'encoding' ends up to be "latin1", the
1791default value of 'isprint' was wrong.
1792
1793When an error message is given while waiting for a character (e.g., when an
1794xterm reports the number of colors), the hit-enter prompt overwrote the last
1795line. Don't reset msg_didout in normal_cmd() for K_IGNORE.
1796
Bram Moolenaar3fdfa4a2004-10-07 21:02:47 +00001797Mac GUI: Shift-Tab didn't work.
1798
1799When defining tooltip text, don't translate terminal codes, since it's not
1800going to be used like a command.
1801
1802GTK 2: Check the tooltip text for valid utf-8 characters to avoid getting a
1803GTK error. Invalid characters may appear when 'encoding' is changed.
1804
1805GTK 2: Add a safety check for invalid utf-8 sequences, they can crash pango.
1806
1807Win32: When 'encoding' is changed while starting up, use the Unicode command
1808line to convert the file arguments to 'encoding'. Both for the GUI and the
1809console version.
1810
1811Win32 GUI: latin9 text (iso-8859-15) was not displayed correctly, because
1812there is no codepage for latin9. Do our own conversion from latin9 to UCS2.
1813
Bram Moolenaar7b0294c2004-10-11 10:16:09 +00001814When two versions of GTK+ 2 are installed it was possible to use the header
1815files from one and the library from the other. Use GTK_LIBDIR to put the
1816directory for the library early in the link flags.
1817
1818With the GUI find/replace dialog a replace only worked if the pattern was
1819literal text. Now it works for any pattern.
1820
Bram Moolenaar293ee4d2004-12-09 21:34:53 +00001821When 'equalalways' is set and 'eadirection' is "hor", ":quit" would still
1822cause equalizing window heights in the vertical direction.
1823
1824When ":emenu" is used in a startup script the command was put in the typeahead
1825buffer, causing a prompt for the crypt key to be messed up.
1826
1827Mac OS/X: The default for 'isprint' included characters 128-160, causes
1828problems for Terminal.app.
1829
1830When a syntax item with "containedin" is used, it may match in the start or
1831end of a region with a matchgroup, while this doesn't happen for a "contains"
1832argument.
1833
1834When a transparent syntax items matches in another item where the highlighting
1835has already stopped (because of a he= argument), the highlighting would come
1836back.
1837
1838When cscope is used to set the quickfix error list, it didn't get set if there
1839was only one match. (Sergey Khorev)
1840
1841When 'confirm' is set and using ":bdel" in a modified buffer, then selecting
1842"cancel", would still give an error message.
1843
1844The PopUp menu items that started Visual mode didn't work when not in Normal
1845mode. Switching between selecting a word and a line was not possible.
1846
1847Win32: The keypad decimal point always resulted in a '.', while on some
1848keyboards it's a ','. Use MapVirtualKey(VK_DECIMAL, 2).
1849
1850Removed unused function DisplayCompStringOpaque() from gui_w32.c
1851
1852In Visual mode there is not always an indication whether the line break is
1853selected or not. Highlight the character after the line when the line break
1854is included, e.g., after "v$o".
1855
1856GTK: The <F10> key can't be mapped, it selects the menu. Disable that with a
1857GTK setting and do select the menu when <F10> isn't mapped. (David Necas)
1858
1859After "Y" '[ and '] were not at start/end of the yanked text.
1860
1861When a telnet connection is dropped Vim preserves files and exits. While
Bram Moolenaar8ea91232006-04-28 22:41:43 +00001862doing that a SIGHUP may arrive and disturb us, thus ignore it. (Scott
Bram Moolenaar46c9c732004-12-12 11:37:09 +00001863Anderson) Also postpone SIGHUP, SIGQUIT and SIGTERM until it's safe to
1864handle. Added handle_signal().
1865
Bram Moolenaar1cd871b2004-12-19 22:46:22 +00001866When completing a file name on the command line backslashes are required for
1867white space. Was only done for a space, not for a Tab.
1868
1869When configure could not find a terminal library, compiling continued for a
1870long time before reporting the problem. Added a configure check for tgetent()
1871being found in a library.
1872
1873When the cursor is on the first char of the last line a ":g/pat/s///" command
1874may cause the cursor to be displayed below the text.
1875
1876Win32: Editing a file with non-ASCII characters doesn't work when 'encoding'
1877is "utf-8". use _wfullpath() instead of _fullpath(). (Yu-sung Moon)
1878
1879When recovering the 'fileformat' and 'fileencoding' were taken from the
1880original file instead of from the swapfile. When the file didn't exist, was
1881empty or the option was changed (e.g., with ":e ++fenc=cp123 file") it could
1882be wrong. Now store 'fileformat' and 'fileencoding' in the swapfile and use
1883the values when recovering.
1884
1885":bufdo g/something/p" overwrites each last printed text line with the file
1886message for the next buffer. Temporarily clear 'shortmess' to avoid that.
1887
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001888Win32: Cannot edit a file starting with # with --remote. Do escape % and #
1889when building the ":drop" command.
1890
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +01001891A comment or | just after an expression-backtick argument was not recognized.
Bram Moolenaar86b68352004-12-27 21:59:20 +00001892E.g. in :e `="foo"`"comment.
1893
Bram Moolenaar567e4de2004-12-31 21:01:02 +00001894"(" does not stop at an empty sentence (single dot and white space) while ")"
1895does. Also breaks "das" on that dot.
1896
1897When doing "yy" with the cursor on a TAB the ruler could be wrong and "k"
1898moved the cursor to another column.
1899
1900When 'commentstring' is '"%s' and there is a double quote in the line a double
1901quote before the fold marker isn't removed in the text displayed for a closed
1902fold.
1903
1904In Visual mode, when 'bin' and 'eol' set, g CTRL-G counted the last line
1905break, resulting in "selected 202 of 201 bytes".
1906
Bram Moolenaar2079a602005-01-04 21:43:22 +00001907Motif: fonts were not used for dialog components. (Marcin Dalecki)
Bram Moolenaar567e4de2004-12-31 21:01:02 +00001908
Bram Moolenaar49cd9572005-01-03 21:06:01 +00001909Motif: After using a toolbar button the keyboard focus would be on the toolbar
Bram Moolenaar2079a602005-01-04 21:43:22 +00001910(Lesstif problem). (Marcin Dalecki)
Bram Moolenaar49cd9572005-01-03 21:06:01 +00001911
Bram Moolenaar1c2fda22005-01-02 11:43:19 +00001912When using "y<C-V>`x" where mark x is in the first column, the last line was
1913not included.
1914
1915Not all test scripts work properly on MS-Windows when checked out from CVS.
1916Use a Vim command to fix all fileformats to dos before executing the tests.
1917
1918When using ":new" and the file fits in the window, lines could still be above
1919the window. Now remove empty lines instead of keeping the relative position.
1920
Bram Moolenaar3d60ec22005-01-05 22:19:46 +00001921Cmdline completion didn't work after ":let var1 var<Tab>".
1922
Bram Moolenaarb7d6e722005-01-09 21:22:45 +00001923When using ":startinsert" or ":startreplace" when already in Insert mode
1924(possible when using CTRL-R =), pressing Esc would directly restart Insert
1925mode. (Peter Winters)
1926
Bram Moolenaar31c67ef2005-01-11 21:34:41 +00001927"2daw" didn't work at end of file if the last word is a single character.
1928
Bram Moolenaar8c711452005-01-14 21:53:12 +00001929Completion for ":next a'<Tab>" put a backslash before single quote, but it was
1930not removed when editing a file. Now halve backslashes in save_patterns().
Bram Moolenaar798c5a72005-01-16 22:06:30 +00001931Also fix expanding a file name with the shell that contains "\'".
Bram Moolenaar8c711452005-01-14 21:53:12 +00001932
Bram Moolenaarb71ec9f2005-01-25 22:22:02 +00001933When doing "1,6d|put" only "fewer lines" was reported. Now a following "more
1934lines" overwrites the message.
1935
1936Configure could not handle "-Dfoo=long\ long" in the TCL config output.
1937
Bram Moolenaarb2956cd2005-01-27 14:42:53 +00001938When searching backwards, using a pattern that matches a newline and uses \zs
1939after that, didn't find a match. Could also get a hang or end up in the right
1940column in the wrong line.
1941
Bram Moolenaard438e912005-01-31 19:21:46 +00001942When $LANG is "sl" for slovenian, the slovak menu was used, since "slovak"
1943starts with "sl".
1944
1945When 'paste' is set in the GUI the Paste toolbar button doesn't work. Clear
1946'paste' when starting the GUI.
1947
Bram Moolenaarf5836682005-02-02 23:09:45 +00001948A message about a wrong viminfo line included the trailing NL.
1949
Bram Moolenaar2a8d1f82005-02-05 21:43:56 +00001950When 'paste' is set in the GUI the toolbar button doesn't work in Insert mode.
1951Use ":exe" in menu.vim to avoid duplicating the commands, instead of using a
1952mapping.
1953
1954Treat "mlterm" as an xterm-like terminal. (Seiichi Sato)
1955
1956":z.4" and ":z=4" didn't work Vi compatible.
1957
Bram Moolenaarbee0c5b2005-02-07 22:03:36 +00001958When sourcing a file, editing it and sourcing it again, it could appear twice
1959in ":scriptnames" and get a new <SID>, because the inode has changed.
1960
1961When $SHELL is set but empty the 'shell' option would be empty. Don't use an
1962empty $SHELL value.
1963
1964A command "w! file" in .vimrc or $EXINIT didn't work. Now it writes an empty
1965file.
1966
1967When a CTRL-F command at the end of the file failed, the cursor was still
1968moved to the start of the line. Now it remains where it is.
1969
1970When using ":s" or "&" to repeat the last substitute and "$" was used to put
1971the cursor in the last column, put the cursor in the last column again. This
1972is Vi compatible.
1973
Bram Moolenaar4399ef42005-02-12 14:29:27 +00001974Vim is not fully POSIX compliant but sticks with traditional Vi behavior.
1975Added a few flags in 'cpoptions' to behave the POSIX way when wanted. The
1976$VIM_POSIX environment variable is checked to set the default.
1977
1978Appending to a register didn't insert a line break like Vi. Added the '>'
1979flag to 'cpoptions' for this.
1980
1981Using "I" in a line with only blanks appended to the line. This is not Vi
1982compatible. Added the 'H' flag in 'coptions' for this.
1983
1984When joining multiple lines the cursor would be at the last joint, but Vi
1985leaves it at the position where "J" would put it. Added the 'q' flag in
1986'cpoptions' for this.
1987
1988Autoindent didn't work for ":insert" and ":append".
1989
1990Using ":append" in an empty buffer kept the dummy line. Now it's deleted to
1991be Vi compatible.
1992
1993When reading commands from a file and stdout goes to a terminal, would still
1994request the xterm version. Vim can't read it, thus the output went to the
1995shell and caused trouble there.
1996
Bram Moolenaar5313dcb2005-02-22 08:56:13 +00001997When redirecting to a register with an invalid name the redirection would
1998still be done (after an error message). Now reset "redir_reg". (Yegappan
1999Lakshmanan)
2000
2001It was not possible to use a NL after a backslash in Ex mode. This is
2002sometimes used to feed multiple lines to a shell command.
2003
Bram Moolenaar05159a02005-02-26 23:04:13 +00002004When 'cmdheight' is set to 2 in .vimrc and the GUI uses the number of lines
2005from the terminal we actually get 3 lines for the cmdline in gvim.
2006
2007When setting $HOME allocated memory would leak.
2008
Bram Moolenaar19a09a12005-03-04 23:39:37 +00002009Win32: bold characters may sometimes write in another character cell. Use
2010unicodepdy[] as for UTF-8. (Taro Muraoka)
2011
2012":w fname" didn't work for files with 'buftype' set to "nofile".
2013
Bram Moolenaare2ac10d2005-03-07 23:26:06 +00002014The method used to locate user commands for completion differed from when they
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00002015are executed. Ambiguous command names were not completed properly.
Bram Moolenaare2ac10d2005-03-07 23:26:06 +00002016
Bram Moolenaar9062a9d2005-03-08 22:46:26 +00002017Incremental search may cause a crash when there is a custom statusline that
2018indirectly invokes ":normal".
2019
2020Diff mode failed when $DIFF_OPTIONS was set in the environment. Unset it
2021before invoking "diff".
2022
Bram Moolenaar4ad237d2005-03-11 22:49:40 +00002023Completion didn't work after ":argdo", ":windo" and ":bufdo". Also for ":set
2024&l:opt" and ":set &g:opt". (Peter Winters)
2025
2026When setting 'ttymouse' to "dec" in an xterm that supports the DEC mouse
2027locator it doesn't work. Now switch off the mouse before selecting another
2028mouse model.
2029
Bram Moolenaarfb269802005-03-15 22:46:30 +00002030When the CursorHold event is triggered and the commands peek for typed
2031characters the typeahead buffer may be messed up, e.g., when a mouse-up event
2032is received. Avoid invoking the autocommands from the function waiting for a
2033character, let it put K_CURSORHOLD in the input buffer.
2034
2035Removed the "COUNT" flag from ":argadd", to avoid ":argadd 1*" to be used like
Bram Moolenaarc0761132005-03-18 20:30:32 +00002036":1argadd *". Same for ":argdelete" and ":argedit".
Bram Moolenaarfb269802005-03-15 22:46:30 +00002037
2038Avoid that $LANG is used for the menus when LC_MESSAGES is "en_US".
2039
Bram Moolenaarc0761132005-03-18 20:30:32 +00002040Added backslashes before dashes in the vim.1 manual page to make the appear as
2041real dashes. (Pierr Habouzit)
2042
2043Where "gq" left the cursor depended on the value of 'formatprg'. Now "gq"
2044always leaves the cursor at the last line of the formatted text.
2045
2046When editing a compressed file, such as "changelog.Debian.gz" file, filetype
2047detection may try to check the contents of the file while it's still
2048compressed. Skip setting 'filetype' for compressed files until they have been
2049decompressed. Required for patterns that end in a "*".
2050
2051Starting with an argument "+cmd" or "-S script" causes the cursor the be moved
2052to the first line. That breaks a BufReadPost autocommand that uses g`".
2053Don't move the cursor if it's somewhere past the first line.
2054
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00002055"gg=G" while 'modifiable' is off was uninterruptible.
Bram Moolenaarc0761132005-03-18 20:30:32 +00002056
Bram Moolenaar60c78922005-03-20 22:40:14 +00002057When 'encoding' is "sjis" inserting CTRL-V u d800 a few times causes a crash.
2058Don't insert a DBCS character with a NUL second byte.
2059
Bram Moolenaar2641f772005-03-25 21:58:17 +00002060In Insert mode CTRL-O <Home> didn't move the cursor. Made "ins_at_eol" global
2061and reset it in nv_home().
2062
Bram Moolenaarb982ca52005-03-28 21:02:15 +00002063Wildcard expansion failed: ":w /tmp/$$.`echo test`". Don't put quotes around
2064spaces inside backticks.
2065
Bram Moolenaar13fcaaf2005-04-15 21:13:42 +00002066After this sequence of commands: Y V p gv: the wrong line is selected. Now
2067let "gv" select the text that was put, since the original text is deleted.
2068This should be the most useful thing to do.
2069
2070":sleep 100u" sleeps for 100 seconds, not 100 usec as one might expect. Give
2071an error message when the argument isn't recognized.
2072
2073In gui_mch_draw_string() in gui_w32.c "unibuflen" wasn't static, resulting in
2074reallocating the buffer every time. (Alexei Alexandrov)
2075
Bram Moolenaar0e21a3f2005-04-17 20:28:32 +00002076When using a Python "atexit" function it was not invoked when Vim exits. Now
2077call Py_Finalize() for that. (Ugo Di Girolamo)
Bram Moolenaar9ba0eb82005-06-13 22:28:56 +00002078This breaks the thread stuff though, fixed by Ugo.
Bram Moolenaar0e21a3f2005-04-17 20:28:32 +00002079
Bram Moolenaardba8a912005-04-24 22:08:39 +00002080GTK GUI: using a .vimrc with "set cmdheight=2 lines=43" and ":split" right
2081after startup, the window layout is messed up. (Michael Schaap) Added
2082win_new_shellsize() call in gui_init() to fix the topframe size.
2083
2084Trick to get ...MOUSE_NM not used when there are vertical splits. Now pass
2085column -1 for the left most window and add MOUSE_COLOFF for others. Limits
2086mouse column to 10000.
2087
2088searchpair() may hang when the end pattern has "\zs" at the end. Check that
2089we find the same position again and advance one character.
2090
2091When in diff mode and making a change that causes the "changed" highlighting
2092to disappear or reappear, it was still highlighted in another window.
2093
Bram Moolenaar34cdc3e2005-05-18 22:24:46 +00002094When a ":next" command fails because the user selects "Abort" at the ATTENTION
2095prompt the argument index was advanced anyway.
2096
2097When "~" is in 'iskeyword' the "gd" doesn't work, it's used for the previous
2098substitute pattern. Put "\V" in the pattern to avoid that.
2099
Bram Moolenaar555b2802005-05-19 21:08:39 +00002100Use of sprintf() sometimes didn't check properly for buffer overflow. Also
2101when using smsg(). Included code for snprintf() to avoid having to do size
2102checks where invoking them
2103
Bram Moolenaarf4630b62005-05-20 21:31:17 +00002104":help \=<Tab>" didn't find "sub-replace-\=". Wild menu for help tags didn't
2105show backslashes. ":he :s\=" didn't work.
2106
2107When reading an errorfile "~/" in a file name was not expanded.
2108
2109GTK GUI: When adding a scrollbar (e.g. when using ":vsplit") in a script or
2110removing it the window size may change. GTK sends us resize events when we
2111change the window size ourselves, but they may come at an unexpected moment.
2112Peek for a character to get any window resize events and fix 'columns' and
2113'lines' to undo this.
2114
Bram Moolenaarb3656ed2006-03-20 21:59:49 +00002115When using the GTK plug mechanism, resizing and focus was not working
2116properly. (Neil Bird)
2117
Bram Moolenaar67fe1a12005-05-22 22:12:58 +00002118After deleting files from the argument list a session file generated with
2119":mksession" may contain invalid ":next" commands.
2120
2121When 'shortmess' is empty and 'keymap' set to accents, in Insert mode CTRL-N
2122may cause the hit-enter prompt. Typing 'a then didn't result in the accented
2123character. Put the character typed at the prompt back in the typeahead buffer
2124so that mapping is done in the right mode.
2125
Bram Moolenaarb2ec3072005-06-17 22:02:20 +00002126setbufvar() and setwinvar() did not give error messages.
2127
2128It was possible to set a variable with an illegal name, e.g. with setbufvar().
Bram Moolenaard857f0e2005-06-21 22:37:39 +00002129It was possible to define a function with illegal name, e.t. ":func F{-1}()"
2130
2131CTRL-W F and "gf" didn't use the same method to get the file name.
Bram Moolenaarb2ec3072005-06-17 22:02:20 +00002132
Bram Moolenaar42eeac32005-06-29 22:40:58 +00002133When reporting a conversion error the line number of the last error could be
2134given. Now report the first encountered error.
2135
2136When using ":e ++enc=name file" and iconv() was used for conversion an error
Bram Moolenaar63a121b2005-12-11 21:36:39 +00002137caused a fall-back to no conversion. Now replace a character with '?' and
Bram Moolenaar42eeac32005-06-29 22:40:58 +00002138continue.
2139
Bram Moolenaar51bab742005-07-08 22:31:03 +00002140When opening a new buffer the local value of 'bomb' was not initialized from
2141the global value.
2142
Bram Moolenaare759a7a2005-07-12 22:50:18 +00002143Win32: When using the "Edit with Vim" entry the file name was limited to about
2144200 characters.
2145
Bram Moolenaar342337a2005-07-21 21:11:17 +00002146When using command line completion for ":e *foo" and the file "+foo" exists
2147the resulting command ":e +foo" doesn't work. Now insert a backslash: ":e
2148\+foo".
2149
Bram Moolenaar87e25fd2005-07-27 21:13:01 +00002150When the translation of "-- More --" was not 10 characters long the following
2151message would be in the wrong position.
2152
2153At the more-prompt the last character in the last line wasn't drawn.
2154
2155When deleting non-existing text while 'virtualedit' is set the '[ and '] marks
2156were not set.
2157
Bram Moolenaar0be6e642005-08-04 21:32:22 +00002158Win32: Could not use "**/" in 'path', it had to be "**\".
2159
Bram Moolenaarae5bce12005-08-15 21:41:48 +00002160The search pattern "\n" did not match at the end of the last line.
2161
2162Searching for a pattern backwards, starting on the NUL at the end of the line
2163and 'encoding' is "utf-8" would match the pattern just before it incorrectly.
2164Affected searchpair('/\*', '', '\*/').
2165
Bram Moolenaar5b8d8fd2005-08-16 23:01:50 +00002166For the Find/Replace dialog it was possible that not finding the text resulted
2167in an error message while redrawing, which cleared the syntax highlighting
2168while it was being used, resulting in a crash. Now don't clear syntax
2169highlighting, disable it with b_syn_error.
2170
Bram Moolenaar6e7c7f32005-08-24 22:16:11 +00002171Win32: Combining UTF-8 characters were drawn on the previous character.
2172Could be noticed with a Thai font.
2173
Bram Moolenaarcafda4f2005-09-06 19:25:11 +00002174Output of ":function" could leave some of the typed text behind. (Yegappan
2175Lakshmanan)
2176
Bram Moolenaarcaa0fcf2005-09-07 21:21:14 +00002177When the command line history has only a few lines the command line window
2178would be opened with these lines above the first window line.
2179
2180When using a command line window for search strings ":qa" would result in
2181searching for "qa" instead of quitting all windows.
2182
Bram Moolenaardcca87b2005-09-10 19:24:59 +00002183GUI: When scrolling with the scrollbar and there is a line that doesn't fit
2184redrawing may fail. Make sure w_skipcol is valid before redrawing.
2185
Bram Moolenaar482aaeb2005-09-29 18:26:07 +00002186Limit the values of 'columns' and 'lines' to avoid an overflow in Rows *
2187Columns. Fixed bad effects when running out of memory (command line would be
2188reversed, ":qa!" resulted in ":!aq").
2189
Bram Moolenaara5792f52005-11-23 21:25:05 +00002190Motif: "gvim -iconic" opened the window anyway. (David Harrison)
2191
2192There is a tiny chance that a symlink gets created between checking for an
2193existing file and creating a file. Use the O_NOFOLLOW for open() if it's
2194available.
2195
2196In an empty line "ix<CTRL-O>0" moved the cursor to after the line instead of
2197sticking to the first column.
2198
Bram Moolenaar943d2b52005-12-02 00:50:49 +00002199When using ":wq" and a BufWriteCmd autocmd uses inputsecret() the text was
2200echoed anyway. Set terminal to raw mode in getcmdline().
2201
Bram Moolenaard5bc83f2005-12-07 21:07:59 +00002202Unix: ":w a;b~c" caused an error in expanding wildcards.
2203
Bram Moolenaar63a121b2005-12-11 21:36:39 +00002204When appending to a file with ":w >>fname" in a buffer without a name, causing
2205the buffer to use "fname", the modified flag was reset.
2206
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00002207When appending to the current file the "not edited" flag would be reset.
Bram Moolenaar63a121b2005-12-11 21:36:39 +00002208":w" would overwrite the file accidentally.
2209
Bram Moolenaar900b4d72005-12-12 22:05:50 +00002210Unix: When filtering text with an external command Vim would still read input,
2211causing text typed for the command (e.g., a password) to be eaten and echoed.
2212Don't read input when the terminal is in cooked mode.
2213
Bram Moolenaar146522e2005-12-16 21:55:46 +00002214The Cygwin version of xxd used CR/LF line separators. (Corinna Vinschen)
2215
2216Unix: When filtering text through a shell command some resulting text may be
2217dropped. Now after detecting that the child has exited try reading some more
2218of its output.
2219
Bram Moolenaar3b181812005-12-17 22:10:02 +00002220When inside input(), using "CTRL-R =" and the expression throws an exception
2221the command line was not abandoned but it wasn't used either. Now abandon
2222typing the command line.
2223
Bram Moolenaare3226be2005-12-18 22:10:00 +00002224'delcombine' was also used in Visual and Select mode and for commands like
2225"cl". That was illogical and has been disabled.
2226
2227When recording while a CursorHold autocommand was defined special keys would
2228appear in the register. Now the CursorHold event is not triggered while
2229recording.
2230
Bram Moolenaarf4cd3e82005-12-22 22:47:02 +00002231Unix: the src/configure script used ${srcdir-.}, not all shells understand
2232that. Use ${srcdir:-.} instead.
2233
Bram Moolenaarcc984262005-12-23 22:19:46 +00002234When editing file "a" which is a symlink to file "b" that doesn't exist,
2235writing file "a" to create "b" and then ":split b" resulted in two buffers on
2236the same file with two different swapfile names. Now set the inode in the
2237buffer when creating a new file.
2238
Bram Moolenaarebefac62005-12-28 22:39:57 +00002239When 'esckeys' is not set don't send the xterm code to request the version
2240string, because it may cause trouble in Insert mode.
2241
2242When evaluating an expression for CTRL-R = on the command line it was possible
Bram Moolenaar8ada17c2006-01-19 22:16:24 +00002243to call a function that opens a new window, resulting in errors for
Bram Moolenaarb71eaae2006-01-20 23:10:18 +00002244incremental search, and many other nasty things were possible. Now use the
2245|textlock| to disallow changing the buffer or jumping to another window
Bram Moolenaar4770d092006-01-12 23:22:24 +00002246to protect from unexpected behavior. Same for CTRL-\ e.
Bram Moolenaarebefac62005-12-28 22:39:57 +00002247
2248"d(" deleted the character under the cursor, while the documentation specified
2249an exclusive motion. Vi also doesn't delete the character under the cursor.
2250
2251Shift-Insert in Insert mode could put the cursor before the last character
2252when it just fits in the window. In coladvance() don't stop at the window
2253edge when filling with spaces and when in Insert mode. In mswin.vim avoid
2254getting a beep from the "l" command.
2255
Bram Moolenaar4770d092006-01-12 23:22:24 +00002256Win32 GUI: When Alt-F4 is used to close the window and Cancel is selected in
2257the dialog then Vim would insert <M-F4> in the text. Now it's ignored.
2258
2259When ":silent! {cmd}" caused the swap file dialog, which isn't displayed,
2260there would still be a hit-enter prompt.
2261
Bram Moolenaara40ceaf2006-01-13 22:35:40 +00002262Requesting the termresponse (|t_RV|) early may cause problems with "-c"
2263arguments that invoke an external command or even "-c quit". Postpone it
2264until after executing "-c" arguments.
2265
2266When typing in Insert mode so that a new line is started, using CTRL-G u to
2267break undo and start a new change, then joining the lines with <BS> caused
2268undo info to be missing. Now reset the insertion start point.
2269
2270Syntax HL: When a region start match has a matchgroup and an offset that
2271happens to be after the end of the line then it continued in the next line and
2272stopped at the region end match, making the region continue after that.
2273Now check for the column being past the end of the line in syn_add_end_off().
2274
Bram Moolenaarc32840f2006-01-14 21:23:38 +00002275When changing a file, setting 'swapfile' off and then on again, making another
2276change and killing Vim, then some blocks may be missing from the swapfile.
2277When 'swapfile' is switched back on mark all blocks in the swapfile as dirty.
2278Added mf_set_dirty().
2279
2280Expanding wildcards in a command like ":e aap;<>!" didn't work. Put
2281backslashes before characters that are special to the shell. (Adri Verhoef)
2282
Bram Moolenaar8ada17c2006-01-19 22:16:24 +00002283A CursorHold autocommand would cause a message to be cleared. Don't show the
2284special key for the event for 'showcmd'.
2285
2286When expanding a file name for a shell command, as in "!cmd foo<Tab>" or ":r
2287!cmd foo<Tab>" also escape characters that are special for the shell:
2288"!;&()<>".
2289
Bram Moolenaarb71eaae2006-01-20 23:10:18 +00002290When the name of the buffer was set by a ":r fname" command |cpo-f| no
2291autocommands were triggered to notify about the change in the buffer list.
2292
2293In the quickfix buffer 'bufhidden' was set to "delete", which caused closing
2294the quickfix window to leave an unlisted "No Name" buffer behind every time.
2295
Bram Moolenaar0ac93792006-01-21 22:16:51 +00002296Win32: when using two screens of different size, setting 'lines' to a large
2297value didn't fill the whole screen. (SungHyun Nam)
2298
Bram Moolenaar33aec762006-01-22 23:30:12 +00002299Win32 installer: The generated _vimrc contained an absolute path to diff.exe.
2300After upgrading it becomes invalid. Now use $VIMRUNTIME instead.
2301
Bram Moolenaard12f5c12006-01-25 22:10:52 +00002302The command line was cleared to often when 'showmode' was set and ":silent
2303normal vy" was used. Don't clear the command line unless the mode was
2304actually displayed. Added the "mode_displayed" variable.
2305
Bram Moolenaar280f1262006-01-30 00:14:18 +00002306The "load session" toolbar item could not handle a space or other special
2307characters in v:this_session.
2308
2309":set sta ts=8 sw=4 sts=2" deleted 4 spaces halfway a line instead of 2.
2310
Bram Moolenaar1ef15e32006-02-01 21:56:25 +00002311In a multi-byte file the foldmarker could be recognized in the trail byte.
2312(Taro Muraoka)
2313
Bram Moolenaar0e5bd962006-02-04 00:59:56 +00002314Pasting with CTRL-V and menu didn't work properly when some commands are
2315mapped. Use ":normal!" instead of ":normal". (Tony Apuzzo)
2316
2317Crashed when expanding a file name argument in backticks.
2318
Bram Moolenaarf52c7252006-02-10 23:23:57 +00002319In some situations the menu and scrollbar didn't work, when the value contains
2320a CSI byte. (Yukihiro Nakadaira)
2321
Bram Moolenaar1d2ba7f2006-02-14 22:29:30 +00002322GTK GUI: When drawing the balloon focus changes and we might get a key release
2323event that removed the balloon again. Ignore the key release event.
2324
2325'titleold' was included in ":mkexrc" and ":mksession" files.
2326
Bram Moolenaarf740b292006-02-16 22:11:02 +00002327":set background&" didn't use the same logic as was used when starting up.
2328
Bram Moolenaar997fb4b2006-02-17 21:53:23 +00002329When "umask" is set such that nothing is writable then the viminfo file would
2330be written without write permission. (Julian Bridle)
2331
Bram Moolenaar7e8fd632006-02-18 22:14:51 +00002332Motif: In diff mode dragging one scrollbar didn't update the scrollbar of the
2333other diff'ed window.
2334
Bram Moolenaar238a5642006-02-21 22:12:05 +00002335When editing in an xterm with a different number of colors than expected the
2336screen would be cleared and redrawn, causing the message about the edited file
2337to be cleared. Now set "keep_msg" to redraw the last message.
2338
Bram Moolenaard1f56e62006-02-22 21:25:37 +00002339For a color terminal: When the Normal HL uses bold, possibly to make the color
2340lighter, and another HL group specifies a color it might become light as well.
2341Now reset bold if a HL group doesn't specify bold itself.
2342
Bram Moolenaar32466aa2006-02-24 23:53:04 +00002343When using 256 color xterm the color 255 would show up as color 0. Use a
2344short instead of a char to store the color number.
2345
2346ml_get errors when searching for "\n\zs" in an empty file.
2347
Bram Moolenaara5621492006-02-25 21:55:24 +00002348When selecting a block and using "$" to select until the end of every line and
2349not highlighting the character under the cursor the first character of the
2350block could be unhighlighted.
2351
2352When counting words for the Visual block area and using "$" to select until
2353the end of every line only up to the length of the last line was counted.
2354
Bram Moolenaareddf53b2006-02-27 00:11:10 +00002355"dip" in trailing empty lines left one empty line behind.
2356
Bram Moolenaar5e3cb7e2006-02-27 23:58:35 +00002357The script ID was only remembered globally for each option. When a buffer- or
2358window-local option was set the same "last set" location was changed for all
2359buffers and windows. Now remember the script ID for each local option
2360separately.
2361
2362GUI: The "Replace All" button didn't handle backslashes in the replacement in
2363the same way as "Replace". Escape backslashes so that they are taken
2364literally.
2365
Bram Moolenaare224ffa2006-03-01 00:01:28 +00002366When using Select mode from Insert mode and typing a key, causing lines to be
2367deleted and a message displayed, delayed the effect of inserting the key.
2368Now overwrite the message without delay.
Bram Moolenaar5e3cb7e2006-02-27 23:58:35 +00002369
Bram Moolenaar362e1a32006-03-06 23:29:24 +00002370When 'whichwrap' includes "l" then "dl" and "yl" on a single letter line
2371worked differently. Now recognize all operators when using "l" at the end of
2372a line.
2373
2374GTK GUI: when the font selector returned a font name with a comma in it then
2375it would be handled like two font names. Now put a backslash before the
2376comma.
2377
2378MS-DOS, Win32: When 'encoding' defaults to "latin1" then the value for
2379'iskeyword' was still for CPxxx. And when 'nocompatible' was set 'isprint'
2380would also be the wrong value.
2381
Bram Moolenaar1f35bf92006-03-07 22:38:47 +00002382When a command was defined not to take arguments and no '|' no warning message
2383would be given for using a '|'. Also with ":loadkeymap".
2384
Bram Moolenaara3227e22006-03-08 21:32:40 +00002385Motif: When using a fontset and 'encoding' is "utf-8" and sizeof(wchar_t) !=
2386sizeof(XChar2b) then display was wrong. (Yukihiro Nakadaira)
2387
Bram Moolenaareb94e552006-03-11 21:35:11 +00002388":all" always set the current window to the first window, even when it
2389contains a buffer that is not in the argument list (can't be closed because it
2390is modified). Now go to the window that has the first item of the argument
2391list.
2392
Bram Moolenaar17be7e62006-03-12 22:13:45 +00002393GUI: To avoid left-over pixels from bold text all characters after a character
2394with special attributes were redrawn. Now only do this for characters that
2395actually are bold. Speeds up displaying considerably.
2396
2397When only highlighting changes and the text is scrolled at the same time
Bram Moolenaarbaca7f72013-09-22 14:42:24 +02002398everything is redrawn instead of using a scroll and updating the changed text.
Bram Moolenaar17be7e62006-03-12 22:13:45 +00002399E.g., when using ":match" to highlight a paren that the cursor landed on.
2400Added SOME_VALID: Redraw the whole window but also try to scroll to minimize
2401redrawing.
2402
Bram Moolenaarca003e12006-03-17 23:19:38 +00002403Win32: When using Korean IME making it active didn't work properly. (Moon,
2404Yu-sung, 2005 March 21)
2405
Bram Moolenaar97b2ad32006-03-18 21:40:56 +00002406Ruby interface: when inserting/deleting lines display wasn't updated. (Ryan
2407Paul)
Bram Moolenaarca003e12006-03-17 23:19:38 +00002408
Bram Moolenaar910f66f2006-04-05 20:41:53 +00002409--- fixes since Vim 7.0b ---
Bram Moolenaarbd404142006-03-25 22:05:04 +00002410
2411Getting the GCC version in configure didn't work with Solaris sed. First
2412strip any "darwin." and then get the version number.
2413
2414The "autoload" directory was missing from the self-installing executable for
2415MS-Windows.
2416
2417The MS-Windows install program would find "vimtutor.bat" in the install
2418directory. After changing to "c:" also change to "\" to avoid looking in the
2419install directory.
2420
2421To make the 16 bit DOS version compile exclude not used highlight
2422initializations and build a tiny instead of small version.
2423
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00002424finddir() and findfile() accept a negative count and return a List then.
Bram Moolenaar899dddf2006-03-26 21:06:50 +00002425
2426The Python indent file contained a few debugging statements, removed.
2427
2428Expanding {} for a function name, resulting in a name starting with "s:" was
2429not handled correctly.
2430
2431Spelling: renamed COMPOUNDMAX to COMPOUNDWORDMAX. Added several items to be
2432able to handle the new Hungarian dictionary.
2433
2434Mac: Default to building for the current platform only, that is much faster
2435than building a universal binary. Also, using Perl/Python/etc. only works for
2436the current platform.
2437
Bram Moolenaar3991dab2006-03-27 17:01:56 +00002438The time on undo messages disappeared for someone. Using %T for strftime()
2439apparently doesn't work everywhere. Use %H:%M:%S instead.
2440
2441Typing BS at the "z=" prompt removed the prompt.
Bram Moolenaar899dddf2006-03-26 21:06:50 +00002442
Bram Moolenaar779b74b2006-04-10 14:55:34 +00002443--- fixes and changes since Vim 7.0c ---
Bram Moolenaar04a9d452006-03-27 21:03:26 +00002444
2445When jumping to another tab page the Vim window size was always set, even when
2446nothing in the layout changed.
2447
2448Win32 GUI tab pages line wasn't always enabled. Do a proper check for the
2449compiler version.
2450
2451Win32: When switching between tab pages the Vim window was moved when part of
2452it was outside of the screen. Now only do that in the direction of a size
2453change.
2454
2455Win32: added menu to GUI tab pages line. (Yegappan Lakshmanan)
2456
Bram Moolenaard2cec5b2006-03-28 21:08:56 +00002457Mac: Added document icons. (Benji Fisher)
2458
2459Insert mode completion: Using Enter to accept the current match causes
2460confusion. Use CTRL-Y instead. Also, use CTRL-E to go back to the typed
2461text.
2462
Bram Moolenaarb2a460d2007-05-12 15:16:37 +00002463GUI: When there are left and right scrollbars, ":tabedit" kept them instead of
Bram Moolenaard2cec5b2006-03-28 21:08:56 +00002464using the one that isn't needed.
Bram Moolenaar04a9d452006-03-27 21:03:26 +00002465
Bram Moolenaare2f98b92006-03-29 21:18:24 +00002466Using "gP" to replace al the text could leave the cursor below the last line,
2467causing ml_get errors.
2468
2469When 'cursorline' is set don't use the highlighting when Visual mode is
2470active, otherwise it's difficult to see the selected area.
2471
2472The matchparen plugin restricts the search to 100 lines, to avoid a long delay
2473when there are closed folds.
2474
2475Sometimes using CTRL-X s to list spelling suggestions used text from another
2476line.
2477
2478Win32: Set the default for 'isprint' back to the wrong default "@,~-255",
2479because many people use Windows-1252 while 'encoding' is "latin1".
2480
Bram Moolenaar910f66f2006-04-05 20:41:53 +00002481GTK: Added a workaround for gvim crashing when used over an untrusted ssh
2482link, caused by GTK doing something nasty. (Ed Catmur)
2483
2484Win32: The font used for the tab page labels is too big. Use the system menu
2485font. (George Reilly)
2486
2487Win32: Adjusting the window position and size to keep it on the screen didn't
2488work properly when the taskbar is on the left or top of the screen.
2489
2490The installman.sh and installml.sh scripts use ${10}, that didn't work with
2491old shells. And use "test -f" instead of "test -e".
2492
2493Win32: When 'encoding' was set in the vimrc then a directory argument for diff
2494mode didn't work.
2495
2496GUI: at the inputlist() prompt the cursorshape was adjusted as if the windows
2497were still at their old position.
2498
2499The parenmatch plugin didn't remember the highlighting per window.
2500
2501Using ":bd" for a buffer that's the current window in another tab page caused
2502a crash.
2503
2504For a new tab page the 'scroll' option wasn't set to a good default.
2505
2506Using an end offset for a search "/pat/e" didn't work properly for multi-byte
2507text. (Yukihiro Nakadaira)
2508
2509":s/\n/,/" doubled the text when used on the last line.
2510
2511When "search" is in 'foldopen' "[s" and "]s" now open folds.
2512
2513When using a numbered function "dict" can be omitted, but "self" didn't work
2514then. Always add FC_DICT to the function flags when it's part of a
2515dictionary.
2516
2517When "--remote-tab" executes locally it left an empty tab page.
2518
2519"gvim -u NONE", ":set cursorcolumn", "C" in the second line didn't update
2520text. Do update further lines even though the "$" is displayed.
2521
2522VMS: Support GTK better, also enable +clientserver. (Zoltan Arpadffy)
2523
2524When highlighting of statusline or tabline is changed there was no redraw to
2525show the effect.
2526
2527Mac: Added "CFBundleIdentifier" to infplist.xml.
2528
2529Added tabpage-local variables t:var.
2530
2531Win32: Added double-click in tab pages line creates new tab. (Yegappan
2532Lakshmanan)
2533
2534Motif: Added GUI tab pages line. (Yegappan Lakshmanan)
2535
2536Fixed crash when 'lines' was set to 1000 in a modeline.
2537
2538When init_spellfile() finds a writable directory in 'runtimepath' but it
2539doesn't contain a "spell" directory, create one.
2540
2541Win32: executable() also finds "xxd" in the directory where Vim was started,
2542but "!xxd" doesn't work. Append the Vim starting directory to $PATH.
2543
2544The tab page labels are shortened, directory names are reduced to a single
2545letter by default. Added the pathshorten() function to allow a user to do the
2546same.
2547
2548":saveas" now resets 'readonly' if the file was successfully written.
2549
2550Set $MYVIMRC file to the first found .vimrc file.
2551Set $MYGVIMRC file to the first found .gvimrc file.
2552Added menu item "Startup Settings" that edits the $MYVIMRC file
2553
2554Added matcharg().
2555
2556Error message E745 appeared twice. Renamed one to E786.
2557
2558Fixed crash when using "au BufRead * Sexplore" and doing ":help". Was wiping
2559out a buffer that's still in a window.
2560
2561":hardcopy" resulted in an error message when 'encoding' is "utf-8" and
2562'printencoding' is empty. Now it assumes latin1. (Mike Williams)
2563
2564The check for the toolbar feature for Motif, depending on certain included
2565files, wasn't detailed enough, causing building to fail in gui_xmebw.c.
2566
2567Using CTRL-E in Insert mode completion after CTRL-P inserted the first match
2568instead of the original text.
2569
2570When displaying a UTF-8 character with a zero lower byte Vim might think the
2571previous character is double-wide.
2572
2573The "nbsp" item of 'listchars' didn't work when 'encoding' was utf-8.
2574
2575Motif: when Xm/xpm.h is missing gui_xmebw.c would not compile.
2576HAVE_XM_UNHIGHLIGHTT_H was missing a T.
2577
2578Mac: Moved the .icns files into src/os_mac_rsrc, so that they can all be
2579copied at once. Adjusted the Info.plist file for three icons.
2580
2581When Visual mode is active while switching to another tabpage could get ml_get
2582errors.
2583
2584When 'list' is set, 'nowrap' the $ in the first column caused 'cursorcolumn'
2585to move to the right.
2586
2587When a line wraps, 'cursorcolumn' was never displayed past the end of the
2588line.
2589
Bram Moolenaar7b89edc2006-04-06 20:21:51 +00002590'autochdir' was only available when compiled with NetBeans and GUI. Now it's
2591a separate feature, also available in the "big" version.
2592
2593Added CTRL-W gf: open file under cursor in new tab page.
2594
2595When using the menu in the tab pages line, "New Tab" opens the new tab before
2596where the click was. Beyond the labels the new tab appears at the end instead
2597of after the current tab page.
2598
Bram Moolenaar61660ea2006-04-07 21:40:07 +00002599Inside a mapping with an expression getchar() could not be used.
2600
2601When vgetc is used recursively vgetc_busy protects it from being used
2602recursively. But after a ":normal" command the protection was reset.
2603
2604":s/a/b/n" didn't work when 'modifiable' was off.
2605
2606When $VIMRUNTIME includes a multi-byte character then rgb.txt could not be
2607found. (Yukihiro Nakadaira)
2608
2609":mkspell" didn't work correctly for non-ASCII affix flags when conversion is
2610needed on the spell file.
2611
2612glob('/dir/\$ABC/*') didn't work.
2613
Bram Moolenaarc6fe9192006-04-09 21:54:49 +00002614When using several tab pages and changing 'cmdheight' the display could become
2615messed up. Now store the value of 'cmdheight' separately for each tab page.
2616
Bram Moolenaar779b74b2006-04-10 14:55:34 +00002617The user of the Enter key while the popup menu is visible was still confusing.
2618Now use Enter to select the match after using a cursor key.
2619
2620Added "usetab" to 'switchbuf'.
2621
Bram Moolenaar4c3f5362006-04-11 21:38:50 +00002622
2623--- fixes and changes since Vim 7.0d ---
2624
2625Added CTRL-W T: move a window to a new tab page.
2626
2627Using CTRL-X s in Insert mode to complete spelling suggestions and using BS
2628deleted characters before the bad word.
2629
2630A few small fixes for the VMS makefile. (Zoltan Arpadffy)
2631
2632With a window of 91 lines 45 cols, ":vsp" scrolled the window. Copy w_wrow
2633when splitting a window and skip setting the height when it's already at the
2634right value.
2635
2636Using <silent> in a mapping with a shell command and the GUI caused redraw
2637to use wrong attributes.
2638
2639Win32: Using MSVC 4.1 for install.exe resulted in the start menu items to be
2640created in the administrator directory instead of "All Users". Define the
2641CSIDL_ items if they are missing.
2642
Bram Moolenaar18144c82006-04-12 21:52:12 +00002643Motif: The GUI tabline did not use the space above the right scrollbar. Work
2644around a bug in the Motif library. (Yegappan Lakshmanan)
2645
2646The extra files for XML Omni completion are now also installed.
2647|xml-omni-datafile|
2648
2649GTK GUI: when 'm' is missing from 'guioptions' during startup and pressing
2650<F10> GTK produced error messages. Now do create the menu but disable it just
2651after the first gui_mch_update().
2652
2653":mkspell" doesn't work well with the Hungarian dictionary from the Hunspell
2654project. Back to the Myspell dictionary.
2655
2656In help files hide the | used around tags.
2657
2658Renamed pycomplete to pythoncomplete.
2659
2660Added "tabpages" to 'sessionoptions'.
2661
2662When 'guitablabel' is set the effect wasn't visible right away.
2663
2664Fixed a few 'cindent' errors.
2665
Bram Moolenaar7fc904b2006-04-13 20:37:35 +00002666When completing menu names, e.g., after ":emenu", don't sort the entries but
2667keep them in the original order.
2668
2669Fixed a crash when editing a directory in diff mode. Don't trigger
2670autocommands when executing the diff command.
2671
2672Getting a keystroke could get stuck if 'encoding' is a multi-byte encoding and
2673typing a special key.
2674
2675When 'foldignore' is set the folds were not updated right away.
Bram Moolenaar4c3f5362006-04-11 21:38:50 +00002676
Bram Moolenaar9e54a0e2006-04-14 20:42:25 +00002677When a list is indexed with [a : b] and b was greater than the length an error
Bram Moolenaarb21e5842006-04-16 18:30:08 +00002678message was given. Now silently truncate the result.
Bram Moolenaar9e54a0e2006-04-14 20:42:25 +00002679
2680When using BS during Insert mode completion go back to the original text, so
2681that CTRL-N selects the first matching entry.
2682
Bram Moolenaarb21e5842006-04-16 18:30:08 +00002683Added the 'M' flag to 'cinoptions'.
Bram Moolenaar9e54a0e2006-04-14 20:42:25 +00002684
2685Win32: Make the "gvim --help" window appear in the middle of the screen
2686instead of at an arbitrary position. (Randall W. Morris)
2687
Bram Moolenaar8cacf352006-04-15 20:27:24 +00002688Added gettabwinvar() and settabwinvar().
2689
2690Command line completion: pressing <Tab> after ":e /usr/*" expands the whole
2691tree, because it becomes ":e /usr/**". Don't add a star if there already is
2692one.
2693
Bram Moolenaarb21e5842006-04-16 18:30:08 +00002694Added grey10 to grey90 to all GUIs, so that they can all be used for
2695initializing highlighting. Use grey40 for CursorColumn and CursorLine when
2696'background' is "dark".
2697
2698When reading a file and using iconv for conversion, an incomplete byte
2699sequence at the end caused problems. (Yukihiro Nakadaira)
2700
2701
2702--- fixes and changes since Vim 7.0e ---
2703
2704Default color for MatchParen when 'background' is "dark" is now DarkCyan.
2705
2706":syn off" had to be used twice in a file that sets 'syntax' in a modeline.
2707(Michael Geddes)
2708
2709When using ":vsp" or ":sp" the available space wasn't used equally between
2710windows. (Servatius Brandt)
2711
Bram Moolenaara93fa7e2006-04-17 22:14:47 +00002712Expanding <cWORD> on a trailing blank resulted in the first word in the line
2713if 'encoding' is a multi-byte encoding.
2714
2715Spell checking: spellbadword() didn't see a missing capital in the first word
2716of a line. Popup menu now only suggest the capitalized word when appropriate.
2717
Bram Moolenaarf9393ef2006-04-24 19:47:27 +00002718When using whole line completion CTRL-L moves through the matches but it
Bram Moolenaarc1e37902006-04-18 21:55:01 +00002719didn't work when at the original text.
2720
2721When completion finds the longest match, don't go to the first match but stick
2722at the original text, so that CTRL-N selects the first one.
2723
2724Recognize "zsh-beta" like "zsh" for setting the 'shellpipe' default. (James
2725Vega)
2726
2727When using ":map <expr>" and the expression results in something with a
2728special byte (NUL or CSI) then it didn't work properly. Now escape special
2729bytes.
2730
2731The default Visual highlighting for a color xterm with 8 colors was a magenta
2732background, which made magenta text disappear. Now use reverse in this
2733specific situation.
2734
2735After completing the longest match "." didn't insert the same text. Repeating
2736also didn't work correctly for multi-byte text.
2737
2738When using Insert mode completion and BS the whole word that was completed
2739would result in all possible matches. Now stop completion. Also fixes that
2740for spell completion the previous word was deleted.
2741
2742GTK: When 'encoding' is "latin1" and using non-ASCII characters in a file name
2743the tab page label was wrong and an error message would be given.
2744
2745The taglist() function could hang on a tags line with a non-ASCII character.
2746
Bram Moolenaar8424a622006-04-19 21:23:36 +00002747Win32: When 'encoding' differs from the system encoding tab page labels with
2748non-ASCII characters looked wrong. (Yegappan Lakshmanan)
2749
Bram Moolenaarfc1421e2006-04-20 22:17:20 +00002750Motif: building failed when Xm/Notebook.h doesn't exist. Added a configure
2751check, disable GUI tabline when it's missing.
2752
2753Mac: When compiled without multi-byte feature the clipboard didn't work.
2754
2755It was possible to switch to another tab page when the cmdline window is open.
2756
2757Completion could hang when 'lines' is 6 and a preview window was opened.
2758
Bram Moolenaar57657d82006-04-21 22:12:41 +00002759Added CTRL-W gF: open file under cursor in new tab page and jump to the line
2760number following the file name.
Bram Moolenaareb3593b2006-04-22 22:33:57 +00002761Added 'guitabtooltip'. Implemented for Win32 (Yegappan Lakshmanan).
Bram Moolenaar57657d82006-04-21 22:12:41 +00002762
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00002763Added "throw" to 'debug' option: throw an exception for error messages even
Bram Moolenaar57657d82006-04-21 22:12:41 +00002764whey they would otherwise be ignored.
2765
2766When 'keymap' is set and a line contains an invalid entry could get a "No
2767mapping found" warning instead of a proper error message.
2768
2769Motif: default to using XpmAttributes instead of XpmAttributes_21.
2770
Bram Moolenaareb3593b2006-04-22 22:33:57 +00002771A few more changes for 64 bit MS-Windows. (George Reilly)
2772
2773Got ml_get errors when doing "o" and selecting in other window where there are
Bram Moolenaarfcb7ab62010-07-20 11:16:17 +02002774less lines shorter than the cursor position in the other window. ins_mouse()
Bram Moolenaareb3593b2006-04-22 22:33:57 +00002775was using position in wrong window.
2776
2777Win32 GUI: Crash when giving a lot of messages during startup. Allocate twice
2778as much memory for the dialog template.
2779
2780Fixed a few leaks and wrong pointer use reported by coverity.
2781
2782When showing menus the mode character was sometimes wrong.
Bram Moolenaarfc1421e2006-04-20 22:17:20 +00002783
Bram Moolenaarf9393ef2006-04-24 19:47:27 +00002784Added feedkeys(). (Yakov Lerner)
2785
2786Made matchlist() always return all submatches.
2787
2788Moved triggering QuickFixCmdPost to before jumping to the first location.
2789
2790Mac: Added the 'macatsui' option as a temporary work around for text drawing
2791problems.
2792
2793Line completion on "/**" gave error messages when scanning an unloaded buffer.
Bram Moolenaar4a85b412006-04-23 22:40:29 +00002794
Bram Moolenaar551dbcc2006-04-25 22:13:59 +00002795--- fixes and changes since Vim 7.0f ---
2796
2797Win32: The height of the tab page labels is now adjusted to the font height.
2798(Yegappan Lakshmanan)
2799
2800Win32: selecting the tab label was off by one. (Yegappan Lakshmanan)
Bram Moolenaar4a85b412006-04-23 22:40:29 +00002801
Bram Moolenaar437df8f2006-04-27 21:47:44 +00002802Added tooltips for Motif and GTK tab page labels. (Yegappan Lakshmanan)
Bram Moolenaarf193fff2006-04-27 00:02:13 +00002803
2804When 'encoding' is "utf-8" then ":help spell" would report an illegal byte and
2805the file was not converted from latin1 to utf-8. Now retry with latin1 if
2806reading the file as utf-8 results in illegal bytes.
2807
Bram Moolenaarc93b83a2006-04-29 22:02:36 +00002808Escape the argument of feedkeys() before putting it in the typeahead buffer.
Bram Moolenaarf193fff2006-04-27 00:02:13 +00002809(Yukihiro Nakadaira)
2810
Bram Moolenaarc93b83a2006-04-29 22:02:36 +00002811Added the v:char variable for evaluating 'formatexpr'. (Yukihiro Nakadaira)
Bram Moolenaarf193fff2006-04-27 00:02:13 +00002812
2813With 8 colors Search highlighting combined with Statement highlighted text
2814made the text disappear.
2815
2816VMS: avoid warnings for redefining MAX and MIN. (Zoltan Arpadffy)
2817
2818When 'virtualedit' includes "onemore", stopping Visual selection would still
2819move the cursor left.
2820
2821Prevent that using CTRL-R = in Insert mode can start Visual mode.
2822
Bram Moolenaar49325942007-05-10 19:19:59 +00002823Fixed a crash that occurred when in Insert mode with completion active and a
Bram Moolenaarf193fff2006-04-27 00:02:13 +00002824mapping caused edit() to be called recursively.
2825
2826When using CTRL-O in Insert mode just after the last character while
2827'virtualedit' is "all", then typing CR moved the last character to the next
2828line. Call coladvance() before starting the new line.
2829
Bram Moolenaarc93b83a2006-04-29 22:02:36 +00002830When using |:shell| ignore clicks on the tab page labels. Also when using the
2831command line window.
Bram Moolenaarf193fff2006-04-27 00:02:13 +00002832
Bram Moolenaarc93b83a2006-04-29 22:02:36 +00002833When 'eventignore' is "all" then adding more to ignoring some events, e.g.,
2834for ":vimgrep", would actually trigger more events.
Bram Moolenaarf193fff2006-04-27 00:02:13 +00002835
2836Win32: When a running Vim uses server name GVIM1 then "gvim --remote fname"
Bram Moolenaarc93b83a2006-04-29 22:02:36 +00002837didn't find it. When looking for a server name that doesn't end in a digit
2838and it is not found then use another server with that name and a number (just
2839like on Unix).
Bram Moolenaarf193fff2006-04-27 00:02:13 +00002840
2841When using "double" in 'spellsuggest' when the language doesn't support sound
2842folding resulted in too many suggestions.
2843
Bram Moolenaarb2a460d2007-05-12 15:16:37 +00002844Win32: Dropping a shortcut on the Vim icon didn't edit the referred file like
Bram Moolenaarf193fff2006-04-27 00:02:13 +00002845editing it in another way would. Use fname_expand() in buf_set_name() instead
2846of simply make the file name a full path.
2847
Bram Moolenaar437df8f2006-04-27 21:47:44 +00002848Using feedkeys() could cause Vim to hang.
2849
2850When closing another tab page from the tabline menu in Insert mode the tabline
2851was not updated right away.
2852
2853The syntax menu didn't work in compatible mode.
2854
Bram Moolenaarc93b83a2006-04-29 22:02:36 +00002855After using ":tag id" twice with the same "id", ":ts" and then ":pop" a ":ts"
Bram Moolenaar437df8f2006-04-27 21:47:44 +00002856reported no matching tag. Clear the cached tag name.
2857
2858In Insert mode the matchparen plugin highlighted the wrong paren when there is
2859a string just next to a paren.
2860
Bram Moolenaar8ea91232006-04-28 22:41:43 +00002861GTK: After opening a new tab page the text was sometimes not drawn correctly.
2862Flush output and catch up with events when updating the tab page labels.
2863
Bram Moolenaarc93b83a2006-04-29 22:02:36 +00002864In the GUI, using CTRL-W q to close the last window of a tab page could cause
2865a crash.
Bram Moolenaar8ea91232006-04-28 22:41:43 +00002866
2867GTK: The tab pages line menu was not converted from 'encoding' to utf-8.
2868
Bram Moolenaarc93b83a2006-04-29 22:02:36 +00002869Typing a multi-byte character or a special key at the hit-enter prompt did not
2870work.
2871
2872When 'virtualedit' contains "onemore" CTRL-O in Insert mode still moved the
2873cursor left when it was after the end of the line, even though it's allowed to
2874be there.
2875
Bram Moolenaarc9b4b052006-04-30 18:54:39 +00002876Added test for using tab pages.
2877
2878towupper() and towlower() were not used, because of checking for
2879__STDC__ISO_10646__ instead of __STDC_ISO_10646__. (sertacyildiz)
2880
2881For ":map <expr>" forbid changing the text, jumping to another buffer and
2882using ":normal" to avoid nasty side effects.
2883
Bram Moolenaard68071d2006-05-02 22:08:30 +00002884--- fixes and changes since Vim 7.0g ---
2885
2886Compilation error on HP-UX, use of "dlerr" must be inside a #ifdef.
2887(Gary Johnson)
2888
2889Report +reltime feature in ":version" output.
2890
2891The tar and zip plugins detect failure to get the contents of the archive and
2892edit the file as-is.
2893
2894When the result of 'guitablabel' is empty fall back to the default label.
2895
2896Fixed crash when using ":insert" in a while loop and missing "endwhile".
2897
2898"gt" and other commands could move to another window when |textlock| active
2899and when the command line window was open.
2900
2901Spell checking a file with syntax highlighting and a bad word at the end of
2902the line is ignored could make "]s" hang.
2903
2904Mac: inputdialog() didn't work when compiled with big features.
2905
2906Interrupting ":vimgrep" while it is busy loading a file left a modified and
2907hidden buffer behind. Use enter_cleanup() and leave_cleanup() around
2908wipe_buffer().
2909
2910When making 'keymap' empty the b:keymap_name variable wasn't deleted.
2911
2912Using CTRL-N that searches a long time, pressing space to interrupt the
2913searching and accept the first match, the popup menu was still displayed
2914briefly.
2915
2916When setting the Vim window height with -geometry the 'window' option could be
2917at a value that makes CTRL-F behave differently.
2918
Bram Moolenaar8b2d9c42006-05-03 21:28:47 +00002919When opening a quickfix window in two tabs they used different buffers,
2920causing redrawing problems later. Now use the same buffer for all quickfix
2921windows. (Yegappan Lakshmanan)
2922
2923When 'mousefocus' is set moving the mouse to the text tab pages line would
2924move focus to the first window. Also, the mouse pointer would jump to the
2925active window.
2926
2927In a session file, when an empty buffer is wiped out, do this silently.
2928
2929When one window has the cursor on the last line and another window is resized
2930to make that window smaller, the cursor line could go below the displayed
2931lines. In win_new_height() subtract one from the available space.
2932Also avoid that using "~" lines makes the window scroll down.
2933
2934Mac: When sourcing the "macmap.vim" script and then finding a .vimrc file the
2935'cpo' option isn't set properly, because it was already set and restored.
2936Added the <special> argument to ":map", so that 'cpo' doesn't need to be
2937changed to be able to use <> notation. Also do this for ":menu" for
2938consistency.
2939
2940When using "/encoding=abc" in a spell word list, only "bc" was used.
2941
Bram Moolenaar54a709e2006-05-04 21:57:11 +00002942When 'encoding' and 'printencoding' were both "utf-8" then ":hardcopy" didn't
2943work. (Mike Williams)
2944
2945Mac: When building with "--disable-gui" the install directory would still be
2946"/Applications" and Vim.app would be installed. Now install in /usr/local as
2947usual for a console application.
2948
2949GUI: when doing completion and there is one match and still searching for
2950another, the cursor was displayed at the end of the line instead of after the
2951match. Now show the cursor after the match while still searching for matches.
2952
2953GUI: The mouse shape changed on the statusline even when 'mouse' was empty and
Bram Moolenaarfcb7ab62010-07-20 11:16:17 +02002954they can't be dragged.
Bram Moolenaar54a709e2006-05-04 21:57:11 +00002955
2956GTK2: Selecting a button in the confirm() dialog with Tab or cursor keys and
2957hitting Enter didn't select that button. Removed GTK 1 specific code. (Neil
2958Bird)
2959
2960When evaluating 'balloonexpr' takes a long time it could be called
2961recursively, which could cause a crash.
2962
2963exists() could not be used to detect whether ":2match" is supported. Added a
2964check for it specifically.
2965
Bram Moolenaar96351572006-05-05 21:16:59 +00002966GTK1: Tab page labels didn't work. (Yegappan Lakshmanan)
2967
2968Insert mode completion: When finding matches use 'ignorecase', but when adding
2969matches to the list don't use it, so that all words with different case are
2970added, "word", "Word" and "WORD".
2971
2972When 'cursorline' and 'hlsearch' are set and the search pattern is "x\n"
2973the rest of the line was highlighted as a match.
2974
2975Cursor moved while evaluating 'balloonexpr' that invokes ":isearch" and
2976redirects the output. Don't move the cursor to the command line if msg_silent
2977is set.
2978
2979exists() ignored text after a function name and option name, which could
2980result in false positives.
2981
2982exists() ignored characters after the recognized word, which can be wrong when
2983using a name with non-keyword characters. Specifically, these calls no longer
2984allow characters after the name: exists('*funcname') exists('*funcname(...')
2985exists('&option') exists(':cmd') exists('g:name') exists('g:name[n]')
2986exists('g:name.n')
2987
Bram Moolenaar2f567ab2006-05-06 21:47:30 +00002988Trigger the TabEnter autocommand only after entering the current window of the
2989tab page, otherwise the commands are executed with an invalid current window.
2990
2991Win32: When using two monitors and Vim is on the second monitor, changing the
2992width of the Vim window could make it jump to the first monitor.
2993
2994When scrolling back at the more prompt and the quitting a line of text would
2995be left behind when 'cmdheight' is 2 or more.
2996
Bram Moolenaar1423b9d2006-05-07 15:16:06 +00002997Fixed a few things for Insert mode completion, especially when typing BS,
2998CTRL-N or a printable character while still searching for matches.
2999
Bram Moolenaarf193fff2006-04-27 00:02:13 +00003000
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00003001==============================================================================
Bram Moolenaar7a329912010-05-21 12:05:36 +02003002VERSION 7.1 *version-7.1* *version7.1*
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00003003
3004This section is about improvements made between version 7.0 and 7.1.
3005
3006This is a bug-fix release, there are no fancy new features.
3007
3008
3009Changed *changed-7.1*
3010-------
3011
3012Added setting 'mouse' in vimrc_example.vim.
3013
3014When building with MZscheme also look for include files in the "plt"
3015subdirectory. That's where they are for FreeBSD.
3016
Bram Moolenaar49325942007-05-10 19:19:59 +00003017The Ruby interface module is now called "Vim" instead of "VIM". But "VIM" is
3018an alias, so it's backwards compatible. (Tim Pope)
3019
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00003020
3021Added *added-7.1*
3022-----
3023
3024New syntax files:
Bram Moolenaar49325942007-05-10 19:19:59 +00003025 /var/log/messages (Yakov Lerner)
Bram Moolenaarb2a460d2007-05-12 15:16:37 +00003026 Autohotkey (Nikolai Weibull)
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00003027 AutoIt v3 (Jared Breland)
3028 Bazaar commit file "bzr". (Dmitry Vasiliev)
Bram Moolenaar49325942007-05-10 19:19:59 +00003029 Cdrdao TOC (Nikolai Weibull)
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00003030 Cmusrc (Nikolai Weibull)
Bram Moolenaarb2a460d2007-05-12 15:16:37 +00003031 Conary recipe (rPath Inc)
3032 Framescript (Nikolai Weibull)
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00003033 FreeBasic (Mark Manning)
3034 Hamster (David Fishburn)
3035 IBasic (Mark Manning)
Bram Moolenaarb2a460d2007-05-12 15:16:37 +00003036 Initng (Elan Ruusamae)
Bram Moolenaar49325942007-05-10 19:19:59 +00003037 Ldapconf (Nikolai Weibull)
3038 Litestep (Nikolai Weibull)
Bram Moolenaarb2a460d2007-05-12 15:16:37 +00003039 Privoxy actions file (Doug Kearns)
3040 Streaming Descriptors "sd" (Puria Nafisi Azizi)
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00003041
3042New tutor files:
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00003043 Czech (Lubos Turek)
Bram Moolenaarb2a460d2007-05-12 15:16:37 +00003044 Hungarian (Arpad Horvath)
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00003045 Turkish (Serkan kkk)
3046 utf-8 version of Greek tutor.
3047 utf-8 version of Russian tutor.
3048 utf-8 version of Slowak tutor.
3049
3050New filetype plugins:
3051 Bst (Tim Pope)
3052 Cobol (Tim Pope)
3053 Fvwm (Gautam Iyer)
3054 Hamster (David Fishburn)
3055 Django HTML template (Dave Hodder)
3056
3057New indent files:
3058 Bst (Tim Pope)
3059 Cobol (Tim Pope)
3060 Hamster (David Fishburn)
3061 Django HTML template (Dave Hodder)
3062 Javascript
3063 JSP (David Fishburn)
3064
3065New keymap files:
3066 Bulgarian (Boyko Bantchev)
3067 Mongolian (Natsagdorj Shagdar)
3068 Thaana (Ibrahim Fayaz)
3069 Vietnamese (Samuel Thibault)
3070
3071Other new runtime files:
3072 Ada support files. (Neil Bird, Martin Krischik)
3073 Slovenian menu translations (Mojca Miklavec)
3074 Mono C# compiler plugin (Jarek Sobiecki)
3075
3076
3077Fixed *fixed-7.1*
3078-----
3079
3080Could not build the Win32s version. Added a few structure definitions in
3081src/gui_w32.c
3082
3083
3084Patch 7.0.001
3085Problem: ":set spellsuggest+=10" does not work. (Suresh Govindachar)
3086Solution: Add P_COMMA to the 'spellsuggest' flags.
3087Files: src/option.c
3088
3089Patch 7.0.002
3090Problem: C omni completion has a problem with tags files with a path
3091 containing "#" or "%".
3092Solution: Escape these characters. (Sebastian Baberowski)
3093Files: runtime/autoload/ccomplete.vim
3094
3095Patch 7.0.003
3096Problem: GUI: clicking in the lower part of a label in the tab pages line
3097 while 'mousefocus' is set may warp the mouse pointer. (Robert
3098 Webb)
3099Solution: Check for a negative mouse position.
3100Files: src/gui.c
3101
3102Patch 7.0.004
3103Problem: Compiler warning for debug_saved used before set. (Todd Blumer)
3104Solution: Remove the "else" for calling save_dbg_stuff().
3105Files: src/ex_docmd.c
3106
3107Patch 7.0.005 (extra)
3108Problem: Win32: The installer doesn't remove the "autoload" and "spell"
3109 directories. (David Fishburn)
3110Solution: Add the directories to the list to be removed.
3111Files: nsis/gvim.nsi
3112
3113Patch 7.0.006
3114Problem: Mac: "make shadow" doesn't make a link for infplist.xml. (Axel
3115 Kielhorn)
3116Solution: Make the link.
3117Files: src/Makefile
3118
3119Patch 7.0.007
3120Problem: AIX: compiling fails for message.c. (Ruediger Hornig)
3121Solution: Move the #if outside of memchr().
3122Files: src/message.c
3123
3124Patch 7.0.008
3125Problem: Can't call a function that uses both <SID> and {expr}. (Thomas)
3126Solution: Check both the expanded and unexpanded name for <SID>.
3127Files: src/eval.c
3128
3129Patch 7.0.009
3130Problem: ml_get errors with both 'sidescroll' and 'spell' set.
3131Solution: Use ml_get_buf() instead of ml_get(), get the line from the right
3132 buffer, not the current one.
3133Files: src/spell.c
3134
3135Patch 7.0.010
3136Problem: The spellfile plugin required typing login name and password.
3137Solution: Use "anonymous" and "vim7user" by default. No need to setup a
3138 .netrc file.
3139Files: runtime/autoload/spellfile.vim
3140
3141Patch 7.0.011
3142Problem: Can't compile without the folding and with the eval feature.
3143Solution: Add an #ifdef. (Vallimar)
3144Files: src/option.c
3145
3146Patch 7.0.012
3147Problem: Using the matchparen plugin, moving the cursor in Insert mode to a
3148 shorter line that ends in a brace, changes the preferred column
3149Solution: Use winsaveview()/winrestview() instead of getpos()/setpos().
3150Files: runtime/plugin/matchparen.vim
3151
3152Patch 7.0.013
3153Problem: Insert mode completion: using CTRL-L to add an extra character
3154 also deselects the current match, making it impossible to use
3155 CTRL-L a second time.
3156Solution: Keep the current match. Also make CTRL-L work at the original
3157 text, using the first displayed match.
3158Files: src/edit.c
3159
3160Patch 7.0.014
3161Problem: Compiling gui_xmebw.c fails on Dec Alpha Tru64. (Rolfe)
3162Solution: Disable some code for Motif 1.2 and older.
3163Files: src/gui_xmebw.c
3164
3165Patch 7.0.015
3166Problem: Athena: compilation problems with modern compiler.
3167Solution: Avoid type casts for lvalue. (Alexey Froloff)
3168Files: src/gui_at_fs.c
3169
3170Patch 7.0.016
3171Problem: Printing doesn't work for "dec-mcs" encoding.
3172Solution: Add "dec-mcs", "mac-roman" and "hp-roman8" to the list of
3173 recognized 8-bit encodings. (Mike Williams)
3174Files: src/mbyte.c
3175
3176Patch 7.0.017 (after 7.0.014)
3177Problem: Linking gui_xmebw.c fails on Dec Alpha Tru64. (Rolfe)
3178Solution: Adjust defines for Motif 1.2 and older.
3179Files: src/gui_xmebw.c
3180
3181Patch 7.0.018
3182Problem: VMS: plugins are not loaded on startup.
3183Solution: Remove "**" from the path. (Zoltan Arpadffy)
3184Files: src/main.c
3185
3186Patch 7.0.019
3187Problem: Repeating "VjA789" may cause a crash. (James Vega)
3188Solution: Check the cursor column after moving it to another line.
3189Files: src/ops.c
3190
3191Patch 7.0.020
3192Problem: Crash when using 'mousefocus'. (William Fulton)
3193Solution: Make buffer for mouse coordinates 2 bytes longer. (Juergen Weigert)
3194Files: src/gui.c
3195
3196Patch 7.0.021
3197Problem: Crash when using "\\[" and "\\]" in 'errorformat'. (Marc Weber)
3198Solution: Check for valid submatches after matching the pattern.
3199Files: src/quickfix.c
3200
3201Patch 7.0.022
3202Problem: Using buffer.append() in Ruby may append the line to the wrong
3203 buffer. (Alex Norman)
3204Solution: Properly switch to the buffer to do the appending. Also for
3205 buffer.delete() and setting a buffer line.
3206Files: src/if_ruby.c
3207
3208Patch 7.0.023
3209Problem: Crash when doing spell completion in an empty line and pressing
3210 CTRL-E.
3211Solution: Check for a zero pointer. (James Vega)
3212 Also handle a situation without a matching pattern better, report
3213 "No matches" instead of remaining in undefined CTRL-X mode. And
3214 get out of CTRL-X mode when typing a letter.
3215Files: src/edit.c
3216
3217Patch 7.0.024
3218Problem: It is possible to set arbitrary "v:" variables.
3219Solution: Disallow setting "v:" variables that are not predefined.
3220Files: src/eval.c
3221
3222Patch 7.0.025
3223Problem: Crash when removing an element of a:000. (Nikolai Weibull)
3224Solution: Mark the a:000 list with VAR_FIXED.
3225Files: src/eval.c
3226
3227Patch 7.0.026
3228Problem: Using libcall() may show an old error.
3229Solution: Invoke dlerror() to clear a previous error. (Yukihiro Nakadaira)
3230Files: src/os_unix.c
3231
3232Patch 7.0.027 (extra)
3233Problem: Win32: When compiled with SNIFF gvim may hang on exit.
3234Solution: Translate and dispatch the WM_USER message. (Mathias Michaelis)
3235Files: src/gui_w48.c
3236
3237Patch 7.0.028 (extra)
3238Problem: OS/2: Vim doesn't compile with gcc 3.2.1.
3239Solution: Add argument to after_pathsep(), don't define vim_handle_signal(),
3240 define HAVE_STDARG_H. (David Sanders)
3241Files: src/os_unix.c, src/vim.h, src/os_os2_cfg.h
3242
3243Patch 7.0.029
3244Problem: getchar() may not position the cursor after a space.
3245Solution: Position the cursor explicitly.
3246Files: src/eval.c
3247
3248Patch 7.0.030
3249Problem: The ":compiler" command can't be used in a FileChangedRO event.
3250 (Hari Krishna Dara)
3251Solution: Add the CMDWIN flag to the ":compiler" command.
3252Files: src/ex_cmds.h
3253
3254Patch 7.0.031
3255Problem: When deleting a buffer the buffer-local mappings for Select mode
3256 remain.
3257Solution: Add the Select mode bit to MAP_ALL_MODES. (Edwin Steiner)
3258Files: src/vim.h
3259
3260Patch 7.0.032 (extra, after 7.0.027)
3261Problem: Missing semicolon.
3262Solution: Add the semicolon.
3263Files: src/gui_w48.c
3264
3265Patch 7.0.033
3266Problem: When pasting text, with the menu or CTRL-V, autoindent is removed.
3267Solution: Use "x<BS>" to avoid indent to be removed. (Benji Fisher)
3268Files: runtime/autoload/paste.vim
3269
3270Patch 7.0.034
3271Problem: After doing completion and typing more characters or using BS
3272 repeating with "." didn't work properly. (Martin Stubenschrott)
3273Solution: Don't put BS and other characters in the redo buffer right away,
3274 do this when finishing completion.
3275Files: src/edit.c
3276
3277Patch 7.0.035
3278Problem: Insert mode completion works when typed but not when replayed from
3279 a register. (Hari Krishna Dara)
3280 Also: Mappings for Insert mode completion don't always work.
3281Solution: When finding a non-completion key in the input don't interrupt
3282 completion when it wasn't typed.
3283 Do use mappings when checking for typeahead while still finding
3284 completions. Avoids that completion is interrupted too soon.
3285 Use "compl_pending" in a different way.
3286Files: src/edit.c
3287
3288Patch 7.0.036
3289Problem: Can't compile with small features and syntax highlighting or the
3290 diff feature.
3291Solution: Define LINE_ATTR whenever syntax highlighting or the diff feature
3292 is enabled.
3293Files: src/screen.c
3294
3295Patch 7.0.037
3296Problem: Crash when resizing the GUI window vertically when there is a line
3297 that doesn't fit.
3298Solution: Don't redraw while the screen data is invalid.
3299Files: src/screen.c
3300
3301Patch 7.0.038
3302Problem: When calling complete() from an Insert mode expression mapping
3303 text could be inserted in an improper way.
3304Solution: Make undo_allowed() global and use it in complete().
3305Files: src/undo.c, src/proto/undo.pro, src/eval.c
3306
3307Patch 7.0.039
3308Problem: Calling inputdialog() with a third argument in the console doesn't
3309 work.
3310Solution: Make a separate function for input() and inputdialog(). (Yegappan
3311 Lakshmanan)
3312Files: src/eval.c
3313
3314Patch 7.0.040
3315Problem: When 'cmdheight' is larger than 1 using inputlist() or selecting
3316 a spell suggestion with the mouse gets the wrong entry.
3317Solution: Start listing the first alternative on the last line of the screen.
3318Files: src/eval.c, src/spell.c
3319
3320Patch 7.0.041
3321Problem: cursor([1, 1]) doesn't work. (Peter Hodge)
3322Solution: Allow leaving out the third item of the list and use zero for the
3323 virtual column offset.
3324Files: src/eval.c
3325
3326Patch 7.0.042
3327Problem: When pasting a block of text in Insert mode Vim hangs or crashes.
3328 (Noam Halevy)
3329Solution: Avoid that the cursor is positioned past the NUL of a line.
3330Files: src/ops.c
3331
3332Patch 7.0.043
3333Problem: Using "%!" at the start of 'statusline' doesn't work.
3334Solution: Recognize the special item when the option is being set.
3335Files: src/option.c
3336
3337Patch 7.0.044
3338Problem: Perl: setting a buffer line in another buffer may result in
3339 changing the current buffer.
3340Solution: Properly change to the buffer to be changed.
3341Files: src/if_perl.xs
3342
3343Patch 7.0.045 (extra)
3344Problem: Win32: Warnings when compiling OLE version with MSVC 2005.
3345Solution: Move including vim.h to before windows.h. (Ilya Bobir)
3346Files: src/if_ole.cpp
3347
3348Patch 7.0.046
3349Problem: The matchparen plugin ignores parens in strings, but not in single
3350 quotes, often marked with "character".
3351Solution: Also ignore parens in syntax items matching "character".
3352Files: runtime/plugin/matchparen.vim
3353
3354Patch 7.0.047
3355Problem: When running configure the exit status is wrong.
3356Solution: Handle the exit status properly. (Matthew Woehlke)
3357Files: configure, src/configure
3358
3359Patch 7.0.048
3360Problem: Writing a compressed file fails when there are parens in the name.
3361 (Wang Jian)
3362Solution: Put quotes around the temp file name.
3363Files: runtime/autoload/gzip.vim
3364
3365Patch 7.0.049
3366Problem: Some TCL scripts are not recognized. (Steven Atkinson)
3367Solution: Check for "exec wish" in the file.
3368Files: runtime/scripts.vim
3369
3370Patch 7.0.050
3371Problem: After using the netbeans interface close command a stale pointer
3372 may be used.
3373Solution: Clear the pointer to the closed buffer. (Xaview de Gaye)
3374Files: src/netbeans.c
3375
3376Patch 7.0.051 (after 7.0.44)
3377Problem: The Perl interface doesn't compile or doesn't work properly.
3378Solution: Remove the spaces before #ifdef and avoid an empty line above it.
3379Files: src/if_perl.xs
3380
3381Patch 7.0.052
3382Problem: The user may not be aware that the Vim server allows others more
3383 functionality than desired.
3384Solution: When running Vim as root don't become a Vim server without an
3385 explicit --servername argument.
3386Files: src/main.c
3387
3388Patch 7.0.053
3389Problem: Shortening a directory name may fail when there are multi-byte
3390 characters.
3391Solution: Copy the correct bytes. (Titov Anatoly)
3392Files: src/misc1.c
3393
3394Patch 7.0.054
3395Problem: Mac: Using a menu name that only has a mnemonic or accelerator
3396 causes a crash. (Elliot Shank)
3397Solution: Check for an empty menu name. Also delete empty submenus that
3398 were created before detecting the error.
3399Files: src/menu.c
3400
3401Patch 7.0.055
3402Problem: ":startinsert" in a CmdwinEnter autocommand doesn't take immediate
3403 effect. (Bradley White)
3404Solution: Put a NOP key in the typeahead buffer. Also avoid that using
3405 CTRL-C to go back to the command line moves the cursor left.
3406Files: src/edit.c, src/ex_getln.c
3407
3408Patch 7.0.056
3409Problem: "#!something" gives an error message.
3410Solution: Ignore this line, so that it can be used in an executable Vim
3411 script.
3412Files: src/ex_docmd.c
3413
3414Patch 7.0.057 (extra, after 7.0.45)
3415Problem: Win32: Compilation problem with Borland C 5.5.
3416Solution: Include vim.h as before. (Mark S. Williams)
3417Files: src/if_ole.cpp
3418
3419Patch 7.0.058
Bram Moolenaarc236c162008-07-13 17:41:49 +00003420Problem: The gbk and gb18030 encodings are not recognized.
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00003421Solution: Add aliases to cp936. (Edward L. Fox)
3422Files: src/mbyte.c
3423
3424Patch 7.0.059
3425Problem: The Perl interface doesn't compile with ActiveState Perl 5.8.8.
3426Solution: Remove the __attribute__() items. (Liu Yubao)
3427Files: src/if_perl.xs
3428
3429Patch 7.0.060 (after 7.0.51)
3430Problem: Code for temporarily switching to another buffer is duplicated in
3431 quite a few places.
3432Solution: Use aucmd_prepbuf() and aucmd_restbuf() also when FEAT_AUTOCMD is
3433 not defined.
3434Files: src/buffer.c, src/eval.c, src/fileio.c, src/if_ruby.c,
3435 src/if_perl.xs, src/quickfix.c, src/structs.h
3436
3437Patch 7.0.061
3438Problem: Insert mode completion for Vim commands may crash if there is
3439 nothing to complete.
3440Solution: Instead of freeing the pattern make it empty, so that a "not
3441 found" error is given. (Yukihiro Nakadaira)
3442Files: src/edit.c
3443
3444Patch 7.0.062
3445Problem: Mac: Crash when using the popup menu for spell correction. The
3446 popup menu appears twice when letting go of the right mouse button
3447 early.
3448Solution: Don't show the popup menu on the release of the right mouse
3449 button. Also check that a menu pointer is actually valid.
3450Files: src/proto/menu.pro, src/menu.c, src/normal.c, src/term.c
3451
3452Patch 7.0.063
3453Problem: Tiny chance for a memory leak. (coverity)
3454Solution: Free pointer when next memory allocation fails.
3455Files: src/eval.c
3456
3457Patch 7.0.064
3458Problem: Using uninitialized variable. (Tony Mechelynck)
3459Solution: When not used set "temp" to zero. Also avoid a warning for
3460 "files" in ins_compl_dictionaries().
3461Files: src/edit.c
3462
3463Patch 7.0.065 (extra)
3464Problem: Mac: left-right movement of the scrollwheel causes up-down
3465 scrolling.
3466Solution: Ignore mouse wheel events that are not up-down. (Nicolas Weber)
3467Files: src/gui_mac.c
3468
3469Patch 7.0.066
3470Problem: After the popup menu for Insert mode completion overlaps the tab
3471 pages line it is not completely removed.
3472Solution: Redraw the tab pages line after removing the popup menu. (Ori
3473 Avtalion)
3474Files: src/popupmnu.c
3475
3476Patch 7.0.067
3477Problem: Undo doesn't always work properly when using "scim" input method.
3478 Undo is split up when using preediting.
3479Solution: Reset xim_has_preediting also when preedit_start_col is not
3480 MAXCOL. Don't split undo when <Left> is used while preediting.
3481 (Yukihiro Nakadaira)
3482Files: src/edit.c, src/mbyte.c
3483
3484Patch 7.0.068
3485Problem: When 'ignorecase' is set and using Insert mode completion,
3486 typing characters to change the list of matches, case is not
3487 ignored. (Hugo Ahlenius)
3488Solution: Store the 'ignorecase' flag with the matches where needed.
3489Files: src/edit.c, src/search.c, src/spell.c
3490
3491Patch 7.0.069
3492Problem: Setting 'guitablabel' to %!expand(\%) causes Vim to free an
3493 invalid pointer. (Kim Schulz)
3494Solution: Don't try freeing a constant string pointer.
3495Files: src/buffer.c
3496
3497Patch 7.0.070
3498Problem: Compiler warnings for shadowed variables and uninitialized
3499 variables.
3500Solution: Rename variables such as "index", "msg" and "dup". Initialize
3501 variables.
3502Files: src/edit.c, src/eval.c, src/ex_cmds.c, src/ex_cmds2.c,
3503 src/ex_docmd.c, src/gui_beval.c, src/gui_gtk.c, src/gui_gtk_x11.c,
3504 src/hardcopy.c, src/if_cscope.c, src/main.c, src/mbyte.c,
3505 src/memline.c, src/netbeans.c, src/normal.c, src/option.c,
3506 src/os_unix.c, src/quickfix.c, src/regexp.c, src/screen.c,
3507 src/search.c, src/spell.c, src/ui.c, src/undo.c, src/window.c,
3508 src/version.c
3509
3510Patch 7.0.071
3511Problem: Using an empty search pattern may cause a crash.
3512Solution: Avoid using a NULL pointer.
3513Files: src/search.c
3514
3515Patch 7.0.072
3516Problem: When starting the GUI fails there is no way to adjust settings or
3517 do something else.
3518Solution: Add the GUIFailed autocommand event.
3519Files: src/fileio.c, src/gui.c, src/vim.h
3520
3521Patch 7.0.073
3522Problem: Insert mode completion: Typing <CR> sometimes selects the original
3523 text instead of keeping what was typed. (Justin Constantino)
3524Solution: Don't let <CR> select the original text if there is no popup menu.
3525Files: src/edit.c
3526
3527Patch 7.0.074 (extra)
3528Problem: Win32: tooltips were not converted from 'encoding' to Unicode.
3529Solution: Set the tooltip to use Unicode and do the conversion. Also
3530 cleanup the code for the tab pages tooltips. (Yukihiro Nakadaira)
3531Files: src/gui_w32.c, src/gui_w48.c
3532
3533Patch 7.0.075
3534Problem: winsaveview() did not store the actual value of the desired cursor
3535 column. This could move the cursor in the matchparen plugin.
3536Solution: Call update_curswant() before using the value w_curswant.
3537Files: src/eval.c
3538
3539Patch 7.0.076 (after 7.0.010)
3540Problem: Automatic downloading of spell files only works for ftp.
3541Solution: Don't add login and password for non-ftp URLs. (Alexander Patrakov)
3542Files: runtime/autoload/spellfile.vim
3543
3544Patch 7.0.077
3545Problem: ":unlet v:this_session" causes a crash. (Marius Roets)
3546Solution: When trying to unlet a fixed variable give an error message.
3547Files: src/eval.c
3548
3549Patch 7.0.078
3550Problem: There are two error messages E46.
3551Solution: Change the number for the sandbox message to E794.
3552Files: src/globals.h
3553
3554Patch 7.0.079
3555Problem: Russian tutor doesn't work when 'encoding' is "utf-8".
3556Solution: Use tutor.ru.utf-8 as the master, and generate the other encodings
3557 from it. Select the right tutor depending on 'encoding'. (Alexey
3558 Froloff)
3559Files: runtime/tutor/Makefile, runtime/tutor/tutor.vim,
3560 runtime/tutor/tutor.ru.utf-8
3561
3562Patch 7.0.080
3563Problem: Generating auto/pathdef.c fails for CFLAGS with a backslash.
3564Solution: Double backslashes in the string. (Alexey Froloff)
3565Files: src/Makefile
3566
3567Patch 7.0.081
3568Problem: Command line completion doesn't work for a shell command with an
3569 absolute path.
3570Solution: Don't use $PATH when there is an absolute path.
3571Files: src/ex_getln.c
3572
3573Patch 7.0.082
3574Problem: Calling a function that waits for input may cause List and
3575 Dictionary arguments to be freed by the garbage collector.
3576Solution: Keep a list of all arguments to internal functions.
3577Files: src/eval.c
3578
3579Patch 7.0.083
3580Problem: Clicking with the mouse on an item for inputlist() doesn't work
3581 when 'compatible' is set and/or when 'cmdheight' is more than one.
3582 (Christian J. Robinson)
3583Solution: Also decrement "lines_left" when 'more' isn't set. Set
3584 "cmdline_row" to zero to get all mouse events.
3585Files: src/message.c, src/misc1.c
3586
3587Patch 7.0.084
3588Problem: The garbage collector may do its work while some Lists or
3589 Dictionaries are used internally, e.g., by ":echo" that runs into
3590 the more-prompt or ":echo [garbagecollect()]".
3591Solution: Only do garbage collection when waiting for a character at the
3592 toplevel. Let garbagecollect() set a flag that is handled at the
3593 toplevel before waiting for a character.
3594Files: src/eval.c, src/getchar.c, src/globals.h, src/main.c
3595
3596Patch 7.0.085
3597Problem: When doing "make test" the viminfo file is modified.
Bram Moolenaar9b451252012-08-15 17:43:31 +02003598Solution: Use another viminfo file after setting 'compatible'.
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00003599Files: src/testdir/test56.in
3600
3601Patch 7.0.086
3602Problem: getqflist() returns entries for pattern and text with the number
3603 zero. Passing these to setqflist() results in the string "0".
3604Solution: Use an empty string instead of the number zero.
3605Files: src/quickfix.c
3606
3607Patch 7.0.087
3608Problem: After ":file fname" and ":saveas fname" the 'autochdir' option
3609 does not take effect. (Yakov Lerner)
3610 Commands for handling 'autochdir' are repeated many times.
3611Solution: Add the DO_AUTOCHDIR macro and do_autochdir(). Use it for
3612 ":file fname" and ":saveas fname".
3613Files: src/proto/buffer.pro, src/buffer.c, src/ex_cmds.c, src/macros.h,
3614 src/netbeans.c, src/option.c, src/window.c
3615
3616Patch 7.0.088
3617Problem: When compiled with Perl the generated prototypes have "extern"
3618 unnecessarily added.
3619Solution: Remove the "-pipe" argument from PERL_CFLAGS.
3620Files: src/auto/configure, src/configure.in
3621
3622Patch 7.0.089
3623Problem: "ga" does not work properly for a non-Unicode multi-byte encoding.
3624Solution: Only check for composing chars for utf-8. (Taro Muraoka)
3625Files: src/ex_cmds.c
3626
3627Patch 7.0.090
3628Problem: Cancelling the conform() dialog on the console with Esc requires
3629 typing it twice. (Benji Fisher)
3630Solution: When the start of an escape sequence is found use 'timeoutlen' or
3631 'ttimeoutlen'.
3632Files: src/misc1.c
3633
3634Patch 7.0.091
3635Problem: Using winrestview() while 'showcmd' is set causes the cursor to be
3636 displayed in the wrong position. (Yakov Lerner)
3637Solution: Set the window topline properly.
3638Files: src/eval.c
3639
3640Patch 7.0.092 (after 7.0.082 and 7.0.084)
3641Problem: The list of internal function arguments is obsolete now that
3642 garbage collection is only done at the toplevel.
3643Solution: Remove the list of all arguments to internal functions.
3644Files: src/eval.c
3645
3646Patch 7.0.093
3647Problem: The matchparen plugin can't handle a 'matchpairs' value where a
3648 colon is matched.
3649Solution: Change the split() that is used to change 'matchpairs' into a
3650 List.
3651Files: runtime/plugin/matchparen.vim
3652
3653Patch 7.0.094
3654Problem: When a hidden buffer is made the current buffer and another file
3655 edited later, the file message will still be given. Using
3656 ":silent" also doesn't prevent the file message. (Marvin Renich)
3657Solution: Reset the need_fileinfo flag when reading a file. Don't set
3658 need_fileinfo when msg_silent is set.
3659Files: src/buffer.c, src/fileio.c
3660
3661Patch 7.0.095
3662Problem: The Greek tutor is not available in utf-8. "el" is used for the
3663 language, only "gr" for the country is recognized.
3664Solution: Add the utf-8 Greek tutor. Use it for conversion to iso-8859-7
3665 and cp737. (Lefteris Dimitroulakis)
3666Files: runtime/tutor/Makefile, runtime/tutor/tutor.gr.utf-8,
3667 runtime/tutor/tutor.vim
3668
3669Patch 7.0.096
3670Problem: taglist() returns the filename relative to the tags file, while
3671 the directory of the tags file is unknown. (Hari Krishna Dara)
3672Solution: Expand the file name. (Yegappan Lakshmanan)
3673Files: src/tag.c
3674
3675Patch 7.0.097
3676Problem: ":tabclose N" that closes another tab page does not remove the tab
3677 pages line. Same problem when using the mouse.
3678Solution: Adjust the tab pages line when needed in tabpage_close_other().
3679Files: src/ex_docmd.c
3680
3681Patch 7.0.098
3682Problem: Redirecting command output in a cmdline completion function
3683 doesn't work. (Hari Krishna Dara)
3684Solution: Enable redirection when redirection is started.
3685Files: src/ex_docmd.c, src/ex_getln.c
3686
3687Patch 7.0.099
3688Problem: GUI: When the popup menu is visible using the scrollbar messes up
3689 the display.
3690Solution: Disallow scrolling the current window. Redraw the popup menu
3691 after scrolling another window.
3692Files: src/gui.c
3693
3694Patch 7.0.100
3695Problem: "zug" may report the wrong filename. (Lawrence Kesteloot)
3696Solution: Call home_replace() to fill NameBuff[].
3697Files: src/spell.c
3698
3699Patch 7.0.101
3700Problem: When the "~/.vim/spell" directory does not exist "zg" may create
3701 a wrong directory. "zw" doesn't work.
3702Solution: Use the directory of the file name instead of NameBuff. For "zw"
3703 not only remove a good word but also add the word with "!".
3704Files: src/spell.c
3705
3706Patch 7.0.102
3707Problem: Redrawing cmdline is not correct when using SCIM.
3708Solution: Don't call im_get_status(). (Yukihiro Nakadaira)
3709Files: src/ex_getln.c
3710
3711Patch 7.0.103 (after 7.0.101)
3712Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
3713Solution: Init variable.
3714Files: src/spell.c
3715
3716Patch 7.0.104
3717Problem: The CursorHoldI event only triggers once in Insert mode. It also
3718 triggers after CTRL-V and other two-key commands.
3719Solution: Set "did_cursorhold" before getting a second key. Reset
3720 "did_cursorhold" after handling a command.
3721Files: src/edit.c, src/fileio.c
3722
3723Patch 7.0.105
3724Problem: When using incremental search the statusline ruler isn't updated.
3725 (Christoph Koegl)
3726Solution: Update the statusline when it contains the ruler.
3727Files: src/ex_getln.c
3728
3729Patch 7.0.106
3730Problem: The spell popup menu uses ":amenu", triggering mappings. Other
3731 PopupMenu autocommands are removed. (John Little)
3732Solution: Use ":anoremenu" and use an autocmd group.
3733Files: runtime/menu.vim
3734
3735Patch 7.0.107
3736Problem: Incremental search doesn't redraw the text tabline. (Ilya Bobir)
3737 Also happens in other situations with one window in a tab page.
3738Solution: Redraw the tabline after clearing the screen.
3739Files: src/screen.c
3740
3741Patch 7.0.108 (extra)
3742Problem: Amiga: Compilation problem.
3743Solution: Have mch_mkdir() return a failure flag. (Willy Catteau)
3744Files: src/os_amiga.c, src/proto/os_amiga.pro
3745
3746Patch 7.0.109
3747Problem: Lisp indenting is confused by escaped quotes in strings. (Dorai
3748 Sitaram)
3749Solution: Check for backslash inside strings. (Sergey Khorev)
3750Files: src/misc1.c
3751
3752Patch 7.0.110
3753Problem: Amiga: Compilation problems when not using libnix.
3754Solution: Change a few #ifdefs. (Willy Catteau)
3755Files: src/memfile.c
3756
3757Patch 7.0.111
3758Problem: The gzip plugin can't handle filenames with single quotes.
3759Solution: Add and use the shellescape() function. (partly by Alexey Froloff)
3760Files: runtime/autoload/gzip.vim, runtime/doc/eval.txt, src/eval.c,
3761 src/mbyte.c, src/misc2.c, src/proto/misc2.pro
3762
3763Patch 7.0.112
3764Problem: Python interface does not work with Python 2.5.
3765Solution: Change PyMem_DEL() to Py_DECREF(). (Sumner Hayes)
3766Files: src/if_python.c
3767
3768Patch 7.0.113
3769Problem: Using CTRL-L in Insert completion when there is no current match
3770 may cause a crash. (Yukihiro Nakadaira)
3771Solution: Check for compl_leader to be NULL
3772Files: src/edit.c
3773
3774Patch 7.0.114
3775Problem: When aborting an insert with CTRL-C an extra undo point is
3776 created in the GUI. (Yukihiro Nakadaira)
3777Solution: Call gotchars() only when advancing.
3778Files: src/getchar.c
3779
3780Patch 7.0.115
3781Problem: When 'ignorecase' is set, Insert mode completion only adds "foo"
3782 and not "Foo" when both are found.
3783 A found match isn't displayed right away when 'completeopt' does
3784 not have "menu" or "menuone".
3785Solution: Do not ignore case when checking if a completion match already
3786 exists. call ins_compl_check_keys() also when not using a popup
3787 menu. (Yukihiro Nakadaira)
3788Files: src/edit.c
3789
3790Patch 7.0.116
3791Problem: 64 bit Windows version reports "32 bit" in the ":version" output.
3792 (M. Veerman)
3793Solution: Change the text for Win64.
3794Files: src/version.c
3795
3796Patch 7.0.117
3797Problem: Using "extend" on a syntax item inside a region with "keepend", an
3798 intermediate item may be truncated.
3799 When applying the "keepend" and there is an offset to the end
3800 pattern the highlighting of a contained item isn't adjusted.
3801Solution: Use the seen_keepend flag to remember when to apply the "keepend"
3802 flag. Adjust the keepend highlighting properly. (Ilya Bobir)
3803Files: src/syntax.c
3804
3805Patch 7.0.118
3806Problem: printf() does not do zero padding for strings.
3807Solution: Do allow zero padding for strings.
3808Files: src/message.c
3809
3810Patch 7.0.119
3811Problem: When going back from Insert to Normal mode the CursorHold event
3812 doesn't trigger. (Yakov Lerner)
3813Solution: Reset "did_cursorhold" when leaving Insert mode.
3814Files: src/edit.c
3815
3816Patch 7.0.120
3817Problem: Crash when using CTRL-R = at the command line and entering
3818 "getreg('=')". (James Vega)
3819Solution: Avoid recursiveness of evaluating the = register.
3820Files: src/ops.c
3821
3822Patch 7.0.121
3823Problem: GUI: Dragging the last status line doesn't work when there is a
3824 text tabline. (Markus Wolf)
3825Solution: Take the text tabline into account when deciding to start modeless
3826 selection.
3827Files: src/gui.c
3828
3829Patch 7.0.122
3830Problem: GUI: When clearing after a bold, double-wide character half a
3831 character may be drawn.
3832Solution: Check for double-wide character and redraw it. (Yukihiro Nakadaira)
3833Files: src/screen.c
3834
3835Patch 7.0.123
3836Problem: On SCO Openserver configure selects the wrong terminal library.
3837Solution: Put terminfo before the other libraries. (Roger Cornelius)
3838 Also fix a small problem compiling on Mac without Darwin.
3839Files: src/configure.in, src/auto/configure
3840
3841Patch 7.0.124
3842Problem: getwinvar() obtains a dictionary with window-local variables, but
3843 it's always for the current window.
3844Solution: Get the variables of the specified window. (Geoff Reedy)
3845Files: src/eval.c
3846
3847Patch 7.0.125
3848Problem: When "autoselect" is in the 'clipboard' option then the '< and '>
3849 marks are set while Visual mode is still active.
3850Solution: Don't set the '< and '> marks when yanking the selected area for
3851 the clipboard.
3852Files: src/normal.c
3853
3854Patch 7.0.126
3855Problem: When 'formatexpr' uses setline() and later internal formatting is
3856 used undo information is not correct. (Jiri Cerny, Benji Fisher)
3857Solution: Set ins_need_undo after using 'formatexpr'.
3858Files: src/edit.c
3859
3860Patch 7.0.127
3861Problem: Crash when swap files has invalid timestamp.
3862Solution: Check return value of ctime() for being NULL.
3863Files: src/memline.c
3864
3865Patch 7.0.128
3866Problem: GUI: when closing gvim is cancelled because there is a changed
3867 buffer the screen isn't updated to show the changed buffer in the
3868 current window. (Krzysztof Kacprzak)
3869Solution: Redraw when closing gvim is cancelled.
3870Files: src/gui.c
3871
3872Patch 7.0.129
3873Problem: GTK GUI: the GTK file dialog can't handle a relative path.
3874Solution: Make the initial directory a full path before passing it to GTK.
3875 (James Vega) Also postpone adding the default file name until
3876 after setting the directory.
3877Files: src/gui_gtk.c
3878
3879Patch 7.0.130 (extra)
3880Problem: Win32: Trying to edit or write devices may cause Vim to get stuck.
3881Solution: Add the 'opendevice' option, default off. Disallow
3882 reading/writing from/to devices when it's off.
3883 Also detect more devices by the full name starting with "\\.\".
3884Files: runtime/doc/options.txt, src/fileio.c, src/option.c, src/option.h,
3885 src/os_win32.c
3886
3887Patch 7.0.131
3888Problem: Win32: "vim -r" does not list all the swap files.
3889Solution: Also check for swap files starting with a dot.
3890Files: src/memline.c
3891
3892Patch 7.0.132 (after 7.0.130)
3893Problem: Win32: Crash when Vim reads from stdin.
3894Solution: Only use mch_nodetype() when there is a file name.
3895Files: src/fileio.c
3896
3897Patch 7.0.133
3898Problem: When searching included files messages are added to the history.
3899Solution: Set msg_hist_off for messages about scanning included files.
3900 Set msg_silent to avoid message about wrapping around.
3901Files: src/edit.c, src/globals.h, src/message.c, src/search.c
3902
3903Patch 7.0.134
3904Problem: Crash when comparing a recursively looped List or Dictionary.
3905Solution: Limit recursiveness for comparing to 1000.
3906Files: src/eval.c
3907
3908Patch 7.0.135
3909Problem: Crash when garbage collecting list or dict with loop.
3910Solution: Don't use DEL_REFCOUNT but don't recurse into Lists and
3911 Dictionaries when freeing them in the garbage collector.
3912 Also add allocated Dictionaries to the list of Dictionaries to
3913 avoid leaking memory.
3914Files: src/eval.c, src/proto/eval.pro, src/tag.c
3915
3916Patch 7.0.136
3917Problem: Using "O" while matching parens are highlighted may not remove the
3918 highlighting. (Ilya Bobir)
3919Solution: Also trigger CursorMoved when a line is inserted under the cursor.
3920Files: src/misc1.c
3921
3922Patch 7.0.137
3923Problem: Configure check for big features is wrong.
3924Solution: Change "==" to "=". (Martti Kuparinen)
3925Files: src/auto/configure, src/configure.in
3926
3927Patch 7.0.138 (extra)
3928Problem: Mac: modifiers don't work with function keys.
3929Solution: Use GetEventParameter() to obtain modifiers. (Nicolas Weber)
3930Files: src/gui_mac.c
3931
3932Patch 7.0.139
3933Problem: Using CTRL-PageUp or CTRL-PageDown in Insert mode to go to another
3934 tab page does not prepare for undo properly. (Stefano Zacchiroli)
3935Solution: Call start_arrow() before switching tab page.
3936Files: src/edit.c
3937
3938Patch 7.0.140 (after 7.0.134)
3939Problem: Comparing recursively looped List or Dictionary doesn't work well.
3940Solution: Detect comparing a List or Dictionary with itself.
3941Files: src/eval.c
3942
3943Patch 7.0.141
3944Problem: When pasting a while line on the command line an extra CR is added
3945 literally.
3946Solution: Don't add the trailing CR when pasting with the mouse.
3947Files: src/ex_getln.c, src/proto/ops.pro, src/ops.c
3948
3949Patch 7.0.142
3950Problem: Using the middle mouse button in Select mode to paste text results
3951 in an extra "y". (Kriton Kyrimis)
3952Solution: Let the middle mouse button replace the selected text with the
3953 contents of the clipboard.
3954Files: src/normal.c
3955
3956Patch 7.0.143
3957Problem: Setting 'scroll' to its default value was not handled correctly.
3958Solution: Compare the right field to PV_SCROLL.
3959Files: src/option.c
3960
3961Patch 7.0.144
3962Problem: May compare two unrelated pointers when matching a pattern against
3963 a string. (Dominique Pelle)
3964Solution: Avoid calling reg_getline() when REG_MULTI is false.
3965Files: src/regexp.c
3966
3967Patch 7.0.145 (after 7.0.142)
3968Problem: Compiler warning.
3969Solution: Add type cast.
3970Files: src/normal.c
3971
3972Patch 7.0.146
3973Problem: When 'switchbuf' is set to "usetab" and the current tab has only a
3974 quickfix window, jumping to an error always opens a new window.
3975 Also, when the buffer is open in another tab page it's not found.
3976Solution: Check for the "split" value of 'switchbuf' properly. Search in
3977 other tab pages for the desired buffer. (Yegappan Lakshmanan)
3978Files: src/buffer.c, src/quickfix.c
3979
3980Patch 7.0.147
3981Problem: When creating a session file and there are several tab pages and
3982 some windows have a local directory a short file name may be used
3983 when it's not valid. (Marius Roets)
3984 A session with multiple tab pages may result in "No Name" buffers.
3985 (Bill McCarthy)
3986Solution: Don't enter tab pages when going through the list, only use a
3987 pointer to the first window in each tab page.
3988 Use "tabedit" instead of "tabnew | edit" when possible.
3989Files: src/ex_docmd.c
3990
3991Patch 7.0.148
3992Problem: When doing "call a.xyz()" and "xyz" does not exist in dictionary
3993 "a" there is no error message. (Yegappan Lakshmanan)
3994Solution: Add the error message.
3995Files: src/eval.c
3996
3997Patch 7.0.149
3998Problem: When resizing a window that shows "~" lines the text sometimes
3999 jumps down.
4000Solution: Remove code that uses "~" lines in some situations. Fix the
4001 computation of the screen line of the cursor. Also set w_skipcol
4002 to handle very long lines.
4003Files: src/misc1.c, src/window.c
4004
4005Patch 7.0.150
4006Problem: When resizing the Vim window scrollbinding doesn't work. (Yakov
4007 Lerner)
4008Solution: Do scrollbinding in set_shellsize().
4009Files: src/term.c
4010
4011Patch 7.0.151
4012Problem: Buttons in file dialog are not according to Gnome guidelines.
4013Solution: Swap Cancel and Open buttons. (Stefano Zacchiroli)
4014Files: src/gui_gtk.c
4015
4016Patch 7.0.152
4017Problem: Crash when using lesstif 2.
4018Solution: Fill in the extension field. (Ben Hutchings)
4019Files: src/gui_xmebw.c
4020
4021Patch 7.0.153
4022Problem: When using cscope and opening the temp file fails Vim crashes.
4023 (Kaya Bekiroglu)
4024Solution: Check for NULL pointer returned from mch_open().
4025Files: src/if_cscope.c
4026
4027Patch 7.0.154
4028Problem: When 'foldnextmax' is negative Vim can hang. (James Vega)
4029Solution: Avoid the fold level becoming negative.
4030Files: src/fold.c, src/syntax.c
4031
4032Patch 7.0.155
4033Problem: When getchar() returns a mouse button click there is no way to get
4034 the mouse coordinates.
4035Solution: Add v:mouse_win, v:mouse_lnum and v:mouse_col.
4036Files: runtime/doc/eval.txt, src/eval.c, src/vim.h
4037
4038Patch 7.0.156 (extra)
4039Problem: Vim doesn't compile for Amiga OS 4.
4040Solution: Various changes for Amiga OS4. (Peter Bengtsson)
4041Files: src/feature.h, src/mbyte.c, src/memfile.c, src/memline.c,
4042 src/os_amiga.c, src/os_amiga.h, src/pty.c
4043
4044Patch 7.0.157
4045Problem: When a function is used recursively the profiling information is
4046 invalid. (Mikolaj Machowski)
4047Solution: Put the start time on the stack instead of in the function.
4048Files: src/eval.c
4049
4050Patch 7.0.158
4051Problem: In a C file with ":set foldmethod=syntax", typing {<CR> on the
4052 last line results in the cursor being in a closed fold. (Gautam
4053 Iyer)
4054Solution: Open fold after inserting a new line.
4055Files: src/edit.c
4056
4057Patch 7.0.159
4058Problem: When there is an I/O error in the swap file the cause of the error
4059 cannot be seen.
4060Solution: Use PERROR() instead of EMSG() where possible.
4061Files: src/memfile.c
4062
4063Patch 7.0.160
4064Problem: ":@a" echoes the command, Vi doesn't do that.
4065Solution: Set the silent flag in the typeahead buffer to avoid echoing the
4066 command.
4067Files: src/ex_docmd.c, src/normal.c, src/ops.c, src/proto/ops.pro
4068
4069Patch 7.0.161
4070Problem: Win32: Tab pages line popup menu isn't using the right encoding.
4071 (Yongwei Wu)
4072Solution: Convert the text when necessary. Also fixes the Find/Replace
4073 dialog title. (Yegappan Lakshmanan)
4074Files: src/gui_w48.c
4075
4076Patch 7.0.162
4077Problem: "vim -o a b" when file "a" triggers the ATTENTION dialog,
4078 selecting "Quit" exits Vim instead of editing "b" only.
4079 When file "b" triggers the ATTENTION dialog selecting "Quit" or
4080 "Abort" results in editing file "a" in that window.
4081Solution: When selecting "Abort" exit Vim. When selecting "Quit" close the
4082 window. Also avoid hit-enter prompt when selecting Abort.
4083Files: src/buffer.c, src/main.c
4084
4085Patch 7.0.163
4086Problem: Can't retrieve the position of a sign after it was set.
4087Solution: Add the netbeans interface getAnno command. (Xavier de Gaye)
4088Files: runtime/doc/netbeans.txt, src/netbeans.c
4089
4090Patch 7.0.164
4091Problem: ":redir @+" doesn't work.
4092Solution: Accept "@+" just like "@*". (Yegappan Lakshmanan)
4093Files: src/ex_docmd.c
4094
4095Patch 7.0.165
4096Problem: Using CTRL-L at the search prompt adds a "/" and other characters
4097 without escaping, causing the pattern not to match.
4098Solution: Escape special characters with a backslash.
4099Files: src/ex_getln.c
4100
4101Patch 7.0.166
4102Problem: Crash in cscope code when connection could not be opened.
4103 (Kaya Bekiroglu)
4104Solution: Check for the file descriptor to be NULL.
4105Files: src/if_cscope.c
4106
4107Patch 7.0.167
4108Problem: ":function" redefining a dict function doesn't work properly.
4109 (Richard Emberson)
4110Solution: Allow a function name to be a number when it's a function
4111 reference.
4112Files: src/eval.c
4113
4114Patch 7.0.168
4115Problem: Using uninitialized memory and memory leak. (Dominique Pelle)
4116Solution: Use alloc_clear() instead of alloc() for w_lines. Free
4117 b_ml.ml_stack after recovery.
4118Files: src/memline.c, src/window.c
4119
4120Patch 7.0.169
4121Problem: With a Visual block selection, with the cursor in the left upper
4122 corner, pressing "I" doesn't remove the highlighting. (Guopeng
4123 Wen)
4124Solution: When checking if redrawing is needed also check if Visual
4125 selection is still active.
4126Files: src/screen.c
4127
4128Patch 7.0.170 (extra)
4129Problem: Win32: Using "gvim --remote-tab foo" when gvim is minimized while
4130 it previously was maximized, un-maximizing doesn't work properly.
4131 And the labels are not displayed properly when 'encoding' is
4132 utf-8.
4133Solution: When minimized check for SW_SHOWMINIMIZED. When updating the tab
4134 pages line use TCM_SETITEMW instead of TCM_INSERTITEMW. (Liu
4135 Yubao)
4136Files: src/gui_w48.c
4137
4138Patch 7.0.171 (extra)
4139Problem: VMS: A file name with multiple paths is written in the wrong file.
4140Solution: Get the actually used file name. (Zoltan Arpadffy)
4141 Also add info to the :version command about compilation.
4142Files: src/Make_vms.mms, src/buffer.c, src/os_unix.c, src/version.c
4143
4144Patch 7.0.172
4145Problem: Crash when recovering and quitting at the "press-enter" prompt.
4146Solution: Check for "msg_list" to be NULL. (Liu Yubao)
4147Files: src/ex_eval.c
4148
4149Patch 7.0.173
4150Problem: ":call f().TT()" doesn't work. (Richard Emberson)
4151Solution: When a function returns a Dictionary or another composite continue
4152 evaluating what follows.
4153Files: src/eval.c
4154
4155Patch 7.0.174
4156Problem: ":mksession" doesn't restore window layout correctly in tab pages
4157 other than the current one. (Zhibin He)
4158Solution: Use the correct topframe for producing the window layout commands.
4159Files: src/ex_docmd.c
4160
4161Patch 7.0.175
4162Problem: The result of tr() is missing the terminating NUL. (Ingo Karkat)
4163Solution: Add the NUL.
4164Files: src/eval.c
4165
4166Patch 7.0.176
4167Problem: ":emenu" isn't executed directly, causing the encryption key
4168 prompt to fail. (Life Jazzer)
4169Solution: Fix wrong #ifdef.
4170Files: src/menu.c
4171
4172Patch 7.0.177
4173Problem: When the press-enter prompt gets a character from a non-remappable
4174 mapping, it's put back in the typeahead buffer as remappable,
4175 which may cause an endless loop.
4176Solution: Restore the non-remappable flag and the silent flag when putting a
4177 char back in the typeahead buffer.
4178Files: src/getchar.c, src/message.c, src/normal.c
4179
4180Patch 7.0.178
4181Problem: When 'enc' is "utf-8" and 'ignorecase' is set the result of ":echo
4182 ("\xe4" == "\xe4")" varies.
4183Solution: In mb_strnicmp() avoid looking past NUL bytes.
4184Files: src/mbyte.c
4185
4186Patch 7.0.179
4187Problem: Using ":recover" or "vim -r" without a swapfile crashes Vim.
4188Solution: Check for "buf" to be unequal NULL. (Yukihiro Nakadaira)
4189Files: src/memline.c
4190
4191Patch 7.0.180 (extra, after 7.0.171)
4192Problem: VMS: build failed. Problem with swapfiles.
4193Solution: Add "compiled_arch". Always expand path and pass it to
4194 buf_modname(). (Zoltan Arpadffy)
4195Files: src/globals.h, src/memline.c, src/os_unix.c, runtime/menu.vim
4196
4197Patch 7.0.181
4198Problem: When reloading a file that starts with an empty line, the reloaded
4199 buffer has an extra empty line at the end. (Motty Lentzitzky)
4200Solution: Delete all lines, don't use bufempty().
4201Files: src/fileio.c
4202
4203Patch 7.0.182
4204Problem: When using a mix of undo and "g-" it may no longer be possible to
4205 go to every point in the undo tree. (Andy Wokula)
4206Solution: Correctly update pointers in the undo tree.
4207Files: src/undo.c
4208
4209Patch 7.0.183
4210Problem: Crash in ":let" when redirecting to a variable that's being
4211 displayed. (Thomas Link)
4212Solution: When redirecting to a variable only do the assignment when
4213 stopping redirection to avoid that setting the variable causes a
4214 freed string to be accessed.
4215Files: src/eval.c
4216
4217Patch 7.0.184
4218Problem: When the cscope program is called "mlcscope" the Cscope interface
4219 doesn't work.
4220Solution: Accept "\S*cscope:" instead of "cscope:". (Frodak D. Baksik)
4221Files: src/if_cscope.c
4222
4223Patch 7.0.185
4224Problem: Multi-byte characters in a message are displayed with attributes
4225 from what comes before it.
4226Solution: Don't use the attributes for a multi-byte character. Do use
4227 attributes for special characters. (Yukihiro Nakadaira)
4228Files: src/message.c
4229
4230Patch 7.0.186
4231Problem: Get an ml_get error when 'encoding' is "utf-8" and searching for
4232 "/\_s*/e" in an empty buffer. (Andrew Maykov)
4233Solution: Don't try getting the line just below the last line.
4234Files: src/search.c
4235
4236Patch 7.0.187
4237Problem: Can't source a remote script properly.
4238Solution: Add the SourceCmd event. (Charles Campbell)
4239Files: runtime/doc/autocmd.txt, src/ex_cmds2.c, src/fileio.c, src/vim.h
4240
4241Patch 7.0.188 (after 7.0.186)
4242Problem: Warning for wrong pointer type.
4243Solution: Add a type cast.
4244Files: src/search.c
4245
4246Patch 7.0.189
4247Problem: Translated message about finding matches is truncated. (Yukihiro
4248 Nakadaira)
4249Solution: Enlarge the buffer. Also use vim_snprintf().
4250Files: src/edit.c
4251
4252Patch 7.0.190
4253Problem: "syntax spell default" results in an error message.
4254Solution: Change 4 to 7 for STRNICMP(). (Raul Nunez de Arenas Coronado)
4255Files: src/syntax.c
4256
4257Patch 7.0.191
4258Problem: The items used by getqflist() and setqflist() don't match.
4259Solution: Support the "bufnum" item for setqflist(). (Yegappan Lakshmanan)
4260Files: runtime/doc/eval.txt, src/quickfix.c
4261
4262Patch 7.0.192
4263Problem: When 'swapfile' is switched off in an empty file it is possible
4264 that not all blocks are loaded into memory, causing ml_get errors
4265 later.
4266Solution: Rename "dont_release" to "mf_dont_release" and also use it to
4267 avoid using the cached line and locked block.
4268Files: src/globals.h, src/memfile.c, src/memline.c
4269
4270Patch 7.0.193
4271Problem: Using --remote or --remote-tab with an argument that matches
4272 'wildignore' causes a crash.
4273Solution: Check the argument count before using ARGLIST[0].
4274Files: src/ex_cmds.c
4275
4276Patch 7.0.194
4277Problem: Once an ml_get error is given redrawing part of the screen may
4278 cause it again, resulting in an endless loop.
4279Solution: Don't give the error message for a recursive call.
4280Files: src/memline.c
4281
4282Patch 7.0.195
4283Problem: When a buffer is modified and 'autowriteall' is set, ":quit"
4284 results in an endless loop when there is a conversion error while
4285 writing. (Nikolai Weibull)
4286Solution: Make autowrite() return FAIL if the buffer is still changed after
4287 writing it.
4288 /* put the cursor on the last char, for 'tw' formatting */
4289Files: src/ex_cmds2.c
4290
4291Patch 7.0.196
4292Problem: When using ":vert ball" the computation of the mouse pointer
4293 position may be off by one column. (Stefan Karlsson)
4294Solution: Recompute the frame width when moving the vertical separator from
4295 one window to another.
4296Files: src/window.c
4297
4298Patch 7.0.197 (extra)
4299Problem: Win32: Compiling with EXITFREE doesn't work.
4300Solution: Adjust a few #ifdefs. (Alexei Alexandrof)
4301Files: src/misc2.c, src/os_mswin.c
4302
4303Patch 7.0.198 (extra)
4304Problem: Win32: Compiler warnings. No need to generate gvim.exe.mnf.
4305Solution: Add type casts. Use "*" for processorArchitecture. (George Reilly)
4306Files: src/Make_mvc.mak, src/eval.c, src/gvim.exe.mnf, src/misc2.c
4307
4308Patch 7.0.199
4309Problem: When using multi-byte characters the combination of completion and
4310 formatting may result in a wrong cursor position.
4311Solution: Don't decrement the cursor column, use dec_cursor(). (Yukihiro
4312 Nakadaira) Also check for the column to be zero.
4313Files: src/edit.c
4314
4315Patch 7.0.200
4316Problem: Memory leaks when out of memory.
4317Solution: Free the memory.
4318Files: src/edit.c, src/diff.c
4319
4320Patch 7.0.201
4321Problem: Message for ":diffput" about buffer not being in diff mode may be
4322 wrong.
4323Solution: Check for buffer in diff mode but not modifiable.
4324Files: src/diff.c
4325
4326Patch 7.0.202
4327Problem: Problems on Tandem systems while compiling and at runtime.
4328Solution: Recognize root uid is 65535. Check select() return value for it
4329 not being supported. Avoid wrong function prototypes. Mention
4330 use of -lfloss. (Matthew Woehlke)
4331Files: src/Makefile, src/ex_cmds.c, src/fileio.c, src/main.c,
4332 src/osdef1.h.in, src/osdef2.h.in, src/os_unix.c, src/pty.c,
4333 src/vim.h
4334
4335Patch 7.0.203
4336Problem: 0x80 characters in a register are not handled correctly for the
4337 "@" command.
4338Solution: Escape CSI and 0x80 characters. (Yukihiro Nakadaira)
4339Files: src/ops.c
4340
4341Patch 7.0.204
4342Problem: Cscope: Parsing matches for listing isn't done properly.
4343Solution: Check for line number being found. (Yu Zhao)
4344Files: src/if_cscope.c
4345
4346Patch 7.0.205 (after 7.0.203)
4347Problem: Can't compile.
4348Solution: Always include the vim_strsave_escape_csi function.
4349Files: src/getchar.c
4350
4351Patch 7.0.206 (after 7.0.058)
4352Problem: Some characters of the "gb18030" encoding are not handled
4353 properly.
4354Solution: Do not use "cp936" as an alias for "gb18030" encoding. Instead
4355 initialize 'encoding' to "cp936".
4356Files: src/mbyte.c, src/option.c
4357
4358Patch 7.0.207
4359Problem: After patch 2.0.203 CSI and K_SPECIAL characters are escaped when
4360 recorded and then again when the register is executed.
4361Solution: Remove escaping before putting the recorded characters in a
4362 register. (Yukihiro Nakadaira)
4363Files: src/getchar.c, src/ops.c, src/proto/getchar.pro
4364
4365Patch 7.0.208 (after 7.0.171 and 7.0.180)
4366Problem: VMS: changes to path handling cause more trouble than they solve.
4367Solution: Revert changes.
4368Files: src/buffer.c, src/memline.c, src/os_unix.c
4369
4370Patch 7.0.209
4371Problem: When replacing a line through Python the cursor may end up beyond
4372 the end of the line.
4373Solution: Check the cursor column after replacing the line.
4374Files: src/if_python.c
4375
4376Patch 7.0.210
4377Problem: ":cbuffer" and ":lbuffer" always fail when the buffer is modified.
4378 (Gary Johnson)
4379Solution: Support adding a !. (Yegappan Lakshmanan)
4380Files: runtime/doc/quickfix.txt, src/ex_cmds.h
4381
4382Patch 7.0.211
4383Problem: With ":set cindent noai bs=0" using CTRL-U in Insert mode will
4384 delete auto-indent. After ":set ai" it doesn't.
4385Solution: Also check 'cindent' being set. (Ryan Lortie)
4386Files: src/edit.c
4387
4388Patch 7.0.212
4389Problem: The GUI can't be terminated with SIGTERM. (Mark Logan)
4390Solution: Use the signal protection in the GUI as in the console, allow
4391 signals when waiting for 100 msec or longer.
4392Files: src/ui.c
4393
4394Patch 7.0.213
4395Problem: When 'spellfile' has two regions that use the same sound folding
4396 using "z=" will cause memory to be freed twice. (Mark Woodward)
4397Solution: Clear the hashtable properly so that the items are only freed once.
4398Files: src/spell.c
4399
4400Patch 7.0.214
4401Problem: When using <f-args> in a user command it's not possible to have an
4402 argument end in '\ '.
4403Solution: Change the handling of backslashes. (Yakov Lerner)
4404Files: runtime/doc/map.txt, src/ex_docmd.c
4405
4406Patch 7.0.215 (extra)
4407Problem: Mac: Scrollbar size isn't set. Context menu has disabled useless
4408 Help entry. Call to MoreMasterPointers() is ignored.
4409Solution: Call SetControlViewSize() in gui_mch_set_scrollbar_thumb(). Use
4410 kCMHelpItemRemoveHelp for ContextualMenuSelect(). Remove call to
4411 MoreMasterPointers(). (Nicolas Weber)
4412Files: src/gui_mac.c
4413
4414Patch 7.0.216
4415Problem: ":tab wincmd ]" does not open a tab page. (Tony Mechelynck)
4416Solution: Copy the cmdmod.tab value to postponed_split_tab and use it.
4417Files: src/globals.h, src/ex_docmd.c, src/if_cscope.c, src/window.c
4418
4419Patch 7.0.217
4420Problem: This hangs when pressing "n": ":%s/\n/,\r/gc". (Ori Avtalion)
4421Solution: Set "skip_match" to advance to the next line.
4422Files: src/ex_cmds.c
4423
4424Patch 7.0.218
4425Problem: "%B" in 'statusline' always shows zero in Insert mode. (DervishD)
4426Solution: Remove the exception for Insert mode, check the column for being
4427 valid instead.
4428Files: src/buffer.c
4429
4430Patch 7.0.219
4431Problem: When using the 'editexisting.vim' script and a file is being
4432 edited in another tab page the window is split. The "+123"
4433 argument is not used.
4434Solution: Make the tab page with the file the current tab page. Set
4435 v:swapcommand when starting up to the first "+123" or "-c" command
4436 line argument.
4437Files: runtime/macros/editexisting.vim, src/main.c
4438
4439Patch 7.0.220
4440Problem: Crash when using winnr('#') in a new tab page. (Andy Wokula)
4441Solution: Check for not finding the window.
4442Files: src/eval.c
4443
4444Patch 7.0.221
4445Problem: finddir() uses 'path' by default, where "." means relative to the
4446 current file. But it works relative to the current directory.
4447 (Tye Zdrojewski)
4448Solution: Add the current buffer name to find_file_in_path_option() for the
4449 relative file name.
4450Files: runtime/doc/eval.txt, src/eval.c
4451
4452Patch 7.0.222
4453Problem: Perl indenting using 'cindent' works almost right.
4454Solution: Recognize '#' to start a comment. (Alex Manoussakis) Added '#'
4455 flag in 'cinoptions'.
4456Files: runtime/doc/indent.txt, src/misc1.c
4457
4458Patch 7.0.223
4459Problem: Unprintable characters in completion text mess up the popup menu.
4460 (Gombault Damien)
4461Solution: Use strtrans() to make the text printable.
4462Files: src/charset.c, src/popupmnu.c
4463
4464Patch 7.0.224
4465Problem: When expanding "##" spaces are escaped twice. (Pavol Juhas)
4466Solution: Don't escape the spaces that separate arguments.
4467Files: src/eval.c, src/ex_docmd.c, src/proto/ex_docmd.pro
4468
4469Patch 7.0.225
4470Problem: When using setline() in an InsertEnter autocommand and doing "A"
4471 the cursor ends up on the last byte in the line. (Yukihiro
4472 Nakadaira)
4473Solution: Only adjust the column when using setline() for the cursor line.
4474 Move it back to the head byte if necessary.
4475Files: src/eval.c, src/misc2.c
4476
4477Patch 7.0.226
4478Problem: Display flickering when updating signs through the netbeans
4479 interface. (Xavier de Gaye)
4480Solution: Remove the redraw_later(CLEAR) call.
4481Files: src/netbeans.c
4482
4483Patch 7.0.227
4484Problem: Crash when closing a window in the GUI. (Charles Campbell)
4485Solution: Don't call out_flush() from win_free().
4486Files: src/window.c
4487
4488Patch 7.0.228
4489Problem: Cygwin: problem with symlink to DOS style path.
4490Solution: Invoke cygwin_conv_to_posix_path(). (Luca Masini)
4491Files: src/os_unix.c
4492
4493Patch 7.0.229
4494Problem: When 'pastetoggle' starts with Esc then pressing Esc in Insert
4495 mode will not time out. (Jeffery Small)
4496Solution: Use KL_PART_KEY instead of KL_PART_MAP, so that 'ttimeout' applies
4497 to the 'pastetoggle' key.
4498Files: src/getchar.c
4499
4500Patch 7.0.230
4501Problem: After using ":lcd" a script doesn't know how to restore the
4502 current directory.
4503Solution: Add the haslocaldir() function. (Bob Hiestand)
4504Files: runtime/doc/usr_41.txt, runtime/doc/eval.txt, src/eval.c
4505
4506Patch 7.0.231
4507Problem: When recovering from a swap file the page size is likely to be
4508 different from the minimum. The block used for the first page
4509 then has a buffer of the wrong size, causing a crash when it's
4510 reused later. (Zephaniah Hull)
4511Solution: Reallocate the buffer when the page size changes. Also check that
4512 the page size is at least the minimum value.
4513Files: src/memline.c
4514
4515Patch 7.0.232 (extra)
4516Problem: Mac: doesn't support GUI tab page labels.
4517Solution: Add GUI tab page labels. (Nicolas Weber)
4518Files: src/feature.h, src/gui.c, src/gui.h, src/gui_mac.c,
4519 src/proto/gui_mac.pro
4520
4521Patch 7.0.233 (extra)
4522Problem: Mac: code formatted badly.
4523Solution: Fix code formatting
4524Files: src/gui_mac.c
4525
4526Patch 7.0.234
4527Problem: It's possible to use feedkeys() from a modeline. That is a
4528 security issue, can be used for a trojan horse.
4529Solution: Disallow using feedkeys() in the sandbox.
4530Files: src/eval.c
4531
4532Patch 7.0.235
4533Problem: It is possible to use writefile() in the sandbox.
4534Solution: Add a few more checks for the sandbox.
4535Files: src/eval.c
4536
4537Patch 7.0.236
4538Problem: Linux 2.4 uses sysinfo() with a mem_unit field, which is not
4539 backwards compatible.
4540Solution: Add an autoconf check for sysinfo.mem_unit. Let mch_total_mem()
4541 return Kbyte to avoid overflow.
4542Files: src/auto/configure, src/configure.in, src/config.h.in,
4543 src/option.c, src/os_unix.c
4544
4545Patch 7.0.237
4546Problem: For root it is recommended to not use 'modeline', but in
4547 not-compatible mode the default is on.
4548Solution: Let 'modeline' default to off for root.
4549Files: runtime/doc/options.txt, src/option.c
4550
4551Patch 7.0.238
4552Problem: Crash when ":match" pattern runs into 'maxmempattern'. (Yakov
4553 Lerner)
4554Solution: Don't free the regexp program of match_hl.
4555Files: src/screen.c
4556
4557Patch 7.0.239
4558Problem: When using local directories and tab pages ":mksession" uses a
4559 short file name when it shouldn't. Window-local options from a
4560 modeline may be applied to the wrong window. (Teemu Likonen)
4561Solution: Add the did_lcd flag, use the full path when it's set. Don't use
4562 window-local options from the modeline when using the current
4563 window for another buffer in ":doautoall".
4564Files: src/fileio.c, src/ex_docmd.c
4565
4566Patch 7.0.240
4567Problem: Crash when splitting a window in the GUI. (opposite of 7.0.227)
4568Solution: Don't call out_flush() from win_alloc(). Also avoid this for
4569 win_delete(). Also block autocommands while the window structure
4570 is invalid.
4571Files: src/window.c
4572
4573Patch 7.0.241
4574Problem: ":windo throw 'foo'" loops forever. (Andy Wokula)
4575Solution: Detect that win_goto() doesn't work.
4576Files: src/ex_cmds2.c
4577
4578Patch 7.0.242 (extra)
4579Problem: Win32: Using "-register" in a Vim that does not support OLE causes
4580 a crash.
4581Solution: Don't use EMSG() but mch_errmsg(). Check p_go for being NULL.
4582 (partly by Michael Wookey)
4583Files: src/gui_w32.c
4584
4585Patch 7.0.243 (extra)
4586Problem: Win32: When GvimExt is built with MSVC 2005 or later, the "Edit
4587 with vim" context menu doesn't appear in the Windows Explorer.
4588Solution: Embed the linker manifest file into the resources of GvimExt.dll.
4589 (Mathias Michaelis)
4590Files: src/GvimExt/Makefile
4591
4592
Bram Moolenaar49325942007-05-10 19:19:59 +00004593Fixes after Vim 7.1a BETA:
4594
4595The extra archive had CVS directories included below "farsi" and
4596"runtime/icons". CVS was missing the farsi icon files.
4597
4598Fix compiling with Gnome 2.18, undefine bind_textdomain_codeset. (Daniel
4599Drake)
4600
4601Mac: "make install" didn't copy rgb.txt.
4602
4603When editing a compressed file while there are folds caused "ml_get" errors
4604and some lines could be missing. When decompressing failed option values were
4605not restored.
4606
4607
4608Patch 7.1a.001
4609Problem: Crash when downloading a spell file. (Szabolcs Horvat)
4610Solution: Avoid that did_set_spelllang() is used recursively when a new
4611 window is opened for the download.
4612 Also avoid wiping out the wrong buffer.
4613Files: runtime/autoload/spellfile.vim, src/buffer.c, src/ex_cmds.c,
4614 src/spell.c
4615
4616Patch 7.1a.002 (extra)
4617Problem: Compilation error with MingW.
4618Solution: Check for LPTOOLTIPTEXT to be defined.
4619Files: src/gui_w32.c
4620
4621
Bram Moolenaarb2a460d2007-05-12 15:16:37 +00004622Fixes after Vim 7.1b BETA:
4623
4624Made the Mzscheme interface build both with old and new versions of Mzscheme,
4625using an #ifdef. (Sergey Khorev)
4626Mzscheme interface didn't link, missing function. Changed order of libraries
4627in the configure script.
4628
4629Ruby interface didn't compile on Mac. Changed #ifdef. (Kevin Ballard)
4630
4631Patch 7.1b.001 (extra)
4632Problem: Random text in a source file. No idea how it got there.
4633Solution: Delete the text.
4634Files: src/gui_w32.c
4635
4636Patch 7.1b.002
4637Problem: When 'maxmem' is large there can be an overflow in computations.
4638 (Thomas Wiegner)
4639Solution: Use the same mechanism as in mch_total_mem(): first reduce the
4640 multiplier as much as possible.
4641Files: src/memfile.c
4642
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004643==============================================================================
Bram Moolenaar7a329912010-05-21 12:05:36 +02004644VERSION 7.2 *version-7.2* *version7.2*
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004645
4646This section is about improvements made between version 7.1 and 7.2.
4647
4648This is mostly a bug-fix release. The main new feature is floating point
4649support. |Float|
4650
4651
4652Changed *changed-7.2*
4653-------
4654
4655Changed the command line buffer name from "command-line" to "[Command Line]".
4656
4657Removed optional ! for ":caddexpr", ":cgetexpr", ":cgetfile", ":laddexpr",
4658":lgetexpr" and ":lgetfile". They are not needed. (Yegappan Lakshmanan)
4659
4660An offset for syntax matches worked on bytes instead of characters. That is
4661inconsistent and can easily be done wrong. Use character offsets now.
4662(Yukihiro Nakadaira)
4663
4664The FileChangedShellPost event was also given when a file didn't change.
4665(John Little)
4666
4667When the current line is long (doesn't fit) the popup menu can't be seen.
4668Display it below the screen line instead of below the text line.
4669(Francois Ingelrest)
4670
4671Switched to autoconf version 2.62.
4672
4673Moved including fcntl.h to vim.h and removed it from all .c files.
4674
4675Introduce macro STRMOVE(d, s), like STRCPY() for overlapping strings.
4676Use it instead of mch_memmove(p, p + x, STRLEN(p + x) + 1).
4677
Bram Moolenaarc236c162008-07-13 17:41:49 +00004678Removed the bulgarian.vim keymap file, two more standard ones replace it.
4679(Boyko Bantchev)
4680
4681Increased the maximum number of tag matches for command line completion from
4682200 to 300.
4683
Bram Moolenaared39e1d2008-08-09 17:55:22 +00004684Renamed help file sql.txt to ft_sql.txt and ada.txt to ft_ada.txt.
4685
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004686
4687Added *added-7.2*
4688-----
4689
4690New syntax files:
Bram Moolenaarc236c162008-07-13 17:41:49 +00004691 CUDA (Timothy B. Terriberry)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004692 Cdrdao config (Nikolai Weibull)
4693 Coco/R (Ashish Shukla)
Bram Moolenaared39e1d2008-08-09 17:55:22 +00004694 Denyhosts config (Nikolai Weibull)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004695 Dtrace script (Nicolas Weber)
4696 Git output, commit, config, rebase, send-email (Tim Pope)
Bram Moolenaarc236c162008-07-13 17:41:49 +00004697 HASTE and HastePreProc (M. Tranchero)
4698 Haml (Tim Pope)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004699 Host conf (Nikolai Weibull)
4700 Linden script (Timo Frenay)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004701 MS messages (Kevin Locke)
4702 PDF (Tim Pope)
4703 ProMeLa (Maurizio Tranchero)
4704 Reva Foth (Ron Aaron)
Bram Moolenaarc236c162008-07-13 17:41:49 +00004705 Sass (Tim Pope)
4706 Symbian meta-makefile, MMP (Ron Aaron)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004707 VOS CM macro (Andrew McGill)
4708 XBL (Doug Kearns)
4709
4710New tutor files:
4711 Made UTF-8 versions of all the tutor files.
4712 Greek renamed from ".gr" to ".el" (Greek vs Greece).
4713 Esperanto (Dominique Pelle)
4714 Croatian (Paul B. Mahol)
4715
4716New filetype plugins:
4717 Cdrdao config (Nikolai Weibull)
4718 Debian control files (Debian Vim maintainers)
4719 Denyhosts (Nikolai Weibull)
4720 Dos .ini file (Nikolai Weibull)
4721 Dtrace script (Nicolas Weber)
Bram Moolenaared39e1d2008-08-09 17:55:22 +00004722 FnameScript (Nikolai Weibull)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004723 Git, Git config, Git commit, Git rebase, Git send-email (Tim Pope)
Bram Moolenaarc236c162008-07-13 17:41:49 +00004724 Haml (Tim Pope)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004725 Host conf (Nikolai Weibull)
Bram Moolenaared39e1d2008-08-09 17:55:22 +00004726 Host access (Nikolai Weibull)
Bram Moolenaarc236c162008-07-13 17:41:49 +00004727 Logtalk (Paulo Moura)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004728 MS messages (Kevin Locke)
Bram Moolenaared39e1d2008-08-09 17:55:22 +00004729 NSIS script (Nikolai Weibull)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004730 PDF (Tim Pope)
4731 Reva Forth (Ron Aaron)
Bram Moolenaarc236c162008-07-13 17:41:49 +00004732 Sass (Tim Pope)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004733
4734New indent files:
Bram Moolenaared39e1d2008-08-09 17:55:22 +00004735 DTD (Nikolai Weibull)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004736 Dtrace script (Nicolas Weber)
4737 Erlang (Csaba Hoch)
Bram Moolenaared39e1d2008-08-09 17:55:22 +00004738 FrameScript (Nikolai Weibull)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004739 Git config (Tim Pope)
Bram Moolenaarc236c162008-07-13 17:41:49 +00004740 Haml (Tim Pope)
4741 Logtalk (Paulo Moura)
4742 Sass (Tim Pope)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004743 Tiny Fugue (Christian J. Robinson)
4744
Bram Moolenaarc236c162008-07-13 17:41:49 +00004745New compiler plugins:
4746 RSpec (Tim Pope)
4747
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004748New keymap files:
4749 Croatian (Paul B. Mahol)
4750 Russian Dvorak (Serhiy Boiko)
4751 Ukrainian Dvorak (Serhiy Boiko)
Bram Moolenaarc236c162008-07-13 17:41:49 +00004752 Removed plain Bulgarian, "bds" and phonetic are sufficient.
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004753
4754Other new runtime files:
Bram Moolenaared39e1d2008-08-09 17:55:22 +00004755 Esperanto menu and message translations. (Dominique Pelle)
4756 Finnish menu and message translations. (Flammie Pirinen)
Bram Moolenaar6dfc28b2010-02-11 14:19:15 +01004757 Brazilian Portuguese message translations. (Eduardo Dobay)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004758
4759Added floating point support. |Float|
4760
4761Added argument to mode() to return a bit more detail about the current mode.
4762(Ben Schmidt)
4763
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +01004764Added support for BSD console mouse: |sysmouse|. (Paul B. Mahol)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004765
4766Added the "newtab" value for the 'switchbuf' option. (partly by Yegappan
4767Lakshmanan)
4768
4769Improved error messages for the netbeans interface. (Philippe Fremy)
4770
4771Added support for using xterm mouse codes for screen. (Micah Cowan)
4772
4773Added support for cross compiling:
4774Adjusted configure.in and added INSTALLcross.txt. (Marc Haisenko) Fixed
4775mistakes in configure.in after that.
4776Don't use /usr/local/include and /usr/local/lib in configure. (Philip
4777Prindeville)
4778For cross compiling the Cygwin version on Unix, change VIM.TLB to vim.tlb in
4779src/vim.rc. (Tsuneo Nakagawa)
4780
4781Added v:searchforward variable: What direction we're searching in. (Yakov
4782Lerner)
4783
4784
4785Fixed *fixed-7.2*
4786-----
4787
4788Patch 7.1.001
4789Problem: Still can't build with Gnome libraries.
4790Solution: Fix typo in bind_textdomain_codeset. (Mike Kelly)
4791Files: src/gui_gtk.c, src/gui_gtk_x11.c
4792
4793Patch 7.1.002
4794Problem: Oracle Pro*C/C++ files are not detected.
4795Solution: Add the missing star. (Micah J. Cowan)
4796Files: runtime/filetype.vim
4797
4798Patch 7.1.003 (extra)
4799Problem: The "Tear off this menu" message appears in the message history
4800 when using a menu. (Yongwei Wu)
4801Solution: Disable message history when displaying the menu tip.
4802Files: src/gui_w32.c
4803
4804Patch 7.1.004
4805Problem: Crash when doing ":next directory". (Raphael Finkel)
4806Solution: Do not use "buf", it may be invalid after autocommands.
4807Files: src/ex_cmds.c
4808
4809Patch 7.1.005
4810Problem: "cit" used on <foo></foo> deletes <foo>. Should not delete
4811 anything and start insertion, like "ci'" does on "". (Michal
4812 Bozon)
4813Solution: Handle an empty object specifically. Made it work consistent for
4814 various text objects.
4815Files: src/search.c
4816
4817Patch 7.1.006
4818Problem: Resetting 'modified' in a StdinReadPost autocommand doesn't work.
4819Solution: Set 'modified' before the autocommands instead of after it.
4820Files: src/buffer.c
4821
4822Patch 7.1.007 (extra)
4823Problem: Mac: Context menu doesn't work on Intel Macs.
4824 Scrollbars are not dimmed when Vim is not the active application.
4825Solution: Remove the test whether context menus are supported. They are
4826 always there in OS/X. Handle the dimming. (Nicolas Weber)
4827Files: src/gui_mac.c, src/gui.h
4828
4829Patch 7.1.008
4830Problem: getfsize() returns a negative number for very big files.
4831Solution: Check for overflow and return -2.
4832Files: runtime/doc/eval.txt, src/eval.c
4833
4834Patch 7.1.009
4835Problem: In diff mode, displaying the difference between a tab and spaces
4836 is not highlighted correctly.
4837Solution: Only change highlighting at the end of displaying a tab.
4838Files: src/screen.c
4839
4840Patch 7.1.010
4841Problem: The Gnome session file doesn't restore tab pages.
4842Solution: Add SSOP_TABPAGES to the session flags. (Matias D'Ambrosio)
4843Files: src/gui_gtk_x11.c
4844
4845Patch 7.1.011
4846Problem: Possible buffer overflow when $VIMRUNTIME is very long. (Victor
4847 Stinner)
4848Solution: Use vim_snprintf().
4849Files: src/main.c
4850
4851Patch 7.1.012
4852Problem: ":let &shiftwidth = 'asdf'" doesn't produce an error message.
4853Solution: Check for a string argument. (Chris Lubinski)
4854Files: src/option.c
4855
4856Patch 7.1.013
4857Problem: ":syn include" only loads the first file, while it is documented
4858 as doing the equivalent of ":runtime!".
4859Solution: Change the argument to source_runtime(). (James Vega)
4860Files: src/syntax.c
4861
4862Patch 7.1.014
4863Problem: Crash when doing C indenting. (Chris Monson)
4864Solution: Obtain the current line again after invoking cin_islabel().
4865Files: src/edit.c
4866
4867Patch 7.1.015
4868Problem: MzScheme interface: current-library-collection-paths produces no
4869 list. Interface doesn't build on a Mac.
4870Solution: Use a list instead of a pair. (Bernhard Fisseni) Use "-framework"
4871 argument for MZSCHEME_LIBS in configure.
4872Files: src/configure.in, src/if_mzsch.c, src/auto/configure
4873
4874Patch 7.1.016 (after patch 7.1.012)
4875Problem: Error message about setting 'diff' to a string.
4876Solution: Don't pass an empty string to set_option_value() when setting
4877 'diff'.
4878Files: src/quickfix.c, src/popupmnu.c
4879
4880Patch 7.1.017
4881Problem: ":confirm w" does give a prompt when 'readonly' is set, but not
4882 when the file permissions are read-only. (Michael Schaap)
4883Solution: Provide a dialog in both situations. (Chris Lubinski)
4884Files: src/ex_cmds.c, src/fileio.c, src/proto/fileio.pro
4885
4886Patch 7.1.018
4887Problem: When 'virtualedit' is set a "p" of a block just past the end of
4888 the line inserts before the cursor. (Engelke)
4889Solution: Check for the cursor being just after the line (Chris Lubinski)
4890Files: src/ops.c
4891
4892Patch 7.1.019
4893Problem: ":py" asks for an argument, ":py asd" then gives the error that
4894 ":py" isn't implemented. Should already happen for ":py".
4895Solution: Compare with ex_script_ni. (Chris Lubinski)
4896Files: src/ex_docmd.c
4897
4898Patch 7.1.020
4899Problem: Reading from uninitialized memory when using a dialog. (Dominique
4900 Pelle)
4901Solution: In msg_show_console_dialog() append a NUL after every appended
4902 character.
4903Files: src/message.c
4904
4905Patch 7.1.021 (after 7.1.015)
4906Problem: Mzscheme interface doesn't compile on Win32.
4907Solution: Fix the problem that 7.1.015 fixed in a better way. (Sergey Khorev)
4908Files: src/if_mzsch.c
4909
4910Patch 7.1.022
4911Problem: When setting 'keymap' twice the b:keymap_name variable isn't set.
4912 (Milan Berta)
4913Solution: Don't unlet b:keymap_name for ":loadkeymap". (Martin Toft)
4914Files: src/digraph.c
4915
4916Patch 7.1.023
4917Problem: "dw" in a line with one character deletes the line. Vi and nvi
4918 don't do this. (Kjell Arne Rekaa)
4919Solution: Check for one-character words especially.
4920Files: src/search.c
4921
4922Patch 7.1.024
4923Problem: Using a pointer that has become invalid. (Chris Monson)
4924Solution: Obtain the line pointer again after we looked at another line.
4925Files: src/search.c
4926
4927Patch 7.1.025
4928Problem: search() and searchpos() don't use match under cursor at start of
4929 line when using 'bc' flags. (Viktor Kojouharov)
4930Solution: Don't go to the previous line when the 'c' flag is present.
4931 Also fix that "j" doesn't move the cursor to the right column.
4932Files: src/eval.c, src/search.c
4933
4934Patch 7.1.026
4935Problem: "[p" doesn't work in Visual mode. (David Brown)
4936Solution: Use checkclearop() instead of checkclearopq().
4937Files: src/normal.c
4938
4939Patch 7.1.027
4940Problem: On Sun systems opening /dev/fd/N doesn't work, and they are used
4941 by process substitutions.
4942Solution: Allow opening specific character special files for Sun systems.
4943 (Gary Johnson)
4944Files: src/fileio.c, src/os_unix.h
4945
4946Patch 7.1.028
4947Problem: Can't use last search pattern for ":sort". (Brian McKee)
Bram Moolenaar6dfc28b2010-02-11 14:19:15 +01004948Solution: When the pattern is empty use the last search pattern. (Martin
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004949 Toft)
4950Files: runtime/doc/change.txt, src/ex_cmds.c
4951
4952Patch 7.1.029 (after 7.1.019)
4953Problem: Can't compile when all interfaces are used. (Taylor Venable)
4954Solution: Only check for ex_script_ni when it's defined.
4955Files: src/ex_docmd.c
4956
4957Patch 7.1.030
4958Problem: The "vimtutor" shell script checks for "vim6" but not for "vim7".
4959 (Christian Robinson)
4960Solution: Check for more versions, but prefer using "vim".
4961Files: src/vimtutor
4962
4963Patch 7.1.031
4964Problem: virtcol([123, '$']) doesn't work. (Michael Schaap)
4965Solution: When '$' is used for the column number get the last column.
4966Files: runtime/doc/eval.txt, src/eval.c
4967
4968Patch 7.1.032
4969Problem: Potential crash when editing a command line. (Chris Monson)
4970Solution: Check the position to avoid access before the start of an array.
4971Files: src/ex_getln.c
4972
4973Patch 7.1.033
4974Problem: A buffer is marked modified when it was first deleted and then
4975 added again using a ":next" command. (John Mullin)
4976Solution: When checking if a buffer is modified use the BF_NEVERLOADED flag.
4977Files: src/option.c
4978
4979Patch 7.1.034
4980Problem: Win64: A few compiler warnings. Problems with optimizer.
4981Solution: Use int instead of size_t. Disable the optimizer in one function.
4982 (George V. Reilly)
4983Files: src/eval.c, src/spell.c
4984
4985Patch 7.1.035
4986Problem: After ":s/./&/#" all listed lines have a line number. (Yakov
4987 Lerner)
4988Solution: Reset the line number flag when not using the "&" flag.
4989Files: src/ex_cmds.c
4990
4991Patch 7.1.036
4992Problem: Completing ":echohl" argument should include "None". (Ori
4993 Avtalion) ":match" should have "none" too.
4994Solution: Add flags to use expand_highlight(). Also fix that when disabling
4995 FEAT_CMDL_COMPL compilation fails. (Chris Lubinski)
4996Files: src/eval.c, src/ex_docmd.c, src/ex_getln.c, src/proto/syntax.pro
4997 src/syntax.c
4998
4999Patch 7.1.037
5000Problem: strcpy() used for overlapping strings. (Chris Monson)
5001Solution: Use mch_memmove() instead.
5002Files: src/option.c
5003
5004Patch 7.1.038
5005Problem: When 'expandtab' is set then a Tab copied for 'copyindent' is
5006 expanded to spaces, even when 'preserveindent' is set. (Alexei
5007 Alexandrov)
5008Solution: Remove the check for 'expandtab'. Also fix that ">>" doesn't obey
5009 'preserveindent'. (Chris Lubinski)
5010Files: src/misc1.c
5011
5012Patch 7.1.039
5013Problem: A tag in a help file that starts with "help-tags" and contains a
5014 percent sign may make Vim crash. (Ulf Harnhammar)
5015Solution: Use puts() instead of fprintf().
5016Files: src/ex_cmds.c
5017
5018Patch 7.1.040
5019Problem: ":match" only supports three matches.
5020Solution: Add functions clearmatches(), getmatches(), matchadd(),
5021 matchdelete() and setmatches(). Changed the data structures for
5022 this. A small bug in syntax.c is fixed, so newly created
5023 highlight groups can have their name resolved correctly from their
5024 ID. (Martin Toft)
5025Files: runtime/doc/eval.txt, runtime/doc/pattern.txt,
5026 runtime/doc/usr_41.txt, src/eval.c, src/ex_docmd.c,
5027 src/proto/window.pro, src/screen.c, src/structs.h, src/syntax.c,
5028 src/testdir/Makefile, src/testdir/test63.in,
5029 src/testdir/test63.ok, src/window.c
5030
5031Patch 7.1.041 (extra, after 7.1.040)
5032Problem: Some changes for patch 7.1.040 are in extra files.
5033Solution: Update the extra files.
5034Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
5035 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms
5036
5037Patch 7.1.042 (after 7.1.040)
5038Problem: Internal error when using matchadd(). (David Larson)
5039Solution: Check the third argument to be present before using the fourth
5040 argument. (Martin Toft)
5041Files: src/eval.c
5042
5043Patch 7.1.043
5044Problem: In Ex mode using CTRL-D twice may cause a crash. Cursor isn't
5045 positioned properly after CTRL-D.
5046Solution: Set prev_char properly. Position the cursor correctly. (Antony
5047 Scriven)
5048Files: src/ex_getln.c
5049
5050Patch 7.1.044
5051Problem: In Insert mode 0 CTRL-T deletes all indent, it should add indent.
5052 (Gautam Iyer)
5053Solution: Check for CTRL-D typed.
5054Files: src/edit.c
5055
5056Patch 7.1.045
5057Problem: Unnecessary screen redrawing. (Jjgod Jiang)
5058Solution: Reset "must_redraw" after clearing the screen.
5059Files: src/screen.c
5060
5061Patch 7.1.046
5062Problem: ":s" command removes combining characters. (Ron Aaron)
5063Solution: Copy composing characters individually. (Chris Lubinski)
5064Files: src/regexp.c
5065
5066Patch 7.1.047
5067Problem: vim_regcomp() called with invalid argument. (Xiaozhou Liu)
5068Solution: Change TRUE to RE_MAGIC + RE_STRING.
5069Files: src/ex_eval.c
5070
5071Patch 7.1.048
5072Problem: The matchparen plugin doesn't update the match when scrolling with
5073 the mouse wheel. (Ilya Bobir)
5074Solution: Set the match highlighting for text that can be scrolled into the
5075 viewable area without moving the cursor. (Chris Lubinski)
5076Files: runtime/plugin/matchparen.vim
5077
5078Patch 7.1.049
5079Problem: Cannot compile GTK2 version with Hangul input feature.
5080Solution: Don't define FEAT_XFONTSET when using GTK2.
5081Files: src/feature.h
5082
5083Patch 7.1.050
5084Problem: Possible crash when using C++ indenting. (Chris Monson)
5085Solution: Keep the line pointer to the line to compare with. Avoid going
5086 past the end of line.
5087Files: src/misc1.c
5088
5089Patch 7.1.051
5090Problem: Accessing uninitialized memory when finding spell suggestions.
5091Solution: Don't try swapping characters at the end of a word.
5092Files: src/spell.c
5093
5094Patch 7.1.052
5095Problem: When creating a new match not all fields are initialized, which
5096 may lead to unpredictable results.
5097Solution: Initialise rmm_ic and rmm_maxcol.
5098Files: src/window.c
5099
5100Patch 7.1.053
5101Problem: Accessing uninitialized memory when giving a message.
5102Solution: Check going the length before checking for a NUL byte.
5103Files: src/message.c
5104
5105Patch 7.1.054
5106Problem: Accessing uninitialized memory when displaying the fold column.
5107Solution: Add a NUL to the extra array. (Dominique Pelle). Also do this in
5108 a couple of other situations.
5109Files: src/screen.c
5110
5111Patch 7.1.055
5112Problem: Using strcpy() with arguments that overlap.
5113Solution: Use mch_memmove() instead.
5114Files: src/buffer.c, src/charset.c, src/eval.c, src/ex_getln.c,
5115 src/misc1.c, src/regexp.c, src/termlib.c
5116
5117Patch 7.1.056
5118Problem: More prompt does not behave correctly after scrolling back.
5119 (Randall W. Morris)
5120Solution: Avoid lines_left becomes negative. (Chris Lubinski) Don't check
5121 mp_last when deciding to show the more prompt. (Martin Toft)
5122Files: src/message.c
5123
5124Patch 7.1.057
5125Problem: Problem with CursorHoldI when using "r" in Visual mode (Max
5126 Dyckhoff)
5127Solution: Ignore CursorHold(I) when getting a second character for a Normal
5128 mode command. Also abort the "r" command in Visual when a special
5129 key is typed.
5130Files: src/normal.c
5131
5132Patch 7.1.058
5133Problem: When 'rightleft' is set the completion menu is positioned wrong.
5134 (Baha-Eddine MOKADEM)
5135Solution: Fix the completion menu. (Martin Toft)
5136Files: src/popupmnu.c, src/proto/search.pro, src/search.c
5137
5138Patch 7.1.059
5139Problem: When in Ex mode and doing "g/^/vi" and then pressing CTRL-C Vim
5140 hangs and beeps. (Antony Scriven)
5141Solution: Clear "got_int" in the main loop to avoid the hang. When typing
5142 CTRL-C twice in a row abort the ":g" command. This is Vi
5143 compatible.
5144Files: src/main.c
5145
5146Patch 7.1.060
5147Problem: Splitting quickfix window messes up window layout. (Marius
5148 Gedminas)
5149Solution: Compute the window size in a smarter way. (Martin Toft)
5150Files: src/window.c
5151
5152Patch 7.1.061
5153Problem: Win32: When 'encoding' is "latin1" 'ignorecase' doesn't work for
5154 characters with umlaut. (Joachim Hofmann)
5155Solution: Do not use islower()/isupper()/tolower()/toupper() but our own
5156 functions. (Chris Lubinski)
5157Files: src/mbyte.c, src/regexp.c, src/vim.h
5158
5159Patch 7.1.062 (after 7.1.038)
5160Problem: Indents of C comments can be wrong. (John Mullin)
5161Solution: Adjust ind_len. (Chris Lubinski)
5162Files: src/misc1.c
5163
5164Patch 7.1.063 (after 7.1.040)
Bram Moolenaarc236c162008-07-13 17:41:49 +00005165Problem: Warning for uninitialized variable.
Bram Moolenaar8c8de832008-06-24 22:58:06 +00005166Solution: Initialise it to NULL.
5167Files: src/ex_docmd.c
5168
5169Patch 7.1.064
5170Problem: On Interix some files appear not to exist.
5171Solution: Remove the top bit from st_mode. (Ligesh)
5172Files: src/os_unix.c
5173
5174Patch 7.1.065 (extra)
5175Problem: Win32: Compilation problem for newer version of w32api.
5176Solution: Only define __IID_DEFINED__ when needed. (Chris Sutcliffe)
5177Files: src/Make_ming.mak, src/iid_ole.c
5178
5179Patch 7.1.066
5180Problem: When 'bomb' is set or reset the file should be considered
5181 modified. (Tony Mechelynck)
5182Solution: Handle like 'endofline'. (Martin Toft)
5183Files: src/buffer.c, src/fileio.c, src/option.c, src/structs.h
5184
5185Patch 7.1.067
5186Problem: 'thesaurus' doesn't work when 'infercase' is set. (Mohsin)
5187Solution: Don't copy the characters being completed but check the case and
5188 apply it to the suggested word. Also fix that the first word in
5189 the thesaurus line is not used. (Martin Toft)
5190Files: src/edit.c
5191
5192Patch 7.1.068
5193Problem: When 'equalalways' is set and splitting a window, it's possible
5194 that another small window gets bigger.
5195Solution: Only equalize window sizes when after a split the windows are
5196 smaller than another window. (Martin Toft)
5197Files: runtime/doc/options.txt, runtime/doc/windows.txt, src/window.c
5198
5199Patch 7.1.069
5200Problem: GTK GUI: When using confirm() without a default button there still
5201 is a default choice.
5202Solution: Ignore Enter and Space when there is no default button. (Chris
5203 Lubinski)
5204Files: src/gui_gtk.c
5205
5206Patch 7.1.070 (extra)
5207Problem: Win32 GUI: When using confirm() without a default button there
5208 still is a default choice.
5209Solution: Set focus on something else than a button. (Chris Lubinski)
5210Files: src/gui_w32.c
5211
5212Patch 7.1.071 (after 7.1.040)
5213Problem: Regexp patterns are not tested.
5214Solution: Add a basic test, to be expanded later.
5215 Also add (commented-out) support for valgrind.
5216Files: src/testdir/Makefile, src/testdir/test64.in, src/testdir/test64.ok
5217
5218Patch 7.1.072 (extra, after 7.1.041 and 7.1.071)
5219Problem: Some changes for patch 7.1.071 are in extra files.
5220Solution: Update the extra files. Also fix a few warnings from the DOS test
5221 makefile.
5222Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
5223 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms
5224
5225Patch 7.1.073 (after 7.1.062)
5226Problem: Wrong cursor position and crash when 'preserveindent' is set.
5227 (Charles Campbell)
5228Solution: Handle the situation that we start without indent. (Chris
5229 Lubinski)
5230Files: src/misc1.c
5231
5232Patch 7.1.074
Bram Moolenaarc236c162008-07-13 17:41:49 +00005233Problem: Crash when calling string() on a recursively nested List.
Bram Moolenaar8c8de832008-06-24 22:58:06 +00005234Solution: Check result value for being NULL. (Yukihiro Nakadaira)
5235Files: src/eval.c
5236
5237Patch 7.1.075
5238Problem: ":let v:statusmsg" reads memory already freed.
5239Solution: Don't set v:statusmsg when listing it.
5240Files: src/eval.c
5241
5242Patch 7.1.076
5243Problem: Another strcpy() with overlapping arguments.
5244Solution: Use mch_memmove(). (Dominique Pelle) And another one.
5245Files: src/ex_docmd.c, src/normal.c
5246
5247Patch 7.1.077
5248Problem: Using "can_spell" without initializing it. (Dominique Pelle)
5249Solution: Set a default for get_syntax_attr().
5250Files: src/syntax.c
5251
5252Patch 7.1.078
5253Problem: Dropping a file name on gvim that contains a CSI byte doesn't work
5254 when editing the command line.
5255Solution: Escape the CSI byte when inserting in the input buffer. (Yukihiro
5256 Nakadaira)
5257Files: src/gui.c, src/ui.c
5258
5259Patch 7.1.079
5260Problem: When the locale is "C" and 'encoding' is "latin1" then the "@"
5261 character in 'isfname', 'isprint', etc. doesn't pick up accented
5262 characters.
5263Solution: Instead of isalpha() use MB_ISLOWER() and MB_ISUPPER().
5264Files: src/charset.c, src/macros.h
5265
5266Patch 7.1.080 (extra)
5267Problem: Compiler warnings for using "const char *" for "char *".
5268Solution: Add type casts. (Chris Sutcliffe)
5269Files: src/GvimExt/gvimext.cpp
5270
5271Patch 7.1.081
5272Problem: Command line completion for a shell command: "cat </tmp/file<Tab>"
5273 doesn't work.
5274Solution: Start the file name at any character that can't be in a file name.
5275 (Martin Toft)
5276Files: src/ex_docmd.c
5277
5278Patch 7.1.082
5279Problem: After a ":split" the matchparen highlighting isn't there.
5280Solution: Install a WinEnter autocommand. Also fixes that after
5281 ":NoMatchParen" only the current window is updated. (Martin Toft)
5282Files: runtime/doc/pi_paren.txt, runtime/plugin/matchparen.vim
5283
5284Patch 7.1.083 (after 7.1.081)
5285Problem: Command line completion doesn't work with wildcards.
5286Solution: Add vim_isfilec_or_wc() and use it. (Martin Toft)
5287Files: src/charset.c, src/proto/charset.pro, src/ex_docmd.c
5288
5289Patch 7.1.084
5290Problem: Using the "-nb" argument twice causes netbeans not to get
5291 fileOpened events.
5292Solution: Change "&" to "&&". (Xavier de Gaye)
5293Files: src/ex_cmds.c
5294
5295Patch 7.1.085
5296Problem: ":e fold.c" then ":sp fold.c" results in folds of original window
5297 to disappear. (Akita Noek)
5298Solution: Invoke foldUpdateAll() for all windows of the changed buffer.
5299 (Martin Toft)
5300Files: src/ex_cmds.c
5301
5302Patch 7.1.086
5303Problem: Crash when using specific Python syntax highlighting. (Quirk)
5304Solution: Check for a negative index, coming from a keyword match at the
5305 start of a line from a saved state.
5306Files: src/syntax.c
5307
5308Patch 7.1.087
5309Problem: Reading past ":cscope find" command. Writing past end of a buffer.
5310Solution: Check length of the argument before using the pattern. Use
5311 vim_strncpy(). (Dominique Pelle)
5312Files: if_cscope.c
5313
5314Patch 7.1.088 (extra)
5315Problem: The coordinates used by ":winpos" differ from what getwinposx()
5316 and getwinposy() return.
5317Solution: Use MoveWindowStructure() instead of MoveWindow(). (Michael Henry)
5318Files: src/gui_mac.c
5319
5320Patch 7.1.089
5321Problem: ":let loaded_getscriptPlugin" doesn't clear to eol, result is
5322 "#1in".
5323Solution: Clear to the end of the screen after displaying the first variable
5324 value.
5325Files: src/eval.c
5326
5327Patch 7.1.090
5328Problem: Compiler warning on Mac OS X 10.5.
5329Solution: Don't redeclare sigaltstack(). (Hisashi T Fujinaka)
5330Files: src/os_unix.c
5331
5332Patch 7.1.091 (extra)
5333Problem: Win32: Can't embed Vim inside another application.
5334Solution: Add the --windowid argument. (Nageshwar)
5335Files: runtime/doc/gui_w32.txt, runtime/doc/starting.txt,
5336 runtime/doc/vi_diff.txt, src/globals.h, src/gui_w32.c, src/main.c
5337
5338Patch 7.1.092 (extra, after 7.1.088)
5339Problem: Wrong arguments for MoveWindowStructure().
5340Solution: Remove "TRUE". (Michael Henry)
5341Files: src/gui_mac.c
5342
5343Patch 7.1.093
5344Problem: Reading past end of a screen line when determining cell width.
5345 (Dominique Pelle)
5346Solution: Add an argument to mb_off2cells() for the maximum offset.
5347Files: src/globals.h, src/gui.c, src/mbyte.c, src/proto/mbyte.pro,
5348 src/screen.c
5349
5350Patch 7.1.094
5351Problem: When checking if syntax highlighting is present, looking in the
5352 current buffer instead of the specified one.
5353Solution: Use "buf" instead of "curbuf".
5354Files: src/syntax.c
5355
5356Patch 7.1.095
5357Problem: The FocusLost and FocusGained autocommands are triggered
5358 asynchronously in the GUI. This may cause arbitrary problems.
5359Solution: Put the focus event in the input buffer and handle it when ready
5360 for it.
5361Files: src/eval.c, src/getchar.c, src/gui.c, src/gui_gtk_x11.c,
5362 src/keymap.h
5363
5364Patch 7.1.096
5365Problem: Reading past end of a string when resizing Vim. (Dominique Pelle)
5366Solution: Check the string pointer before getting the char it points to.
5367Files: src/message.c
5368
5369Patch 7.1.097
5370Problem: ":setlocal stl=%!1+1" does not work.
5371Solution: Adjust check for pointer. (Politz)
5372Files: src/option.c
5373
5374Patch 7.1.098
5375Problem: ":call s:var()" doesn't work if "s:var" is a Funcref. (Andy Wokula)
5376Solution: Before converting "s:" into a script ID, check if it is a Funcref.
5377Files: src/eval.c
5378
5379Patch 7.1.099
5380Problem: When the 'keymap' and 'paste' options have a non-default value,
5381 ":mkexrc" and ":mksession" do not correctly set the options.
5382Solution: Set the options with side effects before other options.
5383Files: src/option.c
5384
5385Patch 7.1.100
5386Problem: Win32: Executing cscope doesn't always work properly.
5387Solution: Use another way to invoke cscope. (Mike Williams)
5388Files: src/if_cscope.c, src/if_cscope.h, src/main.c,
5389 src/proto/if_cscope.pro
5390
5391Patch 7.1.101
5392Problem: Ruby: The Buffer.line= method does not work.
5393Solution: Add the "self" argument to set_current_line(). (Jonathan Hankins)
5394Files: src/if_ruby.c
5395
5396Patch 7.1.102
5397Problem: Perl interface doesn't compile with new version of Perl.
5398Solution: Add two variables to the dynamic library loading. (Suresh
5399 Govindachar)
5400Files: src/if_perl.xs
5401
5402Patch 7.1.103
5403Problem: Using "dw" with the cursor past the end of the last line (using
5404 CTRL-\ CTRL-O from Insert mode) deletes a character. (Tim Chase)
5405Solution: Don't move the cursor back when the movement failed.
5406Files: src/normal.c
5407
5408Patch 7.1.104 (after 7.1.095)
5409Problem: When 'lazyredraw' is set a focus event causes redraw to be
5410 postponed until a key is pressed.
5411Solution: Instead of not returning from vgetc() when a focus event is
5412 encountered return K_IGNORE. Add plain_vgetc() for when the
5413 caller doesn't want to get K_IGNORE.
5414Files: src/digraph.c, src/edit.c, src/ex_cmds.c, src/ex_getln.c,
5415 src/getchar.c, src/normal.c, src/proto/getchar.pro, src/window.c
5416
5417Patch 7.1.105
5418Problem: Internal error when using "0 ? {'a': 1} : {}". (A.Politz)
5419Solution: When parsing a dictionary value without using the value, don't try
5420 obtaining the key name.
5421Files: src/eval.c
5422
5423Patch 7.1.106
5424Problem: ":messages" doesn't quit listing on ":".
5425Solution: Break the loop when "got_int" is set.
5426Files: src/message.c
5427
5428Patch 7.1.107
5429Problem: When doing a block selection and using "s" to change the text,
5430 while triggering auto-indenting, causes the wrong text to be
5431 repeated in other lines. (Adri Verhoef)
5432Solution: Compute the change of indent and compensate for that.
5433Files: src/ops.c
5434
5435Patch 7.1.108 (after 7.1.100)
5436Problem: Win32: Compilation problems in Cscope code. (Jeff Lanzarotta)
5437Solution: Use (long) instead of (intptr_t) when it's not defined.
5438Files: src/if_cscope.c
5439
5440Patch 7.1.109
5441Problem: GTK: when there are many tab pages, clicking on the arrow left of
5442 the labels moves to the next tab page on the right. (Simeon Bird)
5443Solution: Check the X coordinate of the click and pass -1 as value for the
5444 left arrow.
5445Files: src/gui_gtk_x11.c, src/term.c
5446
5447Patch 7.1.110 (after 7.1.102)
5448Problem: Win32: Still compilation problems with Perl.
5449Solution: Change the #ifdefs. (Suresh Govindachar)
5450Files: src/if_perl.xs
5451
5452Patch 7.1.111
5453Problem: When using ":vimgrep" with the "j" flag folds from another buffer
5454 may be displayed. (A.Politz)
5455Solution: When not jumping to another buffer update the folds.
5456Files: src/quickfix.c
5457
5458Patch 7.1.112
5459Problem: Using input() with a wrong argument may crash Vim. (A.Politz)
5460Solution: Init the input() return value to NULL.
5461Files: src/eval.c
5462
5463Patch 7.1.113
5464Problem: Using map() to go over an empty list causes memory to be freed
5465 twice. (A.Politz)
5466Solution: Don't clear the typeval in restore_vimvar().
5467Files: src/eval.c
5468
5469Patch 7.1.114
5470Problem: Memory leak in getmatches().
5471Solution: Don't increment the refcount twice.
5472Files: src/eval.c
5473
5474Patch 7.1.115 (after 7.1.105)
5475Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
5476Solution: Init variable to NULL.
5477Files: src/eval.c
5478
5479Patch 7.1.116
5480Problem: Cannot display Unicode characters above 0x10000.
5481Solution: Remove the replacement with a question mark when UNICODE16 is not
5482 defined. (partly by Nicolas Weber)
5483Files: src/screen.c
5484
5485Patch 7.1.117
Bram Moolenaar6dfc28b2010-02-11 14:19:15 +01005486Problem: Can't check whether Vim was compiled with Gnome. (Tony Mechelynck)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00005487Solution: Add gui_gnome to the has() list.
5488Files: src/eval.c
5489
5490Patch 7.1.118 (after 7.1.107)
5491Problem: Compiler warning for Visual C compiler.
5492Solution: Add typecast. (Mike Williams)
5493Files: src/ops.c
5494
5495Patch 7.1.119
5496Problem: Crash when 'cmdheight' set to very large value. (A.Politz)
5497Solution: Limit 'cmdheight' to 'lines' minus one. Store right value of
5498 'cmdheight' when running out of room.
5499Files: src/option.c, src/window.c
5500
5501Patch 7.1.120
5502Problem: Can't properly check memory leaks while running tests.
5503Solution: Add an argument to garbagecollect(). Delete functions and
5504 variables in the test scripts.
5505Files: runtime/doc/eval.txt src/eval.c, src/globals.h, src/main.c,
5506 src/testdir/Makefile, src/testdir/test14.in,
5507 src/testdir/test26.in, src/testdir/test34.in,
5508 src/testdir/test45.in, src/testdir/test47.in,
5509 src/testdir/test49.in, src/testdir/test55.in,
5510 src/testdir/test56.in, src/testdir/test58.in,
5511 src/testdir/test59.in, src/testdir/test60.in,
5512 src/testdir/test60.vim, src/testdir/test62.in,
5513 src/testdir/test63.in, src/testdir/test64.in,
5514
5515Patch 7.1.121
5516Problem: Using ":cd %:h" when editing a file in the current directory
5517 results in an error message for using an empty string.
5518Solution: When "%:h" results in an empty string use ".".
5519Files: src/eval.c
5520
5521Patch 7.1.122
5522Problem: Mac: building Vim.app fails. Using wrong architecture.
5523Solution: Use line continuation for the gui_bundle dependency. Detect the
5524 system architecture with "uname -a".
5525Files: src/main.aap
5526
5527Patch 7.1.123
5528Problem: Win32: ":edit foo ~ foo" expands "~".
5529Solution: Change the call to expand_env().
5530Files: src/ex_docmd.c, src/misc1.c, src/proto/misc1.pro, src/option.c
5531
5532Patch 7.1.124 (extra)
5533Problem: Mac: When dropping a file on Vim.app that is already in the buffer
5534 list (from .viminfo) results in editing an empty, unnamed buffer.
5535 (Axel Kielhorn) Also: warning for unused variable.
Bram Moolenaarc236c162008-07-13 17:41:49 +00005536Solution: Move to the buffer of the first argument. Delete unused variable.
Bram Moolenaar8c8de832008-06-24 22:58:06 +00005537Files: src/gui_mac.c
5538
5539Patch 7.1.125
5540Problem: The TermResponse autocommand event is not always triggered. (Aron
Bram Moolenaar8d9b40e2010-07-25 15:49:07 +02005541 Griffis)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00005542Solution: When unblocking autocommands check if v:termresponse changed and
5543 trigger the event then.
5544Files: src/buffer.c, src/diff.c, src/ex_getln.c, src/fileio.c,
5545 src/globals.h, src/misc2.c, src/proto/fileio.pro, src/window.c
5546
5547Patch 7.1.126 (extra)
5548Problem: ":vimgrep */*" fails when a BufRead autocommand changes directory.
5549 (Bernhard Kuhn)
5550Solution: Change back to the original directory after loading a file.
5551 Also: use shorten_fname1() to avoid duplicating code.
5552Files: src/buffer.c, src/ex_docmd.c, src/fileio.c, src/gui_gtk.c,
5553 src/gui_w48.c, src/proto/ex_docmd.pro, src/proto/fileio.pro,
5554 src/quickfix.c
5555
5556Patch 7.1.127
5557Problem: Memory leak when doing cmdline completion. (Dominique Pelle)
5558Solution: Free "orig" argument of ExpandOne() when it's not used.
5559Files: src/ex_getln.c
5560
5561Patch 7.1.128 (extra)
5562Problem: Build problems with new version of Cygwin.
5563Solution: Remove -D__IID_DEFINED__, like with MingW. (Guopeng Wen)
5564Files: src/Make_cyg.mak
5565
5566Patch 7.1.129 (extra)
5567Problem: Win32: Can't get the user name when it is longer than 15
5568 characters.
5569Solution: Use UNLEN instead of MAX_COMPUTERNAME_LENGTH. (Alexei Alexandrov)
5570Files: src/os_win32.c
5571
5572Patch 7.1.130
5573Problem: Crash with specific order of undo and redo. (A.Politz)
5574Solution: Clear and adjust pointers properly. Add u_check() for debugging.
5575Files: src/undo.c, src/structs.h
5576
5577Patch 7.1.131
5578Problem: ":mksession" always adds ":setlocal autoread". (Christian J.
5579 Robinson)
5580Solution: Skip boolean global/local option using global value.
5581Files: src/option.c
5582
5583Patch 7.1.132
5584Problem: getpos("'>") may return a negative column number for a Linewise
5585 selection. (A.Politz)
5586Solution: Don't add one to MAXCOL.
5587Files: src/eval.c
5588
5589Patch 7.1.133 (after 7.1.126)
5590Problem: shorten_fname1() linked when it's not needed.
5591Solution: Add #ifdef.
5592Files: src/fileio.c
5593
5594Patch 7.1.134 (extra)
5595Problem: Win32: Can't build with VC8
5596Solution: Detect the MSVC version instead of using NMAKE_VER.
5597 (Mike Williams)
5598Files: src/Make_mvc.mak
5599
5600Patch 7.1.135
5601Problem: Win32: When editing a file c:\tmp\foo and c:\tmp\\foo we have two
5602 buffers for the same file. (Suresh Govindachar)
5603Solution: Invoke FullName_save() when a path contains "//" or "\\".
5604Files: src/buffer.c
5605
5606Patch 7.1.136
5607Problem: Memory leak when using Ruby syntax highlighting. (Dominique Pelle)
5608Solution: Free the contained-in list.
5609Files: src/syntax.c
5610
5611Patch 7.1.137
5612Problem: Build failure when using EXITFREE. (Dominique Pelle)
5613Solution: Add an #ifdef around using clip_exclude_prog.
5614Files: src/misc2.c
5615
5616Patch 7.1.138
5617Problem: The Perl Msg() function doesn't stop when "q" is typed at the more
5618 prompt. (Hari Krishna Dara)
5619Solution: Check got_int.
5620Files: src/if_perl.xs
5621
5622Patch 7.1.139
5623Problem: When using marker folding and ending Insert mode with CTRL-C the
5624 current fold is truncated. (Fred Kater)
5625Solution: Ignore got_int while updating folds.
5626Files: src/fold.c
5627
5628Patch 7.1.140
5629Problem: v:count is set only after typing a non-digit, that makes it
5630 difficult to make a nice mapping.
5631Solution: Set v:count while still typing the count.
5632Files: src/normal.c
5633
5634Patch 7.1.141
5635Problem: GTK: -geom argument doesn't support a negative offset.
5636Solution: Compute position from the right/lower corner.
5637Files: src/gui_gtk_x11.c
5638
5639Patch 7.1.142
5640Problem: ":redir @A>" doesn't work.
5641Solution: Ignore the extra ">" also when appending. (James Vega)
5642Files: src/ex_docmd.c
5643
5644Patch 7.1.143
5645Problem: Uninitialized memory read when diffing three files. (Dominique
5646 Pelle)
5647Solution: Remove "+ !notset" so that we don't use fields that were not
5648 computed.
5649Files: src/diff.c
5650
5651Patch 7.1.144
5652Problem: After ":diffup" cursor can be in the wrong position.
5653Solution: Force recomputing the cursor position.
5654Files: src/diff.c
5655
5656Patch 7.1.145
5657Problem: Insert mode completion: When using the popup menu, after
5658 completing a word and typing a non-word character Vim is still
5659 completing the same word, following CTRL-N doesn't work.
5660 Insert mode Completion: When using CTRL-X O and there is only
5661 "struct." before the cursor, typing one char to reduce the
5662 matches, then BS completion stops.
5663Solution: When typing a character that is not part of the item being
5664 completed, stop complete mode. For whole line completion also
5665 accept a space. For file name completion stop at a path
5666 separator.
5667 For omni completion stay in completion mode even if completing
5668 with empty string.
5669Files: src/edit.c
5670
5671Patch 7.1.146 (extra)
5672Problem: VMS: Files with a very rare record organization (VFC) cannot be
5673 properly written by Vim.
5674 On older VAX systems mms runs into a syntax error.
5675Solution: Check for this special situation. Do not wrap a comment, make it
5676 one long line. (Zoltan Arpadffy)
5677Files: src/fileio.c, src/Make_vms.mms
5678
5679Patch 7.1.147 (after 7.1.127)
5680Problem: Freeing memory already freed when completing user name. (Meino
5681 Cramer)
5682Solution: Use a flag to remember if "orig" needs to be freed.
5683Files: src/ex_getln.c
5684
5685Patch 7.1.148
5686Problem: Some types are not found by configure.
5687Solution: Test for the sys/types.h header file. (Sean Boudreau)
5688Files: src/configure.in, src/auto/configure
5689
5690Patch 7.1.149
5691Problem: GTK GUI: When the completion popup menu is used scrolling another
5692 window by the scrollbar is OK, but using the scroll wheel it
5693 behaves line <Enter>.
5694Solution: Ignore K_MOUSEDOWN and K_MOUSEUP. Fix redrawing the popup menu.
5695Files: src/edit.c, src/gui.c
5696
5697Patch 7.1.150
5698Problem: When 'clipboard' has "unnamed" using "p" in Visual mode doesn't
5699 work correctly. (Jianrong Yu)
5700Solution: When 'clipboard' has "unnamed" also obtain the selection when
5701 getting the default register.
5702Files: src/ops.c
5703
5704Patch 7.1.151
5705Problem: Using whole line completion with 'ignorecase' and 'infercase' set
5706 and the line is empty get an lalloc(0) error.
5707Solution: Don't try changing case for an empty match. (Matthew Wozniski)
5708Files: src/edit.c
5709
5710Patch 7.1.152
5711Problem: Display problem when 'hls' and 'cursorcolumn' are set and
5712 searching for "$". (John Mullin) Also when scrolling
5713 horizontally when 'wrap' is off.
5714Solution: Keep track of the column where highlighting was set. Check the
5715 column offset when skipping characters.
5716Files: src/screen.c
5717
5718Patch 7.1.153
5719Problem: Compiler warnings on SGI. Undefined XpmAllocColor (Charles
5720 Campbell)
5721Solution: Add type casts. Init st_dev and st_ino separately. Don't use
5722 type casts for vim_snprintf() when HAVE_STDARG_H is defined.
5723 Define XpmAllocColor when needed.
5724Files: src/eval.c, src/ex_cmds.c, src/fileio.c, src/misc2.c,
5725 src/gui_xmebw.c
5726
5727Patch 7.1.154
5728Problem: Compiler warning for signed/unsigned compare.
5729Solution: Add type cast.
5730Files: src/screen.c
5731
5732Patch 7.1.155
5733Problem: Crash when 'undolevels' is 0 and repeating "udd". (James Vega)
5734Solution: When there is only one branch use u_freeheader() to delete it.
5735Files: src/undo.c
5736
5737Patch 7.1.156
5738Problem: Overlapping arguments for strcpy() when expanding command line
5739 variables.
5740Solution: Use mch_memmove() instead of STRCPY(). Also fix a few typos.
5741 (Dominique Pelle)
5742Files: src/ex_docmd.c
5743
5744Patch 7.1.157
5745Problem: In Ex mode, :" gives an error at end-of-file. (Michael Hordijk)
5746Solution: Only give an error for an empty line, not for a comment.
5747Files: src/ex_docmd.c
5748
5749Patch 7.1.158 (extra)
5750Problem: Win32 console: When 'encoding' is "utf-8" and typing Alt-y the
5751 result is wrong. Win32 GUI: Alt-y results in "u" when 'encoding'
5752 is "cp1250" (Lukas Cerman)
5753Solution: For utf-8 don't set the 7th bit in a byte, convert to the correct
5754 byte sequence. For cp1250, when conversion to 'encoding' results
5755 in the 7th bit not set, set the 7th bit after conversion.
5756Files: src/os_win32.c, src/gui_w48.c
5757
5758Patch 7.1.159
5759Problem: strcpy() has overlapping arguments.
5760Solution: Use mch_memmove() instead. (Dominique Pelle)
5761Files: src/ex_cmds.c
5762
5763Patch 7.1.160
5764Problem: When a focus autocommand is defined, getting or losing focus
5765 causes the hit-enter prompt to be redrawn. (Bjorn Winckler)
5766Solution: Overwrite the last line.
5767Files: src/message.c
5768
5769Patch 7.1.161
5770Problem: Compilation errors with tiny features and EXITFREE.
5771Solution: Add #ifdefs. (Dominique Pelle)
5772Files: src/edit.c, src/misc2.c
5773
5774Patch 7.1.162
5775Problem: Crash when using a modifier before "while" or "for". (A.Politz)
5776Solution: Skip modifiers when checking for a loop command.
5777Files: src/proto/ex_docmd.pro, src/ex_docmd.c, src/ex_eval.c
5778
5779Patch 7.1.163
5780Problem: Warning for the unknown option 'bufsecret'.
5781Solution: Remove the lines .vim that use this option. (Andy Wokula)
5782Files: runtime/menu.vim
5783
5784Patch 7.1.164
5785Problem: Reading past end of regexp pattern. (Dominique Pelle)
5786Solution: Use utf_ptr2len().
5787Files: src/regexp.c
5788
5789Patch 7.1.165
5790Problem: Crash related to getting X window ID. (Dominique Pelle)
5791Solution: Don't trust the window ID that we got in the past, check it every
5792 time.
5793Files: src/os_unix.c
5794
5795Patch 7.1.166
5796Problem: Memory leak for using "gp" in Visual mode.
5797Solution: Free memory in put_register(). (Dominique Pelle)
5798Files: src/ops.c
5799
5800Patch 7.1.167
5801Problem: Xxd crashes when using "xxd -b -c 110". (Debian bug 452789)
5802Solution: Allocate more memory. Fix check for maximum number of columns.
5803Files: src/xxd/xxd.c
5804
5805Patch 7.1.168 (extra)
5806Problem: Win32 GUI: Since patch 7.1.095, when the Vim window does not have
5807 focus, clicking in it doesn't position the cursor. (Juergen
5808 Kraemer)
5809Solution: Don't reset s_button_pending just after receiving focus.
5810Files: src/gui_w48.c
5811
5812Patch 7.1.169
5813Problem: Using uninitialized variable when system() fails. (Dominique
5814 Pelle)
5815Solution: Let system() return an empty string when it fails.
5816Files: src/eval.c
5817
5818Patch 7.1.170
5819Problem: Valgrind warning for overlapping arguments for strcpy().
5820Solution: Use mch_memmove() instead. (Dominique Pelle)
5821Files: src/getchar.c
5822
5823Patch 7.1.171
5824Problem: Reading one byte before allocated memory.
5825Solution: Check index not to become negative. (Dominique Pelle)
5826Files: src/ex_getln.c
5827
5828Patch 7.1.172
5829Problem: When 'buftype' is "acwrite" Vim still checks if the file or
5830 directory exists before overwriting.
5831Solution: Don't check for overwriting when the buffer name is not a file
5832 name.
5833Files: src/ex_cmds.c
5834
5835Patch 7.1.173
5836Problem: Accessing freed memory. (Dominique Pelle)
5837Solution: Don't call reg_getline() to check if a line is the first in the
5838 file.
5839Files: src/regexp.c
5840
5841Patch 7.1.174
5842Problem: Writing NUL past end of a buffer.
5843Solution: Copy one byte less when using strncat(). (Dominique Pelle)
5844Files: src/ex_cmds.c, src/ex_docmd.c,
5845
5846Patch 7.1.175
5847Problem: <BS> doesn't work with some combination of 'sts', 'linebreak' and
5848 'backspace'. (Francois Ingelrest)
5849Solution: When adding white space results in not moving back delete one
5850 character.
5851Files: src/edit.c
5852
5853Patch 7.1.176
5854Problem: Building with Aap fails when the "compiledby" argument contains
5855 '<' or '>' characters. (Alex Yeh)
5856Solution: Change how quoting is done in the Aap recipe.
5857Files: src/main.aap
5858
5859Patch 7.1.177
5860Problem: Freeing memory twice when in debug mode while reading a script.
5861Solution: Ignore script input while in debug mode.
5862Files: src/ex_cmds2.c, src/getchar.c, src/globals.h
5863
5864Patch 7.1.178
5865Problem: "%" doesn't work on "/* comment *//* comment */".
5866Solution: Don't handle the "//" in "*//*" as a C++ comment. (Markus
5867 Heidelberg)
5868Files: src/search.c
5869
5870Patch 7.1.179
5871Problem: Need to check for TCL 8.5.
5872Solution: Adjust configure script. (Alexey Froloff)
5873Files: src/configure.in, src/auto/configure
5874
5875Patch 7.1.180
5876Problem: Regexp patterns not tested sufficiently.
5877Solution: Add more checks to the regexp test.
5878Files: src/testdir/test64.in, src/testdir/test64.ok
5879
5880Patch 7.1.181
5881Problem: Accessing uninitialized memory in Farsi mode. (Dominique Pelle)
5882Solution: Only invoke lrF_sub() when there is something to do.
5883Files: src/ex_cmds.c
5884
5885Patch 7.1.182
5886Problem: When using tab pages and an argument list the session file may
5887 contain wrong "next" commands. (Alexander Bluem)
5888Solution: Use "argu" commands and only when needed.
5889Files: src/ex_docmd.c
5890
5891Patch 7.1.183
5892Problem: "Internal error" for ":echo matchstr('a', 'a\%[\&]')" (Mitanu
5893 Paul)
5894Solution: Inside "\%[]" detect \&, \| and \) as an error.
5895Files: src/regexp.c
5896
5897Patch 7.1.184
5898Problem: Crash when deleting backwards over a line break in Insert mode.
5899Solution: Don't advance the cursor when it's already on the NUL after a
5900 line. (Matthew Wozniski)
5901Files: src/normal.c
5902
5903Patch 7.1.185
5904Problem: Using "gR" with a multi-byte encoding and typing a CR pushes
5905 characters onto the replace stack incorrectly, resulting in BS
5906 putting back the wrong characters. (Paul B. Mahol)
5907Solution: Push multi-byte characters onto the replace stack in reverse byte
5908 order. Add replace_push_mb().
5909Files: src/edit.c, src/misc1.c, src/proto/edit.pro
5910
5911Patch 7.1.186
5912Problem: "expand('<afile>')" returns a bogus value after changing
5913 directory. (Dave Fishburn)
5914Solution: Copy "autocmd_fname" to allocated memory and expand to full
5915 filename. Shorten the path when expanding <afile>.
5916Files: src/ex_docmd.c, src/fileio.c
5917
5918Patch 7.1.187
5919Problem: Win32 GUI: Custom completion using system() no longer works
5920 after patch 7.1.104. (Erik Falor)
5921Solution: Loop when safe_vgetc() returns K_IGNORE.
5922Files: src/ex_getln.c
5923
5924Patch 7.1.188
5925Problem: When 'showmode' is off the message for changing a readonly file is
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +01005926 given in the second column instead of the first. (Payl B. Mahol)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00005927Solution: Put the W10 message in the first column.
5928Files: src/edit.c
5929
5930Patch 7.1.189 (after 7.1.104)
5931Problem: Patch 7.1.104 was incomplete.
5932Solution: Also call plain_vgetc() in ask_yesno().
5933Files: src/misc1.c
5934
5935Patch 7.1.190
5936Problem: Cursor after end-of-line: "iA sentence.<Esc>)"
5937Solution: Move cursor back and make motion inclusive.
5938Files: src/normal.c
5939
5940Patch 7.1.191
5941Problem: Win32 GUI: after patch 7.1.168 there is still a problem when
5942 clicking in a scrollbar. (Juergen Jottkaerr)
5943Solution: Don't check the input buffer when dragging the scrollbar.
5944Files: src/gui.c
5945
5946Patch 7.1.192
5947Problem: With Visual block selection, "s" and typing something, CTRL-C
5948 doesn't stop Vim from repeating the replacement in other lines,
5949 like happens for "I".
5950Solution: Check for "got_int" to be set.
5951Files: src/ops.c
5952
5953Patch 7.1.193
5954Problem: Some Vim 5.x digraphs are missing in Vim 7, even though the
5955 character pairs are not used. (Philippe de Muyter)
5956Solution: Add those Vim 5.x digraphs that don't conflict with others.
5957Files: src/digraph.c
5958
5959Patch 7.1.194
5960Problem: ":echo glob('~/{}')" results in /home/user//.
5961Solution: Don't add a slash if there already is one.
5962Files: src/os_unix.c
5963
5964Patch 7.1.195
5965Problem: '0 mark doesn't work for "~/foo ~ foo".
5966Solution: Don't expand the whole file name, only "~/".
5967Files: src/mark.c
5968
5969Patch 7.1.196 (extra)
5970Problem: Win32 GUI: "\n" in a tooltip doesn't cause a line break. (Erik
5971 Falor)
5972Solution: Use the TTM_SETMAXTIPWIDTH message.
5973Files: src/gui_w32.c
5974
5975Patch 7.1.197
5976Problem: Mac: "make install" doesn't work when prefix defined.
5977Solution: Pass different arguments to "make installruntime". (Jjgod Jiang)
5978Files: src/Makefile
5979
5980Patch 7.1.198
5981Problem: Hang when using ":s/\n//gn". (Burak Gorkemli)
5982Solution: Set "skip_match".
5983Files: src/ex_cmds.c
5984
5985Patch 7.1.199
5986Problem: Can't do command line completion for a specific file name
5987 extension.
5988Solution: When the pattern ends in "$" don't add a star for completion and
5989 remove the "$" before matching with file names.
5990Files: runtime/doc/cmdline.txt, src/ex_getln.c
5991
5992Patch 7.1.200 (after 7.1.177 and 7.1.182)
5993Problem: Compiler warnings for uninitialized variables.
5994Solution: Init variables.
5995Files: src/ex_cmds2.c, src/ex_docmd.c
5996
5997Patch 7.1.201
Bram Moolenaardd007ed2013-07-09 15:44:17 +02005998Problem: When reading stdin 'fenc' and 'ff' are not set.
Bram Moolenaar8c8de832008-06-24 22:58:06 +00005999Solution: Set the options after reading stdin. (Ben Schmidt)
6000Files: src/fileio.c
6001
6002Patch 7.1.202
6003Problem: Incomplete utf-8 byte sequence is not checked for validity.
6004Solution: Check the bytes that are present for being valid. (Ben Schmidt)
6005Files: src/mbyte.c
6006
6007Patch 7.1.203
6008Problem: When 'virtualedit' is "onemore" then "99|" works but ":normal 99|"
6009 doesn't. (Andy Wokula)
6010Solution: Check for "onemore" flag in check_cursor_col().
6011Files: src/misc2.c
6012
6013Patch 7.1.204 (extra)
6014Problem: Win32: Using the example at 'balloonexpr' the balloon disappears
6015 after four seconds and then comes back again. Also moves the
6016 mouse pointer a little bit. (Yongwei Wu)
6017Solution: Set the autopop time to 30 seconds (the max value). (Sergey
6018 Khorev) Move the mouse two pixels forward and one back to end up
6019 in the same position (really!).
6020Files: src/gui_w32.c
6021
6022Patch 7.1.205
6023Problem: Can't get the operator in an ":omap".
6024Solution: Add the "v:operator" variable. (Ben Schmidt)
6025Files: runtime/doc/eval.txt, src/eval.c, src/normal.c, src/vim.h
6026
6027Patch 7.1.206
6028Problem: Compiler warnings when using MODIFIED_BY.
6029Solution: Add type casts. (Ben Schmidt)
6030Files: src/version.c
6031
6032Patch 7.1.207
6033Problem: Netbeans: "remove" cannot delete one line.
6034Solution: Remove partial lines and whole lines properly. Avoid a memory
6035 leak. (Xavier de Gaye)
6036Files: src/netbeans.c
6037
6038Patch 7.1.208
6039Problem: On Alpha get an unaligned access error.
6040Solution: Store the dictitem pointer before using it. (Matthew Luckie)
6041Files: src/eval.c
6042
6043Patch 7.1.209
6044Problem: GTK: When using the netrw plugin and doing ":gui" Vim hangs.
6045Solution: Stop getting a selection after three seconds. This is a hack.
6046Files: src/gui_gtk_x11.c
6047
6048Patch 7.1.210
6049Problem: Listing mapping for 0xdb fails when 'encoding' is utf-8. (Tony
6050 Mechelynck)
6051Solution: Recognize K_SPECIAL KS_EXTRA KE_CSI as a CSI byte.
6052Files: src/mbyte.c
6053
6054Patch 7.1.211
6055Problem: The matchparen plugin may take an unexpected amount of time, so
6056 that it looks like Vim hangs.
6057Solution: Add a timeout to searchpair(), searchpairpos(), search() and
6058 searchpos(). Use half a second timeout in the plugin.
6059Files: runtime/doc/eval.txt, runtime/plugin/matchparen.vim, src/edit.c,
6060 src/eval.c, src/ex_cmds2.c, src/ex_docmd.c, src/normal.c,
6061 src/proto/eval.pro, src/proto/ex_cmds2.pro, src/proto/search.pro,
6062 src/search.c
6063
6064Patch 7.1.212
6065Problem: Accessing a byte before a line.
6066Solution: Check that the column is 1 or more. (Dominique Pelle)
6067Files: src/edit.c
6068
6069Patch 7.1.213
6070Problem: A ":tabedit" command that results in the "swap file exists" dialog
6071 and selecting "abort" doesn't close the new tab. (Al Budden)
6072Solution: Pass "old_curwin" to do_exedit().
6073Files: src/ex_docmd.c
6074
6075Patch 7.1.214
6076Problem: ":1s/g\n\zs1//" deletes characters from the first line. (A Politz)
6077Solution: Start replacing in the line where the match starts.
6078Files: src/ex_cmds.c
6079
6080Patch 7.1.215
6081Problem: It is difficult to figure out what syntax items are nested at a
6082 certain position.
6083Solution: Add the synstack() function.
6084Files: runtime/doc/eval.txt, src/eval.c, src/proto/syntax.pro,
6085 src/syntax.c
6086
6087Patch 7.1.216
6088Problem: Variants of --remote-tab are not mentioned for "vim --help".
6089Solution: Display optional -wait and -silent.
6090Files: src/main.c
6091
6092Patch 7.1.217
6093Problem: The "help-tags" tag may be missing from runtime/doc/tags when it
6094 was generated during "make install".
6095Solution: Add the "++t" argument to ":helptags" to force adding the tag.
6096Files: runtime/doc/Makefile, runtime/doc/various.txt, src/ex_cmds.c,
6097 src/ex_cmds.h
6098
6099Patch 7.1.218
6100Problem: A syntax region without a "keepend", containing a region with
6101 "extend" could be truncated at the end of the containing region.
6102Solution: Do not call syn_update_ends() when there are no keepend items.
6103Files: src/syntax.c
6104
6105Patch 7.1.219 (after 7.1.215)
6106Problem: synstack() returns situation after the current character, can't
6107 see the state for a one-character region.
6108Solution: Don't update ending states in the requested column.
6109Files: runtime/doc/eval.txt, src/eval.c, src/hardcopy.c,
6110 src/proto/syntax.pro, src/screen.c, src/spell.c, src/syntax.c
6111
6112Patch 7.1.220
6113Problem: When a ")" or word movement command moves the cursor back from the
6114 end of the line it may end up on the trail byte of a multi-byte
6115 character. It's also moved back when it isn't needed.
6116Solution: Add the adjust_cursor() function.
6117Files: src/normal.c
6118
6119Patch 7.1.221
6120Problem: When inserting a "(", triggering the matchparen plugin, the
6121 following highlighting may be messed up.
6122Solution: Before triggering the CursorMovedI autocommands update the display
6123 to update the stored syntax stacks for the change.
6124Files: src/edit.c
6125
6126Patch 7.1.222 (after 7.1.217)
6127Problem: Wildcards in argument of ":helptags" are not expanded. (Marcel
6128 Svitalsky)
6129Solution: Expand wildcards in the directory name.
6130Files: src/ex_cmds.c
6131
6132Patch 7.1.223
6133Problem: glob() doesn't work properly when 'shell' is "sh" or "bash" and
6134 the expanded name contains spaces, '~', single quotes and other
6135 special characters. (Adri Verhoef, Charles Campbell)
6136Solution: For Posix shells define a vimglob() function to list the matches
6137 instead of using "echo" directly.
6138Files: src/os_unix.c
6139
6140Patch 7.1.224
6141Problem: When using "vim -F -o file1 file2" only one window is
6142 right-to-left. Same for "-H". (Ben Schmidt)
6143Solution: use set_option_value() to set 'rightleft'.
6144Files: src/main.c
6145
6146Patch 7.1.225
Bram Moolenaarc236c162008-07-13 17:41:49 +00006147Problem: Using uninitialized value when XGetWMNormalHints() fails.
Bram Moolenaar8c8de832008-06-24 22:58:06 +00006148Solution: Check the return value. (Dominique Pelle)
6149Files: src/os_unix.c
6150
6151Patch 7.1.226
6152Problem: Command line completion doesn't work when a file name contains a
6153 '&' character.
6154Solution: Accept all characters in a file name, except ones that end a
6155 command or white space.
6156Files: src/ex_docmd.c
6157
6158Patch 7.1.227
6159Problem: Hang in syntax HL when moving over a ")". (Dominique Pelle)
6160Solution: Avoid storing a syntax state in the wrong position in the list of
6161 remembered states.
6162Files: src/syntax.c
6163
6164Patch 7.1.228
6165Problem: When 'foldmethod' is "indent" and a fold is created with ">>" it
6166 can't be closed with "zc". (Daniel Shahaf)
6167Solution: Reset the "small" flag of a fold when adding a line to it.
6168Files: src/fold.c
6169
6170Patch 7.1.229
6171Problem: A fold is closed when it shouldn't when 'foldmethod' is "indent"
6172 and backspacing a non-white character so that the indent increases.
6173Solution: Keep the fold open after backspacing a character.
6174Files: src/edit.c
6175
6176Patch 7.1.230
6177Problem: Memory leak when executing SourceCmd autocommands.
6178Solution: Free the memory. (Dominique Pelle)
6179Files: src/ex_cmds2.c
6180
6181Patch 7.1.231
6182Problem: When shifting lines the change is acted upon multiple times.
6183Solution: Don't have shift_line() call changed_bytes.
6184Files: src/edit.c, src/ops.c, src/proto/edit.pro, src/proto/ops.pro
6185
6186Patch 7.1.232 (after 7.1.207 and 7.1.211)
6187Problem: Compiler warnings with MSVC.
6188Solution: Add type casts. (Mike Williams)
6189Files: src/ex_cmds2.c, src/netbeans.c
6190
6191Patch 7.1.233
6192Problem: Crash when doing Insert mode completion for a user defined
6193 command. (Yegappan Lakshmanan)
6194Solution: Don't use the non-existing command line.
6195Files: src/ex_getln.c
6196
6197Patch 7.1.234
6198Problem: When diff'ing three files the third one isn't displayed correctly.
6199 (Gary Johnson)
6200Solution: Compute the size of diff blocks correctly when merging blocks.
6201 Compute filler lines correctly when scrolling.
6202Files: src/diff.c
6203
6204Patch 7.1.235
6205Problem: Pattern matching is slow when using a lot of simple patterns.
6206Solution: Avoid allocating memory by not freeing it when it's not so much.
6207 (Alexei Alexandrov)
6208Files: src/regexp.c
6209
6210Patch 7.1.236
6211Problem: When using 'incsearch' and 'hlsearch' a complicated pattern may
6212 make Vim hang until CTRL-C is pressed.
6213Solution: Add the 'redrawtime' option.
6214Files: runtime/doc/options.txt, src/ex_cmds.c, src/ex_docmd.c,
6215 src/ex_getln.c, src/gui.c, src/misc1.c, src/normal.c,
6216 src/option.c, src/quickfix.c, src/regexp.c, src/proto/regexp.pro,
6217 src/proto/search.pro, src/search.c, src/screen.c,
6218 src/option.h, src/spell.c, src/structs.h, src/syntax.c, src/tag.c,
6219 src/vim.h
6220
6221Patch 7.1.237
6222Problem: Compiler warning on an Alpha processor in Motif code.
6223Solution: Change a typecast. (Adri Verhoef)
6224Files: src/gui_motif.c
6225
6226Patch 7.1.238
6227Problem: Using the 'c' flag with searchpair() may cause it to fail. Using
6228 the 'r' flag doesn't work when 'wrapscan' is set. (A.Politz)
6229Solution: Only use the 'c' flag for the first search, not for repeating.
6230 When using 'r' imply 'W'. (Antony Scriven)
6231Files: src/eval.c
6232
6233Patch 7.1.239 (after 7.1.233)
6234Problem: Compiler warning for sprintf() argument.
6235Solution: Add a typecast. (Nico Weber)
6236Files: src/ex_getln.c
6237
6238Patch 7.1.240
6239Problem: When "gUe" turns a German sharp s into SS the operation stops
6240 before the end of the word. Latin2 has the same sharp s but it's
6241 not changed to SS there.
6242Solution: Make sure all the characters are operated upon. Detect the sharp
6243 s in latin2. Also fixes that changing case of a multi-byte
Bram Moolenaarc236c162008-07-13 17:41:49 +00006244 character that changes the byte count doesn't always work.
Bram Moolenaar8c8de832008-06-24 22:58:06 +00006245Files: src/ops.c
6246
6247Patch 7.1.241
6248Problem: Focus change events not always ignored. (Erik Falor)
6249Solution: Ignore K_IGNORE in Insert mode in a few more places.
6250Files: src/edit.c
6251
6252Patch 7.1.242 (after 7.1.005)
6253Problem: "cib" doesn't work properly on "(x)". (Tim Pope)
6254Solution: Use ltoreq() instead of lt(). Also fix "ciT" on "<a>x</a>".
6255Files: src/search.c
6256
6257Patch 7.1.243 (after 7.1.240)
6258Problem: "U" doesn't work on all text in Visual mode. (Adri Verhoef)
6259Solution: Loop over all the lines to be changed. Add tests for this.
6260Files: src/ops.c, src/testdir/test39.in, src/testdir/test39.ok
6261
6262Patch 7.1.244
6263Problem: GUI may have part of the command line cut off.
6264Solution: Don't round the number of lines up, always round down.
6265 (Tony Houghton, Scott Dillard)
6266Files: src/gui.c
6267
6268Patch 7.1.245
6269Problem: Pressing CTRL-\ three times causes Vim to quit. (Ranganath Rao).
6270 Also for f CTRL-\ CTRL-\.
6271Solution: When going to cooked mode in mch_delay() set a flag to ignore
6272 SIGQUIT.
6273Files: src/os_unix.c
6274
6275Patch 7.1.246
6276Problem: Configure hangs when the man pager is something strange. (lorien)
6277Solution: Set MANPAGER and PAGER to "cat". (Micah Cowan)
6278Files: src/auto/configure, src/configure.in
6279
6280Patch 7.1.247
6281Problem: When using Netbeans backspacing in Insert mode skips a character
6282 now and then. (Ankit Jain)
6283Solution: Avoid calling netbeans_removed(), it frees the line pointer.
6284 (partly by Dominique Pelle).
6285Files: src/misc1.c
6286
6287Patch 7.1.248
6288Problem: Can't set the '" mark. Can't know if setpos() was successful.
6289Solution: Allow setting the '" mark with setpos(). Have setpos() return a
6290 value indicating success/failure.
6291Files: runtime/doc/eval.txt, src/eval.c, src/mark.c
6292
6293Patch 7.1.249
6294Problem: After "U" the cursor can be past end of line. (Adri Verhoef)
6295Solution: Adjust the cursor position in u_undoline().
6296Files: src/undo.c
6297
6298Patch 7.1.250
6299Problem: ":setglobal fenc=anything" gives an error message in a buffer
6300 where 'modifiable' is off. (Ben Schmidt)
6301Solution: Don't give an error if 'modifiable' doesn't matter.
6302Files: src/option.c
6303
6304Patch 7.1.251
6305Problem: Using freed memory when spell checking enabled.
6306Solution: Obtain the current line again after calling spell_move_to().
6307 (Dominique Pelle)
6308Files: src/screen.c
6309
6310Patch 7.1.252 (after 7.1.243)
6311Problem: Test 39 fails when the environment has a utf-8 locale. (Dominique
6312 Pelle)
6313Solution: Force 'encoding' to be latin1.
6314Files: src/testdir/test39.in
6315
6316Patch 7.1.253
6317Problem: ":sort" doesn't work in a one line file. (Patrick Texier)
6318Solution: Don't sort if there is only one line. (Dominique Pelle)
6319Files: src/ex_cmds.c
6320
6321Patch 7.1.254
6322Problem: Tests 49 and 55 fail when the locale is French.
6323Solution: Using C messages for test 49. Filter the error message in test 55
6324 such that it works when the number is halfway the message.
6325Files: src/testdir/test49.in, src/testdir/test55.in
6326
6327Patch 7.1.255
6328Problem: Vim doesn't support utf-32. (Yongwei Wu)
6329Solution: Add aliases for utf-32, it's the same as ucs-4.
6330Files: src/mbyte.c
6331
6332Patch 7.1.256
6333Problem: findfile() also returns directories.
6334Solution: Cleanup the code for finding files and directories in a list of
6335 directories. Remove the ugly global ff_search_ctx.
6336Files: src/eval.c, src/misc2.c, src/vim.h, src/tag.c
6337
6338Patch 7.1.257
6339Problem: Configure can't always find the Tcl header files.
6340Solution: Also look in /usr/local/include/tcl$tclver and
6341 /usr/include/tcl$tclver (James Vega)
6342Files: src/auto/configure, src/configure.in
6343
6344Patch 7.1.258
6345Problem: Crash when doing "d/\n/e" and 'virtualedit' is "all". (Andy Wokula)
6346Solution: Avoid that the column becomes negative. Also fixes other problems
6347 with the end of a pattern match is in column zero. (A.Politz)
6348Files: src/search.c
6349
6350Patch 7.1.259
6351Problem: Cursor is in the wrong position when 'rightleft' is set,
6352 'encoding' is "utf-8" and on an illegal byte. (Dominique Pelle)
6353Solution: Only put the cursor in the first column when actually on a
6354 double-wide character. (Yukihiro Nakadaira)
6355Files: src/screen.c
6356
6357Patch 7.1.260
6358Problem: Cursor positioning problem after ^@ wrapping halfway when
6359 'encoding' is utf-8.
6360Solution: Only count a position for printable characters. (partly by
6361 Yukihiro Nakadaira)
6362Files: src/charset.c
6363
6364Patch 7.1.261
6365Problem: When a 2 byte BOM is detected Vim uses UCS-2, which doesn't work
6366 for UTF-16 text. (Tony Mechelynck)
6367Solution: Default to UTF-16.
6368Files: src/fileio.c, src/testdir/test42.ok
6369
6370Patch 7.1.262
6371Problem: Can't get the process ID of Vim.
6372Solution: Implement getpid().
6373Files: src/eval.c, runtime/doc/eval.txt
6374
6375Patch 7.1.263
6376Problem: The filetype can consist of two dot separated names. This works
6377 for syntax and ftplugin, but not for indent. (Brett Stahlman)
6378Solution: Use split() and loop over each dot separated name.
6379Files: runtime/indent.vim
6380
6381Patch 7.1.264
6382Problem: Crash when indenting lines. (Dominique Pelle)
6383Solution: Set the cursor column when changing the cursor line.
6384Files: src/ops.c, src/misc1.c
6385
6386Patch 7.1.265
6387Problem: When 'isfname' contains a space, cmdline completion can hang.
6388 (James Vega)
6389Solution: Reset the "len" variable.
6390Files: src/ex_docmd.c
6391
6392Patch 7.1.266
6393Problem: When the version string returned by the terminal contains
6394 unexpected characters, it is used as typed input. (James Vega)
6395Solution: Assume the escape sequence ends in a letter.
6396Files: src/term.c
6397
6398Patch 7.1.267
Bram Moolenaarc236c162008-07-13 17:41:49 +00006399Problem: When changing folds cursor may be positioned in the wrong place.
Bram Moolenaar8c8de832008-06-24 22:58:06 +00006400Solution: Call changed_window_setting_win() instead of
6401 changed_window_setting().
6402Files: src/fold.c
6403
6404Patch 7.1.268
6405Problem: Always shows "+" at end of screen line with: ":set
6406 listchars=eol:$,extends:+ nowrap list cursorline" (Gary Johnson)
6407Solution: Check for lcs_eol_one instead of lcs_eol.
6408Files: src/screen.c
6409
6410Patch 7.1.269
6411Problem: The matchparen plugin has an arbitrary limit for the number of
6412 lines to look for a match.
6413Solution: Rely on the searchpair() timeout.
6414Files: runtime/plugin/matchparen.vim
6415
6416Patch 7.1.270
6417Problem: ":?foo?" matches in current line since patch 7.1.025. (A.Politz)
6418Solution: Remove the SEARCH_START flag.
6419Files: src/ex_docmd.c, src/search.c
6420
6421Patch 7.1.271
6422Problem: In a Vim build without autocommands, checking a file that was
6423 changed externally causes the current buffer to be changed
6424 unexpectedly. (Karsten Hopp)
6425Solution: Store "curbuf" instead of "buf".
6426Files: src/fileio.c
6427
6428Patch 7.1.272
6429Problem: The special buffer name [Location List] is not used for a buffer
6430 displayed in another tab page.
6431Solution: Use FOR_ALL_TAB_WINDOWS instead of FOR_ALL_WINDOWS. (Hiroaki
6432 Nishihara)
6433Files: src/buffer.c
6434
6435Patch 7.1.273
6436Problem: When profiling on Linux Vim exits early. (Liu Yubao)
6437Solution: When profiling don't exit on SIGPROF.
6438Files: src/Makefile, src/os_unix.c
6439
6440Patch 7.1.274 (after 7.1.272)
6441Problem: Compiler warning for optimized build.
6442Solution: Init win to NULL.
6443Files: src/buffer.c
6444
6445Patch 7.1.275 (extra)
6446Problem: Mac: ATSUI and 'antialias' don't work properly together.
6447Solution: Fix this and the input method. (Jjgod Jiang)
6448Files: src/vim.h, src/gui_mac.c
6449
6450Patch 7.1.276
6451Problem: "gw" uses 'formatexpr', even though the docs say it doesn't.
6452Solution: Don't use 'formatexpr' for "gw".
6453Files: src/vim.h, src/edit.c, src/ops.c, src/proto/ops.pro
6454
6455Patch 7.1.277
6456Problem: Default for 'paragraphs' misses some items (Colin Watson)
6457Solution: Add TP, HP, Pp, Lp and It to 'paragraphs'. (James Vega)
6458Files: runtime/doc/options.txt, src/option.c
6459
6460Patch 7.1.278 (extra, after 7.1.275)
6461Problem: Build failure when USE_CARBONKEYHANDLER is not defined.
6462Solution: Remove #ifdef.
6463Files: src/gui_mac.c
6464
6465Patch 7.1.279
6466Problem: When using cscope temporary files are left behind.
6467Solution: Send the quit command to cscope and give it two seconds to exit
6468 nicely before killing it. (partly by Dominique Pelle)
6469Files: src/if_cscope.c
6470
6471Patch 7.1.280 (after 7.1.275)
6472Problem: Mac: build problems when not using multibyte feature. (Nicholas
6473 Stallard)
6474Solution: Don't define USE_IM_CONTROL when not using multibyte.
6475Files: src/vim.h
6476
6477Patch 7.1.281 (after 7.1.279)
6478Problem: sa.sa_mask is not initialized. Cscope may not exit.
6479Solution: Use sigemptyset(). Use SIGKILL instead of SIGTERM. (Dominique
6480 Pelle)
6481Files: src/if_cscope.c
6482
6483Patch 7.1.282 (extra)
6484Problem: Win64: Edit with Vim context menu isn't installed correctly.
6485 Compiler warnings and a few other things.
6486Solution: Add [ and ] to entry of class name. Use UINT_PTR instead of UINT.
6487 And a fixes for the other things. (George V. Reilly)
6488Files: src/GvimExt/Makefile, src/dosinst.c, src/if_ole.cpp, src/if_ole.h,
6489 src/if_ole.idl, src/INSTALLpc.txt, src/Make_mvc.mak,
6490 src/os_win32.c,
6491
6492Patch 7.1.283
6493Problem: Non-extra part for 7.1.282.
6494Solution: Various changes.
6495Files: src/ex_docmd.c, src/globals.h, src/if_cscope.c, src/main.c,
6496 src/mark.c, src/netbeans.c, src/popupmnu.c, src/vim.h,
6497 src/window.c
6498
6499Patch 7.1.284
6500Problem: Compiler warnings for functions without prototype.
6501Solution: Add the function prototypes. (Patrick Texier)
6502Files: src/eval.c, src/quickfix.c
6503
6504Patch 7.1.285 (extra)
6505Problem: Mac: dialog hotkeys don't work.
6506Solution: Add hotkey support. (Dan Sandler)
6507Files: src/gui_mac.c
6508
6509Patch 7.1.286 (after 7.1.103)
6510Problem: "w" at the end of the buffer moves the cursor past the end of the
6511 line. (Markus Heidelberg)
6512Solution: Move the cursor back from the NUL when it was moved forward.
6513Files: src/normal.c
6514
6515Patch 7.1.287
6516Problem: Crash when reversing a list after using it. (Andy Wokula)
6517Solution: Update the pointer to the last used element. (Dominique Pelle)
6518Files: src/eval.c
6519
6520Patch 7.1.288 (after 7.1.281)
6521Problem: Cscope still leaves behind temp files when using gvim.
6522Solution: When getting the ECHILD error loop for a while until cscope exits.
6523 (Dominique Pelle)
6524Files: if_cscope.c
6525
6526Patch 7.1.289
6527Problem: When EXITFREE is defined and 'acd' is set freed memory is used.
6528 (Dominique Pelle)
6529Solution: Reset p_acd before freeing all buffers.
6530Files: src/misc2.c
6531
6532Patch 7.1.290
6533Problem: Reading bytes that were not written when spell checking and a line
6534 has a very large indent.
6535Solution: Don't copy the start of the next line when it only contains
6536 spaces. (Dominique Pelle)
6537Files: src/spell.c
6538
6539Patch 7.1.291 (after 7.1.288)
6540Problem: Compiler warning.
6541Solution: Change 50 to 50L.
6542Files: src/if_cscope.c
6543
6544Patch 7.1.292
6545Problem: When using a pattern with "\@<=" the submatches can be wrong.
6546 (Brett Stahlman)
6547Solution: Save the submatches when attempting a look-behind match.
6548Files: src/regexp.c
6549
6550Patch 7.1.293
6551Problem: Spell checking considers super- and subscript characters as word
6552 characters.
6553Solution: Recognize the Unicode super and subscript characters.
6554Files: src/spell.c
6555
6556Patch 7.1.294
6557Problem: Leaking memory when executing a shell command.
6558Solution: Free memory when not able to save for undo. (Dominique Pelle)
6559Files: src/ex_cmds.c
6560
6561Patch 7.1.295
6562Problem: Vimtutor only works with vim, not gvim.
6563Solution: Add the -g flag to vimtutor. (Dominique Pelle) Add gvimtutor.
6564Files: src/Makefile, src/gvimtutor, src/vimtutor, runtime/doc/vimtutor.1
6565
6566Patch 7.1.296
6567Problem: SELinux is not supported.
6568Solution: Detect the selinux library and use mch_copy_sec(). (James Vega)
6569Files: src/auto/configure, src/config.h.in, src/configure.in,
6570 src/fileio.c, src/memfile.c, src/os_unix.c, src/proto/os_unix.pro
6571
6572Patch 7.1.297
6573Problem: When using the search/replace dialog the parenmatch highlighting
6574 can be wrong. (Tim Duncan)
6575Solution: In the GUI redraw function invoke the CursorMoved autocmd.
6576Files: src/gui.c
6577
6578Patch 7.1.298 (after 7.1.295)
6579Problem: src/gvimtutor is not distributed.
6580Solution: Add it to the list of distributed files.
6581Files: Filelist
6582
6583Patch 7.1.299
6584Problem: Filetype detection doesn't work properly for file names ending in
6585 a part that is ignored and contain a space or other special
6586 characters.
6587Solution: Escape the special characters using the new fnameescape function.
6588Files: runtime/doc/eval.txt, runtime/filetype.vim, src/eval.c,
6589 src/ex_getln.c, src/proto/ex_getln.pro, src/vim.h
6590
6591Patch 7.1.300
6592Problem: Value of asmsyntax argument isn't checked for valid characters.
6593Solution: Only accepts letters and digits.
6594Files: runtime/filetype.vim
6595
6596Patch 7.1.301
6597Problem: When the "File/Save" menu is used in Insert mode, a tab page label
6598 is not updated to remove the "+".
6599Solution: Call draw_tabline() from showruler(). (Bjorn Winckler)
6600Files: src/screen.c
6601
6602Patch 7.1.302 (after 7.1.299)
6603Problem: Compilation error on MS-Windows.
6604Solution: Don't use xp_shell when it's not defined.
6605Files: src/ex_getln.c
6606
6607Patch 7.1.303 (after 7.1.302)
6608Problem: Compilation error on MS-Windows, again.
6609Solution: Declare p.
6610Files: src/ex_getln.c
6611
6612Patch 7.1.304
6613Problem: Shortpath_for_invalid_fname() does not work correctly and is
6614 unnecessary complex.
6615Solution: Clean up shortpath_for_invalid_fname(). (mostly by Yegappan
6616 Lakshmanan)
6617Files: src/eval.c
6618
6619Patch 7.1.305
6620Problem: Editing a compressed file with special characters in the name
6621 doesn't work properly.
6622Solution: Escape special characters.
6623Files: runtime/autoload/gzip.vim
6624
6625Patch 7.1.306
6626Problem: Some Unicode characters are handled like word characters while
6627 they are symbols.
6628Solution: Adjust the table for Unicode classification.
6629Files: src/mbyte.c
6630
6631Patch 7.1.307
6632Problem: Many warnings when compiling with Python 2.5.
6633Solution: Use ssize_t instead of int for some types. (James Vega)
6634Files: src/if_python.c
6635
6636Patch 7.1.308
6637Problem: When in readonly mode ":options" produces an error.
6638Solution: Reset 'readonly'. (Gary Johnson)
6639Files: runtime/optwin.vim
6640
6641Patch 7.1.309
6642Problem: Installing and testing with a shadow directory doesn't work.
6643 (James Vega)
6644Solution: Add "po" to the list of directories to link. Also link the Vim
6645 scripts in testdir. And a few more small fixes.
6646Files: src/Makefile
6647
6648Patch 7.1.310
6649Problem: Incomplete utf-8 byte sequence at end of the file is not detected.
6650 Accessing memory that wasn't written.
6651Solution: Check the last bytes in the buffer for being a valid utf-8
6652 character. (mostly by Ben Schmidt)
6653 Also fix that the reported line number of the error was wrong.
6654Files: src/fileio.c
6655
6656Patch 7.1.311
6657Problem: Compiler warning for missing sentinel in X code.
6658Solution: Change 0 to NULL. (Markus Heidelberg)
6659Files: src/mbyte.c
6660
6661Patch 7.1.312
6662Problem: The .po files have mistakes in error numbers.
6663Solution: Search for these mistakes in the check script. (Dominique Pelle)
6664Files: src/po/check.vim
6665
6666Patch 7.1.313
6667Problem: When the netbeans interface setModified call is used the status
6668 lines and window title are not updated.
6669Solution: Redraw the status lines and title. (Philippe Fremy)
6670Files: src/netbeans.c
6671
6672Patch 7.1.314
6673Problem: The value of 'pastetoggle' is written to the session file without
6674 any escaping. (Randall Hansen)
6675Solution: Use put_escstr(). (Ben Schmidt)
6676Files: src/option.c
6677
6678Patch 7.1.315
6679Problem: Crash with specific search pattern using look-behind match.
6680 (Andreas Politz)
6681Solution: Also save the value of "need_clear_subexpr".
6682Files: src/regexp.c
6683
6684Patch 7.1.316
6685Problem: When 'cscopetag' is set ":tag" gives an error message instead of
6686 going to the next tag in the tag stack.
6687Solution: Don't call do_cstag() when there is no argument. (Mark Goldman)
6688Files: src/ex_docmd.c
6689
6690Patch 7.1.317
6691Problem: Compiler warnings in Motif calls.
6692Solution: Change zero to NULL. (Dominique Pelle)
6693Files: src/gui_motif.c
6694
6695Patch 7.1.318
6696Problem: Memory leak when closing xsmp connection. Crash on exit when
6697 using Lesstif.
6698Solution: Don't close the X display to work around a Lesstif bug. Free
6699 clientid. Also fix a leak for Motif and Athena. (Dominique Pelle)
6700Files: src/gui_x11.c, src/os_unix.c
6701
6702Patch 7.1.319
6703Problem: When a register has an illegal utf-8 sequence, pasting it on the
6704 command line causes an illegal memory access.
6705Solution: Use mb_cptr2char_adv(). (Dominique Pelle)
6706Files: src/ex_getln.c
6707
6708Patch 7.1.320 (extra)
6709Problem: Win64: Warnings while compiling Python interface.
6710Solution: Use PyInt in more places. Also update version message for the
6711 console. (George Reilly)
6712Files: src/if_python.c, src/version.c
6713
6714Patch 7.1.321 (extra)
6715Problem: Win32 / Win64: Install file is outdated.
6716Solution: Update the text for recent compiler. (George Reilly)
6717Files: src/INSTALLpc.txt
6718
6719Patch 7.1.322
6720Problem: Can't get start of Visual area in an <expr> mapping.
6721Solution: Add the 'v' argument to getpos().
6722Files: runtime/doc/eval.txt, src/eval.c
6723
6724Patch 7.1.323
Bram Moolenaarc236c162008-07-13 17:41:49 +00006725Problem: Test 19 fails with some termcaps. (Dominique Pelle)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00006726Solution: Set the t_kb and t_kD termcap values.
6727Files: src/testdir/test19.in, src/testdir/test38.in
6728
6729Patch 7.1.324
6730Problem: File name path length on Unix is limited to 1024.
6731Solution: Use PATH_MAX when it's more than 1000.
6732Files: src/os_unix.h
6733
6734Patch 7.1.325
6735Problem: When editing a command line that's longer than available space in
6736 the window, the characters at the end are in reverse order.
6737Solution: Increment the insert position even when the command line doesn't
6738 fit. (Ingo Karkat)
6739Files: src/ex_getln.c
6740
6741Patch 7.1.326
6742Problem: ":s!from!to!" works, but ":smagic!from!to!" doesn't. It sees the
Bram Moolenaar996343d2010-07-04 22:20:21 +02006743 "!" as a flag to the command. Same for ":snomagic". (Johan Spetz)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00006744Solution: When checking for a forced command also ignore ":smagic" and
6745 ":snomagic". (Ian Kelling)
6746Files: src/ex_docmd.c
6747
6748Patch 7.1.327
6749Problem: The GUI tutor is installed when there is no GUI version.
6750Solution: Only install gvimtutor when building a GUI version.
6751Files: src/Makefile
6752
6753Patch 7.1.328
6754Problem: Crash when using Cygwin and non-posix path name in tags file.
6755Solution: Use separate buffer for posix path. (Ben Schmidt)
6756Files: src/os_unix.c
6757
6758Patch 7.1.329
6759Problem: When the popup menu is removed a column of cells, the right halve
6760 of double-wide characters, may not be redrawn.
6761Solution: Check if the right halve of a character needs to be redrawn.
6762 (Yukihiro Nakadaira)
6763Files: src/screen.c
6764
6765Patch 7.1.330
6766Problem: Reading uninitialized memory when using Del in replace mode.
6767Solution: Use utfc_ptr2len_len() instead of mb_ptr2len(). (Dominique Pelle)
6768Files: src/misc1.c
6769
6770
6771Warning for missing sentinel in gui_xmldlg.c. (Dominique Pelle)
6772
6773A search offset from the end of a match didn't work properly for multi-byte
6774characters. (Yukihiro Nakadaira)
6775
6776When displaying the value of 'key' don't show "*****" when the value is empty.
6777(Ben Schmidt)
6778
6779Internal error when compiled with EXITFREE and using the nerd_tree plugin.
6780Set last_msg_hist to NULL when history becomes empty. Call
6781free_all_functions() after garbage collection. (Dominique Pelle)
6782
6783GTK with XIM: <S-Space> does not work. (Yukihiro Nakadaira)
6784
6785Some shells do not support "echo -n", which breaks glob(). Use "echo" instead
6786of "echo -n $1; echo". (Gary Johnson)
6787
6788"echo 22,44" printed "22" on top of the command, the error messages caused
6789the rest not to be cleared. Added the need_clr_eos flag.
6790
6791Netbeans events are handled while updating the screen, causing a crash.
6792Change the moment when events are handled. Rename nb_parse_messages() to
6793netbeans_parse_messages(). (Xavier de Gaye)
6794
6795Test 11 was broken after patch 7.1.186 on Win32 console. (Daniel Shahaf)
6796Use shellescape() on the file name.
6797
6798IM was turned off in im_preedit_end_cb() for no good reason. (Takuhiro
6799Nishioka)
6800
6801A corrupted spell file could cause Vim to use lots of memory. Better
6802detection for running into the end of the file. (idea from James Vega)
6803
6804Mac: Included a patch to make it build with GTK. Moved language init to
6805mac_lang_init() function. (Ben Schmidt)
6806
6807Problem with 'wildmenu' after ":lcd", up/down arrows don't work. (Erik Falor)
6808
6809Fix configure.in to avoid "implicitly declared" warnings when running
6810configure.
6811
6812Fixed a memory leak when redefining a keymap. (Dominique Pelle)
6813
6814Setting 'pastetoggle' to "jj" didn't work.
6815
6816'ic' and 'smartcase' don't work properly when using \%V in a search pattern.
6817(Kana Natsuno)
Bram Moolenaarb2a460d2007-05-12 15:16:37 +00006818
Bram Moolenaarc236c162008-07-13 17:41:49 +00006819Patch 7.2a.001
6820Problem: On some systems X11/Xlib.h exists (from X11-dev package) but
6821 X11/Intrinsic.h does not (in Xt-dev package). This breaks the
6822 build. Also, on Solaris 9 sys/ptem.h isn't found.
6823Solution: Have configure only accept X11 when X11/Intrinsic.h exists.
6824 Check for sys/ptem.h while including sys/stream.h. (Vladimir
6825 Marek)
6826Files: src/auto/configure, src/configure.in
6827
6828Patch 7.2a.002
6829Problem: getbufvar(N, "") gets the dictionary of the current buffer instead
6830 of buffer N.
6831Solution: Set curbuf before calling find_var_in_ht(). (Kana Natsuno)
6832Files: src/eval.c
6833
6834Patch 7.2a.003
6835Problem: Leaking memory when using ":file name" and using access control
6836 lists.
6837Solution: Invoke mch_free_acl() in vim_rename(). (Dominique Pelle)
6838Files: src/fileio.c
6839
6840Patch 7.2a.004
6841Problem: Some systems can't get spell files by ftp.
6842Solution: Use http when it looks like it's possible. (James Vega)
6843Files: runtime/autoload/spellfile.vim
6844
6845Patch 7.2a.005
6846Problem: A few error messages use confusing names. Misspelling.
6847Solution: Change "dissallows" to "disallows". (Dominique Pelle) Change
6848 "number" to "Number".
6849Files: src/eval.c, src/fileio.c
6850
6851Patch 7.2a.006
6852Problem: Reading past NUL in a string.
6853Solution: Check for invalid utf-8 byte sequence. (Dominique Pelle)
6854Files: src/charset.c
6855
6856Patch 7.2a.007
6857Problem: ":let v = 1.2.3" was OK in Vim 7.1, now it gives an error.
6858Solution: Don't look for a floating point number after the "." operator.
6859Files: src/eval.c
6860
6861Patch 7.2a.008
6862Problem: printf("%g", 1) doesn't work.
6863Solution: Convert Number to Float when needed.
6864Files: src/message.c
6865
6866Patch 7.2a.009
6867Problem: cygwin_conv_to_posix_path() does not specify buffer size.
6868Solution: Use new Cygwin function: cygwin_conv_path(). (Corinna Vinschen)
6869Files: src/main.c, src/os_unix.c
6870
6871Patch 7.2a.010
6872Problem: When a file name has an illegal byte sequence Vim may read
6873 uninitialised memory.
6874Solution: Don't use UTF_COMPOSINGLIKE() on an illegal byte. In
6875 msg_outtrans_len_attr() use char2cells() instead of ptr2cells().
6876 In utf_ptr2char() don't check second byte when first byte is
Bram Moolenaare37d50a2008-08-06 17:06:04 +00006877 illegal. (Dominique Pelle)
Bram Moolenaarc236c162008-07-13 17:41:49 +00006878Files: src/mbyte.c, src/message.c
6879
6880Patch 7.2a.011
6881Problem: The Edit/Startup Settings menu doesn't work.
6882Solution: Expand environment variables. (Ben Schmidt)
6883Files: runtime/menu.vim
6884
6885Patch 7.2a.012
6886Problem: Compiler warnings for casting int to pointer.
6887Solution: Add cast to long in between. (Martin Toft)
6888Files: src/gui_gtk_x11.c
6889
6890Patch 7.2a.013
6891Problem: shellescape() does not escape "%" and "#" characters.
6892Solution: Add find_cmdline_var() and use it when the second argument to
6893 shellescape() is non-zero.
6894Files: runtime/doc/eval.txt, src/eval.c, src/ex_docmd.c,
6895 src/proto/ex_docmd.pro, src/proto/misc2.pro, src/misc2.c
6896
6897Patch 7.2a.014
6898Problem: Problem with % in message.
6899Solution: Put % in single quotes.
6900Files: src/eval.c
6901
6902Patch 7.2a.015 (after 7.2a.010)
6903Problem: Misaligned messages.
6904Solution: Compute length of unprintable chars correctly.
6905Files: src/message.c
6906
6907Patch 7.2a.016
6908Problem: Using CTRL-W v in the quickfix window results in two quickfix
6909 windows, which is not allowed. ":tab split" should be allowed to
6910 open a new quickfix window in another tab.
6911Solution: For CTRL-W v instead of splitting the window open a new one.
6912 When using ":tab" do allow splitting the quickfix window (was
6913 already included in patch 7.2a.013).
6914Files: src/window.c
6915
6916Patch 7.2a.017
6917Problem: ":doautoall" executes autocommands for all buffers instead of just
6918 for loaded buffers.
6919Solution: Change "curbuf" to "buf".
6920Files: src/fileio.c
6921
6922Patch 7.2a.018
6923Problem: Compiler warnings when compiling with Gnome. (Tony Mechelynck)
6924Solution: Add type casts.
6925Files: src/gui_gtk_x11.c
6926
6927Patch 7.2a.019
6928Problem: ":let &g:tw = 44" sets the local option value. (Cyril Slobin)
6929Solution: Use get_varp_scope() instead of get_varp(). (Ian Kelling)
6930Files: src/option.c
6931
6932There is no way to avoid adding /usr/local/{include|lib} to the build
6933commands. Add the --with-local-dir argument to configure. (Michael
6934Haubenwallner)
6935
6936When using CTRL-D after ":help", the number of matches could be thousands.
6937Restrict to TAG_MANY to avoid this taking too long. (Ian Kelling)
6938
6939The popup menu could be placed at a weird location. Caused by w_wcol computed
6940by curs_columns(). (Dominique Pelle)
6941
6942Overlapping STRCPY() arguments when using %r item in 'errorformat'. Use
6943STRMOVE() instead. (Ralf Wildenhues)
6944
6945Mac: On Leopard gvim, when using the mouse wheel nothing would happen until
Bram Moolenaare37d50a2008-08-06 17:06:04 +00006946another event occurs, such as moving the mouse. Then the recorded scrolling
Bram Moolenaarc236c162008-07-13 17:41:49 +00006947would take place all at once. (Eckehard Berns)
6948
6949Solution for cursor color not reflecting IM status for GTK 2. Add
6950preedit_is_active flag. (SungHyun Nam)
6951
6952filereadable() can hang on a FIFO on Linux. Use open() instead of fopen(),
6953with O_NONBLOCK. (suggested by Lars Kotthoff)
6954
6955Included patch to support Perl 5.10. (Yasuhiro Matsumoto)
6956
6957When files are dropped on gvim while the screen is being updated, ignore the
6958drop command to avoid freeing memory that is being used.
6959
6960In a terminal, when drawing the popup menu over double-wide characters, half
6961characters may not be cleared properly. (Yukihiro Nakadaira)
6962
6963The #ifdef for including "vimio.h" was inconsistent. In a few files it
6964depended on MSWIN, which isn't defined until later.
6965
Bram Moolenaare37d50a2008-08-06 17:06:04 +00006966Patch 7.2b.001
6967Problem: Compilation problem: mb_fix_col() missing with multi-byte feature
6968 but without GUI or clipboard.
6969Solution: Remove #ifdef.
6970Files: src/mbyte.c
6971
6972Patch 7.2b.002
6973Problem: Compiler warnings for signed/unsigned mismatch.
6974Solution: Add type casts.
6975Files: src/screen.c
6976
6977Patch 7.2b.003
6978Problem: Still a compilation problem, check_col() and check_row() missing.
6979Solution: Add FEAT_MBYTE to the #if.
6980Files: src/ui.c
6981
6982Patch 7.2b.004
6983Problem: Trying to free memory for a static string when using ":helpgrep".
6984 (George Reilly)
6985Solution: Set 'cpo' to empty_option instead of an empty string. Also for
6986 searchpair() and substitute().
6987Files: src/quickfix.c, src/eval.c
6988
6989Patch 7.2b.005
6990Problem: The special character "!" isn't handled properly in shellescape().
6991 (Jan Minar)
6992Solution: Escape "!" when using a "csh" like shell and with
6993 shellescape(s, 1). Twice for both. Also escape <NL>.
6994Files: src/misc2.c
6995
6996Patch 7.2b.006
6997Problem: Reading past end of string when reading info from tags line.
6998Solution: Break the loop when encountering a NUL. (Dominique Pelle)
6999Files: src/tag.c
7000
7001Patch 7.2b.007
7002Problem: Part of a message cannot be translated.
7003Solution: Put _() around the message.
7004Files: src/search.c
7005
7006Patch 7.2b.008
7007Problem: A few filetypes are not detected or not detected properly.
7008Solution: Add filetype detection patterns. (Nikolai Weibull)
7009Files: runtime/filetype.vim
7010
7011Patch 7.2b.009
7012Problem: Reading past end of screen line. (Epicurus)
7013Solution: Avoid going past the value of Columns.
7014Files: src/screen.c
7015
7016Patch 7.2b.010
7017Problem: ":mksession" doesn't work for ":map , foo", ":sunmap ,". (Ethan
7018 Mallove)
7019Solution: Check for "nxo", "nso" and other strange mapping combinations.
7020Files: src/getchar.c
7021
7022Patch 7.2b.011
7023Problem: Configure for TCL ends up with include file in compiler command.
7024 (Richard Hogg)
7025Solution: Delete items from $TCL_DEFS that do not start with a dash.
7026Files: src/auto/configure, src/configure.in
7027
7028Patch 7.2b.012
7029Problem: Build failure with +multi_byte but without +diff.
7030Solution: Add #ifdef. (Patrick Texier)
7031Files: src/main.c
7032
7033Patch 7.2b.013
7034Problem: Build fails with tiny features and Perl. (Dominique Pelle)
7035Solution: Define missing functions. Also when compiling Python.
7036Files: src/if_perl.xs, src/if_python.c
7037
7038Patch 7.2b.014
7039Problem: Configure uses an unsafe temp file to store commands.
7040Solution: Create the temp file in local directory.
7041Files: src/auto/configure, src/configure.in
7042
7043Patch 7.2b.015
7044Problem: Build fails on Mac when using Aap.
7045Solution: Fix typo in configure script.
7046Files: src/auto/configure, src/configure.in
7047
7048Patch 7.2b.016
7049Problem: Build fails with normal features but without +autocmd.
7050Solution: Fix #ifdefs. (Ian Kelling)
7051Files: src/eval.c, src/ex_cmds.c, src/quickfix.c, src/option.c,
7052 src/ex_docmd.c
7053
7054Patch 7.2b.017
7055Problem: "vim -O foo foo" results in only one window. (Zdenek Sekera)
7056Solution: Handle result of ATTENTION prompt properly. (Ian Kelling)
7057Files: src/main.c
7058
7059Patch 7.2b.018
7060Problem: When doing command line completion on a file name for a csh-like
7061 shell argument a '!' character isn't escaped properly.
7062Solution: Add another backslash.
7063Files: src/ex_getln.c, src/misc2.c, src/proto/misc2.pro, src/screen.c
7064
7065Patch 7.2b.019 (extra)
7066Problem: Win32: Various compiler warnings.
7067Solution: Use __w64 attribute. Comment-out unused parameters. Adjust a few
7068 #ifdefs. (George Reilly)
7069Files: src/gui_w48.c, src/GvimExt/gvimext.cpp, src/Make_mvc.mak,
7070 src/os_mswin.c, src/os_win32.c, src/vim.h
7071
7072Patch 7.2b.020
7073Problem: ":sort n" doesn't handle negative numbers. (James Vega)
7074Solution: Include '-' in the number.
7075Files: src/charset.c, src/ex_cmds.c
7076
7077Patch 7.2b.021
7078Problem: Reloading doesn't read the BOM correctly. (Steve Gardner)
7079Solution: Accept utf-8 BOM when specified file encoding is utf-8.
7080Files: src/fileio.c
7081
7082Patch 7.2b.022
7083Problem: When using ":normal" while updating the status line the count of
7084 an operator is lost. (Dominique Pelle)
7085Solution: Save and restore "opcount".
7086Files: src/ex_docmd.c, src/globals.h, src/normal.c
7087
7088Patch 7.2b.023
7089Problem: Crash when using the result of synstack(0,0). (Matt Wozniski)
7090Solution: Check for v_list to be NULL in a few more places.
7091Files: src/eval.c
7092
7093Patch 7.2b.024
7094Problem: Using ":gui" while the netrw plugin is active causes a delay in
7095 updating the display.
7096Solution: Don't check for terminal codes when starting the GUI.
7097Files: src/term.c
7098
7099Patch 7.2b.025
7100Problem: When the CursorHold event triggers a pending count is lost.
7101 (Juergen Kraemer)
7102Solution: Save the counts and restore them.
7103Files: src/normal.c, src/structs.h
7104
7105Patch 7.2b.026
7106Problem: The GTK 2 file chooser causes the ~/.recently-used.xbel file to be
7107 written over and over again. This may cause a significant
7108 slowdown. (Guido Berhoerster)
7109Solution: Don't use the GTK 2 file chooser.
7110Files: src/gui_gtk.c
7111
7112Patch 7.2b.027
7113Problem: Memory leak for Python, Perl, etc. script command with end marker.
7114Solution: Free the memory of the end marker. (Andy Kittner)
7115Files: src/ex_getln.c
7116
7117Patch 7.2b.028
7118Problem: Reading uninitialized memory when doing ":gui -f". (Dominique
7119 Pelle)
7120Solution: Don't position the cursor when the screen size is invalid.
7121Files: src/gui.c
7122
7123Patch 7.2b.029
7124Problem: ":help a" doesn't jump to "a" tag in docs. (Tony Mechelynck)
7125Solution: Get all tags and throw away more than TAG_MANY after sorting.
7126 When there is no argument find matches for "help" to avoid a long
7127 delay.
7128Files: src/ex_cmds.c, src/ex_getln.c
7129
7130Patch 7.2b.030
7131Problem: When changing the value of t_Co from 8 to 16 the Visual
7132 highlighting keeps both reverse and a background color.
7133Solution: Remove the attribute when setting the default highlight color.
7134 (Markus Heidelberg)
7135Files: src/syntax.c
7136
7137Error when cancelling completion menu and auto-formatting. (fixed by Ian
7138Kelling)
7139
Bram Moolenaared39e1d2008-08-09 17:55:22 +00007140Patch 7.2c.001
7141Problem: ":let x=[''] | let x += x" causes hang. (Matt Wozniski)
7142Solution: Only insert elements up to the original length of the List.
7143Files: runtime/doc/eval.txt, src/eval.c
7144
7145Patch 7.2c.002
7146Problem: fnameescape() doesn't handle a leading '+' or '>'. (Jan Minar)
7147Solution: Escape a leading '+' and '>'. And a single '-'.
7148Files: runtime/doc/eval.txt, src/ex_getln.c
7149
7150Patch 7.2c.003
7151Problem: Searching for "foo\%[bar]\+" gives a "Corrupted regexp program"
7152 error. (Joachim Hofmann)
7153Solution: Mark the \%[] item as not being simple.
7154Files: src/regexp.c
7155
7156On Vista access to system directories is virtualized. (Michael Mutschler)
7157Adjusted the manifest file to avoid this. (George Reilly)
7158
7159Memory leak when using CTRL-C to cancel listing the jump list. (Dominique
7160Pelle)
7161
7162Mac: Could not build with Perl interface.
7163
Bram Moolenaar00a927d2010-05-14 23:24:24 +02007164==============================================================================
Bram Moolenaar7a329912010-05-21 12:05:36 +02007165VERSION 7.3 *version-7.3* *version7.3*
Bram Moolenaar00a927d2010-05-14 23:24:24 +02007166
7167This section is about improvements made between version 7.2 and 7.3.
7168
Bram Moolenaar6fc45b52010-07-25 17:42:45 +02007169This release has hundreds of bug fixes and there are a few new features. The
7170most notable new features are:
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007171
7172
7173Persistent undo *new-persistent-undo*
7174---------------
7175
7176Store undo information in a file. Can undo to before when the file was read,
7177also for unloaded buffers. See |undo-persistence| (partly by Jordan Lewis)
Bram Moolenaar6fc45b52010-07-25 17:42:45 +02007178
7179Added the ":earlier 1f" and ":later 1f" commands.
7180Added file save counter to undo information.
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007181Added the |undotree()| and |undofile()| functions.
7182
Bram Moolenaar59f931e2010-07-24 20:27:03 +02007183Also added the 'undoreload' option. This makes it possible to save the
Bram Moolenaar6fc45b52010-07-25 17:42:45 +02007184current text when reloading the buffer, so that the reload can be undone.
Bram Moolenaar59f931e2010-07-24 20:27:03 +02007185
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007186
7187More encryption *new-more-encryption*
7188---------------
7189
7190Support for Blowfish encryption. Added the 'cryptmethod' option.
Bram Moolenaar36782082013-11-28 13:53:34 +01007191Mostly by Mohsin Ahmed.
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007192
7193Also encrypt the text in the swap file and the undo file.
7194
7195
7196Conceal text *new-conceal*
7197------------
7198
7199Added the |+conceal| feature. (Vince Negri)
7200This allows hiding stretches of text, based on syntax highlighting.
7201It also allows replacing a stretch of text by a character |:syn-cchar|.
Bram Moolenaar6fc45b52010-07-25 17:42:45 +02007202The 'conceallevel' option specifies what happens with text matching a syntax
7203item that has the conceal attribute.
7204The 'concealcursor' option specifies what happens in the cursor line.
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007205
7206The help files conceal characters used to mark tags and examples.
7207
Bram Moolenaar6fc45b52010-07-25 17:42:45 +02007208Added the |synconcealed()| function and use it for :TOhtml. (Benjamin Fritz)
7209
Bram Moolenaarabf39e82010-08-14 21:57:32 +02007210Added the 'cursorbind' option, keeps the cursor in two windows with the same
7211text in sync.
7212
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007213
7214Lua interface *new-lua*
7215-------------
7216
7217Added the |Lua| interface. (Luis Carvalho)
7218
7219
7220Python3 interface *new-python3*
7221-----------------
7222
7223Added the Python3 interface. It exists next to Python 2.x, both can be used
Bram Moolenaar755bd262010-08-14 17:46:20 +02007224at the same time. See |python3| (Roland Puntaier)
Bram Moolenaar00a927d2010-05-14 23:24:24 +02007225
7226
7227Changed *changed-7.3*
7228-------
7229
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007230The MS-Windows installer no longer requires the user to type anything in the
7231console windows. The installer now also works on 64 bit systems, including
7232the "Edit with Vim" context menu.
7233The gvim executable is 32 bits, the installed gvimext.dll is either a 32 or 64
7234bit version. (mostly by George Reilly)
7235Made the DOS installer work with more compilers.
Bram Moolenaar69154f22010-07-18 21:42:34 +02007236The MS-Windows big gvim is now built with Python 2.7 and 3.1.2, Perl 5.12 and
Bram Moolenaar44886d92010-08-01 19:06:10 +02007237Ruby 1.9.1. You need the matching .dll files to use them.
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007238
Bram Moolenaar00a927d2010-05-14 23:24:24 +02007239The extra and language files are no longer distributed separately.
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007240The source files for all systems are included in one distribution.
Bram Moolenaar00a927d2010-05-14 23:24:24 +02007241
Bram Moolenaarfc2d5bd2010-05-15 17:06:53 +02007242After using ":recover" or recovering a file in another way, ":x" and "ZZ"
Bram Moolenaar44886d92010-08-01 19:06:10 +02007243didn't save what you see. This could result in work being lost. Now the text
Bram Moolenaarfc2d5bd2010-05-15 17:06:53 +02007244after recovery is compared to the original file contents. When they differ
7245the buffer is marked as modified.
7246
Bram Moolenaar0e1e25f2010-05-28 21:07:08 +02007247When Vim is exiting because of a deadly signal, when v:dying is 2 or more,
7248VimLeavePre, VimLeave, BufWinLeave and BufUnload autocommands are not
7249executed.
7250
Bram Moolenaarccd9ccf2010-07-07 13:19:55 +02007251Removed support for GTK 1. It was no longer maintained and required a lot of
7252#ifdefs in the source code. GTK 2 should be available for every system.
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007253(James Vega)
Bram Moolenaarccd9ccf2010-07-07 13:19:55 +02007254
Bram Moolenaar0ba04292010-07-14 23:23:17 +02007255It is no longer allowed to set the 'encoding' option from a modeline. It
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007256would corrupt the text. (Patrick Texier)
7257
7258Renamed runtime/spell/fixdup to runtime/spell/fixdup.vim.
7259
7260Removed obsolete Mac code.
7261
7262Updated spell files for Ubuntu locale names.
7263
7264Switched from autoconf 2.63 to 2.65.
Bram Moolenaar0ba04292010-07-14 23:23:17 +02007265
Bram Moolenaar44886d92010-08-01 19:06:10 +02007266Removed Mupad indent and ftplugin files, they are not useful.
7267
Bram Moolenaarabf39e82010-08-14 21:57:32 +02007268The maximum number of messages remembered in the history is now 200 (was 100).
7269
Bram Moolenaar00a927d2010-05-14 23:24:24 +02007270
7271Added *added-7.3*
7272-----
7273
Bram Moolenaar67c53842010-05-22 18:28:27 +02007274Added the 'relativenumber' option. (Markus Heidelberg)
7275
Bram Moolenaar0ba04292010-07-14 23:23:17 +02007276Added the 'colorcolumn' option: highlight one or more columns in a window.
7277E.g. to highlight the column after 'textwidth'. (partly by Gregor Uhlenheuer)
7278
Bram Moolenaarb26e6322010-05-22 21:34:09 +02007279Added support for NetBeans in a terminal. Added |:nbstart| and |:nbclose|.
7280(Xavier de Gaye)
Bram Moolenaar67c53842010-05-22 18:28:27 +02007281
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007282More floating point functions: |acos()|, |asin()|, |atan2()|, |cosh()|,
7283|exp()|, |fmod()|, |log()|, |sinh()|, |tan()|, |tanh()|. (Bill McCarthy)
Bram Moolenaar67c53842010-05-22 18:28:27 +02007284
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007285Added the |gettabvar()| and |settabvar()| functions. (Yegappan Lakshmanan)
Bram Moolenaar67c53842010-05-22 18:28:27 +02007286
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007287Added the |strchars()|, |strwidth()| and |strdisplaywidth()| functions.
7288
7289Support GDK_SUPER_MASK for GTK on Mac. (Stephan Schulz)
7290
Bram Moolenaar49771f42010-07-20 17:32:38 +02007291Made CTRL and ALT modifier work for mouse wheel. (Benjamin Haskell)
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007292
Bram Moolenaar44886d92010-08-01 19:06:10 +02007293Added support for horizontal scroll wheel. (Bjorn Winckler)
7294
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007295When the buffer is in diff mode, have :TOhtml create HTML to show the diff
7296side-by-side. (Christian Brabandt)
7297
7298Various improvements to ":TOhtml" and the 2html.vim script. (Benjamin Fritz)
7299
7300Add the 'L' item to 'cinoptions'. (Manuel Konig)
7301
7302Improve Javascript indenting. Add "J" flag to 'cinoptions'. (Hari Kumar G)
7303
7304Mac: Support disabling antialias. (LC Mi)
7305
7306Mac: Add clipboard support in the Mac console. (Bjorn Winckler)
7307
7308Make it possible to drag a tab page label to another position. (Paul B. Mahol)
7309
7310Better implementation of creating the Color Scheme menu. (Juergen Kraemer)
7311
7312In Visual mode with 'showcmd' display the number of bytes and characters.
7313
Bram Moolenaar4421d6a2010-08-14 13:33:56 +02007314Allow synIDattr() getting GUI attributes when built without GUI. (Matt
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007315Wozniski)
7316
Bram Moolenaar5eba45c2010-08-08 21:15:53 +02007317Support completion for ":find". Added test 73. (Nazri Ramliy)
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007318
Bram Moolenaar44886d92010-08-01 19:06:10 +02007319Command line completion for :ownsyntax and :setfiletype. (Dominique Pelle)
7320
7321Command line completion for :lmap and :lunmap.
7322
7323Support syntax and filetype completion for user commands. (Christian Brabandt)
7324
Bram Moolenaar44886d92010-08-01 19:06:10 +02007325Avoid use of the GTK main_loop() so that the GtkFileChooser can be used.
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007326(James Vega)
7327
7328When 'formatexpr' evaluates to non-zero fall back to internal formatting, also
7329for "gq". (James Vega)
7330
7331Support :browse for commands that use an error file argument. (Lech Lorens)
7332
7333Support wide file names in gvimext. (Szabolcs Horvat)
7334
7335Improve test for joining lines. (Milan Vancura)
7336Make joining a range of lines much faster. (Milan Vancura)
7337
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007338Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
7339
7340Added the helphelp.txt file. Moved text from various.txt to it.
7341
Bram Moolenaar6fc45b52010-07-25 17:42:45 +02007342Added "q" item for 'statusline'. Added |w:quickfix_title|. (Lech Lorens)
7343
Bram Moolenaar44886d92010-08-01 19:06:10 +02007344Various improvements for VMS. (Zoltan Arpadffy)
Bram Moolenaar6fc45b52010-07-25 17:42:45 +02007345
7346
Bram Moolenaar44886d92010-08-01 19:06:10 +02007347New syntax files: ~
Bram Moolenaar69154f22010-07-18 21:42:34 +02007348Haskell Cabal build file (Vincent Berthoux)
7349ChaiScript (Jason Turner)
7350Cucumber (Tim Pope)
Bram Moolenaar90df5502010-08-01 21:48:21 +02007351Datascript (Dominique Pelle)
Bram Moolenaar69154f22010-07-18 21:42:34 +02007352Fantom (Kamil Toman)
7353Liquid (Tim Pope)
7354Markdown (Tim Pope)
7355wavefront's obj file (Vincent Berthoux)
7356Perl 6 (Andy Lester)
7357SDC - Synopsys Design Constraints (Maurizio Tranchero)
7358SVG - Scalable Vector Graphics (Vincent Berthoux)
7359task data (John Florian)
7360task 42 edit (John Florian)
Bram Moolenaar06b5d512010-05-22 15:37:44 +02007361
Bram Moolenaar44886d92010-08-01 19:06:10 +02007362New filetype plugins: ~
Bram Moolenaar69154f22010-07-18 21:42:34 +02007363Cucumber (Tim Pope)
7364Liquid (Tim Pope)
Bram Moolenaar755bd262010-08-14 17:46:20 +02007365Logcheck (Debian)
Bram Moolenaar69154f22010-07-18 21:42:34 +02007366Markdown (Tim Pope)
Bram Moolenaar755bd262010-08-14 17:46:20 +02007367Perl 6 (Andy Lester)
7368Quickfix window (Lech Lorens)
Bram Moolenaar69154f22010-07-18 21:42:34 +02007369Tcl (Robert L Hicks)
Bram Moolenaar00a927d2010-05-14 23:24:24 +02007370
Bram Moolenaar44886d92010-08-01 19:06:10 +02007371New indent plugins: ~
Bram Moolenaar755bd262010-08-14 17:46:20 +02007372CUDA (Bram Moolenaar)
Bram Moolenaar69154f22010-07-18 21:42:34 +02007373ChaiScript (Jason Turner)
7374Cucumber (Tim Pope)
Bram Moolenaar69154f22010-07-18 21:42:34 +02007375LifeLines (Patrick Texier)
7376Liquid (Tim Pope)
7377Mail (Bram Moolenaar)
7378Perl 6 (Andy Lester)
Bram Moolenaar00a927d2010-05-14 23:24:24 +02007379
Bram Moolenaar44886d92010-08-01 19:06:10 +02007380Other new runtime files: ~
Bram Moolenaar69154f22010-07-18 21:42:34 +02007381Breton spell file (Dominique Pelle)
Bram Moolenaar755bd262010-08-14 17:46:20 +02007382Dvorak keymap (Ashish Shukla)
7383Korean translations. (SungHyun Nam)
7384Python 3 completion (Aaron Griffin)
7385Serbian menu translations (Aleksandar Jelenak)
7386Tetum spell files
Bram Moolenaar69154f22010-07-18 21:42:34 +02007387Tutor Bairish (Sepp Hell)
7388Tutor in Esperanto. (Dominique Pellé)
Bram Moolenaarabf39e82010-08-14 21:57:32 +02007389Tutor in Portuguese.
7390Norwegian Tutor now also available as tutor.nb
Bram Moolenaar755bd262010-08-14 17:46:20 +02007391
7392Removed the Mupad runtime files, they were not maintained.
Bram Moolenaar06b5d512010-05-22 15:37:44 +02007393
Bram Moolenaar00a927d2010-05-14 23:24:24 +02007394
7395Fixed *fixed-7.3*
7396-----
7397
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007398Patch 7.2.001
7399Problem: Mac: pseudo-ttys don't work properly on Leopard, resulting in the
7400 shell not to have a prompt, CTRL-C not working, etc.
7401Solution: Don't use SVR4 compatible ptys, even though they are detected.
7402 (Ben Schmidt)
7403Files: src/pty.c
7404
7405Patch 7.2.002
7406Problem: Leaking memory when displaying menus.
7407Solution: Free allocated memory. (Dominique Pelle)
7408Files: src/menu.c
7409
7410Patch 7.2.003
7411Problem: Typo in translated message. Message not translated.
7412Solution: Correct spelling. Add _(). (Dominique Pelle)
7413Files: src/spell.c, src/version.c
7414
7415Patch 7.2.004
7416Problem: Cscope help message is not translated.
7417Solution: Put it in _(). (Dominique Pelle)
7418Files: src/if_cscope.c, src/if_cscope.h
7419
7420Patch 7.2.005
7421Problem: A few problems when profiling. Using flag pointer instead of flag
7422 value. Allocating zero bytes. Not freeing used memory.
7423Solution: Remove wrong '&' characters. Skip dumping when there is nothing
7424 to dump. Free used memory. (Dominique Pelle)
7425Files: src/eval.c
7426
7427Patch 7.2.006
7428Problem: HTML files are not recognized by contents.
7429Solution: Add a rule to the scripts file. (Nico Weber)
7430Files: runtime/scripts.vim
7431
7432Patch 7.2.007 (extra)
7433Problem: Minor issues for VMS.
7434Solution: Minor fixes for VMS. Add float support. (Zoltan Arpadffy)
7435Files: runtime/doc/os_vms.txt, src/os_vms_conf.h, src/Make_vms.mms,
7436 src/testdir/Make_vms.mms, src/testdir/test30.in,
7437 src/testdir/test54.in
7438
7439Patch 7.2.008
7440Problem: With a BufHidden autocommand that invokes ":bunload" the window
7441 count for a buffer can be wrong. (Bob Hiestand)
7442Solution: Don't call enter_buffer() when already in that buffer.
7443Files: src/buffer.c
7444
7445Patch 7.2.009
7446Problem: Can't compile with Perl 5.10 on MS-Windows. (Cesar Romani)
7447Solution: Add the Perl_sv_free2 function for dynamic loading. (Dan Sharp)
7448Files: src/if_perl.xs
7449
7450Patch 7.2.010
7451Problem: When using "K" in Visual mode not all characters are properly
7452 escaped. (Ben Schmidt)
7453Solution: Use a function with the functionality of shellescape(). (Jan
7454 Minar)
7455Files: src/mbyte.c, src/misc2.c, src/normal.c
7456
7457Patch 7.2.011
7458Problem: Get an error when inserting a float value from the expression
7459 register.
7460Solution: Convert the Float to a String automatically in the same place
7461 where a List would be converted to a String.
7462Files: src/eval.c
7463
7464Patch 7.2.012
7465Problem: Compiler warnings when building with startup timing.
7466Solution: Add type casts.
7467Files: src/ex_cmds2.c
7468
7469Patch 7.2.013
7470Problem: While waiting for the X selection Vim consumes a lot of CPU time
7471 and hangs until a response is received.
7472Solution: Sleep a bit when the selection event hasn't been received yet.
7473 Time out after a couple of seconds to avoid a hang when the
7474 selection owner isn't responding.
7475Files: src/ui.c
7476
7477Patch 7.2.014
Bram Moolenaarfcb7ab62010-07-20 11:16:17 +02007478Problem: synstack() doesn't work in an empty line.
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007479Solution: Accept column zero as a valid position.
7480Files: src/eval.c
7481
7482Patch 7.2.015
7483Problem: "make all test install" doesn't stop when the test fails. (Daniel
7484 Shahaf)
7485Solution: When test.log contains failures exit with non-zero status.
7486Files: src/testdir/Makefile
7487
7488Patch 7.2.016
7489Problem: The pattern being completed may be in freed memory when the
7490 command line is being reallocated. (Dominique Pelle)
7491Solution: Keep a pointer to the expand_T in the command line structure.
7492 Don't use <S-Tab> as CTRL-P when there are no results. Clear the
7493 completion when using a command line from the history.
7494Files: src/ex_getln.c
7495
7496Patch 7.2.017
7497Problem: strlen() used on text that may not end in a NUL. (Dominique Pelle)
7498 Pasting a very big selection doesn't work.
7499Solution: Use the length passed to the XtSelectionCallbackProc() function.
7500 After getting the SelectionNotify event continue dispatching
7501 events until the callback is actually called. Also dispatch the
7502 PropertyNotify event.
7503Files: src/ui.c
7504
7505Patch 7.2.018
7506Problem: Memory leak when substitute is aborted.
7507Solution: Free the buffer allocated for the new text. (Dominique Pelle)
7508Files: src/ex_cmds.c
7509
7510Patch 7.2.019
7511Problem: Completion of ":noautocmd" doesn't work and exists(":noautocmd")
7512 returns zero. (Ben Fritz)
7513Solution: Add "noautocmd" to the list of modifiers and commands.
7514Files: src/ex_cmds.h, src/ex_docmd.c
7515
7516Patch 7.2.020
7517Problem: Starting the GUI when the executable starts with 'k', but the KDE
7518 version no longer exists.
7519Solution: Don't have "kvim" start the GUI.
7520Files: src/main.c
7521
7522Patch 7.2.021
7523Problem: When executing autocommands getting the full file name may be
7524 slow. (David Kotchan)
7525Solution: Postpone calling FullName_save() until autocmd_fname is used.
7526Files: src/ex_docmd.c, src/fileio.c, src/globals.h
7527
7528Patch 7.2.022 (extra)
7529Problem: Testing is not possible when compiling with MingW.
7530Solution: Add a MingW specific test Makefile. (Bill McCarthy)
7531Files: Filelist, src/testdir/Make_ming.mak
7532
7533Patch 7.2.023
7534Problem: 'cursorcolumn' is in the wrong place in a closed fold when the
7535 display is shifted left. (Gary Johnson)
7536Solution: Subtract w_skipcol or w_leftcol when needed.
7537Files: src/screen.c
7538
7539Patch 7.2.024
7540Problem: It's possible to set 'history' to a negative value and that causes
7541 an out-of-memory error.
7542Solution: Check that 'history' has a positive value. (Doug Kearns)
7543Files: src/option.c
7544
7545Patch 7.2.025
7546Problem: When a CursorHold event invokes system() it is retriggered over
7547 and over again.
7548Solution: Don't reset did_cursorhold when getting K_IGNORE.
7549Files: src/normal.c
7550
7551Patch 7.2.026 (after 7.2.010)
7552Problem: "K" doesn't use the length of the identifier but uses the rest of
7553 the line.
7554Solution: Copy the desired number of characters first.
7555Files: src/normal.c
7556
7557Patch 7.2.027
7558Problem: Can use cscope commands in the sandbox.
7559Solution: Disallow them, they might not be safe.
7560Files: src/ex_cmds.h
7561
7562Patch 7.2.028
7563Problem: Confusing error message for missing ().
7564Solution: Change "braces" to "parentheses". (Gary Johnson)
7565Files: src/eval.c
7566
7567Patch 7.2.029
7568Problem: No completion for ":doautoall".
7569Solution: Complete ":doautoall" like ":doautocmd". (Doug Kearns)
7570Files: src/ex_docmd.c
7571
7572Patch 7.2.030 (after 7.2.027)
7573Problem: Can't compile.
7574Solution: Remove prematurely added ex_oldfiles.
7575Files: src/ex_cmds.h
7576
7577Patch 7.2.031
7578Problem: Information in the viminfo file about previously edited files is
7579 not available to the user. There is no way to get a complete list
7580 of files edited in previous Vim sessions.
7581Solution: Add v:oldfiles and fill it with the list of old file names when
7582 first reading the viminfo file. Add the ":oldfiles" command,
7583 ":browse oldfiles" and the "#<123" special file name. Increase
7584 the default value for 'viminfo' from '20 to '100.
7585Files: runtime/doc/cmdline.txt, runtime/doc/eval.txt,
7586 runtime/doc/starting.txt, runtime/doc/usr_21.txt, src/eval.c,
7587 src/ex_cmds.c, src/ex_cmds.h, src/ex_docmd.c, src/feature.h,
7588 src/fileio.c, src/main.c, src/mark.c, src/misc1.c,
7589 src/proto/eval.pro, src/proto/ex_cmds.pro, src/proto/mark.pro,
7590 src/option.c, src/structs.h, src/vim.h
7591
7592Patch 7.2.032 (after 7.2.031)
7593Problem: Can't build with EXITFREE defined. (Dominique Pelle)
7594Solution: Change vv_string to vv_str.
7595Files: src/eval.c
7596
7597Patch 7.2.033
7598Problem: When detecting a little endian BOM "ucs-2le" is used, but the text
7599 might be "utf-16le".
7600Solution: Default to "utf-16le", it also works for "ucs-2le". (Jia Yanwei)
7601Files: src/fileio.c, src/testdir/test42.ok
7602
7603Patch 7.2.034
7604Problem: Memory leak in spell info when deleting buffer.
7605Solution: Free the memory. (Dominique Pelle)
7606Files: src/buffer.c
7607
7608Patch 7.2.035
7609Problem: Mismatches between alloc/malloc, free/vim_free,
7610 realloc/vim_realloc.
7611Solution: Use the right function. (Dominique Pelle)
7612Files: src/gui_x11.c, src/mbyte.c, src/misc2.c, src/os_unix.c
7613
7614Patch 7.2.036 (extra)
7615Problem: Mismatches between alloc/malloc, free/vim_free,
7616 realloc/vim_realloc.
7617Solution: Use the right function. (Dominique Pelle)
7618Files: src/gui_riscos.c, src/gui_w48.c, src/mbyte.c, src/os_vms.c,
7619 src/os_w32exe.c, src/os_win16.c
7620
7621Patch 7.2.037
7622Problem: Double free with GTK 1 and compiled with EXITFREE.
7623Solution: Don't close display. (Dominique Pelle)
7624Files: src/os_unix.c
7625
7626Patch 7.2.038
7627Problem: Overlapping arguments to memcpy().
7628Solution: Use mch_memmove(). (Dominique Pelle)
7629Files: src/if_xcmdsrv.c
7630
7631Patch 7.2.039
7632Problem: Accessing freed memory on exit when EXITFREE is defined.
7633Solution: Call hash_init() on the v: hash table.
7634Files: src/eval.c
7635
7636Patch 7.2.040
7637Problem: When using ":e ++ff=dos fname" and the file contains a NL without
7638 a CR before it and 'ffs' contains "unix" then the fileformat
7639 becomes unix.
7640Solution: Ignore 'ffs' when using the ++ff argument. (Ben Schmidt)
7641 Also remove unreachable code.
7642Files: src/fileio.c
7643
7644Patch 7.2.041
7645Problem: In diff mode, when using two tabs, each with two diffed buffers,
7646 editing a buffer of the other tab messes up the diff. (Matt
7647 Mzyzik)
7648Solution: Only copy options from a window where the buffer was edited that
7649 doesn't have 'diff' set or is for the current tab page.
7650 Also fix that window options for a buffer are stored with the
7651 wrong window.
7652Files: src/buffer.c, src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c,
7653 src/ex_getln.c, src/if_sniff.c, src/main.c, src/netbeans.c,
7654 src/normal.c, src/popupmnu.c, src/proto/buffer.pro,
7655 src/proto/ex_cmds.pro src/quickfix.c, src/window.c
7656
7657Patch 7.2.042
7658Problem: When using winrestview() in a BufWinEnter autocommand the window
7659 is scrolled anyway. (Matt Zyzik)
7660Solution: Don't recompute topline when above 'scrolloff' from the bottom.
7661 Don't always put the cursor halfway when entering a buffer. Add
7662 "w_topline_was_set".
7663Files: src/buffer.c, src/move.c, src/structs.h
7664
7665Patch 7.2.043
7666Problem: VMS: Too many characters are escaped in filename and shell
7667 commands.
7668Solution: Escape fewer characters. (Zoltan Arpadffy)
7669Files: src/vim.h
7670
7671Patch 7.2.044
7672Problem: Crash because of STRCPY() being over protective of the destination
7673 size. (Dominique Pelle)
7674Solution: Add -D_FORTIFY_SOURCE=1 to CFLAGS. Use an intermediate variable
7675 for the pointer to avoid a warning.
7676Files: src/auto/configure, src/configure.in, src/eval.c
7677
7678Patch 7.2.045
7679Problem: The Python interface has an empty entry in sys.path.
7680Solution: Filter out the empty entry. (idea from James Vega)
7681Files: src/if_python.c
7682
7683Patch 7.2.046
7684Problem: Wrong check for filling buffer with encoding. (Danek Duvall)
7685Solution: Remove pointers. (Dominique Pelle)
7686Files: src/mbyte.c
7687
7688Patch 7.2.047
7689Problem: Starting Vim with the -nb argument while it's not supported causes
7690 the other side to hang.
7691Solution: When -nb is used while it's not supported exit Vim. (Xavier de
7692 Gaye)
7693Files: src/main.c, src/vim.h
7694
7695Patch 7.2.048
7696Problem: v:prevcount is changed too often. Counts are not multiplied when
7697 setting v:count.
7698Solution: Set v:prevcount properly. Multiply counts. (idea by Ben Schmidt)
7699Files: src/eval.c, src/normal.c, src/proto/eval.pro
7700
7701Patch 7.2.049 (extra)
7702Problem: Win32: the clipboard doesn't support UTF-16.
7703Solution: Change UCS-2 support to UTF-16 support. (Jia Yanwei)
7704Files: src/gui_w32.c, src/gui_w48.c, src/mbyte.c, src/misc1.c,
7705 src/os_mswin.c, src/os_win32.c, src/proto/os_mswin.pro
7706
7707Patch 7.2.050
7708Problem: Warnings for not checking return value of fwrite(). (Chip Campbell)
7709Solution: Use the return value.
7710Files: src/spell.c
7711
7712Patch 7.2.051
7713Problem: Can't avoid 'wildignore' and 'suffixes' for glob() and globpath().
7714Solution: Add an extra argument to these functions. (Ingo Karkat)
7715Files: src/eval.c, src/ex_getln.c, src/proto/ex_getln.pro,
7716 runtime/doc/eval.txt, runtime/doc/options.txt
7717
7718Patch 7.2.052
7719Problem: synIDattr() doesn't support "sp" for special color.
7720Solution: Recognize "sp" and "sp#". (Matt Wozniski)
7721Files: runtime/doc/eval.txt, src/eval.c
7722
7723Patch 7.2.053
7724Problem: Crash when using WorkShop command ":ws foo". (Dominique Pelle)
7725Solution: Avoid using a NULL pointer.
7726Files: src/workshop.c
7727
7728Patch 7.2.054
7729Problem: Compilation warnings for format in getchar.c.
7730Solution: Use fputs() instead of fprintf(). (Dominique Pelle)
7731Files: src/getchar.c
7732
7733Patch 7.2.055
7734Problem: Various compiler warnings with strict checking.
7735Solution: Avoid the warnings by using return values and renaming.
7736Files: src/diff.c, src/eval.c, src/ex_cmds.c, src/ex_docmd.c,
7737 src/fileio.c, src/fold.c, src/globals.h, src/gui.c,
7738 src/gui_at_sb.c, src/gui_gtk_x11.c, src/gui_xmdlg.c,
7739 src/gui_xmebw.c, src/main.c, src/mbyte.c, src/message.c,
7740 src/netbeans.c, src/option.c, src/os_unix.c, src/spell.c,
7741 src/ui.c, src/window.c
7742
7743Patch 7.2.056 (after 7.2.050)
7744Problem: Tests 58 and 59 fail.
7745Solution: Don't invoke fwrite() with a zero length. (Dominique Pelle)
7746Files: src/spell.c
7747
7748Patch 7.2.057 (after 7.2.056)
7749Problem: Combination of int and size_t may not work.
7750Solution: Use size_t for variable.
7751Files: src/spell.c
7752
7753Patch 7.2.058
7754Problem: Can't add a patch name to the ":version" output.
7755Solution: Add the extra_patches array.
7756Files: src/version.c
7757
7758Patch 7.2.059
7759Problem: Diff display is not always updated.
7760Solution: Update the display more often.
7761Files: src/diff.c
7762
7763Patch 7.2.060
7764Problem: When a spell files has many compound rules it may take a very long
7765 time making the list of suggestions. Displaying also can be slow
7766 when there are misspelled words.
7767 Can't parse some Hunspell .aff files.
7768Solution: Check if a compounding can possibly work before trying a
7769 combination, if the compound rules don't contain wildcards.
7770 Implement using CHECKCOMPOUNDPATTERN.
7771 Ignore COMPOUNDRULES. Ignore a comment after most items.
7772 Accept ONLYINCOMPOUND as an alias for NEEDCOMPOUND.
7773 Accept FORBIDDENWORD as an alias for BAD.
7774Files: runtime/doc/spell.txt, src/spell.c
7775
7776Patch 7.2.061
7777Problem: Can't create a funcref for an autoload function without loading
7778 the script first. (Marc Weber)
7779Solution: Accept autoload functions that don't exist yet in function().
7780Files: src/eval.c
7781
7782Patch 7.2.062
7783Problem: "[Scratch]" is not translated.
7784Solution: Mark the string for translation. (Dominique Pelle)
7785Files: src/buffer.c
7786
7787Patch 7.2.063
7788Problem: Warning for NULL argument of Perl_sys_init3().
7789Solution: Use Perl_sys_init() instead. (partly by Dominique Pelle)
7790Files: src/if_perl.xs
7791
7792Patch 7.2.064
7793Problem: Screen update bug when repeating "~" on a Visual block and the
7794 last line doesn't change.
7795Solution: Keep track of changes for all lines. (Moritz Orbach)
7796Files: src/ops.c
7797
7798Patch 7.2.065
7799Problem: GTK GUI: the cursor disappears when doing ":vsp" and the Vim
7800 window is maximized. (Dominique Pelle, Denis Smolyar)
7801Solution: Don't change "Columns" back to an old value at a wrong moment.
7802 Do change "Rows" when it should not be a problem.
7803Files: src/gui.c
7804
7805Patch 7.2.066
7806Problem: It's not easy to see whether 'encoding' is a multi-byte encoding.
7807Solution: Add has('multi_byte_encoding').
7808Files: runtime/doc/eval.txt, src/eval.c
7809
7810Patch 7.2.067
7811Problem: Session file can't load extra file when the path contains special
7812 characters.
7813Solution: Escape the file name. (Lech Lorens)
7814Files: src/ex_docmd.c
7815
7816Patch 7.2.068
7817Problem: Emacs tags file lines can be too long, resulting in an error
7818 message. (James Vega)
7819Solution: Ignore lines with errors if they are too long.
7820Files: src/tag.c
7821
7822Patch 7.2.069 (after 7.2.060)
7823Problem: Compiler warning for storing size_t in int.
7824Solution: Add type cast.
7825Files: src/spell.c
7826
7827Patch 7.2.070
Bram Moolenaarfcb7ab62010-07-20 11:16:17 +02007828Problem: Crash when a function returns a:000. (Matt Wozniski)
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007829Solution: Don't put the function struct on the stack, allocate it. Free it
7830 only when nothing in it is used.
7831Files: src/eval.c
7832
7833Patch 7.2.071 (extra)
7834Problem: Win32: Handling netbeans events while Vim is busy updating the
7835 screen may cause a crash.
7836Solution: Like with GTK, only handle netbeans messages in the main loop.
7837 (Xavier de Gaye)
7838Files: src/gui_w48.c, src/netbeans.c
7839
7840Patch 7.2.072 (extra)
7841Problem: Compiler warning in Sniff code.
7842Solution: Use return value of pipe(). (Dominique Pelle)
7843Files: src/if_sniff.c
7844
7845Patch 7.2.073
7846Problem: ":set <xHome>" has the same output as ":set <Home>". (Matt
7847 Wozniski)
7848Solution: Don't translate "x" keys to its alternative for ":set".
7849Files: src/gui_mac.c, src/misc2.c, src/option.c, src/proto/misc2.pro
7850
7851Patch 7.2.074 (extra, after 7.2.073)
7852Problem: ":set <xHome>" has the same output as ":set <Home>". (Matt
7853 Wozniski)
7854Solution: Don't translate "x" keys to its alternative for ":set".
7855Files: src/gui_mac.c
7856
7857Patch 7.2.075 (after 7.2.058)
7858Problem: Explanation about making a diff for extra_patches is unclear.
7859Solution: Adjust comment.
7860Files: src/version.c
7861
7862Patch 7.2.076
7863Problem: rename(from, to) deletes the file if "from" and "to" are not equal
7864 but still refer to the same file. E.g., on a FAT32 filesystem
7865 under Unix.
7866Solution: Go through another file name.
7867Files: src/fileio.c
7868
7869Patch 7.2.077 (after 7.2.076)
7870Problem: rename(from, to) doesn't work if "from" and "to" differ only in
7871 case on a system that ignores case in file names.
7872Solution: Go through another file name.
7873Files: src/fileio.c
7874
7875Patch 7.2.078
7876Problem: When deleting a fold that is specified with markers the cursor
7877 position may be wrong. Folds may not be displayed properly after
7878 a delete. Wrong fold may be deleted.
7879Solution: Fix the problems. (mostly by Lech Lorens)
7880Files: src/fold.c
7881
7882Patch 7.2.079
7883Problem: "killed" netbeans events are not handled correctly.
7884Solution: A "killed" netbeans event is sent when the buffer is deleted or
7885 wiped out (in this case, the netbeans annotations in this buffer
7886 have been removed). A user can still remove a sign with the
7887 command ":sign unplace" and this does not trigger a "killed"
7888 event. (Xavier de Gaye)
7889Files: runtime/doc/netbeans.txt, src/buffer.c, src/globals.h,
7890 src/netbeans.c, src/proto/netbeans.pro
7891
7892Patch 7.2.080
7893Problem: When typing a composing character just after starting completion
7894 may access memory before its allocation point. (Dominique Pelle)
7895Solution: Don't delete before the completion start column. Add extra checks
7896 for the offset not being negative.
7897Files: src/edit.c
7898
7899Patch 7.2.081
7900Problem: Compiler warning for floating point overflow on VAX.
7901Solution: For VAX use a smaller number. (Zoltan Arpadffy)
7902Files: src/message.c
7903
7904Patch 7.2.082
7905Problem: When 'ff' is "mac" then "ga" on a ^J shows 0x0d instead of 0x0a.
7906 (Andy Wokula)
7907Solution: Use NL for this situation. (Lech Lorens)
7908Files: src/ex_cmds.c
7909
7910Patch 7.2.083
7911Problem: ":tag" does not return to the right tag entry from the tag stack.
7912Solution: Don't change the current match when there is no argument.
7913 (Erik Falor)
7914Files: src/tag.c
7915
7916Patch 7.2.084
7917Problem: Recursive structures are not handled properly in Python
7918 vim.eval().
7919Solution: Keep track of references in a better way. (Yukihiro Nakadaira)
7920Files: src/if_python.c
7921
7922Patch 7.2.085
7923Problem: ":set <M-b>=<Esc>b" does not work when 'encoding' is utf-8.
7924Solution: Put the <M-b> character in the input buffer as valid utf-8.
Bram Moolenaarfcb7ab62010-07-20 11:16:17 +02007925 (partly by Matt Wozniski)
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007926Files: src/term.c
7927
7928Patch 7.2.086
7929Problem: Using ":diffget 1" in buffer 1 corrupts the text.
7930Solution: Don't do anything when source and destination of ":diffget" or
7931 ":diffput" is the same buffer. (Dominique Pelle)
7932Files: src/diff.c
7933
7934Patch 7.2.087
7935Problem: Adding URL to 'path' doesn't work to edit a file.
Bram Moolenaarfcb7ab62010-07-20 11:16:17 +02007936Solution: Skip simplify_filename() for URLs. (Matt Wozniski)
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007937Files: src/misc2.c
7938
7939Patch 7.2.088 (extra)
7940Problem: OpenClipboard() may fail when another application is using the
7941 clipboard.
7942Solution: Retry OpenClipboard() a few times. (Jianrong Yu)
7943Files: src/os_mswin.c
7944
7945Patch 7.2.089 (extra)
7946Problem: Win32: crash when using Ultramon buttons.
7947Solution: Don't use a WM_OLE message of zero size. (Ray Megal)
7948Files: src/if_ole.cpp, src/gui_w48.c
7949
7950Patch 7.2.090
7951Problem: User command containing 0x80 in multi-byte character does not work
7952 properly. (Yasuhiro Matsumoto)
7953Solution: Undo replacement of K_SPECIAL and CSI characters when executing
7954 the command.
7955Files: src/ex_docmd.c
7956
7957Patch 7.2.091
7958Problem: ":cs help" output is not aligned for some languages.
7959Solution: Compute character size instead of byte size. (Dominique Pelle)
7960Files: src/if_cscope.c
7961
7962Patch 7.2.092
7963Problem: Some error messages are not translated.
7964Solution: Add _() around the messages. (Dominique Pelle)
7965Files: src/eval.c
7966
7967Patch 7.2.093 (extra)
7968Problem: Win32: inputdialog() and find/replace dialogs can't handle
7969 multi-byte text.
7970Solution: Use the wide version of dialog functions when available. (Yanwei
7971 Jia)
7972Files: src/gui_w32.c, src/gui_w48.c
7973
7974Patch 7.2.094
7975Problem: Compiler warning for signed/unsigned compare.
7976Solution: Add type cast. Also fix a few typos.
7977Files: src/edit.c
7978
7979Patch 7.2.095
7980Problem: With Visual selection, "r" and then CTRL-C Visual mode is stopped
7981 but the highlighting is not removed.
7982Solution: Call reset_VIsual().
7983Files: src/normal.c
7984
7985Patch 7.2.096
7986Problem: After ":number" the "Press Enter" message may be on the wrong
7987 screen, if switching screens for shell commands.
7988Solution: Reset info_message. (James Vega)
7989Files: src/ex_cmds.c
7990
7991Patch 7.2.097
7992Problem: "!xterm&" doesn't work when 'shell' is "bash".
7993Solution: Ignore SIGHUP after calling setsid(). (Simon Schubert)
7994Files: src/os_unix.c
7995
7996Patch 7.2.098
7997Problem: Warning for signed/unsigned pointer.
7998Solution: Add type cast.
7999Files: src/eval.c
8000
8001Patch 7.2.099
8002Problem: Changing GUI options causes an unnecessary redraw when the GUI
8003 isn't active.
8004Solution: Avoid the redraw. (Lech Lorens)
8005Files: src/option.c
8006
8007Patch 7.2.100
8008Problem: When using ":source" on a FIFO or something else that can't rewind
8009 the first three bytes are skipped.
8010Solution: Instead of rewinding read the first line and detect a BOM in that.
8011 (mostly by James Vega)
8012Files: src/ex_cmds2.c
8013
8014Patch 7.2.101 (extra)
8015Problem: MSVC version not recognized.
8016Solution: Add the version number to the list. (Zhong Zhang)
8017Files: src/Make_mvc.mak
8018
8019Patch 7.2.102 (after 7.2.100)
8020Problem: When 'encoding' is "utf-8" a BOM at the start of a Vim script is
8021 not removed. (Tony Mechelynck)
8022Solution: When no conversion is taking place make a copy of the line without
8023 the BOM.
8024Files: src/ex_cmds2.c
8025
8026Patch 7.2.103
8027Problem: When 'bomb' is changed the window title is updated to show/hide a
8028 "+", but the tab page label isn't. (Patrick Texier)
8029Solution: Set "redraw_tabline" in most places where "need_maketitle" is set.
8030 (partly by Lech Lorens)
8031Files: src/option.c
8032
8033Patch 7.2.104
8034Problem: When using ":saveas bar.c" the tab label isn't updated right away.
8035Solution: Set redraw_tabline. (Francois Ingelrest)
8036Files: src/ex_cmds.c
8037
8038Patch 7.2.105
8039Problem: Modeline setting for 'foldmethod' overrules diff options. (Ingo
8040 Karkat)
8041Solution: Don't set 'foldmethod' and 'wrap' from a modeline when 'diff' is
8042 on.
8043Files: src/option.c
8044
8045Patch 7.2.106
8046Problem: Endless loop when using "]s" in HTML when there are no
8047 misspellings. (Ingo Karkat)
8048Solution: Break the search loop. Also fix pointer alignment for systems
8049 with pointers larger than int.
8050Files: src/spell.c
8051
8052Patch 7.2.107
8053Problem: When using a GUI dialog and ":echo" commands the messages are
Bram Moolenaarfcb7ab62010-07-20 11:16:17 +02008054 deleted after the dialog. (Vincent Birebent)
Bram Moolenaar6df6f472010-07-18 18:04:50 +02008055Solution: Don't call msg_end_prompt() since there was no prompt.
8056Files: src/message.c
8057
8058Patch 7.2.108 (after 7.2.105)
8059Problem: Can't build without the diff feature.
8060Solution: Add #ifdef.
8061Files: src/option.c
8062
8063Patch 7.2.109
8064Problem: 'langmap' does not work for multi-byte characters.
8065Solution: Add a list of mapped multi-byte characters. (based on work by
8066 Konstantin Korikov, Agathoklis Hatzimanikas)
8067Files: runtime/doc/options.txt, src/edit.c, src/getchar.c, src/macros.h,
8068 src/normal.c, src/option.c, src/proto/option.pro, src/window.c
8069
8070Patch 7.2.110
8071Problem: Compiler warning for unused variable.
8072Solution: Init the variable.
8073Files: src/ex_docmd.c
8074
8075Patch 7.2.111
8076Problem: When using Visual block mode with 'cursorcolumn' it's unclear what
8077 is selected.
8078Solution: Don't use 'cursorcolumn' highlighting inside the Visual selection.
8079 (idea by Dominique Pelle)
8080Files: src/screen.c
8081
8082Patch 7.2.112
8083Problem: Cursor invisible in Visual mode when 'number' is set and cursor in
8084 first column. (Matti Niemenmaa, Renato Alves)
8085Solution: Check that vcol_prev is smaller than vcol.
8086Files: src/screen.c
8087
8088Patch 7.2.113
8089Problem: Crash for substitute() call using submatch(1) while there is no
8090 such submatch. (Yukihiro Nakadaira)
8091Solution: Also check the start of the submatch is set, it can be NULL when
8092 an attempted match didn't work out.
8093Files: src/regexp.c
8094
8095Patch 7.2.114
8096Problem: Using wrong printf format.
8097Solution: Use "%ld" instead of "%d". (Dominique Pelle)
8098Files: src/netbeans.c
8099
8100Patch 7.2.115
8101Problem: Some debugging code is never used.
8102Solution: Remove nbtrace() and nbprt(). (Dominique Pelle)
8103Files: src/nbdebug.c, src/nbdebug.h
8104
8105Patch 7.2.116
8106Problem: Not all memory is freed when EXITFREE is defined.
8107Solution: Free allocated memory on exit. (Dominique Pelle)
8108Files: src/ex_docmd.c, src/gui_gtk_x11.c, src/misc2.c, src/search.c,
8109 src/tag.c
8110
8111Patch 7.2.117
8112Problem: Location list incorrectly labelled "Quickfix List".
8113Solution: Break out of both loops for finding window for location list
8114 buffer. (Lech Lorens)
8115Files: src/buffer.c, src/quickfix.c, src/screen.c
8116
8117Patch 7.2.118
8118Problem: <PageUp> at the more prompt only does half a page.
8119Solution: Make <PageUp> go up a whole page. Also make 'f' go a page
8120 forward, but not quit the more prompt. (Markus Heidelberg)
8121Files: src/message.c
8122
8123Patch 7.2.119
8124Problem: Status line is redrawn too often.
8125Solution: Check ScreeenLinesUC[] properly. (Yukihiro Nakadaira)
8126Files: src/screen.c
8127
8128Patch 7.2.120
8129Problem: When opening the quickfix window or splitting the window and
8130 setting the location list, the location list is copied and then
8131 deleted, which is inefficient.
8132Solution: Don't copy the location list when not needed. (Lech Lorens)
8133Files: src/quickfix.c, src/vim.h, src/window.c
8134
8135Patch 7.2.121
8136Problem: In gvim "!grep a *.c" spews out a lot of text that can't be
8137 stopped with CTRL-C.
8138Solution: When looping to read and show text, do check for typed characters
8139 every two seconds.
8140Files: src/os_unix.c
8141
8142Patch 7.2.122
8143Problem: Invalid memory access when the VimResized autocommand changes
8144 'columns' and/or 'lines'.
8145Solution: After VimResized check for changed values. (Dominique Pelle)
8146Files: src/screen.c
8147
8148Patch 7.2.123
8149Problem: Typing 'q' at more prompt for ":map" output still displays another
8150 line, causing another more prompt. (Markus Heidelberg)
8151Solution: Quit listing maps when 'q' typed.
8152Files: src/getchar.c
8153
8154Patch 7.2.124
8155Problem: Typing 'q' at more prompt for ":tselect" output still displays
8156 more lines, causing another more prompt. (Markus Heidelberg)
8157Solution: Quit listing tags when 'q' typed.
8158Files: src/tag.c
8159
8160Patch 7.2.125
8161Problem: Leaking memory when reading XPM bitmap for a sign.
8162Solution: Don't allocate the memory twice. (Dominique Pelle)
8163Files: src/gui_x11.c
8164
8165Patch 7.2.126
8166Problem: When EXITFREE is defined signs are not freed.
8167Solution: Free all signs on exit. Also free keymaps. (Dominique Pelle)
8168Files: src/misc2.c, src/ex_cmds.c, src/proto/ex_cmds.pro
8169
8170Patch 7.2.127
8171Problem: When listing mappings and a wrapping line causes the more prompt,
8172 after typing 'q' there can be another more prompt. (Markus
8173 Heidelberg)
8174Solution: Set "lines_left" to allow more lines to be displayed.
8175Files: src/message.c
8176
8177Patch 7.2.128 (after 7.2.055)
8178Problem: Using ":lcd" makes session files not work.
8179Solution: Compare return value of mch_chdir() properly. (Andreas Bernauer)
8180Files: src/ex_docmd.c
8181
8182Patch 7.2.129
8183Problem: When opening a command window from input() it uses the search
8184 history.
8185Solution: Use get_cmdline_type(). (James Vega)
8186Files: src/ex_getln.c
8187
8188Patch 7.2.130
Bram Moolenaar483c5d82010-10-20 18:45:33 +02008189Problem: Vim may hang until CTRL-C is typed when using CTRL-Z.
Bram Moolenaar6df6f472010-07-18 18:04:50 +02008190Solution: Avoid using pause(). Also use "volatile" for variables used in
8191 signal functions. (Dominique Pelle)
8192Files: src/auto/configure, src/configure.in, src/config.h.in,
8193 src/globals.h, src/os_unix.c
8194
8195Patch 7.2.131
8196Problem: When 'keymap' is cleared may still use the cursor highlighting for
8197 when it's enabled.
8198Solution: Reset 'iminsert' and 'imsearch'. (partly by Dominique Pelle)
8199 Also avoid ":setlocal" for these options have a global effect.
8200Files: src/option.c
8201
8202Patch 7.2.132
8203Problem: When changing directory during a SwapExists autocmd freed memory
8204 may be accessed. (Dominique Pelle)
8205Solution: Add the allbuf_lock flag.
8206Files: src/ex_getln.c, src/globals.h, src/fileio.c,
8207 src/proto/ex_getln.pro
8208
8209Patch 7.2.133
8210Problem: ":diffoff!" changes settings in windows not in diff mode.
8211Solution: Only change settings in other windows when 'diff' is set, always
8212 do it for the current window. (Lech Lorens)
8213Files: src/diff.c
8214
8215Patch 7.2.134
8216Problem: Warning for discarding "const" from pointer.
8217Solution: Don't pass const pointer to mch_memmove().
8218Files: src/fileio.c
8219
8220Patch 7.2.135
8221Problem: Memory leak when redefining user command with complete argument.
8222Solution: Free the old complete argument. (Dominique Pelle)
8223Files: src/ex_docmd.c
8224
8225Patch 7.2.136 (after 7.2.132)
8226Problem: ":cd" is still possible in a SwapExists autocmd.
8227Solution: Check the allbuf_lock flag in ex_cd().
8228Files: src/ex_docmd.c
8229
8230Patch 7.2.137
8231Problem: When 'virtualedit' is set, a left shift of a blockwise selection
8232 that starts and ends inside a tab shifts too much. (Helmut
8233 Stiegler)
8234Solution: Redo the block left shift code. (Lech Lorens)
8235Files: src/ops.c, src/testdir/Makefile, src/testdir/test66.in,
8236 src/testdir/test66.ok
8237
8238Patch 7.2.138 (extra part of 7.2.137)
8239Problem: See 7.2.137.
8240Solution: See 7.2.137.
8241Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
8242 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
8243 src/testdir/Make_vms.mms
8244
8245Patch 7.2.139
8246Problem: Crash when 'virtualedit' is "all". (James Vega)
8247Solution: Avoid overflow when column is MAXCOL. (Dominique Pelle)
8248Files: src/misc2.c
8249
8250Patch 7.2.140
8251Problem: Diff highlighting isn't displayed before the Visual area if it
8252 starts at the cursor position. (Markus Heidelberg)
8253Solution: Also check fromcol_prev.
8254Files: src/screen.c
8255
8256Patch 7.2.141
8257Problem: When redrawing a character for bold spill this causes the next
8258 character to be redrawn as well.
8259Solution: Only redraw one extra character. (Yukihiro Nakadaira)
8260Files: src/screen.c
8261
8262Patch 7.2.142
8263Problem: Motif and Athena balloons don't use tooltip colors.
8264Solution: Set the colors. (Matt Wozniski)
8265Files: src/gui_beval.c
8266
8267Patch 7.2.143
8268Problem: No command line completion for ":cscope" command.
8269Solution: Add the completion for ":cscope". (Dominique Pelle)
8270Files: src/ex_docmd.c, src/ex_getln.c, src/if_cscope.c,
8271 src/proto/if_cscope.pro, src/vim.h
8272
8273Patch 7.2.144
8274Problem: When 't_Co' is set to the value it already had the color scheme is
8275 reloaded anyway.
8276Solution: Only load the colorscheme when the t_Co value changes. (Dominique
8277 Pelle)
8278Files: src/option.c
8279
8280Patch 7.2.145
8281Problem: White space in ":cscope find" is not ignored.
8282Solution: Ignore the white space, but not when the leading white space is
8283 useful for the argument.
8284Files: runtime/doc/if_scop.txt, src/if_cscope.c
8285
8286Patch 7.2.146
8287Problem: v:warningmsg isn't used for all warnings.
8288Solution: Set v:warningmsg for relevant warnings. (Ingo Karkat)
8289Files: src/fileio.c, src/misc1.c, src/option.c
8290
8291Patch 7.2.147
8292Problem: When compiled as small version and 'number' is on the cursor is
8293 displayed in the wrong position after a tab. (James Vega)
8294Solution: Don't increment vcol when still displaying the line number.
8295Files: src/screen.c
8296
8297Patch 7.2.148
8298Problem: When searching for "$" while 'hlsearch' is set, highlighting the
8299 character after the line does not work in the cursor column.
8300 Also highlighting for Visual mode after the line end when this
8301 isn't needed. (Markus Heidelberg)
8302Solution: Only compare the cursor column in the cursor line. Only highlight
8303 for Visual selection after the last character when it's needed to
8304 see where the Visual selection ends.
8305Files: src/screen.c
8306
8307Patch 7.2.149
8308Problem: Using return value of function that doesn't return a value results
8309 in reading uninitialized memory.
8310Solution: Set the default to return zero. Make cursor() return -1 on
8311 failure. Let complete() return an empty string in case of an
8312 error. (partly by Dominique Pelle)
8313Files: runtime/doc/eval.txt, src/eval.c
8314
8315Patch 7.2.150 (extra)
8316Problem: Can't use tab pages from VisVim.
8317Solution: Add tab page support to VisVim. (Adam Slater)
8318Files: src/VisVim/Commands.cpp, src/VisVim/Resource.h,
8319 src/VisVim/VisVim.rc
8320
8321Patch 7.2.151
8322Problem: ":hist a" doesn't work like ":hist all" as the docs suggest.
8323Solution: Make ":hist a" and ":hist al" work. (Dominique Pelle)
8324Files: src/ex_getln.c
8325
8326Patch 7.2.152
8327Problem: When using "silent echo x" inside ":redir" a next echo may start
8328 halfway the line. (Tony Mechelynck, Dennis Benzinger)
8329Solution: Reset msg_col after redirecting silently.
8330Files: src/ex_docmd.c, src/message.c, src/proto/message.pro
8331
8332Patch 7.2.153
8333Problem: Memory leak for ":recover empty_dir/".
8334Solution: Free files[] when it becomes empty. (Dominique Pelle)
8335Files: src/memline.c
8336
8337Patch 7.2.154 (after 7.2.132)
8338Problem: ":cd" is still possible in a SwapExists autocmd.
8339Solution: Set allbuf_lock in do_swapexists().
8340Files: src/memline.c
8341
8342Patch 7.2.155
8343Problem: Memory leak in ":function /pat".
8344Solution: Free the memory. (Dominique Pelle)
8345Files: src/eval.c
8346
8347Patch 7.2.156 (after 7.2.143)
8348Problem: No completion for :scscope and :lcscope commands.
8349Solution: Implement the completion. (Dominique Pelle)
8350Files: src/if_cscope.c, src/ex_docmd.c, src/proto/if_cscope.pro
8351
8352Patch 7.2.157
8353Problem: Illegal memory access when searching in path.
8354Solution: Avoid looking at a byte after end of a string. (Dominique Pelle)
8355Files: src/search.c
8356
8357Patch 7.2.158
8358Problem: Warnings from VisualC compiler.
8359Solution: Add type casts. (George Reilly)
8360Files: src/ops.c
8361
8362Patch 7.2.159
8363Problem: When $x_includes ends up being "NONE" configure fails.
8364Solution: Check for $x_includes not to be "NONE" (Rainer)
8365Files: src/auto/configure, src/configure.in
8366
8367Patch 7.2.160
8368Problem: Search pattern not freed on exit when 'rightleft' set.
8369Solution: Free mr_pattern_alloced.
8370Files: src/search.c
8371
8372Patch 7.2.161
8373Problem: Folds messed up in other tab page. (Vlad Irnov)
8374Solution: Instead of going over all windows in current tab page go over all
8375 windows in all tab pages. Also free memory for location lists in
8376 other tab pages when exiting. (Lech Lorens)
8377Files: src/fileio.c, src/mark.c, src/misc1.c, src/misc2.c
8378
8379Patch 7.2.162
8380Problem: The quickfix window may get wrong filetype.
8381Solution: Do not detect the filetype for the quickfix window. (Lech Lorens)
8382Files: src/quickfix.c
8383
8384Patch 7.2.163
8385Problem: The command line window may get folding.
8386Solution: Default to no/manual folding. (Lech Lorens)
8387Files: src/ex_getln.c
8388
8389Patch 7.2.164
8390Problem: When 'showbreak' is set the size of the Visual block may be
8391 reported wrong. (Eduardo Daudt Flach)
8392Solution: Temporarily make 'sbr' empty.
8393Files: src/normal.c, src/ops.c
8394
8395Patch 7.2.165
8396Problem: The argument for the FuncUndefined autocmd event is expanded like
8397 a file name.
8398Solution: Don't try expanding it. (Wang Xu)
8399Files: src/fileio.c
8400
8401Patch 7.2.166
8402Problem: No completion for ":sign" command.
8403Solution: Add ":sign" completion. (Dominique Pelle)
8404Files: src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c, src/vim.h,
8405 src/proto/ex_cmds.pro
8406
8407Patch 7.2.167
8408Problem: Splint doesn't work well for checking the code.
8409Solution: Add splint arguments in the Makefile. Exclude some code from
8410 splint that it can't handle. Tune splint arguments to give
8411 reasonable errors. Add a filter for removing false warnings from
8412 splint output. Many small changes to avoid warnings. More to
8413 follow...
8414Files: Filelist, src/Makefile, src/buffer.c, src/charset.c,
8415 src/cleanlint.vim, src/digraph.c, src/edit.c, src/ex_cmds.c,
8416 src/globals.h, src/ops.c, src/os_unix.c, src/os_unix.h,
8417 src/proto/buffer.pro, src/proto/edit.pro, src/screen.c,
8418 src/structs.h
8419
8420Patch 7.2.168
8421Problem: When no ctags program can be found, "make tags" attempts to
8422 execute the first C file.
8423Solution: Default to "ctags" when no ctags program can be found.
8424Files: src/configure.in, src/auto/configure
8425
8426Patch 7.2.169
8427Problem: Splint complains about a lot of things.
8428Solution: Add type casts, #ifdefs and other changes to avoid warnings.
8429 Change colnr_T from unsigned to int. Avoids mistakes with
8430 subtracting columns.
8431Files: src/cleanlint.vim, src/diff.c, src/edit.c, src/ex_cmds.c,
8432 src/ex_cmds2.c, src/ex_docmd.c, src/proto/ex_cmds.pro,
8433 src/proto/spell.pro, src/quickfix.c, src/spell.c, src/structs.h,
8434 src/term.h, src/vim.h
8435
8436Patch 7.2.170
8437Problem: Using b_dev while it was not set. (Dominique Pelle)
8438Solution: Add the b_dev_valid flag.
8439Files: src/buffer.c, src/fileio.c, src/structs.h
8440
8441Patch 7.2.171 (after 7.2.169)
8442Problem: Compiler warnings. (Tony Mechelynck)
8443Solution: Add function prototype. (Patrick Texier) Init variable.
8444Files: src/ex_cmds.c
8445
8446Patch 7.2.172 (extra)
8447Problem: Compiler warning.
8448Solution: Adjust function prototype. (Patrick Texier)
8449Files: src/os_mswin.c
8450
8451Patch 7.2.173
8452Problem: Without lint there is no check for unused function arguments.
8453Solution: Use gcc -Wunused-parameter instead of lint. For a few files add
8454 attributes to arguments that are known not to be used.
8455Files: src/auto/configure, src/buffer.c, src/charset.c, src/diff.c,
8456 src/configure.in, src/config.h.in, src/edit.c, src/ex_cmds.c,
8457 src/ex_cmds2.c, src/version.c, src/vim.h
8458
8459Patch 7.2.174
8460Problem: Too many warnings from gcc -Wextra.
8461Solution: Change initializer. Add UNUSED. Add type casts.
8462Files: src/edit.c, src/eval.c, src/ex_cmds.c, src/ex_docmd.c,
8463 src/ex_getln.c, src/fileio.c, getchar.c, globals.h, main.c,
8464 memline.c, message.c, src/misc1.c, src/move.c, src/normal.c,
8465 src/option.c, src/os_unix.c, src/os_unix.h, src/regexp.c,
8466 src/search.c, src/tag.c
8467
8468Patch 7.2.175
8469Problem: Compiler warning in OpenBSD.
8470Solution: Add type cast for NULL. (Dasn)
8471Files: src/if_cscope.c
8472
8473Patch 7.2.176
8474Problem: Exceptions for splint are not useful.
8475Solution: Remove the S_SPLINT_S ifdefs.
8476Files: src/edit.c, src/ex_cmds.c, src/ex_docmd.c, src/os_unix.c,
8477 src/os_unix.h, src/os_unixx.h, src/structs.h, src/term.h
8478
8479Patch 7.2.177
8480Problem: Compiler warnings when using -Wextra
8481Solution: Add UNUSED and type casts.
8482Files: src/eval.c, src/ex_docmd.c, src/ex_eval.c, src/ex_getln.c,
8483 src/fileio.c, src/hardcopy.c, src/if_cscope.c, src/if_xcmdsrv.c,
8484 src/farsi.c, src/mark.c, src/menu.c
8485
8486Patch 7.2.178
8487Problem: Using negative value for device number might not work.
8488Solution: Use a separate flag for whether ffv_dev was set.
8489Files: src/misc2.c
8490
8491Patch 7.2.179
8492Problem: Using negative value for device number might not work.
8493Solution: Use a separate flag for whether sn_dev was set.
8494Files: src/ex_cmds2.c
8495
8496Patch 7.2.180
8497Problem: Some more compiler warnings when using gcc -Wextra.
8498Solution: Add UNUSED and type casts.
8499Files: src/buffer.c, src/ex_cmds.c, src/macros.h, src/main.c,
8500 src/menu.c, src/message.c, src/misc1.c, src/mbyte.c,
8501 src/normal.c, src/option.c, src/os_unix.c, src/quickfix.c,
8502 src/screen.c, src/search.c, src/spell.c, src/syntax.c, src/tag.c,
8503 src/term.c, src/ui.c
8504
8505Patch 7.2.181
8506Problem: Some more compiler warnings when using gcc -Wextra.
8507Solution: Add UNUSED and type casts.
8508Files: src/if_mzsch.c, src/gui.c, src/gui_gtk.c, src/gui_gtk_x11.c,
8509 src/gui_gtk_f.c, src/gui_beval.c, src/netbeans.c
8510
8511Patch 7.2.182 (after 7.2.181)
8512Problem: Compilation problems after previous patch for Motif. Gvim with
8513 GTK crashes on startup.
8514Solution: Add comma. Init form structure to zeroes.
8515Files: src/netbeans.c, src/gui_gtk_f.c
8516
8517Patch 7.2.183
8518Problem: Configure problem for sys/sysctl.h on OpenBSD. (Dasn)
8519Solution: Add separate check for this header file. Also switch to newer
8520 version of autoconf.
8521Files: src/auto/configure, src/configure.in
8522
8523Patch 7.2.184
8524Problem: Some more compiler warnings when using gcc -Wextra.
8525Solution: Add UNUSED and type casts. Autoconf check for wchar_t.
8526Files: src/auto/configure, src/config.h.in, src/configure.in,
8527 src/gui_athena.c, src/gui_x11.c, src/gui.c, src/gui_beval.c,
8528 src/gui_at_sb.c, src/gui_at_fs.c, src/gui_motif.c,
8529 src/gui_xmdlg.c, src/gui_xmebw.c, src/if_python.c, src/window.c,
8530 src/workshop.c
8531
8532Patch 7.2.185
8533Problem: Some more compiler warnings when using gcc -Wextra.
8534Solution: Add UNUSED and type casts.
8535Files: src/Makefile, src/if_tlc.c, src/if_ruby.c
8536
8537Patch 7.2.186
8538Problem: Some more compiler warnings when using gcc -Wextra.
8539Solution: Now with the intended if_tcl.c changes.
8540Files: src/if_tcl.c
8541
8542Patch 7.2.187 (after 7.2.186)
8543Problem: Doesn't build with older versions of TCL. (Yongwei Wu)
8544Solution: Add #ifdefs. (Dominique Pelle)
8545Files: src/if_tcl.c
8546
8547Patch 7.2.188
8548Problem: Crash with specific use of function calls. (Meikel Brandmeyer)
8549Solution: Make sure the items referenced by a function call are not freed
8550 twice. (based on patch from Nico Weber)
8551Files: src/eval.c
8552
8553Patch 7.2.189
8554Problem: Possible hang for deleting auto-indent. (Dominique Pelle)
8555Solution: Make sure the position is not beyond the end of the line.
8556Files: src/edit.c
8557
8558Patch 7.2.190
8559Problem: The register executed by @@ isn't restored.
8560Solution: Mark the executable register in the viminfo file.
8561Files: src/ops.c
8562
8563Patch 7.2.191
8564Problem: Mzscheme interface doesn't work on Ubuntu.
8565Solution: Change autoconf rules. Define missing macro. Some changes to
8566 avoid gcc warnings. Remove per-buffer namespace. (Sergey Khorev)
8567Files: runtime/doc/if_mzsch.txt, src/Makefile, src/Make_ming.mak,
8568 src/Make_mvc.mak, src/auto/configure, src/configure.in,
8569 src/config.mk.in, src/eval.c, src/if_mzsch.c, src/if_mzsch.h,
8570 src/main.c, src/proto/if_mzsch.pro
8571
8572Patch 7.2.192 (after 7.2.188)
8573Problem: Still a crash in the garbage collector for a very rare situation.
8574Solution: Make sure current_copyID is always incremented correctly. (Kent
8575 Sibilev)
8576Files: src/eval.c
8577
8578Patch 7.2.193
8579Problem: Warning for uninitialized values.
8580Solution: Initialize all the struct items.
8581Files: src/eval.c
8582
8583Patch 7.2.194 (extra)
8584Problem: MSVC: rem commands are echoed.
8585Solution: Add commands to switch off echo. (Wang Xu)
8586Files: src/msvc2008.bat
8587
8588Patch 7.2.195
8589Problem: Leaking memory for the command Vim was started with.
8590Solution: Remember the pointer and free it.
8591Files: src/gui_gtk_x11.c
8592
8593Patch 7.2.196 (after 7.2.167)
8594Problem: Turns out splint doesn't work well enough to be usable.
8595Solution: Remove splint support.
8596Files: Filelist, src/cleanlint.vim
8597
8598Patch 7.2.197
8599Problem: Warning for uninitialized values.
8600Solution: Initialize all the struct items of typebuf.
8601Files: src/globals.h
8602
8603Patch 7.2.198
8604Problem: Size of buffer used for tgetent() may be too small.
8605Solution: Use the largest known size everywhere.
8606Files: src/vim.h
8607
8608Patch 7.2.199
8609Problem: Strange character in comment.
8610Solution: Change to "message". (Yongwei Wu)
8611Files: src/term.c
8612
8613Patch 7.2.200
8614Problem: Reading past end of string when navigating the menu bar or
8615 resizing the window.
8616Solution: Add and use mb_ptr2len_len(). (partly by Dominique Pelle)
8617 Also add mb_ptr2cells_len() to prevent more trouble.
8618Files: src/gui_gtk_x11.c, src/os_unix.c, src/globals.h, src/mbyte.c,
8619 src/proto/mbyte.pro
8620
8621Patch 7.2.201
8622Problem: Cannot copy/paste HTML to/from Firefox via the clipboard.
8623Solution: Implement this for GTK. Add the "html" value to 'clipboard'.
8624Files: runtime/doc/options.txt, src/globals.h, src/gui_gtk_x11.c,
8625 src/mbyte.c, src/proto/mbyte.pro, src/option.c
8626
8627Patch 7.2.202
8628Problem: BufWipeout autocommand that edits another buffer causes problems.
8629Solution: Check for the situation, give an error and quit the operation.
8630Files: src/fileio.c
8631
8632Patch 7.2.203
8633Problem: When reloading a buffer or doing anything else with a buffer that
8634 is not displayed in a visible window, autocommands may be applied
8635 to the current window, folds messed up, etc.
8636Solution: Instead of using the current window for the hidden buffer use a
8637 special window, splitting the current one temporarily.
8638Files: src/fileio.c, src/globals.h, src/gui.c, src/if_perl.xs,
8639 src/progo/gui.pro, src/proto/window.pro, src/screen.c,
8640 src/structs.h, src/window.c
8641
8642Patch 7.2.204 (extra)
8643Problem: Win32: Can't build with Visual Studio 2010 beta 1.
8644Solution: Fix the makefile. (George Reilly)
8645Files: src/Make_mvc.mak
8646
8647Patch 7.2.205 (extra)
Bram Moolenaarfcb7ab62010-07-20 11:16:17 +02008648Problem: Win32: No support for High DPI awareness.
Bram Moolenaar6df6f472010-07-18 18:04:50 +02008649Solution: Fix the manifest file. (George Reilly)
8650Files: src/Make_mvc.mak, src/gvim.exe.mnf
8651
8652Patch 7.2.206
8653Problem: Win32: Can't build netbeans interface with Visual Studio 2010.
8654Solution: Undefine ECONNREFUSED. (George Reilly)
8655Files: src/netbeans.c
8656
8657Patch 7.2.207
8658Problem: Using freed memory with ":redrawstatus" when it works recursively.
8659Solution: Prevent recursively updating the status line. (partly by Dominique
8660 Pelle)
8661Files: src/screen.c
8662
8663Patch 7.2.208
8664Problem: "set novice" gives an error message, it should be ignored.
8665Solution: Don't see "no" in "novice" as unsetting an option. (Patrick
8666 Texier)
8667Files: src/option.c
8668
8669Patch 7.2.209
8670Problem: For xxd setmode() is undefined on Cygwin.
8671Solution: Include io.h. (Dominique Pelle)
8672Files: src/xxd/xxd.c
8673
8674Patch 7.2.210
8675Problem: When a file that is being edited has its timestamp updated outside
8676 of Vim and ":checktime" is used still get a warning when writing
8677 the file. (Matt Mueller)
8678Solution: Store the timestamp in b_mtime_read when the timestamp is the only
8679 thing that changed.
8680Files: src/fileio.c
8681
8682Patch 7.2.211
8683Problem: Memory leak when expanding a series of file names.
8684Solution: Use ga_clear_strings() instead of ga_clear().
8685Files: src/misc1.c
8686
8687Patch 7.2.212 (extra)
8688Problem: Warnings for redefining SIG macros.
8689Solution: Don't define them if already defined. (Bjorn Winckler)
8690Files: src/os_mac.h
8691
8692Patch 7.2.213
8693Problem: Warning for using vsprintf().
8694Solution: Use vim_vsnprintf().
8695Files: src/netbeans.c
8696
8697Patch 7.2.214
8698Problem: Crash with complete function for user command. (Andy Wokula)
8699Solution: Avoid using a NULL pointer (Dominique Pelle)
8700Files: src/ex_getln.c
8701
8702Patch 7.2.215
8703Problem: ml_get error when using ":vimgrep".
8704Solution: Load the memfile for the hidden buffer before putting it in a
8705 window. Correct the order of splitting the window and filling
8706 the window and buffer with data.
8707Files: src/fileio.c, src/proto/window.pro, src/quickfix.c, src/window.c
8708
8709Patch 7.2.216
8710Problem: Two error messages have the same number E812.
8711Solution: Give one message a different number.
8712Files: runtime/doc/autocmd.txt, runtime/doc/if_mzsch.txt, src/if_mzsch.c
8713
8714Patch 7.2.217
8715Problem: Running tests with valgrind doesn't work as advertised.
8716Solution: Fix the line in the Makefile.
8717Files: src/testdir/Makefile
8718
8719Patch 7.2.218
8720Problem: Cannot build GTK with hangul_input feature. (Dominique Pelle)
Bram Moolenaar8d9b40e2010-07-25 15:49:07 +02008721Solution: Adjust #ifdef. (SungHyun Nam)
Bram Moolenaar6df6f472010-07-18 18:04:50 +02008722Files: src/gui.c
8723
8724Patch 7.2.219 (extra)
8725Problem: Photon GUI is outdated.
8726Solution: Updates for QNX 6.4.0. (Sean Boudreau)
8727Files: src/gui_photon.c
8728
8729Patch 7.2.220 (after 7.2.215)
8730Problem: a BufEnter autocommand that changes directory causes problems.
8731 (Ajit Thakkar)
8732Solution: Disable autocommands when opening a hidden buffer in a window.
8733Files: src/fileio.c
8734
8735Patch 7.2.221
8736Problem: X cut_buffer0 text is used as-is, it may be in the wrong encoding.
8737Solution: Convert between 'enc' and latin1. (James Vega)
8738Files: src/gui_gtk_x11.c, src/message.c, src/ops.c, src/proto/ui.pro,
8739 src/ui.c
8740
8741Patch 7.2.222
8742Problem: ":mksession" doesn't work properly with 'acd' set.
8743Solution: Make it work. (Yakov Lerner)
8744Files: src/ex_docmd.c
8745
8746Patch 7.2.223
8747Problem: When a script is run with ":silent" it is not able to give warning
8748 messages.
8749Solution: Add the ":unsilent" command.
8750Files: runtime/doc/various.txt, src/ex_cmds.h, src/ex_docmd.c
8751
8752Patch 7.2.224
8753Problem: Crash when using 'completefunc'. (Ingo Karkat)
8754Solution: Disallow entering edit() recursively when doing completion.
8755Files: src/edit.c
8756
8757Patch 7.2.225
8758Problem: When using ":normal" a saved character may be executed.
8759Solution: Also store old_char when saving typeahead.
8760Files: src/getchar.c, src/structs.h
8761
8762Patch 7.2.226
8763Problem: ml_get error after deleting the last line. (Xavier de Gaye)
8764Solution: When adjusting marks a callback may be invoked. Adjust the cursor
8765 position before invoking deleted_lines_mark().
8766Files: src/ex_cmds.c, src/ex_docmd.c, src/if_mzsch.c, src/if_python.c,
8767 src/if_perl.xs, src/misc1.c
8768
8769Patch 7.2.227
8770Problem: When using ":cd" in a script there is no way to track this.
8771Solution: Display the directory when 'verbose' is 5 or higher.
8772Files: src/ex_docmd.c
8773
8774Patch 7.2.228
8775Problem: Cscope is limited to 8 connections.
8776Solution: Allocated the connection array to handle any number of
8777 connections. (Dominique Pelle)
8778Files: runtime/doc/if_cscop.txt, src/if_cscope.h, src/if_cscope.c
8779
8780Patch 7.2.229
8781Problem: Warning for shadowed variable.
8782Solution: Rename "wait" to "wait_time".
8783Files: src/os_unix.c
8784
8785Patch 7.2.230
8786Problem: A few old lint-style ARGUSED comments.
8787Solution: Change to the new UNUSED style.
8788Files: src/getchar.c
8789
8790Patch 7.2.231
Bram Moolenaardd007ed2013-07-09 15:44:17 +02008791Problem: Warning for unreachable code.
Bram Moolenaar6df6f472010-07-18 18:04:50 +02008792Solution: Add #ifdef.
8793Files: src/if_perl.xs
8794
8795Patch 7.2.232
8796Problem: Cannot debug problems with being in a wrong directory.
8797Solution: When 'verbose' is 5 or higher report directory changes.
8798Files: src/os_unix.c, src/os_unix.h, src/proto/os_unix.pro
8799
8800Patch 7.2.233 (extra part of 7.2.232)
8801Problem: Cannot debug problems with being in a wrong directory.
8802Solution: When 'verbose' is 5 or higher report directory changes.
8803Files: src/os_msdos.c, src/os_mswin.c, src/os_riscos.c, src/os_mac.h
8804
8805Patch 7.2.234
8806Problem: It is not possible to ignore file names without a suffix.
8807Solution: Use an empty entry in 'suffixes' for file names without a dot.
8808Files: runtime/doc/cmdline.txt, src/misc1.c
8809
8810Patch 7.2.235
8811Problem: Using CTRL-O z= in Insert mode has a delay before redrawing.
8812Solution: Reset msg_didout and msg_scroll.
8813Files: src/misc1.c, src/spell.c
8814
8815Patch 7.2.236
8816Problem: Mac: Compiling with Ruby doesn't always work.
8817Solution: In configure filter out the --arch argument (Bjorn Winckler)
8818Files: src/configure.in, src/auto/configure
8819
8820Patch 7.2.237
8821Problem: Crash on exit when window icon not set.
8822Solution: Copy terminal name when using it for the icon name.
8823Files: src/os_unix.c
8824
8825Patch 7.2.238
8826Problem: Leaking memory when setting term to "builtin_dumb".
8827Solution: Free memory when resetting term option t_Co.
8828Files: src/option.c, src/proto/option.pro, src/term.c
8829
8830Patch 7.2.239
8831Problem: Using :diffpatch twice or when patching fails causes memory
8832 corruption and/or a crash. (Bryan Venteicher)
8833Solution: Detect missing output file. Avoid using non-existing buffer.
8834Files: src/diff.c
8835
8836Patch 7.2.240
8837Problem: Crash when using find/replace dialog repeatedly. (Michiel
8838 Hartsuiker)
8839Solution: Avoid doing the operation while busy or recursively. Also refuse
8840 replace when text is locked.
8841Files: src/gui.c
8842
8843Patch 7.2.241
8844Problem: When using a combination of ":bufdo" and "doautoall" we may end up
8845 in the wrong directory. (Ajit Thakkar)
8846 Crash when triggering an autocommand in ":vimgrep". (Yukihiro
8847 Nakadaira)
8848Solution: Clear w_localdir and globaldir when using the aucmd_win.
8849 Use a separate flag to decide aucmd_win needs to be restored.
8850Files: src/fileio.c, src/globals.h, src/structs.h
8851
8852Patch 7.2.242
8853Problem: Setting 'lazyredraw' causes the cursor column to be recomputed.
8854 (Tom Link)
8855Solution: Only recompute the cursor column for a boolean option if changes
8856 the cursor position.
8857Files: src/option.c
8858
8859Patch 7.2.243
8860Problem: Memory leak when using :vimgrep and resizing. (Dominique Pelle)
8861Solution: Free memory for aucmd_win when resizing and don't allocate it
8862 twice.
8863Files: src/screen.c
8864
8865Patch 7.2.244
8866Problem: When 'enc' is utf-8 and 'fenc' is latin1, writing a non-latin1
8867 character gives a conversion error without any hint what is wrong.
8868Solution: When known add the line number to the error message.
8869Files: src/fileio.c
8870
8871Patch 7.2.245
8872Problem: When 'enc' is "utf-16" and 'fenc' is "utf-8" writing a file does
8873 conversion while none should be done. (Yukihiro Nakadaira) When
8874 'fenc' is empty the file is written as utf-8 instead of utf-16.
8875Solution: Do proper comparison of encodings, taking into account that all
8876 Unicode values for 'enc' use utf-8 internally.
8877Files: src/fileio.c
8878
8879Patch 7.2.246
8880Problem: Cscope home page link is wrong.
8881Solution: Update the URL. (Sergey Khorev)
8882Files: runtime/doc/if_cscop.txt
8883
8884Patch 7.2.247
8885Problem: Mzscheme interface minor problem.
8886Solution: Better error message when build fails. (Sergey Khorev)
8887Files: src/if_mzsch.c
8888
8889Patch 7.2.248 (extra)
8890Problem: Mzscheme interface building minor problems.
8891Solution: Update Win32 makefiles. (Sergey Khorev)
8892Files: src/Make_cyg.mak, src/Make_ming.mak, src/Make_mvc.mak
8893
8894Patch 7.2.249
8895Problem: The script to check .po files can't handle '%' in plural forms.
8896Solution: Remove "Plural-Forms:" from the checked string.
8897Files: src/po/check.vim
8898
8899Patch 7.2.250 (extra)
8900Problem: Possible buffer overflow.
8901Solution: Compute the remaining space. (Dominique Pelle)
8902Files: src/GvimExt/gvimext.cpp
8903
8904Patch 7.2.251 (after 7.2.044)
8905Problem: Compiler adds invalid memory bounds check.
8906Solution: Remove _FORTIFY_SOURCE=2 from CFLAGS. (Dominique Pelle)
8907Files: src/auto/configure, src/configure.in
8908
8909Patch 7.2.252
8910Problem: When using a multi-byte 'enc' the 'iskeyword' option cannot
8911 contain characters above 128.
8912Solution: Use mb_ptr2char_adv().
8913Files: src/charset.c
8914
8915Patch 7.2.253
8916Problem: Netbeans interface: getLength always uses current buffer.
8917Solution: Use ml_get_buf() instead of ml_get(). (Xavier de Gaye)
8918Files: src/netbeans.c
8919
8920Patch 7.2.254
8921Problem: Compiler warning for assigning size_t to int.
8922Solution: Use size_t for the variable. (George Reilly)
8923Files: src/fileio.c
8924
8925Patch 7.2.255 (after 7.2.242)
8926Problem: Setting 'rightleft', 'linebreak' and 'wrap' may cause cursor to be
8927 in wrong place.
8928Solution: Recompute the cursor column for these options.
8929Files: src/option.c
8930
8931Patch 7.2.256
8932Problem: When 'guifont' was not set GTK font dialog doesn't have a default.
8933 (Andreas Metzler)
8934Solution: Set default to DEFAULT_FONT. (James Vega)
8935Files: src/gui_gtk_x11.c
8936
8937Patch 7.2.257
8938Problem: With GTK 2.17 lots of assertion error messages.
8939Solution: Remove check for static gravity. (Sebastian Droege)
8940Files: src/gui_gtk_f.c
8941
8942Patch 7.2.258
8943Problem: v:beval_col and b:beval_text are wrong in UTF-8 text. (Tony
8944 Mechelynck)
8945Solution: Use byte number instead of character number for the column.
8946Files: src/ui.c
8947
8948Patch 7.2.259
8949Problem: exists() doesn't work properly for an empty aucmd group.
8950Solution: Change how au_exists() handles a missing pattern. Also add a
8951 test for this. (Bob Hiestand)
8952Files: src/fileio.c, src/testdir/Makefile, src/testdir/test67.in,
8953 src/testdir/test67.ok
8954
8955Patch 7.2.260 (extra part of 7.2.259)
8956Problem: exists() doesn't work properly for empty aucmd group.
8957Solution: Change how au_exists() handles a missing pattern. Also add a
8958 test for this. (Bob Hiestand)
8959Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
8960 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
8961 src/testdir/Make_vms.mms
8962
8963Patch 7.2.261
8964Problem: When deleting lines with a specific folding configuration E38 may
8965 appear. (Shahaf)
8966Solution: When adjusting nested folds for deleted lines take into account
8967 that they don't start at the top of the enclosing fold.
8968Files: src/fold.c
8969
8970Patch 7.2.262
8971Problem: When using custom completion for a user command the pattern string
8972 goes beyond the cursor position. (Hari Krishna Dara)
8973Solution: Truncate the string at the cursor position.
8974Files: src/ex_getln.c, src/structs.h
8975
8976Patch 7.2.263
8977Problem: GTK2: when using the -geom argument with an offset from the right
8978 edge and the size is smaller than the default, the Vim window is
8979 not positioned properly.
8980Solution: Use another function to set the size. (Vitaly Minko)
8981Files: src/gui_gtk_x11.c
8982
8983Patch 7.2.264
8984Problem: GTK2: When the Vim window is maximized setting 'columns' or
8985 'lines' doesn't work.
8986Solution: Unmaximize the window before setting the size. (Vitaly Minko)
8987Files: src/gui.c, src/gui_gtk_x11.c, src/proto/gui_gtk_x11.pro
8988
8989Patch 7.2.265
8990Problem: When using ":silent broken" inside try/catch silency may persist.
8991 (dr-dr xp)
8992Solution: Set msg_silent when there is an error and it's bigger than the
8993 saved value.
8994Files: src/ex_docmd.c
8995
8996Patch 7.2.266
8997Problem: When an expression abbreviation is triggered, the typed character
8998 is unknown.
8999Solution: Make the typed character available in v:char.
9000Files: runtime/doc/map.txt, src/eval.c, src/getchar.c, src/ops.c,
9001 src/proto/eval.pro
9002
9003Patch 7.2.267
9004Problem: Crash for narrow window and double-width character.
9005Solution: Check for zero width. (Taro Muraoka)
9006Files: src/charset.c
9007
9008Patch 7.2.268
9009Problem: Crash when using Python to set cursor beyond end of line.
9010 (winterTTr)
9011Solution: Check the column to be valid.
9012Files: src/if_python.c
9013
9014Patch 7.2.269
9015Problem: Many people struggle to find out why Vim startup is slow.
9016Solution: Add the --startuptime command line flag.
9017Files: runtime/doc/starting.txt, src/globals.h, src/feature.h,
9018 src/main.c, src/macros.h
9019
9020Patch 7.2.270
9021Problem: Using ":@c" when the c register contains a CR causes the rest to
9022 be executed later. (Dexter Douglas)
9023Solution: Don't check for typeahead to start with ':', keep executing
9024 commands until all added typeahead has been used.
9025Files: src/ex_docmd.c
9026
9027Patch 7.2.271
9028Problem: Using freed memory in Motif GUI version when making a choice.
9029Solution: Free memory only after using it. (Dominique Pelle)
9030Files: src/gui_xmdlg.c
9031
9032Patch 7.2.272
9033Problem: "_.svz" is not recognized as a swap file. (David M. Besonen)
9034Solution: Accept .s[uvw][a-z] as a swap file name extension.
9035Files: src/memline.c
9036
9037Patch 7.2.273
9038Problem: Crash with redir to unknown array. (Christian Brabandt)
9039Solution: Don't assign the redir result when there was an error.
9040Files: src/eval.c
9041
9042Patch 7.2.274
9043Problem: Syntax folding doesn't work properly when adding a comment.
9044Solution: Fix it and add a test. (Lech Lorens)
9045Files: src/fold.c, src/testdir/test45.in, src/testdir/test45.ok
9046
9047Patch 7.2.275
9048Problem: Warning for unused argument and comparing signed and unsigned.
9049Solution: Add type cast.
9050Files: src/memline.c
9051
9052Patch 7.2.276
9053Problem: Crash when setting 'isprint' to a small bullet. (Raul Coronado)
9054Solution: Check for the character to be < 256. Also make it possible to
9055 specify a range of multi-byte characters. (Lech Lorens)
9056Files: src/charset.c
9057
9058Patch 7.2.277
9059Problem: CTRL-Y in a diff'ed window may move the cursor outside of the
9060 window. (Lech Lorens)
9061Solution: Limit the number of filler lines to the height of the window.
9062 Don't reset filler lines to zero for an empty buffer.
9063Files: src/move.c
9064
9065Patch 7.2.278
9066Problem: Using magic number in the folding code.
9067Solution: Use the defined MAX_LEVEL.
9068Files: src/fold.c
9069
9070Patch 7.2.279
9071Problem: Invalid memory read with visual mode "r". (Dominique Pelle)
9072Solution: Make sure the cursor position is valid. Don't check the cursor
9073 position but the position being used. And make sure we get the
9074 right line.
9075Files: src/misc2.c, src/ops.c
9076
9077Patch 7.2.280
9078Problem: A redraw in a custom statusline with %! may cause a crash.
9079 (Yukihiro Nakadaira)
9080Solution: Make a copy of 'statusline'. Also fix typo in function name
Bram Moolenaarc8734422012-06-01 22:38:45 +02009081 redraw_custom_statusline. (partly by Dominique Pelle)
Bram Moolenaar6df6f472010-07-18 18:04:50 +02009082Files: src/screen.c
9083
9084Patch 7.2.281
9085Problem: 'cursorcolumn' highlighting is wrong in diff mode.
9086Solution: Adjust the column computation. (Lech Lorens)
9087Files: src/screen.c
9088
9089Patch 7.2.282
9090Problem: A fold can't be closed.
9091Solution: Initialize fd_small to MAYBE. (Lech Lorens)
9092Files: src/fold.c
9093
9094Patch 7.2.283
9095Problem: Changing font while the window is maximized doesn't keep the
9096 window maximized.
9097Solution: Recompute number of lines and columns after changing font. (James
9098 Vega)
9099Files: src/gui_gtk_x11.c
9100
9101Patch 7.2.284
9102Problem: When editing the same buffer in two windows, one with folding,
9103 display may be wrong after changes.
9104Solution: Call set_topline() to take care of side effects. (Lech Lorens)
9105Files: src/misc1.c
9106
9107Patch 7.2.285 (after 7.2.169)
9108Problem: CTRL-U in Insert mode also deletes indent. (Andrey Voropaev)
9109Solution: Fix mistake made in patch 7.2.169.
9110Files: src/edit.c
9111
9112Patch 7.2.286 (after 7.2.269)
9113Problem: The "--startuptime=<file>" argument is not consistent with other
9114 arguments.
9115Solution: Use "--startuptime <file>". Added the +startuptime feature.
9116Files: runtime/doc/eval.txt, runtime/doc/starting.txt,
9117 runtime/doc/various.txt, src/eval.c, src/main.c, src/version.c
9118
9119Patch 7.2.287
9120Problem: Warning from gcc 3.4 about uninitialized variable.
9121Solution: Move assignment outside of #ifdef.
9122Files: src/if_perl.xs
9123
9124Patch 7.2.288
9125Problem: Python 2.6 pyconfig.h redefines macros.
9126Solution: Undefine the macros before including pyconfig.h.
9127Files: src/if_python.c
9128
9129Patch 7.2.289
9130Problem: Checking wrong struct member.
9131Solution: Change tb_buf to tb_noremap. (Dominique Pelle)
9132Files: src/getchar.c
9133
9134Patch 7.2.290
9135Problem: Not freeing memory from ":lmap", ":xmap" and ":menutranslate".
9136Solution: Free the memory when exiting. (Dominique Pelle)
9137Files: src/misc2.c
9138
9139Patch 7.2.291
9140Problem: Reading uninitialised memory in arabic mode.
9141Solution: Use utfc_ptr2char_len() rather than utfc_ptr2char(). (Dominique
9142 Pelle)
9143Files: src/screen.c
9144
9145Patch 7.2.292
9146Problem: Block right-shift doesn't work properly with multi-byte encoding
9147 and 'list' set.
9148Solution: Add the missing "else". (Lech Lorens)
9149Files: src/ops.c
9150
9151Patch 7.2.293
9152Problem: When setting 'comments' option it may be used in a wrong way.
Bram Moolenaare2db6952013-07-24 19:53:36 +02009153Solution: Don't increment after skipping over digits. (Yukihiro Nakadaira)
Bram Moolenaar6df6f472010-07-18 18:04:50 +02009154Files: src/misc1.c
9155
9156Patch 7.2.294
9157Problem: When using TEMPDIRS dir name could get too long.
9158Solution: Overwrite tail instead of appending each time. Use mkdtemp() when
9159 available. (James Vega)
9160Files: src/auto/configure, src/config.h.in, src/configure.in, src/fileio.c
9161
9162Patch 7.2.295
9163Problem: When using map() on a List the index is not known.
9164Solution: Set v:key to the index. (Hari Krishna Dara)
9165Files: runtime/doc/eval.txt, src/eval.c
9166
9167Patch 7.2.296
9168Problem: Help message about startuptime is wrong. (Dominique Pelle)
9169Solution: Remove the equal sign.
9170Files: src/main.c
9171
9172Patch 7.2.297
9173Problem: Reading freed memory when writing ":reg" output to a register.
9174 (Dominique Pelle)
9175Solution: Skip the register being written to.
9176Files: src/ops.c
9177
9178Patch 7.2.298
9179Problem: ":vimgrep" crashes when there is an autocommand that sets a
9180 window-local variable.
9181Solution: Initialize the w: hashtab for re-use. (Yukihiro Nakadaira)
9182Files: src/fileio.c
9183
9184Patch 7.2.299
9185Problem: Crash when comment middle is longer than start.
9186Solution: Fix size computation. (Lech Lorens)
9187Files: src/misc1.c
9188
9189Patch 7.2.300
9190Problem: Vim doesn't close file descriptors when forking and executing
9191 another command, e.g., ":shell".
9192Solution: Use FD_CLOEXEC when available. (James Vega)
9193Files: auto/configure, src/config.h.in, src/configure.in,
9194 src/ex_cmdds2.c, src/fileio.c, src/memfile.c, src/memline.c
9195
9196Patch 7.2.301
9197Problem: Formatting is wrong when 'tw' is set to a small value.
9198Solution: Fix it and add tests. Also fix behavior of "1" in 'fo'. (Yukihiro
9199 Nakadaira)
9200Files: src/edit.c, src/testdir/Makefile, src/testdir/test68.in,
9201 src/testdir/test68.ok, src/testdir/test69.in,
9202 src/testdir/test69,ok
9203
9204Patch 7.2.302 (extra part of 7.2.301)
9205Problem: Formatting wrong with small 'tw' value.
9206Solution: Add build rules for tests.
9207Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
9208 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
9209 src/testdir/Make_vms.mms
9210
9211Patch 7.2.303 (after 7.2.294)
9212Problem: Can't build on MS-Windows.
9213Solution: Add #ifdef around vim_settempdir(). (James Vega)
9214Files: src/fileio.c
9215
9216Patch 7.2.304
9217Problem: Compiler warning for bad pointer cast.
9218Solution: Use another variable for int pointer.
9219Files: src/ops.c
9220
9221Patch 7.2.305
9222Problem: Recursively redrawing causes a memory leak. (Dominique Pelle)
9223Solution: Disallow recursive screen updating.
9224Files: src/screen.c
9225
9226Patch 7.2.306
9227Problem: shellescape("10%%", 1) only escapes first %. (Christian Brabandt)
9228Solution: Don't copy the character after the escaped one.
9229Files: src/misc2.c
9230
9231Patch 7.2.307
9232Problem: Crash with a very long syntax match statement. (Guy Gur Ari)
9233Solution: When the offset does not fit in the two bytes available give an
9234 error instead of continuing with invalid pointers.
9235Files: src/regexp.c
9236
9237Patch 7.2.308
9238Problem: When using a regexp in the "\=" expression of a substitute
9239 command, submatch() returns empty strings for further lines.
9240 (Clockwork Jam)
9241Solution: Save and restore the line number and line count when calling
9242 reg_getline().
9243Files: src/regexp.c
9244
9245Patch 7.2.309 (after 7.2.308)
9246Problem: Warning for missing function prototype. (Patrick Texier)
9247Solution: Add the prototype.
9248Files: src/regexp.c
9249
9250Patch 7.2.310
9251Problem: When a filetype plugin in ~/.vim/ftdetect uses ":setfiletype" and
9252 the file starts with a "# comment" it gets "conf" filetype.
9253Solution: Check for "conf" filetype after using ftdetect plugins.
9254Files: runtime/filetype.vim
9255
9256Patch 7.2.311
9257Problem: Can't compile with FreeMiNT.
9258Solution: Change #ifdef for limits.h. (Alan Hourihane)
9259Files: src/fileio.c
9260
9261Patch 7.2.312
9262Problem: iconv() returns an invalid character sequence when conversion
9263 fails. It should return an empty string. (Yongwei Wu)
9264Solution: Be more strict about invalid characters in the input.
9265Files: src/mbyte.c
9266
9267Patch 7.2.313
9268Problem: Command line completion doesn't work after "%:h" and similar.
9269Solution: Expand these items before doing the completion.
9270Files: src/ex_getln.c, src/misc1.c, src/proto/misc1.pro
9271
9272Patch 7.2.314
9273Problem: Missing function in small build.
9274Solution: Always include concat_str.
9275Files: src/misc1.c
9276
9277Patch 7.2.315
9278Problem: Python libs can't be found on 64 bit system.
9279Solution: Add lib64 to the list of directories. (Michael Henry)
9280Files: src/auto/configure, src/configure.in
9281
9282Patch 7.2.316
9283Problem: May get multiple _FORTIFY_SOURCE arguments. (Tony Mechelynck)
9284Solution: First remove all these arguments and then add the one we want.
9285 (Dominique Pelle)
9286Files: src/auto/configure, src/configure.in
9287
9288Patch 7.2.317
9289Problem: Memory leak when adding a highlight group with unprintable
9290 characters, resulting in E669.
9291Solution: Free the memory. And fix a few typos. (Dominique Pelle)
9292Files: src/syntax.c
9293
9294Patch 7.2.318
9295Problem: Wrong locale value breaks floating point numbers for gvim.
9296Solution: Set the locale again after doing GUI inits. (Dominique Pelle)
9297Files: src/main.c
9298
9299Patch 7.2.319
9300Problem: Motif: accessing freed memory when cancelling font dialog.
9301Solution: Destroy the widget only after accessing it. (Dominique Pelle)
9302Files: src/gui_xmdlg.c
9303
9304Patch 7.2.320
9305Problem: Unused function in Mzscheme interface.
9306Solution: Remove the function and what depends on it. (Dominique Pelle)
9307Files: src/if_mzsch.c, src/proto/if_mzsch.pro
9308
9309Patch 7.2.321
9310Problem: histadd() and searching with "*" fails to add entry to history
9311 when it is empty.
9312Solution: Initialize the history. (Lech Lorens)
9313Files: src/eval.c, src/normal.c
9314
9315Patch 7.2.322
9316Problem: Wrong indenting in virtual replace mode with CTRL-Y below a short
9317 line.
9318Solution: Check for character to be NUL. (suggested by Lech Lorens)
9319Files: src/edit.c
9320
9321Patch 7.2.323 (extra)
9322Problem: Balloon evaluation crashes on Win64.
9323Solution: Change pointer types. (Sergey Khorev)
9324Files: src/gui_w32.c
9325
9326Patch 7.2.324
9327Problem: A negative column argument in setpos() may cause a crash.
9328Solution: Check for invalid column number. (James Vega)
9329Files: src/eval.c, src/misc2.c
9330
9331Patch 7.2.325
9332Problem: A stray "w" in the startup vimrc file causes the edited file to be
9333 replaced with an empty file. (Stone Kang).
9334Solution: Do not write a buffer when it has never been loaded.
9335Files: src/fileio.c
9336
9337Patch 7.2.326
9338Problem: Win32: $HOME doesn't work when %HOMEPATH% is not defined.
9339Solution: Use "\" for %HOMEPATH% when it is not defined.
9340Files: src/misc1.c
9341
9342Patch 7.2.327
9343Problem: Unused functions in Workshop.
9344Solution: Add "#if 0" and minor cleanup. (Dominique Pelle)
Bram Moolenaarfcb7ab62010-07-20 11:16:17 +02009345Files: src/workshop.c, src/integration.c, src/integration.h
Bram Moolenaar6df6f472010-07-18 18:04:50 +02009346
9347Patch 7.2.328
9348Problem: has("win64") does not return 1 on 64 bit MS-Windows version.
9349Solution: Also check for _WIN64 besides WIN64.
9350Files: src/eval.c
9351
9352Patch 7.2.329
9353Problem: "g_" doesn't position cursor correctly when in Visual mode and
9354 'selection' is "exclusive". (Ben Fritz)
9355Solution: Call adjust_for_sel().
9356Files: src/normal.c
9357
9358Patch 7.2.330
9359Problem: Tables for Unicode case operators are outdated.
9360Solution: Add a Vim script for generating the tables. Include tables for
9361 Unicode 5.2.
9362Files: runtime/tools/README.txt, runtime/tools/unicode.vim, src/mbyte.c
9363
9364Patch 7.2.331
9365Problem: Can't interrupt "echo list" for a very long list.
9366Solution: Call line_breakcheck() in list_join().
9367Files: src/eval.c
9368
9369Patch 7.2.332
9370Problem: Crash when spell correcting triggers an autocommand that reloads
9371 the buffer.
9372Solution: Make a copy of the line to be modified. (Dominique Pelle)
9373Files: src/spell.c
9374
9375Patch 7.2.333
9376Problem: Warnings from static code analysis.
9377Solution: Small changes to various lines. (Dominique Pelle)
9378Files: src/buffer.c, src/edit.c, src/ex_getln.c, src/fileio.c,
9379 src/if_cscope.c, src/netbeans.c, src/ops.c, src/quickfix.c,
9380 src/syntax.c, src/ui.c
9381
9382Patch 7.2.334
9383Problem: Postponing keys in Netbeans interface does not work properly.
9384Solution: Store the key string instead of the number. Avoid an infinite
9385 loop. (Mostly by Xavier de Gaye)
9386Files: src/netbeans.c, src/proto/netbeans.pro
9387
9388Patch 7.2.335
9389Problem: The CTRL-] command escapes too many characters.
9390Solution: Use a different list of characters to be escaped. (Sergey Khorev)
9391Files: src/normal.c
9392
9393Patch 7.2.336
9394Problem: MzScheme interface can't evaluate an expression.
9395Solution: Add mzeval(). (Sergey Khorev)
9396Files: runtime/doc/eval.txt, runtime/doc/if_mzsch.txt,
9397 runtime/doc/usr_41.txt, src/eval.c, src/if_mzsch.c,
9398 src/proto/eval.pro, src/proto/if_mzsch.pro,
9399 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
9400 src/testdir/Makefile, src/testdir/main.aap, src/testdir/test1.in,
9401 src/testdir/test70.in, src/testdir/test70.ok
9402
9403Patch 7.2.337
9404Problem: The :compiler command doesn't function properly when invoked in a
9405 function.
9406Solution: Add "g:" before "current_compiler". (Yukihiro Nakadaira)
9407Files: src/ex_cmds2.c
9408
9409Patch 7.2.338 (after 7.2.300)
9410Problem: Part of FD_CLOEXEC change is missing.
9411Solution: Include source file skipped because of typo.
9412Files: src/ex_cmds2.c
9413
9414Patch 7.2.339 (after 7.2.269)
9415Problem: Part of --startuptime patch is missing.
9416Solution: Add check for time_fd.
9417Files: src/ex_cmds2.c
9418
9419Patch 7.2.340
9420Problem: Gcc warning for condition that can never be true. (James Vega)
9421Solution: Use start_lvl instead flp->lvl.
9422Files: src/fold.c
9423
9424Patch 7.2.341
9425Problem: Popup menu wraps to next line when double-wide character doesn't
9426 fit. (Jiang Ma)
9427Solution: Display a ">" instead. (Dominique Pelle)
9428Files: src/screen.c
9429
9430Patch 7.2.342
9431Problem: Popup menu displayed wrong in 'rightleft' mode when there are
9432 multi-byte characters.
9433Solution: Adjust the column computations. (Dominique Pelle)
9434Files: src/popupmnu.c
9435
9436Patch 7.2.343 (after 7.2.338)
9437Problem: Can't compile on Win32.
9438Solution: Insert the missing '|'.
9439Files: src/ex_cmds2.c
9440
9441Patch 7.2.344 (after 7.2.343)
9442Problem: Can't compile on some systems
9443Solution: Move the #ifdef outside of the mch_open macro. (Patrick Texier)
9444Files: src/ex_cmds2.c
9445
9446Patch 7.2.345
9447Problem: Tab line is not updated when the value of 'bt' is changed.
9448Solution: Call redraw_titles(). (Lech Lorens)
9449Files: src/option.c
9450
9451Patch 7.2.346
9452Problem: Repeating a command with @: causes a mapping to be applied twice.
9453Solution: Do not remap characters inserted in the typeahead buffer. (Kana
9454 Natsuno)
9455Files: src/ops.c
9456
9457Patch 7.2.347
9458Problem: Crash when executing <expr> mapping redefines that same mapping.
9459Solution: Save the values used before evaluating the expression.
9460Files: src/getchar.c
9461
9462Patch 7.2.348 (after 7.2.330)
9463Problem: Unicode double-width characters are not up-to date.
9464Solution: Produce the double-width table like the others.
9465Files: runtime/tools/unicode.vim, src/mbyte.c
9466
9467Patch 7.2.349
9468Problem: CTRL-W gf doesn't put the new tab in the same place as "tab split"
9469 and "gf". (Tony Mechelynck)
9470Solution: Store the tab number in cmdmod.tab.
9471Files: src/window.c
9472
9473Patch 7.2.350
9474Problem: Win32: When changing font the window may jump from the secondary
9475 to the primary screen. (Michael Wookey)
9476Solution: When the screen position was negative don't correct it to zero.
9477Files: src/gui.c
9478
9479Patch 7.2.351 (after 7.2.347)
9480Problem: Can't build with some compilers.
9481Solution: Move the #ifdef outside of a macro. Cleanup the code.
9482Files: src/getchar.c
9483
9484Patch 7.2.352 (extra)
9485Problem: Win64: Vim doesn't work when cross-compiled with MingW libraries.
9486Solution: Always return TRUE for the WM_NCCREATE message. (Andy Kittner)
9487Files: src/gui_w48.c
9488
9489Patch 7.2.353
9490Problem: No command line completion for ":profile".
9491Solution: Complete the subcommand and file name.
9492Files: src/ex_docmd.c, src/ex_cmds2.c, src/ex_getln.c,
9493 src/proto/ex_cmds2.pro, src/vim.h
9494
9495Patch 7.2.354
9496Problem: Japanese single-width double-byte characters not handled correctly.
9497Solution: Put 0x8e in ScreenLines[] and the second byte in ScreenLines2[].
9498 (partly by Kikuchan)
9499Files: src/screen.c
9500
9501Patch 7.2.355
9502Problem: Computing the cursor column in validate_cursor_col() is wrong when
9503 line numbers are used and 'n' is not in 'cpoptions', causing the
9504 popup menu to be positioned wrong.
9505Solution: Correctly use the offset. (partly by Dominique Pelle)
9506Files: src/move.c
9507
9508Patch 7.2.356
9509Problem: When 'foldmethod' is changed not all folds are closed as expected.
9510Solution: In foldUpdate() correct the start position and reset fd_flags when
9511 w_foldinvalid is set. (Lech Lorens)
9512Files: src/fold.c
9513
9514Patch 7.2.357
9515Problem: When changing 'fileformat' from/to "mac" and there is a CR in the
9516 text the display is wrong.
9517Solution: Redraw the text when 'fileformat' is changed. (Ben Schmidt)
9518Files: src/option.c
9519
9520Patch 7.2.358
9521Problem: Compiler warnings on VMS. (Zoltan Arpadffy)
9522Solution: Pass array itself instead its address. Return a value.
9523Files: src/gui_gtk_x11.c, src/os_unix.c
9524
9525Patch 7.2.359
9526Problem: Crash when using the Netbeans join command.
9527Solution: Make sure the ml_flush_line() function is not used recursively.
9528 (Xavier de Gaye)
9529Files: src/memline.c
9530
9531Patch 7.2.360
9532Problem: Ruby on MS-Windows: can't use sockets.
9533Solution: Call NtInitialize() during initialization. (Ariya Mizutani)
9534Files: src/if_ruby.c
9535
9536Patch 7.2.361
9537Problem: Ruby 1.9 is not supported.
9538Solution: Add Ruby 1.9 support. (Masaki Suketa)
9539Files: src/Makefile, src/auto/configure, src/configure.in, src/if_ruby.c
9540
9541Patch 7.2.362 (extra, after 7.2.352)
9542Problem: Win64: Vim doesn't work when cross-compiled with MingW libraries.
9543Solution: Instead of handling WM_NCCREATE, create wide text area window
9544 class if the parent window iw side. (Sergey Khorev)
9545Files: src/gui_w32.c, src/gui_w48.c
9546
9547Patch 7.2.363
9548Problem: Can't dynamically load Perl 5.10.
9549Solution: Add the function Perl_croak_xs_usage. (Sergey Khorev)
9550Files: src/if_perl.xs
9551
9552Patch 7.2.364 (extra)
9553Problem: Can't build gvimext.dll on Win 7 x64 using MinGW (John Marriott)
9554Solution: Check if _MSC_VER is defined. (Andy Kittner)
9555Files: src/GvimExt/gvimext.h
9556
9557Patch 7.2.365 (extra)
9558Problem: MS-Windows with MingW: "File->Save As" does not work. (John
9559 Marriott)
9560Solution: Correctly fill in structure size. (Andy Kittner)
9561Files: src/gui_w48.c
9562
9563Patch 7.2.366
9564Problem: CTRL-B doesn't go back to the first line of the buffer.
9565Solution: Avoid an overflow when adding MAXCOL.
9566Files: src/move.c
9567
9568Patch 7.2.367
9569Problem: "xxd -r -p" doesn't work as documented.
9570Solution: Skip white space. (James Vega)
9571Files: src/xxd/xxd.c
9572
9573Patch 7.2.368 (after 7.2.361)
9574Problem: Ruby interface: Appending line doesn't work. (Michael Henry)
9575Solution: Reverse check for NULL line. (James Vega)
9576Files: src/if_ruby.c
9577
9578Patch 7.2.369
9579Problem: Error message is not easy to understand.
9580Solution: Add quotes. (SungHyun Nam)
9581Files: src/ex_cmds2.c
9582
9583Patch 7.2.370 (after 7.2.356)
9584Problem: A redraw may cause folds to be closed.
9585Solution: Revert part of the previous patch. Add a test. (Lech Lorens)
9586Files: src/diff.c, src/fold.c, src/option.c, src/testdir/test45.in,
9587 src/testdir/test45.ok
9588
9589Patch 7.2.371
9590Problem: Build problems on Tandem NonStop.
9591Solution: A few changes to #ifdefs (Joachim Schmitz)
9592Files: src/auto/configure, src/configure.in, src/config.h.in, src/vim.h,
9593 src/if_cscope.c, src/osdef1.h.in, src/tag.c
9594
9595Patch 7.2.372 (extra)
9596Problem: Cross-compiling GvimExt and xxd doesn't work.
9597Solution: Change the build files. (Markus Heidelberg)
9598Files: src/INSTALLpc.txt, src/GvimExt/Make_ming.mak, src/Make_cyg.mak,
9599 src/Make_ming.mak, src/xxd/Make_cyg.mak
9600
9601Patch 7.2.373
9602Problem: Gcc 4.5 adds more error messages. (Chris Indy)
9603Solution: Update default 'errorformat'.
9604Files: src/option.h
9605
9606Patch 7.2.374
9607Problem: Ruby eval() doesn't understand Vim types.
9608Solution: Add the vim_to_ruby() function. (George Gensure)
9609Files: src/eval.c, src/if_ruby.c
9610
9611Patch 7.2.375
9612Problem: ml_get errors when using ":bprevious" in a BufEnter autocmd.
9613 (Dominique Pelle)
9614Solution: Clear w_valid when entering another buffer.
9615Files: src/buffer.c
9616
9617Patch 7.2.376
9618Problem: ml_get error when using SiSU syntax. (Nathan Thomas)
9619Solution: If the match ends below the last line move it to the end of the
9620 last line.
9621Files: src/syntax.c
9622
9623Patch 7.2.377 (extra, after 7.2.372)
9624Problem: Misplaced assignment. Duplicate build line for gvimext.dll.
9625Solution: Move setting CROSS_COMPILE to before ifneq. Remove the wrong
9626 build line. (Markus Heidelberg)
9627Files: src/Make_ming.mak
9628
9629Patch 7.2.378
9630Problem: C function declaration indented too much. (Rui)
9631Solution: Don't see a line containing { or } as a type. (Matt Wozniski)
9632Files: src/misc1.c
9633
9634Patch 7.2.379
9635Problem: 'eventignore' is set to an invalid value inside ":doau". (Antony
9636 Scriven)
9637Solution: Don't include the leading comma when the option was empty.
9638Files: src/fileio.c
9639
9640Patch 7.2.380 (after 7.2.363)
9641Problem: Perl interface builds with 5.10.1 but not with 5.10.0.
9642Solution: Change the #ifdefs. (Sergey Khorev)
9643Files: src/if_perl.xs
9644
9645Patch 7.2.381
9646Problem: No completion for :behave.
9647Solution: Add :behave completion. Minor related fixes. (Dominique Pelle)
9648Files: src/ex_docmd.c, src/ex_getln.c, src/proto/ex_docmd.pro, src/vim.h
9649
9650Patch 7.2.382
9651Problem: Accessing freed memory when closing the cmdline window when
9652 'bufhide' is set to "wipe".
9653Solution: Check if the buffer still exists before invoking close_buffer()
9654 (Dominique Pelle)
9655Files: src/ex_getln.c
9656
9657Patch 7.2.383
9658Problem: Vim doesn't build cleanly with MSVC 2010.
9659Solution: Change a few types. (George Reilly)
9660Files: src/ex_cmds2.c, src/if_python.c, src/syntax.c
9661
9662Patch 7.2.384 (extra)
9663Problem: Vim doesn't build properly with MSVC 2010.
9664Solution: Add the nmake version to the build file. (George Reilly)
9665Files: src/Make_mvc.mak, src/testdir/Make_dos.mak
9666
9667Patch 7.2.385
9668Problem: When in the command line window dragging status line only works
9669 for last-but-one window. (Jean Johner)
9670Solution: Remove the code that disallows this.
9671Files: src/ui.c
9672
9673Patch 7.2.386
9674Problem: Focus hack for KDE 3.1 causes problems for other window managers.
9675Solution: Remove the hack. (forwarded by Joel Bradshaw)
9676Files: src/gui_gtk.c
9677
9678Patch 7.2.387
9679Problem: Ruby with MingW still doesn't build all versions.
9680Solution: More #ifdefs for the Ruby code. (Sergey Khorev)
9681Files: src/if_ruby.c
9682
9683Patch 7.2.388 (extra part of 7.2.387)
9684Problem: Ruby with MingW still doesn't build all versions.
9685Solution: Different approach to build file. (Sergey Khorev)
9686Files: src/Make_ming.mak
9687
9688Patch 7.2.389
9689Problem: synIDattr() cannot return the font.
9690Solution: Support the "font" argument. (Christian Brabandt)
9691Files: runtime/doc/eval.txt, src/eval.c, src/syntax.c
9692
9693Patch 7.2.390
9694Problem: In some situations the popup menu can be displayed wrong.
9695Solution: Remove the popup menu if the cursor moved. (Lech Lorens)
9696Files: src/edit.c
9697
9698Patch 7.2.391
9699Problem: Internal alloc(0) error when doing "CTRL-V $ c". (Martti Kuparinen)
9700Solution: Fix computations in getvcol(). (partly by Lech Lorens)
9701Files: src/charset.c, src/memline.c
9702
9703Patch 7.2.392
9704Problem: Netbeans hangs reading from a socket at the maximum block size.
9705Solution: Use select() or poll(). (Xavier de Gaye)
9706Files: src/vim.h, src/os_unixx.h, src/if_xcmdsrv.c, src/netbeans.c
9707
9708Patch 7.2.393
9709Problem: Mac: Can't build with different Xcode developer tools directory.
9710Solution: make "Developer" directory name configurable. (Rainer Muller)
9711Files: src/configure.in, src/auto/configure
9712
9713Patch 7.2.394
9714Problem: .lzma and .xz files are not supported.
9715Solution: Recognize .lzma and .xz files so that they can be edited.
9716Files: runtime/plugin/gzip.vim
9717
9718Patch 7.2.395
9719Problem: In help CTRL=] on g?g? escapes the ?, causing it to fail. (Tony
9720 Mechelynck)
9721Solution: Don't escape ? for a help command. (Sergey Khorev)
9722Files: src/normal.c
9723
9724Patch 7.2.396
9725Problem: Get E38 errors. (Dasn)
9726Solution: Set cursor to line 1 instead of 0. (Dominique Pelle)
9727Files: src/popupmnu.c
9728
9729Patch 7.2.397
9730Problem: Redundant check for w_lines_valid.
9731Solution: Remove the if. (Lech Lorens)
9732Files: src/fold.c
9733
9734Patch 7.2.398
9735Problem: When moving windows the cursor ends up in the wrong line.
9736Solution: Set the window width and height properly. (Lech Lorens)
9737Files: src/window.c
9738
9739Patch 7.2.399 (extra, after 7.2.388)
9740Problem: Cannot compile on MingW.
9741Solution: Move ifneq to separate line. (Vlad Sandrini, Dominique Pelle)
9742Files: src/Make_ming.mak
9743
9744Patch 7.2.400 (after 7.2.387)
9745Problem: Dynamic Ruby is not initialised properly for version 1.9.1.
9746 Ruby cannot create strings from NULL.
9747Solution: Cleanup #ifdefs. Handle NULL like an empty string. Add
9748 ruby_init_stack. (Sergey Khorev)
9749Files: src/if_ruby.c
9750
9751Patch 7.2.401
9752Problem: ":e dir<Tab>" with 'wildmode' set to "list" doesn't highlight
9753 directory names with a space. (Alexandre Provencio)
9754Solution: Remove the backslash before checking if the name is a directory.
9755 (Dominique Pelle)
9756Files: src/ex_getln.c
9757
9758Patch 7.2.402
9759Problem: This gives a #705 error: let X = function('haslocaldir')
9760 let X = function('getcwd')
9761Solution: Don't give E705 when the name is found in the hashtab. (Sergey
9762 Khorev)
9763Files: src/eval.c
9764
9765Patch 7.2.403 (after 7.2.400)
9766Problem: Compiler warning for pointer type. (Tony Mechelynck)
9767Solution: Move type cast to the right place.
9768Files: src/if_ruby.c
9769
9770Patch 7.2.404
9771Problem: Pointers for composing characters are not properly initialized.
9772Solution: Compute the size of the pointer, not what it points to. (Yukihiro
9773 Nakadaira)
9774Files: src/screen.c
9775
9776Patch 7.2.405
9777Problem: When built with small features the matching text is not
9778 highlighted for ":s/pat/repl/c".
9779Solution: Remove the #ifdef for IncSearch. (James Vega)
9780Files: src/syntax.c
9781
9782Patch 7.2.406
9783Problem: Patch 7.2.119 introduces uninit mem read. (Dominique Pelle)
9784Solution: Only used ScreeenLinesC when ScreeenLinesUC is not zero. (Yukihiro
9785 Nakadaira) Also clear ScreeenLinesC when allocating.
9786Files: src/screen.c
9787
9788Patch 7.2.407
9789Problem: When using an expression in ":s" backslashes in the result are
9790 dropped. (Sergey Goldgaber, Christian Brabandt)
9791Solution: Double backslashes.
9792Files: src/regexp.c
9793
9794Patch 7.2.408
9795Problem: With ":g/the/s/foo/bar/" the '[ and '] marks can be set to a line
9796 that was not changed.
9797Solution: Only set '[ and '] marks when a substitution was done.
9798Files: src/ex_cmds.c
9799
9800Patch 7.2.409
9801Problem: Summary of number of substitutes is incorrect for ":folddo". (Jean
9802 Johner)
9803Solution: Reset sub_nsubs and sub_nlines in global_exe().
9804Files: src/ex_cmds.c
9805
9806Patch 7.2.410
9807Problem: Highlighting directories for completion doesn't work properly.
Bram Moolenaarfcb7ab62010-07-20 11:16:17 +02009808Solution: Don't halve backslashes when not needed, expanded "~/".
Bram Moolenaar6df6f472010-07-18 18:04:50 +02009809 (Dominique Pelle)
9810Files: src/ex_getln.c
9811
9812Patch 7.2.411
9813Problem: When parsing 'cino' a comma isn't skipped properly.
9814Solution: Skip the comma. (Lech Lorens)
9815Files: src/misc1.c
9816
9817Patch 7.2.412
9818Problem: [ or ] followed by mouse click doesn't work.
9819Solution: Reverse check for key being a mouse event. (Dominique Pelle)
9820Files: src/normal.c
9821
9822Patch 7.2.413
9823Problem: Large file support is incorrect.
9824Solution: Add AC_SYS_LARGEFILE to configure. (James Vega)
9825Files: src/configure.in, src/config.h.in, src/auto/configure
9826
9827Patch 7.2.414
9828Problem: CTRK-K <space> <space> does not produce 0xa0 as expected. (Tony
9829 Mechelynck)
9830Solution: Remove the Unicode range 0xe000 - 0xefff from digraphs, these are
9831 not valid characters.
9832Files: src/digraph.c
9833
9834Patch 7.2.415
9835Problem: Win32: Can't open a remote file when starting Vim.
9836Solution: Don't invoke cygwin_conv_path() for URLs. (Tomoya Adachi)
9837Files: src/main.c
9838
9839Patch 7.2.416
9840Problem: Logtalk.dict is not installed.
9841Solution: Add it to the install target. (Markus Heidelberg)
9842Files: src/Makefile
9843
9844Patch 7.2.417
9845Problem: When 'shell' has an argument with a slash then 'shellpipe' is not
9846 set properly. (Britton Kerin)
9847Solution: Assume there are no spaces in the path, arguments follow.
9848Files: src/option.c
9849
9850Patch 7.2.418
9851Problem: Vim tries to set the background or foreground color in a terminal
9852 to -1. (Graywh) Happens with ":hi Normal ctermbg=NONE".
9853Solution: When resetting the foreground or background color don't set the
9854 color, let the clear screen code do that.
9855Files: src/syntax.c
9856
9857Patch 7.2.419
9858Problem: Memory leak in Motif when clicking on "Search Vim Help".
9859Solution: Free string returned by XmTextGetString(). (Dominique Pelle)
9860Files: src/gui_motif.c
9861
9862Patch 7.2.420
9863Problem: ":argedit" does not accept "++enc=utf8" as documented. (Dominique
9864 Pelle)
9865Solution: Add the ARGOPT flag to ":argedit".
9866Files: src/ex_cmds.h
9867
9868Patch 7.2.421
9869Problem: Folds are sometimes not updated properly and there is no way to
9870 force an update.
9871Solution: Make "zx" and "zX" recompute folds (suggested by Christian
9872 Brabandt)
9873Files: src/normal.c
9874
9875Patch 7.2.422
9876Problem: May get E763 when using spell dictionaries.
9877Solution: Avoid utf-8 case folded character to be truncated to 8 bits and
9878 differ from latin1. (Dominique Pelle)
9879Files: src/spell.c
9880
9881Patch 7.2.423
9882Problem: Crash when assigning s: to variable. (Yukihiro Nakadaira)
9883Solution: Make ga_scripts contain pointer to scriptvar_T instead of
9884 scriptvar_T itself. (Dominique Pelle)
9885Files: src/eval.c
9886
9887Patch 7.2.424
9888Problem: ":colorscheme" without an argument doesn't do anything.
9889Solution: Make it echo the current color scheme name. (partly by Christian
9890 Brabandt)
9891Files: runtime/doc/syntax.txt, src/ex_cmds.h, src/ex_docmd.c
9892
9893Patch 7.2.425
9894Problem: Some compilers complain about fourth EX() argument.
9895Solution: Add cast to long_u.
9896Files: src/ex_cmds.h
9897
9898Patch 7.2.426
9899Problem: Commas in 'langmap' are not always handled correctly.
9900Solution: Require commas to be backslash escaped. (James Vega)
9901Files: src/option.c
9902
9903Patch 7.2.427
9904Problem: The swapfile is created using the destination of a symlink, but
9905 recovery doesn't follow symlinks.
9906Solution: When recovering, resolve symlinks. (James Vega)
9907Files: src/memline.c
9908
9909Patch 7.2.428
9910Problem: Using setqflist([]) to clear the error list doesn't work properly.
9911Solution: Set qf_nonevalid to TRUE when appropriate. (Christian Brabandt)
9912Files: src/quickfix.c
9913
9914Patch 7.2.429
9915Problem: A file that exists but access is denied may result in a "new file"
9916 message. E.g. when its directory is unreadable.
9917Solution: Specifically check for ENOENT to decide a file doesn't exist.
9918 (partly by James Vega)
9919Files: src/fileio.c
9920
9921Patch 7.2.430
9922Problem: The ++bad argument is handled wrong, resulting in an invalid
9923 memory access.
9924Solution: Use the bad_char field only for the replacement character, add
9925 bad_char_idx to store the position. (Dominique Pelle)
9926Files: src/eval.c, src/ex_cmds.h, src/ex_docmd.c
9927
9928Patch 7.2.431
9929Problem: ":amenu" moves the cursor when in Insert mode.
9930Solution: Use CTRL-\ CTRL-O instead of CTRL-O. (Christian Brabandt)
9931Files: src/menu.c
9932
9933Patch 7.2.432
9934Problem: When menus are translated they can only be found by the translated
9935 name. That makes ":emenu" difficult to use.
9936Solution: Store the untranslated name and use it for completion and :emenu.
9937 (Liang Peng (Bezetek James), Edward L. Fox)
9938Files: src/menu.c, src/structs.h
9939
9940Patch 7.2.433
9941Problem: Can't use cscope with QuickFixCmdPre and QuickFixCmdPost.
9942Solution: Add cscope support for these autocmd events. (Bryan Venteicher)
9943Files: runtime/doc/autocmd.txt, src/if_cscope.c
9944
9945Patch 7.2.434 (after 7.2.432)
9946Problem: Compilation fails without the multi-lang feature.
Bram Moolenaar8d9b40e2010-07-25 15:49:07 +02009947Solution: Add #ifdefs. (John Marriott)
Bram Moolenaar6df6f472010-07-18 18:04:50 +02009948Files: src/menu.c
9949
9950Patch 7.2.435 (after 7.2.430)
9951Problem: Crash when using bad_char_idx uninitialized. (Patrick Texier)
9952Solution: Don't use bad_char_idx, reproduce the ++bad argument from bad_char.
9953Files: src/eval.c, src/ex_cmds.h, src/ex_docmd.c
9954
9955Patch 7.2.436
9956Problem: Reproducible crash in syntax HL. (George Reilly, Dominique Pelle)
9957Solution: Make sst_stacksize an int instead of short. (Dominique Pelle)
9958Files: src/structs.h
9959
9960Patch 7.2.437 (after 7.2.407)
9961Problem: When "\\\n" appears in the expression result the \n doesn't result
9962 in a line break. (Andy Wokula)
9963Solution: Also replace a \n after a backslash into \r.
9964Files: src/regexp.c
9965
9966Patch 7.2.438 (after 7.2.427)
9967Problem: "vim -r" crashes.
9968Solution: Don't use NULL pointer argument.
9969Files: src/memline.c
9970
9971Patch 7.2.439
9972Problem: Invalid memory access when doing thesaurus completion and
9973 'infercase' is set.
9974Solution: Use the minimal length of completed word and replacement.
9975 (Dominique Pelle)
9976Files: src/edit.c
9977
9978Patch 7.2.440
9979Problem: Calling a function through a funcref, where the function deletes
9980 the funcref, leads to an invalid memory access.
9981Solution: Make a copy of the function name. (Lech Lorens)
9982Files: src/eval.c, src/testdir/test34.in, src/testdir/test34.ok
9983
9984Patch 7.2.441
9985Problem: When using ":earlier" undo information may be wrong.
9986Solution: When changing alternate branches also adjust b_u_oldhead.
9987Files: src/undo.c
9988
9989Patch 7.2.442 (after 7.2.201)
9990Problem: Copy/paste with OpenOffice doesn't work.
9991Solution: Do not offer the HTML target when it is not supported. (James
9992 Vega)
9993Files: src/gui_gtk_x11.c, src/option.c, src/proto/gui_gtk_x11.pro
9994
9995Patch 7.2.443
9996Problem: Using taglist() on a tag file with duplicate fields generates an
9997 internal error. (Peter Odding)
9998Solution: Check for duplicate field names.
9999Files: src/eval.c, src/proto/eval.pro, src/tag.c
10000
10001Patch 7.2.444 (after 7.2.442)
10002Problem: Can't build with GTK 1, gtk_selection_clear_targets() is not
10003 available. (Patrick Texier)
10004Solution: Don't change the targets for GTK 1, set them once.
10005Files: src/gui_gtk_x11.c, src/option.c
10006
10007Patch 7.2.445
10008Problem: Crash when using undo/redo and a FileChangedRO autocmd event that
10009 reloads the buffer. (Dominique Pelle)
10010Solution: Do not allow autocommands while performing and undo or redo.
10011Files: src/misc1.c, src/undo.c
10012
10013Patch 7.2.446
10014Problem: Crash in GUI when closing the last window in a tabpage. (ryo7000)
10015Solution: Remove the tabpage from the list before freeing the window.
10016Files: src/window.c
10017
Bram Moolenaar7a329912010-05-21 12:05:36 +020010018When writing a file, switching tab pages and selecting a word the file write
Bram Moolenaar6df6f472010-07-18 18:04:50 +020010019message would be displayed again. This happened in Insert mode and with
10020'cmdheight' set to 2.
Bram Moolenaar7a329912010-05-21 12:05:36 +020010021
10022When using ":lang" to set a locale that uses a comma for decimal separator and
10023using GTK floating point numbers stop working. Use gtk_disable_setlocale().
10024(James Vega)
Bram Moolenaar00a927d2010-05-14 23:24:24 +020010025
Bram Moolenaarb382ad12010-05-21 15:46:35 +020010026"g8" didn't produce the right value on a NUL. (Dominique Pelle)
10027
Bram Moolenaar06b5d512010-05-22 15:37:44 +020010028Use BASEMODLIBS instead of MODLIBS for Python configuration to pick up the
10029right compiler flags. (Michael Bienia)
10030
Bram Moolenaar6df6f472010-07-18 18:04:50 +020010031Window title was not updated after dropping a file on Vim. (Hari G)
Bram Moolenaarab8205e2010-07-07 15:14:03 +020010032
Bram Moolenaar0bc380a2010-07-10 13:52:13 +020010033synstack() did not return anything when just past the end of the line. Useful
10034when using the cursor position in Insert mode.
10035
Bram Moolenaar6df6f472010-07-18 18:04:50 +020010036When entering a digraph or special character after a line that fits the window
10037the '?' or '^' on the next line is not redrawn. (Ian Kelling)
10038
10039Composing characters in |:s| substitute text were dropped.
10040
10041|exists()| was causing an autoload script to be loaded.
10042
10043Filter out -pthread for cproto.
10044
10045Make CTRL-L in command line mode respect 'ignorecase' and 'smartcase'. (Martin
10046Toft)
10047
10048Spell menu moved the cursor, causing Copy not to work. Spell replacement
10049didn't work in 'compatible' mode.
10050
10051Various small fixes from Dominique Pelle.
10052
10053Fix that :mksession may generate "2argu" even though there is no such
10054argument. (Peter Odding)
10055
10056Fixes for time in clipboard request. Also fix ownership. (David Fries)
10057
10058Fixed completion of file names with '%' and '*'.
10059
10060Fixed MSVC makefile use of /Wp64 flag.
10061
10062Correct use of long instead of off_t for file size. (James Vega)
10063
Bram Moolenaarfcb7ab62010-07-20 11:16:17 +020010064Add a few #ifdefs to exclude functions that are not used. (Dominique Pelle)
Bram Moolenaar6df6f472010-07-18 18:04:50 +020010065
10066Remove old and unused method to allocate memory for undo.
10067
10068Fix definition of UINT_PTR for 64 bit systems.
10069
10070Some versions of Ruby redefine rb_str_new2 to rb_str_new_cstr.
10071
10072Window title not updated after file dropped.
10073
Bram Moolenaar49771f42010-07-20 17:32:38 +020010074Fixed crash for ":find" completion, might also happen in other path expansion
10075usage.
10076
Bram Moolenaar8d9b40e2010-07-25 15:49:07 +020010077When 'searchhl' causes a hang make CTRL-C disable 'searchhl'.
Bram Moolenaar49771f42010-07-20 17:32:38 +020010078
Bram Moolenaar6fc45b52010-07-25 17:42:45 +020010079When resetting both 'title' and 'icon' the title would be set after a shell
10080command.
10081
10082Reset 'title' and 'icon' in test47 to avoid the xterm title getting messed up.
10083
10084Fix for compiler warning about function prototype in pty.c.
10085
10086Added 'window' to the options window.
10087
10088Fixed: errors for allocating zero bytes when profiling an empty function.
10089
10090Remove -arch flag from build flags for Perl. (Bjorn Wickler)
10091
10092Fix 'autochdir' not showing up in :options window. (Dominique Pelle)
10093
Bram Moolenaar44886d92010-08-01 19:06:10 +020010094Fix: test 69 didn't work on MS-Windows. Test 72 beeped too often.
10095
10096Avoid illegal memory access in spell suggestion. (Dominique Pelle)
10097Fix: crash in spell checking with a 0x300 character.
10098
10099Avoid that running tests changes viminfo.
10100
10101Fix: changing case of a character removed combining characters.
10102Fixed: CTRL-R in Insert mode doesn't insert composing characters.
10103
10104Added the WOW64 flag to OLE registration, for 64 bit Windows systems.
10105
10106Various fixes for coverity warnings.
10107
10108Fix compile warnings, esp. for 64-bit systems. (Mike Williams)
10109
10110Fix: :redir to a dictionary that is changed before ":redir END" causes a
10111memory access error.
10112
10113Fix: terminal title not properly restored when there are multi-byte
10114characters. (partly by James Vega)
Bram Moolenaar6fc45b52010-07-25 17:42:45 +020010115
Bram Moolenaar1affd722010-08-04 17:49:30 +020010116Set 'wrapscan' when checking the .po files. (Mike Williams)
10117
10118Win32: Put quotes around the gvim.exe path for the "Open with" menu entry.
10119
Bram Moolenaar5eba45c2010-08-08 21:15:53 +020010120On MS-Windows sometimes files with number 4913 or higher are left behind.
10121
10122'suffixesadd' was used for finding tags file.
10123
10124Removed unused code.
10125
10126Improved positioning of combining characters in GTK.
10127
10128Made test 11 pass when there is no gzip program. (John Beckett)
10129
10130Changed readfile() to ignore byte order marks, unless in binary mode.
10131
10132On MS-Windows completion of shell commands didn't work.
10133
10134An unprintable multi-byte character at the start of the screen line caused the
10135following text to be drawn at the wrong position.
10136
10137Got ml_get errors when using undo with 'virtualedit'.
10138
10139Call gui_mch_update() before triggering GuiEnter autocmd. (Ron Aaron)
10140
10141Unix "make install" installed a few Amiga .info files.
10142
10143Disallow setting 'ambiwidth' to "double" when 'listchars' or 'fillchars'
10144contains a character that would become double width.
10145
10146Set 'wrapscan' when checking the .po files. (Mike Williams)
10147
Bram Moolenaarbfc8b972010-08-13 22:05:54 +020010148Fixed: using expression in command line may cause a crash.
10149
10150Avoid warnings from the clang compiler. (Dominique Pelle)
10151
10152Fix: Include wchar.h in charset.c for towupper().
10153
Bram Moolenaar755bd262010-08-14 17:46:20 +020010154Fixed: Using ":read file" in an empty buffer when 'compatible' is set caused
Bram Moolenaarabf39e82010-08-14 21:57:32 +020010155an error. Was caused by patch 7.2.132.
Bram Moolenaar755bd262010-08-14 17:46:20 +020010156
Bram Moolenaar7f036442010-08-15 15:24:20 +020010157Make the references to features in the help more consistent. (Sylvain Hitier)
10158
Bram Moolenaar913df812013-07-06 15:44:11 +020010159==============================================================================
10160VERSION 7.4 *version-7.4* *version7.4*
10161
10162This section is about improvements made between version 7.3 and 7.4.
10163
10164This release has hundreds of bug fixes and there are a few new features. The
10165most notable new features are:
10166
Bram Moolenaar9ba7e172013-07-17 22:37:26 +020010167- New regexp engine |new-regexp-engine|
10168- A more pythonic Python interface |better-python-interface|
10169
Bram Moolenaar913df812013-07-06 15:44:11 +020010170
10171New regexp engine *new-regexp-engine*
10172-----------------
10173
10174What is now called the "old" regexp engine uses a backtracking algorithm. It
10175tries to match the pattern with the text in one way, and when that fails it
10176goes back and tries another way. This works fine for simple patterns, but
10177complex patterns can be very slow on longer text.
10178
10179The new engine uses a state machine. It tries all possible alternatives at
10180the current character and stores the possible states of the pattern. This is
10181a bit slower for simple patterns, but much faster for complex patterns and
10182long text.
10183
10184Most notably, syntax highlighting for Javascript and XML files with long lines
10185is now working fine. Previously Vim could get stuck.
10186
10187More information here: |two-engines|
10188
10189
Bram Moolenaar9ba7e172013-07-17 22:37:26 +020010190Better Python interface *better-python-interface*
10191-----------------------
10192
10193Added |python-bindeval| function. Unlike |python-eval| this one returns
10194|python-Dictionary|, |python-List| and |python-Function| objects for
Bram Moolenaare2db6952013-07-24 19:53:36 +020010195dictionaries lists and functions respectively in place of their Python
Bram Moolenaar9ba7e172013-07-17 22:37:26 +020010196built-in equivalents (or None if we are talking about function references).
Bram Moolenaare2db6952013-07-24 19:53:36 +020010197 For simple types this function returns Python built-in types and not only
10198Python `str()` like |python-eval| does. On Python 3 it will return `bytes()`
Bram Moolenaar9ba7e172013-07-17 22:37:26 +020010199objects in place of `str()` ones avoiding possibility of UnicodeDecodeError.
Bram Moolenaare2db6952013-07-24 19:53:36 +020010200 Interface of new objects mimics standard Python `dict()` and `list()`
Bram Moolenaar9ba7e172013-07-17 22:37:26 +020010201interfaces to some extent. Extent will be improved in the future.
10202
10203Added special |python-vars| objects also available for |python-buffer| and
Bram Moolenaare2db6952013-07-24 19:53:36 +020010204|python-window|. They ease access to VimL variables from Python.
Bram Moolenaar9ba7e172013-07-17 22:37:26 +020010205
10206Now you no longer need to alter `sys.path` to import your module: special
10207hooks are responsible for importing from {rtp}/python2, {rtp}/python3 and
Bram Moolenaare2db6952013-07-24 19:53:36 +020010208{rtp}/pythonx directories (for Python 2, Python 3 and both respectively).
Bram Moolenaar9ba7e172013-07-17 22:37:26 +020010209See |python-special-path|.
10210
10211Added possibility to work with |tabpage|s through |python-tabpage| object.
10212
Bram Moolenaare2db6952013-07-24 19:53:36 +020010213Added automatic conversion of Vim errors and exceptions to Python
Bram Moolenaar9ba7e172013-07-17 22:37:26 +020010214exceptions.
10215
Bram Moolenaare2db6952013-07-24 19:53:36 +020010216Changed the behavior of the |python-buffers| object: it now uses buffer numbers
Bram Moolenaar9ba7e172013-07-17 22:37:26 +020010217as keys in place of the index of the buffer in the internal buffer list.
10218This should not break anything as the only way to get this index was
10219iterating over |python-buffers|.
10220
10221Added |:pydo| and |:py3do| commands.
10222
Bram Moolenaare2db6952013-07-24 19:53:36 +020010223Added the |pyeval()| and |py3eval()| functions.
Bram Moolenaar9ba7e172013-07-17 22:37:26 +020010224
Bram Moolenaare2db6952013-07-24 19:53:36 +020010225Now in all places which previously accepted `str()` objects, `str()` and
10226`unicode()` (Python 2) or `bytes()` and `str()` (Python 3) are accepted.
Bram Moolenaar9ba7e172013-07-17 22:37:26 +020010227
10228|python-window| has gained `.col` and `.row` attributes that are currently
10229the only way to get internal window positions.
10230
Bram Moolenaare2db6952013-07-24 19:53:36 +020010231Added or fixed support for `dir()` in Vim Python objects.
Bram Moolenaar9ba7e172013-07-17 22:37:26 +020010232
10233
Bram Moolenaar913df812013-07-06 15:44:11 +020010234Changed *changed-7.4*
10235-------
10236
Bram Moolenaare2db6952013-07-24 19:53:36 +020010237Old Python versions (≤2.2) are no longer supported. Building with them did
10238not work anyway.
10239
10240Options:
10241 Added ability to automatically save the selection into the system
10242 clipboard when using non-GUI version of Vim (autoselectplus in
10243 'clipboard'). Also added ability to use the system clipboard as
10244 default register (previously only primary selection could be used).
10245 (Ivan Krasilnikov, Christian Brabandt, Bram Moolenaar)
10246
10247 Added a special 'shiftwidth' value that makes 'sw' follow 'tabstop'.
10248 As indenting via 'indentexpr' became tricky |shiftwidth()| function
10249 was added. Also added equivalent special value to 'softtabstop'
10250 option. (Christian Brabandt, so8res)
10251
10252 Show absolute number in number column when 'relativenumber' option is
10253 on. Now there are four combinations with 'number' and
10254 'relativenumber'. (Christian Brabandt)
10255
10256Commands:
10257 |:diffoff| now saves the local values of some settings and restores
10258 them in place of blindly resetting them to the defaults. (Christian
10259 Brabandt)
10260
10261Other:
10262 Lua interface now also uses userdata binded to Vim structures. (Taro
10263 Muraoka, Luis Carvalho)
10264
Bram Moolenaar9d98fe92013-08-03 18:35:36 +020010265 glob() and autocommand patterns used to work with the undocumented
10266 "\{n,m\}" item from a regexp. "\{" is now used for a literal "{", as
10267 this is normal in shell file patterns. Now used "\\\{n,m\}" to get
10268 "\{n,m}" in the regexp pattern.
10269
Bram Moolenaare2db6952013-07-24 19:53:36 +020010270Added *added-7.4*
10271-----
10272
10273Various syntax, indent and other plugins were added.
10274
10275Added support for |Lists| and |Dictionaries| in |viminfo|. (Christian
10276Brabandt)
10277
Bram Moolenaar9ba7e172013-07-17 22:37:26 +020010278Functions:
Bram Moolenaare2db6952013-07-24 19:53:36 +020010279 Bitwise functions: |and()|, |or()|, |invert()|, |xor()|.
10280
10281 Added |luaeval()| function. (Taro Muraoka, Luis Carvalho)
10282
10283 Added |sha256()| function. (Tyru, Hirohito Higashi)
10284
10285 Added |wildmenumode()| function. (Christian Brabandt)
10286
10287 Debugging functions: |screenattr()|, |screenchar()|, |screencol()|,
10288 |screenrow()|. (Simon Ruderich, Bram Moolenaar)
10289
Bram Moolenaar9ba7e172013-07-17 22:37:26 +020010290 Added ability to use |Dictionary-function|s for |sort()|ing, via
10291 optional third argument. (Nikolay Pavlov)
Bram Moolenaar913df812013-07-06 15:44:11 +020010292
Bram Moolenaar9ba7e172013-07-17 22:37:26 +020010293 Added special |expand()| argument that expands to the current line
10294 number.
10295
Bram Moolenaar7cba6c02013-09-05 22:13:31 +020010296 Made it possible to force |char2nr()| to always give unicode codepoints
Bram Moolenaar9ba7e172013-07-17 22:37:26 +020010297 regardless of current encoding. (Yasuhiro Matsumoto)
10298
10299 Made it possible for functions generating file list generate |List|
10300 and not NL-separated string. (e.g. |glob()|, |expand()|) (Christian
10301 Brabandt)
10302
10303 Functions that obtain variables from the specific window, tabpage or
10304 buffer scope dictionary can now return specified default value in
10305 place of empty string in case variable is not found. (|gettabvar()|,
10306 |getwinvar()|, |getbufvar()|) (Shougo Matsushita, Hirohito Higashi)
10307
Bram Moolenaare2db6952013-07-24 19:53:36 +020010308Autocommands:
10309 Added |InsertCharPre| event launched before inserting character.
10310 (Jakson A. Aquino)
Bram Moolenaar9ba7e172013-07-17 22:37:26 +020010311
Bram Moolenaare2db6952013-07-24 19:53:36 +020010312 Added |CompleteDone| event launched after finishing completion in
10313 insert mode. (idea by Florian Klein)
10314
10315 Added |QuitPre| event launched when commands that can either close Vim
10316 or only some window(s) are launched.
10317
10318 Added |TextChanged| and |TextChangedI| events launched when text is
10319 changed.
10320
10321Commands:
10322 |:syntime| command useful for debugging.
10323
10324 Made it possible to remove all signs from the current buffer using
10325 |:sign-unplace|. (Christian Brabandt)
10326
10327 Added |:language| autocompletion. (Dominique Pelle)
10328
10329 Added more |:command-complete| completion types: |:behave| suboptions,
10330 color schemes, compilers, |:cscope| suboptions, files from 'path',
10331 |:history| suboptions, locale names, |:syntime| suboptions, user
10332 names. (Dominique Pelle)
10333
10334 Added |:map-nowait| creating mapping which when having lhs that is the
10335 prefix of another mapping’s lhs will not allow Vim to wait for user to
10336 type more characters to resolve ambiguity, forcing Vim to take the
10337 shorter alternative: one with <nowait>.
10338
10339Options:
10340 Made it possible to ignore case when completing: 'wildignorecase'.
Bram Moolenaar9ba7e172013-07-17 22:37:26 +020010341
10342 Added ability to delete comment leader when using |J| by `j` flag in
10343 'formatoptions' (|fo-table|). (Lech Lorens)
10344
10345 Added ability to control indentation inside namespaces: |cino-N|.
10346 (Konstantin Lepa)
10347
10348 Added ability to control alignment inside `if` condition separately
10349 from alignment inside function arguments: |cino-k|. (Lech Lorens)
10350
Bram Moolenaar9ba7e172013-07-17 22:37:26 +020010351Other:
10352 Improved support for cmd.exe. (Ben Fritz, Bram Moolenaar)
10353
10354 Added |v:windowid| variable containing current window number in GUI
Bram Moolenaare2db6952013-07-24 19:53:36 +020010355 Vim. (Christian J. Robinson, Lech Lorens)
Bram Moolenaar9ba7e172013-07-17 22:37:26 +020010356
Bram Moolenaar9d98fe92013-08-03 18:35:36 +020010357 Added rxvt-unicode and SGR mouse support. (Yiding Jia, Hayaki Saito)
Bram Moolenaar913df812013-07-06 15:44:11 +020010358
Bram Moolenaar913df812013-07-06 15:44:11 +020010359
Bram Moolenaare2db6952013-07-24 19:53:36 +020010360All changes in 7.4 *fixed-7.4*
10361------------------
Bram Moolenaar913df812013-07-06 15:44:11 +020010362
10363Patch 7.3.001
10364Problem: When editing "src/main.c" and 'path' set to "./proto",
10365 ":find e<C-D" shows ./proto/eval.pro instead of eval.pro.
10366Solution: Check for path separator when comparing names. (Nazri Ramliy)
10367Files: src/misc1.c
10368
10369Patch 7.3.002
10370Problem: ":find" completion doesn't work when halfway an environment
10371 variable. (Dominique Pelle)
10372Solution: Only use in-path completion when expanding file names. (Nazri
10373 Ramliy)
10374Files: src/ex_docmd.c
10375
10376Patch 7.3.003
10377Problem: Crash with specific BufWritePost autocmd. (Peter Odding)
10378Solution: Don't free the quickfix title twice. (Lech Lorens)
10379Files: src/quickfix.c
10380
10381Patch 7.3.004
10382Problem: Crash when using very long regexp. (Peter Odding)
10383Solution: Reset reg_toolong. (Carlo Teubner)
10384Files: src/regexp.c
10385
10386Patch 7.3.005
10387Problem: Crash when using undotree(). (Christian Brabandt)
10388Solution: Increase the list reference count. Add a test for undotree()
10389 (Lech Lorens)
10390Files: src/eval.c, src/testdir/Makefile, src/testdir/test61.in
10391
10392Patch 7.3.006
10393Problem: Can't build some multi-byte code with C89.
10394Solution: Move code to after declarations. (Joachim Schmitz)
10395Files: src/mbyte.c, src/spell.c
10396
10397Patch 7.3.007
10398Problem: Python code defines global "buffer". Re-implements a grow-array.
10399Solution: Use a grow-array instead of coding the same functionality. Handle
10400 out-of-memory situation properly.
10401Files: src/if_py_both.h
10402
10403Patch 7.3.008
10404Problem: 'cursorbind' is kept in places where 'scrollbind' is reset.
10405Solution: Reset 'cursorbind'.
10406Files: src/buffer.c, src/diff.c, src/ex_cmds.c, src/ex_cmds2.c,
10407 src/ex_docmd.c, src/ex_getln.c, src/if_cscope.c, src/macros.h,
10408 src/quickfix.c, src/search.c, src/tag.c, src/window.c
10409
10410Patch 7.3.009
10411Problem: Win32: Crash on Windows when using a bad argument for strftime().
10412 (Christian Brabandt)
10413Solution: Use the bad_param_handler(). (Mike Williams)
10414Files: src/os_win32.c
10415
10416Patch 7.3.010
10417Problem: Mac GUI: Missing break statements.
10418Solution: Add the break statements. (Dominique Pelle)
10419Files: src/gui_mac.c
10420
10421Patch 7.3.011
10422Problem: X11 clipboard doesn't work in Athena/Motif GUI. First selection
10423 after a shell command doesn't work.
10424Solution: When using the GUI use XtLastTimestampProcessed() instead of
10425 changing a property. (partly by Toni Ronkko)
10426 When executing a shell command disown the selection.
10427Files: src/ui.c, src/os_unix.c
10428
10429Patch 7.3.012
10430Problem: Problems building with MingW.
10431Solution: Adjust the MingW makefiles. (Jon Maken)
10432Files: src/Make_ming.mak, src/GvimExt/Make_ming.mak
10433
10434Patch 7.3.013
10435Problem: Dynamic loading with Ruby doesn't work for 1.9.2.
10436Solution: Handle rb_str2cstr differently. Also support dynamic loading on
10437 Unix. (Jon Maken)
10438Files: src/if_ruby.c
10439
10440Patch 7.3.014
10441Problem: Ending a line in a backslash inside an ":append" or ":insert"
10442 command in Ex mode doesn't work properly. (Ray Frush)
10443Solution: Halve the number of backslashes, only insert a NUL after an odd
10444 number of backslashes.
10445Files: src/ex_getln.c
10446
10447Patch 7.3.015
10448Problem: Test is using error message that no longer exists.
10449Solution: Change E106 to E121. (Dominique Pelle)
10450Files: src/testdir/test49.vim
10451
10452Patch 7.3.016
10453Problem: Netbeans doesn't work under Athena.
10454Solution: Support Athena, just like Motif. (Xavier de Gaye)
10455Files: runtime/doc/netbeans.txt, src/gui.c, src/main.c, src/netbeans.c
10456
10457Patch 7.3.017
10458Problem: smatch reports errors.
10459Solution: Fix the reported errors. (Dominique Pelle)
10460Files: src/spell.c, src/syntax.c
10461
10462Patch 7.3.018 (after 7.3.012)
10463Problem: Missing argument to windres in MingW makefiles.
10464Solution: Add the argument that was wrapped in the patch. (Jon Maken)
10465Files: src/Make_ming.mak, src/GvimExt/Make_ming.mak
10466
10467Patch 7.3.019
10468Problem: ":nbstart" can fail silently.
10469Solution: Give an error when netbeans is not supported by the GUI. (Xavier
10470 de Gaye)
10471Files: src/netbeans.c
10472
10473Patch 7.3.020
10474Problem: Cursor position wrong when joining multiple lines and
10475 'formatoptions' contains "a". (Moshe Kamensky)
10476Solution: Adjust cursor position for skipped indent. (Carlo Teubner)
10477Files: src/ops.c, src/testdir/test68.in, src/testdir/test68.ok
10478
10479Patch 7.3.021
10480Problem: Conflict for defining Boolean in Mac header files.
10481Solution: Define NO_X11_INCLUDES. (Rainer Muller)
10482Files: src/os_macosx.m, src/vim.h
10483
10484Patch 7.3.022
10485Problem: When opening a new window the 'spellcapcheck' option is cleared.
10486Solution: Copy the correct option value. (Christian Brabandt)
10487Files: src/option.c
10488
10489Patch 7.3.023
10490Problem: External program may hang when it tries to write to the tty.
10491Solution: Don't close the slave tty until after the child exits. (Nikola
10492 Knezevic)
10493Files: src/os_unix.c
10494
10495Patch 7.3.024
10496Problem: Named signs do not use a negative number as intended.
10497Solution: Fix the numbering of named signs. (Xavier de Gaye)
10498Files: src/ex_cmds.c
10499
10500Patch 7.3.025
10501Problem: ":mksession" does not square brackets escape file name properly.
Bram Moolenaardd007ed2013-07-09 15:44:17 +020010502Solution: Improve escaping of file names. (partly by Peter Odding)
Bram Moolenaar913df812013-07-06 15:44:11 +020010503Files: src/ex_docmd.c
10504
10505Patch 7.3.026
10506Problem: CTRL-] in a help file doesn't always work. (Tony Mechelynck)
10507Solution: Don't escape special characters. (Carlo Teubner)
10508Files: src/normal.c
10509
10510Patch 7.3.027
10511Problem: Opening a file on a network share is very slow.
10512Solution: When fixing file name case append "\*" to directory, server and
10513 network share names. (David Anderson, John Beckett)
10514Files: src/os_win32.c
10515
10516Patch 7.3.028 (after 7.3.024)
10517Problem: Signs don't show up. (Charles Campbell)
10518Solution: Don't use negative numbers. Also assign a number to signs that
10519 have a name of all digits to avoid using a sign number twice.
10520Files: src/ex_cmds.c
10521
10522Patch 7.3.029
10523Problem: ":sort n" sorts lines without a number as number zero. (Beeyawned)
10524Solution: Make lines without a number sort before lines with a number. Also
10525 fix sorting negative numbers.
10526Files: src/ex_cmds.c, src/testdir/test57.in, src/testdir/test57.ok
10527
10528Patch 7.3.030
10529Problem: Cannot store Dict and List in viminfo file.
10530Solution: Add support for this. (Christian Brabandt)
10531Files: runtime/doc/options.txt, src/eval.c, src/testdir/Make_amiga.mak,
10532 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
10533 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms,
10534 src/testdir/Makefile, src/testdir/main.aap, src/testdir/test74.in,
10535 src/testdir/test74.ok
10536
10537Patch 7.3.031
10538Problem: Can't pass the X window ID to another application.
10539Solution: Add v:windowid. (Christian J. Robinson, Lech Lorens)
10540Files: runtime/doc/eval.txt, src/eval.c, src/gui.c, src/vim.h,
10541 src/os_unix.c
10542
10543Patch 7.3.032
10544Problem: maparg() doesn't return the flags, such as <buffer>, <script>,
10545 <silent>. These are needed to save and restore a mapping.
10546Solution: Improve maparg(). (also by Christian Brabandt)
10547Files: runtime/doc/eval.txt, src/eval.c, src/getchar.c, src/gui_w48.c,
10548 src/message.c, src/proto/getchar.pro, src/proto/message.pro,
10549 src/structs.h src/testdir/test75.in, src/testdir/test75.ok
10550
10551Patch 7.3.033 (after 7.3.032)
10552Problem: Can't build without FEAT_LOCALMAP.
10553Solution: Add an #ifdef. (John Marriott)
10554Files: src/getchar.c
10555
10556Patch 7.3.034
10557Problem: Win32: may be loading .dll from the wrong directory.
10558Solution: Go to the Vim executable directory when opening a library.
10559Files: src/gui_w32.c, src/if_lua.c, src/if_mzsch.c, src/if_perl.xs,
10560 src/if_python.c, src/if_python3.c, src/if_ruby.c, src/mbyte.c,
10561 src/os_mswin.c, src/os_win32.c, src/proto/os_win32.pro
10562
10563Patch 7.3.035 (after 7.3.034)
10564Problem: Stray semicolon after if statement. (Hari G)
10565Solution: Remove the semicolon.
10566Files: src/os_win32.c
10567
10568Patch 7.3.036
10569Problem: Win32 GUI: When building without menus, the font for dialogs and
10570 tab page headers also changes.
10571Solution: Define USE_SYSMENU_FONT always. (Harig G.)
10572Files: src/gui_w32.c
10573
10574Patch 7.3.037
10575Problem: Compiler warnings for loss of data. (Mike Williams)
10576Solution: Add type casts.
10577Files: src/if_py_both.h, src/getchar.c, src/os_win32.c
10578
10579Patch 7.3.038
10580Problem: v:windowid isn't set on MS-Windows.
10581Solution: Set it to the window handle. (Chris Sutcliffe)
10582Files: runtime/doc/eval.txt, src/gui_w32.c
10583
10584Patch 7.3.039
10585Problem: Crash when using skk.vim plugin.
10586Solution: Get length of expression evaluation result only after checking for
10587 NULL. (Noriaki Yagi, Dominique Pelle)
10588Files: src/ex_getln.c
10589
10590Patch 7.3.040
10591Problem: Comparing strings while ignoring case goes beyond end of the
10592 string when there are illegal bytes. (Dominique Pelle)
10593Solution: Explicitly check for illegal bytes.
10594Files: src/mbyte.c
10595
10596Patch 7.3.041
10597Problem: Compiler warning for accessing mediumVersion. (Tony Mechelynck)
10598Solution: Use the pointer instead of the array itself. (Dominique Pelle)
10599Files: src/version.c
10600
10601Patch 7.3.042
10602Problem: No spell highlighting when re-using an empty buffer.
10603Solution: Clear the spell checking info only when clearing the options for a
10604 buffer. (James Vega)
10605Files: src/buffer.c
10606
10607Patch 7.3.043
10608Problem: Can't load Ruby dynamically on Unix.
10609Solution: Adjust the configure script. (James Vega)
10610Files: src/Makefile, src/config.h.in, src/configure.in,
10611 src/auto/configure, src/if_ruby.c
10612
10613Patch 7.3.044
10614Problem: The preview window opened by the popup menu is larger than
10615 specified with 'previewheight'. (Benjamin Haskell)
10616Solution: Use 'previewheight' if it's set and smaller.
10617Files: src/popupmnu.c
10618
10619Patch 7.3.045
10620Problem: Compiler warning for uninitialized variable.
10621Solution: Initialize the variable always.
10622Files: src/getchar.c
10623
10624Patch 7.3.046 (after 7.3.043)
10625Problem: Can't build Ruby on MS-Windows.
10626Solution: Add #ifdef, don't use WIN3264 before including vim.h.
10627Files: src/if_ruby.c
10628
10629Patch 7.3.047 (after 7.3.032)
10630Problem: Missing makefile updates for test 75.
10631Solution: Update the makefiles.
10632Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
10633 src/testdir/Makefile, src/testdir/Make_ming.mak,
10634 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms
10635
10636Patch 7.3.048
10637Problem: ":earlier 1f" doesn't work after loading undo file.
10638Solution: Set b_u_save_nr_cur when loading an undo file. (Christian
10639 Brabandt)
10640 Fix only showing time in ":undolist"
10641Files: src/undo.c
10642
10643Patch 7.3.049
10644Problem: PLT has rebranded their Scheme to Racket.
10645Solution: Add support for Racket 5.x. (Sergey Khorev)
10646Files: src/Make_cyg.mak, src/Make_ming.mak, src/Make_mvc.mak,
10647 src/auto/configure, src/configure.in, src/if_mzsch.c
10648
10649Patch 7.3.050
10650Problem: The link script is clumsy.
10651Solution: Use the --as-needed linker option if available. (Kirill A.
10652 Shutemov)
10653Files: src/Makefile, src/auto/configure, src/config.mk.in,
10654 src/configure.in, src/link.sh
10655
10656Patch 7.3.051
10657Problem: Crash when $PATH is empty.
10658Solution: Check for vim_getenv() returning NULL. (Yasuhiro Matsumoto)
10659Files: src/ex_getln.c, src/os_win32.c
10660
10661Patch 7.3.052
10662Problem: When 'completefunc' opens a new window all kinds of errors follow.
10663 (Xavier Deguillard)
10664Solution: When 'completefunc' goes to another window or buffer and when it
10665 deletes text abort completion. Add a test for 'completefunc'.
10666Files: src/edit.c, src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
10667 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
10668 src/testdir/Make_vms.mms, src/testdir/Makefile,
10669 src/testdir/test76.in, src/testdir/test76.ok
10670
10671Patch 7.3.053
10672Problem: complete() function doesn't reset complete direction. Can't use
10673 an empty string in the list of matches.
10674Solution: Set compl_direction to FORWARD. Add "empty" key to allow empty
10675 words. (Kikuchan)
10676Files: src/edit.c
10677
10678Patch 7.3.054
10679Problem: Can define a user command for :Print, but it doesn't work. (Aaron
10680 Thoma)
10681Solution: Let user command :Print overrule the builtin command (Christian
10682 Brabandt) Disallow :X and :Next as a user defined command.
10683Files: src/ex_docmd.c
10684
10685Patch 7.3.055
10686Problem: Recursively nested lists and dictionaries cause a near-endless
10687 loop when comparing them with a copy. (ZyX)
10688Solution: Limit recursiveness in a way that non-recursive structures can
10689 still be nested very deep.
10690Files: src/eval.c, src/testdir/test55.in, src/testdir/test55.ok
10691
10692Patch 7.3.056
10693Problem: "getline" argument in do_cmdline() shadows global.
10694Solution: Rename the argument.
10695Files: src/ex_docmd.c
10696
10697Patch 7.3.057
10698Problem: Segfault with command line abbreviation. (Randy Morris)
10699Solution: Don't retrigger the abbreviation when abandoning the command line.
10700 Continue editing the command line after the error.
10701Files: src/ex_getln.c
10702
10703Patch 7.3.058
10704Problem: Error "code converter not found" when loading Ruby script.
10705Solution: Load Gem module. (Yasuhiro Matsumoto)
10706Files: src/if_ruby.c
10707
10708Patch 7.3.059
10709Problem: Netbeans: Problem with recursively handling messages for Athena
10710 and Motif.
10711Solution: Call netbeans_parse_messages() in the main loop, like it's done
10712 for GTK. (Xavier de Gaye)
10713Files: src/gui_x11.c, src/netbeans.c
10714
10715Patch 7.3.060
10716Problem: Netbeans: crash when socket is disconnected unexpectedly.
10717Solution: Don't cleanup when a read fails, put a message in the queue and
10718 disconnect later. (Xavier de Gaye)
10719Files: src/netbeans.c
10720
10721Patch 7.3.061
10722Problem: Remote ":drop" does not respect 'autochdir'. (Peter Odding)
10723Solution: Don't restore the directory when 'autochdir' is set. (Benjamin
10724 Fritz)
10725Files: src/main.c
10726
10727Patch 7.3.062
10728Problem: Python doesn't work properly when installed in another directory
10729 than expected.
10730Solution: Figure out home directory in configure and use Py_SetPythonHome()
10731 at runtime. (Roland Puntaier)
10732Files: src/configure.in, src/auto/configure, src/if_python.c,
10733 src/if_python3.c
10734
10735Patch 7.3.063
10736Problem: Win32: Running a filter command makes Vim lose focus.
10737Solution: Use SW_SHOWMINNOACTIVE instead of SW_SHOWMINIMIZED. (Hong Xu)
10738Files: src/os_win32.c
10739
10740Patch 7.3.064
10741Problem: Win32: ":dis +" shows nothing, but "+p does insert text.
10742Solution: Display the * register, since that's what will be inserted.
10743 (Christian Brabandt)
10744Files: src/globals.h, src/ops.c
10745
10746Patch 7.3.065
10747Problem: Can't get current line number in a source file.
10748Solution: Add the <slnum> item, similar to <sfile>.
10749Files: src/ex_docmd.c
10750
10751Patch 7.3.066
10752Problem: Crash when changing to another window while in a :vimgrep command.
10753 (Christian Brabandt)
10754Solution: When wiping out the dummy before, remove it from aucmd_win.
10755Files: src/quickfix.c
10756
10757Patch 7.3.067 (after 7.3.058)
10758Problem: Ruby: Init_prelude is not always available.
10759Solution: Remove use of Init_prelude. (Yasuhiro Matsumoto)
10760Files: src/if_ruby.c
10761
10762Patch 7.3.068
10763Problem: Using freed memory when doing ":saveas" and an autocommand sets
10764 'autochdir'. (Kevin Klement)
10765Solution: Get the value of fname again after executing autocommands.
10766Files: src/ex_cmds.c
10767
10768Patch 7.3.069
10769Problem: GTK: pressing Enter in inputdialog() doesn't work like clicking OK
10770 as documented.
10771Solution: call gtk_entry_set_activates_default(). (Britton Kerin)
10772Files: src/gui_gtk.c
10773
10774Patch 7.3.070
10775Problem: Can set environment variables in the sandbox, could be abused.
10776Solution: Disallow it.
10777Files: src/eval.c
10778
10779Patch 7.3.071
10780Problem: Editing a file in a window that's in diff mode resets 'diff'
10781 but not cursor binding.
10782Solution: Reset cursor binding in two more places.
10783Files: src/quickfix.c, src/option.c
10784
10785Patch 7.3.072
10786Problem: Can't complete file names while ignoring case.
10787Solution: Add 'wildignorecase'.
10788Files: src/ex_docmd.c, src/ex_getln.c, src/misc1.c, src/option.c,
10789 src/option.h, src/vim.h, src/runtime/options.txt
10790
10791Patch 7.3.073
10792Problem: Double free memory when netbeans command follows DETACH.
10793Solution: Only free the node when owned. (Xavier de Gaye)
10794Files: src/netbeans.c
10795
10796Patch 7.3.074
10797Problem: Can't use the "+ register like "* for yank and put.
10798Solution: Add "unnamedplus" to the 'clipboard' option. (Ivan Krasilnikov)
10799Files: runtime/doc/options.txt, src/eval.c, src/globals.h, src/ops.c,
10800 src/option.c
10801
10802Patch 7.3.075 (after 7.3.072)
10803Problem: Missing part of 'wildignorecase'
10804Solution: Also adjust expand()
10805Files: src/eval.c
10806
10807Patch 7.3.076
10808Problem: Clang warnings for dead code.
10809Solution: Remove it. (Carlo Teubner)
10810Files: src/gui_gtk.c, src/if_ruby.c, src/misc2.c, src/netbeans.c,
10811 src/spell.c
10812
10813Patch 7.3.077
10814Problem: When updating crypt of swapfile fails there is no error message.
10815 (Carlo Teubner)
10816Solution: Add the error message.
10817Files: src/memline.c
10818
10819Patch 7.3.078
10820Problem: Warning for unused variable.
Bram Moolenaardd007ed2013-07-09 15:44:17 +020010821Solution: Adjust #ifdefs.
Bram Moolenaar913df812013-07-06 15:44:11 +020010822Files: src/ops.c
10823
10824Patch 7.3.079
10825Problem: Duplicate lines in makefile.
10826Solution: Remove the lines. (Hong Xu)
10827Files: src/Make_mvc.mak
10828
10829Patch 7.3.080
10830Problem: Spell doesn't work on VMS.
10831Solution: Use different file names. (Zoltan Bartos, Zoltan Arpadffy)
10832Files: src/spell.c
10833
10834Patch 7.3.081
10835Problem: Non-printable characters in 'statusline' cause trouble. (ZyX)
10836Solution: Use transstr(). (partly by Caio Ariede)
10837Files: src/screen.c
10838
10839Patch 7.3.082
10840Problem: Leaking file descriptor when hostname doesn't exist.
10841Solution: Remove old debugging lines.
10842Files: src/netbeans.c
10843
10844Patch 7.3.083
10845Problem: When a read() or write() is interrupted by a signal it fails.
10846Solution: Add read_eintr() and write_eintr().
10847Files: src/fileio.c, src/proto/fileio.pro, src/memfile.c, src/memline.c,
10848 src/os_unix.c, src/undo.c, src/vim.h
10849
10850Patch 7.3.084
10851Problem: When splitting the window, the new one scrolls with the cursor at
10852 the top.
10853Solution: Compute w_fraction before setting the new height.
10854Files: src/window.c
10855
10856Patch 7.3.085 (after 7.3.083)
10857Problem: Inconsistency with preproc symbols. void * computation.
10858Solution: Include vimio.h from vim.h. Add type cast.
10859Files: src/eval.c, src/ex_cmds.c, src/ex_cmds2.c, src/fileio.c,
10860 src/if_cscope.c, src/if_sniff.c, src/main.c, src/memfile.c,
10861 src/memline.c, src/netbeans.c, src/os_msdos.c, src/os_mswin.c,
10862 src/os_win16.c, src/os_win32.c, src/spell.c, src/tag.c,
10863 src/undo.c, src/vim.h
10864
10865Patch 7.3.086
10866Problem: When using a mapping with an expression and there was no count,
10867 v:count has the value of the previous command. (ZyX)
10868Solution: Also set v:count and v:count1 before getting the character that
10869 could be a command or a count.
10870Files: src/normal.c
10871
10872Patch 7.3.087
10873Problem: EINTR is not always defined.
10874Solution: Include errno.h in vim.h.
10875Files: src/if_cscope.c, src/if_tcl.c, src/integration.c, src/memline.c,
10876 src/os_mswin.c, src/os_win16.c, src/os_win32.c, src/vim.h,
10877 src/workshop.c
10878
10879Patch 7.3.088
10880Problem: Ruby can't load Gems sometimes, may cause a crash.
10881Solution: Undefine off_t. Use ruby_process_options(). (Yasuhiro Matsumoto)
10882Files: src/if_ruby.c
10883
10884Patch 7.3.089
10885Problem: Compiler warning on 64 bit MS-Windows.
10886Solution: Add type cast. (Mike Williams)
10887Files: src/netbeans.c
10888
10889Patch 7.3.090
10890Problem: Wrong help text for Cscope.
10891Solution: Adjust the help text for "t". (Dominique Pelle)
10892Files: src/if_cscope.c
10893
10894Patch 7.3.091
10895Problem: "vim -w foo" writes special key codes for removed escape
10896 sequences. (Josh Triplett)
10897Solution: Don't write K_IGNORE codes.
10898Files: src/getchar.c, src/misc1.c, src/term.c, src/vim.h
10899
10900Patch 7.3.092
10901Problem: Resizing the window when exiting.
10902Solution: Don't resize when exiting.
10903Files: src/term.c
10904
10905Patch 7.3.093
10906Problem: New DLL dependencies in MingW with gcc 4.5.0.
10907Solution: Add STATIC_STDCPLUS, LDFLAGS and split up WINDRES. (Guopeng Wen)
10908Files: src/GvimExt/Make_ming.mak, src/Make_ming.mak
10909
10910Patch 7.3.094
10911Problem: Using abs() requires type cast to int.
10912Solution: Use labs() so that the value remains long. (Hong Xu)
10913Files: src/screen.c
10914
10915Patch 7.3.095
10916Problem: Win32: In Chinese tear-off menu doesn't work. (Weasley)
10917Solution: Use menu_name_equal(). (Alex Jakushev)
10918Files: src/menu.c
10919
10920Patch 7.3.096
Bram Moolenaardd007ed2013-07-09 15:44:17 +020010921Problem: "gvim -nb" is not interruptible. Leaking file descriptor on
Bram Moolenaar913df812013-07-06 15:44:11 +020010922 netbeans connection error.
10923Solution: Check for CTRL-C typed. Free file descriptor. (Xavier de Gaye)
10924Files: src/netbeans.c
10925
10926Patch 7.3.097
10927Problem: Using ":call" inside "if 0" does not see that a function returns a
10928 Dict and gives error for "." as string concatenation.
10929Solution: Use eval0() to skip over the expression. (Yasuhiro Matsumoto)
10930Files: src/eval.c
10931
10932Patch 7.3.098
10933Problem: Function that ignores error still causes called_emsg to be set.
10934 E.g. when expand() fails the status line is disabled.
10935Solution: Move check for emsg_not_now() up. (James Vega)
10936Files: src/message.c
10937
10938Patch 7.3.099
10939Problem: Crash when splitting a window with zero height. (Yukihiro
10940 Nakadaira)
10941Solution: Don't set the fraction in a window with zero height.
10942Files: src/window.c
10943
10944Patch 7.3.100
10945Problem: When using :normal v:count isn't set.
10946Solution: Call normal_cmd() with toplevel set to TRUE.
10947Files: src/ex_docmd.c
10948
10949Patch 7.3.101
10950Problem: ino_t defined with wrong size.
10951Solution: Move including auto/config.h before other includes. (Marius
10952 Geminas)
10953Files: src/if_ruby.c, src/if_lua.c
10954
10955Patch 7.3.102
10956Problem: When using ":make", typing the next command and then getting the
10957 "reload" prompt the next command is (partly) eaten by the reload
10958 prompt.
10959Solution: Accept ':' as a special character at the reload prompt to accept
10960 the default choice and execute the command.
10961Files: src/eval.c, src/fileio.c, src/gui.c, src/gui_xmdlg.c,
10962 src/memline.c, src/message.c, src/proto/message.pro,
10963 src/gui_athena.c, src/gui_gtk.c, src/gui_mac.c, src/gui_motif.c,
10964 src/gui_photon.c, src/gui_w16.c, src/gui_w32.c, src/os_mswin.c
10965 src/proto/gui_athena.pro, src/proto/gui_gtk.pro,
10966 src/proto/gui_mac.pro, src/proto/gui_motif.pro,
10967 src/proto/gui_photon.pro, src/proto/gui_w16.pro,
10968 src/proto/gui_w32.pro
10969
10970Patch 7.3.103
10971Problem: Changing 'fileformat' and then using ":w" in an empty file sets
10972 the 'modified' option.
10973Solution: In unchanged() don't ignore 'ff' for an empty file.
10974Files: src/misc1.c, src/option.c, src/proto/option.pro, src/undo.c
10975
10976Patch 7.3.104
10977Problem: Conceal: using Tab for cchar causes problems. (ZyX)
10978Solution: Do not accept a control character for cchar.
10979Files: src/syntax.c
10980
10981Patch 7.3.105
10982Problem: Can't get the value of "b:changedtick" with getbufvar().
10983Solution: Make it work. (Christian Brabandt)
10984Files: src/eval.c
10985
10986Patch 7.3.106
10987Problem: When 'cursorbind' is set another window may scroll unexpectedly
10988 when 'scrollbind' is also set. (Xavier Wang)
10989Solution: Don't call update_topline() if 'scrollbind' is set.
10990Files: src/move.c
10991
10992Patch 7.3.107
10993Problem: Year number for :undolist can be confused with month or day.
10994Solution: Change "%y" to "%Y".
10995Files: src/undo.c
10996
10997Patch 7.3.108
10998Problem: Useless check for NULL when calling vim_free().
10999Solution: Remove the check. (Dominique Pelle)
11000Files: src/eval.c, src/ex_cmds.c, src/os_win32.c
11001
11002Patch 7.3.109
11003Problem: Processing new Esperanto spell file fails and crashes Vim.
11004 (Dominique Pelle)
11005Solution: When running out of memory give an error. Handle '?' in
11006 COMPOUNDRULE properly.
11007Files: src/spell.c
11008
11009Patch 7.3.110
11010Problem: The "nbsp" item in 'listchars' isn't used for ":list".
11011Solution: Make it work. (Christian Brabandt)
11012Files: src/message.c
11013
11014Patch 7.3.111 (after 7.3.100)
11015Problem: Executing a :normal command in 'statusline' evaluation causes the
11016 cursor to move. (Dominique Pelle)
11017Solution: When updating the cursor for 'cursorbind' allow the cursor beyond
11018 the end of the line. When evaluating 'statusline' temporarily
11019 reset 'cursorbind'.
11020Files: src/move.c, src/screen.c
11021
11022Patch 7.3.112
11023Problem: Setting 'statusline' to "%!'asdf%' reads uninitialized memory.
11024Solution: Check for NUL after %.
11025Files: src/buffer.c
11026
11027Patch 7.3.113
11028Problem: Windows: Fall back directory for creating temp file is wrong.
11029Solution: Use "." instead of empty string. (Hong Xu)
11030Files: src/fileio.c
11031
11032Patch 7.3.114
11033Problem: Potential problem in initialization when giving an error message
11034 early.
11035Solution: Initialize 'verbosefile' empty. (Ben Schmidt)
11036Files: src/option.h
11037
11038Patch 7.3.115
11039Problem: Vim can crash when tmpnam() returns NULL.
11040Solution: Check for NULL. (Hong Xu)
11041Files: src/fileio.c
11042
11043Patch 7.3.116
11044Problem: 'cursorline' is displayed too short when there are concealed
11045 characters and 'list' is set. (Dennis Preiser)
11046Solution: Check for 'cursorline' when 'list' is set. (Christian Brabandt)
11047Files: src/screen.c
11048
11049Patch 7.3.117
11050Problem: On some systems --as-needed does not work, because the "tinfo"
11051 library is included indirectly from "ncurses". (Charles Campbell)
11052Solution: In configure prefer using "tinfo" instead of "ncurses".
11053Files: src/configure.in, src/auto/configure
11054
11055Patch 7.3.118
11056Problem: Ruby uses SIGVTALARM which makes Vim exit. (Alec Tica)
11057Solution: Ignore SIGVTALARM. (Dominique Pelle)
11058Files: src/os_unix.c
11059
11060Patch 7.3.119
11061Problem: Build problem on Mac. (Nicholas Stallard)
11062Solution: Use "extern" instead of "EXTERN" for p_vfile.
11063Files: src/option.h
11064
11065Patch 7.3.120
11066Problem: The message for an existing swap file is too long to fit in a 25
11067 line terminal.
11068Solution: Make the message shorter. (Chad Miller)
11069Files: src/memline.c
11070
11071Patch 7.3.121
11072Problem: Complicated 'statusline' causes a crash. (Christian Brabandt)
11073Solution: Check that the number of items is not too big.
11074Files: src/buffer.c
11075
11076Patch 7.3.122
11077Problem: Having auto/config.mk in the repository causes problems.
11078Solution: Remove auto/config.mk from the distribution. In the toplevel
11079 Makefile copy it from the "dist" file.
11080Files: Makefile, src/Makefile, src/auto/config.mk
11081
11082Patch 7.3.123
11083Problem: ml_get error when executing register being recorded into, deleting
11084 lines and 'conceallevel' is set. (ZyX)
11085Solution: Don't redraw a line for concealing when it doesn't exist.
11086Files: src/main.c
11087
11088Patch 7.3.124
11089Problem: When writing a file in binary mode it may be missing the final EOL
11090 if a file previously read was missing the EOL. (Kevin Goodsell)
11091Solution: Move the write_no_eol_lnum into the buffer struct.
11092Files: src/structs.h, src/fileio.c, src/globals.h, src/os_unix.c
11093
11094Patch 7.3.125
11095Problem: MSVC: Problem with quotes in link argument.
11096Solution: Escape backslashes and quotes. (Weasley)
11097Files: src/Make_mvc.mak
11098
11099Patch 7.3.126
11100Problem: Compiler warning for signed pointer.
11101Solution: Use unsigned int argument for sscanf().
11102Files: src/blowfish.c
11103
11104Patch 7.3.127
11105Problem: Compiler complains about comma.
11106Solution: Remove comma after last enum element.
11107Files: src/ex_cmds2.c
11108
11109Patch 7.3.128
11110Problem: Another compiler warning for signed pointer.
11111Solution: Use unsigned int argument for sscanf().
11112Files: src/mark.c
11113
11114Patch 7.3.129
11115Problem: Using integer like a boolean.
11116Solution: Nicer check for integer being non-zero.
11117Files: src/tag.c
11118
11119Patch 7.3.130
11120Problem: Variable misplaced in #ifdef.
11121Solution: Move clipboard_event_time outside of #ifdef.
11122Files: src/gui_gtk_x11.c
11123
11124Patch 7.3.131
11125Problem: Including errno.h too often.
11126Solution: Don't include errno.h in Unix header file.
11127Files: src/os_unix.h
11128
11129Patch 7.3.132
11130Problem: C++ style comments.
11131Solution: Change to C comments.
11132Files: src/if_python3.c
11133
11134Patch 7.3.133
11135Problem: When using encryption it's not clear what method was used.
11136Solution: In the file message show "blowfish" when using blowfish.
11137Files: src/fileio.c
11138
11139Patch 7.3.134
11140Problem: Drag-n-drop doesn't work in KDE Dolphin.
11141Solution: Add GDK_ACTION_MOVE flag. (Florian Degner)
11142Files: src/gui_gtk_x11.c
11143
11144Patch 7.3.135
11145Problem: When there is no previous substitute pattern, the previous search
11146 pattern is used. The other way around doesn't work.
11147Solution: When there is no previous search pattern, use the previous
11148 substitute pattern if possible. (Christian Brabandt)
11149Files: src/search.c
11150
11151Patch 7.3.136
11152Problem: Duplicate include of assert.h.
11153Solution: Remove it.
11154Files: src/if_cscope.c
11155
11156Patch 7.3.137 (after 7.3.091)
11157Problem: When 'lazyredraw' is set the screen may not be updated. (Ivan
11158 Krasilnikov)
11159Solution: Call update_screen() before waiting for input.
11160Files: src/misc1.c, src/getchar.c
11161
11162Patch 7.3.138
11163Problem: ":com" changes the multi-byte text of :echo. (Dimitar Dimitrov)
11164Solution: Search for K_SPECIAL as a byte, not a character. (Ben Schmidt)
11165Files: src/ex_docmd.c
11166
11167Patch 7.3.139 (after 7.3.137)
11168Problem: When 'lazyredraw' is set ":ver" output can't be read.
11169Solution: Don't redraw the screen when at a prompt or command line.
11170Files: src/getchar.c, src/message.c, src/misc1.c
11171
11172Patch 7.3.140
11173Problem: Crash when drawing the "$" at end-of-line for list mode just after
11174 the window border and 'cursorline' is set.
11175Solution: Don't check for 'cursorline'. (Quentin Carbonneaux)
11176Files: src/screen.c
11177
11178Patch 7.3.141
11179Problem: When a key code is not set get a confusing error message.
11180Solution: Change the error message to say the key code is not set.
11181Files: src/option.c, runtime/doc/options.txt
11182
11183Patch 7.3.142
11184Problem: Python stdout doesn't have a flush() method, causing an import to
11185 fail.
11186Solution: Add a dummy flush() method. (Tobias Columbus)
11187Files: src/if_py_both.h
11188
11189Patch 7.3.143
11190Problem: Memfile is not tested sufficiently. Looking up blocks in a
11191 memfile is slow when there are many blocks.
11192Solution: Add high level test and unittest. Adjust the number of hash
11193 buckets to the number of blocks. (Ivan Krasilnikov)
11194Files: Filelist, src/Makefile, src/main.c, src/memfile.c,
11195 src/memfile_test.c src/structs.h src/testdir/Make_amiga.mak,
11196 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
11197 src/testdir/Make_os2.mak, src/testdir/Make_vms.mak,
11198 src/testdir/Makefile, src/testdir/test77.in, src/testdir/test77.ok
11199
11200Patch 7.3.144
11201Problem: Crash with ":python help(dir)". (Kearn Holliday)
11202Solution: Fix the way the type is set on objects. (Tobias Columbus)
11203Files: src/if_python.c
11204
11205Patch 7.3.145 (after 7.3.144)
11206Problem: Can't build with Python dynamically loading.
11207Solution: Add dll_PyType_Ready.
11208Files: src/if_python.c
11209
11210Patch 7.3.146
11211Problem: It's possible to assign to a read-only member of a dict.
11212 It's possible to create a global variable "0". (ZyX)
11213 It's possible to add a v: variable with ":let v:.name = 1".
11214Solution: Add check for dict item being read-only.
11215 Check the name of g: variables.
11216 Disallow adding v: variables.
11217Files: src/eval.c
11218
11219Patch 7.3.147 (after 7.3.143)
11220Problem: Can't build on HP-UX.
11221Solution: Remove an unnecessary backslash. (John Marriott)
11222Files: src/Makefile
11223
11224Patch 7.3.148
11225Problem: A syntax file with a huge number of items or clusters causes weird
11226 behavior, a hang or a crash. (Yukihiro Nakadaira)
11227Solution: Check running out of IDs. (partly by Ben Schmidt)
11228Files: src/syntax.c
11229
11230Patch 7.3.149
11231Problem: The cursor disappears after the processing of the 'setDot'
11232 netbeans command when vim runs in a terminal.
Bram Moolenaardd007ed2013-07-09 15:44:17 +020011233Solution: Show the cursor after a screen update. (Xavier de Gaye)
Bram Moolenaar913df812013-07-06 15:44:11 +020011234Files: src/netbeans.c
11235
11236Patch 7.3.150
11237Problem: readline() does not return the last line when the NL is missing.
11238 (Hong Xu)
11239Solution: When at the end of the file Also check for a previous line.
11240Files: src/eval.c
11241
11242Patch 7.3.151 (after 7.3.074)
11243Problem: When "unnamedplus" is in 'clipboard' the selection is sometimes
11244 also copied to the star register.
11245Solution: Avoid copy to the star register when undesired. (James Vega)
11246Files: src/ops.c
11247
11248Patch 7.3.152
11249Problem: Xxd does not check for errors from library functions.
11250Solution: Add error checks. (Florian Zumbiehl)
11251Files: src/xxd/xxd.c
11252
11253Patch 7.3.153 (after 7.3.152)
11254Problem: Compiler warning for ambiguous else, missing prototype.
11255Solution: Add braces. (Dominique Pelle) Add prototype for die().
11256Files: src/xxd/xxd.c
11257
11258Patch 7.3.154 (after 7.3.148)
11259Problem: Can't compile with tiny features. (Tony Mechelynck)
11260Solution: Move #define outside of #ifdef.
11261Files: src/syntax.c
11262
11263Patch 7.3.155
11264Problem: Crash when using map(), filter() and remove() on v:. (ZyX)
11265 Also for extend(). (Yukihiro Nakadaira)
11266Solution: Mark v: as locked. Also correct locking error messages.
11267Files: src/eval.c
11268
11269Patch 7.3.156
11270Problem: Tty names possibly left unterminated.
11271Solution: Use vim_strncpy() instead of strncpy().
11272Files: src/pty.c
11273
11274Patch 7.3.157
11275Problem: Superfluous assignment.
11276Solution: Remove assignment.
11277Files: src/misc1.c
11278
11279Patch 7.3.158
11280Problem: Might use uninitialized memory in C indenting.
11281Solution: Init arrays to empty.
11282Files: src/misc1.c
11283
11284Patch 7.3.159
11285Problem: Using uninitialized pointer when out of memory.
11286Solution: Check for NULL return value.
11287Files: src/mbyte.c
11288
11289Patch 7.3.160
11290Problem: Unsafe string copying.
11291Solution: Use vim_strncpy() instead of strcpy(). Use vim_strcat() instead
11292 of strcat().
11293Files: src/buffer.c, src/ex_docmd.c, src/hardcopy.c, src/menu.c,
11294 src/misc1.c, src/misc2.c, src/proto/misc2.pro, src/netbeans.c,
11295 src/os_unix.c, src/spell.c, src/syntax.c, src/tag.c
11296
11297Patch 7.3.161
11298Problem: Items on the stack may be too big.
11299Solution: Make items static or allocate them.
11300Files: src/eval.c, src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c,
11301 src/fileio.c, src/hardcopy.c, src/quickfix.c, src/main.c,
11302 src/netbeans.c, src/spell.c, src/tag.c, src/vim.h, src/xxd/xxd.c
11303
11304Patch 7.3.162
11305Problem: No error message when assigning to a list with an index out of
11306 range. (Yukihiro Nakadaira)
11307Solution: Add the error message.
11308Files: src/eval.c
11309
11310Patch 7.3.163
11311Problem: For the default of 'shellpipe' "mksh" and "pdksh" are not
11312 recognized.
11313Solution: Recognize these shell names.
11314Files: src/option.c
11315
11316Patch 7.3.164
11317Problem: C-indenting: a preprocessor statement confuses detection of a
Bram Moolenaardd007ed2013-07-09 15:44:17 +020011318 function declaration.
Bram Moolenaar913df812013-07-06 15:44:11 +020011319Solution: Ignore preprocessor lines. (Lech Lorens) Also recognize the style
11320 to put a comma before the argument name.
11321Files: src/misc1.c, testdir/test3.in, testdir/test3.ok
11322
11323Patch 7.3.165
11324Problem: ":find" completion does not escape spaces in a directory name.
11325 (Isz)
11326Solution: Add backslashes for EXPAND_FILES_IN_PATH. (Carlo Teubner)
11327Files: src/ex_getln.c
11328
11329Patch 7.3.166
11330Problem: Buffer on the stack may be too big
11331Solution: Allocate the space.
11332Files: src/option.c
11333
11334Patch 7.3.167
11335Problem: When using the internal grep QuickFixCmdPost is not triggered.
11336 (Yukihiro Nakadaira)
11337Solution: Change the place where autocommands are triggered.
11338Files: src/quickfix.c
11339
11340Patch 7.3.168
11341Problem: When the second argument of input() contains a CR the text up to
11342 that is used without asking the user. (Yasuhiro Matsumoto)
11343Solution: Change CR, NL and ESC in the text to a space.
11344Files: src/getchar.c
11345
11346Patch 7.3.169
11347Problem: Freeing memory already freed, warning from static code analyzer.
11348Solution: Initialize pointers to NULL, correct use of "mustfree". (partly by
11349 Dominique Pelle)
11350Files: src/mis1.c
11351
11352Patch 7.3.170
11353Problem: VMS Makefile for testing was not updated for test77.
11354Solution: Add test77 to the Makefile.
11355Files: src/testdir/Make_vms.mms
11356
11357Patch 7.3.171
11358Problem: When the clipboard isn't supported: ":yank*" gives a confusing
11359 error message.
11360Solution: Specifically mention that the register name is invalid.
11361 (Jean-Rene David)
11362Files: runtime/doc/change.txt, src/ex_docmd.c, src/globals.h
11363
11364Patch 7.3.172
11365Problem: MS-Windows: rename() might delete the file if the name differs but
11366 it's actually the same file.
11367Solution: Use the file handle to check if it's the same file. (Yukihiro
11368 Nakadaira)
11369Files: src/if_cscope.c, src/fileio.c, src/os_win32.c,
11370 src/proto/os_win32.pro, src/vim.h
11371
11372Patch 7.3.173
11373Problem: After using setqflist() to make the quickfix list empty ":cwindow"
11374 may open the window anyway. Also after ":vimgrep".
11375Solution: Correctly check whether the list is empty. (Ingo Karkat)
11376Files: src/quickfix.c
11377
11378Patch 7.3.174
11379Problem: When Exuberant ctags binary is exctags it's not found.
11380Solution: Add configure check for exctags. (Hong Xu)
11381Files: src/configure.in, src/auto/configure
11382
11383Patch 7.3.175
11384Problem: When 'colorcolumn' is set locally to a window, ":new" opens a
11385 window with the same highlighting but 'colorcolumn' is empty.
11386 (Tyru)
11387Solution: Call check_colorcolumn() after clearing and copying options.
11388 (Christian Brabandt)
11389Files: src/buffer.c
11390
11391Patch 7.3.176
11392Problem: Ruby linking doesn't work properly on Mac OS X.
11393Solution: Fix the configure check for Ruby. (Bjorn Winckler)
11394Files: src/configure.in, src/auto/configure
11395
11396Patch 7.3.177
11397Problem: MS-Windows: mkdir() doesn't work properly when 'encoding' is
11398 "utf-8".
11399Solution: Convert to utf-16. (Yukihiro Nakadaira)
11400Files: src/os_win32.c, src/os_win32.h, src/proto/os_win32.pro
11401
11402Patch 7.3.178
11403Problem: C-indent doesn't handle code right after { correctly.
11404Solution: Fix detecting unterminated line. (Lech Lorens)
11405Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
11406
11407Patch 7.3.179
11408Problem: C-indent doesn't handle colon in string correctly.
11409Solution: Skip the string. (Lech Lorens)
11410Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
11411
11412Patch 7.3.180
11413Problem: When both a middle part of 'comments' matches and an end part, the
Bram Moolenaardd007ed2013-07-09 15:44:17 +020011414 middle part was used erroneously.
Bram Moolenaar913df812013-07-06 15:44:11 +020011415Solution: After finding the middle part match continue looking for a better
11416 end part match. (partly by Lech Lorens)
11417Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
11418
11419Patch 7.3.181
11420Problem: When repeating the insert of CTRL-V or a digraph the display may
11421 not be updated correctly.
11422Solution: Only call edit_unputchar() after edit_putchar(). (Lech Lorens)
11423Files: src/edit.c
11424
11425Patch 7.3.182 (after 7.3.180)
11426Problem: Compiler warning for uninitialized variable.
11427Solution: Add dummy initializer.
11428Files: src/misc1.c
11429
11430Patch 7.3.183 (after 7.3.174)
11431Problem: When Exuberant ctags binary is exuberant-ctags it's not found.
11432Solution: Add configure check for exuberant-ctags.
11433Files: src/configure.in, src/auto/configure
11434
11435Patch 7.3.184
11436Problem: Static code analysis errors in riscOS.
11437Solution: Make buffer size bigger. (Dominique Pelle)
11438Files: src/gui_riscos.c
11439
11440Patch 7.3.185
11441Problem: ":windo g/pattern/q" closes windows and reports "N more lines".
11442 (Tim Chase)
11443Solution: Remember what buffer ":global" started in. (Jean-Rene David)
11444Files: src/ex_cmds.c
11445
11446Patch 7.3.186
11447Problem: When 'clipboard' contains "unnamed" or "unnamedplus" the value of
11448 v:register is wrong for operators without a specific register.
11449Solution: Adjust the register according to 'clipboard'. (Ingo Karkat)
11450Files: src/normal.c
11451
11452Patch 7.3.187
11453Problem: The RISC OS port has obvious errors and is not being maintained.
11454Solution: Remove the RISC OS files and code.
11455Files: src/ascii.h, src/eval.c, src/ex_cmds.c, src/ex_cmds2.c,
11456 src/ex_docmd.c, src/fileio.c, src/globals.h, src/gui.c, src/gui.h,
11457 src/main.c, src/memfile.c, src/memline.c, src/misc1.c,
11458 src/proto.h, src/quickfix.c, src/search.c, src/structs.h,
11459 src/term.c, src/termlib.c, src/version.c, src/vim.h,
11460 src/gui_riscos.h, src/os_riscos.h, src/gui_riscos.c,
11461 src/os_riscos.c, runtime/doc/os_risc.txt
11462
11463Patch 7.3.188
11464Problem: More RISC OS files to remove.
11465Solution: Remove them. Update the file list.
11466Files: src/proto/gui_riscos.pro, src/proto/os_riscos.pro, Filelist
11467
11468Patch 7.3.189 (after 7.3.186)
11469Problem: Can't build without +clipboard feature. (Christian Ebert)
11470Solution: Add the missing #ifdef.
11471Files: src/normal.c
11472
11473Patch 7.3.190
11474Problem: When there is a "containedin" syntax argument highlighting may be
11475 wrong. (Radek)
11476Solution: Reset current_next_list. (Ben Schmidt)
11477Files: src/syntax.c
11478
11479Patch 7.3.191
11480Problem: Still some RISC OS stuff to remove.
11481Solution: Remove files and lines. (Hong Xu)
11482 Remove the 'osfiletype' option code.
11483Files: README_extra.txt, src/Make_ro.mak, src/INSTALL, src/Makefile,
11484 src/buffer.c, src/eval.c, src/feature.h, src/option.c,
11485 src/option.h, src/structs.h, src/version.c, src/pty.c, Filelist
11486
11487Patch 7.3.192
11488Problem: Ex command ":s/ \?/ /g" splits multi-byte characters into bytes.
11489 (Dominique Pelle)
11490Solution: Advance over whole character instead of one byte.
11491Files: src/ex_cmds.c
11492
11493Patch 7.3.193
11494Problem: In the command line window ":close" doesn't work properly. (Tony
11495 Mechelynck)
11496Solution: Use Ctrl_C instead of K_IGNORE for cmdwin_result. (Jean-Rene
11497 David)
11498Files: src/ex_docmd.c, src/ex_getln.c
11499
11500Patch 7.3.194
11501Problem: When "b" is a symlink to directory "a", resolve("b/") doesn't
11502 result in "a/". (ZyX)
11503Solution: Remove the trailing slash. (Jean-Rene David)
11504Files: src/eval.c
11505
11506Patch 7.3.195
11507Problem: "} else" causes following lines to be indented too much. (Rouben
11508 Rostamian)
11509Solution: Better detection for the "else". (Lech Lorens)
11510Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
11511
11512Patch 7.3.196
11513Problem: Can't intercept a character that is going to be inserted.
11514Solution: Add the InsertCharPre autocommand event. (Jakson A. Aquino)
11515Files: runtime/doc/autocmd.txt, runtime/doc/eval.txt,
11516 runtime/doc/map.txt, src/edit.c, src/eval.c, src/fileio.c,
11517 src/vim.h
11518
11519Patch 7.3.197
11520Problem: When a QuickfixCmdPost event removes all errors, Vim still tries
11521 to jump to the first error, resulting in E42.
11522Solution: Get the number of error after the autocmd event. (Mike Lundy)
11523Files: src/quickfix.c
11524
11525Patch 7.3.198
11526Problem: No completion for ":lang".
11527Solution: Get locales to complete from. (Dominique Pelle)
11528Files: src/eval.c, src/ex_cmds2.c, src/ex_getln.c,
11529 src/proto/ex_cmds2.pro, src/proto/ex_getln.pro, src/vim.h
11530
11531Patch 7.3.199
11532Problem: MS-Windows: Compilation problem of OLE with MingW compiler.
11533Solution: Put #ifdef around declarations. (Guopeng Wen)
11534Files: src/if_ole.h
11535
11536Patch 7.3.200 (after 7.3.198)
11537Problem: CTRL-D doesn't complete :lang.
11538Solution: Add the missing part of the change. (Dominique Pelle)
11539Files: src/ex_docmd.c
11540
11541Patch 7.3.201 (after 7.3.195)
11542Problem: "} else" still causes following lines to be indented too much.
11543Solution: Better detection for the "else" block. (Lech Lorens)
11544Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
11545
11546Patch 7.3.202
11547Problem: Cannot influence the indent inside a namespace.
11548Solution: Add the "N" 'cino' parameter. (Konstantin Lepa)
11549Files: runtime/doc/indent.txt, src/misc1.c, src/testdir/test3.in,
11550 src/testdir/test3.ok
11551
11552Patch 7.3.203
11553Problem: MS-Windows: Can't run an external command without a console window.
11554Solution: Support ":!start /b cmd". (Xaizek)
11555Files: runtime/doc/os_win32.txt, src/os_win32.c
11556
11557Patch 7.3.204 (after 7.3.201)
11558Problem: Compiler warning.
11559Solution: Add type cast. (Mike Williams)
11560Files: src/misc1.c
11561
11562Patch 7.3.205
11563Problem: Syntax "extend" doesn't work correctly.
11564Solution: Avoid calling check_state_ends() recursively (Ben Schmidt)
11565Files: src/syntax.c
11566
11567Patch 7.3.206
11568Problem: 64bit MS-Windows compiler warning.
11569Solution: Use HandleToLong() instead of type cast. (Mike Williams)
11570Files: src/gui_w32.c
11571
11572Patch 7.3.207
11573Problem: Can't compile with MSVC with pentium4 and 64 bit.
11574Solution: Only use SSE2 for 32 bit. (Mike Williams)
11575Files: src/Make_mvc.mak
11576
11577Patch 7.3.208
11578Problem: Early terminated if statement.
11579Solution: Remove the semicolon. (Lech Lorens)
11580Files: src/gui_mac.c
11581
11582Patch 7.3.209
11583Problem: MSVC Install instructions point to wrong batch file.
11584Solution: Add a batch file for use with MSVC 10.
11585Files: src/msvc2010.bat, src/INSTALLpc.txt, Filelist
11586
11587Patch 7.3.210
11588Problem: Can't always find the file when using cscope.
11589Solution: Add the 'cscoperelative' option. (Raghavendra D Prabhu)
11590Files: runtime/doc/if_cscop.txt, runtime/doc/options.txt,
11591 src/if_cscope.c
11592
11593Patch 7.3.211 (after 7.3.210)
11594Problem: Compiler warning.
11595Solution: Add type cast.
11596Files: src/if_cscope.c
11597
11598Patch 7.3.212
11599Problem: With Python 3.2 ":py3" fails.
11600Solution: Move PyEval_InitThreads() to after Py_Initialize(). (Roland
11601 Puntaier) Check abiflags in configure. (Andreas Behr)
11602Files: src/if_python3.c, src/auto/configure, src/configure.in
11603
11604Patch 7.3.213
11605Problem: Javascript object literal is not indented correctly.
11606Solution: Make a special case for when "J1" is in 'cino'. (Luc Deschenaux)
11607Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
11608
11609Patch 7.3.214
11610Problem: The text displayed by ":z-" isn't exactly like old Vi.
11611Solution: Add one to the start line number. (ChangZhuo Chen)
11612Files: src/ex_cmds.c
11613
11614Patch 7.3.215 (after 7.3.210)
11615Problem: Wrong file names in previous patch. (Toothpik)
11616Solution: Include the option changes.
11617Files: src/option.c, src/option.h
11618
11619Patch 7.3.216
11620Problem: When recovering a file a range of lines is missing. (Charles Jie)
11621Solution: Reset the index when advancing to the next pointer block. Add a
11622 test to verify recovery works.
11623Files: src/memline.c, src/testdir/test78.in, src/testdir/test78.ok,
11624 src/testdir/Makefile, src/testdir/Make_amiga.mak,
11625 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
11626 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms
11627
11628Patch 7.3.217
11629Problem: Inside an "if" a ":wincmd" causes problems.
11630Solution: When skipping commands let ":wincmd" skip over its argument.
11631Files: src/ex_docmd.c
11632
11633Patch 7.3.218 (after 7.3.212)
11634Problem: Tiny configuration problem with Python 3.
11635Solution: Add abiflags in one more place. (Andreas Behr)
11636Files: src/auto/configure, src/configure.in
11637
11638Patch 7.3.219
11639Problem: Can't compile with GTK on Mac.
11640Solution: Add some #ifdef trickery. (Ben Schmidt)
11641Files: src/os_mac_conv.c, src/os_macosx.m, src/vim.h
11642
11643Patch 7.3.220
11644Problem: Python 3: vim.error is a 'str' instead of an 'Exception' object,
11645 so 'except' or 'raise' it causes a 'SystemError' exception.
11646 Buffer objects do not support slice assignment.
11647 When exchanging text between Vim and Python, multibyte texts become
Bram Moolenaardd007ed2013-07-09 15:44:17 +020011648 garbage or cause Unicode Exceptions, etc.
Bram Moolenaar913df812013-07-06 15:44:11 +020011649 'py3file' tries to read in the file as Unicode, sometimes causes
11650 UnicodeDecodeException
11651Solution: Fix the problems. (lilydjwg)
11652Files: src/if_py_both.h, src/if_python.c, src/if_python3.c
11653
11654Patch 7.3.221
11655Problem: Text from the clipboard is sometimes handled as linewise, but not
11656 consistently.
11657Solution: Assume the text is linewise when it ends in a CR or NL.
11658Files: src/gui_gtk_x11.c, src/gui_mac.c, src/ops.c, src/os_msdos.c,
11659 src/os_mswin.c, src/os_qnx.c, src/ui.c
11660
11661Patch 7.3.222
11662Problem: Warning for building GvimExt.
11663Solution: Comment-out the DESCRIPTION line. (Mike Williams)
11664Files: src/GvimExt/gvimext.def, src/GvimExt/gvimext_ming.def
11665
11666Patch 7.3.223
11667Problem: MingW cross compilation doesn't work with tiny features.
11668Solution: Move acp_to_enc(), enc_to_utf16() and utf16_to_enc() outside of
11669 "#ifdef CLIPBOARD". Fix typo in makefile.
11670Files: src/Make_ming.mak, src/os_mswin.c
11671
11672Patch 7.3.224
11673Problem: Can't pass dict to sort function.
11674Solution: Add the optional {dict} argument to sort(). (ZyX)
11675Files: runtime/doc/eval.txt, src/eval.c
11676
11677Patch 7.3.225
11678Problem: Using "\n" in a substitute inside ":s" does not result in a line
11679 break.
11680Solution: Change behavior inside vim_regexec_nl(). Add tests. (Motoya
11681 Kurotsu)
11682Files: src/regexp.c, src/testdir/test79.in, src/testdir/test79.ok,
11683 src/testdir/test80.in, src/testdir/test80.ok,
11684 src/testdir/Makefile, src/testdir/Make_amiga.mak,
11685 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
11686 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms
11687
11688Patch 7.3.226
11689Problem: On a 64 bit system "syn sync fromstart" is very slow. (Bjorn
11690 Steinbrink)
11691Solution: Store the state when starting to parse from the first line.
11692Files: src/syntax.c
11693
11694Patch 7.3.227 (after 7.3.221)
11695Problem: Mac OS doesn't have the linewise clipboard fix.
11696Solution: Also change the Mac OS file. (Bjorn Winckler)
11697Files: src/os_macosx.m
11698
11699Patch 7.3.228
11700Problem: "2gj" does not always move to the correct position.
11701Solution: Get length of line after moving to a next line. (James Vega)
11702Files: src/normal.c
11703
11704Patch 7.3.229
11705Problem: Using fork() makes gvim crash on Mac when build with
11706 CoreFoundation.
11707Solution: Disallow fork() when __APPLE__ is defined. (Hisashi T Fujinaka)
11708Files: src/gui.c
11709
11710Patch 7.3.230
11711Problem: ":wundo" and ":rundo" don't unescape their argument. (Aaron
11712 Thoma)
11713Solution: Use FILE1 instead of XFILE.
11714Files: src/ex_cmds.h
11715
11716Patch 7.3.231
11717Problem: Runtime file patches failed.
11718Solution: Redo the patches made against the patched files instead of the
11719 files in the mercurial repository.
11720Files: runtime/doc/indent.txt, runtime/doc/os_win32.txt
11721
11722Patch 7.3.232
11723Problem: Python doesn't compile without +multi_byte
11724Solution: Use "latin1" when MULTI_BYTE is not defined.
11725Files: src/if_py_both.h
11726
11727Patch 7.3.233
11728Problem: ":scriptnames" and ":breaklist" show long file names.
11729Solution: Shorten to use "~/" when possible. (Jean-Rene David)
11730Files: src/ex_cmds2.c
11731
11732Patch 7.3.234
11733Problem: With GTK menu may be popping down.
11734Solution: Use event time instead of GDK_CURRENT_TIME. (Hong Xu)
11735Files: src/gui.c, src/gui.h, src/gui_gtk.c, src/gui_gtk_x11.c
11736
11737Patch 7.3.235
11738Problem: ";" gets stuck on a "t" command, it's not useful.
11739Solution: Add the ';' flag in 'cpo'. (Christian Brabandt)
11740Files: runtime/doc/motion.txt, runtime/doc/options.txt, src/option.h,
11741 src/search.c src/testdir/test81.in, src/testdir/test81.ok,
11742 src/testdir/Makefile, src/testdir/Make_amiga.mak,
11743 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
11744 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms
11745
11746Patch 7.3.236 (after 7.3.232)
11747Problem: Python 3 doesn't compile without +multi_byte
11748Solution: Use "latin1" when MULTI_BYTE is not defined. (lilydjwg)
11749Files: src/if_python3.c
11750
11751Patch 7.3.237
11752Problem: "filetype" completion doesn't work on Windows. (Yue Wu)
11753Solution: Don't use a glob pattern for the directories, use a list of
11754 directories. (Dominique Pelle)
11755Files: src/ex_getln.c
11756
11757Patch 7.3.238
11758Problem: Compiler warning for conversion.
11759Solution: Add type cast. (Mike Williams)
11760Files: src/ex_getln.c
11761
11762Patch 7.3.239
11763Problem: Python corrects the cursor column without taking 'virtualedit'
11764 into account. (lilydjwg)
11765Solution: Call check_cursor_col_win().
11766Files: src/if_py_both.h, src/mbyte.c, src/misc2.c, src/normal.c,
11767 src/proto/mbyte.pro, src/proto/misc2.pro
11768
11769Patch 7.3.240
11770Problem: External commands can't use pipes on MS-Windows.
11771Solution: Implement pipes and use them when 'shelltemp' isn't set. (Vincent
11772 Berthoux)
11773Files: src/eval.c, src/ex_cmds.c, src/misc2.c, src/os_unix.c,
11774 src/os_win32.c, src/proto/misc2.pro, src/ui.c
11775
11776Patch 7.3.241
11777Problem: Using CTRL-R CTRL-W on the command line may insert only part of
11778 the word.
11779Solution: Use the cursor position instead of assuming it is at the end of
11780 the command. (Tyru)
11781Files: src/ex_getln.c
11782
11783Patch 7.3.242
11784Problem: Illegal memory access in after_pathsep().
11785Solution: Check that the pointer is not at the start of the file name.
11786 (Dominique Pelle)
11787Files: src/misc2.c
11788
11789Patch 7.3.243
11790Problem: Illegal memory access in readline().
11791Solution: Swap the conditions. (Dominique Pelle)
11792Files: src/eval.c
11793
11794Patch 7.3.244
11795Problem: MS-Windows: Build problem with old compiler. (John Beckett)
11796Solution: Only use HandleToLong() when available. (Mike Williams)
11797Files: src/gui_w32.c
11798
11799Patch 7.3.245
11800Problem: Python 3.2 libraries not correctly detected.
11801Solution: Add the suffix to the library name. (Niclas Zeising)
11802Files: src/auto/configure, src/configure.in
11803
11804Patch 7.3.246 (after 7.3.235)
11805Problem: Repeating "f4" in "4444" skips one 4.
11806Solution: Check the t_cmd flag. (Christian Brabandt)
11807Files: src/search.c
11808
11809Patch 7.3.247
11810Problem: Running tests changes the users viminfo file. Test for patch
11811 7.3.246 missing.
11812Solution: Add "nviminfo" to the 'viminfo' option. Include the test.
11813Files: src/testdir/test78.in, src/testdir/test81.in
11814
11815Patch 7.3.248
11816Problem: PC Install instructions missing install instructions.
11817Solution: Step-by-step explanation. (Michael Soyka)
11818Files: src/INSTALLpc.txt
11819
11820Patch 7.3.249
11821Problem: Wrong indenting for array initializer.
11822Solution: Detect '}' in a better way. (Lech Lorens)
11823Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
11824
11825Patch 7.3.250
11826Problem: Python: Errors in Unicode characters not handled nicely.
11827Solution: Add the surrogateescape error handler. (lilydjwg)
11828Files: src/if_python3.c
11829
11830Patch 7.3.251
11831Problem: "gH<Del>" deletes the current line, except when it's the last
11832 line.
11833Solution: Set the "include" flag to indicate the last line is to be deleted.
11834Files: src/normal.c, src/ops.c
11835
11836Patch 7.3.252 (after 7.3.247)
11837Problem: Tests fail. (David Northfield)
11838Solution: Add missing update for .ok file.
11839Files: src/testdir/test81.ok
11840
11841Patch 7.3.253
11842Problem: "echo 'abc' > ''" returns 0 or 1, depending on 'ignorecase'.
11843 Checks in mb_strnicmp() for illegal and truncated bytes are
11844 wrong. Should not assume that byte length is equal before case
11845 folding.
11846Solution: Add utf_safe_read_char_adv() and utf_strnicmp(). Add a test for
11847 this. (Ivan Krasilnikov)
11848Files: src/mbyte.c src/testdir/test82.in, src/testdir/test82.ok,
11849 src/testdir/Makefile, src/testdir/Make_amiga.mak,
11850 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
11851 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms
11852
11853Patch 7.3.254
11854Problem: The coladd field is not reset when setting the line number for a
11855 ":call" command.
11856Solution: Reset it.
11857Files: src/eval.c
11858
11859Patch 7.3.255
11860Problem: When editing a file such as "File[2010-08-15].vim" an E16 error is
11861 given. (Manuel Stol)
11862Solution: Don't give an error for failing to compile the regexp.
11863Files: src/ex_docmd.c, src/misc1.c, src/vim.h
11864
11865Patch 7.3.256
11866Problem: Javascript indenting not sufficiently tested.
11867Solution: Add more tests. (Luc Deschenaux) Mark the lines that are indented
11868 wrong.
11869Files: src/testdir/test3.in, src/testdir/test3.ok
11870
11871Patch 7.3.257
11872Problem: Not all completions are available to user commands.
11873Solution: Add "color", "compiler", "file_in_path" and "locale". (Dominique
11874 Pelle)
11875Files: src/ex_docmd.c, runtime/doc/map.txt
11876
11877Patch 7.3.258
11878Problem: MS-Windows: The edit with existing vim context menu entries can be
11879 unwanted.
11880Solution: Let a registry entry disable them. (Jerome Vuarand)
11881Files: src/GvimExt/gvimext.cpp
11882
11883Patch 7.3.259
11884Problem: Equivalence classes only work for latin characters.
11885Solution: Add the Unicode equivalence characters. (Dominique Pelle)
11886Files: runtime/doc/pattern.txt, src/regexp.c, src/testdir/test44.in,
11887 src/testdir/test44.ok
11888
11889Patch 7.3.260
11890Problem: CursorHold triggers on an incomplete mapping. (Will Gray)
11891Solution: Don't trigger CursorHold when there is typeahead.
11892Files: src/fileio.c
11893
11894Patch 7.3.261
Bram Moolenaar9ba7e172013-07-17 22:37:26 +020011895Problem: G++ error message erroneously recognized as error.
Bram Moolenaar913df812013-07-06 15:44:11 +020011896Solution: Ignore "In file included from" line also when it ends in a colon.
11897 (Fernando Castillo)
11898Files: src/option.h
11899
11900Patch 7.3.262
11901Problem: Photon code style doesn't match Vim style.
11902Solution: Clean up some of it. (Elias Diem)
11903Files: src/gui_photon.c
11904
11905Patch 7.3.263
11906Problem: Perl and Tcl have a few code style problems.
11907Solution: Clean it up. (Elias Diem)
11908Files: src/if_perl.xs, src/if_tcl.c
11909
11910Patch 7.3.264
11911Problem: When the current directory name contains wildcard characters, such
11912 as "foo[with]bar", the tags file can't be found. (Jeremy
11913 Erickson)
11914Solution: When searching for matching files also match without expanding
11915 wildcards. This is a bit of a hack.
11916Files: src/vim.h, src/misc1.c, src/misc2.c
11917
11918Patch 7.3.265
11919Problem: When storing a pattern in search history there is no proper check
11920 for the separator character.
11921Solution: Pass the separator character to in_history(). (Taro Muraoka)
11922Files: src/ex_getln.c
11923
11924Patch 7.3.266
11925Problem: In Gvim with iBus typing space in Insert mode doesn't work.
11926Solution: Clear xim_expected_char after checking it.
11927Files: src/mbyte.c
11928
11929Patch 7.3.267
11930Problem: Ruby on Mac OS X 10.7 may crash.
11931Solution: Avoid alloc(0). (Bjorn Winckler)
11932Files: src/if_ruby.c
11933
11934Patch 7.3.268
11935Problem: Vim freezes when executing an external command with zsh.
11936Solution: Use O_NOCTTY both in the master and slave. (Bjorn Winckler)
11937Files: src/os_unix.c
11938
11939Patch 7.3.269
11940Problem: 'shellcmdflag' only works with one flag.
11941Solution: Split into multiple arguments. (Gary Johnson)
11942Files: src/os_unix.c
11943
11944Patch 7.3.270
11945Problem: Illegal memory access.
11946Solution: Swap conditions. (Dominique Pelle)
11947Files: src/ops.c
11948
11949Patch 7.3.271
11950Problem: Code not following Vim coding style.
11951Solution: Fix the style. (Elias Diem)
11952Files: src/gui_photon.c
11953
11954Patch 7.3.272
11955Problem: ":put =list" does not add an empty line for a trailing empty
11956 item.
11957Solution: Add a trailing NL when turning a list into a string.
11958Files: src/eval.c
11959
11960Patch 7.3.273
11961Problem: A BOM in an error file is seen as text. (Aleksey Baibarin)
11962Solution: Remove the BOM from the text before evaluating. (idea by Christian
11963 Brabandt)
11964Files: src/quickfix.c, src/mbyte.c, src/proto/mbyte.pro,
11965 src/testdir/test10.in
11966
11967Patch 7.3.274
11968Problem: With concealed characters tabs do not have the right size.
11969Solution: Use VCOL_HLC instead of vcol. (Eiichi Sato)
11970Files: src/screen.c
11971
11972Patch 7.3.275
11973Problem: MS-Windows: When using a black background some screen updates
11974 cause the window to flicker.
11975Solution: Add WS_CLIPCHILDREN to CreateWindow(). (René Aguirre)
11976Files: src/gui_w32.c
11977
11978Patch 7.3.276
11979Problem: GvimExt sets $LANG in the wrong way.
11980Solution: Save the environment and use it for gvim. (Yasuhiro Matsumoto)
11981Files: src/GvimExt/gvimext.cpp
11982
11983Patch 7.3.277
11984Problem: MS-Windows: some characters do not show in dialogs.
11985Solution: Use the wide methods when available. (Yanwei Jia)
11986Files: src/gui_w32.c, src/gui_w48.c, src/os_mswin.c, src/os_win32.c,
11987 src/os_win32.h
11988
11989Patch 7.3.278
11990Problem: Passing the file name to open in VisVim doesn't work.
11991Solution: Adjust the index and check for end of buffer. (Jiri Sedlak)
11992Files: src/VisVim/Commands.cpp
11993
11994Patch 7.3.279
11995Problem: With GTK, when gvim is full-screen and a tab is opened and using a
11996 specific monitor configuration the window is too big.
11997Solution: Adjust the window size like on MS-Windows. (Yukihiro Nakadaira)
11998Files: src/gui.c, src/gui_gtk_x11.c, src/proto/gui_gtk_x11.pro
11999
12000Patch 7.3.280
12001Problem: ":lmake" does not update the quickfix window title.
12002Solution: Update the title. (Lech Lorens)
12003Files: src/quickfix.c, src/testdir/test10.in, src/testdir/test10.ok
12004
12005Patch 7.3.281
12006Problem: After using "expand('%:8')" the buffer name is changed.
12007Solution: Make a copy of the file name before shortening it.
12008Files: src/eval.c
12009
12010Patch 7.3.282
12011Problem: When using input() and :echo in a loop the displayed text is
12012 incorrect. (Benjamin Fritz)
12013Solution: Only restore the cursor position when there is a command line.
12014 (Ben Schmidt)
12015Files: src/ex_getln.c
12016
12017Patch 7.3.283
12018Problem: An expression mapping with a multi-byte character containing a
12019 0x80 byte gets messed up. (ZyX)
12020Solution: Unescape the expression before evaluating it (Yukihiro Nakadaira)
12021Files: src/getchar.c
12022
12023Patch 7.3.284
12024Problem: The str2special() function doesn't handle multi-byte characters
12025 properly.
12026Solution: Recognize multi-byte characters. (partly by Vladimir Vichniakov)
12027Files: src/getchar.c, src/message.c, src/misc2.c
12028
12029Patch 7.3.285 (after 7.3.284)
12030Problem: Mapping <Char-123> no longer works.
12031Solution: Properly check for "char-". Add a test for it.
12032Files: src/misc2.c, src/testdir/test75.in, src/testdir/test75.ok
12033
12034Patch 7.3.286
12035Problem: Crash when using "zd" on a large number of folds. (Sam King)
12036Solution: Recompute pointer after reallocating array. Move fewer entries
12037 when making room.
12038Files: src/fold.c
12039
12040Patch 7.3.287
12041Problem: Can't compile with MSVC and tiny options.
12042Solution: Move variables and #ifdefs. (Sergey Khorev)
12043Files: src/os_win32.c
12044
12045Patch 7.3.288
12046Problem: has('python') may give an error message for not being able to load
12047 the library after using python3.
12048Solution: Only give the error when the verbose argument is true.
12049Files: src/if_python.c, src/if_python3.c
12050
12051Patch 7.3.289
12052Problem: Complete function isn't called when the leader changed.
12053Solution: Call ins_compl_restart() when the leader changed. (Taro Muraoka)
12054Files: src/edit.c
12055
12056Patch 7.3.290
12057Problem: When a BufWriteCmd autocommand resets 'modified' this doesn't
12058 change older buffer states to be marked as 'modified' like
12059 ":write" does. (Yukihiro Nakadaira)
12060Solution: When the BufWriteCmd resets 'modified' then adjust the undo
12061 information like ":write" does.
12062Files: src/fileio.c
12063
12064Patch 7.3.291
12065Problem: Configure doesn't work properly with Python3.
12066Solution: Put -ldl before $LDFLAGS. Add PY3_NO_RTLD_GLOBAL. (Roland
12067 Puntaier)
12068Files: src/config.h.in, src/auto/configure, src/configure.in
12069
12070Patch 7.3.292
12071Problem: Crash when using fold markers and selecting a visual block that
12072 includes a folded line and goes to end of line. (Sam Lidder)
12073Solution: Check for the column to be MAXCOL. (James Vega)
12074Files: src/screen.c
12075
12076Patch 7.3.293
12077Problem: MSVC compiler has a problem with non-ASCII characters.
12078Solution: Avoid non-ASCII characters. (Hong Xu)
12079Files: src/ascii.h, src/spell.c
12080
12081Patch 7.3.294 (after 7.3.289)
12082Problem: Patch 289 causes more problems than it solves.
Bram Moolenaardd007ed2013-07-09 15:44:17 +020012083Solution: Revert the patch until a better solution is found.
Bram Moolenaar913df812013-07-06 15:44:11 +020012084Files: src/edit.c
12085
12086Patch 7.3.295
12087Problem: When filtering text with an external command Vim may not read all
12088 the output.
12089Solution: When select() is interrupted loop and try again. (James Vega)
12090Files: src/os_unix.c
12091
12092Patch 7.3.296
12093Problem: When writing to an external command a zombie process may be left
12094 behind.
12095Solution: Wait on the process. (James Vega)
12096Files: src/os_unix.c
12097
12098Patch 7.3.297
12099Problem: Can't load Perl 5.14 dynamically.
12100Solution: Add code in #ifdefs. (Charles Cooper)
12101Files: if_perl.xs
12102
12103Patch 7.3.298
12104Problem: Built-in colors are different from rgb.txt.
12105Solution: Adjust the color values. (Benjamin Haskell)
12106Files: src/gui_photon.c, src/gui_w48.c
12107
12108Patch 7.3.299
12109Problem: Source code not in Vim style.
12110Solution: Adjust the style. (Elias Diem)
12111Files: src/gui_photon.c
12112
12113Patch 7.3.300
12114Problem: Python doesn't parse multi-byte argument correctly.
12115Solution: Use "t" instead of "s". (lilydjwg)
12116Files: src/if_py_both.h
12117
12118Patch 7.3.301
12119Problem: When 'smartindent' and 'copyindent' are set a Tab is used even
12120 though 'expandtab' is set.
12121Solution: Do not insert Tabs. Add a test. (Christian Brabandt)
12122Files: src/misc1.c, src/testdir/test19.in, src/testdir/test19.ok
12123
12124Patch 7.3.302 (after 7.3.301)
12125Problem: Test 19 fails without 'smartindent' and +eval.
12126Solution: Don't use ":exe". Source small.vim.
12127Files: src/testdir/test19.in
12128
12129Patch 7.3.303 (after 7.3.296)
12130Problem: Compilation error.
12131Solution: Correct return type from int to pid_t. (Danek Duvall)
12132Files: src/os_unix.c
12133
12134Patch 7.3.304
12135Problem: Strawberry Perl doesn't work on MS-Windows.
12136Solution: Use xsubpp if needed. (Yasuhiro Matsumoto)
12137Files: src/Make_ming.mak, src/Make_mvc.mak
12138
12139Patch 7.3.305
12140Problem: Auto-loading a function while editing the command line causes
12141 scrolling up the display.
12142Solution: Don't set msg_scroll when defining a function and the user is not
12143 typing. (Yasuhiro Matsumoto)
12144Files: src/eval.c
12145
12146Patch 7.3.306
12147Problem: When closing a window there is a chance that deleting a scrollbar
12148 triggers a GUI resize, which uses the window while it is not in a
12149 valid state.
12150Solution: Set the buffer pointer to NULL to be able to detect the invalid
12151 situation. Fix a few places that used the buffer pointer
12152 incorrectly.
12153Files: src/buffer.c, src/ex_cmds.c, src/term.c, src/window.c
12154
12155Patch 7.3.307
12156Problem: Python 3 doesn't support slice assignment.
12157Solution: Implement slices. (Brett Overesch, Roland Puntaier)
12158Files: src/if_python3.c
12159
12160Patch 7.3.308
12161Problem: Writing to 'verbosefile' has problems, e.g. for :highlight.
12162Solution: Do not use a separate verbose_write() function but write with the
12163 same code that does redirecting. (Yasuhiro Matsumoto)
12164Files: src/message.c
12165
12166Patch 7.3.309 (after 7.3.307)
12167Problem: Warnings for pointer types.
12168Solution: Change PySliceObject to PyObject.
12169Files: src/if_python3.c
12170
12171Patch 7.3.310
12172Problem: Code not following Vim style.
12173Solution: Fix the style. (Elias Diem)
12174Files: src/gui_photon.c
12175
12176Patch 7.3.311 (replaces 7.3.289)
12177Problem: Complete function isn't called when the leader changed.
12178Solution: Allow the complete function to return a dictionary with a flag
12179 that indicates ins_compl_restart() is to be called when the leader
12180 changes. (Taro Muraoka)
12181Files: runtime/insert.txt, src/edit.c, src/eval.c, src/proto/eval.pro
12182
12183Patch 7.3.312 (after 7.3.306)
12184Problem: Can't compile with tiny features.
12185Solution: Add #ifdef around win_valid().
12186Files: src/buffer.c
12187
Bram Moolenaare2db6952013-07-24 19:53:36 +020012188Patch 7.3.313 (after 7.3.307)
Bram Moolenaar913df812013-07-06 15:44:11 +020012189Problem: One more warning when compiling with dynamic Python 3.
12190Solution: Change PySliceObject to PyObject.
12191Files: src/if_python3.c
12192
12193Patch 7.3.314 (after 7.3.304)
12194Problem: Missing parenthesis.
12195Solution: Add it. (Benjamin R. Haskell)
12196Files: src/Make_mvc.mak
12197
12198Patch 7.3.315
12199Problem: Opening a window before forking causes problems for GTK.
12200Solution: Fork first, create the window in the child and report back to the
12201 parent process whether it worked. If successful the parent exits,
12202 if unsuccessful the child exits and the parent continues in the
12203 terminal. (Tim Starling)
12204Files: src/gui.c
12205
12206Patch 7.3.316 (after 7.3.306)
12207Problem: Crash when 'colorcolumn' is set and closing buffer.
12208Solution: Check for w_buffer to be NULL. (Yasuhiro Matsumoto)
12209Files: src/option.c
12210
12211Patch 7.3.317
12212Problem: Calling debug.debug() in Lua may cause Vim to hang.
12213Solution: Add a better debug method. (Rob Hoelz, Luis Carvalho)
12214Files: src/if_lua.c
12215
12216Patch 7.3.318
12217Problem: "C" on the last line deletes that line if it's blank.
12218Solution: Only delete the last line for a delete operation. (James Vega)
12219Files: src/ops.c
12220
12221Patch 7.3.319 (after 7.3.311)
12222Problem: Redobuff doesn't always include changes of the completion leader.
12223Solution: Insert backspaces as needed. (idea by Taro Muraoka)
12224Files: src/edit.c
12225
12226Patch 7.3.320
12227Problem: When a 0xa0 character is in a sourced file the error message for
12228 unrecognized command does not show the problem.
12229Solution: Display 0xa0 as <a0>.
12230Files: src/ex_docmd.c
12231
12232Patch 7.3.321
12233Problem: Code not following Vim style.
12234Solution: Fix the style. (Elias Diem)
12235Files: src/os_qnx.c
12236
12237Patch 7.3.322
12238Problem: #ifdef for PDP_RETVAL doesn't work, INT_PTR can be a typedef.
12239Solution: Check the MSC version and 64 bit flags. (Sergiu Dotenco)
12240Files: src/os_mswin.c
12241
12242Patch 7.3.323
12243Problem: The default 'errorformat' does not ignore some "included from"
12244 lines.
12245Solution: Add a few more patterns. (Ben Boeckel)
12246Files: src/option.h
12247
12248Patch 7.3.324 (after 7.3.237)
12249Problem: Completion for ":compiler" shows color scheme names.
12250Solution: Fix the directory name. (James Vega)
12251Files: src/ex_getln.c
12252
12253Patch 7.3.325
12254Problem: A duplicated function argument gives an internal error.
12255Solution: Give a proper error message. (based on patch by Tyru)
12256Files: src/eval.c
12257
12258Patch 7.3.326
12259Problem: MingW 4.6 no longer supports the -mno-cygwin option.
12260Solution: Split the Cygwin and MingW makefiles. (Matsushita Shougo)
12261Files: src/GvimExt/Make_cyg.mak, src/GvimExt/Make_ming.mak,
12262 src/Make_cyg.mak, src/Make_ming.mak, src/xxd/Make_ming.mak,
12263 Filelist
12264
12265Patch 7.3.327
12266Problem: When jumping to a help tag a closed fold doesn't open.
12267Solution: Save and restore KeyTyped. (Yasuhiro Matsumoto)
12268Files: src/ex_cmds.c
12269
12270Patch 7.3.328
12271Problem: When command line wraps the cursor may be displayed wrong when
12272 there are multi-byte characters.
12273Solution: Position the cursor before drawing the text. (Yasuhiro Matsumoto)
12274Files: src/ex_getln.c
12275
12276Patch 7.3.329
12277Problem: When skipping over code from ":for" to ":endfor" get an error for
12278 calling a dict function. (Yasuhiro Matsumoto)
12279Solution: Ignore errors when skipping over :call command.
12280Files: src/ex_docmd.c, src/eval.c
12281
12282Patch 7.3.330
12283Problem: When longjmp() is invoked if the X server gives an error the state
12284 is not properly restored.
12285Solution: Reset vgetc_busy. (Yukihiro Nakadaira)
12286Files: src/main.c
12287
12288Patch 7.3.331
12289Problem: "vit" selects wrong text when a tag name starts with the same text
12290 as an outer tag name. (Ben Fritz)
12291Solution: Add "\>" to the pattern to check for word boundary.
12292Files: src/search.c
12293
12294Patch 7.3.332 (after 7.3.202)
12295Problem: Indent after "public:" is not increased in C++ code. (Lech Lorens)
12296Solution: Check for namespace after the regular checks. (partly by Martin
12297 Gieseking)
12298Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
12299
12300Patch 7.3.333
12301Problem: Using "." to repeat a Visual delete counts the size in bytes, not
12302 characters. (Connor Lane Smith)
12303Solution: Store the virtual column numbers instead of byte positions.
12304Files: src/normal.c
12305
12306Patch 7.3.334
12307Problem: Latest MingW about XSUBPP referencing itself. (Gongqian Li)
12308Solution: Rename the first use to XSUBPPTRY.
12309Files: src/Make_ming.mak
12310
12311Patch 7.3.335
12312Problem: When 'imdisable' is reset from an autocommand in Insert mode it
12313 doesn't take effect.
12314Solution: Call im_set_active() in Insert mode. (Taro Muraoka)
12315Files: src/option.c
12316
12317Patch 7.3.336
12318Problem: When a tags file specifies an encoding different from 'enc' it
12319 may hang and using a pattern doesn't work.
12320Solution: Convert the whole line. Continue reading the header after the
12321 SORT tag. Add test83. (Yukihiro Nakadaira)
12322Files: src/tag.c, src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
12323 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
12324 src/testdir/Make_vms.mms, src/testdir/Makefile,
12325 src/testdir/test83-tags2, src/testdir/test83-tags3,
12326 src/testdir/test83.in, src/testdir/test83.ok
12327
12328Patch 7.3.337 (after 7.3.295)
12329Problem: Screen doesn't update after resizing the xterm until a character
12330 is typed.
12331Solution: When the select call is interrupted check do_resize. (Taylor
12332 Hedberg)
12333Files: src/os_unix.c
12334
12335Patch 7.3.338
12336Problem: Using getchar() in an expression mapping doesn't work well.
12337Solution: Don't save and restore the typeahead. (James Vega)
12338Files: src/getchar.c, src/testdir/test34.ok
12339
12340Patch 7.3.339
12341Problem: "make shadow" doesn't link all test files.
12342Solution: Add a line in Makefile and Filelist.
12343Files: src/Makefile, Filelist
12344
12345Patch 7.3.340
12346Problem: When 'verbosefile' is set ftplugof.vim can give an error.
12347Solution: Only remove filetypeplugin autocommands when they exist. (Yasuhiro
12348 Matsumoto)
12349Files: runtime/ftplugof.vim
12350
12351Patch 7.3.341
12352Problem: Local help files are only listed in help.txt, not in translated
12353 help files.
12354Solution: Also find translated help files. (Yasuhiro Matsumoto)
12355Files: src/ex_cmds.c
12356
12357Patch 7.3.342
12358Problem: Code not in Vim style.
12359Solution: Fix the style. (Elias Diem)
12360Files: src/os_amiga.c, src/os_mac_conv.c, src/os_win16.c
12361
12362Patch 7.3.343
12363Problem: No mouse support for urxvt.
12364Solution: Implement urxvt mouse support, also for > 252 columns. (Yiding
12365 Jia)
12366Files: src/feature.h, src/keymap.h, src/option.h, src/os_unix.c,
12367 src/term.c, src/version.c
12368
12369Patch 7.3.344
12370Problem: Problem with GUI startup related to XInitThreads.
12371Solution: Use read() and write() instead of fputs() and fread(). (James
12372 Vega)
12373Files: src/gui.c
12374
12375Patch 7.3.345
12376Problem: When switching language with ":lang" the window title doesn't
12377 change until later.
12378Solution: Update the window title right away. (Dominique Pelle)
12379Files: src/ex_cmds2.c
12380
12381Patch 7.3.346
12382Problem: It's hard to test netbeans commands.
12383Solution: Process netbeans commands after :sleep. (Xavier de Gaye)
12384Files: runtime/doc/netbeans.txt, src/ex_docmd.c, src/netbeans.c
12385
12386Patch 7.3.347
12387Problem: When dropping text from a browser on Vim it receives HTML even
12388 though "html" is excluded from 'clipboard'. (Andrei Avk)
12389Solution: Fix the condition for TARGET_HTML.
12390Files: src/gui_gtk_x11.c
12391
12392Patch 7.3.348
12393Problem: "call range(1, 947948399)" causes a crash. (ZyX)
12394Solution: Avoid a loop in the out of memory message.
12395Files: src/misc2.c
12396
12397Patch 7.3.349
12398Problem: When running out of memory during startup trying to open a
12399 swapfile will loop forever.
12400Solution: Let findswapname() set dirp to NULL if out of memory.
12401Files: src/memline.c
12402
12403Patch 7.3.350
12404Problem: Block of code after ":lua << EOF" may not work. (Paul Isambert)
12405Solution: Recognize the ":lua" command, skip to EOF.
12406Files: src/eval.c
12407
12408Patch 7.3.351
12409Problem: Text formatting uses start of insert position when it should not.
12410 (Peter Wagenaar)
12411Solution: Do not use Insstart when intentionally formatting.
12412Files: src/edit.c
12413
12414Patch 7.3.352
12415Problem: When completing methods dict functions and script-local functions
12416 get in the way.
12417Solution: Sort function names starting with "<" to the end. (Yasuhiro
12418 Matsumoto)
12419Files: src/ex_getln.c
12420
12421Patch 7.3.353 (after 7.3.343)
12422Problem: Missing part of the urxvt patch.
12423Solution: Add the change in term.c
12424Files: src/term.c
12425
12426Patch 7.3.354
12427Problem: ":set backspace+=eol" doesn't work when 'backspace' has a
12428 backwards compatible value of 2.
12429Solution: Convert the number to a string. (Hirohito Higashi)
12430Files: src/option.c
12431
12432Patch 7.3.355
12433Problem: GTK warnings when using netrw.vim. (Ivan Krasilnikov)
12434Solution: Do not remove the beval event handler twice.
12435Files: src/option.c
12436
12437Patch 7.3.356
12438Problem: Using "o" with 'cindent' set may freeze Vim. (lolilolicon)
12439Solution: Skip over {} correctly. (Hari G)
12440Files: src/misc1.c
12441
12442Patch 7.3.357
12443Problem: Compiler warning in MS-Windows console build.
12444Solution: Adjust return type of PrintHookProc(). (Mike Williams)
12445Files: src/os_mswin.c
12446
12447Patch 7.3.358 (after 7.3.353)
12448Problem: Mouse support doesn't work properly.
12449Solution: Add HMT_URXVT. (lilydjwg, James McCoy)
12450Files: src/term.c
12451
12452Patch 7.3.359
12453Problem: Command line completion shows dict functions.
12454Solution: Skip dict functions for completion. (Yasuhiro Matsumoto)
12455Files: src/eval.c
12456
12457Patch 7.3.360
12458Problem: Interrupting the load of an autoload function may cause a crash.
12459Solution: Do not use the hashitem when not valid. (Yukihiro Nakadaira)
12460Files: src/eval.c
12461
12462Patch 7.3.361
12463Problem: Accessing memory after it is freed when EXITFREE is defined.
12464Solution: Don't access curwin when firstwin is NULL. (Dominique Pelle)
12465Files: src/buffer.c
12466
12467Patch 7.3.362
12468Problem: ml_get error when using ":g" with folded lines.
12469Solution: Adjust the line number for changed_lines(). (Christian Brabandt)
12470Files: src/ex_cmds.c
12471
12472Patch 7.3.363
12473Problem: C indenting is wrong after #endif followed by a semicolon.
12474Solution: Add special handling for a semicolon in a line by itself. (Lech
12475 Lorens)
12476Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
12477
12478Patch 7.3.364 (after 7.3.353)
12479Problem: Can't compile on HP-UX. (John Marriott)
12480Solution: Only use TTYM_URXVT when it is defined.
12481Files: src/term.c
12482
12483Patch 7.3.365
12484Problem: Crash when using a large Unicode character in a file that has
12485 syntax highlighting. (ngollan)
12486Solution: Check for going past the end of the utf tables. (Dominique Pelle)
12487Files: src/mbyte.c
12488
12489Patch 7.3.366
12490Problem: A tags file with an extremely long name causes errors.
12491Solution: Ignore tags that are too long. (Arno Renevier)
12492Files: src/tag.c
12493
12494Patch 7.3.367
12495Problem: :wundo and :rundo use a wrong checksum.
12496Solution: Include the last line when computing the hash. (Christian Brabandt)
12497Files: src/undo.c
12498
12499Patch 7.3.368
12500Problem: Gcc complains about redefining _FORTIFY_SOURCE.
12501Solution: Undefine it before redefining it.
12502Files: src/Makefile, src/configure.in, src/auto/configure
12503
12504Patch 7.3.369
12505Problem: When compiled with Gnome get an error message when using --help.
12506Solution: Don't fork. (Ivan Krasilnikov)
12507Files: src/main.c
12508
12509Patch 7.3.370
12510Problem: Compiler warns for unused variable in Lua interface.
12511Solution: Remove the variable.
12512Files: src/if_lua.c
12513
12514Patch 7.3.371
12515Problem: Crash in autocomplete. (Greg Weber)
12516Solution: Check not going over allocated buffer size.
12517Files: src/misc2.c
12518
12519Patch 7.3.372
12520Problem: When using a command line mapping to <Up> with file name
12521 completion to go one directory up, 'wildchar' is inserted.
12522 (Yasuhiro Matsumoto)
12523Solution: Set the KeyTyped flag.
12524Files: src/ex_getln.c
12525
12526Patch 7.3.373 (after 7.3.366)
12527Problem: A tags file with an extremely long name may cause an infinite loop.
12528Solution: When encountering a long name switch to linear search.
12529Files: src/tag.c
12530
12531Patch 7.3.374
12532Problem: ++encoding does not work properly.
12533Solution: Recognize ++encoding before ++enc. (Charles Cooper)
12534Files: src/ex_docmd.c
12535
12536Patch 7.3.375
12537Problem: Duplicate return statement.
12538Solution: Remove the superfluous one. (Dominique Pelle)
12539Files: src/gui_mac.c
12540
12541Patch 7.3.376
12542Problem: Win32: Toolbar repainting does not work when the mouse pointer
12543 hovers over a button.
12544Solution: Call DefWindowProc() when not handling an event. (Sergiu Dotenco)
12545Files: src/gui_w32.c
12546
12547Patch 7.3.377
12548Problem: No support for bitwise AND, OR, XOR and invert.
12549Solution: Add and(), or(), invert() and xor() functions.
12550Files: src/eval.c, src/testdir/test49.in, src/testdir/test65.in,
12551 src/testdir/test65.ok, runtime/doc/eval.txt
12552
12553Patch 7.3.378
12554Problem: When cross-compiling the check for uint32_t fails.
12555Solution: Only give a warning message. (Maksim Melnikau)
12556Files: src/configure.in, src/auto/configure
12557
12558Patch 7.3.379
12559Problem: C-indenting wrong for static enum.
12560Solution: Skip over "static". (Lech Lorens)
12561Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
12562
12563Patch 7.3.380
12564Problem: C-indenting wrong for a function header.
12565Solution: Skip to the start paren. (Lech Lorens)
12566Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
12567
12568Patch 7.3.381
12569Problem: Configure silently skips interfaces that won't work.
12570Solution: Add the --enable-fail_if_missing argument. (Shlomi Fish)
12571Files: src/Makefile, src/configure.in, src/auto/configure
12572
12573Patch 7.3.382 (after 7.3.376)
12574Problem: IME characters are inserted twice.
12575Solution: Do not call DefWindowProc() if the event was handled. (Yasuhiro
12576 Matsumoto)
12577Files: src/gui_w32.c
12578
12579Patch 7.3.383
12580Problem: For EBCDIC pound sign is defined as 't'.
12581Solution: Correctly define POUND.
12582Files: src/ascii.h
12583
12584Patch 7.3.384
12585Problem: Mapping CTRL-K in Insert mode breaks CTRL-X CTRL-K for dictionary
12586 completion.
12587Solution: Add CTRL-K to the list of recognized keys. (James McCoy)
12588Files: src/edit.c
12589
12590Patch 7.3.385
12591Problem: When using an expression mapping on the command line the cursor
12592 ends up in the wrong place. (Yasuhiro Matsumoto)
12593Solution: Save and restore msg_col and msg_row when evaluating the
12594 expression.
12595Files: src/getchar.
12596
12597Patch 7.3.386
12598Problem: Test 83 fails when iconv does not support cp932. (raf)
12599Solution: Test if conversion works. (Yukihiro Nakadaira)
12600Files: src/testdir/test83.in
12601
12602Patch 7.3.387 (after 7.3.386)
12603Problem: Test 83 may fail for some encodings.
12604Solution: Set 'encoding' to utf-8 earlier.
12605Files: src/testdir/test83.in
12606
12607Patch 7.3.388
12608Problem: Crash on exit when EXITFREE is defined and using tiny features.
12609Solution: Check for NULL window pointer. (Dominique Pelle)
12610Files: src/buffer.c
12611
12612Patch 7.3.389
12613Problem: After typing at a prompt the "MORE" message appears too soon.
12614Solution: reset lines_left in msg_end_prompt(). (Eswald)
12615Files: src/message.c
12616
12617Patch 7.3.390
12618Problem: Using NULL buffer pointer in a window.
12619Solution: Check for w_buffer being NULL in more places. (Bjorn Winckler)
12620Files: src/ex_cmds.c, src/quickfix.c, src/window.c
12621
12622Patch 7.3.391
12623Problem: Can't check if the XPM_W32 feature is enabled.
12624Solution: Add xpm_w32 to the list of features. (kat)
12625Files: src/eval.c
12626
12627Patch 7.3.392
12628Problem: When setting 'undofile' while the file is already loaded but
12629 unchanged, try reading the undo file. (Andy Wokula)
12630Solution: Compute a checksum of the text when 'undofile' is set. (Christian
12631 Brabandt)
12632Files: src/option.c, src/testdir/test72.in, src/testdir/test72.ok
12633
12634Patch 7.3.393
12635Problem: Win32: When resizing Vim it is always moved to the primary monitor
12636 if the secondary monitor is on the left.
12637Solution: Use the nearest monitor. (Yukihiro Nakadaira)
12638Files: src/gui_w32.c
12639
12640Patch 7.3.394
12641Problem: When placing a mark while starting up a screen redraw messes up
12642 the screen. (lith)
12643Solution: Don't redraw while still starting up. (Christian Brabandt)
12644Files: src/screen.c
12645
12646Patch 7.3.395 (after 7.3.251)
12647Problem: "dv?bar" in the last line deletes too much and breaks undo.
12648Solution: Only adjust the cursor position when it's after the last line of
12649 the buffer. Add a test. (Christian Brabandt)
12650Files: src/ops.c, src/testdir/test43.in, src/testdir/test43.ok
12651
12652Patch 7.3.396
12653Problem: After forcing an operator to be characterwise it can still become
12654 linewise when spanning whole lines.
12655Solution: Don't make the operator linewise when motion_force was set.
12656 (Christian Brabandt)
12657Files: src/ops.c
12658
12659Patch 7.3.397
12660Problem: ":helpgrep" does not work properly when 'encoding' is not utf-8 or
12661 latin1.
12662Solution: Convert non-ascii lines to 'encoding'. (Yasuhiro Matsumoto)
12663Files: src/quickfix.c, src/spell.c, src/misc2.c, src/proto/misc2.pro
12664
12665Patch 7.3.398
12666Problem: When creating more than 10 location lists and adding items one by
12667 one a previous location may be used. (Audrius Kažukauskas)
12668Solution: Clear the location list completely when adding the tenth one.
12669Files: src/quickfix.c
12670
12671Patch 7.3.399
12672Problem: ":cd" doesn't work when the path contains wildcards. (Yukihiro
12673 Nakadaira)
12674Solution: Ignore wildcard errors when the EW_NOTWILD flag is used.
12675Files: src/misc1.c
12676
12677Patch 7.3.400
12678Problem: Compiler warnings for shadowed variables.
12679Solution: Remove or rename the variables.
12680Files: src/charset.c, src/digraph.c, src/edit.c, src/eval.c, src/fold.c,
12681 src/getchar.c, src/message.c, src/misc2.c, src/move.c,
12682 src/netbeans.c, src/option.c, src/os_unix.c, src/screen.c,
12683 src/search.c, src/spell.c, src/syntax.c, src/tag.c, src/window.c
12684
12685Patch 7.3.401
12686Problem: A couple more shadowed variables.
12687Solution: Rename the variables.
12688Files: src/netbeans.c
12689
12690Patch 7.3.402
12691Problem: When jumping to the first error a line of the buffer is sometimes
12692 redrawn on top of the list of errors.
12693Solution: Do not call update_topline_redraw() if the display was scrolled
12694 up.
12695Files: src/quickfix.c
12696
12697Patch 7.3.403
12698Problem: ":helpgrep" does not trigger QuickFixCmd* autocommands.
12699Solution: Trigger the autocommands. (Christian Brabandt)
12700Files: src/quickfix.c
12701
12702Patch 7.3.404
12703Problem: When a complete function uses refresh "always" redo will not work
12704 properly.
12705Solution: Do not reset compl_leader when compl_opt_refresh_always is set.
12706 (Yasuhiro Matsumoto)
12707Files: src/edit.c
12708
12709Patch 7.3.405
12710Problem: When xterm gets back the function keys it may delete the urxvt
12711 mouse termcap code.
12712Solution: Check for the whole code, not just the start. (Egmont Koblinger)
12713Files: src/keymap.h, src/misc2.c, src/term.c
12714
12715Patch 7.3.406
12716Problem: Multi-byte characters in b:browsefilter are not handled correctly.
12717Solution: First use convert_filter() normally and then convert to wide
12718 characters. (Taro Muraoka)
12719Files: src/gui_w48.c
12720
12721Patch 7.3.407
12722Problem: ":12verbose call F()" may duplicate text while trying to truncate.
12723 (Thinca)
12724Solution: Only truncate when there is not enough room. Also check the byte
12725 length of the buffer.
12726Files: src/buffer.c, src/eval.c, src/ex_getln.c, src/message.c,
12727 src/proto/message.pro
12728
12729Patch 7.3.408 (after 7.3.406)
12730Problem: Missing declaration.
12731Solution: Add the declaration. (John Marriott)
12732Files: src/gui_w48.c
12733
12734Patch 7.3.409
12735Problem: The license in pty.c is unclear.
12736Solution: Add a comment about the license.
12737Files: src/pty.c
12738
12739Patch 7.3.410
12740Problem: Compiler error for // comment. (Joachim Schmitz)
12741Solution: Turn into /* comment */.
12742Files: src/message.c
12743
12744Patch 7.3.411
12745Problem: Pasting in Visual mode using the "" register does not work. (John
12746 Beckett)
12747Solution: Detect that the write is overwriting the pasted register.
12748 (Christian Brabandt)
12749Files: src/normal.c
12750
12751Patch 7.3.412
12752Problem: Storing a float in a session file has an additional '&'.
12753Solution: Remove the '&'. (Yasuhiro Matsumoto)
12754Files: src/eval.c
12755
12756Patch 7.3.413
12757Problem: Build warnings on MS-Windows.
12758Solution: Add type casts. (Mike Williams)
12759Files: src/ex_getln.c, src/message.c, src/term.c
12760
12761Patch 7.3.414
12762Problem: Using CTRL-A on "000" drops the leading zero, while on "001" it
12763 doesn't.
12764Solution: Detect "000" as an octal number. (James McCoy)
12765Files: src/charset.c
12766
12767Patch 7.3.415 (after 7.3.359)
12768Problem: Completion of functions stops once a dictionary is encountered.
12769 (James McCoy)
12770Solution: Return an empty string instead of NULL.
12771Files: src/eval.c
12772
12773Patch 7.3.416 (after 7.3.415)
12774Problem: Compiler warning for wrong pointer.
12775Solution: Add type cast.
12776Files: src/eval.c
12777
12778Patch 7.3.417 (after 7.3.395)
12779Problem: Test 43 fails with a tiny build.
12780Solution: Only run test 43 with at least a small build.
12781Files: src/testdir/test43.in
12782
12783Patch 7.3.418
12784Problem: When a user complete function returns -1 an error message is
12785 given.
12786Solution: When -2 is returned stop completion silently. (Yasuhiro Matsumoto)
12787Files: src/edit.
12788
12789Patch 7.3.419
12790Problem: DBCS encoding in a user command does not always work.
12791Solution: Skip over DBCS characters. (Yasuhiro Matsumoto)
12792Files: src/ex_docmd.c
12793
12794Patch 7.3.420
12795Problem: "it" and "at" don't work properly with a dash in the tag name.
12796Solution: Require a space to match the tag name. (Christian Brabandt)
12797Files: src/search.c
12798
12799Patch 7.3.421
12800Problem: Get E832 when setting 'undofile' in vimrc and there is a file to
12801 be edited on the command line. (Toothpik)
12802Solution: Do not try reading the undo file for a file that wasn't loaded.
12803Files: src/option.c
12804
12805Patch 7.3.422
12806Problem: Python 3 does not have __members__.
12807Solution: Add "name" and "number" in another way. (lilydjwg)
12808Files: src/if_py_both.h, src/if_python3.c
12809
12810Patch 7.3.423
12811Problem: Small mistakes in comments, proto and indent.
12812Solution: Fix the mistakes.
12813Files: src/ex_cmds2.c, src/structs.h, src/ui.c, src/proto/ex_docmd.pro
12814
12815Patch 7.3.424
12816Problem: Win16 version missing some functions.
12817Solution: Add #defines for the functions.
12818Files: src/gui_w16.c
12819
12820Patch 7.3.425 (after 7.3.265)
12821Problem: Search history lines are duplicated. (Edwin Steiner)
12822Solution: Convert separator character from space to NUL.
12823Files: src/ex_getln.c
12824
12825Patch 7.3.426
12826Problem: With '$' in 'cpoptions' the $ is not displayed in the first
12827 column.
12828Solution: Use -1 instead of 0 as a special value. (Hideki Eiraku and
12829 Hirohito Higashi)
12830Files: src/edit.c, src/globals.h, src/move.c, src/screen.c, src/search.c
12831
12832Patch 7.3.427
12833Problem: readfile() can be slow with long lines.
12834Solution: Use realloc() instead of alloc(). (John Little)
12835Files: src/eval.c
12836
12837Patch 7.3.428
12838Problem: Win32: an xpm file without a mask crashes Vim.
12839Solution: Fail when the mask is missing. (Dave Bodenstab)
12840Files: src/xpm_w32.c
12841
12842Patch 7.3.429
12843Problem: When 'cpoptions' includes "E" "c0" in the first column is an
Bram Moolenaardd007ed2013-07-09 15:44:17 +020012844 error. The redo register is then set to the erroneous command.
Bram Moolenaar913df812013-07-06 15:44:11 +020012845Solution: Do not set the redo register if the command fails because of an
12846 empty region. (Hideki Eiraku)
12847Files: src/getchar.c, src/normal.c, src/proto/getchar.pro
12848
12849Patch 7.3.430
12850Problem: When a custom filetype detection uses "augroup END" the conf
12851 fileytpe detection does not have the filetypedetect group.
12852Solution: Always end the group and include filetypedetect in the conf
12853 autocommand. (Lech Lorens)
12854Files: runtime/filetype.vim
12855
12856Patch 7.3.431
12857Problem: Fetching a key at a prompt may be confused by escape sequences.
12858 Especially when getting a prompt at a VimEnter autocommand.
12859 (Alex Efros)
12860Solution: Properly handle escape sequences deleted by check_termcode().
12861Files: src/getchar.c, src/misc1.c, src/term.c, src/proto/term.pro
12862
12863Patch 7.3.432
12864Problem: ACLs are not supported for ZFS or NFSv4 on Solaris.
12865Solution: Add configure check and code. (Danek Duvall)
12866Files: src/configure.in, src/auto/configure, src/config.h.in,
12867 src/os_unix.c
12868
12869Patch 7.3.433
12870Problem: Using continued lines in a Vim script can be slow.
12871Solution: Instead of reallocating for every line use a growarray. (Yasuhiro
12872 Matsumoto)
12873Files: src/ex_cmds2.c
12874
12875Patch 7.3.434
12876Problem: Using join() can be slow.
12877Solution: Compute the size of the result before allocation to avoid a lot of
12878 allocations and copies. (Taro Muraoka)
12879Files: src/eval.c
12880
12881Patch 7.3.435
12882Problem: Compiler warning for unused variable.
12883Solution: Move the variable inside #ifdef.
12884Files: src/ex_cmds2.c
12885
12886Patch 7.3.436
12887Problem: Compiler warnings for types on Windows.
12888Solution: Add type casts. (Mike Williams)
12889Files: src/eval.c
12890
12891Patch 7.3.437
12892Problem: Continue looping inside FOR_ALL_TAB_WINDOWS even when already done.
12893Solution: Use goto instead of break. (Hirohito Higashi)
12894Files: src/fileio.c, src/globals.h
12895
12896Patch 7.3.438
12897Problem: There is no way to avoid ":doautoall" reading modelines.
12898Solution: Add the <nomodeline> argument. Adjust documentation.
12899Files: src/fileio.c, runtime/doc/autocmd.txt
12900
12901Patch 7.3.439
12902Problem: Compiler warnings to size casts in Perl interface.
12903Solution: Use XS macros. (James McCoy)
12904Files: src/if_perl.xs, src/typemap
12905
12906Patch 7.3.440
12907Problem: Vim does not support UTF8_STRING for the X selection.
12908Solution: Add UTF8_STRING atom support. (Alex Efros) Use it only when
12909 'encoding' is set to Unicode.
12910Files: src/ui.c
12911
12912Patch 7.3.441
12913Problem: Newer versions of MzScheme (Racket) require earlier (trampolined)
12914 initialisation.
12915Solution: Call mzscheme_main() early in main(). (Sergey Khorev)
12916Files: src/Make_mvc.mak, src/if_mzsch.c, src/main.c,
12917 src/proto/if_mzsch.pro
12918
12919Patch 7.3.442 (after 7.3.438)
12920Problem: Still read modelines for ":doautocmd".
12921Solution: Move check for <nomodeline> to separate function.
12922Files: src/fileio.c, src/ex_docmd.c, src/proto/fileio.pro,
12923 runtime/doc/autocmd.txt
12924
12925Patch 7.3.443
12926Problem: MS-Windows: 'shcf' and 'shellxquote' defaults are not very good.
12927Solution: Make a better guess when 'shell' is set to "cmd.exe". (Ben Fritz)
12928Files: src/option.c, runtime/doc/options.txt
12929
12930Patch 7.3.444
12931Problem: ":all!" and ":sall!" give error E477, even though the
12932 documentation says these are valid commands.
12933Solution: Support the exclamation mark. (Hirohito Higashi)
12934Files: src/ex_cmds.h, src/testdir/test31.in, src/testdir/test31.ok
12935
12936Patch 7.3.445 (after 7.3.443)
12937Problem: Can't properly escape commands for cmd.exe.
12938Solution: Default 'shellxquote' to '('. Append ')' to make '(command)'.
12939 No need to use "/s" for 'shellcmdflag'.
12940Files: src/misc2.c, src/option.c, src/os_win32.c
12941
12942Patch 7.3.446 (after 7.3.445)
12943Problem: Win32: External commands with special characters don't work.
12944Solution: Add the 'shellxescape' option.
12945Files: src/misc2.c, src/option.c, src/option.h, runtime/doc/options.txt
12946
12947Patch 7.3.447 (after 7.3.446)
12948Problem: Win32: External commands with "start" do not work.
12949Solution: Unescape part of the command. (Yasuhiro Matsumoto)
12950Files: src/os_win32.c
12951
12952Patch 7.3.448 (after 7.3.447)
12953Problem: Win32: Still a problem with "!start /b".
12954Solution: Escape only '|'. (Yasuhiro Matsumoto)
12955Files: src/os_win32.c
12956
12957Patch 7.3.449
12958Problem: Crash when a BufWinLeave autocommand closes the only other window.
12959 (Daniel Hunt)
12960Solution: Abort closing a buffer when it becomes the only one.
12961Files: src/buffer.c, src/proto/buffer.pro, src/ex_cmds.c, src/ex_getln.c,
12962 src/misc2.c, src/quickfix.c, src/window.c, src/proto/window.pro
12963
12964Patch 7.3.450 (after 7.3.448)
12965Problem: Win32: Still a problem with "!start /b".
12966Solution: Fix pointer use. (Yasuhiro Matsumoto)
12967Files: src/os_win32.c
12968
12969Patch 7.3.451
12970Problem: Tcl doesn't work on 64 MS-Windows.
12971Solution: Make it work. (Dave Bodenstab)
12972Files: src/Make_mvc.mak, src/if_tcl.c
12973
12974Patch 7.3.452
12975Problem: Undo broken when pasting close to the last line. (Andrey Radev)
12976Solution: Use a flag to remember if the deleted included the last line.
12977 (Christian Brabandt)
12978Files: src/ops.c
12979
12980Patch 7.3.453
12981Problem: Pasting in the command line is slow.
12982Solution: Don't redraw if there is another character to read. (Dominique
12983 Pelle)
12984Files: src/ex_getln.c
12985
12986Patch 7.3.454
12987Problem: Re-allocating memory slows Vim down.
12988Solution: Use realloc() in ga_grow(). (Dominique Pelle)
12989Files: src/misc2.c
12990
12991Patch 7.3.455
12992Problem: Using many continuation lines can be slow.
12993Solution: Adjust the reallocation size to the current length.
12994Files: src/ex_cmds2.c
12995
12996Patch 7.3.456
12997Problem: ":tab drop file" has several problems, including moving the
12998 current window and opening a new tab for a file that already has a
12999 window.
13000Solution: Refactor ":tab drop" handling. (Hirohito Higashi)
13001Files: src/buffer.c, src/testdir/test62.in, src/testdir/test62.ok
13002
13003Patch 7.3.457
13004Problem: When setting $VIMRUNTIME later the directory for fetching
13005 translated messages is not adjusted.
13006Solution: Put bindtextdomain() in vim_setenv().
13007Files: src/misc1.c
13008
13009Patch 7.3.458
13010Problem: Crash when calling smsg() during startup.
13011Solution: Don't use 'shortmess' when it is not set yet.
13012Files: src/option.c
13013
13014Patch 7.3.459
13015Problem: Win32: Warnings for type conversion.
13016Solution: Add type casts. (Mike Williams)
13017Files: src/misc2.c, src/os_win32.c
13018
13019Patch 7.3.460
13020Problem: Win32: UPX does not compress 64 bit binaries.
13021Solution: Mention and add the alternative: mpress. (Dave Bodenstab)
13022Files: src/INSTALLpc.txt, src/Make_ming.mak
13023
13024Patch 7.3.461
13025Problem: The InsertCharPre autocommand event is not triggered during
13026 completion and when typing several characters quickly.
13027Solution: Also trigger InsertCharPre during completion. Do not read ahead
13028 when an InsertCharPre autocommand is defined. (Yasuhiro Matsumoto)
13029Files: src/edit.c, src/fileio.c, src/proto/fileio.pro
13030
13031Patch 7.3.462
13032Problem: When using ":loadview" folds may be closed unexpectedly.
13033Solution: Take into account foldlevel. (Xavier de Gaye)
13034Files: src/fold.c
13035
13036Patch 7.3.463
13037Problem: When using ":s///c" the cursor is moved away from the match.
13038 (Lawman)
13039Solution: Don't move the cursor when do_ask is set. (Christian Brabandt)
13040Files: src/ex_cmds.c
13041
13042Patch 7.3.464
13043Problem: Compiler warning for sprintf.
13044Solution: Put the length in a variable. (Dominique Pelle)
13045Files: src/version.c
13046
13047Patch 7.3.465
13048Problem: Cannot get file name with newline from glob().
13049Solution: Add argument to glob() and expand() to indicate they must return a
13050 list. (Christian Brabandt)
13051Files: runtime/doc/eval.txt, src/eval.c, src/ex_getln.c, src/vim.h
13052
13053Patch 7.3.466
13054Problem: Get ml_get error hen ":behave mswin" was used and selecting
13055 several lines. (A. Sinan Unur)
13056Solution: Adjust the end of the operation. (Christian Brabandt)
13057Files: src/ops.c
13058
13059Patch 7.3.467
13060Problem: Cursor positioned wrong at the command line when regaining focus
13061 and using some input method.
13062Solution: Do not position the cursor in command line mode.
13063Files: src/mbyte.c
13064
13065Patch 7.3.468
13066Problem: For some compilers the error file is not easily readable.
13067Solution: Use QuickFixCmdPre for more commands. (Marcin Szamotulski)
13068Files: runtime/doc/autocmd.txt, src/quickfix.c
13069
13070Patch 7.3.469
13071Problem: Compiler warning for unused argument without some features.
13072Solution: Add UNUSED.
13073Files: src/buffer.c
13074
13075Patch 7.3.470
13076Problem: Test 62 fails when compiled without GUI and X11.
13077Solution: Don't test :drop when it is not supported.
13078Files: src/testdir/test62.in
13079
13080Patch 7.3.471
13081Problem: Can't abort listing placed signs.
13082Solution: Check "got_int". (Christian Brabandt)
13083Files: src/buffer.c, src/ex_cmds.c
13084
13085Patch 7.3.472
13086Problem: Crash when using ":redraw" in a BufEnter autocommand and
13087 switching to another tab. (驼峰)
Bram Moolenaardd007ed2013-07-09 15:44:17 +020013088Solution: Move triggering the autocommands to after correcting the
Bram Moolenaar913df812013-07-06 15:44:11 +020013089 option values. Also check the row value to be out of bounds.
13090 (Christian Brabandt, Sergey Khorev)
13091Files: src/screen.c, src/window.c
13092
13093Patch 7.3.473
13094Problem: 'cursorbind' does not work correctly in combination with
13095 'virtualedit' set to "all".
13096Solution: Copy coladd. (Gary Johnson)
13097Files: src/move.c
13098
13099Patch 7.3.474
13100Problem: Perl build with gcc 4 fails.
13101Solution: Remove XS() statements. (Yasuhiro Matsumoto)
13102Files: src/if_perl.xs
13103
13104Patch 7.3.475
13105Problem: In a terminal with few colors the omnicomplete menu may be hard to
13106 see when using the default colors.
13107Solution: Use more explicit colors. (suggested by Alex Henrie)
13108Files: src/syntax.c
13109
13110Patch 7.3.476
13111Problem: When selecting a block, using "$" to include the end of each line
13112 and using "A" and typing a backspace strange things happen.
13113 (Yuangchen Xie)
13114Solution: Avoid using a negative length. (Christian Brabandt)
13115Files: src/ops.c
13116
13117Patch 7.3.477
13118Problem: Using ":echo" to output enough lines to scroll, then using "j" and
13119 "k" at the more prompt, displays the command on top of the output.
13120 (Marcin Szamotulski)
13121Solution: Put the output below the command. (Christian Brabandt)
13122Files: src/eval.c
13123
13124Patch 7.3.478
13125Problem: Memory leak using the ':rv!' command when reading dictionary or
13126 list global variables i.e. with 'viminfo' containing !.
13127Solution: Free the typeval. (Dominique Pelle)
13128Files: src/eval.c
13129
13130Patch 7.3.479
13131Problem: When 'cursorline' is set the line number highlighting can't be set
13132 separately.
13133Solution: Add "CursorLineNr". (Howard Buchholz)
13134Files: src/option.c, src/screen.c, src/syntax.c, src/vim.h
13135
13136Patch 7.3.480
13137Problem: When using ":qa" and there is a changed buffer picking the buffer
13138 to jump to is not very good.
13139Solution: Consider current and other tab pages. (Hirohito Higashi)
13140Files: src/ex_cmds2.c
13141
13142Patch 7.3.481
13143Problem: Changing 'virtualedit' in an operator function to "all" does not
13144 have the desired effect. (Aaron Bohannon)
13145Solution: Save, reset and restore virtual_op when executing an operator
13146 function.
13147Files: src/normal.c
13148
13149Patch 7.3.482
13150Problem: With 'cursorbind' set moving up/down does not always keep the same
13151 column.
13152Solution: Set curswant appropriately. (Gary Johnson)
13153Files: src/move.c
13154
13155Patch 7.3.483 (after 7.3.477)
13156Problem: More prompt shows up too often.
13157Solution: Instead of adding a line break, only start a new line in the
13158 message history. (Christian Brabandt)
13159Files: src/eval.c, src/message.c, src/proto/message.pro
13160
13161Patch 7.3.484
13162Problem: The -E and --echo-wid command line arguments are not mentioned in
13163 "vim --help".
13164Solution: Add the help lines. (Dominique Pelle)
13165Files: src/main.c
13166
13167Patch 7.3.485
13168Problem: When building Vim LDFLAGS isn't passed on to building xxd.
13169Solution: Pass the LDFLAGS value. (James McCoy)
13170Files: src/Makefile
13171
13172Patch 7.3.486
13173Problem: Build error with mingw64 on Windows 7.
13174Solution: Avoid the step of going through vimres.res. (Guopeng Wen)
13175Files: src/Make_ming.mak
13176
13177Patch 7.3.487
13178Problem: When setting 'timeoutlen' or 'ttimeoutlen' the column for vertical
13179 movement is reset unnecessarily.
13180Solution: Do not set w_set_curswant for every option. Add a test for this.
13181 (Kana Natsuno) Add the P_CURSWANT flag for options.
13182Files: src/option.c, src/testdir/test84.in, src/testdir/test84.ok,
13183 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
13184 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
13185 src/testdir/Make_vms.mms, src/testdir/Makefile
13186
13187Patch 7.3.488
13188Problem: ":help!" in a help file does not work as documented.
13189Solution: When in a help file don't give an error message. (thinca)
13190Files: src/ex_cmds.c
13191
13192Patch 7.3.489
13193Problem: CTRL-] in Insert mode does not expand abbreviation when used in a
13194 mapping. (Yichao Zhou)
13195Solution: Special case using CTRL-]. (Christian Brabandt)
13196Files: src/getchar.c, src/edit.c
13197
13198Patch 7.3.490
13199Problem: Member confusion in Lua interface.
13200Solution: Fix it. Add luaeval(). (Taro Muraoka, Luis Carvalho)
13201Files: runtime/doc/if_lua.txt, src/eval.c, src/if_lua.c,
13202 src/proto/if_lua.pro
13203
13204Patch 7.3.491
13205Problem: No tests for Lua.
13206Solution: Add some simple tests for Lua. (Luis Carvalho)
13207Files: src/testdir/test1.in, src/testdir/test85.in, src/testdir/test85.ok
13208 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
13209 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
13210 src/testdir/Make_vms.mms, src/testdir/Makefile
13211
13212Patch 7.3.492
13213Problem: Can't indent conditions separately from function arguments.
Bram Moolenaardd007ed2013-07-09 15:44:17 +020013214Solution: Add the 'k' flag in 'cino'. (Lech Lorens)
Bram Moolenaar913df812013-07-06 15:44:11 +020013215Files: runtime/doc/indent.txt, src/misc1.c, src/testdir/test3.in,
13216 src/testdir/test3.ok
13217
13218Patch 7.3.493 (after 7.3.492)
13219Problem: Two unused variables.
13220Solution: Remove them. (Hong Xu)
13221Files: src/misc1.c
13222
13223Patch 7.3.494 (after 7.3.491)
Bram Moolenaardd007ed2013-07-09 15:44:17 +020013224Problem: Can't compile with Lua 5.1 or dynamic Lua.
Bram Moolenaar913df812013-07-06 15:44:11 +020013225Solution: Fix dll_ methods. Fix luado(). (Muraoka Taro, Luis Carvalho)
13226Files: src/if_lua.c
13227
13228Patch 7.3.495 (after 7.3.492)
13229Problem: Compiler warnings.
13230Solution: Add function declaration. Remove "offset" argument.
13231Files: src/misc1.c
13232
13233Patch 7.3.496
13234Problem: MS-DOS: When "diff" trips over difference in line separators some
13235 tests fail.
13236Solution: Make some .ok files use unix line separators. (David Pope)
13237Files: src/testdir/Make_dos.mak, src/testdir/Make_ming.mak
13238
13239Patch 7.3.497
13240Problem: Crash when doing ":python print" and compiled with gcc and
13241 the optimizer enabled.
13242Solution: Avoid the crash, doesn't really fix the problem. (Christian
13243 Brabandt)
13244Files: src/if_py_both.h
13245
13246Patch 7.3.498
13247Problem: The behavior of the "- register changes depending on value of
13248 the 'clipboard' option. (Szamotulski)
13249Solution: Also set the "- register when the register is "*" or "+".
13250 (Christian Brabandt)
13251Files: src/ops.c
13252
13253Patch 7.3.499
13254Problem: When using any interface language when Vim is waiting for a child
13255 process it gets confused by a child process started through the
13256 interface.
13257Solution: Always used waitpid() instead of wait(). (Yasuhiro Matsumoto)
13258Files: src/os_unix.c
13259
13260Patch 7.3.500
13261Problem: Ming makefile unconditionally sets WINVER.
13262Solution: Only defined when not already defined. (Yasuhiro Matsumoto)
13263Files: src/Make_ming.mak
13264
13265Patch 7.3.501
13266Problem: Error for "flush" not being defined when using Ruby command.
13267Solution: Defined "flush" as a no-op method. (Kent Sibilev)
13268Files: src/if_ruby.c
13269
13270Patch 7.3.502
13271Problem: Netbeans insert halfway a line actually appends to the line.
13272Solution: Insert halfway the line. (Brian Victor)
13273Files: src/netbeans.c
13274
13275Patch 7.3.503 (after 7.3.501)
13276Problem: Warning for unused argument.
13277Solution: Add UNUSED.
13278Files: src/if_ruby.c
13279
13280Patch 7.3.504
13281Problem: Commands in help files are not highlighted.
13282Solution: Allow for commands in backticks. Adjust CTRL-] to remove the
13283 backticks.
13284Files: src/ex_cmds.c
13285
13286Patch 7.3.505
13287Problem: Test 11 fails on MS-Windows in some versions.
13288Solution: Fix #ifdefs for whether filtering through a pipe is possible. Move
13289 setting b_no_eol_lnum back to where it was before patch 7.3.124.
13290 (David Pope)
13291Files: src/feature.h, src/eval.c, src/ex_cmds.c, src/fileio.c
13292
13293Patch 7.3.506
13294Problem: GTK gives an error when selecting a non-existent file.
13295Solution: Add a handler to avoid the error. (Christian Brabandt)
13296Files: src/gui_gtk.c
13297
13298Patch 7.3.507
13299Problem: When exiting with unsaved changes, selecting an existing file in
13300 the file dialog, there is no dialog to ask whether the existing
13301 file should be overwritten. (Felipe G. Nievinski)
13302Solution: Call check_overwrite() before writing. (Christian Brabandt)
13303Files: src/ex_cmds.c, src/ex_cmds2.c, src/proto/ex_cmds.pro
13304
13305Patch 7.3.508
13306Problem: Default for v:register is not set.
13307Solution: Init v:register in eval_init(). Correct for 'clipboard' before the
13308 main loop. (Ingo Karkat)
13309Files: src/eval.c, src/main.c
13310
13311Patch 7.3.509
13312Problem: ":vimgrep" fails when 'autochdir' is set.
13313Solution: A more generic solution for changing directory. (Ben Fritz)
13314Files: src/quickfix.c
13315
13316Patch 7.3.510
13317Problem: Test 77 fails on Solaris 7. (Michael Soyka)
13318Solution: Replace any tabs with spaces.
13319Files: src/testdir/test77.in
13320
13321Patch 7.3.511
13322Problem: Using a FileReadCmd autocommand that does ":e! {file}" may cause a
13323 crash. (Christian Brabandt)
13324Solution: Properly restore curwin->w_s.
13325Files: src/fileio.c
13326
13327Patch 7.3.512
13328Problem: undofile() returns a useless name when passed an empty string.
13329Solution: Return an empty string. (Christian Brabandt)
13330Files: src/eval.c
13331
13332Patch 7.3.513
13333Problem: Cannot use CTRL-E and CTRL-Y with "r".
13334Solution: Make CTRL-E and CTRL-Y work like in Insert mode. (Christian
13335 Brabandt)
13336Files: src/edit.c, src/normal.c, src/proto/edit.pro
13337
13338Patch 7.3.514
13339Problem: No completion for :history command.
13340Solution: Add the completion and update the docs. Also fix ":behave"
13341 completion. (Dominique Pelle)
13342Files: runtime/doc/cmdline.txt, runtime/doc/map.txt, src/ex_docmd.c,
13343 src/ex_getln.c, src/vim.h
13344
13345Patch 7.3.515
13346Problem: 'wildignorecase' only applies to the last part of the path.
13347Solution: Also ignore case for letters earlier in the path.
13348Files: src/misc1.c
13349
13350Patch 7.3.516
13351Problem: extend(o, o) may crash Vim.
13352Solution: Fix crash and add test. (Thinca and Hirohito Higashi)
13353Files: src/eval.c, src/testdir/test55.in, src/testdir/test55.ok
13354
13355Patch 7.3.517
13356Problem: Crash when using "vipvv". (Alexandre Provencio)
13357Solution: Don't let the text length become negative.
13358Files: src/ops.c
13359
13360Patch 7.3.518
13361Problem: When 'encoding' is a double-byte encoding ":helptags" may not find
13362 tags correctly.
13363Solution: Use vim_strbyte() instead of vim_strchr(). (Yasuhiro Matsumoto)
13364Files: src/ex_cmds.c
13365
13366Patch 7.3.519
13367Problem: When completefunction returns it cannot indicate end of completion
13368 mode.
13369Solution: Recognize completefunction returning -3. (Matsushita Shougo)
13370Files: src/edit.c
13371
13372Patch 7.3.520
Bram Moolenaardd007ed2013-07-09 15:44:17 +020013373Problem: Gvim starts up slow on Ubuntu 12.04.
Bram Moolenaar913df812013-07-06 15:44:11 +020013374Solution: Move the call to gui_mch_init_check() to after fork(). (Yasuhiro
13375 Matsumoto) Do check $DISPLAY being set.
13376Files: src/gui.c, src/gui_gtk_x11.c, src/proto/gui_gtk_x11.pro
13377
13378Patch 7.3.521
13379Problem: Using "z=" on a multi-byte character may cause a crash.
13380Solution: Don't use strlen() on an int pointer.
13381Files: src/spell.c
13382
13383Patch 7.3.522
13384Problem: Crash in vim_realloc() when using MEM_PROFILE.
13385Solution: Avoid using a NULL argument. (Dominique Pelle)
13386Files: src/eval.c
13387
13388Patch 7.3.523
13389Problem: ":diffupdate" doesn't check for files changed elsewhere.
13390Solution: Add the ! flag. (Christian Brabandt)
13391Files: runtime/doc/diff.txt, src/diff.c, src/ex_cmds.h
13392
13393Patch 7.3.524 (after 7.3.523)
13394Problem: Missing comma.
13395Solution: Add the comma.
13396Files: src/version.c
13397
13398Patch 7.3.525
13399Problem: Compiler warning on 64 bit MS-Windows.
13400Solution: Add type cast. (Mike Williams)
13401Files: src/ex_getln.c
13402
13403Patch 7.3.526
13404Problem: Confusing indenting for #ifdef.
13405Solution: Remove and add indent. (Elias Diem)
13406Files: src/normal.c
13407
13408Patch 7.3.527
13409Problem: Clang complains about non-ASCII characters in a string.
13410Solution: Change to \x88 form. (Dominique Pelle)
13411Files: src/charset.c
13412
13413Patch 7.3.528
13414Problem: Crash when closing last window in a tab. (Alex Efros)
13415Solution: Use common code in close_last_window_tabpage(). (Christian
13416 Brabandt)
13417Files: src/window.c
13418
13419Patch 7.3.529
13420Problem: Using a count before "v" and "V" does not work (Kikyous)
13421Solution: Make the count select that many characters or lines. (Christian
13422 Brabandt)
13423Files: src/normal.c
13424
13425Patch 7.3.530 (after 7.3.520)
13426Problem: Gvim does not work when 'guioptions' includes "f". (Davido)
13427Solution: Call gui_mch_init_check() when running GUI in the foreground.
13428 (Yasuhiro Matsumoto)
13429Files: src/gui.c
13430
13431Patch 7.3.531 (after 7.3.530)
13432Problem: GUI does not work on MS-Windows.
13433Solution: Add the missing #ifdef. (Patrick Avery)
13434Files: src/gui.c
13435
13436Patch 7.3.532
13437Problem: Compiler warning from Clang.
13438Solution: Use a different way to point inside a string. (Dominique Pelle)
13439Files: src/syntax.c
13440
13441Patch 7.3.533
13442Problem: Memory leak when writing undo file.
13443Solution: Free the ACL. (Dominique Pelle)
13444Files: src/undo.c
13445
13446Patch 7.3.534 (after 7.3.461)
13447Problem: When using an InsertCharPre autocommand autoindent fails.
13448Solution: Proper handling of v:char. (Alexey Radkov)
13449Files: src/edit.c
13450
13451Patch 7.3.535
13452Problem: Many #ifdefs for MB_MAXBYTES.
13453Solution: Also define MB_MAXBYTES without the +multi_byte feature. Fix
13454 places where the buffer didn't include space for a NUL byte.
13455Files: src/arabic.c, src/edit.c, src/eval.c, src/getchar.c, src/mbyte.c,
13456 src/misc1.c, src/screen.c, src/spell.c, src/vim.h
13457
13458Patch 7.3.536
13459Problem: When spell checking the German sharp s is not seen as a word
13460 character. (Aexl Bender)
13461Solution: In utf_islower() return true for the sharp s. Note: also need
13462 updated spell file for this to take effect.
13463Files: src/mbyte.c
13464
13465Patch 7.3.537
Bram Moolenaardd007ed2013-07-09 15:44:17 +020013466Problem: Unnecessary call to init_spell_chartab().
Bram Moolenaar913df812013-07-06 15:44:11 +020013467Solution: Delete the call.
13468Files: src/spell.c
13469
13470Patch 7.3.538
13471Problem: 'efm' does not handle Tabs in pointer lines.
13472Solution: Add Tab support. Improve tests. (Lech Lorens)
13473Files: src/quickfix.c, src/testdir/test10.in, src/testdir/test10.ok
13474
13475Patch 7.3.539
13476Problem: Redrawing a character on the command line does not work properly
Bram Moolenaardd007ed2013-07-09 15:44:17 +020013477 for multi-byte characters.
Bram Moolenaar913df812013-07-06 15:44:11 +020013478Solution: Count the number of bytes in a character. (Yukihiro Nakadaira)
13479Files: src/ex_getln.c
13480
13481Patch 7.3.540
13482Problem: Cursor is left on the text instead of the command line.
13483Solution: Don't call setcursor() in command line mode.
13484Files: src/getchar.c
13485
13486Patch 7.3.541
13487Problem: When joining lines comment leaders need to be removed manually.
13488Solution: Add the 'j' flag to 'formatoptions'. (Lech Lorens)
13489Files: runtime/doc/change.txt, src/edit.c, src/ex_docmd.c, src/misc1.c,
13490 src/normal.c, src/ops.c, src/option.h, src/proto/misc1.pro,
13491 src/proto/ops.pro, src/search.c, src/testdir/test29.in,
13492 src/testdir/test29.ok
13493
13494Patch 7.3.542 (after 7.3.506)
13495Problem: Function is sometimes unused.
13496Solution: Add #ifdef.
13497Files: src/gui_gtk.c
13498
13499Patch 7.3.543
13500Problem: The cursor is in the wrong line after using ":copen". (John
13501 Beckett)
13502Solution: Invoke more drastic redraw method.
13503Files: src/eval.c
13504
13505Patch 7.3.544
13506Problem: There is no good way to close a quickfix window when closing the
13507 last ordinary window.
13508Solution: Add the QuitPre autocommand.
13509Files: src/ex_docmd.c, src/fileio.c, src/vim.h
13510
13511Patch 7.3.545
13512Problem: When closing a window or buffer autocommands may close it too,
13513 causing problems for where the autocommand was invoked from.
13514Solution: Add the w_closing and b_closing flags. When set disallow ":q" and
13515 ":close" to prevent recursive closing.
13516Files: src/structs.h, src/buffer.c, src/ex_docmd.c, src/window.c
13517
13518Patch 7.3.546
13519Problem: Bogus line break.
13520Solution: Remove the line break.
13521Files: src/screen.c
13522
13523Patch 7.3.547 (after 7.3.541)
13524Problem: Compiler warning for uninitialized variable.
13525Solution: Initialize it.
13526Files: src/ops.c
13527
13528Patch 7.3.548
13529Problem: Compiler warning on 64 bit Windows.
13530Solution: Add type cast. (Mike Williams)
13531Files: src/ops.c
13532
13533Patch 7.3.549
13534Problem: In 'cinoptions' "0s" is interpreted as one shiftwidth. (David
13535 Pineau)
13536Solution: Use the zero as zero. (Lech Lorens)
13537Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
13538
13539Patch 7.3.550 (after 7.3.541)
13540Problem: With "j" in 'formatoptions' a list leader is not removed. (Gary
13541 Johnson)
13542Solution: Don't ignore the start of a three part comment. (Lech Lorens)
13543Files: src/ops.c, src/testdir/test29.in, src/testdir/test29.ok
13544
13545Patch 7.3.551
13546Problem: When using :tablose a TabEnter autocommand is triggered too early.
13547 (Karthick)
13548Solution: Don't trigger *Enter autocommands before closing the tab.
13549 (Christian Brabandt)
13550Files: src/buffer.c, src/eval.c, src/ex_cmds2.c, src/fileio.c,
13551 src/proto/window.pro, src/window.c
13552
13553Patch 7.3.552
13554Problem: Formatting inside comments does not use the "2" flag in
13555 'formatoptions'.
13556Solution: Support the "2" flag. (Tor Perkins)
13557Files: src/vim.h, src/ops.c, src/edit.c, src/misc1.c,
13558 src/testdir/test68.in, src/testdir/test68.ok
13559
13560Patch 7.3.553
13561Problem: With double-width characters and 'listchars' containing "precedes"
13562 the text is displayed one cell off.
13563Solution: Check for double-width character being overwritten by the
13564 "precedes" character. (Yasuhiro Matsumoto)
13565Files: src/screen.c
13566
13567Patch 7.3.554 (after 7.3.551)
13568Problem: Compiler warning for unused argument.
13569Solution: Add UNUSED.
13570Files: src/window.c
13571
13572Patch 7.3.555
13573Problem: Building on IBM z/OS fails.
13574Solution: Adjust configure. Use the QUOTESED value from config.mk instead of
13575 the hard coded one in Makefile. (Stephen Bovy)
13576Files: src/configure.in, src/auto/configure, src/Makefile
13577
13578Patch 7.3.556
13579Problem: Compiler warnings on 64 bit Windows.
13580Solution: Add type casts. (Mike Williams)
13581Files: src/misc1.c
13582
13583Patch 7.3.557
13584Problem: Crash when an autocommand wipes out a buffer when it is hidden.
13585Solution: Restore the current window when needed. (Christian Brabandt)
13586Files: src/buffer.c
13587
13588Patch 7.3.558
13589Problem: Memory access error. (Gary Johnson)
13590Solution: Allocate one more byte. (Dominique Pelle)
13591Files: src/misc1.c
13592
13593Patch 7.3.559
13594Problem: home_replace() does not work with 8.3 filename.
13595Solution: Make ":p" expand 8.3 name to full path. (Yasuhiro Matsumoto)
13596Files: src/eval.c, src/misc1.c
13597
13598Patch 7.3.560
13599Problem: Get an error for a locked argument in extend().
13600Solution: Initialize the lock flag for a dictionary. (Yukihiro Nakadaira)
13601Files: src/eval.c
13602
13603Patch 7.3.561
13604Problem: Using refresh: always in a complete function breaks the "."
13605 command. (Val Markovic)
13606Solution: Add match leader to the redo buffer. (Yasuhiro Matsumoto)
13607Files: src/edit.c
13608
13609Patch 7.3.562
13610Problem: ":profdel" should not work when the +profile feature is disabled.
13611Solution: Call ex_ni(). (Yasuhiro Matsumoto)
13612Files: src/ex_cmds2.c
13613
13614Patch 7.3.563 (after 7.3.557)
13615Problem: Can't build with tiny features.
13616Solution: Add #ifdef.
13617Files: src/buffer.c
13618
13619Patch 7.3.564 (after 7.3.559)
13620Problem: Warning for pointer conversion.
13621Solution: Add type cast.
13622Files: src/misc1.c
13623
13624Patch 7.3.565
13625Problem: Can't generate proto file for Python 3.
13626Solution: Add PYTHON3_CFLAGS to LINT_CFLAGS.
13627Files: src/Makefile
13628
13629Patch 7.3.566 (after 7.3.561)
13630Problem: Redo after completion does not work correctly when refresh: always
13631 is not used. (Raymond Ko)
13632Solution: Check the compl_opt_refresh_always flag. (Christian Brabandt)
13633Files: src/edit.c
13634
13635Patch 7.3.567
13636Problem: Missing copyright notice.
13637Solution: Add Vim copyright notice. (Taro Muraoka)
13638Files: src/dehqx.py
13639
13640Patch 7.3.568
13641Problem: Bad indents for #ifdefs.
13642Solution: Add and remove spaces. (Elias Diem)
13643Files: src/globals.h
13644
13645Patch 7.3.569
13646Problem: Evaluating Vim expression in Python is insufficient.
13647Solution: Add vim.bindeval(). Also add pyeval() and py3eval(). (ZyX)
13648Files: runtime/doc/eval.txt, runtime/doc/if_pyth.txt, src/eval.c,
13649 src/if_lua.c, src/if_py_both.h, src/if_python.c, src/if_python3.c,
13650 src/proto/eval.pro, src/proto/if_python.pro,
13651 src/proto/if_python3.pro, src/testdir/Make_amiga.mak,
13652 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
13653 src/testdir/Make_os2.mak, src/testdir/Makefile,
13654 src/testdir/test86.in, src/testdir/test86.ok,
13655 src/testdir/test87.in, src/testdir/test87.ok
13656
13657Patch 7.3.570
13658Problem: ":vimgrep" does not obey 'wildignore'.
13659Solution: Apply 'wildignore' and 'suffixes' to ":vimgrep". (Ingo Karkat)
13660Files: src/ex_cmds2.c, src/proto/ex_cmds2.pro, src/quickfix.c, src/spell.c
13661
13662Patch 7.3.571
13663Problem: Duplicated condition.
13664Solution: Remove one. (Dominique Pelle)
13665Files: src/os_win32.c
13666
13667Patch 7.3.572
13668Problem: Duplicate statement in if and else. (Dominique Pelle)
13669Solution: Remove the condition and add a TODO.
13670Files: src/gui_xmebw.c
13671
13672Patch 7.3.573
13673Problem: Using array index before bounds checking.
13674Solution: Swap the parts of the condition. (Dominique Pelle)
13675Files: src/ops.c
13676
13677Patch 7.3.574
13678Problem: When pasting a register in the search command line a CTRL-L
13679 character is not pasted. (Dominique Pelle)
13680Solution: Escape the CTRL-L. (Christian Brabandt)
13681Files: src/ex_getln.c
13682
13683Patch 7.3.575
13684Problem: "ygt" tries to yank instead of giving an error. (Daniel Mueller)
13685Solution: Check for a pending operator.
13686Files: src/normal.c
13687
13688Patch 7.3.576
13689Problem: Formatting of lists inside comments is not right yet.
13690Solution: Use another solution and add a test. (Tor Perkins)
13691Files: src/edit.c, src/misc1.c, src/testdir/test68.in,
13692 src/testdir/test69.ok
13693
13694Patch 7.3.577
13695Problem: Size of memory does not fit in 32 bit unsigned.
13696Solution: Use Kbyte instead of byte. Call GlobalMemoryStatusEx() instead of
13697 GlobalMemoryStatus() when available.
13698Files: src/misc2.c, src/option.c, src/os_amiga.c, src/os_msdos.c,
13699 src/os_win16.c, src/os_win32.c
13700
13701Patch 7.3.578
13702Problem: Misplaced declaration.
13703Solution: Move declaration to start of block.
13704Files: src/if_py_both.h
13705
13706Patch 7.3.579 (after 7.3.569)
13707Problem: Can't compile with Python 2.5.
13708Solution: Use PyCObject when Capsules are not available.
13709Files: src/if_py_both.h, src/if_python.c, src/if_python3.c
13710
13711Patch 7.3.580
13712Problem: Warning on 64 bit MS-Windows.
13713Solution: Add type cast. (Mike Williams)
13714Files: src/if_py_both.h
13715
13716Patch 7.3.581
13717Problem: Problems compiling with Python.
13718Solution: Pick UCS2 or UCS4 function at runtime. (lilydjwg)
13719Files: src/if_python.c
13720
13721Patch 7.3.582 (after 7.3.576)
13722Problem: Missing parts of the test OK file.
13723Solution: Add the missing parts.
13724Files: src/testdir/test68.ok
13725
13726Patch 7.3.583
13727Problem: PyObject_NextNotImplemented is not defined before Python 2.7.
13728 (Danek Duvall)
13729Solution: Add #ifdefs.
13730Files: src/if_python.c
13731
13732Patch 7.3.584
13733Problem: PyCObject is not always defined.
13734Solution: Use PyObject instead.
13735Files: src/if_py_both.h, src/if_python.c
13736
13737Patch 7.3.585
13738Problem: Calling changed_bytes() too often.
13739Solution: Move changed_bytes() out of a loop. (Tor Perkins)
13740Files: src/edit.c
13741
13742Patch 7.3.586
13743Problem: When compiling with Cygwin or MingW MEMORYSTATUSEX is not defined.
13744Solution: Set the default for WINVER to 0x0500.
13745Files: src/Make_ming.mak, src/Make_cyg.mak
13746
13747Patch 7.3.587
13748Problem: Compiler warning for local var shadowing global var.
13749Solution: Rename the var and move it to an inner block. (Christian Brabandt)
13750Files: src/buffer.c
13751
13752Patch 7.3.588
13753Problem: Crash on NULL pointer.
13754Solution: Fix the immediate problem by checking for NULL. (Lech Lorens)
13755Files: src/window.c
13756
13757Patch 7.3.589
13758Problem: Crash when $HOME is not set.
13759Solution: Check for a NULL pointer. (Chris Webb)
13760Files: src/misc1.c
13761
13762Patch 7.3.590
13763Problem: The '< and '> marks cannot be set directly.
13764Solution: Allow setting '< and '>. (Christian Brabandt)
13765Files: src/mark.c
13766
13767Patch 7.3.591
13768Problem: Can only move to a tab by absolute number.
13769Solution: Move a number of tabs to the left or the right. (Lech Lorens)
13770Files: runtime/doc/tabpage.txt, src/ex_cmds.h, src/ex_docmd.c,
13771 src/testdir/test62.in, src/testdir/test62.ok, src/window.c
13772
13773Patch 7.3.592
13774Problem: Vim on GTK does not support g:browsefilter.
13775Solution: Add a GtkFileFilter to the file chooser. (Christian Brabandt)
13776Files: src/gui_gtk.c
13777
13778Patch 7.3.593
13779Problem: No easy way to decide if b:browsefilter will work.
13780Solution: Add the browsefilter feature.
13781Files: src/gui_gtk.c, src/eval.c, src/vim.h
13782
13783Patch 7.3.594
13784Problem: The X command server doesn't work perfectly. It sends an empty
13785 reply for as-keys requests.
13786Solution: Remove duplicate ga_init2(). Do not send a reply for as-keys
13787 requests. (Brian Burns)
13788Files: src/if_xcmdsrv.c
13789
13790Patch 7.3.595
13791Problem: The X command server responds slowly
13792Solution: Change the loop that waits for replies. (Brian Burns)
13793Files: src/if_xcmdsrv.c
13794
13795Patch 7.3.596
13796Problem: Can't remove all signs for a file or buffer.
13797Solution: Support "*" for the sign id. (Christian Brabandt)
13798Files: runtime/doc/sign.txt, src/buffer.c, src/ex_cmds.c,
13799 src/proto/buffer.pro
13800
13801Patch 7.3.597
13802Problem: 'clipboard' "autoselect" only applies to the * register. (Sergey
13803 Vakulenko)
Bram Moolenaardd007ed2013-07-09 15:44:17 +020013804Solution: Make 'autoselect' work for the + register. (Christian Brabandt)
Bram Moolenaar913df812013-07-06 15:44:11 +020013805 Add the "autoselectplus" option in 'clipboard' and the "P" flag in
13806 'guioptions'.
13807Files: runtime/doc/options.txt, src/normal.c, src/ops.c, src/screen.c,
13808 src/ui.c, src/globals.h, src/proto/ui.pro, src/option.h, src/gui.c
13809
13810Patch 7.3.598
13811Problem: Cannot act upon end of completion. (Taro Muraoka)
13812Solution: Add an autocommand event that is triggered when completion has
13813 finished. (Idea by Florian Klein)
13814Files: src/edit.c, src/fileio.c, src/vim.h
13815
13816Patch 7.3.599 (after 7.3.597)
13817Problem: Missing change in one file.
13818Solution: Patch for changed clip_autoselect().
13819Files: src/option.c
13820
13821Patch 7.3.600
13822Problem: <f-args> is not expanded properly with DBCS encoding.
13823Solution: Skip over character instead of byte. (Yukihiro Nakadaira)
13824Files: src/ex_docmd.c
13825
13826Patch 7.3.601
13827Problem: Bad code style.
13828Solution: Insert space, remove parens.
13829Files: src/farsi.c
13830
13831Patch 7.3.602
13832Problem: Missing files in distribution.
13833Solution: Update the list of files.
13834Files: Filelist
13835
13836Patch 7.3.603
13837Problem: It is possible to add replace builtin functions by calling
13838 extend() on g:.
13839Solution: Add a flag to a dict to indicate it is a scope. Check for
13840 existing functions. (ZyX)
13841Files: src/buffer.c, src/eval.c, src/proto/eval.pro, src/structs.h,
13842 src/testdir/test34.in, src/testdir/test34.ok, src/window.c
13843
13844Patch 7.3.604
13845Problem: inputdialog() doesn't use the cancel argument in the console.
13846 (David Fishburn)
Bram Moolenaar9ba7e172013-07-17 22:37:26 +020013847Solution: Use the third argument. (Christian Brabandt)
Bram Moolenaar913df812013-07-06 15:44:11 +020013848Files: src/eval.c
13849
13850Patch 7.3.605 (after 7.3.577)
13851Problem: MS-Windows: Can't compile with older compilers. (Titov Anatoly)
13852Solution: Add #ifdef for MEMORYSTATUSEX.
13853Files: src/os_win32.c
13854
13855Patch 7.3.606
13856Problem: CTRL-P completion has a problem with multi-byte characters.
13857Solution: Check for next character being NUL properly. (Yasuhiro Matsumoto)
13858Files: src/search.c, src/macros.h
13859
13860Patch 7.3.607
13861Problem: With an 8 color terminal the selected menu item is black on black,
13862 because darkGrey as bg is the same as black.
13863Solution: Swap fg and bg colors. (James McCoy)
13864Files: src/syntax.c
13865
13866Patch 7.3.608
13867Problem: winrestview() does not always restore the view correctly.
13868Solution: Call win_new_height() and win_new_width(). (Lech Lorens)
13869Files: src/eval.c, src/proto/window.pro, src/window.c
13870
13871Patch 7.3.609
13872Problem: File names in :checkpath! output are garbled.
13873Solution: Check for \zs in the pattern. (Lech Lorens)
13874Files: src/search.c, src/testdir/test17.in, src/testdir/test17.ok
13875
13876Patch 7.3.610
13877Problem: Cannot operate on the text that a search pattern matches.
13878Solution: Add the "gn" and "gN" commands. (Christian Brabandt)
13879Files: runtime/doc/index.txt, runtime/doc/visual.txt, src/normal.c,
13880 src/proto/search.pro, src/search.c, src/testdir/test53.in,
13881 src/testdir/test53.ok
13882
13883Patch 7.3.611
13884Problem: Can't use Vim dictionary as self argument in Python.
13885Solution: Fix the check for the "self" argument. (ZyX)
13886Files: src/if_py_both.h
13887
13888Patch 7.3.612
13889Problem: Auto formatting messes up text when 'fo' contains "2". (ZyX)
13890Solution: Decrement "less_cols". (Tor Perkins)
13891Files: src/misc1.c, src/testdir/test68.in, src/testdir/test68.ok
13892
13893Patch 7.3.613
13894Problem: Including Python's config.c in the build causes trouble. It is
13895 not clear why it was there.
13896Solution: Omit the config file. (James McCoy)
13897Files: src/Makefile, src/auto/configure, src/configure.in
13898
13899Patch 7.3.614
13900Problem: Number argument gets turned into a number while it should be a
13901 string.
13902Solution: Add flag to the call_vim_function() call. (Yasuhiro Matsumoto)
13903Files: src/edit.c, src/eval.c, src/proto/eval.pro
13904
13905Patch 7.3.615
13906Problem: Completion for a user command does not recognize backslash before
13907 a space.
13908Solution: Recognize escaped characters. (Yasuhiro Matsumoto)
13909Files: src/ex_docmd.c
13910
13911Patch 7.3.616 (after 7.3.610)
13912Problem: Can't compile without +visual.
13913Solution: Add #ifdef.
13914Files: src/normal.c
13915
13916Patch 7.3.617 (after 7.3.615)
13917Problem: Hang on completion.
13918Solution: Skip over the space. (Yasuhiro Matsumoto)
13919Files: src/ex_docmd.c
13920
13921Patch 7.3.618 (after 7.3.616)
13922Problem: Still doesn't compile with small features.
13923Solution: Move current_search() out of #ifdef. (Dominique Pelle)
13924Files: src/normal.c, src/search.c
13925
13926Patch 7.3.619
13927Problem: When executing a shell command Vim may become slow to respond.
13928Solution: Don't wait after every processed message. (idea by Yasuhiro
13929 Matsumoto)
13930Files: src/os_win32.c
13931
13932Patch 7.3.620
13933Problem: Building with recent Ruby on Win32 doesn't work.
13934Solution: Add a separate argument for the API version. (Yasuhiro Matsumoto)
13935Files: src/Make_ming.mak, src/Make_mvc.mak
13936
13937Patch 7.3.621
13938Problem: Compiler warnings on 64 bit windows.
13939Solution: Add type casts. (Mike Williams)
13940Files: src/ex_docmd.c, src/search.c
13941
13942Patch 7.3.622
13943Problem: XPM library for Win32 can't be found.
13944Solution: Suggest using the one from the Vim ftp site.
13945Files: src/Make_mvc.mak
13946
13947Patch 7.3.623
13948Problem: Perl 5.14 commands crash Vim on MS-Windows.
13949Solution: Use perl_get_sv() instead of GvSV(). (Raymond Ko)
13950Files: src/if_perl.xs
13951
13952Patch 7.3.624
13953Problem: When cancelling input() it returns the third argument. That should
13954 only happen for inputdialog().
13955Solution: Check if inputdialog() was used. (Hirohito Higashi)
13956Files: src/eval.c
13957
13958Patch 7.3.625
13959Problem: "gn" does not handle zero-width matches correctly.
13960Solution: Handle zero-width patterns specially. (Christian Brabandt)
13961Files: src/search.c
13962
13963Patch 7.3.626
13964Problem: Python interface doesn't build with Python 2.4 or older.
13965Solution: Define Py_ssize_t. (Benjamin Bannier)
13966Files: src/if_py_both.h
13967
13968Patch 7.3.627
13969Problem: When using the "n" flag with the ":s" command a \= substitution
13970 will not be evaluated.
13971Solution: Do perform the evaluation, so that a function can be invoked at
13972 every matching position without changing the text. (Christian
13973 Brabandt)
13974Files: src/ex_cmds.c
13975
13976Patch 7.3.628
13977Problem: ":open" does not allow for a !, which results in a confusing error
13978 message. (Shawn Wilson)
13979Solution: Allow ! on ":open". (Christian Brabandt)
13980Files: src/ex_cmds.h
13981
13982Patch 7.3.629
13983Problem: There is no way to make 'shiftwidth' follow 'tabstop'.
13984Solution: When 'shiftwidth' is zero use the value of 'tabstop'. (Christian
13985 Brabandt)
13986Files: src/edit.c, src/ex_getln.c, src/fold.c, src/misc1.c, src/ops.c,
13987 src/option.c, src/proto/option.pro
13988
13989Patch 7.3.630
13990Problem: "|" does not behave correctly when 'virtualedit' is set.
13991Solution: Call validate_virtcol(). (David Bürgin)
13992Files: src/normal.c
13993
13994Patch 7.3.631
13995Problem: Cannot complete user names.
13996Solution: Add user name completion. (Dominique Pelle)
13997Files: runtime/doc/map.txt, src/auto/configure, src/config.h.in,
13998 src/configure.in, src/ex_docmd.c, src/ex_getln.c, src/misc1.c,
13999 src/misc2.c, src/proto/misc1.pro, src/vim.h
14000
14001Patch 7.3.632
14002Problem: Cannot select beyond 222 columns with the mouse in xterm.
14003Solution: Add support for SGR mouse tracking. (Hayaki Saito)
14004Files: runtime/doc/options.txt, src/feature.h, src/keymap.h, src/misc2.c,
14005 src/option.h, src/os_unix.c, src/term.c, src/version.c
14006
14007Patch 7.3.633
14008Problem: Selection remains displayed as selected after selecting another
14009 text.
14010Solution: Call xterm_update() before select(). (Andrew Pimlott)
14011Files: src/os_unix.c
14012
14013Patch 7.3.634
14014Problem: Month/Day format for undo is confusing. (Marcin Szamotulski)
14015Solution: Always use Year/Month/Day, should work for everybody.
14016Files: src/undo.c
14017
14018Patch 7.3.635
14019Problem: Issue 21: System call during startup sets 'lines' to a wrong
14020 value. (Karl Yngve)
14021Solution: Don't set the shell size while the GUI is still starting up.
14022 (Christian Brabandt)
14023Files: src/ui.c
14024
14025Patch 7.3.636 (after 7.3.625)
14026Problem: Not all zero-width matches handled correctly for "gn".
14027Solution: Move zero-width detection to a separate function. (Christian
14028 Brabandt)
14029Files: src/search.c
14030
14031Patch 7.3.637
14032Problem: Cannot catch the error caused by a foldopen when there is no fold.
14033 (ZyX, Issue 48)
14034Solution: Do not break out of the loop early when inside try/catch.
14035 (Christian Brabandt) Except when there is a syntax error.
14036Files: src/ex_docmd.c, src/globals.h
14037
14038Patch 7.3.638
Bram Moolenaardd007ed2013-07-09 15:44:17 +020014039Problem: Unnecessary redraw of the previous character.
Bram Moolenaar913df812013-07-06 15:44:11 +020014040Solution: Check if the character is double-width. (Jon Long)
14041Files: src/screen.c
14042
14043Patch 7.3.639
14044Problem: It's not easy to build Vim on Windows with XPM support.
14045Solution: Include the required files, they are quite small. Update the
14046 MSVC makefile to use them. Binary files are in the next patch.
14047 (Sergey Khorev)
14048Files: src/xpm/COPYRIGHT, src/xpm/README.txt, src/xpm/include/simx.h,
14049 src/xpm/include/xpm.h, src/Make_mvc.mak, src/bigvim.bat,
14050 src/bigvim64.bat, Filelist
14051
14052Patch 7.3.640
14053Problem: It's not easy to build Vim on Windows with XPM support.
14054Solution: Binary files for 7.3.639. (Sergey Khorev)
14055Files: src/xpm/x64/lib/libXpm.lib, src/xpm/x86/lib/libXpm.a,
14056 src/xpm/x86/lib/libXpm.lib
14057
14058Patch 7.3.641
14059Problem: ":mkview" uses ":normal" instead of ":normal!" for folds. (Dan)
14060Solution: Add the bang. (Christian Brabandt)
14061Files: src/fold.c
14062
14063Patch 7.3.642
14064Problem: Segfault with specific autocommands. Was OK after 7.3.449 and
14065 before 7.3.545. (Richard Brown)
14066Solution: Pass TRUE for abort_if_last in the call to close_buffer().
14067 (Christian Brabandt)
14068Files: src/window.c
14069
14070Patch 7.3.643 (after 7.3.635)
14071Problem: MS-Windows: When starting gvim maximized 'lines' and 'columns' are
14072 wrong. (Christian Robinson)
14073Solution: Move the check for gui.starting from ui_get_shellsize() to
14074 check_shellsize().
14075Files: src/ui.c, src/term.c
14076
14077Patch 7.3.644
14078Problem: Dead code for BeOS GUI.
14079Solution: Remove unused __BEOS__ stuff.
14080Files: src/gui.c
14081
14082Patch 7.3.645
14083Problem: No tests for patch 7.3.625 and 7.3.637.
14084Solution: Add more tests for the "gn" command and try/catch. (Christian
14085 Brabandt)
14086Files: src/testdir/test53.in, src/testdir/test53.ok,
14087 src/testdir/test55.in, src/testdir/test55.ok
14088
14089Patch 7.3.646
14090Problem: When reloading a buffer the undo file becomes unusable unless ":w"
14091 is executed. (Dmitri Frank)
14092Solution: After reloading the buffer write the undo file. (Christian
14093 Brabandt)
14094Files: src/fileio.c
14095
14096Patch 7.3.647
14097Problem: "gnd" doesn't work correctly in Visual mode.
14098Solution: Handle Visual mode differently in "gn". (Christian Brabandt)
14099Files: src/search.c, src/testdir/test53.in, src/testdir/test53.ok
14100
14101Patch 7.3.648
14102Problem: Crash when using a very long file name. (ZyX)
14103Solution: Properly check length of buffer space.
14104Files: src/buffer.c
14105
14106Patch 7.3.649
14107Problem: When 'clipboard' is set to "unnamed" small deletes end up in the
14108 numbered registers. (Ingo Karkat)
14109Solution: Use the original register name to decide whether to put a delete
14110 in a numbered register. (Christian Brabandt)
14111Files: src/ops.c
14112
14113Patch 7.3.650
14114Problem: Completion after ":help \{-" gives an error message and messes up
14115 the command line.
14116Solution: Cancel the tag search if the pattern can't be compiled. (Yasuhiro
14117 Matsumoto)
14118Files: src/tag.c
14119
14120Patch 7.3.651
14121Problem: Completion after ":help \{-" gives an error message.
14122Solution: Prepend a backslash.
14123Files: src/ex_cmds.c
14124
14125Patch 7.3.652
14126Problem: Workaround for Python crash isn't perfect.
14127Solution: Change the type of the length argument. (Sean Estabrooks)
14128Files: src/if_py_both.h
14129
14130Patch 7.3.653
14131Problem: MingW needs build rule for included XPM files. Object directory
14132 for 32 and 64 builds is the same, also for MSVC.
14133Solution: Add MingW build rule to use included XPM files. Add the CPU or
14134 architecture to the object directory name. (Sergey Khorev)
14135Files: src/Make_ming.mak, src/Make_mvc.mak, src/xpm/README.txt
14136
14137Patch 7.3.654
14138Problem: When creating a Vim dictionary from Python objects an empty key
14139 might be used.
14140Solution: Do not use empty keys, throw an IndexError. (ZyX)
14141Files: src/if_py_both.h
14142
14143Patch 7.3.655
14144Problem: 64 bit MingW xpm .a file is missing.
14145Solution: Add the file. (Sergey Khorev)
14146Files: src/xpm/x64/lib/libXpm.a
14147
14148Patch 7.3.656
14149Problem: Internal error in :pyeval.
14150Solution: Handle failed object conversion. (ZyX)
14151Files: src/if_python.c, src/if_python3.c
14152
14153Patch 7.3.657
14154Problem: Python bindings silently truncate string values containing NUL.
14155Solution: Fail when a string contains NUL. (ZyX)
14156Files: src/if_python.c, src/if_python3.c
14157
14158Patch 7.3.658
14159Problem: NUL bytes truncate strings when converted from Python.
14160Solution: Handle truncation as an error. (ZyX)
14161Files: src/if_py_both.h, src/if_python3.c
14162
14163Patch 7.3.659
14164Problem: Recent Python changes are not tested.
14165Solution: Add tests for Python bindings. (ZyX)
14166Files: src/testdir/test86.in, src/testdir/test86.ok,
14167 src/testdir/test87.in, src/testdir/test87.ok
14168
14169Patch 7.3.660
14170Problem: ":help !" jumps to help for ":!".
14171Solution: Adjust check for tag header line. (Andy Wokula)
14172Files: src/tag.c
14173
14174Patch 7.3.661 (after 7.3.652)
14175Problem: SEGV in Python code.
14176Solution: Initialize len to zero. Use the right function depending on
14177 version. (Maxim Philippov)
14178Files: src/if_py_both.h, src/if_python.c, src/if_python3.c
14179
14180Patch 7.3.662
14181Problem: Can't build Ruby interface with Ruby 1.9.3.
14182Solution: Add missing functions. (V. Ondruch)
14183Files: src/if_ruby.c
14184
14185Patch 7.3.663
14186Problem: End of color scheme name not clear in E185. (Aaron Lewis)
14187Solution: Put the name in single quotes.
14188Files: src/ex_docmd.c
14189
14190Patch 7.3.664
14191Problem: Buffer overflow in unescaping text. (Raymond Ko)
14192Solution: Limit check for multi-byte character to 4 bytes.
14193Files: src/mbyte.c
14194
14195Patch 7.3.665
14196Problem: MSVC 11 is not supported. (Raymond Ko)
14197Solution: Recognize MSVC 11. (Gary Willoughby)
14198Files: src/Make_mvc.mak
14199
14200Patch 7.3.666
14201Problem: With MSVC 11 Win32.mak is not found.
14202Solution: Add the SDK_INCLUDE_DIR variable. (Raymond Ko)
14203Files: src/Make_mvc.mak
14204
14205Patch 7.3.667
14206Problem: Unused variables in Perl interface.
14207Solution: Adjust #ifdefs.
14208Files: src/if_perl.xs
14209
14210Patch 7.3.668
14211Problem: Building with Perl loaded dynamically still uses static library.
14212Solution: Adjust use of PL_thr_key. (Ken Takata)
14213Files: src/if_perl.xs
14214
14215Patch 7.3.669
14216Problem: When building with Cygwin loading Python dynamically fails.
14217Solution: Use DLLLIBRARY instead of INSTSONAME. (Ken Takata)
14218Files: src/configure.in, src/auto/configure
14219
14220Patch 7.3.670
14221Problem: Python: memory leaks when there are exceptions.
14222Solution: Add DICTKEY_UNREF in the right places. (ZyX)
14223Files: src/if_py_both.h
14224
14225Patch 7.3.671
14226Problem: More Python code can be shared between Python 2 and 3.
14227Solution: Move code to if_py_both.h. (ZyX)
14228Files: src/if_py_both.h, src/if_python.c, src/if_python3.c
14229
14230Patch 7.3.672
14231Problem: Not possible to lock/unlock lists in Python interface.
14232Solution: Add .locked and .scope attributes. (ZyX)
14233Files: runtime/doc/if_pyth.txt, src/if_py_both.h, src/if_python.c,
14234 src/if_python3.c, src/testdir/test86.in, src/testdir/test86.ok,
14235 src/testdir/test87.in, src/testdir/test87.ok
14236
14237Patch 7.3.673
14238Problem: Using "gN" while 'selection' is "exclusive" misses one character.
14239 (Ben Fritz)
14240Solution: Check the direction when compensating for exclusive selection.
14241 (Christian Brabandt)
14242Files: src/search.c
14243
14244Patch 7.3.674
14245Problem: Can't compile with Lua/dyn on Cygwin.
14246Solution: Adjust configure to use the right library name. (Ken Takata)
14247Files: src/configure.in, src/auto/configure
14248
14249Patch 7.3.675
14250Problem: Using uninitialized memory with very long file name.
14251Solution: Put NUL after text when it is truncated. (ZyX)
14252Files: src/buffer.c
14253
14254Patch 7.3.676
14255Problem: Ruby compilation on Windows 32 bit doesn't work.
14256Solution: Only use some functions for 64 bit. (Ken Takata)
14257Files: src/if_ruby.c
14258
14259Patch 7.3.677
14260Problem: buf_spname() is used inconsistently.
14261Solution: Make the return type a char_u pointer. Check the size of the
14262 returned string.
14263Files: src/buffer.c, src/proto/buffer.pro, src/ex_cmds2.c,
14264 src/ex_docmd.c, src/memline.c, src/screen.c
14265
14266Patch 7.3.678
14267Problem: Ruby .so name may not be correct.
14268Solution: Use the LIBRUBY_SO entry from the config. (Vit Ondruch)
14269Files: src/configure.in, src/auto/configure
14270
14271Patch 7.3.679
14272Problem: Ruby detection uses Config, newer Ruby versions use RbConfig.
14273Solution: Detect the need to use RbConfig. (Vit Ondruch)
14274Files: src/configure.in, src/auto/configure
14275
14276Patch 7.3.680
14277Problem: Some files missing in the list of distributed files.
14278Solution: Add lines for new files.
14279Files: Filelist
14280
14281Patch 7.3.681 (after 7.3.680)
14282Problem: List of distributed files picks up backup files.
14283Solution: Make tutor patterns more specific.
14284Files: Filelist
14285
14286Patch 7.3.682 (after 7.3.677)
14287Problem: Compiler complains about incompatible types.
14288Solution: Remove type casts. (hint by Danek Duvall)
14289Files: src/edit.c
14290
14291Patch 7.3.683
14292Problem: ":python" may crash when vimbindeval() returns None.
14293Solution: Check for v_string to be NULL. (Yukihiro Nakadaira)
14294Files: src/if_py_both.h
14295
14296Patch 7.3.684
14297Problem: "make test" does not delete lua.vim.
14298Solution: Add lua.vim to the clean target. (Simon Ruderich)
14299Files: src/testdir/Makefile, src/testdir/Make_dos.mak,
14300 src/testdir/Make_ming.mak, src/testdir/Make_vms.mms
14301
14302Patch 7.3.685
14303Problem: No test for what patch 7.3.673 fixes.
14304Solution: Add a test. (Christian Brabandt)
14305Files: src/testdir/test53.in, src/testdir/test53.ok
14306
14307Patch 7.3.686
14308Problem: Using CTRL-\ e mappings is useful also when entering an
14309 expression, but it doesn't work. (Marcin Szamotulski)
14310Solution: Allow using CTRL-\ e when entering an expression if it was not
14311 typed.
14312Files: src/ex_getln.c
14313
14314Patch 7.3.687
14315Problem: Test 16 fails when $DISPLAY is not set.
14316Solution: Skip the test when $DISPLAY is not set.
14317Files: src/testdir/test16.in
14318
14319Patch 7.3.688
14320Problem: Python 3.3 is not supported.
14321Solution: Add Python 3.3 support (Ken Takata)
14322Files: src/if_python3.c
14323
14324Patch 7.3.689
14325Problem: MzScheme and Lua may use a NULL string.
14326Solution: Use an empty string instead of NULL. (Yukihiro Nakadaira)
14327Files: src/if_lua.c, src/if_mzsch.c
14328
14329Patch 7.3.690
14330Problem: When the current directory name is exactly the maximum path length
14331 Vim may crash.
14332Solution: Only add "/" when there is room. (Danek Duvall)
14333Files: src/os_unix.c
14334
14335Patch 7.3.691
14336Problem: State specific to the Python thread is discarded.
14337Solution: Keep state between threads. (Paul)
14338Files: src/if_python.c
14339
14340Patch 7.3.692
14341Problem: Can't build GTK version with GTK 2.0.
14342Solution: Put GtkFileFilter declaration in the right place. (Yegappan
14343 Lakshmanan)
14344Files: src/gui_gtk.c
14345
14346Patch 7.3.693
14347Problem: Can't make 'softtabstop' follow 'shiftwidth'.
14348Solution: When 'softtabstop' is negative use the value of 'shiftwidth'.
14349 (so8res)
14350Files: src/edit.c, src/option.c, src/proto/option.pro
14351
14352Patch 7.3.694
14353Problem: Now that 'shiftwidth' may use the value of 'tabstop' it is not so
14354 easy to use in indent files.
14355Solution: Add the shiftwidth() function. (so8res)
14356Files: runtime/doc/eval.txt, src/eval.c
14357
14358Patch 7.3.695
14359Problem: Balloon cannot show multi-byte text.
14360Solution: Properly deal with multi-byte characters. (Dominique Pelle)
14361Files: src/gui_beval.c, src/ui.c
14362
14363Patch 7.3.696
14364Problem: Message about added spell language can be wrong.
14365Solution: Give correct message. Add g:menutrans_set_lang_to to allow for
14366 translation. (Jiri Sedlak)
14367Files: runtime/menu.vim
14368
14369Patch 7.3.697
14370Problem: Leaking resources when setting GUI font.
14371Solution: Free the font. (Ken Takata)
14372Files: src/syntax.c
14373
14374Patch 7.3.698
Bram Moolenaardd007ed2013-07-09 15:44:17 +020014375Problem: Python 3 does not preserve state between commands.
Bram Moolenaar913df812013-07-06 15:44:11 +020014376Solution: Preserve the state. (Paul Ollis)
14377Files: src/if_python.c, src/if_python3.c
14378
14379Patch 7.3.699
14380Problem: When 'ttymouse' is set to "sgr" manually, it is overruled by
14381 automatic detection.
14382Solution: Do not use automatic detection when 'ttymouse' was set manually.
14383 (Hayaki Saito)
14384Files: src/term.c
14385
14386Patch 7.3.700
14387Problem: Cannot detect URXVT and SGR mouse support.
14388Solution: add +mouse_urxvt and +mouse_sgr. (Hayaki Saito)
14389Files: src/feature.h, src/eval.c
14390
14391Patch 7.3.701
14392Problem: MS-Windows: Crash with stack overflow when setting 'encoding'.
14393Solution: Handle that loading the iconv library may be called recursively.
14394 (Jiri Sedlak)
14395Files: src/os_win32.c
14396
14397Patch 7.3.702
14398Problem: Nmake from VS6 service pack 6 is not recognized.
14399Solution: Detect the version number. (Jiri Sedlak)
14400Files: src/Make_mvc.mak
14401
14402Patch 7.3.703
14403Problem: When 'undofile' is reset the hash is computed unnecessarily.
14404Solution: Only compute the hash when the option was set. (Christian Brabandt)
14405Files: src/option.c
14406
14407Patch 7.3.704
14408Problem: Repeating "cgn" does not always work correctly.
14409Solution: Also fetch the operator character. (Christian Brabandt)
14410Files: src/normal.c
14411
14412Patch 7.3.705
14413Problem: Mouse features are not sorted properly. (Tony Mechelynck)
14414Solution: Put the mouse features in alphabetical order.
14415Files: src/version.c
14416
14417Patch 7.3.706 (after 7.3.697)
14418Problem: Can't build Motif version.
14419Solution: Fix wrongly named variable. (Ike Devolder)
14420Files: src/syntax.c
14421
14422Patch 7.3.707 (after 7.3.701)
14423Problem: Problems loading a library for a file name with non-latin
14424 characters.
14425Solution: Use wide system functions when possible. (Ken Takata)
14426Files: src/os_win32.c, src/os_win32.h
14427
14428Patch 7.3.708
14429Problem: Filler lines above the first line may be hidden when opening Vim.
14430Solution: Change how topfill is computed. (Christian Brabandt)
14431Files: src/diff.c, src/testdir/test47.in, src/testdir/test47.ok
14432
14433Patch 7.3.709
14434Problem: Compiler warning for unused argument.
14435Solution: Add UNUSED.
14436Files: src/eval.c
14437
14438Patch 7.3.710 (after 7.3.704)
14439Problem: Patch 7.3.704 breaks "fn".
14440Solution: Add check for ca.cmdchar. (Christian Brabandt)
14441Files: src/normal.c
14442
14443Patch 7.3.711 (after 7.3.688)
14444Problem: vim.current.buffer is not available. (lilydjwg)
14445Solution: Use py3_PyUnicode_AsUTF8 instead of py3_PyUnicode_AsUTF8String.
14446 (Ken Takata)
14447Files: src/if_python3.c
14448
14449Patch 7.3.712
14450Problem: Nmake from VS2010 SP1 is not recognized.
14451Solution: Add the version number. (Ken Takata)
14452Files: src/Make_mvc.mak
14453
14454Patch 7.3.713
14455Problem: printf() can only align to bytes, not characters.
14456Solution: Add the "S" item. (Christian Brabandt)
14457Files: runtime/doc/eval.txt, src/message.c
14458
14459Patch 7.3.714
14460Problem: Inconsistency: :set can be used in the sandbox, but :setlocal and
14461 :setglobal cannot. (Michael Henry)
14462Solution: Fix the flags for :setlocal and :setglobal. (Christian Brabandt)
14463Files: src/ex_cmds.h
14464
14465Patch 7.3.715
14466Problem: Crash when calling setloclist() in BufUnload autocmd. (Marcin
14467 Szamotulski)
14468Solution: Set w_llist to NULL when it was freed. Also add a test.
14469 (Christian Brabandt)
14470Files: src/quickfix.c, src/testdir/test49.ok, src/testdir/test49.vim
14471
14472Patch 7.3.716
14473Problem: Error on exit when using Python 3.
14474Solution: Remove PythonIO_Fini(). (Roland Puntaier)
14475Files: src/if_python3.c
14476
14477Patch 7.3.717
14478Problem: When changing the font size, only MS-Windows limits the window
14479 size.
14480Solution: Also limit the window size on other systems. (Roland Puntaier)
14481Files: src/gui.c
14482
14483Patch 7.3.718
14484Problem: When re-using the current buffer the buffer-local options stay.
14485Solution: Re-initialize the buffer-local options. (Christian Brabandt)
14486Files: src/buffer.c
14487
14488Patch 7.3.719
14489Problem: Cannot run new version of cproto, it fails on missing include
14490 files.
14491Solution: Add lots of #ifndef PROTO
14492Files: src/os_amiga.c, src/os_amiga.h, src/gui_w16.c, src/gui_w48.c,
14493 src/gui_w32.c, src/vimio.h, src/os_msdos.c, src/os_msdos.h,
14494 src/os_win16.h, src/os_win16.c, src/os_win32.h, src/os_win32.c,
14495 src/os_mswin.c, src/gui_photon.c, src/os_unix.h, src/os_beos.c,
14496 src/os_beos.h
14497
14498Patch 7.3.720
14499Problem: Proto files are outdated.
14500Solution: Update the newly generated proto files.
14501Files: src/proto/digraph.pro, src/proto/fold.pro, src/proto/misc1.pro,
14502 src/proto/move.pro, src/proto/screen.pro, src/proto/search.pro,
14503 src/proto/os_win32.pro, src/proto/os_mswin.pro,
14504 src/proto/os_beos.pro
14505
14506Patch 7.3.721
14507Problem: Ruby interface defines local functions globally.
14508Solution: Make the functions static.
14509Files: src/if_ruby.c
14510
14511Patch 7.3.722
14512Problem: Perl flags may contain "-g", which breaks "make proto".
14513Solution: Filter out the "-g" flag for cproto. (Ken Takata)
14514Files: src/Makefile
14515
14516Patch 7.3.723
14517Problem: Various tiny problems.
14518Solution: Various tiny fixes.
14519Files: src/gui_mac.c, src/xpm_w32.c, src/netbeans.c, src/sha256.c,
14520 src/if_sniff.c, README.txt
14521
14522Patch 7.3.724
14523Problem: Building with Ruby and Tcl on MS-Windows 64 bit does not work.
14524Solution: Remove Ruby and Tcl from the big MS-Windows build.
14525Files: src/bigvim64.bat
14526
14527Patch 7.3.725
14528Problem: :aboveleft and :belowright have no effect on :copen.
14529Solution: Check for cmdmod.split. (Christian Brabandt)
14530Files: src/quickfix.c
14531
14532Patch 7.3.726
14533Problem: Typos and duplicate info in README.
14534Solution: Fix the text.
14535Files: README.txt
14536
14537Patch 7.3.727
14538Problem: Can't always find Win32.mak when building GvimExt.
14539Solution: Use same mechanism as in Make_mvc.mak. (Cade Foster)
14540Files: src/GvimExt/Makefile
14541
14542Patch 7.3.728
14543Problem: Cannot compile with MzScheme interface on Ubuntu 12.10.
14544Solution: Find the collects directory under /usr/share.
14545Files: src/configure.in, src/auto/configure
14546
14547Patch 7.3.729
14548Problem: Building with Ruby fails on some systems.
14549Solution: Remove "static" and add #ifndef PROTO. (Ken Takata)
14550Files: src/if_ruby.c
14551
14552Patch 7.3.730
14553Problem: Crash in PHP file when using syntastic. (Ike Devolder)
14554Solution: Avoid using NULL pointer. (Christian Brabandt)
14555Files: src/quickfix.c
14556
14557Patch 7.3.731
Bram Moolenaardd007ed2013-07-09 15:44:17 +020014558Problem: Py3Init_vim() is exported unnecessarily.
Bram Moolenaar913df812013-07-06 15:44:11 +020014559Solution: Make it static. (Ken Takata)
14560Files: src/if_python3.c
14561
14562Patch 7.3.732
14563Problem: Compiler warnings for function arguments.
14564Solution: Use inteptr_t instead of long.
14565Files: src/if_mzsch.c, src/main.c
14566
14567Patch 7.3.733
14568Problem: Tests fail when including MzScheme.
14569Solution: Change #ifdefs for vim_main2().
14570Files: src/main.c
14571
14572Patch 7.3.734
14573Problem: Cannot put help files in a sub-directory.
14574Solution: Make :helptags work for sub-directories. (Charles Campbell)
14575Files: src/ex_cmds.c
14576
14577Patch 7.3.735
14578Problem: Cannot build Ruby 1.9 with MingW or Cygwin.
14579Solution: Add another include directory. (Ken Takata)
14580Files: src/Make_cyg.mak, src/Make_ming.mak
14581
14582Patch 7.3.736
14583Problem: File name completion in input() escapes white space. (Frederic
14584 Hardy)
14585Solution: Do not escape white space. (Christian Brabandt)
14586Files: src/ex_getln.c
14587
14588Patch 7.3.737
14589Problem: When using do_cmdline() recursively did_endif is not reset,
14590 causing messages to be overwritten.
14591Solution: Reset did_endif. (Christian Brabandt)
14592Files: src/ex_docmd.c
14593
14594Patch 7.3.738 (after 7.3.730)
14595Problem: Unused function argument.
14596Solution: Remove it. (Christian Brabandt)
14597Files: src/quickfix.c
14598
14599Patch 7.3.739
14600Problem: Computing number of lines may have an integer overflow.
14601Solution: Check for MAXCOL explicitly. (Dominique Pelle)
14602Files: src/move.c
14603
14604Patch 7.3.740
14605Problem: IOC tool complains about undefined behavior for int.
14606Solution: Change to unsigned int. (Dominique Pelle)
14607Files: src/hashtab.c, src/misc2.c
14608
14609Patch 7.3.741 (after 7.3.737)
14610Problem: Tiny build fails.
14611Solution: Move #ifdef. (Ike Devolder)
14612Files: src/ex_docmd.c
14613
14614Patch 7.3.742
14615Problem: Leaking memory when :vimgrep restores the directory.
14616Solution: Free the allocated memory. (Christian Brabandt)
14617Files: src/quickfix.c
14618
14619Patch 7.3.743 (after 7.3.741)
14620Problem: Tiny build still fails.
14621Solution: Add #else in the right place.
14622Files: src/ex_docmd.c
14623
14624Patch 7.3.744
14625Problem: 64 bit compiler warning.
14626Solution: Add type cast. (Mike Williams)
14627Files: src/ex_cmds.c
14628
14629Patch 7.3.745
14630Problem: Automatically setting 'ttymouse' doesn't work.
14631Solution: Reset the "option was set" flag when using the default.
14632Files: src/option.c, src/proto/option.pro, src/term.c
14633
14634Patch 7.3.746
14635Problem: Memory leaks when using location lists.
14636Solution: Set qf_title to something. (Christian Brabandt)
14637Files: src/eval.c, src/quickfix.c
14638
14639Patch 7.3.747
14640Problem: When characters are concealed text aligned with tabs are no longer
14641 aligned, e.g. at ":help :index".
14642Solution: Compensate space for tabs for concealed characters. (Dominique
14643 Pelle)
14644Files: src/screen.c
14645
14646Patch 7.3.748
14647Problem: Cannot properly test conceal mode.
14648Solution: Add the screencol() and screenrow() functions. Use them in
14649 test88. (Simon Ruderich)
14650Files: runtime/doc/eval.txt, src/eval.c, src/proto/screen.pro,
14651 src/screen.c, src/testdir/Make_amiga.mak,
14652 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
14653 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms
14654 src/testdir/Makefile, src/testdir/test88.in,
14655 src/testdir/test88.ok,
14656
14657Patch 7.3.749
14658Problem: Python interface doesn't build without the multi-byte feature.
14659Solution: Add #ifdef. (Ken Takata)
14660Files: src/if_py_both.h
14661
14662Patch 7.3.750
14663Problem: The justify macro does not always work correctly.
14664Solution: Fix off-by-one error (James McCoy)
14665Files: runtime/macros/justify.vim
14666
14667Patch 7.3.751
14668Problem: Test 61 is flaky, it fails once in a while.
14669Solution: When it fails retry once.
14670Files: src/testdir/Makefile
14671
14672Patch 7.3.752
14673Problem: Test 49 script file doesn't fold properly.
14674Solution: Add a colon.
14675Files: src/testdir/test49.vim
14676
14677Patch 7.3.753
14678Problem: When there is a QuitPre autocommand using ":q" twice does not work
14679 for exiting when there are more files to edit.
14680Solution: Do not decrement quitmore in an autocommand. (Techlive Zheng)
14681Files: src/ex_docmd.c, src/fileio.c, src/proto/fileio.pro
14682
14683Patch 7.3.754
14684Problem: Latest nmake is not recognized.
14685Solution: Add nmake version 11.00.51106.1. (Raymond Ko)
14686Files: src/Make_mvc.mak
14687
14688Patch 7.3.755
14689Problem: Autoconf doesn't find Python 3 if it's called "python".
14690Solution: Search for "python2" and "python3" first, then "python".
14691Files: src/configure.in, src/auto/configure
14692
14693Patch 7.3.756
14694Problem: A location list can get a wrong count in :lvimgrep.
14695Solution: Check if the list was changed by autocommands. (mostly by
14696 Christian Brabandt)
Bram Moolenaardd007ed2013-07-09 15:44:17 +020014697Files: src/quickfix.c
Bram Moolenaar913df812013-07-06 15:44:11 +020014698
14699Patch 7.3.757
14700Problem: Issue 96: May access freed memory when a put command triggers
14701 autocommands. (Dominique Pelle)
14702Solution: Call u_save() before getting y_array.
14703Files: src/ops.c
14704
14705Patch 7.3.758
14706Problem: Matchit plugin does not handle space in #ifdef.
14707Solution: Change matching pattern to allow spaces. (Mike Morearty)
14708Files: runtime/macros/matchit.vim
14709
14710Patch 7.3.759
14711Problem: MS-Windows: Updating the tabline is slow when there are many tabs.
14712Solution: Disable redrawing while performing the update. (Arseny Kapoulkine)
14713Files: src/gui_w48.c
14714
14715Patch 7.3.760
14716Problem: dv_ deletes the white space before the line.
14717Solution: Move the cursor to the first non-white. (Christian Brabandt)
14718Files: src/normal.c, src/testdir/test19.in, src/testdir/test19.ok
14719
14720Patch 7.3.761
14721Problem: In Visual mode a "-p does not work. (Marcin Szamotulski)
14722Solution: Avoid writing to "- before putting it. (Christian Brabandt)
14723Files: src/normal.c, src/testdir/test48.in, src/testdir/test48.ok
14724
14725Patch 7.3.762 (after 7.3.759)
14726Problem: On some systems the tabline is not redrawn.
14727Solution: Call RedrawWindow(). (Charles Peacech)
14728Files: src/gui_w48.c
14729
14730Patch 7.3.763
14731Problem: Jumping to a mark does not open a fold if it is in the same line.
14732 (Wiktor Ruben)
14733Solution: Also compare the column after the jump. (Christian Brabandt)
14734Files: src/normal.c
14735
14736Patch 7.3.764
14737Problem: Not all message translation files are installed.
14738Solution: Also install the converted files.
14739Files: src/po/Makefile
14740
14741Patch 7.3.765
14742Problem: Segfault when doing "cclose" on BufUnload in a python function.
14743 (Sean Reifschneider)
14744Solution: Skip window with NULL buffer. (Christian Brabandt)
14745Files: src/main.c, src/window.c
14746
14747Patch 7.3.766
14748Problem: ":help cpo-*" jumps to the wrong place.
14749Solution: Make it equivalent to ":help cpo-star".
14750Files: src/ex_cmds.c
14751
14752Patch 7.3.767
14753Problem: (Win32) The _errno used for iconv may be the wrong one.
14754Solution: Use the _errno from iconv.dll. (Ken Takata)
14755Files: src/mbyte.c
14756
14757Patch 7.3.768
14758Problem: settabvar() and setwinvar() may move the cursor.
14759Solution: Save and restore the cursor position when appropriate. (idea by
14760 Yasuhiro Matsumoto)
14761Files: src/edit.c
14762
14763Patch 7.3.769
14764Problem: 'matchpairs' does not work with multi-byte characters.
14765Solution: Make it work. (Christian Brabandt)
14766Files: src/misc1.c, src/option.c, src/proto/option.pro, src/search.c,
14767 src/testdir/test69.in, src/testdir/test69.ok
14768
14769Patch 7.3.770
14770Problem: Vim.h indentation is inconsistent.
14771Solution: Adjust the indentation. (Elias Diem)
14772Files: src/vim.h
14773
14774Patch 7.3.771 (after 7.3.769)
14775Problem: Uninitialized variable. (Yasuhiro Matsumoto)
14776Solution: Set x2 to -1.
14777Files: src/option.c
14778
14779Patch 7.3.772
14780Problem: Cursor is at the wrong location and below the end of the file
14781 after doing substitutions with confirm flag: %s/x/y/c
14782 (Dominique Pelle)
14783Solution: Update the cursor position. (Christian Brabandt & Dominique)
14784Files: src/ex_cmds.c
14785
14786Patch 7.3.773 (after 7.3.767)
14787Problem: Crash when OriginalFirstThunk is zero.
14788Solution: Skip items with OriginalFirstThunk not set. (Ken Takata)
14789Files: src/mbyte.c
14790
14791Patch 7.3.774
14792Problem: Tiny GUI version misses console dialog feature.
Bram Moolenaardd007ed2013-07-09 15:44:17 +020014793Solution: Define FEAT_CON_DIALOG when appropriate. (Christian Brabandt)
Bram Moolenaar913df812013-07-06 15:44:11 +020014794Files: src/feature.h, src/gui.h
14795
14796Patch 7.3.775
14797Problem: Cygwin and Mingw builds miss dependency on gui_w48.c.
14798Solution: Add a build rule. (Ken Takata)
14799Files: src/Make_cyg.mak, src/Make_ming.mak
14800
14801Patch 7.3.776
14802Problem: ml_get error when searching, caused by curwin not matching curbuf.
14803Solution: Avoid changing curbuf. (Lech Lorens)
14804Files: src/charset.c, src/eval.c, src/mark.c, src/proto/charset.pro,
14805 src/proto/mark.pro, src/regexp.c, src/syntax.c,
14806
14807Patch 7.3.777
14808Problem: When building with Gnome locale gets reset.
14809Solution: Set locale after gnome_program_init(). (Christian Brabandt)
14810Files: src/gui_gtk_x11.c
14811
14812Patch 7.3.778
14813Problem: Compiler error for adding up two pointers. (Titov Anatoly)
14814Solution: Add a type cast. (Ken Takata)
14815Files: src/mbyte.c
14816
14817Patch 7.3.779
14818Problem: Backwards search lands in wrong place when started on a multibyte
14819 character.
14820Solution: Do not set extra_col for a backwards search. (Sung Pae)
14821Files: src/search.c, src/testdir/test44.in, src/testdir/test44.ok
14822
14823Patch 7.3.780
14824Problem: char2nr() and nr2char() always use 'encoding'.
14825Solution: Add argument to use utf-8 characters. (Yasuhiro Matsumoto)
14826Files: runtime/doc/eval.txt, src/eval.c
14827
14828Patch 7.3.781
14829Problem: Drawing with 'guifontwide' can be slow.
14830Solution: Draw multiple characters at a time. (Taro Muraoka)
14831Files: src/gui.c
14832
14833Patch 7.3.782
14834Problem: Windows: IME composition may use a wrong font.
14835Solution: Use 'guifontwide' for IME when it is set. (Taro Muraoka)
14836Files: runtime/doc/options.txt, src/gui.c, src/gui_w48.c,
14837 src/proto/gui_w16.pro, src/proto/gui_w32.pro
14838
14839Patch 7.3.783
14840Problem: Crash when mark is not set. (Dominique Pelle)
14841Solution: Check for NULL.
14842Files: src/normal.c
14843
14844Patch 7.3.784 (after 7.3.781)
14845Problem: Error when 'guifontwide' has a comma.
14846Solution: Use gui.wide_font. (Taro Muraoka)
14847Files: src/gui_w48.c
14848
14849Patch 7.3.785 (after 7.3.776)
14850Problem: Crash with specific use of search pattern.
14851Solution: Initialize reg_buf to curbuf.
14852Files: src/regexp.c
14853
14854Patch 7.3.786
14855Problem: Python threads don't run in the background (issue 103).
14856Solution: Move the statements to manipulate thread state.
14857Files: src/if_python.c
14858
14859Patch 7.3.787
14860Problem: With 'relativenumber' set it is not possible to see the absolute
14861 line number.
14862Solution: For the cursor line show the absolute line number instead of a
14863 zero. (Nazri Ramliy)
14864Files: src/screen.c
14865
14866Patch 7.3.788
14867Problem: When only using patches build fails on missing nl.po.
14868Solution: Create an empty nl.po file.
14869Files: src/po/Makefile
14870
14871Patch 7.3.789 (after 7.3.776)
14872Problem: "\k" in regexp does not work in other window.
14873Solution: Use the right buffer. (Yukihiro Nakadaira)
14874Files: src/mbyte.c, src/proto/mbyte.pro, src/regexp.c
14875
14876Patch 7.3.790
14877Problem: After reloading a buffer the modelines are not processed.
14878Solution: call do_modelines(). (Ken Takata)
14879Files: src/fileio.c
14880
14881Patch 7.3.791
Bram Moolenaardd007ed2013-07-09 15:44:17 +020014882Problem: MzScheme interface doesn't work properly.
Bram Moolenaar913df812013-07-06 15:44:11 +020014883Solution: Make it work better. (Sergey Khorev)
14884Files: runtime/doc/if_mzsch.txt, src/configure.in, src/auto/configure,
14885 src/eval.c, src/if_mzsch.c, src/if_mzsch.h, src/Make_ming.mak,
14886 src/Make_mvc.mak, src/os_unix.c, src/proto/eval.pro,
14887 src/testdir/test70.in, src/testdir/test70.ok
14888
14889Patch 7.3.792
14890Problem: ":substitute" works differently without confirmation.
14891Solution: Do not change the text when asking for confirmation, only display
14892 it.
14893Files: src/ex_cmds.c
14894
14895Patch 7.3.793 (after 7.3.792)
Bram Moolenaardd007ed2013-07-09 15:44:17 +020014896Problem: New interactive :substitute behavior is not tested.
Bram Moolenaar913df812013-07-06 15:44:11 +020014897Solution: Add tests. (Christian Brabandt)
14898Files: src/testdir/test80.in, src/testdir/test80.ok
14899
14900Patch 7.3.794
14901Problem: Tiny build fails. (Tony Mechelynck)
14902Solution: Adjust #ifdefs.
14903Files: src/charset.c
14904
14905Patch 7.3.795
14906Problem: MzScheme does not build with tiny features.
14907Solution: Add #ifdefs. Also add UNUSED to avoid warnings. And change
14908 library ordering.
14909Files: src/if_mzsch.c, src/Makefile
14910
14911Patch 7.3.796
14912Problem: "/[^\n]" does match at a line break.
14913Solution: Make it do the same as "/.". (Christian Brabandt)
14914Files: src/regexp.c, src/testdir/test79.in, src/testdir/test79.ok
14915
14916Patch 7.3.797 (after 7.3.792)
14917Problem: Compiler warning for size_t to int conversion. (Skeept)
14918Solution: Add type casts.
14919Files: src/ex_cmds.c
14920
14921Patch 7.3.798 (after 7.3.791)
14922Problem: MzScheme: circular list does not work correctly.
14923Solution: Separate Mac-specific code from generic code. (Sergey Khorev)
14924Files: src/if_mzsch.c, src/testdir/test70.in
14925
14926Patch 7.3.799
14927Problem: The color column is not correct when entering a buffer. (Ben
14928 Fritz)
14929Solution: Call check_colorcolumn() if 'textwidth' changed. (Christian
14930 Brabandt)
14931Files: src/buffer.c
14932
14933Patch 7.3.800
14934Problem: The " mark is not adjusted when inserting lines. (Roland Eggner)
14935Solution: Adjust the line number. (Christian Brabandt)
14936Files: src/mark.c
14937
14938Patch 7.3.801
14939Problem: ":window set nu?" displays the cursor line. (Nazri Ramliy)
14940Solution: Do not update the cursor line when conceallevel is zero or the
14941 screen has scrolled. (partly by Christian Brabandt)
14942Files: src/window.c
14943
14944Patch 7.3.802
14945Problem: After setting 'isk' to a value ending in a comma appending to the
14946 option fails.
14947Solution: Disallow a trailing comma for 'isk' and similar options.
14948Files: src/charset.c
14949
14950Patch 7.3.803 (after 7.3.792)
14951Problem: Substitute with confirmation and then "q" does not replace
14952 anything. (John McGowan)
14953Solution: Do not break the loop, skip to the end.
14954Files: src/ex_cmds.c, src/testdir/test80.in, src/testdir/test80.ok
14955
14956Patch 7.3.804 (after 7.3.799)
14957Problem: Compiler warning for tiny build. (Tony Mechelynck)
14958Solution: Add #ifdefs around variable.
14959Files: src/buffer.c
14960
14961Patch 7.3.805
14962Problem: Lua version 5.2 is not detected properly on Arch Linux.
14963Solution: Adjust autoconf. (lilydjwg)
14964Files: src/configure.in, src/auto/configure
14965
14966Patch 7.3.806
14967Problem: Compiler warnings in Perl code when building with Visual studio
14968 2012. (skeept)
14969Solution: Add type casts. (Christian Brabandt, 2013 Jan 30)
14970Files: src/if_perl.xs
14971
14972Patch 7.3.807
14973Problem: Popup menu does not work properly with the preview window, folds
14974 and 'cursorcolumn'.
14975Solution: Redraw the popup menu after redrawing windows. (Christian
14976 Brabandt)
14977Files: src/screen.c
14978
14979Patch 7.3.808
14980Problem: Python threads still do not work properly.
14981Solution: Fix both Python 2 and 3. Add tests. (Ken Takata)
14982Files: src/if_python.c, src/if_python3.c, src/testdir/test86.in,
14983 src/testdir/test86.ok, src/testdir/test87.in,
14984 src/testdir/test87.ok
14985
14986Patch 7.3.809
14987Problem: The dosinst.c program has a buffer overflow. (Thomas Gwae)
14988Solution: Ignore $VIMRUNTIME if it is too long.
14989Files: src/dosinst.c
14990
14991Patch 7.3.810
Bram Moolenaardd007ed2013-07-09 15:44:17 +020014992Problem: 'relativenumber' is reset unexpectedly. (François Ingelrest)
Bram Moolenaar913df812013-07-06 15:44:11 +020014993Solution: After an option was reset also reset the global value. Add a test.
14994 (Christian Brabandt)
14995Files: src/option.c, src/testdir/Make_amiga.mak,
14996 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
14997 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms,
14998 src/testdir/Makefile, src/testdir/test89.in,
14999 src/testdir/test89.ok
15000
15001Patch 7.3.811
15002Problem: Useless termresponse parsing for SGR mouse.
15003Solution: Skip the parsing. (Hayaki Saito)
15004Files: src/term.c
15005
15006Patch 7.3.812
15007Problem: When 'indentexpr' moves the cursor "curswant" not restored.
15008Solution: Restore "curswant". (Sung Pae)
15009Files: src/misc1.c
15010
15011Patch 7.3.813
15012Problem: The CompleteDone event is not triggered when there are no pattern
15013 matches. (Jianjun Mao)
15014Solution: Trigger the event. (Christian Brabandt)
15015Files: src/edit.c
15016
15017Patch 7.3.814
15018Problem: Can't input multibyte characters on Win32 console if 'encoding' is
15019 different from current codepage.
15020Solution: Use convert_input_safe() instead of convert_input(). Make
15021 string_convert_ext() return an error for incomplete input. (Ken
15022 Takata)
15023Files: src/mbyte.c, src/os_win32.c
15024
15025Patch 7.3.815
15026Problem: Building with Cygwin and Ruby doesn't work.
15027Solution: Copy some things from the MingW build file. (Ken Takata)
15028Files: src/Make_cyg.mak
15029
15030Patch 7.3.816
15031Problem: Can't compute a hash.
15032Solution: Add the sha256() function. (Tyru, Hirohito Higashi)
15033Files: runtime/doc/eval.txt, src/eval.c, src/proto/sha256.pro,
15034 src/sha256.c, src/testdir/test90.in, src/testdir/test90.ok,
15035 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
15036 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
15037 src/testdir/Make_vms.mms, src/testdir/Makefile
15038
15039Patch 7.3.817
15040Problem: Test 89 fails with tiny and small features.
15041Solution: Add sourcing small.vim.
15042Files: src/testdir/test89.in
15043
15044Patch 7.3.818
15045Problem: When test 40 fails because of a bad build it may leave files
15046 behind that cause it to fail later.
15047Solution: Let the file names start with "X".
15048Files: src/testdir/test40.in
15049
15050Patch 7.3.819
15051Problem: Compiling without +eval and with Python isn't working.
15052Solution: Add the eval feature when building with Python.
15053Files: src/if_py_both.h, src/feature.h, src/eval.c, src/ex_docmd.c,
15054 src/normal.c, src/ex_docmd.c, src/gui_gtk_x11.c
15055
15056Patch 7.3.820
15057Problem: Build errors and warnings when building with small features and
15058 Lua, Perl or Ruby.
15059Solution: Add #ifdefs and UNUSED.
15060Files: src/if_perl.xs, src/if_lua.c, src/if_ruby.c
15061
15062Patch 7.3.821
15063Problem: Build with OLE and Cygwin is broken. (Steve Hall)
15064Solution: Select static or shared stdc library. (Ken Takata)
15065Files: src/Make_cyg.mak
15066
15067Patch 7.3.822 (after 7.3.799)
15068Problem: Crash when accessing freed buffer.
15069Solution: Get 'textwidth' in caller of enter_buffer(). (Christian Brabandt)
15070Files: src/buffer.c
15071
15072Patch 7.3.823 (after 7.3.821)
15073Problem: Building with Cygwin: '-lsupc++' is not needed.
15074Solution: Remove it. (Ken Takata)
15075Files: src/Make_cyg.mak
15076
15077Patch 7.3.824
15078Problem: Can redefine builtin functions. (ZyX)
15079Solution: Disallow adding a function to g:.
15080Files: src/eval.c
15081
15082Patch 7.3.825
15083Problem: With Python errors are not always clear.
15084Solution: Print the stack trace, unless :silent is used. (ZyX)
15085Files: src/if_python3.c, src/if_python.c
15086
15087Patch 7.3.826
15088Problem: List of features in :version output is hard to read.
15089Solution: Make columns. (Nazri Ramliy)
15090Files: src/version.c
15091
15092Patch 7.3.827 (after 7.3.825)
15093Problem: Python tests fail.
15094Solution: Adjust the output for the stack trace.
15095Files: src/testdir/test86.in, src/testdir/test86.ok,
15096 src/testdir/test87.ok
15097
15098Patch 7.3.828
15099Problem: Mappings are not aware of wildmenu mode.
15100Solution: Add wildmenumode(). (Christian Brabandt)
15101Files: src/eval.c, runtime/doc/eval.txt
15102
15103Patch 7.3.829
15104Problem: When compiled with the +rightleft feature 'showmatch' also shows a
15105 match for the opening paren. When 'revins' is set the screen may
15106 scroll.
15107Solution: Only check the opening paren when the +rightleft feature was
15108 enabled. Do not show a match that is not visible. (partly by
15109 Christian Brabandt)
15110Files: src/search.c
15111
15112Patch 7.3.830
15113Problem: :mksession confuses bytes, columns and characters when positioning
15114 the cursor.
15115Solution: Use w_virtcol with "|" instead of w_cursor.col with "l".
15116Files: src/ex_docmd.c
15117
15118Patch 7.3.831
15119Problem: Clumsy to handle the situation that a variable does not exist.
15120Solution: Add default value to getbufvar() et al. (Shougo Matsushita,
15121 Hirohito Higashi)
15122Files: runtime/doc/eval.txt, src/eval.c src/testdir/test91.in,
15123 src/testdir/test91.ok, src/testdir/Make_amiga.mak,
15124 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
15125 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms,
15126 src/testdir/Makefile
15127
15128Patch 7.3.832
15129Problem: Compiler warning.
15130Solution: Add type cast. (Mike Williams)
15131Files: src/version.c
15132
15133Patch 7.3.833
15134Problem: In the terminal the scroll wheel always scrolls the active window.
15135Solution: Scroll the window under the mouse pointer, like in the GUI.
15136 (Bradie Rao)
15137Files: src/edit.c, src/normal.c
15138
15139Patch 7.3.834
15140Problem: Ruby 2.0 has a few API changes.
15141Solution: Add handling of Ruby 2.0. (Yasuhiro Matsumoto)
15142Files: src/if_ruby.c
15143
15144Patch 7.3.835
15145Problem: "xxd -i" fails on an empty file.
15146Solution: Do output the closing } for an empty file. (partly by Lawrence
15147 Woodman)
15148Files: src/xxd/xxd.c
15149
15150Patch 7.3.836
15151Problem: Clipboard does not work on Win32 when compiled with Cygwin.
15152Solution: Move the Win32 clipboard code to a separate file and use it when
15153 building with os_unix.c. (Frodak Baksik, Ken Takata)
15154Files: src/Make_bc5.mak, src/Make_cyg.mak, src/Make_ivc.mak,
15155 src/Make_ming.mak, src/Make_mvc.mak, src/Make_w16.mak,
15156 src/Makefile, src/config.h.in, src/configure.in,
15157 src/auto/configure, src/feature.h, src/globals.h, src/mbyte.c,
15158 src/os_mswin.c, src/os_unix.c, src/os_win32.c, src/proto.h,
15159 src/proto/os_mswin.pro, src/proto/winclip.pro, src/term.c,
15160 src/vim.h, src/winclip.c
15161
15162Patch 7.3.837 (after 7.3.826)
15163Problem: Empty lines in :version output when 'columns' is 320.
15164Solution: Simplify the logic of making columns. (Nazri Ramliy, Roland
15165 Eggner)
15166Files: src/version.c
15167
15168Patch 7.3.838 (after 7.3.830)
15169Problem: Insufficient testing for mksession.
15170Solution: Add tests. (mostly by Roland Eggner)
15171Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
15172 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
15173 src/testdir/Make_vms.mms, src/testdir/Makefile,
15174 src/testdir/test92.in, src/testdir/test92.ok,
15175 src/testdir/test93.in, src/testdir/test93.ok,
15176 src/ex_docmd.c
15177
15178Patch 7.3.839
15179Problem: Some files missing in the list of distributed files.
15180Solution: Add lines for new files.
15181Files: Filelist
15182
15183Patch 7.3.840
15184Problem: "\@<!" in regexp does not work correctly with multi-byte
15185 characters, especially cp932.
15186Solution: Move column to start of multi-byte character. (Yasuhiro Matsumoto)
15187Files: src/regexp.c
15188
15189Patch 7.3.841
15190Problem: When a "cond ? one : two" expression has a subscript it is not
15191 parsed correctly. (Andy Wokula)
15192Solution: Handle a subscript also when the type is unknown. (Christian
15193 Brabandt)
15194Files: src/eval.c
15195
15196Patch 7.3.842
15197Problem: Compiler warning for signed/unsigned pointer.
15198Solution: Add type cast. (Christian Brabandt)
15199Files: src/eval.c
15200
15201Patch 7.3.843 (after 7.3.841)
15202Problem: Missing test file changes.
15203Solution: Change the tests.
15204Files: src/testdir/test49.vim, src/testdir/test49.ok
15205
15206Patch 7.3.844
15207Problem: Enum is not indented correctly with "public" etc.
15208Solution: Skip "public", "private" and "protected". (Hong Xu)
15209Files: src/misc1.c
15210
15211Patch 7.3.845 (after 7.3.844)
15212Problem: Enum indenting is not tested.
15213Solution: Add tests. (Hong Xu)
15214Files: src/testdir/test3.in, src/testdir/test3.ok
15215
15216Patch 7.3.846
15217Problem: Missing proto files.
15218Solution: Add the files.
15219Files: Filelist, src/proto/os_beos.pro
15220
15221Patch 7.3.847
15222Problem: Test 55 fails when messages are translated.
15223Solution: Set language to C. (Ken Takata)
15224Files: src/testdir/test55.in
15225
15226Patch 7.3.848
15227Problem: Can't build with Ruby 2.0 when using MinGW x64 or MSVC10.
15228Solution: Fix it. Also detect RUBY_PLATFORM and RUBY_INSTALL_NAME for x64.
15229 (Ken Takata)
15230Files: src/Make_cyg.mak, src/Make_ming.mak, src/if_ruby.c
15231
15232Patch 7.3.849
15233Problem: ":g//" gives "Pattern not found error" with E486. Should not use
15234 the error number, it's not a regular error message.
15235Solution: Use a normal message. (David Bürgin)
15236Files: src/ex_cmds.c
15237
15238Patch 7.3.850
15239Problem: ":vimgrep //" matches everywhere.
15240Solution: Make it use the previous search pattern. (David Bürgin)
15241Files: runtime/doc/quickfix.txt, src/quickfix.c
15242
15243Patch 7.3.851
15244Problem: Using an empty pattern with :sort silently continues when there is
15245 no previous search pattern.
15246Solution: Give an error message. (David Bürgin)
15247Files: src/ex_cmds.c
15248
15249Patch 7.3.852
15250Problem: system() breaks clipboard text. (Yukihiro Nakadaira)
15251Solution: Use Xutf8TextPropertyToTextList(). (Christian Brabandt)
15252 Also do not put the text in the clip buffer if conversion fails.
15253Files: src/ui.c, src/ops.c
15254
15255Patch 7.3.853
15256Problem: Using "ra" in multiple lines on multi-byte characters leaves a few
15257 characters not replaced.
15258Solution: Adjust the end column only in the last line. (Yasuhiro Matsumoto)
15259Files: src/testdir/test69.in, src/testdir/test69.ok, src/ops.c
15260
15261Patch 7.3.854
15262Problem: After using backspace in insert mode completion, CTRL-N and CTRL-P
15263 do not highlight the right entry. (Olivier Teuliere)
15264Solution: Set the current item to the shown item after using backspace.
15265Files: src/edit.c
15266
15267Patch 7.3.855
15268Problem: Compiler warnings.
15269Solution: Add type casts. (Mike Williams)
15270Files: src/misc1.c
15271
15272Patch 7.3.856
15273Problem: When calling system() multi-byte clipboard contents is garbled.
15274Solution: Save and restore the clipboard contents. (Yukihiro Nakadaira)
15275Files: src/gui_gtk_x11.c, src/proto/gui_gtk_x11.pro, src/ops.c,
15276 src/proto/ops.pro, src/os_unix.c, src/proto/ui.pro, src/ui.c
15277
15278Patch 7.3.857
15279Problem: The QuitPre autocommand event does not trigger for :qa and :wq.
15280Solution: Trigger the event. (Tatsuro Fujii)
15281Files: src/ex_docmd.c
15282
15283Patch 7.3.858
15284Problem: "gv" selects the wrong area after some operators.
15285Solution: Save and restore the type of selection. (Christian Brabandt)
15286Files: src/testdir/test66.in, src/testdir/test66.ok, src/normal.c
15287
15288Patch 7.3.859
15289Problem: 'ambiwidth' must be set by the user.
15290Solution: Detects East Asian ambiguous width (UAX #11) state of the terminal
15291 at the start-up time and 'ambiwidth' accordingly. (Hayaki Saito)
15292Files: src/main.c, src/option.c, src/term.c, src/term.h,
15293 src/proto/term.pro
15294
15295Patch 7.3.860
15296Problem: When using --remote-expr try/catch does not work. (Andrey Radev)
15297Solution: Set emsg_silent instead of emsg_skip.
15298Files: src/main.c
15299
15300Patch 7.3.861
15301Problem: ":setlocal number" clears global value of 'relativenumber'.
15302Solution: Do it properly. (Markus Heidelberg)
15303Files: src/testdir/test89.in, src/testdir/test89.ok, src/option.c
15304
15305Patch 7.3.862
15306Problem: Dragging the status line can be slow.
15307Solution: Look ahead and drop the drag event if there is a next one.
15308Files: src/eval.c, src/misc1.c, src/proto/misc1.pro, src/normal.c
15309
15310Patch 7.3.863 (after 7.3.859)
15311Problem: Problem with 'ambiwidth' detection for ANSI terminal.
15312Solution: Work around not recognizing a term response. (Hayaki Saito)
15313Files: src/term.c
15314
15315Patch 7.3.864 (after 7.3.862)
15316Problem: Can't build without the mouse feature.
15317Solution: Add an #ifdef. (Ike Devolder)
15318Files: src/misc1.c
15319
15320Patch 7.3.865 (after 7.3.862)
15321Problem: Mouse position may be wrong.
15322Solution: Let vungetc() restore the mouse position.
15323Files: src/getchar.c
15324
15325Patch 7.3.866
15326Problem: Not serving the X selection during system() isn't nice.
15327Solution: When using fork() do not loose the selection, keep serving it.
15328 Add a loop similar to handling I/O. (Yukihiro Nakadaira)
15329Files: src/os_unix.c
15330
15331Patch 7.3.867
15332Problem: Matchparen does not update match when using auto-indenting.
15333 (Marc Aldorasi)
15334Solution: Add the TextChanged and TextChangedI autocommand events.
15335Files: runtime/plugin/matchparen.vim, src/main.c, src/edit.c,
15336 src/globals.h, src/vim.h, src/fileio.c, src/proto/fileio.pro,
15337 runtime/doc/autocmd.txt
15338
15339Patch 7.3.868
15340Problem: When at the hit-return prompt and using "k" while no text has
15341 scrolled off screen, then using "j", an empty line is displayed.
15342Solution: Only act on "k" when text scrolled off screen. Also accept
15343 page-up and page-down. (cptstubing)
15344Files: src/message.c
15345
15346Patch 7.3.869
15347Problem: bufwinnr() matches buffers in other tabs.
15348Solution: For bufwinnr() and ? only match buffers in the current tab.
15349 (Alexey Radkov)
15350Files: src/buffer.c, src/diff.c, src/eval.c, src/ex_docmd.c,
15351 src/if_perl.xs, src/proto/buffer.pro
15352
15353Patch 7.3.870
15354Problem: Compiler warnings when using MingW 4.5.3.
15355Solution: Do not use MAKEINTRESOURCE. Adjust #if. (Ken Takata)
15356Files: src/gui_w32.c, src/gui_w48.c, src/os_mswin.c, src/os_win32.c,
15357 src/os_win32.h
15358
15359Patch 7.3.871
15360Problem: search('^$', 'c') does not use the empty match under the cursor.
15361Solution: Special handling of the 'c' flag. (Christian Brabandt)
15362 Add tests.
15363Files: src/search.c, src/testdir/test14.in, src/testdir/test14.ok
15364
15365Patch 7.3.872
15366Problem: On some systems case of file names is always ignored, on others
15367 never.
15368Solution: Add the 'fileignorecase' option to control this at runtime.
15369 Implies 'wildignorecase'.
15370Files: src/buffer.c, src/edit.c, src/ex_cmds2.c, src/ex_getln.c,
15371 src/fileio.c, src/misc1.c, src/misc2.c, src/option.c,
15372 src/option.h, src/vim.h, runtime/doc/options.txt
15373
15374Patch 7.3.873
15375Problem: Cannot easily use :s to make title case.
15376Solution: Have "\L\u" result in title case. (James McCoy)
15377Files: src/regexp.c, src/testdir/test79.in, src/testdir/test79.ok,
15378 src/testdir/test80.in, src/testdir/test80.ok
15379
15380Patch 7.3.874
15381Problem: Comparing file names does not handle multi-byte characters
15382 properly.
15383Solution: Implement multi-byte handling.
15384Files: src/misc1.c, src/misc2.c
15385
15386Patch 7.3.875 (after 7.3.866)
15387Problem: Build problem with some combination of features.
15388Solution: Use FEAT_XCLIPBOARD instead of FEAT_CLIPBOARD.
15389Files: src/os_unix.c
15390
15391Patch 7.3.876
15392Problem: #if indents are off.
15393Solution: Insert a space where appropriate. (Taro Muraoka)
15394Files: src/gui.c
15395
15396Patch 7.3.877 (after 7.3.871)
15397Problem: Forward searching with search() is broken.
15398Solution: Fix it and add tests. (Sung Pae)
15399Files: src/search.c, src/testdir/test14.in, src/testdir/test14.ok
15400
15401Patch 7.3.878
15402Problem: 'fileignorecase' is missing in options window and quickref.
15403Solution: Add the option.
15404Files: runtime/optwin.vim, runtime/doc/quickref.txt
15405
15406Patch 7.3.879
15407Problem: When using an ex command in operator pending mode, using Esc to
15408 abort the command still executes the operator. (David Bürgin)
15409Solution: Clear the operator when the ex command fails. (Christian Brabandt)
15410Files: src/normal.c
15411
15412Patch 7.3.880
15413Problem: When writing viminfo, old history lines may replace lines written
15414 more recently by another Vim instance.
15415Solution: Mark history entries that were read from viminfo and overwrite
15416 them when merging with the current viminfo.
15417Files: src/ex_getln.c
15418
15419Patch 7.3.881
15420Problem: Python list does not work correctly.
15421Solution: Fix it and add a test. (Yukihiro Nakadaira)
15422Files: src/testdir/test86.in, src/testdir/test86.ok, src/if_py_both.h
15423
15424Patch 7.3.882
15425Problem: CursorHold may trigger after receiving the termresponse.
15426Solution: Set the did_cursorhold flag. (Hayaki Saito)
15427Files: src/term.c
15428
15429Patch 7.3.883 (after 7.3.880)
15430Problem: Can't build with some combination of features.
15431Solution: Adjust #ifdefs.
15432Files: src/ex_getln.c
15433
15434Patch 7.3.884
15435Problem: Compiler warning for variable shadowing another. (John Little)
15436Solution: Rename the variable. (Christian Brabandt)
15437Files: src/term.c
15438
15439Patch 7.3.885
15440Problem: Double free for list and dict in Lua. (Shougo Matsu)
15441Solution: Do not unref list and dict. (Yasuhiro Matsumoto)
15442Files: src/if_lua.c
15443
15444Patch 7.3.886
15445Problem: Can't build with multi-byte on Solaris 10.
15446Solution: Add #ifdef X_HAVE_UTF8_STRING. (Laurent Blume)
15447Files: src/ui.c
15448
15449Patch 7.3.887
15450Problem: No tests for Visual mode operators, what 7.3.879 fixes.
15451Solution: Add a new test file. (David Bürgin)
15452Files: src/testdir/test94.in, src/testdir/test94.ok,
15453 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
15454 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
15455 src/testdir/Make_vms.mms, src/testdir/Makefile
15456
15457Patch 7.3.888
15458Problem: Filename completion with 'fileignorecase' does not work for
15459 multi-byte characters.
15460Solution: Make 'fileignorecase' work properly. (Hirohito Higashi)
15461Files: src/misc2.c
15462
15463Patch 7.3.889
15464Problem: Can't build with Ruby 2.0 on a 64 bit system.
15465Solution: Define rb_fix2int and rb_num2int. (Kohei Suzuki)
15466Files: src/if_ruby.c
15467
15468Patch 7.3.890
15469Problem: Test 79 fails on Windows. (Michael Soyka)
15470Solution: Add comment below line causing an error.
15471Files: src/testdir/test79.in
15472
15473Patch 7.3.891
15474Problem: Merging viminfo history doesn't work well.
15475Solution: Don't stop when one type of history is empty. Don't merge history
15476 when writing viminfo.
15477Files: src/ex_getln.c
15478
15479Patch 7.3.892 (after 7.3.891)
15480Problem: Still merging problems for viminfo history.
15481Solution: Do not merge lines when writing, don't write old viminfo lines.
15482Files: src/ex_getln.c, src/ex_cmds.c, src/proto/ex_getln.pro
15483
15484Patch 7.3.893
15485Problem: Crash when using b:, w: or t: after closing the buffer, window or
15486 tabpage.
15487Solution: Allocate the dictionary instead of having it part of the
15488 buffer/window/tabpage struct. (Yukihiro Nakadaira)
15489Files: src/buffer.c, src/eval.c, src/fileio.c, src/structs.h,
15490 src/window.c, src/proto/eval.pro
15491
15492Patch 7.3.894
15493Problem: Using wrong RUBY_VER causing Ruby build to break.
15494Solution: Correct the RUBY_VER value. (Yongwei Wu)
15495Files: src/bigvim.bat
15496
15497Patch 7.3.895
15498Problem: Valgrind error in test 91. (Issue 128)
15499Solution: Pass scope name to find_var_in_ht().
15500Files: src/eval.c
15501
15502Patch 7.3.896
15503Problem: Memory leaks in Lua interface.
15504Solution: Fix the leaks, add tests. (Yukihiro Nakadaira)
15505Files: src/testdir/test85.in, src/testdir/test85.ok, src/if_lua.c
15506
15507Patch 7.3.897
15508Problem: Configure doesn't always find the shared library.
15509Solution: Change the configure script. (Ken Takata)
15510Files: src/configure.in, src/auto/configure
15511
15512Patch 7.3.898
15513Problem: Memory leak reported by valgrind in test 91.
15514Solution: Only use default argument when needed.
15515Files: src/eval.c, src/testdir/test91.in, src/testdir/test91.ok
15516
15517Patch 7.3.899
15518Problem: #if indents are off.
15519Solution: Fix the indents.
15520Files: src/os_unix.c
15521
15522Patch 7.3.900
15523Problem: Not obvious that some mouse features are mutual-exclusive.
15524Solution: Add a comment.
15525Files: src/feature.h
15526
15527Patch 7.3.901
15528Problem: Outdated comment, ugly condition.
15529Solution: Update a few comments, break line.
15530Files: src/getchar.c, src/misc1.c, src/undo.c
15531
15532Patch 7.3.902
15533Problem: When deleting last buffer in other tab the tabline is not updated.
15534Solution: Set the redraw_tabline flag. (Yukihiro Nakadaira)
15535Files: src/window.c
15536
15537Patch 7.3.903 (after 7.3.892)
15538Problem: Crash on exit writing viminfo. (Ron Aaron)
15539Solution: Check for the history to be empty.
15540Files: src/ex_getln.c
15541
15542Patch 7.3.904 (after 7.3.893)
15543Problem: Using memory freed by the garbage collector.
15544Solution: Mark items in aucmd_win as used.
15545Files: src/eval.c
15546
15547Patch 7.3.905 (after 7.3.903)
15548Problem: Crash when writing viminfo. (Ron Aaron)
15549Solution: Prevent freed history info to be used.
15550Files: src/ex_getln.c
15551
15552Patch 7.3.906
15553Problem: The "sleep .2" for running tests does not work on Solaris.
15554Solution: Fall back to using "sleep 1". (Laurent Blume)
15555Files: src/testdir/Makefile
15556
15557Patch 7.3.907
15558Problem: Python uses IndexError when a dict key is not found.
15559Solution: Use KeyError instead. (ZyX)
15560Files: src/if_py_both.h, src/if_python3.c, src/if_python.c,
15561 src/testdir/test86.ok, src/testdir/test87.ok
15562
15563Patch 7.3.908
15564Problem: Possible crash when using a list in Python.
15565Solution: Return early if the list is NULL. (ZyX)
15566Files: src/if_py_both.h
15567
15568Patch 7.3.909
15569Problem: Duplicate Python code.
15570Solution: Move more items to if_py_both.h. (ZyX) Also avoid compiler
15571 warnings for missing initializers.
15572Files: src/if_py_both.h, src/if_python3.c, src/if_python.c
15573
15574Patch 7.3.910
15575Problem: Python code in #ifdef branches with only minor differences.
15576Solution: Merge the #ifdef branches. (ZyX)
15577Files: src/if_py_both.h, src/if_python.c
15578
15579Patch 7.3.911
15580Problem: Python: Access to Vim variables is not so easy.
15581Solution: Define vim.vars and vim.vvars. (ZyX)
15582Files: runtime/doc/if_pyth.txt, src/eval.c, src/globals.h,
15583 src/if_py_both.h, src/if_python3.c, src/if_python.c,
15584 src/testdir/test86.in, src/testdir/test86.ok,
15585 src/testdir/test87.in, src/testdir/test87.ok
15586
15587Patch 7.3.912
15588Problem: Typing a ":" command at the hit-enter dialog does not work if the
15589 "file changed" dialog happens next.
15590Solution: Check for changed files before giving the hit-enter dialog.
15591Files: src/message.c
15592
15593Patch 7.3.913 (after 7.3.905)
15594Problem: Still a crash when writing viminfo.
15595Solution: Add checks for NULL pointers. (Ron Aaron)
15596Files: src/ex_getln.c
15597
15598Patch 7.3.914
15599Problem: ~/.viminfo is messed up when running tests.
15600Solution: Set the viminfo filename.
15601Files: src/testdir/test89.in, src/testdir/test94.in
15602
15603Patch 7.3.915
15604Problem: When reading a file with encoding conversion fails at the end the
15605 next encoding in 'fencs' is not used.
15606Solution: Retry with another encoding when possible. (Taro Muraoka)
15607Files: src/fileio.c
15608
15609Patch 7.3.916
15610Problem: Using freed memory when pasting with the mouse (Issue 130).
15611Solution: Get the byte value early. (hint by Dominique Pelle)
15612Files: src/buffer.c
15613
15614Patch 7.3.917
15615Problem: When a path ends in a backslash appending a comma has the wrong
15616 effect.
15617Solution: Replace a trailing backslash with a slash. (Nazri Ramliy)
15618Files: src/misc1.c, src/testdir/test73.in, src/testdir/test73.ok
15619
15620Patch 7.3.918
15621Problem: Repeating an Ex command after using a Visual motion does not work.
15622Solution: Check for an Ex command being used. (David Bürgin)
15623Files: src/normal.c
15624
15625Patch 7.3.919 (after 7.3.788)
15626Problem: An empty nl.po file does not work with an old msgfmt.
15627Solution: Put a single # in the file. (Laurent Blume)
15628Files: src/po/Makefile
15629
15630Patch 7.3.920
15631Problem: Compiler warning for size_t to int.
15632Solution: Add a type cast. (Mike Williams)
15633Files: src/misc1.c
15634
15635Patch 7.3.921 (after 7.3.697)
15636Problem: Trying to create a fontset handle when 'guifontset' is not set.
15637Solution: Add curly braces around the code block. (Max Kirillov)
15638Files: src/syntax.c
15639
15640Patch 7.3.922
15641Problem: No test for what 7.3.918 fixes.
15642Solution: Add a test. (David Bürgin)
15643Files: src/testdir/test94.in, src/testdir/test94.ok
15644
15645Patch 7.3.923
15646Problem: Check for X11 header files fails on Solaris.
15647Solution: Only use -Werror for gcc. (Laurent Blume)
15648Files: src/configure.in, src/auto/configure
15649
15650Patch 7.3.924
15651Problem: Python interface can't easily access options.
15652Solution: Add vim.options, vim.window.options and vim.buffer.options. (ZyX)
15653Files: runtime/doc/if_pyth.txt, src/eval.c, src/if_py_both.h,
15654 src/if_python.c, src/if_python3.c, src/option.c,
15655 src/proto/eval.pro, src/proto/option.pro, src/testdir/test86.in,
15656 src/testdir/test86.ok, src/testdir/test87.in,
15657 src/testdir/test87.ok, src/vim.h
15658
15659Patch 7.3.925
15660Problem: Typos in source files.
15661Solution: Fix the typos. (Ken Takata)
15662Files: runtime/plugin/matchparen.vim, runtime/tools/vim_vs_net.cmd,
15663 src/GvimExt/gvimext.cpp, src/INSTALLvms.txt, src/Make_cyg.mak,
15664 src/Make_mvc.mak, src/Make_sas.mak, src/Make_vms.mms,
15665 src/Make_w16.mak, src/Makefile, src/VisVim/OleAut.cpp,
15666 src/VisVim/README_VisVim.txt, src/auto/configure, src/buffer.c,
15667 src/configure.in, src/diff.c, src/dosinst.c, src/edit.c,
15668 src/eval.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_eval.c,
15669 src/farsi.c, src/feature.h, src/fileio.c, src/glbl_ime.cpp,
15670 src/gui.c, src/gui_athena.c, src/gui_beval.c, src/gui_gtk_x11.c,
15671 src/gui_mac.c, src/gui_motif.c, src/gui_photon.c, src/gui_w16.c,
15672 src/gui_w32.c, src/gui_w48.c, src/gui_xmebw.c, src/gui_xmebwp.h,
15673 src/hardcopy.c, src/if_cscope.c, src/if_mzsch.c, src/if_ole.cpp,
15674 src/if_perl.xs, src/if_py_both.h, src/if_python.c,
15675 src/if_python3.c, src/if_ruby.c, src/main.aap, src/mbyte.c,
15676 src/memfile.c, src/memline.c, src/misc1.c, src/misc2.c,
15677 src/nbdebug.c, src/normal.c, src/ops.c, src/os_amiga.c,
15678 src/os_mac.h, src/os_msdos.c, src/os_mswin.c, src/os_win16.h,
15679 src/os_win32.c, src/os_win32.h, src/quickfix.c, src/screen.c,
15680 src/search.c, src/spell.c, src/structs.h, src/syntax.c,
15681 src/window.c, vimtutor.com
15682
15683
15684Patch 7.3.926
15685Problem: Autocommands are triggered by setwinvar() et al. Missing BufEnter
15686 on :tabclose. Duplicate WinEnter on :tabclose. Wrong order of
15687 events for :tablose and :tabnew.
Bram Moolenaar9ba7e172013-07-17 22:37:26 +020015688Solution: Fix these autocommand events. (ZyX)
Bram Moolenaar913df812013-07-06 15:44:11 +020015689Files: runtime/doc/eval.txt, src/buffer.c, src/eval.c, src/ex_cmds2.c,
15690 src/fileio.c, src/proto/window.pro, src/testdir/test62.in,
15691 src/testdir/test62.ok, src/window.c
15692
15693Patch 7.3.927
15694Problem: Missing combining characters when putting text in a register.
15695Solution: Include combining characters. (David Bürgin)
15696Files: src/getchar.c, src/testdir/test44.in, src/testdir/test44.ok
15697
15698Patch 7.3.928 (after 7.3.924)
15699Problem: Can't build with strict C compiler.
15700Solution: Move declaration to start of block. (Taro Muraoka)
15701Files: src/if_py_both.h
15702
15703Patch 7.3.929 (after 7.3.924)
15704Problem: Compiler warning for unused variable. Not freeing unused string.
15705Solution: Remove the variable. Clear the options.
15706Files: src/option.c
15707
15708Patch 7.3.930
15709Problem: MSVC 2012 update is not recognized.
15710Solution: Update the version in the makefile. (Raymond Ko)
15711Files: src/Make_mvc.mak
15712
15713Patch 7.3.931
15714Problem: No completion for :xmap and :smap. (Yukihiro Nakadaira)
15715Solution: Add the case statements. (Christian Brabandt)
15716Files: src/ex_docmd.c
15717
15718Patch 7.3.932
15719Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
15720Solution: Initialize the variable.
15721Files: src/option.c
15722
15723Patch 7.3.933
15724Problem: Ruby on Mac crashes due to GC failure.
15725Solution: Init the stack from main(). (Hiroshi Shirosaki)
15726Files: src/main.c, src/if_ruby.c, src/proto/if_ruby.pro
15727
15728Patch 7.3.934
15729Problem: E381 and E380 make the user think nothing happened.
15730Solution: Display the message indicating what error list is now active.
15731 (Christian Brabandt)
15732Files: src/quickfix.c
15733
15734Patch 7.3.935 (after 7.3.933)
15735Problem: Ruby: Init stack works differently on 64 bit systems.
15736Solution: Handle 64 bit systems and also static library. (Yukihiro
15737 Nakadaira)
15738Files: src/if_ruby.c
15739
15740Patch 7.3.936 (after 7.3.935)
15741Problem: Ruby 1.8: Missing piece for static linking on 64 bit systems.
15742Solution: Define ruby_init_stack() (Hiroshi Shirosaki)
15743 Also fix preprocessor indents.
15744Files: src/if_ruby.c
15745
15746Patch 7.3.937
15747Problem: More can be shared between Python 2 and 3.
15748Solution: Move code to if_py_both.h. (ZyX)
15749Files: src/if_python.c, src/if_python3.c, src/if_py_both.h
15750
15751Patch 7.3.938
15752Problem: Python: not easy to get to window number.
15753Solution: Add vim.window.number. (ZyX)
15754Files: runtime/doc/if_pyth.txt, src/if_py_both.h, src/proto/window.pro,
15755 src/window.c
15756
15757Patch 7.3.939
15758Problem: Using Py_BuildValue is inefficient sometimes.
15759Solution: Use PyLong_FromLong(). (ZyX)
15760Files: src/if_py_both.h
15761
15762Patch 7.3.940
15763Problem: Python: Can't get position of window.
15764Solution: Add window.row and window.col. (ZyX)
15765Files: runtime/doc/if_pyth.txt, src/if_py_both.h
15766
15767Patch 7.3.941
15768Problem: Stuff in if_py_both.h is ordered badly.
15769Solution: Reorder by type. (ZyX)
15770Files: src/if_py_both.h, src/if_python.c
15771
15772Patch 7.3.942
15773Problem: Python: SEGV in Buffer functions.
15774Solution: Call CheckBuffer() at the right time. (ZyX)
15775Files: src/if_py_both.h, src/if_python.c, src/if_python3.c
15776
15777Patch 7.3.943
15778Problem: Python: Negative indices were failing.
15779Solution: Fix negative indices. Add tests. (ZyX)
15780Files: src/if_py_both.h, src/if_python3.c, src/testdir/test86.in,
15781 src/testdir/test86.ok, src/testdir/test87.in,
15782 src/testdir/test87.ok
15783
15784Patch 7.3.944
15785Problem: External program receives the termrespone.
15786Solution: Insert a delay and discard input. (Hayaki Saito)
15787Files: src/term.c
15788
15789Patch 7.3.945
15790Problem: Python: List of buffers is not very useful.
15791Solution: Make vim.buffers a map. No iterator yet. (ZyX)
15792Files: runtime/doc/if_pyth.txt, src/if_py_both.h, src/if_python3.c,
15793 src/if_python.c, src/testdir/test86.ok, src/testdir/test87.ok
15794
15795Patch 7.3.946
15796Problem: Sometimes get stuck in waiting for cursor position report,
15797 resulting in keys starting with <Esc>[ not working.
15798Solution: Only wait for more characters after <Esc>[ if followed by '?', '>'
15799 or a digit.
15800Files: src/term.c
15801
15802Patch 7.3.947
15803Problem: Python: No iterator for vim.list and vim.bufferlist.
15804Solution: Add the iterators. Also fix name of FunctionType. Add tests for
15805 vim.buffers. (ZyX)
15806Files: runtime/doc/if_pyth.txt, src/eval.c, src/if_py_both.h,
15807 src/if_python3.c, src/if_python.c, src/proto/eval.pro,
15808 src/testdir/test86.in, src/testdir/test86.ok,
15809 src/testdir/test87.in, src/testdir/test87.ok
15810
15811Patch 7.3.948
15812Problem: Cannot build with Python 2.2
15813Solution: Make Python interface work with Python 2.2
15814 Make 2.2 the first supported version. (ZyX)
15815Files: src/if_py_both.h, src/if_python3.c, src/if_python.c,
15816 src/testdir/test86.in, src/testdir/test86.ok,
15817 src/testdir/test87.ok, src/configure.in, src/auto/configure
15818
15819Patch 7.3.949
15820Problem: Python: no easy access to tabpages.
15821Solution: Add vim.tabpages and vim.current.tabpage. (ZyX)
15822Files: runtime/doc/if_pyth.txt, src/if_py_both.h, src/if_python3.c,
15823 src/if_python.c, src/proto/if_python3.pro,
15824 src/proto/if_python.pro, src/proto/window.pro, src/structs.h,
15825 src/window.c
15826
15827Patch 7.3.950
15828Problem: Python: Stack trace printer can't handle messages.
15829Solution: Make KeyErrors use PyErr_SetObject. (ZyX)
15830Files: src/if_py_both.h, src/if_python3.c, src/if_python.c
15831
15832Patch 7.3.951
15833Problem: Python exceptions have problems.
15834Solution: Change some IndexErrors to TypeErrors. Make “line number out of
15835 range” an IndexError. Make “unable to get option value” a
15836 RuntimeError. Make all PyErr_SetString messages start with
15837 lowercase letter and use _(). (ZyX)
15838Files: src/if_py_both.h, src/if_python3.c, src/if_python.c,
15839 src/testdir/test86.ok, src/testdir/test87.ok
15840
15841Patch 7.3.952
15842Problem: Python: It's not easy to change window/buffer/tabpage.
15843Solution: Add ability to assign to vim.current.{tabpage,buffer,window}.
15844 (ZyX)
15845Files: runtime/doc/if_pyth.txt, src/if_py_both.h
15846
15847Patch 7.3.953
15848Problem: Python: string exceptions are deprecated.
15849Solution: Make vim.error an Exception subclass. (ZyX)
15850Files: src/if_python.c, src/if_python3.c
15851
15852Patch 7.3.954
15853Problem: No check if PyObject_IsTrue fails.
15854Solution: Add a check for -1 value. (ZyX)
15855Files: src/if_py_both.h
15856
15857Patch 7.3.955
15858Problem: Python: Not enough tests.
15859Solution: Add tests for vim.{current,window*,tabpage*}. (ZyX)
15860Files: src/testdir/test86.in, src/testdir/test86.ok,
15861 src/testdir/test87.in, src/testdir/test87.ok
15862
15863Patch 7.3.956
15864Problem: Python vim.bindeval() causes SIGABRT.
15865Solution: Make pygilstate a local variable. (Yukihiro Nakadaira)
15866Files: src/if_py_both.h, src/if_python.c, src/if_python3.c
15867
15868Patch 7.3.957
15869Problem: Python does not have a "do" command like Perl or Lua.
15870Solution: Add the ":py3do" command. (Lilydjwg)
15871Files: runtime/doc/if_pyth.txt, src/ex_cmds.h, src/ex_docmd.c,
15872 src/if_python3.c, src/proto/if_python3.pro
15873
15874Patch 7.3.958
15875Problem: Python: Iteration destructor not set.
15876Solution: Put IterDestructor to use. (ZyX)
15877Files: src/if_py_both.c
15878
15879Patch 7.3.959 (after 7.3.957)
15880Problem: Missing error number.
15881Solution: Assign an error number.
15882Files: src/if_python3.c
15883
15884Patch 7.3.960
15885Problem: Compiler warning for unused variable.
15886Solution: Put declaration in #ifdef.
15887Files: src/window.c
15888
15889Patch 7.3.961
15890Problem: Tests 86 and 87 fail when using another language than English.
15891Solution: Set the language to C in the test. (Dominique Pelle)
15892Files: src/testdir/test86.in, src/testdir/test87.in,
15893 src/testdir/test87.ok
15894
15895Patch 7.3.962
15896Problem: Python tests are not portable.
15897Solution: Use shiftwidth instead of iminsert. (ZyX)
15898Files: src/testdir/test86.in, src/testdir/test86.ok,
15899 src/testdir/test87.in, src/testdir/test87.ok
15900
15901Patch 7.3.963
15902Problem: Setting curbuf without curwin causes trouble.
15903Solution: Add switch_buffer() and restore_buffer(). Block autocommands to
15904 avoid trouble.
15905Files: src/eval.c, src/proto/eval.pro, src/proto/window.pro,
15906 src/if_py_both.h, src/window.c, src/testdir/test86.ok
15907
15908Patch 7.3.964
15909Problem: Python: not so easy to access tab pages.
15910Solution: Add window.tabpage, make window.number work with non-current tab
15911 pages. (ZyX)
15912Files: runtime/doc/if_pyth.txt, src/if_py_both.h, src/if_python3.c,
15913 src/if_python.c, src/testdir/test86.ok, src/testdir/test87.ok
15914
15915Patch 7.3.965
15916Problem: Python garbage collection not working properly.
15917Solution: Add support for garbage collection. (ZyX)
15918Files: src/if_py_both.h
15919
15920Patch 7.3.966
15921Problem: There is ":py3do" but no ":pydo".
15922Solution: Add the ":pydo" command. (Lilydjwg)
15923Files: runtime/doc/if_pyth.txt, src/ex_cmds.h, src/ex_docmd.c,
15924 src/if_py_both.h, src/if_python.c, src/if_python3.c,
15925 src/proto/if_python.pro
15926
15927Patch 7.3.967 (after 7.3.965)
15928Problem: Build fails on Mac OSX. (Greg Novack)
15929Solution: Undefine clear().
15930Files: src/if_py_both.h
15931
15932Patch 7.3.968
15933Problem: Multi-byte support is only available when compiled with "big"
15934 features.
15935Solution: Include multi-byte by default, with "normal" features.
15936Files: src/feature.h
15937
15938Patch 7.3.969
Bram Moolenaardd007ed2013-07-09 15:44:17 +020015939Problem: Can't build with Python 3 and without Python 2.
Bram Moolenaar913df812013-07-06 15:44:11 +020015940Solution: Adjust #ifdef. (Xavier de Gaye)
15941Files: src/window.c
15942
15943Patch 7.3.970
15944Problem: Syntax highlighting can be slow.
15945Solution: Include the NFA regexp engine. Add the 'regexpengine' option to
15946 select which one is used. (various authors, including Ken Takata,
15947 Andrei Aiordachioaie, Russ Cox, Xiaozhou Liua, Ian Young)
15948Files: src/Make_cyg.mak, src/Make_ming.mak, src/Make_mvc.mak,
15949 src/Makefile, src/regexp.c, src/regexp.h, src/regexp_nfa.c,
15950 src/structs.h, src/testdir/Makefile, src/testdir/test64.in,
15951 src/testdir/test64.ok, Filelist, runtime/doc/pattern.txt,
15952 runtime/doc/option.txt, src/option.c, src/option.h,
15953 src/testdir/test95.in, src/testdir/test95.ok,
15954 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
15955 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
15956 src/testdir/Make_vms.mms, src/testdir/Makefile
15957
15958Patch 7.3.971
15959Problem: No support for VS2012 static code analysis.
15960Solution: Add the ANALYZE option. (Mike Williams)
15961Files: src/Make_mvc.mak
15962
15963Patch 7.3.972
15964Problem: Cursor not restored after InsertEnter autocommand if it moved to
15965 another line.
15966Solution: Also restore if the saved line number is still valid. Allow
15967 setting v:char to skip restoring.
15968Files: src/edit.c, runtime/doc/autocmd.txt
15969
15970Patch 7.3.973
15971Problem: Compiler warnings. Crash on startup. (Tony Mechelynck)
15972Solution: Change EMSG2 to EMSGN. Make array one character longer.
15973Files: src/regexp_nfa.c
15974
15975Patch 7.3.974
15976Problem: Can't build with ruby 1.8.5.
15977Solution: Only use ruby_init_stack() when RUBY_INIT_STACK is defined.
15978 (Yukihiro Nakadaira)
15979Files: src/if_ruby.c
15980
15981Patch 7.3.975
15982Problem: Crash in regexp parsing.
15983Solution: Correctly compute the end of allocated memory.
15984Files: src/regexp_nfa.c
15985
15986Patch 7.3.976
15987Problem: Can't build on HP-UX.
15988Solution: Remove modern initialization. (John Marriott)
15989Files: src/regexp_nfa.c
15990
15991Patch 7.3.977
15992Problem: Compiler warnings on 64 bit Windows.
15993Solution: Add type casts. (Mike Williams) Also fix some white space and
15994 uncomment what was commented-out for testing.
15995Files: src/regexp_nfa.c
15996
15997Patch 7.3.978
15998Problem: Regexp debug logs don't have a good name.
15999Solution: Use clear names and make it possible to write logs for the old and
16000 new engines separately. (Taro Muraoka)
16001Files: src/regexp.c, src/regexp_nfa.c
16002
16003Patch 7.3.979
16004Problem: Complex NFA regexp doesn't work.
16005Solution: Set actual state stack end instead of using an arbitrary number.
16006 (Yasuhiro Matsumoto)
16007Files: src/regexp_nfa.c
16008
16009Patch 7.3.980
16010Problem: Regexp logs may contain garbage. Character classes don't work
16011 correctly for multi-byte characters.
16012Solution: Check for end of post list. Only use "is" functions for
16013 characters up to 255. (Ken Takata)
16014Files: src/regexp_nfa.c
16015
16016Patch 7.3.981
16017Problem: In the old regexp engine \i, \I, \f and \F don't work on
16018 multi-byte characters.
16019Solution: Dereference pointer properly.
16020Files: src/regexp.c, src/testdir/test64.in, src/testdir/test64.ok
16021
16022Patch 7.3.982
16023Problem: In the new regexp engine \p does not work on multi-byte
16024 characters.
16025Solution: Don't point to an integer but the characters.
16026Files: src/regexp_nfa.c, src/testdir/test95.in, src/testdir/test95.ok
16027
16028Patch 7.3.983
Bram Moolenaardd007ed2013-07-09 15:44:17 +020016029Problem: Unnecessary temp variable.
Bram Moolenaar913df812013-07-06 15:44:11 +020016030Solution: Remove the variable.
16031Files: src/regexp_nfa.c
16032
16033Patch 7.3.984
16034Problem: A Visual mapping that uses CTRL-G works differently when started
16035 from Insert mode. (Ein Brown)
16036Solution: Reset old_mapped_len when handling typed text in Select mode.
16037Files: src/normal.c
16038
16039Patch 7.3.985
16040Problem: GTK vim not started as gvim doesn't set WM_CLASS property to a
16041 useful value.
16042Solution: Call g_set_prgname() on startup. (James McCoy)
16043Files: src/gui_gtk_x11.c
16044
16045Patch 7.3.986
16046Problem: Test 95 doesn't pass when 'encoding' isn't utf-8. (Yasuhiro
16047 Matsumoto)
16048Solution: Force 'encoding' to be utf-8.
16049Files: src/testdir/test95.in
16050
16051Patch 7.3.987
16052Problem: No easy to run an individual test. Tests 64 fails when
16053 'encoding' is not utf-8.
16054Solution: Add individual test targets to the Makefile. Move some lines from
16055 test 64 to 95.
16056Files: src/Makefile, src/testdir/test64.in, src/testdir/test64.ok,
16057 src/testdir/test95.in, src/testdir/test95.ok
16058
16059Patch 7.3.988
16060Problem: New regexp engine is slow.
16061Solution: Break out of the loop when the state list is empty.
16062Files: src/regexp_nfa.c
16063
16064Patch 7.3.989
16065Problem: New regexp engine compares negative numbers to character.
16066Solution: Add missing case statements.
16067Files: src/regexp_nfa.c
16068
16069Patch 7.3.990
16070Problem: Memory leak in new regexp engine.
16071Solution: Jump to end of function to free memory. (Dominique Pelle)
16072Files: src/regexp_nfa.c
16073
16074Patch 7.3.991
16075Problem: More can be shared by Python 2 and 3.
16076Solution: Move more stuff to if_py_both. (ZyX)
16077Files: src/if_py_both.h, src/if_python3.c, src/if_python.c,
16078 src/testdir/test87.ok
16079
16080Patch 7.3.992
16081Problem: Python: Too many type casts.
16082Solution: Change argument types. (ZyX)
16083Files: src/if_py_both.h, src/if_python3.c, src/if_python.c
16084
16085Patch 7.3.993
16086Problem: Python: Later patch does things slightly differently.
16087Solution: Adjusted argument type changes. (ZyX)
16088Files: src/if_py_both.h, src/if_python3.c, src/if_python.c
16089
16090Patch 7.3.994
16091Problem: Python: using magic constants.
16092Solution: Use descriptive values for ml_flags. (ZyX)
16093Files: src/if_py_both.h, src/if_python3.c
16094
16095Patch 7.3.995
16096Problem: Python: Module initialization is duplicated.
16097Solution: Move to shared file. (ZyX)
16098Files: src/if_py_both.h, src/if_python3.c, src/if_python.c
16099
16100Patch 7.3.996
16101Problem: Python: Can't check types of what is returned by bindeval().
16102Solution: Add vim.List, vim.Dictionary and vim.Function types. (ZyX)
16103Files: runtime/doc/if_pyth.txt, src/if_py_both.h, src/testdir/test86.in,
16104 src/testdir/test86.ok, src/testdir/test87.in,
16105 src/testdir/test87.ok
16106
16107Patch 7.3.997
16108Problem: Vim and Python exceptions are different.
16109Solution: Make Vim exceptions be Python exceptions. (ZyX)
16110Files: src/if_py_both.h, src/testdir/test86.in, src/testdir/test86.ok,
16111 src/testdir/test87.in, src/testdir/test87.ok
16112
16113Patch 7.3.998
16114Problem: Python: garbage collection issues.
16115Solution: Fix the GC issues: Use proper DESTRUCTOR_FINISH: avoids negative
16116 refcounts, use PyObject_GC_* for objects with tp_traverse and
16117 tp_clear, add RangeTraverse and RangeClear, use Py_XDECREF in some
16118 places. (ZyX)
16119Files: src/if_py_both.h, src/if_python3.c, src/if_python.c
16120
16121Patch 7.3.999
16122Problem: New regexp engine sets curbuf temporarily.
16123Solution: Use reg_buf instead, like the old engine.
16124Files: src/regexp_nfa.c
16125
16126Patch 7.3.1000 (whoa!)
16127Problem: Typo in char value causes out of bounds access.
16128Solution: Fix character value. (Klemens Baum)
16129Files: src/regexp.c
16130
16131Patch 7.3.1001
16132Problem: Duplicate condition in if.
16133Solution: Remove one condition.
16134Files: src/regexp_nfa.c
16135
16136Patch 7.3.1002
16137Problem: Valgrind errors for Python interface.
16138Solution: Fix memory leaks when running tests. (ZyX)
16139Files: src/if_py_both.h
16140
16141Patch 7.3.1003
16142Problem: Python interface does not compile with Python 2.2
16143Solution: Fix thread issues and True/False. (ZyX)
16144Files: src/if_py_both.h, src/if_python3.c, src/if_python.c,
16145 src/testdir/test86.in, src/testdir/test86.ok,
16146 src/testdir/test87.in, src/testdir/test87.ok
16147
16148Patch 7.3.1004
16149Problem: No error when option could not be set.
16150Solution: Report an error. (ZyX)
16151Files: src/if_py_both.h, src/option.c, src/proto/option.pro,
16152 src/testdir/test86.ok, src/testdir/test87.ok
16153
16154Patch 7.3.1005
16155Problem: Get stuck on regexp "\n*" and on "%s/^\n\+/\r".
16156Solution: Fix handling of matching a line break. (idea by Hirohito Higashi)
16157Files: src/regexp_nfa.c
16158
16159Patch 7.3.1006
16160Problem: NFA engine not used for "\_[0-9]".
16161Solution: Enable this, fixed in patch 1005.
16162Files: src/regexp_nfa.c
16163
16164Patch 7.3.1007
16165Problem: Can't build on Minix 3.2.1.
16166Solution: Add a condition to an #ifdef. (Gautam Tirumala)
16167Files: src/memfile.c
16168
16169Patch 7.3.1008
16170Problem: Test 95 fails on MS-Windows.
16171Solution: Set 'nomore'. Change \i to \f. Change multi-byte character to
16172 something that is not matching \i. (Ken Takata)
16173Files: src/testdir/test95.in, src/testdir/test95.ok
16174
16175Patch 7.3.1009
16176Problem: Compiler warning for ambiguous else.
16177Solution: Add curly braces.
16178Files: src/if_py_both.h
16179
16180Patch 7.3.1010
16181Problem: New regexp: adding \Z makes every character match.
16182Solution: Only apply ireg_icombine for composing characters.
Bram Moolenaardd007ed2013-07-09 15:44:17 +020016183 Also add missing change from patch 1008. (Ken Takata)
Bram Moolenaar913df812013-07-06 15:44:11 +020016184Files: src/regexp_nfa.c, src/testdir/test95.in, src/testdir/test95.ok
16185
16186Patch 7.3.1011
16187Problem: New regexp engine is inefficient with multi-byte characters.
16188Solution: Handle a character at a time instead of a byte at a time. Also
16189 make \Z partly work.
16190Files: src/regexp_nfa.c, src/testdir/test95.in, src/testdir/test95.ok
16191
16192Patch 7.3.1012
16193Problem: \Z does not work properly with the new regexp engine.
16194Solution: Make \Z work. Add tests.
16195Files: src/regexp_nfa.c, src/testdir/test95.in, src/testdir/test95.ok
16196
16197Patch 7.3.1013
16198Problem: New regexp logging is a bit messy.
16199Solution: Consistently use #defines, add explanatory comment. (Taro Muraoka)
16200Files: src/regexp_nfa.c
16201
16202Patch 7.3.1014
16203Problem: New regexp state dump is hard to read.
16204Solution: Make the state dump more pretty. (Taro Muraoka)
16205Files: src/regexp_nfa.c
16206
16207Patch 7.3.1015
16208Problem: New regexp engine: Matching composing characters is wrong.
16209Solution: Fix matching composing characters.
16210Files: src/regexp_nfa.c, src/testdir/test95.in, src/testdir/test95.ok
16211
16212Patch 7.3.1016
16213Problem: Unused field in nfa_state.
16214Solution: Remove lastthread.
16215Files: src/regexp.h, src/regexp_nfa.c
16216
16217Patch 7.3.1017
16218Problem: Zero width match changes length of match.
16219Solution: For a zero width match put new states in the current position in
16220 the state list.
16221Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok,
16222 src/regexp.h
16223
16224Patch 7.3.1018
16225Problem: New regexp engine wastes memory.
16226Solution: Allocate prog with actual number of states, not estimated maximum
16227 number of sates.
16228Files: src/regexp_nfa.c
16229
16230Patch 7.3.1019
16231Problem: These do not work with the new regexp engine: \%o123, \%x123,
16232 \%d123, \%u123 and \%U123.
16233Solution: Implement these items.
16234Files: src/regexp_nfa.c
16235
16236Patch 7.3.1020
16237Problem: Not all patterns are tested with auto / old / new engine.
16238Solution: Test patterns with three values of 'regexpengine'.
16239Files: src/testdir/test64.in, src/testdir/test64.ok,
16240 src/testdir/test95.in, src/testdir/test95.ok
16241
16242Patch 7.3.1021
16243Problem: New regexp engine does not ignore order of composing chars.
16244Solution: Ignore composing chars order.
16245Files: src/regexp_nfa.c, src/testdir/test95.in, src/testdir/test95.ok
16246
16247Patch 7.3.1022
16248Problem: Compiler warning for shadowed variable. (John Little)
16249Solution: Move declaration, rename variables.
16250Files: src/regexp_nfa.c
16251
16252Patch 7.3.1023
16253Problem: Searching for composing char only and using \Z has different
16254 results.
16255Solution: Make it match the composing char, matching everything is not
16256 useful.
16257Files: src/regexp_nfa.c, src/testdir/test95.in, src/testdir/test95.ok
16258
16259Patch 7.3.1024
16260Problem: New regexp: End of matching pattern not set correctly. (Cesar
16261 Romani)
16262Solution: Quit the loop after finding the match. Store nfa_has_zend in the
16263 program.
16264Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok,
16265 src/regexp.h
16266
16267Patch 7.3.1025
16268Problem: New regexp: not matching newline in string. (Marc Weber)
16269Solution: Check for "\n" character.
16270Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
16271
16272Patch 7.3.1026
Bram Moolenaardd007ed2013-07-09 15:44:17 +020016273Problem: New regexp: pattern that includes a new-line matches too early.
Bram Moolenaar913df812013-07-06 15:44:11 +020016274 (john McGowan)
16275Solution: Do not start searching in the second line.
16276Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
16277
16278Patch 7.3.1027
16279Problem: New regexp performance: Calling no_Magic() very often.
16280Solution: Remove magicness inline.
16281Files: src/regexp_nfa.c
16282
16283Patch 7.3.1028
16284Problem: New regexp performance: Copying a lot of position state.
16285Solution: Only copy the sub-expressions that are being used.
16286Files: src/regexp_nfa.c, src/regexp.h
16287
16288Patch 7.3.1029
16289Problem: New regexp performance: Unused position state being copied.
16290Solution: Keep track of which positions are actually valid.
16291Files: src/regexp_nfa.c
16292
16293Patch 7.3.1030 (after 7.3.1028)
16294Problem: Can't build for debugging.
16295Solution: Fix struct member names.
16296Files: src/regexp_nfa.c
16297
16298Patch 7.3.1031
16299Problem: Compiler warnings for shadowed variable. (John Little)
16300Solution: Move the variable declarations to the scope where they are used.
16301Files: src/regexp_nfa.c
16302
16303Patch 7.3.1032
16304Problem: "\ze" is not supported by the new regexp engine.
16305Solution: Make "\ze" work.
16306Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
16307
16308Patch 7.3.1033
16309Problem: "\1" .. "\9" are not supported in the new regexp engine.
16310Solution: Implement them. Add a few more tests.
16311Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok,
16312 src/regexp.h
16313
16314Patch 7.3.1034
16315Problem: New regexp code using strange multi-byte code.
16316Solution: Use the normal code to advance and backup pointers.
16317Files: src/regexp_nfa.c
16318
16319Patch 7.3.1035
16320Problem: Compiler warning on 64 bit windows.
16321Solution: Add type cast. (Mike Williams)
16322Files: src/if_py_both.h
16323
16324Patch 7.3.1036
16325Problem: Can't build on HP-UX.
16326Solution: Give the union a name. (John Marriott)
16327Files: src/regexp_nfa.c
16328
16329Patch 7.3.1037
16330Problem: Look-behind matching is very slow on long lines.
16331Solution: Add a byte limit to how far back an attempt is made.
16332Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test64.in,
16333 src/testdir/test64.ok
16334
16335Patch 7.3.1038
16336Problem: Crash when using Cscope.
16337Solution: Avoid negative argument to vim_strncpy(). (Narendran
16338 Gopalakrishnan)
16339Files: src/if_cscope.c
16340
16341Patch 7.3.1039
16342Problem: New regexp engine does not support \%23c, \%<23c and the like.
16343Solution: Implement them. (partly by Yasuhiro Matsumoto)
16344Files: src/regexp.h, src/regexp_nfa.c, src/testdir/test64.in,
16345 src/testdir/test64.ok
16346
16347Patch 7.3.1040
16348Problem: Python: Problems with debugging dynamic build.
16349Solution: Python patch 1. (ZyX)
16350Files: src/if_python.c, src/if_python3.c
16351
16352Patch 7.3.1041
16353Problem: Python: Invalid read valgrind errors.
16354Solution: Python patch 2: defer DICTKEY_UNREF until key is no longer needed.
16355 (ZyX)
16356Files: src/if_py_both.h
16357
16358Patch 7.3.1042
16359Problem: Python: can't assign to vim.Buffer.name.
16360Solution: Python patch 3. (ZyX)
16361Files: runtime/doc/if_pyth.txt, src/ex_cmds.c, src/if_py_both.h,
16362 src/if_python3.c, src/if_python.c, src/proto/ex_cmds.pro,
16363 src/testdir/test86.in, src/testdir/test86.ok,
16364 src/testdir/test87.in, src/testdir/test87.ok
16365
16366Patch 7.3.1043
16367Problem: Python: Dynamic compilation with 2.3 fails.
16368Solution: Python patch 4. (ZyX)
16369Files: src/if_python.c
16370
16371Patch 7.3.1044
16372Problem: Python: No {Buffer,TabPage,Window}.valid attributes.
16373Solution: Python patch 5: add .valid (ZyX)
16374Files: src/if_py_both.h, src/if_python3.c, src/if_python.c,
16375 src/testdir/test86.in, src/testdir/test86.ok,
16376 src/testdir/test87.in, src/testdir/test87.ok
16377
16378Patch 7.3.1045
16379Problem: Python: No error handling for VimToPython function.
16380Solution: Python patch 6. (ZyX)
16381Files: src/if_py_both.h
16382
16383Patch 7.3.1046
16384Problem: Python: Using Py_BuildValue for building strings.
16385Solution: Python patch 7 and 7.5: Replace Py_BuildValue with
16386 PyString_FromString. (ZyX)
16387Files: src/if_py_both.h
16388
16389Patch 7.3.1047
16390Problem: Python: dir() does not work properly.
16391Solution: Python patch 8. Add __dir__ method to all objects with custom
16392 tp_getattr supplemented by __members__ attribute for at least
16393 python-2* versions. __members__ is not mentioned in python-3*
16394 dir() output even if it is accessible. (ZyX)
16395Files: src/if_py_both.h, src/if_python3.c, src/if_python.c,
16396 src/testdir/test86.in, src/testdir/test86.ok,
16397 src/testdir/test87.in, src/testdir/test87.ok
16398
16399Patch 7.3.1048
16400Problem: Python: no consistent naming.
16401Solution: Python patch 9: Rename d to dict and lookupDict to lookup_dict.
16402 (ZyX)
16403Files: src/if_py_both.h
16404
16405Patch 7.3.1049
16406Problem: Python: no consistent naming
16407Solution: Python patch 10: Rename DICTKEY_GET_NOTEMPTY to DICTKEY_GET. (ZyX)
16408Files: src/if_py_both.h
16409
16410Patch 7.3.1050
16411Problem: Python: Typo in pyiter_to_tv.
16412Solution: Python patch 11. (ZyX)
16413Files: src/if_py_both.h
16414
16415Patch 7.3.1051
16416Problem: Python: possible memory leaks.
16417Solution: Python patch 12: fix the leaks (ZyX)
16418Files: src/if_py_both.h
16419
16420Patch 7.3.1052
16421Problem: Python: possible SEGV and negative refcount.
16422Solution: Python patch 13: Fix IterIter function. (ZyX)
16423Files: src/if_py_both.h
16424
16425Patch 7.3.1053
16426Problem: Python: no flag for types with tp_traverse+tp_clear.
16427Solution: Python patch 14: Add Py_TPFLAGS_HAVE_GC. (ZyX)
16428Files: src/if_py_both.h
16429
16430Patch 7.3.1054 (after 7.3.1042)
16431Problem: Can't build without the +autocmd feature. (Elimar Riesebieter)
16432Solution: Fix use of buf and curbuf.
16433Files: src/ex_cmds.c, src/testdir/test86.ok, src/testdir/test87.ok
16434
16435Patch 7.3.1055
16436Problem: Negated collection does not match newline.
16437Solution: Handle newline differently. (Hiroshi Shirosaki)
16438Files: src/regexp_nfa.c, src/testdir/test64.ok, src/testdir/test64.in
16439
16440Patch 7.3.1056
16441Problem: Python: possible memory leaks.
16442Solution: Python patch 15. (ZyX) Fix will follow later.
16443Files: src/eval.c, src/if_py_both.h, src/proto/eval.pro
16444
16445Patch 7.3.1057
Bram Moolenaardd007ed2013-07-09 15:44:17 +020016446Problem: Python: not enough compatibility.
Bram Moolenaar913df812013-07-06 15:44:11 +020016447Solution: Python patch 16: Make OutputWritelines support any sequence object
16448 (ZyX) Note: tests fail
16449Files: src/if_py_both.h, src/testdir/test86.in, src/testdir/test86.ok,
16450 src/testdir/test87.in, src/testdir/test87.ok
16451
16452Patch 7.3.1058
16453Problem: Call of funcref does not succeed in other script.
16454Solution: Python patch 17: add get_expanded_name(). (ZyX)
16455Files: src/eval.c, src/proto/eval.pro
16456
16457Patch 7.3.1059
16458Problem: Python: Using fixed size buffers.
16459Solution: Python patch 18: Use python's own formatter. (ZyX)
16460Files: src/if_py_both.h, src/if_python3.c, src/if_python.c
16461
16462Patch 7.3.1060
16463Problem: Python: can't repr() a function.
16464Solution: Python patch 19: add FunctionRepr(). (ZyX)
16465Files: src/if_py_both.h
16466
16467Patch 7.3.1061
16468Problem: Python: Dictionary is not standard.
16469Solution: Python patch 20: Add standard methods and fields. (ZyX)
16470Files: runtime/doc/if_pyth.txt, src/eval.c, src/if_py_both.h,
16471 src/if_python3.c, src/if_python.c, src/proto/eval.pro,
16472 src/testdir/test86.in, src/testdir/test86.ok,
16473 src/testdir/test87.in, src/testdir/test87.ok
16474
16475Patch 7.3.1062
16476Problem: Python: List is not standard.
16477Solution: Python patch 21: Add standard methods and fields. (ZyX)
16478Files: src/if_py_both.h, src/testdir/test86.in, src/testdir/test86.ok,
16479 src/testdir/test87.in, src/testdir/test87.ok
16480
16481Patch 7.3.1063
16482Problem: Python: Function is not standard.
16483Solution: Python patch 22: make Function subclassable. (ZyX)
16484Files: src/eval.c, src/if_py_both.h, src/proto/eval.pro,
16485 src/testdir/test86.in, src/testdir/test86.ok,
16486 src/testdir/test87.in, src/testdir/test87.ok
16487
16488Patch 7.3.1064
16489Problem: Python: insufficient error checking.
16490Solution: Python patch 23. (ZyX)
16491Files: src/if_py_both.h
16492
16493Patch 7.3.1065
16494Problem: Python: key mapping is not standard.
Bram Moolenaardd007ed2013-07-09 15:44:17 +020016495Solution: Python patch 24: use PyMapping_Keys. (ZyX)
Bram Moolenaar913df812013-07-06 15:44:11 +020016496Files: src/if_py_both.h, src/if_python3.c, src/if_python.c
16497
16498Patch 7.3.1066
16499Problem: Python: Insufficient exception and error testing.
16500Solution: Python patch 25. (ZyX)
16501Files: src/testdir/test86.in, src/testdir/test86.ok,
16502 src/testdir/test87.in, src/testdir/test87.ok
16503
16504Patch 7.3.1067
16505Problem: Python: documentation lags behind.
16506Solution: Python patch 26. (ZyX)
16507Files: runtime/doc/if_pyth.txt
16508
16509Patch 7.3.1068
16510Problem: Python: Script is auto-loaded on function creation.
16511Solution: Python patch 27. (ZyX)
16512Files: src/eval.c, src/if_py_both.h, src/proto/eval.pro,
16513 src/testdir/test86.ok, src/testdir/test87.ok, src/vim.h
16514
16515Patch 7.3.1069
16516Problem: Python: memory leaks.
16517Solution: Python patch 28: Purge out DICTKEY_CHECK_EMPTY macros. (ZyX)
16518Files: src/if_py_both.h
16519
16520Patch 7.3.1070
16521Problem: Vim crashes in Python tests. Compiler warning for unused function.
16522Solution: Disable the tests for now. Move the function.
16523Files: src/if_py_both.h, src/if_python.c, src/testdir/test86.in,
16524 src/testdir/test87.in
16525
16526Patch 7.3.1071
16527Problem: New regexp engine: backreferences don't work correctly.
16528Solution: Add every possible start/end position on the state stack.
16529Files: src/regexp_nfa.c, src/regexp.h, src/testdir/test64.in,
16530 src/testdir/test64.ok
16531
16532Patch 7.3.1072
Bram Moolenaardd007ed2013-07-09 15:44:17 +020016533Problem: Compiler warning for uninitialized variable.
Bram Moolenaar913df812013-07-06 15:44:11 +020016534Solution: Initialize it.
16535Files: src/regexp_nfa.c
16536
16537Patch 7.3.1073
16538Problem: New regexp engine may run out of states.
16539Solution: Allocate states dynamically. Also make the test report errors.
16540Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok,
16541 src/testdir/test95.in
16542
16543Patch 7.3.1074
16544Problem: Compiler warning for printf format. (Manuel Ortega)
16545Solution: Add type casts.
16546Files: src/if_py_both.h
16547
16548Patch 7.3.1075
16549Problem: Compiler warning for storing a long_u in an int.
16550Solution: Declare the number as an int. (Mike Williams)
16551Files: src/regexp_nfa.c
16552
16553Patch 7.3.1076
16554Problem: New regexp engine: \@= and \& don't work.
16555Solution: Make these items work. Add column info to logging.
16556Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
16557
16558Patch 7.3.1077
16559Problem: Python: Allocating dict the wrong way, causing a crash.
16560Solution: Use py_dict_alloc(). Fix some exception problems. (ZyX)
16561Files: src/if_py_both.h
16562
16563Patch 7.3.1078
16564Problem: New regexp engine: \@! doesn't work.
16565Solution: Implement the negated version of \@=.
16566Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
16567
16568Patch 7.3.1079
16569Problem: Test 87 fails.
16570Solution: Fix the test for Python 3.3. (ZyX) Make it pass on 32 bit systems.
16571Files: src/testdir/test87.in, src/testdir/test87.ok
16572
16573Patch 7.3.1080
16574Problem: Test 86 fails.
16575Solution: Comment out the parts that don't work. Make it pass on 32 bit
16576 systems.
16577Files: src/testdir/test86.in, src/testdir/test86.ok
16578
16579Patch 7.3.1081
16580Problem: Compiler warnings on 64-bit Windows.
16581Solution: Change variable types. (Mike Williams)
16582Files: src/if_py_both.h, src/regexp_nfa.c
16583
16584Patch 7.3.1082
16585Problem: New regexp engine: Problem with \@= matching.
16586Solution: Save and restore nfa_match.
16587Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
16588
16589Patch 7.3.1083
16590Problem: New regexp engine: Does not support \%^ and \%$.
16591Solution: Support matching start and end of file.
16592Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
16593
16594Patch 7.3.1084
16595Problem: New regexp engine: only accepts up to \{,10}.
16596Solution: Remove upper limit. Remove dead code with NFA_PLUS.
16597Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
16598
16599Patch 7.3.1085
16600Problem: New regexp engine: Non-greedy multi doesn't work.
16601Solution: Implement \{-}.
16602Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
16603
16604Patch 7.3.1086
16605Problem: Old regexp engine accepts illegal range, new one doesn't.
16606Solution: Also accept the illegal range with the new engine.
16607Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
16608
16609Patch 7.3.1087
16610Problem: A leading star is not seen as a normal char when \{} follows.
16611Solution: Save and restore the parse state properly.
16612Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test64.in,
16613 src/testdir/test64.ok
16614
16615Patch 7.3.1088
16616Problem: New regexp engine: \@<= and \@<! are not implemented.
16617Solution: Implement look-behind matching. Fix off-by-one error in old
16618 regexp engine.
16619Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test64.in,
16620 src/testdir/test64.ok
16621
16622Patch 7.3.1089
16623Problem: Tests 86 and 87 fail on MS-Windows. (Ken Takata)
16624Solution: Fix platform-specific stuff. (ZyX)
16625Files: src/testdir/test86.in, src/testdir/test86.ok,
16626 src/testdir/test87.in, src/testdir/test87.ok
16627
16628Patch 7.3.1090
16629Problem: New regexp engine does not support \z1 .. \z9 and \z(.
16630Solution: Implement the syntax submatches.
16631Files: src/regexp.h, src/regexp_nfa.c
16632
16633Patch 7.3.1091
16634Problem: New regexp engine: no error when using \z1 or \z( where it does
16635 not work.
16636Solution: Give an error message.
16637Files: src/regexp.c, src/regexp_nfa.c
16638
16639Patch 7.3.1092
16640Problem: Can't build with regexp debugging. NFA debug output shows wrong
16641 pattern.
16642Solution: Fix debugging code for recent changes. Add the pattern to the
16643 program.
16644Files: src/regexp_nfa.c, src/regexp.h
16645
16646Patch 7.3.1093
16647Problem: New regexp engine: When a sub expression is empty \1 skips a
16648 character.
Bram Moolenaardd007ed2013-07-09 15:44:17 +020016649Solution: Make \1 try the current position when the match is empty.
Bram Moolenaar913df812013-07-06 15:44:11 +020016650Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
16651
16652Patch 7.3.1094
16653Problem: New regexp engine: Attempts to match "^" at every character.
16654Solution: Only try "^" at the start of a line.
16655Files: src/regexp_nfa.c
16656
16657Patch 7.3.1095
16658Problem: Compiler warnings for shadowed variables. (Christian Brabandt)
16659Solution: Rename new_state() to alloc_state(). Remove unnecessary
16660 declaration.
16661Files: src/regexp_nfa.c
16662
16663Patch 7.3.1096
16664Problem: Python: popitem() was not defined in a standard way.
16665Solution: Remove the argument from popitem(). (ZyX)
16666Files: runtime/doc/if_pyth.txt, src/if_py_both.h, src/testdir/test86.in,
16667 src/testdir/test86.ok, src/testdir/test87.in,
16668 src/testdir/test87.ok
16669
16670Patch 7.3.1097
16671Problem: Python: a few recently added items are not documented.
16672Solution: Update the documentation. (ZyX)
16673Files: runtime/doc/if_pyth.txt
16674
16675Patch 7.3.1098
16676Problem: Python: Possible memory leaks
16677Solution: Add Py_XDECREF() calls. (ZyX)
16678Files: src/if_py_both.h
16679
16680Patch 7.3.1099
16681Problem: Python: Changing directory with os.chdir() causes problems for
16682 Vim's notion of directories.
16683Solution: Add vim.chdir() and vim.fchdir(). (ZyX)
16684Files: runtime/doc/if_pyth.txt, src/ex_docmd.c, src/if_py_both.h,
16685 src/if_python3.c, src/if_python.c, src/proto/ex_docmd.pro,
16686 src/testdir/test86.in, src/testdir/test86.ok,
16687 src/testdir/test87.in, src/testdir/test87.ok
16688
16689Patch 7.3.1100
16690Problem: Python: a few more memory problems.
16691Solution: Add and remove Py_XDECREF(). (ZyX)
16692Files: src/if_py_both.h, src/testdir/test86.in, src/testdir/test86.ok,
16693 src/testdir/test87.in, src/testdir/test87.ok
16694
16695Patch 7.3.1101
16696Problem: Configure doesn't find Python 3 on Ubuntu 13.04.
16697Solution: First try distutils.sysconfig. Also fix some indents. (Ken
16698 Takata)
16699Files: src/configure.in, src/auto/configure
16700
16701Patch 7.3.1102
16702Problem: Completion of ":py3do" and ":py3file" does not work after ":py3".
16703Solution: Make completion work. (Taro Muraoka)
16704Files: src/ex_docmd.c
16705
16706Patch 7.3.1103
16707Problem: New regexp engine: overhead in saving and restoring.
16708Solution: Make saving and restoring list IDs faster. Don't copy or check \z
16709 subexpressions when they are not used.
16710Files: src/regexp_nfa.c
16711
16712Patch 7.3.1104
16713Problem: New regexp engine does not handle "~".
16714Solution: Add support for "~".
16715Files: src/regexp_nfa.c, src/testdir/test24.in, src/testdir/test24.ok
16716
16717Patch 7.3.1105
16718Problem: New regexp engine: too much code in one function. Dead code.
16719Solution: Move the recursive nfa_regmatch call to a separate function.
16720 Remove the dead code.
16721Files: src/regexp_nfa.c
16722
16723Patch 7.3.1106
16724Problem: New regexp engine: saving and restoring lastlist in the states
16725 takes a lot of time.
16726Solution: Use a second lastlist value for the first recursive call.
16727Files: src/regexp.h, src/regexp_nfa.c
16728
16729Patch 7.3.1107
16730Problem: Compiler warnings for unused variables.
16731Solution: Put the variables inside #ifdef.
16732Files: src/regexp.c, src/regexp_nfa.c
16733
16734Patch 7.3.1108
16735Problem: Error message for os.fchdir() (Charles Peacech)
16736Solution: Clear the error. (ZyX)
16737Files: src/if_py_both.h
16738
16739Patch 7.3.1109
16740Problem: Building on MS-Windows doesn't see changes in if_py_both.h.
16741Solution: Add a dependency. (Ken Takata)
16742Files: src/Make_bc5.mak, src/Make_cyg.mak, src/Make_ming.mak,
16743 src/Make_mvc.mak
16744
16745Patch 7.3.1110
16746Problem: New regexp matching: Using \@= and the like can be slow.
Bram Moolenaardd007ed2013-07-09 15:44:17 +020016747Solution: Decide whether to first try matching the zero-width part or what
Bram Moolenaar913df812013-07-06 15:44:11 +020016748 follows, whatever is more likely to fail.
16749Files: src/regexp_nfa.c
16750
16751Patch 7.3.1111
16752Problem: nfa_recognize_char_class() implementation is inefficient.
16753Solution: Use bits in an int instead of chars in a string. (Dominique Pelle)
16754Files: src/regexp_nfa.c, src/testdir/test36.in, src/testdir/test36.ok
16755
16756Patch 7.3.1112
16757Problem: New regexp engine: \%V not supported.
16758Solution: Implement \%V. Add tests.
16759Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test64.in,
16760 src/testdir/test64.ok
16761
16762Patch 7.3.1113
16763Problem: New regexp engine: \%'m not supported.
16764Solution: Implement \%'m. Add tests.
16765Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test64.in,
16766 src/testdir/test64.ok
16767
16768Patch 7.3.1114 (after 7.3.1110)
16769Problem: Can't build without the syntax feature.
16770Solution: Add #ifdefs. (Erik Falor)
16771Files: src/regexp_nfa.c
16772
16773Patch 7.3.1115
16774Problem: Many users don't like the cursor line number when 'relativenumber'
16775 is set.
16776Solution: Have four combinations with 'number' and 'relativenumber'.
16777 (Christian Brabandt)
16778Files: runtime/doc/options.txt, src/option.c, src/screen.c,
16779 src/testdir/test89.in, src/testdir/test89.ok
16780
16781Patch 7.3.1116
16782Problem: Can't build without Visual mode.
16783Solution: Add #ifdefs.
16784Files: src/regexp_nfa.c
16785
16786Patch 7.3.1117
16787Problem: New regexp engine: \%[abc] not supported.
16788Solution: Implement \%[abc]. Add tests.
16789Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
16790
16791Patch 7.3.1118
16792Problem: Match failure rate is not very specific.
16793Solution: Tune the failure rate for match items.
16794Files: src/regexp_nfa.c
16795
16796Patch 7.3.1119
16797Problem: Flags in 'cpo' are search for several times.
16798Solution: Store the result and re-use the flags.
16799Files: src/regexp.c, src/regexp_nfa.c
16800
16801Patch 7.3.1120
16802Problem: Crash when regexp logging is enabled.
16803Solution: Avoid using NULL pointers. Advance over count argument.
16804Files: src/regexp.c, src/regexp_nfa.c
16805
16806Patch 7.3.1121
16807Problem: New regexp engine: adding states that are not used.
16808Solution: Don't add the states.
16809Files: src/regexp_nfa.c
16810
16811Patch 7.3.1122
16812Problem: New regexp engine: \@> not supported.
16813Solution: Implement \%>.
16814Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
16815
16816Patch 7.3.1123
16817Problem: Can't build tiny Vim on MS-Windows.
16818Solution: Adjust #ifdef around using modif_fname(). (Mike Williams)
16819Files: src/misc1.c
16820
16821Patch 7.3.1124
16822Problem: Python: Crash on MS-Windows when os.fchdir() is not available.
16823Solution: Check for _chdir to be NULL. (Ken Takata)
16824Files: src/if_py_both.h
16825
16826Patch 7.3.1125
16827Problem: Error for using \%V in a pattern in tiny Vim.
16828Solution: Allow using \%V but never match. (Dominique Pelle)
16829Files: src/regexp_nfa.c
16830
16831Patch 7.3.1126
Bram Moolenaardd007ed2013-07-09 15:44:17 +020016832Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
Bram Moolenaar913df812013-07-06 15:44:11 +020016833Solution: Assign something to the variable.
16834Files: src/regexp_nfa.c
16835
16836Patch 7.3.1127
16837Problem: No error for using empty \%[].
16838Solution: Give error message.
16839Files: src/regexp.c, src/regexp_nfa.c
16840
16841Patch 7.3.1128
16842Problem: Now that the NFA engine handles everything every failure is a
16843 syntax error.
16844Solution: Remove the syntax_error flag.
16845Files: src/regexp.c, src/regexp_nfa.c
16846
16847Patch 7.3.1129
16848Problem: Can't see what pattern in syntax highlighting is slow.
16849Solution: Add the ":syntime" command.
16850Files: src/structs.h, src/syntax.c, src/ex_cmds.h, src/ex_docmd.c,
16851 src/proto/syntax.pro, src/ex_cmds2.c, src/proto/ex_cmds2.pro,
16852 runtime/doc/syntax.txt
16853
16854Patch 7.3.1130 (after 7.3.1129)
16855Problem: Can't build with anything but huge features.
16856Solution: Check for FEAT_PROFILE. (Yasuhiro Matsumoto)
16857Files: src/ex_docmd.c, src/structs.h, src/syntax.c
16858
16859Patch 7.3.1131
16860Problem: New regexp engine is a bit slow.
16861Solution: Do not clear the state list. Don't copy syntax submatches when
16862 not used.
16863Files: src/regexp_nfa.c
16864
16865Patch 7.3.1132
16866Problem: Crash when debugging regexp.
16867Solution: Do not try to dump subexpr that were not set. Skip over count of
16868 \% items.
16869Files: src/regexp.c, src/regexp_nfa.c
16870
16871Patch 7.3.1133
16872Problem: New regexp engine is a bit slow.
16873Solution: Skip ahead to a character that must match. Don't try matching a
16874 "^" patter past the start of line.
16875Files: src/regexp_nfa.c, src/regexp.h
16876
16877Patch 7.3.1134
16878Problem: Running test 49 takes a long time.
16879Solution: Don't have it grep all files.
16880Files: src/testdir/test49.vim
16881
16882Patch 7.3.1135
16883Problem: Compiler warning for unused argument.
16884Solution: Add UNUSED.
16885Files: src/syntax.c
16886
16887Patch 7.3.1136
16888Problem: ":func Foo" does not show attributes.
16889Solution: Add "abort", "dict" and "range". (Yasuhiro Matsumoto)
16890Files: src/eval.c
16891
16892Patch 7.3.1137
16893Problem: New regexp engine: collections are slow.
16894Solution: Handle all characters in one go.
16895Files: src/regexp_nfa.c
16896
16897Patch 7.3.1138
16898Problem: New regexp engine: neglist no longer used.
16899Solution: Remove the now unused neglist.
16900Files: src/regexp_nfa.c
16901
16902Patch 7.3.1139
16903Problem: New regexp engine: negated flag is hardly used.
16904Solution: Add separate _NEG states, remove negated flag.
16905Files: src/regexp_nfa.c, src/regexp.h
16906
16907Patch 7.3.1140
16908Problem: New regexp engine: trying expensive match while the result is not
16909 going to be used.
16910Solution: Check for output state already being in the state list.
16911Files: src/regexp_nfa.c
16912
16913Patch 7.3.1141
16914Problem: Win32: Check for available memory is not reliable and adds
16915 overhead.
16916Solution: Remove mch_avail_mem(). (Mike Williams)
16917Files: src/os_win32.c, src/os_win32.h
16918
16919Patch 7.3.1142
16920Problem: Memory leak in ":syntime report".
16921Solution: Clear the grow array. (Dominique Pelle)
16922Files: src/syntax.c
16923
16924Patch 7.3.1143
16925Problem: When mapping NUL it is displayed as an X.
16926Solution: Check for KS_ZERO instead of K_ZERO. (Yasuhiro Matsumoto)
16927Files: src/message.c
16928
16929Patch 7.3.1144
16930Problem: "RO" is not translated everywhere.
16931Solution: Put inside _(). (Sergey Alyoshin)
16932Files: src/buffer.c, src/screen.c
16933
16934Patch 7.3.1145
16935Problem: New regexp engine: addstate() is called very often.
16936Solution: Optimize adding the start state.
16937Files: src/regexp_nfa.c
16938
16939Patch 7.3.1146
16940Problem: New regexp engine: look-behind match not checked when followed by
16941 zero-width match.
16942Solution: Do the look-behind match before adding the zero-width state.
16943Files: src/regexp_nfa.c
16944
16945Patch 7.3.1147
16946Problem: New regexp engine: regstart is only used to find the first match.
16947Solution: Use regstart whenever adding the start state.
16948Files: src/regexp_nfa.c
16949
16950Patch 7.3.1148
16951Problem: No command line completion for ":syntime".
16952Solution: Implement the completion. (Dominique Pelle)
16953Files: runtime/doc/map.txt, src/ex_cmds.h, src/ex_docmd.c,
16954 src/ex_getln.c, src/proto/syntax.pro, src/syntax.c, src/vim.h
16955
16956Patch 7.3.1149
16957Problem: New regexp engine: Matching plain text could be faster.
16958Solution: Detect a plain text match and handle it specifically. Add
16959 vim_regfree().
16960Files: src/regexp.c, src/regexp.h, src/regexp_nfa.c,
16961 src/proto/regexp.pro, src/buffer.c, src/edit.c, src/eval.c,
16962 src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_eval.c,
16963 src/ex_getln.c, src/fileio.c, src/gui.c, src/misc1.c, src/misc2.c,
16964 src/option.c, src/syntax.c, src/quickfix.c, src/search.c,
16965 src/spell.c, src/tag.c, src/window.c, src/screen.c, src/macros.h,
16966 src/testdir/test64.in, src/testdir/test64.ok
16967
16968Patch 7.3.1150
16969Problem: New regexp engine: Slow when a look-behind match does not have a
16970 width specified.
16971Solution: Try to compute the maximum width.
16972Files: src/regexp_nfa.c
16973
16974Patch 7.3.1151
16975Problem: New regexp engine: Slow when a look-behind match is followed by a
16976 zero-width match.
16977Solution: Postpone the look-behind match more often.
16978Files: src/regexp_nfa.c
16979
16980Patch 7.3.1152
16981Problem: In tiny build ireg_icombine is undefined. (Tony Mechelynck)
16982Solution: Add #ifdef.
16983Files: src/regexp_nfa.c
16984
16985Patch 7.3.1153
16986Problem: New regexp engine: Some look-behind matches are very expensive.
Bram Moolenaardd007ed2013-07-09 15:44:17 +020016987Solution: Postpone invisible matches further, until a match is almost found.
Bram Moolenaar913df812013-07-06 15:44:11 +020016988Files: src/regexp_nfa.c
16989
16990Patch 7.3.1154
Bram Moolenaardd007ed2013-07-09 15:44:17 +020016991Problem: New regexp_nfa engine: Unnecessary code.
16992Solution: Remove unnecessary code.
Bram Moolenaar913df812013-07-06 15:44:11 +020016993Files: src/regexp_nfa.c
16994
16995Patch 7.3.1155
16996Problem: MS-DOS: "make test" uses external rmdir command.
16997Solution: Rename "rmdir" to "rd". (Taro Muraoka)
16998Files: src/testdir/Make_dos.mak
16999
17000Patch 7.3.1156
17001Problem: Compiler warnings. (dv1445)
17002Solution: Initialize variables, even when the value isn't really used.
17003Files: src/regexp_nfa.c, src/eval.c
17004
17005Patch 7.3.1157
17006Problem: New regexp engine fails on "\(\<command\)\@<=.*"
17007Solution: Fix rule for postponing match. Further tune estimating whether
17008 postponing works better. Add test.
17009Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
17010
17011Patch 7.3.1158
17012Problem: Crash when running test 86. (Jun Takimoto)
17013Solution: Define PY_SSIZE_T_CLEAN early. (Elimar Riesebieter)
17014Files: src/if_python.c, src/if_python3.c
17015
17016Patch 7.3.1159
17017Problem: The round() function is not always available. (Christ van
17018 Willegen)
17019Solution: Use the solution from f_round().
17020Files: src/ex_cmds2.c, src/eval.c, src/proto/eval.pro
17021
17022Patch 7.3.1160
17023Problem: Mixing long and pointer doesn't always work.
17024Solution: Avoid cast to pointer.
17025Files: src/undo.c
17026
17027Patch 7.3.1161
17028Problem: Python: PyList_SetItem() is inefficient.
17029Solution: Use PyList_SET_ITEM() (ZyX)
17030Files: src/if_py_both.h
17031
17032Patch 7.3.1162
17033Problem: Python: Memory leaks
17034Solution: Add more Py_DECREF(). (ZyX)
17035Files: src/if_py_both.h, src/if_python.c
17036
17037Patch 7.3.1163
17038Problem: Not easy to load Python modules.
17039Solution: Search "python2", "python3" and "pythonx" directories in
17040 'runtimepath' for Python modules. (ZyX)
17041Files: runtime/doc/if_pyth.txt, src/configure.in, src/ex_cmds2.c,
17042 src/if_py_both.h, src/if_python.c, src/if_python3.c,
17043 src/testdir/test86.in, src/testdir/test87.in, src/auto/configure
17044
17045Patch 7.3.1164
17046Problem: Can't test what is actually displayed on screen.
17047Solution: Add the screenchar() and screenattr() functions.
17048Files: src/eval.c, runtime/doc/eval.txt
17049
17050Patch 7.3.1165
17051Problem: HP-UX compiler can't handle zero size array. (Charles Cooper)
17052Solution: Make the array one item big.
17053Files: src/regexp.h, src/regexp_nfa.c
17054
17055Patch 7.3.1166
17056Problem: Loading Python modules is not tested.
17057Solution: Enable commented-out tests, add missing files. (ZyX)
17058Files: src/testdir/test86.in, src/testdir/test86.ok,
17059 src/testdir/test87.in, src/testdir/test87.ok,
17060 src/testdir/python2/module.py, src/testdir/python3/module.py,
17061 src/testdir/pythonx/module.py, src/testdir/pythonx/modulex.py,
17062 Filelist
17063
17064Patch 7.3.1167
17065Problem: Python configure check doesn't reject Python 2 when requesting
17066 Python 3. Some systems need -pthreads instead of -pthread.
17067Solution: Adjust configure accordingly. (Andrei Olsen)
17068Files: src/configure.in, src/auto/configure
17069
17070Patch 7.3.1168
17071Problem: Python "sane" configure checks give a warning message.
Bram Moolenaardd007ed2013-07-09 15:44:17 +020017072Solution: Use single quotes instead of escaped double quotes. (Ben Fritz)
Bram Moolenaar913df812013-07-06 15:44:11 +020017073Files: src/configure.in, src/auto/configure
17074
17075Patch 7.3.1169
17076Problem: New regexp engine: some work is done while executing a pattern,
17077 even though the result is predictable.
17078Solution: Do the work while compiling the pattern.
17079Files: src/regexp_nfa.c
17080
17081Patch 7.3.1170
17082Problem: Patch 7.3.1058 breaks backwards compatibility, not possible to use
17083 a function reference as a string. (lilydjwg)
17084Solution: Instead of translating the function name only translate "s:".
17085Files: src/eval.c
17086
17087Patch 7.3.1171
17088Problem: Check for digits and ascii letters can be faster.
17089Solution: Use a trick with one comparison. (Dominique Pelle)
17090Files: src/macros.h
17091
17092Patch 7.3.1172
17093Problem: Python 2: loading modules doesn't work well.
17094Solution: Fix the code. Add more tests. (ZyX)
17095Files: runtime/doc/if_pyth.txt, src/if_py_both.h, src/if_python.c,
17096 src/testdir/python2/module.py, src/testdir/python3/module.py,
17097 src/testdir/python_after/after.py,
17098 src/testdir/python_before/before.py, src/testdir/test86.in,
17099 src/testdir/test86.ok, src/testdir/test87.in,
17100 src/testdir/test87.ok, Filelist
17101
17102Patch 7.3.1173
17103Problem: Python 2 tests don't have the same output everywhere.
17104Solution: Make the Python 2 tests more portable. (ZyX)
17105Files: src/testdir/test86.in, src/testdir/test86.ok
17106
17107Patch 7.3.1174
17108Problem: Python 2 and 3 use different ways to load modules.
17109Solution: Use the same method. (ZyX)
17110Files: runtime/doc/if_pyth.txt, src/if_py_both.h, src/if_python3.c,
17111 src/if_python.c
17112
17113Patch 7.3.1175
17114Problem: Using isalpha() and isalnum() can be slow.
17115Solution: Use range checks. (Mike Williams)
17116Files: src/ex_docmd.c, src/macros.h
17117
17118Patch 7.3.1176
17119Problem: Compiler warnings on 64 bit system.
17120Solution: Add type casts. (Mike Williams)
17121Files: src/eval.c, src/if_py_both.h
17122
17123Patch 7.3.1177
17124Problem: Wasting memory on padding.
17125Solution: Reorder struct fields. (Dominique Pelle)
17126Files: src/structs.h, src/fileio.c
17127
17128Patch 7.3.1178
17129Problem: Can't put all Vim config files together in one directory.
17130Solution: Load ~/.vim/vimrc if ~/.vimrc does not exist. (Lech Lorens)
17131Files: runtime/doc/gui.txt, runtime/doc/starting.txt, src/gui.c,
17132 src/main.c, src/os_amiga.h, src/os_dos.h, src/os_unix.h
17133
17134Patch 7.3.1179
17135Problem: When a global mapping starts with the same characters as a
17136 buffer-local mapping Vim waits for a character to be typed to find
17137 out whether the global mapping is to be used. (Andy Wokula)
17138Solution: Use the local mapping without waiting. (Michael Henry)
17139Files: runtime/doc/map.txt, src/getchar.c
17140
17141Patch 7.3.1180
17142Problem: When current directory changes, path from cscope may no longer be
17143 valid. (AS Budden)
17144Solution: Always store the absolute path. (Christian Brabandt)
17145Files: src/if_cscope.c
17146
17147Patch 7.3.1181
17148Problem: Wrong error message for 1.0[0].
17149Solution: Check for funcref and float separately. (Yasuhiro Matsumoto)
17150Files: src/eval.c
17151
17152Patch 7.3.1182
17153Problem: 'backupcopy' default on MS-Windows does not work for hard and soft
17154 links.
17155Solution: Check for links. (David Pope, Ken Takata)
17156Files: src/fileio.c, src/os_win32.c, src/proto/os_win32.pro
17157
17158Patch 7.3.1183
17159Problem: Python tests 86 and 87 fail.
17160Solution: Add "empty" files. (ZyX)
17161Files: src/testdir/python_before/before_1.py,
17162 src/testdir/python_before/before_2.py
17163
17164Patch 7.3.1184
17165Problem: Highlighting is sometimes wrong. (Axel Bender)
17166Solution: Fetch regline again when returning from recursive regmatch.
17167Files: src/regexp_nfa.c
17168
17169Patch 7.3.1185
17170Problem: New regexp engine: no match with ^ after \n. (SungHyun Nam)
17171Solution: Fix it, add a test.
17172Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
17173
17174Patch 7.3.1186
17175Problem: Python 3: test 87 may crash.
17176Solution: Use _PyArg_Parse_SizeT instead of PyArg_Parse. (Jun Takimoto)
17177Files: src/if_python3.c
17178
17179Patch 7.3.1187 (after 7.3.1170)
17180Problem: "s:" is recognized but "<SID>" is not. (ZyX)
17181Solution: Translate "<SID>" like "s:".
17182Files: src/eval.c
17183
17184Patch 7.3.1188
17185Problem: Newline characters messing up error message.
17186Solution: Remove the newlines. (Kazunobu Kuriyama)
17187Files: src/gui_x11.c
17188
17189Patch 7.3.1189 (after 7.3.1185)
17190Problem: Highlighting is still wrong sometimes. (Dominique Pelle)
17191Solution: Also restore reginput properly.
17192Files: src/regexp_nfa.c
17193
17194Patch 7.3.1190
17195Problem: Compiler warning for parentheses. (Christian Wellenbrock)
17196Solution: Change #ifdef.
17197Files: src/ex_docmd.c
17198
17199Patch 7.3.1191
17200Problem: Backreference to previous line doesn't work. (Lech Lorens)
17201Solution: Implement looking in another line.
17202Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test64.in,
17203 src/testdir/test64.ok
17204
17205Patch 7.3.1192
17206Problem: Valgrind reports errors when using backreferences. (Dominique
17207 Pelle)
17208Solution: Do not check the end of submatches.
17209Files: src/regexp_nfa.c
17210
17211Patch 7.3.1193
17212Problem: fail_if_missing not used for Python 3.
17213Solution: Give an error when Python 3 can't be configured. (Andrei Olsen)
17214Files: src/configure.in, src/auto/configure
17215
17216Patch 7.3.1194
17217Problem: Yaml highlighting is slow.
17218Solution: Tune the estimation of pattern failure chance.
17219Files: src/regexp_nfa.c
17220
17221Patch 7.3.1195
Bram Moolenaardd007ed2013-07-09 15:44:17 +020017222Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
Bram Moolenaar913df812013-07-06 15:44:11 +020017223Solution: Set the length to the matching backref.
17224Files: src/regexp.c
17225
17226Patch 7.3.1196
17227Problem: Old regexp engine does not match pattern with backref correctly.
17228 (Dominique Pelle)
17229Solution: Fix setting status. Test multi-line patterns better.
17230Files: src/regexp.c, src/testdir/test64.in, src/testdir/test64.ok
17231
17232Patch 7.3.1197
17233Problem: ":wviminfo!" does not write history previously read from a viminfo
17234 file. (Roland Eggner)
17235Solution: When not merging history write all entries.
17236Files: src/ex_cmds.c, src/ex_getln.c, src/proto/ex_getln.pro
17237
17238Patch 7.3.1198
17239Problem: Build error when using Perl 5.18.0 and dynamic loading.
17240Solution: Change #ifdefs for Perl_croak_xs_usage. (Ike Devolder)
17241Files: src/if_perl.xs
17242
17243Patch 7.3.1199
17244Problem: When evaluating 'foldexpr' causes an error this is silently
17245 ignored and evaluation is retried every time.
17246Solution: Set emsg_silent instead of emsg_off. Stop evaluating 'foldexpr' is
17247 it is causing errors. (Christian Brabandt)
17248Files: src/fold.c
17249
17250Patch 7.3.1200
17251Problem: When calling setline() from Insert mode, using CTRL-R =, undo does
17252 not work properly. (Israel Chauca)
17253Solution: Sync undo after evaluating the expression. (Christian Brabandt)
17254Files: src/edit.c, src/testdir/test61.in, src/testdir/test61.ok
17255
17256Patch 7.3.1201
17257Problem: When a startup script creates a preview window, it probably
17258 becomes the current window.
17259Solution: Make another window the current one. (Christian Brabandt)
17260Files: src/main.c
17261
17262Patch 7.3.1202 (after 7.3.660)
17263Problem: Tags are not found in case-folded tags file. (Darren cole, Issue
17264 90)
17265Solution: Take into account that when case folding was used for the tags
17266 file "!rm" sorts before the "!_TAG" header lines.
17267Files: src/tag.c
17268
17269Patch 7.3.1203
17270Problem: Matches from matchadd() might be highlighted incorrectly when they
17271 are at a fixed position and inserting lines. (John Szakmeister)
17272Solution: Redraw all lines below a change if there are highlighted matches.
17273 (idea by Christian Brabandt)
17274Files: src/screen.c
17275
17276Patch 7.3.1204
17277Problem: Calling gettabwinvar() in 'tabline' cancels Visual mode. (Hirohito
17278 Higashi)
17279Solution: Don't always use goto_tabpage_tp().
17280Files: src/window.c, src/proto/window.pro, src/eval.c, src/if_py_both.h
17281
17282Patch 7.3.1205
17283Problem: logtalk.dict is not removed on uninstall.
17284Solution: Remove the file. (Kazunobu Kuriyama)
17285Files: src/Makefile
17286
17287Patch 7.3.1206
17288Problem: Inconsistent function argument declarations.
17289Solution: Use ANSI style.
17290Files: src/if_py_both.h
17291
17292Patch 7.3.1207
17293Problem: New regexp engine: no match found on "#if FOO". (Lech Lorens)
17294Solution: When adding a state gets skipped don't adjust the index.
17295Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
17296
17297Patch 7.3.1208
17298Problem: Compiler warnings on MS-Windows.
17299Solution: Add type cast. Move variable declaration. (Mike Williams)
17300Files: src/option.c, src/os_mswin.c
17301
17302Patch 7.3.1209
17303Problem: No completion for ":tabdo".
17304Solution: Add tabdo to the list of modifiers. (Dominique Pelle)
17305Files: src/ex_docmd.c
17306
17307Patch 7.3.1210 (after 7.3.1182)
17308Problem: 'backupcopy' default on MS-Windows is wrong when 'encoding' equals
17309 the current codepage.
17310Solution: Change the #else block. (Ken Takata)
17311Files: src/os_win32.c
17312
17313Patch 7.3.1211
17314Problem: MS-Windows: When 'encoding' differs from the current codepage
17315 ":hardcopy" does not work properly.
17316Solution: Use TextOutW() and SetDlgItemTextW(). (Ken Takata)
17317Files: src/os_mswin.c, src/vim.rc
17318
17319Patch 7.3.1212
17320Problem: "make test" on MS-Windows does not report failure like Unix does.
17321Solution: Make it work like on Unix. (Taro Muraoka)
17322Files: src/testdir/Make_dos.mak
17323
17324Patch 7.3.1213
17325Problem: Can't build with small features and Python.
17326Solution: Adjust #ifdefs.
17327Files: src/eval.c, src/buffer.c, src/eval.c, src/window.c
17328
17329Patch 7.3.1214
17330Problem: Missing declaration for init_users() and realloc_post_list().
17331 (Salman Halim)
17332Solution: Add the declarations.
17333Files: src/misc1.c, src/regexp_nfa.c
17334
17335Patch 7.3.1215
17336Problem: Compiler warning for function not defined.
17337Solution: Add #ifdef.
17338Files: src/misc1.c
17339
17340Patch 7.3.1216
17341Problem: Configure can't find Motif on Ubuntu.
17342Solution: Search for libXm in /usr/lib/*-linux-gnu.
17343Files: src/configure.in, src/auto/configure
17344
17345Patch 7.3.1217
17346Problem: New regexp engine: Can't handle \%[[ao]]. (Yukihiro Nakadaira)
17347Solution: Support nested atoms inside \%[].
17348Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
17349
17350Patch 7.3.1218
17351Problem: "make test" on MS-Windows does not clean all temporary files and
Bram Moolenaardd007ed2013-07-09 15:44:17 +020017352 gives some unnecessary message.
Bram Moolenaar913df812013-07-06 15:44:11 +020017353Solution: Clean the right files. Create .failed files. (Ken Takata)
17354Files: src/testdir/Make_dos.mak
17355
17356Patch 7.3.1219
17357Problem: No test for using []] inside \%[].
17358Solution: Add a test.
17359Files: src/testdir/test64.in, src/testdir/test64.ok
17360
17361Patch 7.3.1220
17362Problem: MS-Windows: When using wide font italic and bold are not included.
17363Solution: Support wide-bold, wide-italic and wide-bold-italic. (Ken Takata,
17364 Taro Muraoka)
17365Files: src/gui.c, src/gui.h, src/gui_w48.c
17366
17367Patch 7.3.1221
17368Problem: When build flags change "make distclean" run into a configure
17369 error.
17370Solution: When CFLAGS changes delete auto/config.cache. Also avoid adding
Bram Moolenaardd007ed2013-07-09 15:44:17 +020017371 duplicate text to flags. (Ken Takata)
Bram Moolenaar913df812013-07-06 15:44:11 +020017372Files: src/Makefile, src/configure.in, src/auto/configure
17373
17374Patch 7.3.1222
17375Problem: Cannot execute some tests from the src directly.
17376Solution: Add missing targets.
17377Files: src/Makefile
17378
17379Patch 7.3.1223
17380Problem: Tests fail on MS-Windows.
17381Solution: Avoid depending on OS version. Use DOS commands instead of Unix
17382 commands. (Taro Muraoka, Ken Takata)
17383Files: src/testdir/test17.in, src/testdir/test50.in,
17384 src/testdir/test71.in, src/testdir/test77.in
17385
17386Patch 7.3.1224
17387Problem: Clang gives warnings on xxd.
17388Solution: Change how to use part of a string. (Dominique Pelle) Also avoid
17389 warning for return not reached.
17390Files: src/xxd/xxd.c, src/regexp_nfa.c
17391
17392Patch 7.3.1225
17393Problem: Compiler warnings when building with Motif.
17394Solution: Change set_label() argument. (Kazunobu Kuriyama)
17395Files: src/gui_motif.c
17396
17397Patch 7.3.1226
17398Problem: Python: duplicate code.
17399Solution: Share code between OutputWrite() and OutputWritelines(). (ZyX)
17400Files: src/if_py_both.h, src/testdir/test86.ok, src/testdir/test87.ok
17401
17402Patch 7.3.1227
17403Problem: Inconsistent string conversion.
17404Solution: Use 'encoding' instead of utf-8. Use METH_O in place of
17405 METH_VARARGS where appropriate. (ZyX)
17406Files: src/if_py_both.h, src/testdir/test86.ok, src/testdir/test87.ok
17407
17408Patch 7.3.1228
17409Problem: Python: various inconsistencies and problems.
17410Solution: StringToLine now supports both bytes() and unicode() objects.
Bram Moolenaardd007ed2013-07-09 15:44:17 +020017411 Make function names consistent. Fix memory leak fixed in
Bram Moolenaar913df812013-07-06 15:44:11 +020017412 StringToLine. (ZyX)
17413Files: src/if_py_both.h, src/if_python3.c, src/if_python.c
17414
17415Patch 7.3.1229
17416Problem: Python: not so easy to delete/restore translating.
17417Solution: Make macros do translation of exception messages. (ZyX)
17418 Note: this breaks translations!
17419Files: src/if_py_both.h, src/if_python3.c
17420
17421Patch 7.3.1230
17422Problem: Python: Exception messages are not clear.
17423Solution: Make exception messages more verbose. (ZyX)
17424Files: src/if_py_both.h, src/if_python3.c, src/if_python.c,
17425 src/testdir/test86.ok, src/testdir/test87.ok
17426
17427Patch 7.3.1231
17428Problem: Python: use of numbers not consistent.
17429Solution: Add support for Number protocol. (ZyX)
17430Files: src/if_py_both.h, src/if_python3.c, src/if_python.c,
17431 src/testdir/test86.ok, src/testdir/test87.ok
17432
17433Patch 7.3.1232
17434Problem: Python: inconsistencies in variable names.
17435Solution: Rename variables. (ZyX)
17436Files: src/eval.c, src/if_py_both.h
17437
17438Patch 7.3.1233
17439Problem: Various Python problems.
17440Solution: Fix VimTryEnd. Crash with debug build and PYTHONDUMPREFS=1. Memory
17441 leaks in StringToLine(), BufferMark() and convert_dl. (ZyX)
17442Files: src/if_py_both.h, src/testdir/test86.in, src/testdir/test86.ok,
17443 src/testdir/test87.in, src/testdir/test87.ok
17444
17445Patch 7.3.1234 (after 7.3.1229)
17446Problem: Python: Strings are not marked for translation.
17447Solution: Add N_() where appropriate. (ZyX)
17448Files: src/if_py_both.h
17449
17450Patch 7.3.1235
17451Problem: In insert mode CTRL-] is not inserted, on the command-line it is.
17452Solution: Don't insert CTRL-] on the command line. (Yukihiro Nakadaira)
17453Files: src/ex_getln.c
17454
17455Patch 7.3.1236
17456Problem: Python: WindowSetattr() missing support for NUMBER_UNSIGNED.
17457Solution: Add NUMBER_UNSIGNED, add more tests. Various fixes. (ZyX)
17458Files: src/if_py_both.h, src/if_python3.c, src/if_python.c,
17459 src/testdir/pythonx/failing.py,
17460 src/testdir/pythonx/failing_import.py, src/testdir/test86.in,
17461 src/testdir/test86.ok, src/testdir/test87.in,
17462 src/testdir/test87.ok, src/testdir/pythonx/topmodule/__init__.py,
17463 src/testdir/pythonx/topmodule/submodule/__init__.py,
17464 src/testdir/pythonx/topmodule/submodule/subsubmodule/__init__.py,
17465 src/testdir/pythonx/topmodule/submodule/subsubmodule/subsubsubmodule.py
17466
17467Patch 7.3.1237
17468Problem: Python: non-import errors not handled correctly.
17469Solution: Let non-ImportError exceptions pass the finder. (ZyX)
17470Files: src/if_py_both.h, src/testdir/test86.ok, src/testdir/test87.ok
17471
17472Patch 7.3.1238
17473Problem: Crash in Python interface on 64 bit machines.
17474Solution: Change argument type of PyString_AsStringAndSize. (Taro Muraoka,
17475 Jun Takimoto)
17476Files: src/if_python.c
17477
17478Patch 7.3.1239
17479Problem: Can't build with Python and MSVC10.
17480Solution: Move #if outside of macro. (Taro Muraoka)
17481Files: src/if_py_both.h
17482
17483Patch 7.3.1240
17484Problem: Memory leak in findfile().
17485Solution: Free the memory. (Christian Brabandt)
17486Files: src/eval.c
17487
17488Patch 7.3.1241 (after 7.3.1236)
17489Problem: Some test files missing from the distribution.
17490Solution: Update the list of files.
17491Files: Filelist
17492
17493Patch 7.3.1242
17494Problem: No failure when trying to use a number as a string.
17495Solution: Give an error when StringToLine() is called with an instance of
17496 the wrong type. (Jun Takimoto)
17497Files: src/if_py_both.h
17498
17499Patch 7.3.1243
17500Problem: New regexp engine: back references in look-behind match don't
17501 work. (Lech Lorens)
17502Solution: Copy the submatches before a recursive match. Also fix function
17503 prototypes.
17504Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
17505
17506Patch 7.3.1244
17507Problem: MS-Windows: confirm() dialog text may not fit.
17508Solution: Use GetTextWidthEnc() instead of GetTextWidth(). (Yasuhiro
17509 Matsumoto)
17510Files: src/gui_w32.c
17511
17512Patch 7.3.1245
17513Problem: MS-Windows: confirm() dialog text may still not fit.
17514Solution: Use GetTextWidthEnc() instead of GetTextWidth() in two more
17515 places. (Yasuhiro Matsumoto)
17516Files: src/gui_w32.c
17517
17518Patch 7.3.1246
17519Problem: When setting 'winfixheight' and resizing the window causes the
17520 window layout to be wrong.
17521Solution: Add frame_check_height() and frame_check_width() (Yukihiro
17522 Nakadaira)
17523Files: src/window.c
17524
17525Patch 7.3.1247
17526Problem: New regexp engine: '[ ]\@!\p\%([ ]\@!\p\)*:' does not always match.
17527Solution: When there is a PIM add a duplicate state that starts at another
17528 position.
17529Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
17530
17531Patch 7.3.1248
17532Problem: Still have old hacking code for Input Method.
17533Solution: Add 'imactivatefunc' and 'imstatusfunc' as a generic solution to
17534 Input Method activation. (Yukihiro Nakadaira)
17535Files: runtime/doc/options.txt, src/fileio.c, src/mbyte.c, src/option.c,
17536 src/option.h, src/proto/fileio.pro
17537
17538Patch 7.3.1249
17539Problem: Modeline not recognized when using "Vim" instead of "vim".
17540Solution: Also accept "Vim".
17541Files: src/buffer.c
17542
17543Patch 7.3.1250
17544Problem: Python tests fail on MS-Windows.
17545Solution: Change backslashes to slashes. (Taro Muraoka)
17546Files: src/testdir/test86.in, src/testdir/test87.in
17547
17548Patch 7.3.1251
17549Problem: Test 61 messes up viminfo.
17550Solution: Specify a separate viminfo file.
17551Files: src/testdir/test61.in
17552
17553Patch 7.3.1252
17554Problem: Gvim does not find the toolbar bitmap files in ~/vimfiles/bitmaps
17555 if the corresponding menu command contains additional characters
17556 like the shortcut marker '&' or if you use a non-english locale.
17557Solution: Use menu->en_dname or menu->dname. (Martin Gieseking)
17558Files: src/gui_w32.c
17559
17560Patch 7.3.1253 (after 7.3.1200)
17561Problem: Still undo problem after using CTRL-R = setline(). (Hirohito
17562 Higashi)
17563Solution: Set the ins_need_undo flag.
17564Files: src/edit.c
17565
17566Patch 7.3.1254 (after 7.3.1252)
17567Problem: Can't build without the multi-lang feature. (John Marriott)
17568Solution: Add #ifdef.
17569Files: src/gui_w32.c
17570
17571Patch 7.3.1255
17572Problem: Clang warnings when building with Athena.
17573Solution: Add type casts. (Dominique Pelle)
17574Files: src/gui_at_fs.c
17575
17576Patch 7.3.1256
17577Problem: Can't build without eval or autocmd feature.
17578Solution: Add #ifdefs.
17579Files: src/mbyte.c, src/window.c
17580
17581Patch 7.3.1257
17582Problem: With GNU gettext() ":lang de_DE.utf8" does not always result in
17583 German messages.
17584Solution: Clear the $LANGUAGE environment variable.
17585Files: src/ex_cmds2.c
17586
17587Patch 7.3.1258
17588Problem: Using submatch() may crash Vim. (Ingo Karkat)
17589Solution: Restore the number of subexpressions used.
17590Files: src/regexp_nfa.c
17591
17592Patch 7.3.1259
17593Problem: No test for patch 7.3.1258
17594Solution: Add a test entry.
17595Files: src/testdir/test64.in, src/testdir/test64.ok
17596
17597Patch 7.3.1260
17598Problem: User completion does not get the whole command line in the command
17599 line window.
17600Solution: Pass on the whole command line. (Daniel Thau)
17601Files: src/ex_getln.c, src/structs.h
17602
17603Patch 7.3.1261 (after patch 7.3.1179)
17604Problem: A buffer-local language mapping from a keymap stops a global
17605 insert mode mapping from working. (Ron Aaron)
17606Solution: Do not wait for more characters to be typed only when the mapping
17607 was defined with <nowait>.
17608Files: runtime/doc/map.txt, src/eval.c, src/getchar.c,
17609 src/testdir/test75.in, src/testdir/test75.ok
17610
17611Patch 7.3.1262
17612Problem: Crash and compilation warnings with Cygwin.
17613Solution: Check return value of XmbTextListToTextProperty(). Add type casts.
17614 Adjust #ifdefs. (Lech Lorens)
17615Files: src/main.c, src/os_unix.c, src/ui.c
17616
17617Patch 7.3.1263
17618Problem: Typo in short option name.
17619Solution: Change "imse" to "imsf".
17620Files: src/option.c
17621
17622Patch 7.3.1264 (after 7.3.1261)
17623Problem: Missing m_nowait.
17624Solution: Include missing part of the patch.
17625Files: src/structs.h
17626
17627Patch 7.3.1265 (after 7.3.1249)
17628Problem: Accepting "Vim:" for a modeline causes errors too often.
17629Solution: Require "Vim:" to be followed by "set".
17630Files: src/buffer.c
17631
17632Patch 7.3.1266
17633Problem: QNX: GUI fails to start.
17634Solution: Remove the QNX-specific #ifdef. (Sean Boudreau)
17635Files: src/gui.c
17636
17637Patch 7.3.1267
17638Problem: MS-Windows ACL support doesn't work well.
17639Solution: Implement more ACL support. (Ken Takata)
17640Files: src/os_win32.c
17641
17642Patch 7.3.1268
Bram Moolenaardd007ed2013-07-09 15:44:17 +020017643Problem: ACL support doesn't work when compiled with MingW.
Bram Moolenaar913df812013-07-06 15:44:11 +020017644Solution: Support ACL on MingW. (Ken Takata)
17645Files: src/os_win32.c, src/os_win32.h
17646
17647Patch 7.3.1269
17648Problem: Insert completion keeps entry selected even though the list has
17649 changed. (Olivier Teuliere)
17650Solution: Reset compl_shown_match and compl_curr_match. (Christian Brabandt)
17651Files: src/edit.c
17652
17653Patch 7.3.1270
17654Problem: Using "Vp" in an empty buffer can't be undone. (Hauke Petersen)
17655Solution: Save one line in an empty buffer. (Christian Brabandt)
17656Files: src/ops.c
17657
17658Patch 7.3.1271 (after 7.3.1260)
17659Problem: Command line completion does not work.
17660Solution: Move setting xp_line down. (Daniel Thau)
17661Files: src/ex_getln.c
17662
17663Patch 7.3.1272
17664Problem: Crash when editing Ruby file. (Aliaksandr Rahalevich)
17665Solution: Reallocate the state list when necessary.
17666Files: src/regexp_nfa.c
17667
17668Patch 7.3.1273
17669Problem: When copying a location list the index might be wrong.
17670Solution: Set the index to one when using the first entry. (Lech Lorens)
17671Files: src/quickfix.c
17672
17673Patch 7.3.1274
17674Problem: When selecting an entry from a location list it may pick an
17675 arbitrary window or open a new one.
17676Solution: Prefer using a window related to the location list. (Lech Lorens)
17677Files: src/quickfix.c
17678
17679Patch 7.3.1275
17680Problem: "gn" does not work when the match is a single character.
17681Solution: Fix it, add a test. (Christian Brabandt)
17682Files: src/search.c, src/testdir/test53.in, src/testdir/test53.ok
17683
17684Patch 7.3.1276
17685Problem: When using a cscope connection resizing the window may send
17686 SIGWINCH to cscope and it quits.
17687Solution: Call setpgid(0, 0) in the child process. (Narendran Gopalakrishnan)
17688Files: src/if_cscope.c
17689
17690Patch 7.3.1277
17691Problem: In diff mode 'cursorline' also draws in the non-active window.
17692 When 'nu' and 'sbr' are set the 'sbr' string is not underlined.
17693Solution: Only draw the cursor line in the current window. Combine the
17694 'cursorline' and other highlighting attributes. (Christian
17695 Brabandt)
17696Files: src/screen.c
17697
17698Patch 7.3.1278
17699Problem: When someone sets the screen size to a huge value with "stty" Vim
17700 runs out of memory before reducing the size.
17701Solution: Limit Rows and Columns in more places.
17702Files: src/gui.c, src/gui_gtk_x11.c, src/option.c, src/os_unix.c,
17703 src/proto/term.pro, src/term.c
17704
17705Patch 7.3.1279
17706Problem: Compiler warning for variable uninitialized. (Tony Mechelynck)
17707Solution: Add an init.
17708Files: src/ex_getln.c
17709
17710Patch 7.3.1280
17711Problem: Reading memory already freed since patch 7.3.1247. (Simon
17712 Ruderich, Dominique Pelle)
17713Solution: Copy submatches before reallocating the state list.
17714Files: src/regexp_nfa.c
17715
17716Patch 7.3.1281
17717Problem: When 'ttymouse' is set to "xterm2" clicking in column 123 moves
17718 the cursor to column 96. (Kevin Goodsell)
17719Solution: Decode KE_CSI.
17720Files: src/term.c
17721
17722Patch 7.3.1282 (after 7.3.1277)
17723Problem: 'cursorline' not drawn in any other window. (Charles Campbell)
17724Solution: Do draw the cursor line in other windows.
17725Files: src/screen.c
17726
17727Patch 7.3.1283
17728Problem: Test 71 fails on MS-Windows.
17729Solution: Put the binary data in a separate file. (Ken Takata)
17730Files: src/testdir/test71.in, src/testdir/test71a.in
17731
17732Patch 7.3.1284
17733Problem: Compiler warnings in MS-Windows clipboard handling.
17734Solution: Add type casts. (Ken Takata)
17735Files: src/winclip.c
17736
17737Patch 7.3.1285
17738Problem: No tests for picking a window when selecting an entry in a
17739 location list. Not picking the right window sometimes.
17740Solution: Add test 96. Set usable_win appropriately. (Lech Lorens)
17741Files: src/quickfix.c, src/testdir/Makefile, src/testdir/test96.in,
17742 src/testdir/test96.ok, src/testdir/Make_amiga.mak,
17743 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
17744 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms
17745
17746Patch 7.3.1286
17747Problem: Check for screen size missing for Athena and Motif.
17748Solution: Add call to limit_screen_size().
17749Files: src/gui_x11.c
17750
17751Patch 7.3.1287
17752Problem: Python SystemExit exception is not handled properly.
17753Solution: Catch the exception and give an error. (Yasuhiro Matsumoto, Ken
17754 Takata)
17755Files: runtime/doc/if_pyth.txt, src/if_py_both.h, src/if_python.c,
17756 src/if_python3.c
17757
17758Patch 7.3.1288
17759Problem: The first ":echo 'hello'" command output doesn't show. Mapping
17760 for <S-F3> gets triggered during startup.
17761Solution: Add debugging code for the termresponse. When receiving the "Co"
17762 entry and when setting 'ambiwidth' redraw right away if possible.
17763 Add redraw_asap(). Don't set 'ambiwidth' if it already had the
17764 right value. Do the 'ambiwidth' check in the second row to avoid
17765 confusion with <S-F3>.
17766Files: src/term.c, src/screen.c, src/proto/screen.pro
17767
17768Patch 7.3.1289
17769Problem: Get GLIB warning when removing a menu item.
17770Solution: Reference menu-id and also call gtk_container_remove(). (Ivan
17771 Krasilnikov)
17772Files: src/gui_gtk.c
17773
17774Patch 7.3.1290 (after 7.3.1253)
17775Problem: CTRL-R = in Insert mode changes the start of the insert position.
17776 (Ingo Karkat)
17777Solution: Only break undo, don't start a new insert.
17778Files: src/edit.c
17779
17780Patch 7.3.1291 (after 7.3.1288)
17781Problem: Compiler warnings for uninitialized variables. (Tony Mechelynck)
17782Solution: Initialize the variables.
17783Files: src/screen.c
17784
17785Patch 7.3.1292
Bram Moolenaardd007ed2013-07-09 15:44:17 +020017786Problem: Possibly using invalid pointer when searching for window. (Raichoo)
Bram Moolenaar913df812013-07-06 15:44:11 +020017787Solution: Use "firstwin" instead of "tp_firstwin" for current tab.
17788Files: src/window.c
17789
17790Patch 7.3.1293
17791Problem: Put in empty buffer cannot be undone.
17792Solution: Save one more line for undo. (Ozaki)
17793Files: src/ops.c
17794
17795Patch 7.3.1294
17796Problem: ":diffoff" resets options.
17797Solution: Save and restore option values. (Christian Brabandt)
17798Files: src/diff.c, src/structs.h, src/option.c
17799
17800Patch 7.3.1295
17801Problem: glob() and globpath() do not handle escaped special characters
17802 properly.
17803Solution: Handle escaped characters differently. (Adnan Zafar)
17804Files: src/testdir/Makefile, src/testdir/test97.in,
17805 src/testdir/test97.ok, src/testdir/Make_amiga.mak,
17806 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
17807 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms, src/fileio.c,
17808 src/misc1.c
17809
17810Patch 7.3.1296
17811Problem: Only MS-Windows limits the GUI window size to what fits on the
17812 monitor.
17813Solution: Limit the size for all systems. (Daniel Harding)
17814Files: src/ui.c
17815
17816Patch 7.3.1297
17817Problem: findfile() directory matching does not work when a star follows
17818 text. (Markus Braun)
17819Solution: Make a wildcard work properly. (Christian Brabandt)
17820Files: src/misc2.c, src/testdir/test89.in, src/testdir/test89.ok
17821
17822Patch 7.3.1298 (after 7.3.1297)
17823Problem: Crash.
17824Solution: Use STRCPY() instead of STRCAT() and allocate one more byte.
17825Files: src/misc2.c
17826
17827Patch 7.3.1299
17828Problem: Errors when doing "make proto". Didn't do "make depend" for a
17829 while.
17830Solution: Add #ifdefs. Update dependencies. Update proto files.
17831Files: src/if_python3.c, src/os_win32.c, src/Makefile,
17832 src/proto/ex_docmd.pro, src/proto/if_python.pro,
17833 src/proto/if_python3.pro, src/proto/gui_w16.pro,
17834 src/proto/gui_w32.pro, src/proto/os_win32.pro
17835
17836Patch 7.3.1300
17837Problem: Mac: tiny and small build fails.
17838Solution: Don't include os_macosx.m in tiny build. Include mouse support in
17839 small build. (Kazunobu Kuriyama)
17840Files: src/configure.in, src/auto/configure, src/vim.h
17841
17842Patch 7.3.1301
17843Problem: Some tests fail on MS-Windows.
17844Solution: Fix path separators in test 89 and 96. Omit test 97, escaping
17845 works differently. Make findfile() work on MS-Windows.
17846Files: src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
17847 src/testdir/Make_os2.mak, src/testdir/test89.in,
17848 src/testdir/test96.in, src/misc2.c
17849
17850Patch 7.3.1302
17851Problem: Test 17 fails on MS-Windows. Includes line break in file name
17852 everywhere.
17853Solution: Fix 'fileformat'. Omit CR-LF from a line read from an included
17854 file.
17855Files: src/search.c, src/testdir/test17.in, src/testdir/test17.ok
17856
17857Patch 7.3.1303 (after 7.3.1290)
17858Problem: Undo is synced whenever CTRL-R = is called, breaking some plugins.
17859Solution: Only break undo when calling setline() or append().
17860Files: src/globals.h, src/eval.c, src/edit.c, src/testdir/test61.in,
17861 src/testdir/test61.ok
17862
17863Patch 7.3.1304
17864Problem: Test 89 still fails on MS-Windows.
17865Solution: Set 'shellslash'. (Taro Muraoka)
17866Files: src/testdir/test89.in
17867
17868Patch 7.3.1305
17869Problem: Warnings from 64 bit compiler.
17870Solution: Add type casts.
17871Files: src/misc2.c
17872
17873Patch 7.3.1306
17874Problem: When redrawing the screen during startup the intro message may be
17875 cleared.
17876Solution: Redisplay the intro message when appropriate.
17877Files: src/screen.c, src/version.c, src/proto/version.pro
17878
17879Patch 7.3.1307
17880Problem: MS-Windows build instructions are outdated.
17881Solution: Adjust for building on Windows 7. Drop Windows 95/98/ME support.
17882Files: Makefile, nsis/gvim.nsi
17883
17884Patch 7.3.1308
17885Problem: Typos in MS-Windows build settings and README.
17886Solution: Minor changes to MS-Windows files.
17887Files: src/msvc2008.bat, src/msvc2010.bat, src/VisVim/README_VisVim.txt
17888
17889Patch 7.3.1309
17890Problem: When a script defines a function the flag to wait for the user to
17891 hit enter is reset.
17892Solution: Restore the flag. (Yasuhiro Matsumoto) Except when the user was
17893 typing the function.
17894Files: src/eval.c
17895
17896Patch 7.3.1310
17897Problem: Typos in nsis script. Can use better compression.
17898Solution: Fix typos. Use lzma compression. (Ken Takata)
17899Files: nsis/gvim.nsi
17900
17901Patch 7.3.1311
17902Problem: Compiler warnings on Cygwin.
17903Solution: Add type casts. Add windows include files. (Ken Takata)
17904Files: src/mbyte.c, src/ui.c
17905
17906Patch 7.3.1312 (after 7.3.1287)
17907Problem: Not giving correct error messages for SystemExit().
17908Solution: Move E858 into an else. (Ken Takata)
17909Files: src/if_py_both.h
17910
17911Patch 7.3.1313
17912Problem: :py and :py3 don't work when compiled with Cygwin or MingW with 64
17913 bit.
17914Solution: Add -DMS_WIN64 to the build command. (Ken Takata)
17915Files: src/Make_cyg.mak, src/Make_ming.mak
17916
17917Patch 7.3.1314
17918Problem: Test 87 fails with Python 3.3.
17919Solution: Filter the error messages. (Taro Muraoka)
17920Files: src/testdir/test87.in
17921
Bram Moolenaar1a42b4b2013-07-28 18:29:08 +020017922Patch 7.4a.001
17923Problem: Script to update syntax menu is outdated.
17924Solution: Add the missing items.
17925Files: runtime/makemenu.vim
Bram Moolenaar913df812013-07-06 15:44:11 +020017926
Bram Moolenaar1a42b4b2013-07-28 18:29:08 +020017927Patch 7.4a.002
17928Problem: Valgrind errors in test 89. (Simon Ruderich)
17929Solution: Allocate one more byte. (Dominique Pelle)
17930Files: src/misc2.c
Bram Moolenaar913df812013-07-06 15:44:11 +020017931
Bram Moolenaar1a42b4b2013-07-28 18:29:08 +020017932Patch 7.4a.003
17933Problem: Copyright year is outdated.
17934Solution: Only use the first year.
17935Files: src/vim.rc, src/vim16.rc
17936
17937Patch 7.4a.004
17938Problem: MSVC 2012 Update 3 is not recognized.
17939Solution: Add the version number. (Raymond Ko)
17940Files: src/Make_mvc.mak
17941
17942Patch 7.4a.005
17943Problem: Scroll binding causes unexpected scroll.
17944Solution: Store the topline after updating scroll binding. Add a test.
17945 (Lech Lorens)
17946Files: src/testdir/test98.in, src/testdir/test98a.in,
17947 src/testdir/test98.ok, src/option.c, src/testdir/Make_amiga.mak,
17948 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
17949 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms,
17950 src/testdir/Makefile
17951
17952Patch 7.4a.006
17953Problem: Failure in po file check goes unnoticed.
17954Solution: Fail "make test" if the po file check fails.
17955Files: src/Makefile
17956
17957Patch 7.4a.007
17958Problem: After "g$" with 'virtualedit' set, "k" moves to a different
17959 column. (Dimitar Dimitrov)
17960Solution: Set w_curswant. (Christian Brabandt)
17961Files: src/normal.c
17962
17963Patch 7.4a.008
17964Problem: Python 3 doesn't handle multibyte characters properly when
17965 'encoding' is not utf-8.
17966Solution: Use PyUnicode_Decode() instead of PyUnicode_FromString(). (Ken
17967 Takata)
17968Files: src/if_python3.c
17969
17970Patch 7.4a.009
17971Problem: Compiler warnings for function prototypes.
17972Solution: Add "void". Move list_features() prototype. (Ken Takata)
17973Files: src/gui_w48.c, src/if_py_both.h, src/version.c
17974
17975Patch 7.4a.010
17976Problem: Test 86 and 87 fail when building with Python or Python 3 and
17977 using a static library.
17978Solution: Add configure check to add -fPIE compiler flag.
17979Files: src/configure.in, src/auto/configure
17980
17981Patch 7.4a.011
17982Problem: Configure check for Python 3 config name isn't right.
17983Solution: Always include vi_cv_var_python3_version. (Tim Harder)
17984Files: src/configure.in, src/auto/configure
17985
17986Patch 7.4a.012
17987Problem: "make test" fails when using a shadow directory.
17988Solution: Create links for files in src/po. (James McCoy)
17989Files: src/Makefile
17990
17991Patch 7.4a.013
17992Problem: Setting/resetting 'lbr' in the main help file changes alignment
17993 after a Tab. (Dimitar Dimitrov)
17994Solution: Also use the code for conceal mode where n_extra is computed for
17995 'lbr'.
17996Files: src/screen.c, src/testdir/test88.in, src/testdir/test88.ok
17997
17998Patch 7.4a.014
17999Problem: Test 86 and 89 have a problem with using a shadow dir.
18000Solution: Adjust for the different directory structure. (James McCoy)
18001Files: src/testdir/test89.in, src/testdir/test86.in, src/Makefile
18002
18003Patch 7.4a.015
18004Problem: No Japanese man pages.
18005Solution: Add Japanese translations of man pages. (Ken Takata, Yukihiro
18006 Nakadaira, et al.)
18007Files: Filelist, src/Makefile, runtime/doc/evim-ja.UTF-8.1,
18008 runtime/doc/vim-ja.UTF-8.1, runtime/doc/vimdiff-ja.UTF-8.1,
18009 runtime/doc/vimtutor-ja.UTF-8.1, runtime/doc/xxd-ja.UTF-8.1
18010
18011Patch 7.4a.016 (after 7.4a.014)
18012Problem: Features enabled in Makefile.
18013Solution: Undo accidental changes.
18014Files: src/Makefile
18015
18016Patch 7.4a.017
18017Problem: When 'foldmethod' is "indent", using ">>" on a line just above a
18018 fold makes the cursor line folded. (Evan Laforge)
18019Solution: Call foldOpenCursor(). (Christian Brabandt)
18020Files: src/ops.c
18021
18022Patch 7.4a.018
18023Problem: Compiler warning for code unreachable. (Charles Campbell)
18024Solution: Use "while" instead of endless loop. Change break to continue.
18025Files: src/regexp_nfa.c, src/ui.c
18026
18027Patch 7.4a.019
18028Problem: Invalid closing parenthesis in test 62. Command truncated at
18029 double quote.
18030Solution: Remove the parenthesis. Change double quote to ''. (ZyX)
18031Files: src/testdir/test62.in, src/testdir/test62.ok
18032
18033Patch 7.4a.020
18034Problem: Superfluous mb_ptr_adv().
18035Solution: Remove the call. (Dominique Pelle)
18036Files: src/regexp_nfa.c
18037
18038Patch 7.4a.021
18039Problem: Using feedkeys() doesn't always work.
18040Solution: Omit feedkeys(). (Ken Takata)
18041Files: src/testdir/test98a.in
18042
18043Patch 7.4a.022
18044Problem: Using "d2g$" does not delete the last character. (ZyX)
18045Solution: Set the "inclusive" flag properly.
18046Files: src/normal.c
18047
18048Patch 7.4a.023 (after 7.4a.019)
18049Problem: Still another superfluous parenthesis. (ZyX)
18050Solution: Remove it.
18051Files: src/testdir/test62.in
18052
18053Patch 7.4a.024
18054Problem: X11 GUI: Checking icon height twice.
18055Solution: Check height and width. (Dominique Pelle)
18056Files: src/gui_x11.c
18057
18058Patch 7.4a.025
18059Problem: Get the press-Enter prompt even after using :redraw.
18060Solution: Clear need_wait_return when executing :redraw.
18061Files: src/ex_docmd.c
18062
18063Patch 7.4a.026
18064Problem: ":diffoff" does not remove folds. (Ramel)
18065Solution: Do not restore 'foldenable' when 'foldmethod' is "manual".
18066Files: src/diff.c
18067
18068Patch 7.4a.027
18069Problem: When Python adds lines to another buffer the cursor position is
18070 wrong, it might be below the last line causing ml_get errors.
18071 (Vlad Irnov)
18072Solution: Temporarily change the current window, so that marks are corrected
18073 properly.
18074Files: src/if_py_both.h, src/window.c, src/proto/buffer.pro
18075
18076Patch 7.4a.028
18077Problem: Crash when spell checking in new buffer.
18078Solution: Set the b_p_key field. (Mike Williams)
18079Files: src/spell.c, src/testdir/test58.in
18080
18081Patch 7.4a.029
18082Problem: Can't build with MzScheme on Ubuntu 13.04.
18083Solution: Add configure check for the "ffi" library.
18084Files: src/configure.in, src/auto/configure
18085
18086Patch 7.4a.030 (after 7.4.027)
18087Problem: Missing find_win_for_buf(). (toothpik)
18088Solution: Add missing changes.
18089Files: src/buffer.c
18090
18091Patch 7.4a.031
18092Problem: Compiler warnings. (Charles Campbell)
18093Solution: Initialize variables even when not needed.
18094Files: src/regexp_nfa.c, src/search.c
18095
18096Patch 7.4a.032
18097Problem: New regexp engine: Does not match shorter alternative. (Ingo
18098 Karkat)
18099Solution: Do not drop a new state when the PIM info is different.
18100Files: src/regexp_nfa.c
18101
18102Patch 7.4a.033
18103Problem: Test 98 always passes.
18104Solution: Include test98a.in in test98.in, execute the crucial command in
18105 one line. (Yukihiro Nakadaira)
18106Files: src/testdir/test98.in, src/testdir/test98a.in
18107
18108Patch 7.4a.034
18109Problem: The tabline may flicker when opening a new tab after 7.3.759 on
18110 Win32.
18111Solution: Move call to TabCtrl_SetCurSel(). (Ken Takata)
18112Files: src/gui_w48.c
18113
18114Patch 7.4a.035
18115Problem: Fix in patch 7.4a.032 is not tested.
18116Solution: Add test.
18117Files: src/testdir/test64.in, src/testdir/test64.ok
18118
18119Patch 7.4a.036
18120Problem: "\p" in a regexp does not match double-width characters.
18121 (Yukihiro Nakadaira)
18122Solution: Don't count display cells, use vim_isprintc().
18123Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test64.in,
18124 src/testdir/test64.ok, src/testdir/test95.in,
18125 src/testdir/test95.ok
18126
18127Patch 7.4a.037
18128Problem: Win32: When mouse is hidden and in the toolbar, moving it won't
18129 make it appear. (Sami Salonen)
18130Solution: Add tabline_wndproc() and toolbar_wndproc(). (Ken Takata)
18131Files: src/gui_w32.c, src/gui_w48.c
18132
18133Patch 7.4a.038
18134Problem: When using MSVC 2012 there are various issues, including GUI size
18135 computations.
18136Solution: Use SM_CXPADDEDBORDER. (Mike Williams)
18137Files: src/gui_w32.c, src/gui_w48.c, src/os_win32.h
18138
18139Patch 7.4a.039
18140Problem: New regexp engine doesn't match pattern. (Ingo Karkat)
18141Solution: When adding a state also check for different PIM if the list of
18142 states has any state with a PIM.
18143Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
18144
18145Patch 7.4a.040
18146Problem: Win32: using uninitialized variable.
18147Solution: (Yukihiro Nakadaira)
18148Files: src/os_win32.c
18149
18150Patch 7.4a.041
18151Problem: When using ":new ++ff=unix" and "dos" is first in 'fileformats'
18152 then 'ff' is set to "dos" instead of "unix". (Ingo Karkat)
18153Solution: Create set_file_options() and invoke it from do_ecmd().
18154Files: src/fileio.c, src/proto/fileio.pro, src/ex_cmds.c,
18155 src/testdir/test91.in, src/testdir/test91.ok
18156
18157Patch 7.4a.042
18158Problem: Crash when BufUnload autocommands close all buffers. (Andrew
18159 Pimlott)
18160Solution: Set curwin->w_buffer to curbuf to avoid NULL.
18161Files: src/window.c, src/testdir/test8.in, src/testdir/test8.ok
18162
18163Patch 7.4a.043
18164Problem: More ml_get errors when adding or deleting lines from Python.
18165 (Vlad Irnov)
18166Solution: Switch to a window with the buffer when possible.
18167Files: src/if_py_both.h
18168
18169Patch 7.4a.044
18170Problem: Test 96 sometimes fails.
18171Solution: Clear window from b_wininfo in win_free(). (Suggestion by
18172 Yukihiro Nakadaira)
18173Files: src/window.c
18174
18175Patch 7.4a.045
18176Problem: Configure does not always find the right library for Lua. Missing
18177 support for LuaJit.
18178Solution: Improve the configure detection of Lua. (Hiroshi Shirosaki)
18179Files: src/Makefile, src/configure.in, src/auto/configure
18180
18181Patch 7.4a.046
18182Problem: Can't build without mbyte feature.
18183Solution: Add #ifdefs.
18184Files: src/ex_cmds.c
18185
18186Patch 7.4a.047
18187Problem: Some comments are not so nice.
18188Solution: Change the comments.
18189Files: src/ex_docmd.c, src/message.c, src/ops.c, src/option.c
18190
Bram Moolenaar3b1db362013-08-10 15:00:24 +020018191Patch 7.4b.001
18192Problem: Win32: dialog may extend off-screen.
18193Solution: Reduce the size, use correct borders. (Andrei Olsen)
18194Files: src/gui_w32.c
18195
18196Patch 7.4b.002
18197Problem: Crash searching for \%(\%(\|\d\|-\|\.\)*\|\*\). (Marcin
18198 Szamotulski) Also for \(\)*.
18199Solution: Do add a state for opening parenthesis, so that we can check if it
18200 was added before at the same position.
18201Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
18202
18203Patch 7.4b.003
18204Problem: Regexp code is not nicely aligned.
18205Solution: Adjust white space. (Ken Takata)
18206Files: src/regexp_nfa.c
18207
18208Patch 7.4b.004
18209Problem: Regexp crash on pattern "@\%[\w\-]*". (Axel Kielhorn)
18210Solution: Add \%(\) around \%[] internally.
18211Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
18212
18213Patch 7.4b.005
18214Problem: Finding %s in shellpipe and shellredir does not ignore %%s.
18215Solution: Skip over %%. (lcd 47)
18216Files: src/ex_cmds.c
18217
18218Patch 7.4b.006 (after 7.3.1295)
18219Problem: Using \{n,m} in an autocommand pattern no longer works.
18220 Specifically, mutt temp files are not recognized. (Gary Johnson)
18221Solution: Make \\\{n,m\} work.
18222Files: runtime/doc/autocmd.txt, src/fileio.c
18223
18224Patch 7.4b.007
18225Problem: On 32 bit MS-Windows :perldo does not work.
18226Solution: Make sure time_t uses 32 bits. (Ken Takata)
18227Files: src/if_perl.xs, src/vim.h
18228
18229Patch 7.4b.008
18230Problem: 'autochdir' causes setbufvar() to change the current directory.
18231 (Ben Fritz)
18232Solution: When disabling autocommands also reset 'acd' temporarily.
18233 (Christian Brabandt)
18234Files: src/fileio.c
18235
18236Patch 7.4b.009
18237Problem: When setting the Visual area manually and 'selection' is
18238 exclusive, a yank includes one character too much. (Ingo Karkat)
18239Solution: Default the Visual operation to "v". (Christian Brabandt)
18240Files: src/mark.c
18241
18242Patch 7.4b.010
18243Problem: Win32: Tcl library load does not use standard mechanism.
18244Solution: Call vimLoadLib() instead of LoadLibraryEx(). (Ken Takata)
18245Files: src/if_perl.xs, src/if_tcl.c
18246
18247Patch 7.4b.011
18248Problem: ":he \%(\)" does not work. (ZyX)
18249Solution: Add an exception to the list.
18250Files: src/ex_cmds.c
18251
18252Patch 7.4b.012
18253Problem: Output from a shell command is truncated at a NUL. (lcd 47)
18254Solution: Change every NUL into an SOH.
18255Files: src/misc1.c
18256
18257Patch 7.4b.013
18258Problem: Install dir for JP man pages is wrong.
18259Solution: Remove ".UTF-8" from the directory name. (Ken Takata)
18260Files: src/Makefile
18261
18262Patch 7.4b.014 (after 7.4b.012)
18263Problem: Stupid mistake.
18264Solution: Changle "len" to "i".
18265Files: src/misc1.c
18266
18267Patch 7.4b.015 (after 7.4b.008)
18268Problem: Can't compile without the 'acd' feature.
18269Solution: Add #ifdefs. (Kazunobu Kuriyama)
18270Files: src/fileio.c
18271
18272Patch 7.4b.016
18273Problem: Ruby detection fails on Fedora 19.
18274Solution: Use one way to get the Ruby version. (Michael Henry)
18275Files: src/configure.in, src/auto/configure
18276
18277Patch 7.4b.017
18278Problem: ":he \^x" gives a strange error message. (glts)
18279Solution: Do not translate \^x to \_CTRL-x.
18280Files: src/ex_cmds.c
18281
18282Patch 7.4b.018 (after 7.4b.001)
18283Problem: Win32: Dialog can still be too big.
18284Solution: Move the check for height further down. (Andrei Olsen)
18285Files: src/gui_w32.c
18286
18287Patch 7.4b.019 (after 7.4a.034)
18288Problem: Tabline is not updated properly when closing a tab on Win32.
18289Solution: Only reduce flickering when adding a tab. (Ken Takata)
18290Files: src/gui_w48.c
18291
18292Patch 7.4b.020
18293Problem: "g~ap" changes first character of next paragraph. (Manuel Ortega)
18294Solution: Avoid subtracting (0 - 1) from todo. (Mike Williams)
18295Files: src/ops.c, src/testdir/test82.in, src/testdir/test82.ok
18296
18297Patch 7.4b.021
18298Problem: Pressing "u" after an external command results in multiple
18299 press-enter messages. (glts)
18300Solution: Don't call hit_return_msg() when we have K_IGNORE. (Christian
18301 Brabandt)
18302Files: src/message.c
18303
18304Patch 7.4b.022
18305Problem: Not waiting for a character when the tick count overflows.
18306Solution: Subtract the unsigned numbers and cast to int. (Ken Takata)
18307Files: src/os_win32.c
18308
Bram Moolenaar49325942007-05-10 19:19:59 +000018309
Bram Moolenaar071d4272004-06-13 20:20:40 +000018310 vim:tw=78:ts=8:ft=help:norl: