blob: ab2482c1764650602b5689a729fd244933fc6e47 [file] [log] [blame]
Bram Moolenaardd007ed2013-07-09 15:44:17 +02001*version7.txt* For Vim version 7.4a. Last change: 2013 Jul 07
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|
73Changed |changed-7.4|
74Added |added-7.4|
75Fixed |fixed-7.4|
76
77
Bram Moolenaar071d4272004-06-13 20:20:40 +000078==============================================================================
79INCOMPATIBLE CHANGES *incompatible-7*
80
81These changes are incompatible with previous releases. Check this list if you
Bram Moolenaarb2956cd2005-01-27 14:42:53 +000082run into a problem when upgrading from Vim 6.x to 7.0.
83
84A ":write file" command no longer resets the 'modified' flag of the buffer,
85unless the '+' flag is in 'cpoptions' |cpo-+|. This was illogical, since the
86buffer is still modified compared to the original file. And when undoing
87all changes the file would actually be marked modified. It does mean that
88":quit" fails now.
Bram Moolenaar071d4272004-06-13 20:20:40 +000089
Bram Moolenaarf4b8e572004-06-24 15:53:16 +000090":helpgrep" now uses a help window to display a match.
91
Bram Moolenaar1cd871b2004-12-19 22:46:22 +000092In an argument list double quotes could be used to include spaces in a file
93name. This caused a difference between ":edit" and ":next" for escaping
94double quotes and it is incompatible with some versions of Vi.
95 Command Vim 6.x file name Vim 7.x file name ~
Bram Moolenaarc9b4b052006-04-30 18:54:39 +000096 :edit foo\"888 foo"888 foo"888
97 :next foo\"888 foo888 foo"888
98 :next a\"b c\"d ab cd a"b and c"d
Bram Moolenaar1cd871b2004-12-19 22:46:22 +000099
Bram Moolenaar8c711452005-01-14 21:53:12 +0000100In a |literal-string| a single quote can be doubled to get one.
101":echo 'a''b'" would result in "a b", but now that two quotes stand for one it
102results in "a'b".
103
Bram Moolenaar04a09c12005-08-01 22:02:32 +0000104When overwriting a file with ":w! fname" there was no warning for when "fname"
105was being edited by another Vim. Vim now gives an error message |E768|.
106
Bram Moolenaar241a8aa2005-12-06 20:04:44 +0000107The support for Mac OS 9 has been removed.
108
Bram Moolenaard2cec5b2006-03-28 21:08:56 +0000109Files ending in .tex now have 'filetype' set to "context", "plaintex", or
110"tex". |ft-tex-plugin|
111
Bram Moolenaarf4b8e572004-06-24 15:53:16 +0000112
113Minor incompatibilities:
114
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000115For filetype detection: For many types, use */.dir/filename instead of
116~/.dir/filename, so that it also works for other user's files.
Bram Moolenaarf4b8e572004-06-24 15:53:16 +0000117
Bram Moolenaar910f66f2006-04-05 20:41:53 +0000118For quite a few filetypes the indent settings have been moved from the
119filetype plugin to the indent plugin. If you used: >
120 :filetype plugin on
121Then some indent settings may be missing. You need to use: >
122 :filetype plugin indent on
123
Bram Moolenaarf4b8e572004-06-24 15:53:16 +0000124":0verbose" now sets 'verbose' to zero instead of one.
125
126Removed the old and incomplete "VimBuddy" code.
127
128Buffers without a name report "No Name" instead of "No File". It was
129confusing for buffers with a name and 'buftype' set to "nofile".
Bram Moolenaar071d4272004-06-13 20:20:40 +0000130
Bram Moolenaar7b0294c2004-10-11 10:16:09 +0000131When ":file xxx" is used in a buffer without a name, the alternate file name
Bram Moolenaar54a709e2006-05-04 21:57:11 +0000132isn't set. This avoids creating buffers without a name, they are not useful.
Bram Moolenaar7b0294c2004-10-11 10:16:09 +0000133
134The "2html.vim" script now converts closed folds to HTML. This means the HTML
Bram Moolenaar54a709e2006-05-04 21:57:11 +0000135looks like it's displayed, with the same folds open and closed. Use "zR", or
Bram Moolenaarf4630b62005-05-20 21:31:17 +0000136"let html_ignore_folding=1", if no folds should appear in the HTML. (partly by
137Carl Osterwisch)
Bram Moolenaarc9b4b052006-04-30 18:54:39 +0000138Diff mode is now also converted to HTML as it is displayed.
Bram Moolenaar7b0294c2004-10-11 10:16:09 +0000139
Bram Moolenaar293ee4d2004-12-09 21:34:53 +0000140Win32: The effect of the <F10> key depended on 'winaltkeys'. Now it depends
141on whether <F10> has been mapped or not. This allows mapping <F10> without
142changing 'winaltkeys'.
143
Bram Moolenaar8c711452005-01-14 21:53:12 +0000144When 'octal' is in 'nrformats' and using CTRL-A on "08" it became "018", which
145is illogical. Now it becomes "9". The leading zero(s) is(are) removed to
146avoid the number becoming octal after incrementing "009" to "010".
Bram Moolenaar1cd871b2004-12-19 22:46:22 +0000147
148When 'encoding' is set to a Unicode encoding, the value for 'fileencodings'
149now includes "default" before "latin1". This means that for files with 8-bit
150encodings the default is to use the encoding specified by the environment, if
151possible. Previously latin1 would always be used, which is wrong in a
152non-latin1 environment, such as Russian.
153
Bram Moolenaard438e912005-01-31 19:21:46 +0000154Previously Vim would exit when there are two windows, both of them displaying
155a help file, and using ":quit". Now only the window is closed.
156
Bram Moolenaar4399ef42005-02-12 14:29:27 +0000157"-w {scriptout}" only works when {scriptout} doesn't start with a digit.
158Otherwise it's used to set the 'window' option.
159
Bram Moolenaar8bf59b92005-03-06 23:40:56 +0000160Previously <Home> and <xHome> could be mapped separately. This had the
161disadvantage that all mappings (with modifiers) had to be duplicated, since
162you can't be sure what the keyboard generates. Now all <xHome> are internally
163translated to <Home>, both for the keys and for mappings. Also for <xEnd>,
164<xF1>, etc.
165
Bram Moolenaar13fcaaf2005-04-15 21:13:42 +0000166":put" now leaves the cursor on the last inserted line.
167
Bram Moolenaar7fae6362005-06-30 22:06:41 +0000168When a .gvimrc file exists then 'compatible' is off, just like when a ".vimrc"
169file exists.
170
Bram Moolenaara2036d22005-08-23 21:04:20 +0000171When making a string upper-case with "vlllU" or similar then the German sharp
172s is replaced with "SS". This does not happen with "~" to avoid backwards
173compatibility problems and because "SS" can't be changed back to a sharp s.
174
Bram Moolenaardd2436f2005-09-05 22:14:46 +0000175"gd" previously found the very first occurrence of a variable in a function,
176that could be the function argument without type. Now it finds the position
177where the type is given.
178
Bram Moolenaare224ffa2006-03-01 00:01:28 +0000179The line continuation in functions was not taken into account, line numbers in
180errors were logical lines, not lines in the sourced file. That made it
181difficult to locate errors. Now the line number in the sourced file is
182reported, relative to the function start. This also means that line numbers
183for ":breakadd func" are different.
184
Bram Moolenaarb3656ed2006-03-20 21:59:49 +0000185When defining a user command with |:command| the special items could be
186abbreviated. This caused unexpected behavior, such as <li> being recognized
187as <line1>. The items can no longer be abbreviated.
188
Bram Moolenaar910f66f2006-04-05 20:41:53 +0000189When executing a FileChangedRO autocommand it is no longer allowed to switch
190to another buffer or edit another file. This is to prevent crashes (the event
191is triggered deep down in the code where changing buffers is not anticipated).
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000192It is still possible to reload the buffer.
193
194At the |more-prompt| and the |hit-enter-prompt|, when the 'more' option is
195set, the 'k', 'u', 'g' and 'b' keys are now used to scroll back to previous
196messages. Thus they are no longer used as typeahead.
Bram Moolenaar910f66f2006-04-05 20:41:53 +0000197
Bram Moolenaar071d4272004-06-13 20:20:40 +0000198==============================================================================
199NEW FEATURES *new-7*
200
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000201Vim script enhancements *new-vim-script*
202-----------------------
Bram Moolenaar071d4272004-06-13 20:20:40 +0000203
204In Vim scripts the following types have been added:
205
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000206 |List| ordered list of items
207 |Dictionary| associative array of items
208 |Funcref| reference to a function
Bram Moolenaar071d4272004-06-13 20:20:40 +0000209
210Many functions and commands have been added to support the new types.
211
Bram Moolenaar31c67ef2005-01-11 21:34:41 +0000212The |string()| function can be used to get a string representation of a
213variable. Works for Numbers, Strings and composites of them. Then |eval()|
214can be used to turn the string back into the variable value.
215
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000216The |:let| command can now use "+=", "-=" and ".=": >
217 :let var += expr " works like :let var = var + expr
218 :let var -= expr " works like :let var = var - expr
219 :let var .= string " works like :let var = var . string
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000220
Bram Moolenaar038eb0e2005-02-27 22:43:26 +0000221With the |:profile| command you can find out where your function or script
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000222is wasting time.
Bram Moolenaar038eb0e2005-02-27 22:43:26 +0000223
Bram Moolenaarb71eaae2006-01-20 23:10:18 +0000224In the Python interface vim.eval() also handles Dictionaries and Lists.
225|python-eval| (G. Sumner Hayes)
226
Bram Moolenaare580b0c2006-03-21 21:33:03 +0000227The |getscript| plugin was added as a convenient way to update scripts from
228www.vim.org automatically. (Charles Campbell)
229
230The |vimball| plugin was added as a convenient way to distribute a set of
231files for a plugin (plugin file, autoload script, documentation). (Charles
232Campbell)
233
Bram Moolenaar843ee412004-06-30 16:16:41 +0000234
Bram Moolenaar60c78922005-03-20 22:40:14 +0000235Spell checking *new-spell*
236--------------
237
238Spell checking has been integrated in Vim. There were a few implementations
239with scripts, but they were slow and/or required an external program.
240
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000241The 'spell' option is used to switch spell checking on or off
242The 'spelllang' option is used to specify the accepted language(s)
243The 'spellfile' option specifies where new words are added
Bram Moolenaar7fae6362005-06-30 22:06:41 +0000244The 'spellsuggest' option specifies the methods used for making suggestions
Bram Moolenaar9ba0eb82005-06-13 22:28:56 +0000245
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +0100246The |]s| and |[s| commands can be used to move to the next or previous error
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000247The |zg| and |zw| commands can be used to add good and wrong words
Bram Moolenaarc9b4b052006-04-30 18:54:39 +0000248The |z=| command can be used to list suggestions and correct the word
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000249The |:mkspell| command is used to generate a Vim spell file from word lists
Bram Moolenaar60c78922005-03-20 22:40:14 +0000250
251The "undercurl" highlighting attribute was added to nicely point out spelling
252mistakes in the GUI (based on patch from Marcin Dalecki).
253The "guisp" color can be used to give it a color different from foreground and
254background.
255The number of possible different highlight attributes was raised from about
256220 to over 30000. This allows for the attributes of spelling to be combined
Bram Moolenaar75c50c42005-06-04 22:06:24 +0000257with syntax highlighting attributes. This is also used for syntax
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000258highlighting and marking the Visual area.
Bram Moolenaar60c78922005-03-20 22:40:14 +0000259
260Much more info here: |spell|.
261
262
Bram Moolenaarf75a9632005-09-13 21:20:47 +0000263Omni completion *new-omni-completion*
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000264---------------
Bram Moolenaarf75a9632005-09-13 21:20:47 +0000265
266This could also be called "intellisense", but that is a trademark. It is a
267smart kind of completion. The text in front of the cursor is inspected to
Bram Moolenaar8b6144b2006-02-08 09:20:24 +0000268figure out what could be following. This may suggest struct and class
269members, system functions, etc.
Bram Moolenaarf75a9632005-09-13 21:20:47 +0000270
271Use CTRL-X CTRL-O in Insert mode to start the completion. |i_CTRL-X_CTRL-O|
272
273The 'omnifunc' option is set by filetype plugins to define the function that
274figures out the completion.
275
Bram Moolenaar07d4d732005-10-03 22:04:08 +0000276Currently supported languages:
Bram Moolenaar8b6144b2006-02-08 09:20:24 +0000277 C |ft-c-omni|
278 (X)HTML with CSS |ft-html-omni|
279 JavaScript |ft-javascript-omni|
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000280 PHP |ft-php-omni|
Bram Moolenaar9e54a0e2006-04-14 20:42:25 +0000281 Python
Bram Moolenaarfc1421e2006-04-20 22:17:20 +0000282 Ruby |ft-ruby-omni|
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000283 SQL |ft-sql-omni|
Bram Moolenaar8b6144b2006-02-08 09:20:24 +0000284 XML |ft-xml-omni|
Bram Moolenaarc236c162008-07-13 17:41:49 +0000285 any language with syntax highlighting |ft-syntax-omni|
Bram Moolenaar07d4d732005-10-03 22:04:08 +0000286
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000287You can add your own omni completion scripts.
288
Bram Moolenaar07d4d732005-10-03 22:04:08 +0000289When the 'completeopt' option contains "menu" then matches for Insert mode
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000290completion are displayed in a (rather primitive) popup menu.
Bram Moolenaarf75a9632005-09-13 21:20:47 +0000291
292
Bram Moolenaar325b7a22004-07-05 15:58:32 +0000293MzScheme interface *new-MzScheme*
294------------------
295
296The MzScheme interpreter is supported. |MzScheme|
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000297
298The |:mzscheme| command can be used to execute MzScheme commands
299The |:mzfile| command can be used to execute an MzScheme script file
300
301This depends on Vim being compiled with the |+mzscheme| feature.
Bram Moolenaar325b7a22004-07-05 15:58:32 +0000302
Bram Moolenaar31c67ef2005-01-11 21:34:41 +0000303
Bram Moolenaar8299df92004-07-10 09:47:34 +0000304Printing multi-byte text *new-print-multi-byte*
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000305------------------------
Bram Moolenaar8299df92004-07-10 09:47:34 +0000306
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000307The |:hardcopy| command now supports printing multi-byte characters when using
308PostScript.
309
Bram Moolenaar8299df92004-07-10 09:47:34 +0000310The 'printmbcharset' and 'printmbfont' options are used for this.
311Also see |postscript-cjk-printing|. (Mike Williams)
312
Bram Moolenaar325b7a22004-07-05 15:58:32 +0000313
Bram Moolenaar17be7e62006-03-12 22:13:45 +0000314Tab pages *new-tab-pages*
315---------
316
Bram Moolenaarfcb7ab62010-07-20 11:16:17 +0200317A 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 +0000318By clicking on the label you can quickly switch between the tab pages. And
319with the keyboard, using the |gt| (Goto Tab) command. This is a convenient
320way to work with many windows.
321
322To start Vim with each file argument in a separate tab page use the |-p|
323argument. The maximum number of pages can be set with 'tabpagemax'.
324
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000325The line with tab labels is either made with plain text and highlighting or
Bram Moolenaar17be7e62006-03-12 22:13:45 +0000326with a GUI mechanism. The GUI labels look better but are only available on a
Bram Moolenaar57657d82006-04-21 22:12:41 +0000327few systems. The line can be customized with 'tabline', 'guitablabel' and
328'guitabtooltip'. Whether it is displayed is set with 'showtabline'. Whether
329to use the GUI labels is set with the "e" flag in 'guioptions'.
Bram Moolenaar17be7e62006-03-12 22:13:45 +0000330
331The |:tab| command modifier can be used to have most commands that open a new
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000332window open a new tab page instead.
Bram Moolenaar17be7e62006-03-12 22:13:45 +0000333
Bram Moolenaar0ce29932006-03-13 22:18:45 +0000334The |--remote-tab| argument can be used to edit a file in a new tab page in an
335already running Vim server.
336
Bram Moolenaar910f66f2006-04-05 20:41:53 +0000337Variables starting with "t:" are local to a tab page.
338
Bram Moolenaar17be7e62006-03-12 22:13:45 +0000339More info here: |tabpage|
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000340Most of the GUI stuff was implemented by Yegappan Lakshmanan.
Bram Moolenaar17be7e62006-03-12 22:13:45 +0000341
342
Bram Moolenaar34e9e2f2006-03-14 23:07:19 +0000343Undo branches *new-undo-branches*
344-------------
345
346Previously there was only one line of undo-redo. If, after undoing a number
347of changes, a new change was made all the undone changes were lost. This
Bram Moolenaarea0cd362006-03-16 21:46:52 +0000348could lead to accidentally losing work.
Bram Moolenaar34e9e2f2006-03-14 23:07:19 +0000349
350Vim now makes an undo branch in this situation. Thus you can go back to the
351text after any change, even if they were undone. So long as you do not run
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000352into 'undolevels', when undo information is freed up to limit the memory used.
Bram Moolenaar34e9e2f2006-03-14 23:07:19 +0000353
354To be able to navigate the undo branches each change is numbered sequentially.
355The commands |g-| and |:earlier| go back in time, to older changes. The
Bram Moolenaarc9b4b052006-04-30 18:54:39 +0000356commands |g+| and |:later| go forward in time, to newer changes.
Bram Moolenaar34e9e2f2006-03-14 23:07:19 +0000357
358The changes are also timestamped. Use ":earlier 10m" to go to the text as it
359was about ten minutes earlier.
360
Bram Moolenaarea0cd362006-03-16 21:46:52 +0000361The |:undolist| command can be used to get an idea of which undo branches
362exist. The |:undo| command now takes an argument to directly jump to a
Bram Moolenaarca003e12006-03-17 23:19:38 +0000363specific position in this list. The |changenr()| function can be used to
364obtain the change number.
Bram Moolenaarea0cd362006-03-16 21:46:52 +0000365
Bram Moolenaar34e9e2f2006-03-14 23:07:19 +0000366There is no graphical display of the tree with changes, navigation can be
367quite confusing.
368
369
Bram Moolenaar362e1a32006-03-06 23:29:24 +0000370Extended Unicode support *new-more-unicode*
371------------------------
372
373Previously only two combining characters were displayed. The limit is now
374raised to 6. This can be set with the 'maxcombine' option. The default is
375still 2.
376
377|ga| now shows all combining characters, not just the first two.
378
379Previously only 16 bit Unicode characters were supported for displaying. Now
380the full 32 bit character set can be used. Unless manually disabled at
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000381compile time to save a bit of memory.
Bram Moolenaar362e1a32006-03-06 23:29:24 +0000382
383For pattern matching it is now possible to search for individual composing
384characters. |patterns-composing|
385
Bram Moolenaarca003e12006-03-17 23:19:38 +0000386The |8g8| command searches for an illegal UTF-8 byte sequence.
387
Bram Moolenaar362e1a32006-03-06 23:29:24 +0000388
Bram Moolenaar17be7e62006-03-12 22:13:45 +0000389More highlighting *new-more-highlighting*
390-----------------
391
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000392Highlighting matching parens:
Bram Moolenaar5e3cb7e2006-02-27 23:58:35 +0000393
394When moving the cursor through the text and it is on a paren, then the
395matching paren can be highlighted. This uses the new |CursorMoved|
396autocommand event.
397
Bram Moolenaarc1e37902006-04-18 21:55:01 +0000398This means some commands are executed every time you move the cursor. If this
399slows you down too much switch it off with: >
400 :NoMatchParen
401
Bram Moolenaar261bfea2006-03-01 22:12:31 +0000402See |matchparen| for more information.
403
404The plugin uses the |:match| command. It now supports three match patterns.
405The plugin uses the third one. The first one is for the user and the second
406one can be used by another plugin.
Bram Moolenaar5e3cb7e2006-02-27 23:58:35 +0000407
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000408Highlighting the cursor line and column:
Bram Moolenaar17be7e62006-03-12 22:13:45 +0000409
410The 'cursorline' and 'cursorcolumn' options have been added. These highlight
411the screen line and screen column of the cursor. This makes the cursor
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000412position easier to spot. 'cursorcolumn' is also useful to align text. This
413may make screen updating quite slow. The CursorColumn and CursorLine
414highlight groups allow changing the colors used. |hl-CursorColumn|
415|hl-CursorLine|
416
417The number of possible different highlight attributes was raised from about
418220 to over 30000. This allows for the attributes of spelling to be combined
419with syntax highlighting attributes. This is also used for syntax
420highlighting, marking the Visual area, CursorColumn, etc.
Bram Moolenaar17be7e62006-03-12 22:13:45 +0000421
Bram Moolenaar5e3cb7e2006-02-27 23:58:35 +0000422
Bram Moolenaar293ee4d2004-12-09 21:34:53 +0000423Translated manual pages *new-manpage-trans*
424-----------------------
425
426The manual page of Vim and associated programs is now also available in
Bram Moolenaar4ad237d2005-03-11 22:49:40 +0000427several other languages.
428
Bram Moolenaar13fcaaf2005-04-15 21:13:42 +0000429French - translated by David Blanchet
Bram Moolenaar4ad237d2005-03-11 22:49:40 +0000430Italian - translated by Antonio Colombo
431Russian - translated by Vassily Ragosin
Bram Moolenaar899dddf2006-03-26 21:06:50 +0000432Polish - translated by Mikolaj Machowski
Bram Moolenaar293ee4d2004-12-09 21:34:53 +0000433
Bram Moolenaar13fcaaf2005-04-15 21:13:42 +0000434The Unix Makefile installs the Italian manual pages in .../man/it/man1/,
435.../man/it.ISO8859-1/man1/ and .../man/it.UTF-8/man1/. There appears to be no
436standard for what encoding goes in the "it" directory, the 8-bit encoded file
437is used there as a best guess.
438Other languages are installed in similar places.
Bram Moolenaar67fe1a12005-05-22 22:12:58 +0000439The translated pages are not automatically installed when Vim was configured
440with "--disable-nls", but "make install-languages install-tool-languages" will
441do it anyway.
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +0000442
Bram Moolenaar293ee4d2004-12-09 21:34:53 +0000443
Bram Moolenaar8fc061c2004-12-29 21:03:02 +0000444Internal grep *new-vimgrep*
445-------------
446
447The ":vimgrep" command can be used to search for a pattern in a list of files.
448This is like the ":grep" command, but no external program is used. Besides
449better portability, handling of different file encodings and using multi-line
450patterns, this also allows grepping in compressed and remote files.
451|:vimgrep|.
452
Bram Moolenaar05159a02005-02-26 23:04:13 +0000453If you want to use the search results in a script you can use the
Bram Moolenaar2641f772005-03-25 21:58:17 +0000454|getqflist()| function.
Bram Moolenaar05159a02005-02-26 23:04:13 +0000455
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000456To grep files in various directories the "**" pattern can be used. It expands
457into an arbitrary depth of directories. "**" can be used in all places where
458file names are expanded, thus also with |:next| and |:args|.
Bram Moolenaar231334e2005-07-25 20:46:57 +0000459
Bram Moolenaar8fc061c2004-12-29 21:03:02 +0000460
Bram Moolenaar87e25fd2005-07-27 21:13:01 +0000461Scroll back in messages *new-scroll-back*
462-----------------------
463
464When displaying messages, at the |more-prompt| and the |hit-enter-prompt|, The
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000465'k', 'u', 'g' and 'b' keys can be used to scroll back to previous messages.
466This is especially useful for commands such as ":syntax", ":autocommand" and
Bram Moolenaar87e25fd2005-07-27 21:13:01 +0000467":highlight". This is implemented in a generic way thus it works for all
468commands and highlighting is kept. Only works when the 'more' option is set.
469Previously it only partly worked for ":clist".
470
Bram Moolenaar661b1822005-07-28 22:36:45 +0000471The |g<| command can be used to see the last page of messages after you have
472hit <Enter> at the |hit-enter-prompt|. Then you can scroll further back.
473
Bram Moolenaar87e25fd2005-07-27 21:13:01 +0000474
Bram Moolenaarea0cd362006-03-16 21:46:52 +0000475Cursor past end of the line *new-onemore*
476---------------------------
477
478When the 'virtualedit' option contains "onemore" the cursor can move just past
479the end of the line. As if it's on top of the line break.
480
481This makes some commands more consistent. Previously the cursor was always
482past the end of the line if the line was empty. But it is far from Vi
483compatible. It may also break some plugins or Vim scripts. Use with care!
484
485The patch was provided by Mattias Flodin.
486
487
Bram Moolenaar4399ef42005-02-12 14:29:27 +0000488POSIX compatibility *new-posix*
489-------------------
490
491The POSIX test suite was used to verify POSIX compatibility. A number of
492problems have been fixed to make Vim more POSIX compatible. Some of them
493conflict with traditional Vi or expected behavior. The $VIM_POSIX environment
494variable can be set to get POSIX compatibility. See |posix|.
495
Bram Moolenaarc81e5e72007-05-05 18:24:42 +0000496Items that were fixed for both Vi and POSIX compatibility:
Bram Moolenaar4399ef42005-02-12 14:29:27 +0000497- repeating "R" with a count only overwrites text once; added the 'X' flag to
498 'cpoptions' |cpo-X|
499- a vertical movement command that moves to a non-existing line fails; added
500 the '-' flag to 'cpoptions' |cpo--|
501- when preserving a file and doing ":q!" the file can be recovered; added the
502 '&' flag to 'cpoptions' |cpo-&|
503- The 'window' option is partly implemented. It specifies how much CTRL-F and
504 CTRL-B scroll when there is one window. The "-w {number}" argument is now
505 accepted. "-w {scriptout}" only works when {scriptout} doesn't start with a
506 digit.
507- Allow "-c{command}" argument, no space between "-c" and {command}.
508- When writing a file with ":w!" don't reset 'readonly' when 'Z' is present in
509 'cpoptions'.
Bram Moolenaar5313dcb2005-02-22 08:56:13 +0000510- Allow 'l' and '#' flags for ":list", ":print" and ":number".
511- Added the '.' flag to 'cpoptions': ":cd" fails when the buffer is modified.
512- In Ex mode with an empty buffer ":read file" doesn't keep an empty line
513 above or below the new lines.
514- Remove a backslash before a NL for the ":global" command.
515- When ":append", ":insert" or ":change" is used with ":global", get the
516 inserted lines from the command. Can use backslash-NL to separate lines.
517- Can use ":global /pat/ visual" to execute Normal mode commands at each
518 matched line. Use "Q" to continue and go to the next line.
519- The |:open| command has been partially implemented. It stops Ex mode, but
520 redraws the whole screen, not just one line as open mode is supposed to do.
521- Support using a pipe to read the output from and write input to an external
522 command. Added the 'shelltemp' option and has("filterpipe").
523- In ex silent mode the ":set" command output is displayed.
524- The ":@@" and ":**" give an error message when no register was used before.
525- The search pattern "[]-`]" matches ']', '^', '_' and '`'.
526- Autoindent for ":insert" is using the line below the insert.
527- Autoindent for ":change" is using the first changed line.
528- Editing Ex command lines is not done in cooked mode, because CTRL-D and
529 CTRL-T cannot be handled then.
Bram Moolenaar45eeb132005-06-06 21:59:07 +0000530- In Ex mode, "1,3" prints three lines. "%" prints all lines.
531- In Ex mode "undo" would undo all changes since Ex mode was started.
Bram Moolenaar5313dcb2005-02-22 08:56:13 +0000532- Implemented the 'prompt' option.
Bram Moolenaar4399ef42005-02-12 14:29:27 +0000533
534
Bram Moolenaare2ac10d2005-03-07 23:26:06 +0000535Debugger support *new-debug-support*
536----------------
537
538The 'balloonexpr' option has been added. This is a generic way to implement
539balloon functionality. You can use it to show info for the word under the
540mouse pointer.
541
542
Bram Moolenaar0be6e642005-08-04 21:32:22 +0000543Remote file explorer *new-netrw-explore*
544--------------------
545
546The netrw plugin now also supports viewing a directory, when "scp://" is used.
547Deleting and renaming files is possible.
548
549To avoid duplicating a lot of code, the previous file explorer plugin has been
550integrated in the netrw plugin. This means browsing local and remote files
551works the same way.
552
553":browse edit" and ":browse split" use the netrw plugin when it's available
554and a GUI dialog is not possible.
555
556The netrw plugin is maintained by Charles Campbell.
557
558
Bram Moolenaar900b4d72005-12-12 22:05:50 +0000559Define an operator *new-define-operator*
560------------------
561
562Previously it was not possible to define your own operator; a command that is
563followed by a {motion}. Vim 7 introduces the 'operatorfunc' option and the
564|g@| operator. This makes it possible to define a mapping that works like an
565operator. The actual work is then done by a function, which is invoked
566through the |g@| operator.
567
568See |:map-operator| for the explanation and an example.
569
Bram Moolenaar9f2c6e12006-02-04 22:45:44 +0000570
Bram Moolenaarade00832006-03-10 21:46:58 +0000571Mapping to an expression *new-map-expression*
572------------------------
573
574The {rhs} argument of a mapping can be an expression. That means the
575resulting characters can depend on the context. Example: >
576 :inoremap <expr> . InsertDot()
577Here the dot will be mapped to whatever InsertDot() returns.
578
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000579This also works for abbreviations. See |:map-<expr>| for the details.
Bram Moolenaarade00832006-03-10 21:46:58 +0000580
581
Bram Moolenaarb3656ed2006-03-20 21:59:49 +0000582Visual and Select mode mappings *new-map-select*
583-------------------------------
584
585Previously Visual mode mappings applied both to Visual and Select mode. With
586a trick to have the mappings work in Select mode like they would in Visual
587mode.
588
589Commands have been added to define mappings for Visual and Select mode
590separately: |:xmap| and |:smap|. With the associated "noremap" and "unmap"
591commands.
592
593The same is done for menus: |:xmenu|, |:smenu|, etc.
594
595
Bram Moolenaar17c7c012006-01-26 22:25:15 +0000596Location list *new-location-list*
597-------------
598
599The support for a per-window quickfix list (location list) is added. The
600location list can be displayed in a location window (similar to the quickfix
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000601window). You can open more than one location list window. A set of commands
Bram Moolenaar17c7c012006-01-26 22:25:15 +0000602similar to the quickfix commands are added to browse the location list.
Bram Moolenaar9f2c6e12006-02-04 22:45:44 +0000603(Yegappan Lakshmanan)
604
Bram Moolenaar900b4d72005-12-12 22:05:50 +0000605
Bram Moolenaar071d4272004-06-13 20:20:40 +0000606Various new items *new-items-7*
607-----------------
608
609Normal mode commands: ~
610
Bram Moolenaarcfbc5ee2004-07-02 15:38:35 +0000611a", a' and a` New text objects to select quoted strings. |a'|
Bram Moolenaarac6e65f2005-08-29 22:25:38 +0000612i", i' and i` (Taro Muraoka)
Bram Moolenaar071d4272004-06-13 20:20:40 +0000613
Bram Moolenaar05159a02005-02-26 23:04:13 +0000614CTRL-W <Enter> In the quickfix window: opens a new window to show the
615 location of the error under the cursor.
616
Bram Moolenaarff6f0612005-07-19 22:21:12 +0000617|at| and |it| text objects select a block of text between HTML or XML tags.
618
Bram Moolenaarbca84a12005-12-14 22:08:35 +0000619<A-LeftMouse> ('mousemodel' "popup" or "popup-setpos")
620<A-RightMouse> ('mousemodel' "extend")
621 Make a blockwise selection. |<A-LeftMouse>|
Bram Moolenaarff6f0612005-07-19 22:21:12 +0000622
Bram Moolenaard1f56e62006-02-22 21:25:37 +0000623gF Start editing the filename under the cursor and jump
624 to the line number following the file name.
625 (Yegappan Lakshmanan)
626
627CTRL-W F Start editing the filename under the cursor in a new
628 window and jump to the line number following the file
629 name. (Yegappan Lakshmanan)
630
Bram Moolenaar488c6512005-08-11 20:09:58 +0000631Insert mode commands: ~
632
633CTRL-\ CTRL-O Execute a Normal mode command. Like CTRL-O but
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000634 without moving the cursor. |i_CTRL-\_CTRL-O|
Bram Moolenaar488c6512005-08-11 20:09:58 +0000635
Bram Moolenaar071d4272004-06-13 20:20:40 +0000636Options: ~
637
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000638'balloonexpr' expression for text to show in evaluation balloon
639'completefunc' The name of the function used for user-specified
640 Insert mode completion. CTRL-X CTRL-U can be used in
641 Insert mode to do any kind of completion. (Taro
642 Muraoka)
643'completeopt' Enable popup menu and other settings for Insert mode
644 completion.
645'cursorcolumn' highlight column of the cursor
646'cursorline' highlight line of the cursor
Bram Moolenaar1d2ba7f2006-02-14 22:29:30 +0000647'formatexpr' expression for formatting text with |gq| and when text
648 goes over 'textwidth' in Insert mode.
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000649'formatlistpat' pattern to recognize a numbered list for formatting.
650 (idea by Hugo Haas)
651'fsync' Whether fsync() is called after writing a file.
652 (Ciaran McCreesh)
653'guitablabel' expression for text to display in GUI tab page label
654'guitabtooltip' expression for text to display in GUI tab page tooltip
655'macatsui' Mac: use ATSUI text display functions
656'maxcombine' maximum number of combining characters displayed
657'maxmempattern' maximum amount of memory to use for pattern matching
658'mkspellmem' parameters for |:mkspell| memory use
659'mzquantum' Time in msec to schedule MzScheme threads.
Bram Moolenaar64486672010-05-16 15:46:46 +0200660'numberwidth' Minimal width of the space used for the 'number' and
661 'relativenumber' option. (Emmanuel Renieris)
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000662'omnifunc' The name of the function used for omni completion.
663'operatorfunc' function to be called for |g@| operator
664'printmbcharset' CJK character set to be used for :hardcopy
665'printmbfont' font names to be used for CJK output of :hardcopy
666'pumheight' maximum number of items to show in the popup menu
667'quoteescape' Characters used to escape quotes inside a string.
668 Used for the a", a' and a` text objects. |a'|
669'shelltemp' whether to use a temp file or pipes for shell commands
670'showtabline' whether to show the tab pages line
Bram Moolenaar60c78922005-03-20 22:40:14 +0000671'spell' switch spell checking on/off
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000672'spellcapcheck' pattern to locate the end of a sentence
673'spellfile' file where good and wrong words are added
Bram Moolenaar60c78922005-03-20 22:40:14 +0000674'spelllang' languages to check spelling for
Bram Moolenaar42eeac32005-06-29 22:40:58 +0000675'spellsuggest' methods for spell suggestions
Bram Moolenaar3b56eb32005-07-11 22:40:32 +0000676'synmaxcol' maximum column to look for syntax items; avoids very
677 slow redrawing when there are very long lines
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000678'tabline' expression for text to display in the tab pages line
679'tabpagemax' maximum number of tab pages to open for |-p|
Bram Moolenaar54ee7752005-05-31 22:22:17 +0000680'verbosefile' Log messages in a file.
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000681'wildoptions' "tagfile" value enables listing the file name of
682 matching tags for CTRL-D command line completion.
683 (based on an idea from Yegappan Lakshmanan)
Bram Moolenaar97b2ad32006-03-18 21:40:56 +0000684'winfixwidth' window with fixed width, similar to 'winfixheight'
Bram Moolenaar86b68352004-12-27 21:59:20 +0000685
Bram Moolenaar071d4272004-06-13 20:20:40 +0000686
687Ex commands: ~
688
Bram Moolenaar843ee412004-06-30 16:16:41 +0000689Win32: The ":winpos" command now also works in the console. (Vipin Aravind)
690
Bram Moolenaar8299df92004-07-10 09:47:34 +0000691|:startreplace| Start Replace mode. (Charles Campbell)
Bram Moolenaarbca84a12005-12-14 22:08:35 +0000692|:startgreplace| Start Virtual Replace mode.
Bram Moolenaar325b7a22004-07-05 15:58:32 +0000693
Bram Moolenaar8299df92004-07-10 09:47:34 +0000694|:0file| Removes the name of the buffer. (Charles Campbell)
Bram Moolenaar325b7a22004-07-05 15:58:32 +0000695
Bram Moolenaar2df6dcc2004-07-12 15:53:54 +0000696|:diffoff| Switch off diff mode in the current window or in all
697 windows.
698
Bram Moolenaarc0197e22004-09-13 20:26:32 +0000699|:delmarks| Delete marks.
700
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +0000701|:exusage| Help for Ex commands (Nvi command).
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +0000702|:viusage| Help for Vi commands (Nvi command).
703
Bram Moolenaar67fe1a12005-05-22 22:12:58 +0000704|:sort| Sort lines in the buffer without depending on an
Bram Moolenaar4c3f5362006-04-11 21:38:50 +0000705 external command. (partly by Bryce Wagner)
Bram Moolenaar67fe1a12005-05-22 22:12:58 +0000706
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000707|:vimgrep| Internal grep command, search for a pattern in files.
708|:vimgrepadd| Like |:vimgrep| but don't make a new list.
709
Bram Moolenaar87e25fd2005-07-27 21:13:01 +0000710|:caddfile| Add error messages to an existing quickfix list
711 (Yegappan Lakshmanan).
Bram Moolenaardb552d602006-03-23 22:59:57 +0000712|:cbuffer| Read error lines from a buffer. (partly by Yegappan
713 Lakshmanan)
714|:cgetbuffer| Create a quickfix list from a buffer but don't jump to
715 the first error.
Bram Moolenaar9f2c6e12006-02-04 22:45:44 +0000716|:caddbuffer| Add errors from the current buffer to the quickfix
717 list.
Bram Moolenaardb552d602006-03-23 22:59:57 +0000718|:cexpr| Read error messages from a Vim expression (Yegappan
719 Lakshmanan).
720|:caddexpr| Add error messages from a Vim expression to an
721 existing quickfix list. (Yegappan Lakshmanan).
722|:cgetexpr| Create a quickfix list from a Vim expression, but
723 don't jump to the first error. (Yegappan Lakshmanan).
Bram Moolenaar4770d092006-01-12 23:22:24 +0000724
Bram Moolenaar8b6144b2006-02-08 09:20:24 +0000725|:lfile| Like |:cfile| but use the location list.
726|:lgetfile| Like |:cgetfile| but use the location list.
727|:laddfile| Like |:caddfile| but use the location list.
728|:lbuffer| Like |:cbuffer| but use the location list.
Bram Moolenaar76b92b22006-03-24 22:46:53 +0000729|:lgetbuffer| Like |:cgetbuffer| but use the location list.
Bram Moolenaar9f2c6e12006-02-04 22:45:44 +0000730|:laddbuffer| Like |:caddbuffer| but use the location list.
Bram Moolenaar8b6144b2006-02-08 09:20:24 +0000731|:lexpr| Like |:cexpr| but use the location list.
Bram Moolenaar76b92b22006-03-24 22:46:53 +0000732|:lgetexpr| Like |:cgetexpr| but use the location list.
Bram Moolenaar8b6144b2006-02-08 09:20:24 +0000733|:laddexpr| Like |:caddexpr| but use the location list.
734|:ll| Like |:cc| but use the location list.
735|:llist| Like |:clist| but use the location list.
736|:lnext| Like |:cnext| but use the location list.
Bram Moolenaarf52c7252006-02-10 23:23:57 +0000737|:lprevious| Like |:cprevious| but use the location list.
Bram Moolenaar8b6144b2006-02-08 09:20:24 +0000738|:lNext| Like |:cNext| but use the location list.
739|:lfirst| Like |:cfirst| but use the location list.
740|:lrewind| Like |:crewind| but use the location list.
741|:llast| Like |:clast| but use the location list.
742|:lnfile| Like |:cnfile| but use the location list.
743|:lpfile| Like |:cpfile| but use the location list.
744|:lNfile| Like |:cNfile| but use the location list.
745|:lolder| Like |:colder| but use the location list.
746|:lnewer| Like |:cnewer| but use the location list.
747|:lwindow| Like |:cwindow| but use the location list.
748|:lopen| Like |:copen| but use the location list.
749|:lclose| Like |:cclose| but use the location list.
Bram Moolenaarf52c7252006-02-10 23:23:57 +0000750|:lmake| Like |:make| but use the location list.
751|:lgrep| Like |:grep| but use the location list.
752|:lgrepadd| Like |:grepadd| but use the location list.
753|:lvimgrep| Like |:vimgrep| but use the location list.
754|:lvimgrepadd| Like |:vimgrepadd| but use the location list.
755|:lhelpgrep| Like |:helpgrep| but use the location list.
756|:lcscope| Like |:cscope| but use the location list.
757|:ltag| Jump to a tag and add matching tags to a location list.
Bram Moolenaar1ef15e32006-02-01 21:56:25 +0000758
Bram Moolenaare224ffa2006-03-01 00:01:28 +0000759|:undojoin| Join a change with the previous undo block.
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000760|:undolist| List the leafs of the undo tree.
Bram Moolenaare224ffa2006-03-01 00:01:28 +0000761
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000762|:earlier| Go back in time for changes in the text.
763|:later| Go forward in time for changes in the text.
764
765|:for| Loop over a |List|.
766|:endfor|
767
768|:lockvar| Lock a variable, prevents it from being changed.
769|:unlockvar| Unlock a locked variable.
770
771|:mkspell| Create a Vim spell file.
772|:spellgood| Add a word to the list of good words.
773|:spellwrong| Add a word to the list of bad words
774|:spelldump| Dump list of good words.
775|:spellinfo| Show information about the spell files used.
776|:spellrepall| Repeat a spelling correction for the whole buffer.
777|:spellundo| Remove a word from list of good and bad words.
778
779|:mzscheme| Execute MzScheme commands.
Bram Moolenaarc9b4b052006-04-30 18:54:39 +0000780|:mzfile| Execute an MzScheme script file.
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000781
782|:nbkey| Pass a key to NetBeans for processing.
783
784|:profile| Commands for Vim script profiling.
785|:profdel| Stop profiling for specified items.
786
787|:smap| Select mode mapping.
788|:smapclear|
789|:snoremap|
790|:sunmap|
791
792|:xmap| Visual mode mapping, not used for Select mode.
793|:xmapclear|
794|:xnoremap|
795|:xunmap|
796
797|:smenu| Select mode menu.
798|:snoremenu|
799|:sunmenu|
800
801|:xmenu| Visual mode menu, not used for Select mode.
802|:xnoremenu|
803|:xunmenu|
804
805|:tabclose| Close the current tab page.
806|:tabdo| Perform a command in every tab page.
807|:tabedit| Edit a file in a new tab page.
808|:tabnew| Open a new tab page.
809|:tabfind| Search for a file and open it in a new tab page.
810|:tabnext| Go to the next tab page.
811|:tabprevious| Go to the previous tab page.
812|:tabNext| Go to the previous tab page.
813|:tabfirst| Go to the first tab page.
814|:tabrewind| Go to the first tab page.
815|:tablast| Go to the last tab page.
816|:tabmove| Move the current tab page elsewhere.
817|:tabonly| Close all other tab pages.
818|:tabs| List the tab pages and the windows they contain.
Bram Moolenaarbca84a12005-12-14 22:08:35 +0000819
Bram Moolenaar63a121b2005-12-11 21:36:39 +0000820Ex command modifiers: ~
821
822|:keepalt| Do not change the alternate file.
823
824|:noautocmd| Do not trigger autocommand events.
825
826|:sandbox| Execute a command in the sandbox.
827
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000828|:tab| When opening a new window create a new tab page.
829
Bram Moolenaar67fe1a12005-05-22 22:12:58 +0000830
Bram Moolenaarb2c2efa2005-12-13 20:09:08 +0000831Ex command arguments: ~
832
833|++bad| Specify what happens with characters that can't be
834 converted and illegal bytes. (code example by Yasuhiro
835 Matsumoto)
836 Also, when a conversion error occurs or illegal bytes
837 are found include the line number in the error
838 message.
839
840
Bram Moolenaara5792f52005-11-23 21:25:05 +0000841New and extended functions: ~
Bram Moolenaar071d4272004-06-13 20:20:40 +0000842
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000843|add()| append an item to a List
844|append()| append List of lines to the buffer
Bram Moolenaare2f98b92006-03-29 21:18:24 +0000845|argv()| without an argument return the whole argument list
Bram Moolenaar87b774d2005-07-20 22:04:36 +0000846|browsedir()| dialog to select a directory
Bram Moolenaarbd404142006-03-25 22:05:04 +0000847|bufnr()| takes an extra argument: create buffer
Bram Moolenaarc9b4b052006-04-30 18:54:39 +0000848|byteidx()| index of a character (Ilya Sher)
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000849|call()| call a function with List as arguments
Bram Moolenaarbd404142006-03-25 22:05:04 +0000850|changenr()| number of current change
851|complete()| set matches for Insert mode completion
Bram Moolenaar572cb562005-08-05 21:35:02 +0000852|complete_add()| add match for 'completefunc'
853|complete_check()| check for key pressed, for 'completefunc'
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000854|copy()| make a shallow copy of a List or Dictionary
855|count()| count nr of times a value is in a List or Dictionary
Bram Moolenaar8fd89f02006-03-02 22:51:05 +0000856|cursor()| also accepts an offset for 'virtualedit', and
857 the first argument can be a list: [lnum, col, off]
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000858|deepcopy()| make a full copy of a List or Dictionary
Bram Moolenaarbd404142006-03-25 22:05:04 +0000859|diff_filler()| returns number of filler lines above line {lnum}.
860|diff_hlID()| returns the highlight ID for diff mode
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000861|empty()| check if List or Dictionary is empty
Bram Moolenaarbd404142006-03-25 22:05:04 +0000862|eval()| evaluate {string} and return the result
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000863|extend()| append one List to another or add items from one
864 Dictionary to another
Bram Moolenaarf9393ef2006-04-24 19:47:27 +0000865|feedkeys()| put characters in the typeahead buffer
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000866|filter()| remove selected items from a List or Dictionary
Bram Moolenaar87b774d2005-07-20 22:04:36 +0000867|finddir()| find a directory in 'path'
868|findfile()| find a file in 'path' (Johannes Zellner)
Bram Moolenaarc9b4b052006-04-30 18:54:39 +0000869|foldtextresult()| the text displayed for a closed fold at line "lnum"
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000870|function()| make a Funcref out of a function name
Bram Moolenaarbd404142006-03-25 22:05:04 +0000871|garbagecollect()| cleanup unused |Lists| and |Dictionaries| with circular
872 references
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000873|get()| get an item from a List or Dictionary
Bram Moolenaar342337a2005-07-21 21:11:17 +0000874|getbufline()| get a list of lines from a specified buffer
Bram Moolenaar87b774d2005-07-20 22:04:36 +0000875 (Yegappan Lakshmanan)
Bram Moolenaarbfd8fc02005-09-20 23:22:24 +0000876|getcmdtype()| return the current command-line type
877 (Yegappan Lakshmanan)
Bram Moolenaarc9b4b052006-04-30 18:54:39 +0000878|getfontname()| get actual font name being used
Bram Moolenaar87b774d2005-07-20 22:04:36 +0000879|getfperm()| get file permission string (Nikolai Weibull)
880|getftype()| get type of file (Nikolai Weibull)
881|getline()| with second argument: get List with buffer lines
Bram Moolenaarbd404142006-03-25 22:05:04 +0000882|getloclist()| list of location list items (Yegappan Lakshmanan)
Bram Moolenaar8fd89f02006-03-02 22:51:05 +0000883|getpos()| return a list with the position of cursor, mark, etc.
Bram Moolenaarbd404142006-03-25 22:05:04 +0000884|getqflist()| list of quickfix errors (Yegappan Lakshmanan)
885|getreg()| get contents of a register
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000886|gettabwinvar()| get variable from window in specified tab page.
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000887|has_key()| check whether a key appears in a Dictionary
Bram Moolenaarc81e5e72007-05-05 18:24:42 +0000888|haslocaldir()| check if current window used |:lcd|
Bram Moolenaarbd404142006-03-25 22:05:04 +0000889|hasmapto()| check for a mapping to a string
Bram Moolenaarbd404142006-03-25 22:05:04 +0000890|index()| index of item in List
891|inputlist()| prompt the user to make a selection from a list
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000892|insert()| insert an item somewhere in a List
Bram Moolenaarbd404142006-03-25 22:05:04 +0000893|islocked()| check if a variable is locked
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000894|items()| get List of Dictionary key-value pairs
895|join()| join List items into a String
896|keys()| get List of Dictionary keys
897|len()| number of items in a List or Dictionary
898|map()| change each List or Dictionary item
Bram Moolenaarbd404142006-03-25 22:05:04 +0000899|maparg()| extra argument: use abbreviation
900|mapcheck()| extra argument: use abbreviation
901|match()| extra argument: count
Bram Moolenaar910f66f2006-04-05 20:41:53 +0000902|matcharg()| return arguments of |:match| command
Bram Moolenaarbd404142006-03-25 22:05:04 +0000903|matchend()| extra argument: count
Bram Moolenaar2a8d1f82005-02-05 21:43:56 +0000904|matchlist()| list with match and submatches of a pattern in a string
Bram Moolenaarbd404142006-03-25 22:05:04 +0000905|matchstr()| extra argument: count
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000906|max()| maximum value in a List or Dictionary
907|min()| minimum value in a List or Dictionary
Bram Moolenaar5313dcb2005-02-22 08:56:13 +0000908|mkdir()| create a directory
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000909|pathshorten()| reduce directory names to a single character
Bram Moolenaar4be06f92005-07-29 22:36:03 +0000910|printf()| format text
Bram Moolenaarbd404142006-03-25 22:05:04 +0000911|pumvisible()| check whether the popup menu is displayed
912|range()| generate a List with numbers
Bram Moolenaar2a8d1f82005-02-05 21:43:56 +0000913|readfile()| read a file into a list of lines
Bram Moolenaare580b0c2006-03-21 21:33:03 +0000914|reltime()| get time value, possibly relative
915|reltimestr()| turn a time value into a string
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000916|remove()| remove one or more items from a List or Dictionary
Bram Moolenaarc9b4b052006-04-30 18:54:39 +0000917|repeat()| repeat "expr" "count" times (Christophe Poucet)
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000918|reverse()| reverse the order of a List
Bram Moolenaarbd404142006-03-25 22:05:04 +0000919|search()| extra argument:
Bram Moolenaarf75a9632005-09-13 21:20:47 +0000920|searchdecl()| search for declaration of variable
Bram Moolenaarbd404142006-03-25 22:05:04 +0000921|searchpair()| extra argument: line to stop searching
Bram Moolenaar1d2ba7f2006-02-14 22:29:30 +0000922|searchpairpos()| return a List with the position of the match
Bram Moolenaarc9b4b052006-04-30 18:54:39 +0000923|searchpos()| return a List with the position of the match
Bram Moolenaar17c7c012006-01-26 22:25:15 +0000924|setloclist()| modify a location list (Yegappan Lakshmanan)
Bram Moolenaarbd404142006-03-25 22:05:04 +0000925|setpos()| set cursor or mark to a position
Bram Moolenaar17c7c012006-01-26 22:25:15 +0000926|setqflist()| modify a quickfix list (Yegappan Lakshmanan)
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000927|settabwinvar()| set variable in window of specified tab page
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000928|sort()| sort a List
Bram Moolenaar42eeac32005-06-29 22:40:58 +0000929|soundfold()| get the sound-a-like equivalent of a word
Bram Moolenaar42eeac32005-06-29 22:40:58 +0000930|spellbadword()| get a badly spelled word
931|spellsuggest()| get suggestions for correct spelling
Bram Moolenaarbd404142006-03-25 22:05:04 +0000932|split()| split a String into a List
Bram Moolenaar97b2ad32006-03-18 21:40:56 +0000933|str2nr()| convert a string to a number, base 8, 10 or 16
Bram Moolenaarbd404142006-03-25 22:05:04 +0000934|stridx()| extra argument: start position
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000935|strridx()| extra argument: start position
Bram Moolenaar87b774d2005-07-20 22:04:36 +0000936|string()| string representation of a List or Dictionary
Bram Moolenaarbd404142006-03-25 22:05:04 +0000937|system()| extra argument: filters {input} through a shell command
938|tabpagebuflist()| List of buffers in a tab page
939|tabpagenr()| number of current or last tab page
940|tabpagewinnr()| window number in a tab page
941|tagfiles()| List with tags file names
Bram Moolenaar87b774d2005-07-20 22:04:36 +0000942|taglist()| get list of matching tags (Yegappan Lakshmanan)
943|tr()| translate characters (Ron Aaron)
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000944|values()| get List of Dictionary values
Bram Moolenaarbd404142006-03-25 22:05:04 +0000945|winnr()| takes an argument: what window to use
Bram Moolenaar768b8c42006-03-04 21:58:33 +0000946|winrestview()| restore the view of the current window
947|winsaveview()| save the view of the current window
Bram Moolenaar2a8d1f82005-02-05 21:43:56 +0000948|writefile()| write a list of lines into a file
Bram Moolenaar8299df92004-07-10 09:47:34 +0000949
Bram Moolenaarbee0c5b2005-02-07 22:03:36 +0000950User defined functions can now be loaded automatically from the "autoload"
951directory in 'runtimepath'. See |autoload-functions|.
952
Bram Moolenaar071d4272004-06-13 20:20:40 +0000953
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000954New Vim variables: ~
955
956|v:insertmode| used for |InsertEnter| and |InsertChange| autocommands
957|v:val| item value in a |map()| or |filter()| function
958|v:key| item key in a |map()| or |filter()| function
959|v:profiling| non-zero after a ":profile start" command
Bram Moolenaarc9b4b052006-04-30 18:54:39 +0000960|v:fcs_reason| the reason why |FileChangedShell| was triggered
961|v:fcs_choice| what should happen after |FileChangedShell|
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000962|v:beval_bufnr| buffer number for 'balloonexpr'
963|v:beval_winnr| window number for 'balloonexpr'
964|v:beval_lnum| line number for 'balloonexpr'
965|v:beval_col| column number for 'balloonexpr'
966|v:beval_text| text under the mouse pointer for 'balloonexpr'
967|v:scrollstart| what caused the screen to be scrolled up
968|v:swapname| name of the swap file for the |SwapExists| event
Bram Moolenaarc81e5e72007-05-05 18:24:42 +0000969|v:swapchoice| what to do for an existing swap file
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000970|v:swapcommand| command to be executed after handling |SwapExists|
971|v:char| argument for evaluating 'formatexpr'
972
973
Bram Moolenaar071d4272004-06-13 20:20:40 +0000974New autocommand events: ~
975
Bram Moolenaar8299df92004-07-10 09:47:34 +0000976|ColorScheme| after loading a color scheme
Bram Moolenaar1f35bf92006-03-07 22:38:47 +0000977
Bram Moolenaar3d0a6032006-02-09 23:54:54 +0000978|CursorHoldI| the user doesn't press a key for a while in Insert mode
979|CursorMoved| the cursor was moved in Normal mode
980|CursorMovedI| the cursor was moved in Insert mode
981
Bram Moolenaarbd404142006-03-25 22:05:04 +0000982|FileChangedShellPost| after handling a file changed outside of Vim
983
984|InsertEnter| starting Insert or Replace mode
985|InsertChange| going from Insert to Replace mode or back
986|InsertLeave| leaving Insert or Replace mode
987
988|MenuPopup| just before showing popup menu
989
990|QuickFixCmdPre| before :make, :grep et al. (Ciaran McCreesh)
991|QuickFixCmdPost| after :make, :grep et al. (Ciaran McCreesh)
992
993|SessionLoadPost| after loading a session file. (Yegappan Lakshmanan)
994
995|ShellCmdPost| after executing a shell command
996|ShellFilterPost| after filtering with a shell command
997
998|SourcePre| before sourcing a Vim script
999
1000|SpellFileMissing| when a spell file can't be found
1001
1002|SwapExists| found existing swap file when editing a file
1003
1004|TabEnter| just after entering a tab page
1005|TabLeave| just before leaving a tab page
1006
1007|VimResized| after the Vim window size changed (Yakov Lerner)
1008
Bram Moolenaarcfbc5ee2004-07-02 15:38:35 +00001009
Bram Moolenaar96351572006-05-05 21:16:59 +00001010New highlight groups: ~
1011
1012Pmenu Popup menu: normal item |hl-Pmenu|
1013PmenuSel Popup menu: selected item |hl-PmenuSel|
1014PmenuThumb Popup menu: scrollbar |hl-PmenuThumb|
1015PmenuSbar Popup menu: Thumb of the scrollbar |hl-PmenuSbar|
1016
1017TabLine tab pages line, inactive label |hl-TabLine|
1018TabLineSel tab pages line, selected label |hl-TabLineSel|
1019TabLineFill tab pages line, filler |hl-TabLineFill|
1020
1021SpellBad badly spelled word |hl-SpellBad|
1022SpellCap word with wrong caps |hl-SpellCap|
1023SpellRare rare word |hl-SpellRare|
1024SpellLocal word only exists in other region |hl-SpellLocal|
1025
1026CursorColumn 'cursorcolumn' |hl-CursorColumn|
1027CursorLine 'cursorline' |hl-CursorLine|
1028
1029MatchParen matching parens |pi_paren.txt| |hl-MatchParen|
1030
1031
Bram Moolenaarc0197e22004-09-13 20:26:32 +00001032New items in search patterns: ~
1033|/\%d| \%d123 search for character with decimal number
Bram Moolenaar49325942007-05-10 19:19:59 +00001034|/\]| [\d123] idem, in a collection
Bram Moolenaarc0197e22004-09-13 20:26:32 +00001035|/\%o| \%o103 search for character with octal number
Bram Moolenaar49325942007-05-10 19:19:59 +00001036|/\]| [\o1o3] idem, in a collection
Bram Moolenaarc0197e22004-09-13 20:26:32 +00001037|/\%x| \%x1a search for character with 2 pos. hex number
Bram Moolenaar49325942007-05-10 19:19:59 +00001038|/\]| [\x1a] idem, in a collection
Bram Moolenaarc0197e22004-09-13 20:26:32 +00001039|/\%u| \%u12ab search for character with 4 pos. hex number
Bram Moolenaar49325942007-05-10 19:19:59 +00001040|/\]| [\u12ab] idem, in a collection
Bram Moolenaarc0197e22004-09-13 20:26:32 +00001041|/\%U| \%U1234abcd search for character with 8 pos. hex number
Bram Moolenaar49325942007-05-10 19:19:59 +00001042|/\]| [\U1234abcd] idem, in a collection
Bram Moolenaarc0197e22004-09-13 20:26:32 +00001043 (The above partly by Ciaran McCreesh)
Bram Moolenaar33aec762006-01-22 23:30:12 +00001044
Bram Moolenaar13fcaaf2005-04-15 21:13:42 +00001045|/[[=| [[=a=]] an equivalence class (only for latin1 characters)
1046|/[[.| [[.a.]] a collation element (only works with single char)
Bram Moolenaar5313dcb2005-02-22 08:56:13 +00001047
Bram Moolenaar33aec762006-01-22 23:30:12 +00001048|/\%'m| \%'m match at mark m
1049|/\%<'m| \%<'m match before mark m
1050|/\%>'m| \%>'m match after mark m
1051|/\%V| \%V match in Visual area
1052
Bram Moolenaar5313dcb2005-02-22 08:56:13 +00001053Nesting |/multi| items no longer is an error when an empty match is possible.
1054
1055It is now possible to use \{0}, it matches the preceding atom zero times. Not
1056useful, just for compatibility.
Bram Moolenaarc0197e22004-09-13 20:26:32 +00001057
1058
Bram Moolenaarcfbc5ee2004-07-02 15:38:35 +00001059New Syntax/Indent/FTplugin files: ~
1060
Bram Moolenaarb982ca52005-03-28 21:02:15 +00001061Moved all the indent settings from the filetype plugin to the indent file.
1062Implemented b:undo_indent to undo indent settings when setting 'filetype' to a
1063different value.
1064
Bram Moolenaarbd404142006-03-25 22:05:04 +00001065a2ps syntax and ftplugin file. (Nikolai Weibull)
1066ABAB/4 syntax file. (Marius van Wyk)
1067alsaconf ftplugin file. (Nikolai Weibull)
1068AppendMatchGroup ftplugin file. (Dave Silvia)
1069arch ftplugin file. (Nikolai Weibull)
1070asterisk and asteriskvm syntax file. (Tilghman Lesher)
1071BDF ftplugin file. (Nikolai Weibull)
1072BibTeX indent file. (Dorai Sitaram)
Bram Moolenaar437df8f2006-04-27 21:47:44 +00001073BibTeX Bibliography Style syntax file. (Tim Pope)
Bram Moolenaarbd404142006-03-25 22:05:04 +00001074BTM ftplugin file. (Bram Moolenaar)
1075calendar ftplugin file. (Nikolai Weibull)
1076Changelog indent file. (Nikolai Weibull)
Bram Moolenaar57657d82006-04-21 22:12:41 +00001077ChordPro syntax file. (Niels Bo Andersen)
Bram Moolenaarc1e37902006-04-18 21:55:01 +00001078Cmake indent and syntax file. (Andy Cedilnik)
Bram Moolenaarbd404142006-03-25 22:05:04 +00001079conf ftplugin file. (Nikolai Weibull)
1080context syntax and ftplugin file. (Nikolai Weibull)
1081CRM114 ftplugin file. (Nikolai Weibull)
1082cvs RC ftplugin file. (Nikolai Weibull)
1083D indent file. (Jason Mills)
Bram Moolenaard2cec5b2006-03-28 21:08:56 +00001084Debian Sources.list syntax file. (Matthijs Mohlmann)
Bram Moolenaarbd404142006-03-25 22:05:04 +00001085dictconf and dictdconf syntax, indent and ftplugin files. (Nikolai Weibull)
1086diff ftplugin file. (Bram Moolenaar)
1087dircolors ftplugin file. (Nikolai Weibull)
1088django and htmldjango syntax file. (Dave Hodder)
Bram Moolenaar8cacf352006-04-15 20:27:24 +00001089doxygen syntax file. (Michael Geddes)
Bram Moolenaarbd404142006-03-25 22:05:04 +00001090elinks ftplugin file. (Nikolai Weibull)
1091eterm ftplugin file. (Nikolai Weibull)
1092eviews syntax file. (Vaidotas Zemlys)
1093fetchmail RC ftplugin file. (Nikolai Weibull)
Bram Moolenaar437df8f2006-04-27 21:47:44 +00001094FlexWiki syntax and ftplugin file. (George Reilly)
Bram Moolenaarbd404142006-03-25 22:05:04 +00001095Generic indent file. (Dave Silvia)
1096gpg ftplugin file. (Nikolai Weibull)
1097gretl syntax file. (Vaidotas Zemlys)
1098groovy syntax file. (Alessio Pace)
1099group syntax and ftplugin file. (Nikolai Weibull)
1100grub ftplugin file. (Nikolai Weibull)
1101Haskell ftplugin file. (Nikolai Weibull)
1102help ftplugin file. (Nikolai Weibull)
1103indent ftplugin file. (Nikolai Weibull)
1104Javascript ftplugin file. (Bram Moolenaar)
Bram Moolenaar4c3f5362006-04-11 21:38:50 +00001105Kconfig ftplugin and syntax file. (Nikolai Weibull)
Bram Moolenaarbd404142006-03-25 22:05:04 +00001106ld syntax, indent and ftplugin file. (Nikolai Weibull)
1107lftp ftplugin file. (Nikolai Weibull)
1108libao config ftplugin file. (Nikolai Weibull)
1109limits syntax and ftplugin file. (Nikolai Weibull)
1110Lisp indent file. (Sergey Khorev)
1111loginaccess and logindefs syntax and ftplugin file. (Nikolai Weibull)
1112m4 ftplugin file. (Nikolai Weibull)
Bram Moolenaar899dddf2006-03-26 21:06:50 +00001113mailaliases syntax file. (Nikolai Weibull)
Bram Moolenaarbd404142006-03-25 22:05:04 +00001114mailcap ftplugin file. (Nikolai Weibull)
1115manconf syntax and ftplugin file. (Nikolai Weibull)
1116matlab ftplugin file. (Jake Wasserman)
Bram Moolenaar779b74b2006-04-10 14:55:34 +00001117Maxima syntax file. (Robert Dodier)
Bram Moolenaar2a3f7ee2006-02-23 21:34:44 +00001118MGL syntax file. (Gero Kuhlmann)
Bram Moolenaarbd404142006-03-25 22:05:04 +00001119modconf ftplugin file. (Nikolai Weibull)
1120mplayer config ftplugin file. (Nikolai Weibull)
Bram Moolenaar437df8f2006-04-27 21:47:44 +00001121Mrxvtrc syntax and ftplugin file. (Gautam Iyer)
Bram Moolenaarbd404142006-03-25 22:05:04 +00001122MuPAD source syntax, indent and ftplugin. (Dave Silvia)
1123mutt RC ftplugin file. (Nikolai Weibull)
1124nanorc syntax and ftplugin file. (Nikolai Weibull)
1125netrc ftplugin file. (Nikolai Weibull)
1126pamconf syntax and ftplugin file. (Nikolai Weibull)
1127Pascal indent file. (Neil Carter)
1128passwd syntax and ftplugin file. (Nikolai Weibull)
1129PHP compiler plugin. (Doug Kearns)
1130pinfo ftplugin file. (Nikolai Weibull)
Bram Moolenaard2cec5b2006-03-28 21:08:56 +00001131plaintex syntax and ftplugin files. (Nikolai Weibull, Benji Fisher)
Bram Moolenaarbd404142006-03-25 22:05:04 +00001132procmail ftplugin file. (Nikolai Weibull)
1133prolog ftplugin file. (Nikolai Weibull)
1134protocols syntax and ftplugin file. (Nikolai Weibull)
1135quake ftplugin file. (Nikolai Weibull)
1136racc syntax and ftplugin file. (Nikolai Weibull)
Bram Moolenaarbd404142006-03-25 22:05:04 +00001137readline ftplugin file. (Nikolai Weibull)
1138rhelp syntax file. (Johannes Ranke)
Bram Moolenaarc1e37902006-04-18 21:55:01 +00001139rnoweb syntax file. (Johannes Ranke)
Bram Moolenaarbd404142006-03-25 22:05:04 +00001140Relax NG compact ftplugin file. (Nikolai Weibull)
1141Scheme indent file. (Sergey Khorev)
1142screen ftplugin file. (Nikolai Weibull)
1143sensors syntax and ftplugin file. (Nikolai Weibull)
1144services syntax and ftplugin file. (Nikolai Weibull)
1145setserial syntax and ftplugin file. (Nikolai Weibull)
1146sieve syntax and ftplugin file. (Nikolai Weibull)
Bram Moolenaar61660ea2006-04-07 21:40:07 +00001147SiSU syntax file (Ralph Amissah)
Bram Moolenaarbd404142006-03-25 22:05:04 +00001148Sive syntax file. (Nikolai Weibull)
1149slp config, reg and spi syntax and ftplugin files. (Nikolai Weibull)
1150SML indent file. (Saikat Guha)
1151SQL anywhere syntax and indent file. (David Fishburn)
1152SQL indent file.
1153SQL-Informix syntax file. (Dean L Hill)
1154SQL: Handling of various variants. (David Fishburn)
1155sshconfig ftplugin file. (Nikolai Weibull)
Bram Moolenaar8cacf352006-04-15 20:27:24 +00001156Stata and SMCL syntax files. (Jeff Pitblado)
Bram Moolenaarbd404142006-03-25 22:05:04 +00001157sudoers ftplugin file. (Nikolai Weibull)
1158sysctl syntax and ftplugin file. (Nikolai Weibull)
1159terminfo ftplugin file. (Nikolai Weibull)
1160trustees syntax file. (Nima Talebi)
Bram Moolenaarc1e37902006-04-18 21:55:01 +00001161Vera syntax file. (David Eggum)
Bram Moolenaarbd404142006-03-25 22:05:04 +00001162udev config, permissions and rules syntax and ftplugin files. (Nikolai Weibull)
1163updatedb syntax and ftplugin file. (Nikolai Weibull)
1164VHDL indent file (Gerald Lai)
1165WSML syntax file. (Thomas Haselwanter)
1166Xdefaults ftplugin file. (Nikolai Weibull)
1167XFree86 config ftplugin file. (Nikolai Weibull)
1168xinetd syntax, indent and ftplugin file. (Nikolai Weibull)
1169xmodmap ftplugin file. (Nikolai Weibull)
1170Xquery syntax file. (Jean-Marc Vanel)
1171xsd (XML schema) indent file.
1172YAML ftplugin file. (Nikolai Weibull)
1173Zsh ftplugin file. (Nikolai Weibull)
1174
Bram Moolenaar261bfea2006-03-01 22:12:31 +00001175
Bram Moolenaar47136d72004-10-12 20:02:24 +00001176New Keymaps: ~
1177
1178Sinhala (Sri Lanka) (Harshula Jayasuriya)
Bram Moolenaar238a5642006-02-21 22:12:05 +00001179Tamil in TSCII encoding (Yegappan Lakshmanan)
Bram Moolenaarbd404142006-03-25 22:05:04 +00001180Greek in cp737 (Panagiotis Louridas)
1181Polish-slash (HS6_06)
1182Ukrainian-jcuken (Anatoli Sakhnik)
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00001183Kana (Edward L. Fox)
Bram Moolenaar238a5642006-02-21 22:12:05 +00001184
Bram Moolenaar47136d72004-10-12 20:02:24 +00001185
Bram Moolenaar15d0a8c2004-09-06 17:44:46 +00001186New message translations: ~
1187
Bram Moolenaar8c8de832008-06-24 22:58:06 +00001188The Ukrainian messages are now also available in cp1251.
Bram Moolenaar05159a02005-02-26 23:04:13 +00001189Vietnamese message translations and menu. (Phan Vinh Thinh)
1190
Bram Moolenaar071d4272004-06-13 20:20:40 +00001191
Bram Moolenaarf4b8e572004-06-24 15:53:16 +00001192Others: ~
1193
Bram Moolenaar910f66f2006-04-05 20:41:53 +00001194The |:read| command has the |++edit| argument. This means it will use the
1195detected 'fileformat', 'fileencoding' and other options for the buffer. This
1196also fixes the problem that editing a compressed file didn't set these
1197options.
1198
Bram Moolenaar1f35bf92006-03-07 22:38:47 +00001199The Netbeans interface was updated for Sun Studio 10. The protocol number
1200goes from 2.2 to 2.3. (Gordon Prieur)
1201
Bram Moolenaar1056d982006-03-09 22:37:52 +00001202Mac: When starting up Vim will load the $VIMRUNTIME/macmap.vim script to
Bram Moolenaar34e9e2f2006-03-14 23:07:19 +00001203define default command-key mappings. (mostly by Benji Fisher)
Bram Moolenaar1056d982006-03-09 22:37:52 +00001204
Bram Moolenaarf4b8e572004-06-24 15:53:16 +00001205Mac: Add the selection type to the clipboard, so that Block, line and
1206character selections can be used between two Vims. (Eckehard Berns)
1207Also fixes the problem that setting 'clipboard' to "unnamed" breaks using
1208"yyp".
Bram Moolenaar071d4272004-06-13 20:20:40 +00001209
Bram Moolenaara5792f52005-11-23 21:25:05 +00001210Mac: GUI font selector. (Peter Cucka)
Bram Moolenaar592e0a22004-07-03 16:05:59 +00001211
Bram Moolenaar5313dcb2005-02-22 08:56:13 +00001212Mac: support for multi-byte characters. (Da Woon Jung)
Bram Moolenaarf9393ef2006-04-24 19:47:27 +00001213This doesn't always work properly. If you see text drawing problems try
1214switching the 'macatsui' option off.
Bram Moolenaar5313dcb2005-02-22 08:56:13 +00001215
Bram Moolenaar900b4d72005-12-12 22:05:50 +00001216Mac: Support the xterm mouse in the non-GUI version.
Bram Moolenaar567e4de2004-12-31 21:01:02 +00001217
Bram Moolenaar46c9c732004-12-12 11:37:09 +00001218Mac: better integration with Xcode. Post a fake mouse-up event after the odoc
1219event and the drag receive handler to work around a stall after Vim loads a
1220file. Fixed an off-by-one line number error. (Da Woon Jung)
1221
Bram Moolenaard2cec5b2006-03-28 21:08:56 +00001222Mac: When started from Finder change directory to the file being edited or the
1223user home directory.
1224
Bram Moolenaar293ee4d2004-12-09 21:34:53 +00001225Added the t_SI and t_EI escape sequences for starting and ending Insert mode.
Bram Moolenaarc93b83a2006-04-29 22:02:36 +00001226To be used to set the cursor shape to a bar or a block. No default values,
1227they are not supported by termcap/terminfo.
1228
Bram Moolenaar900b4d72005-12-12 22:05:50 +00001229GUI font selector for Motif. (Marcin Dalecki)
1230
1231Nicer toolbar buttons for Motif. (Marcin Dalecki)
1232
1233Mnemonics for the Motif find/replace dialog. (Marcin Dalecki)
1234
Bram Moolenaarc93b83a2006-04-29 22:02:36 +00001235Included a few improvements for Motif from Marcin Dalecki. Draw label
1236contents ourselves to make them handle fonts in a way configurable by Vim and
1237a bit less dependent on the X11 font management.
Bram Moolenaar293ee4d2004-12-09 21:34:53 +00001238
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001239Autocommands can be defined local to a buffer. This means they will also work
1240when the buffer does not have a name or no specific name. See
1241|autocmd-buflocal|. (Yakov Lerner)
1242
Bram Moolenaar19a09a12005-03-04 23:39:37 +00001243For xterm most combinations of modifiers with function keys are recognized.
1244|xterm-modifier-keys|
1245
Bram Moolenaarae5bce12005-08-15 21:41:48 +00001246When 'verbose' is set the output of ":highlight" will show where a highlight
1247item was last set.
Bram Moolenaare344bea2005-09-01 20:46:49 +00001248When 'verbose' is set the output of the ":map", ":abbreviate", ":command",
1249":function" and ":autocmd" commands will show where it was last defined.
1250(Yegappan Lakshmanan)
Bram Moolenaarae5bce12005-08-15 21:41:48 +00001251
Bram Moolenaardd2436f2005-09-05 22:14:46 +00001252":function /pattern" lists functions matching the pattern.
1253
Bram Moolenaarf75a9632005-09-13 21:20:47 +00001254"1gd" can be used like "gd" but ignores matches in a {} block that ends before
1255the cursor position. Likewise for "1gD" and "gD".
1256
Bram Moolenaar4463f292005-09-25 22:20:24 +00001257'scrolljump' can be set to a negative number to scroll a percentage of the
1258window height.
1259
Bram Moolenaar06b5d512010-05-22 15:37:44 +02001260The |v:scrollstart| variable has been added to help find the location in
Bram Moolenaar07d4d732005-10-03 22:04:08 +00001261your script that causes the hit-enter prompt.
1262
Bram Moolenaar63a121b2005-12-11 21:36:39 +00001263To make it possible to handle the situation that a file is being edited that
1264is already being edited by another Vim instance, the |SwapExists| event has
1265been added. The |v:swapname|, |v:swapchoice| and |v:swapcommand| variables
1266can be used, for example to use the |client-server| functionality to bring the
1267other Vim to the foreground.
Bram Moolenaar146522e2005-12-16 21:55:46 +00001268When starting Vim with a "-t tag" argument, there is an existing swapfile and
1269the user selects "quit" or "abort" then exit Vim.
Bram Moolenaar63a121b2005-12-11 21:36:39 +00001270
Bram Moolenaareddf53b2006-02-27 00:11:10 +00001271Undo now also restores the '< and '> marks. "gv" selects the same area as
1272before the change and undo.
1273
Bram Moolenaarea0cd362006-03-16 21:46:52 +00001274When editing a search pattern for a "/" or "?" command and 'incsearch' is set
1275CTRL-L can be used to add a character from the current match. CTRL-R CTRL-W
1276will add a word, but exclude the part of the word that was already typed.
1277
Bram Moolenaar97b2ad32006-03-18 21:40:56 +00001278Ruby interface: add line number methods. (Ryan Paul)
1279
Bram Moolenaar910f66f2006-04-05 20:41:53 +00001280The $MYVIMRC environment variable is set to the first found vimrc file.
1281The $MYGVIMRC environment variable is set to the first found gvimrc file.
1282
Bram Moolenaar071d4272004-06-13 20:20:40 +00001283==============================================================================
1284IMPROVEMENTS *improvements-7*
1285
Bram Moolenaarf4b8e572004-06-24 15:53:16 +00001286":helpgrep" accepts a language specifier after the pattern: "pat@it".
1287
Bram Moolenaarc93b83a2006-04-29 22:02:36 +00001288Moved the help for printing to a separate help file. It's quite a lot now.
Bram Moolenaar8299df92004-07-10 09:47:34 +00001289
Bram Moolenaar1f35bf92006-03-07 22:38:47 +00001290When doing completion for ":!cmd", ":r !cmd" or ":w !cmd" executable files are
Bram Moolenaar551dbcc2006-04-25 22:13:59 +00001291found in $PATH instead of looking for ordinary files in the current directory.
Bram Moolenaar1f35bf92006-03-07 22:38:47 +00001292
Bram Moolenaara5792f52005-11-23 21:25:05 +00001293When ":silent" is used and a backwards range is given for an Ex command the
1294range is swapped automatically instead of asking if that is OK.
1295
Bram Moolenaar8bf59b92005-03-06 23:40:56 +00001296The pattern matching code was changed from a recursive function to an
1297iterative mechanism. This avoids out-of-stack errors. State is stored in
1298allocated memory, running out of memory can always be detected. Allows
1299matching more complex things, but Vim may seem to hang while doing that.
1300
Bram Moolenaarb71eaae2006-01-20 23:10:18 +00001301Previously some options were always evaluated in the |sandbox|. Now that only
1302happens when the option was set from a modeline or in secure mode. Applies to
1303'balloonexpr', 'foldexpr', 'foldtext' and 'includeexpr'. (Sumner Hayes)
1304
1305Some commands and expressions could have nasty side effects, such as using
1306CTRL-R = while editing a search pattern and the expression invokes a function
1307that jumps to another window. The |textlock| has been added to prevent this
1308from happening.
1309
Bram Moolenaarf4b8e572004-06-24 15:53:16 +00001310":breakadd here" and ":breakdel here" can be used to set or delete a
1311breakpoint at the cursor.
1312
Bram Moolenaar997fb4b2006-02-17 21:53:23 +00001313It is now possible to define a function with: >
1314 :exe "func Test()\n ...\n endfunc"
1315
Bram Moolenaarc93b83a2006-04-29 22:02:36 +00001316The tutor was updated to make it simpler to use and text was added to explain
1317a few more important commands. Used ideas from Gabriel Zachmann.
Bram Moolenaar071d4272004-06-13 20:20:40 +00001318
Bram Moolenaarcfbc5ee2004-07-02 15:38:35 +00001319Unix: When libcall() fails obtain an error message with dlerror() and display
1320it. (Johannes Zellner)
1321
Bram Moolenaarcc016f52005-12-10 20:23:46 +00001322Mac and Cygwin: When editing an existing file make the file name the same case
1323of the edited file. Thus when typing ":e os_UNIX.c" the file name becomes
1324"os_unix.c".
1325
Bram Moolenaar592e0a22004-07-03 16:05:59 +00001326Added "nbsp" in 'listchars'. (David Blanchet)
1327
Bram Moolenaar21cf8232004-07-16 20:18:37 +00001328Added the "acwrite" value for the 'buftype' option. This is for a buffer that
Bram Moolenaara5792f52005-11-23 21:25:05 +00001329does not have a name that refers to a file and is written with BufWriteCmd
Bram Moolenaar21cf8232004-07-16 20:18:37 +00001330autocommands.
1331
Bram Moolenaar325b7a22004-07-05 15:58:32 +00001332For lisp indenting and matching parenthesis: (Sergey Khorev)
1333- square brackets are recognized properly
1334- #\(, #\), #\[ and #\] are recognized as character literals
1335- Lisp line comments (delimited by semicolon) are recognized
1336
Bram Moolenaar89cb5e02004-07-19 20:55:54 +00001337Added the "count" argument to match(), matchend() and matchstr(). (Ilya Sher)
1338
Bram Moolenaarc93b83a2006-04-29 22:02:36 +00001339winnr() takes an optional "$" or "#" argument. (Nikolai Weibull, Yegappan
Bram Moolenaar5eb86f92004-07-26 12:53:41 +00001340Lakshmanan)
1341
Bram Moolenaar768b8c42006-03-04 21:58:33 +00001342Added 's' flag to search(): set ' mark if cursor moved. (Yegappan Lakshmanan)
Bram Moolenaar5eb86f92004-07-26 12:53:41 +00001343Added 'n' flag to search(): don't move the cursor. (Nikolai Weibull)
Bram Moolenaar768b8c42006-03-04 21:58:33 +00001344Added 'c' flag to search(): accept match at the cursor.
1345Added 'e' flag to search(): move to end of the match. (Benji Fisher)
1346Added 'p' flag to search(): return number of sub-pattern. (Benji Fisher)
1347These also apply to searchpos(), searchpair() and searchpairpos().
Bram Moolenaarc93b83a2006-04-29 22:02:36 +00001348
Bram Moolenaar768b8c42006-03-04 21:58:33 +00001349The search() and searchpair() functions have an extra argument to specify
1350where to stop searching. Speeds up searches that should not continue too far.
Bram Moolenaar5eb86f92004-07-26 12:53:41 +00001351
Bram Moolenaard4755bb2004-09-02 19:12:26 +00001352When uncompressing fails in the gzip plugin, give an error message but don't
1353delete the raw text. Helps if the file has a .gz extension but is not
1354actually compressed. (Andrew Pimlott)
1355
1356When C, C++ or IDL syntax is used, may additionally load doxygen syntax.
Bram Moolenaard4755bb2004-09-02 19:12:26 +00001357(Michael Geddes)
1358
Bram Moolenaar97b2ad32006-03-18 21:40:56 +00001359Support setting 'filetype' and 'syntax' to "aaa.bbb" for "aaa" plus "bbb"
1360filetype or syntax.
1361
Bram Moolenaard4755bb2004-09-02 19:12:26 +00001362The ":registers" command now displays multi-byte characters properly.
1363
1364VMS: In the usage message mention that a slash can be used to make a flag
1365upper case. Add color support to the builtin vt320 terminal codes.
1366(Zoltan Arpadffy)
1367
Bram Moolenaar15d0a8c2004-09-06 17:44:46 +00001368For the '%' item in 'viminfo', allow a number to set a maximum for the number
1369of buffers.
1370
Bram Moolenaarc93b83a2006-04-29 22:02:36 +00001371For recognizing the file type: When a file looks like a shell script, check
1372for an "exec" command that starts the tcl interpreter. (suggested by Alexios
1373Zavras)
Bram Moolenaar3fdfa4a2004-10-07 21:02:47 +00001374
1375Support conversion between utf-8 and latin9 (iso-8859-15) internally, so that
1376digraphs still work when iconv is not available.
1377
Bram Moolenaar293ee4d2004-12-09 21:34:53 +00001378When a session file is loaded while editing an unnamed, empty buffer that
1379buffer is wiped out. Avoids that there is an unused buffer in the buffer
1380list.
1381
1382Win32: When libintl.dll supports bind_textdomain_codeset(), use it.
1383(NAKADAIRA Yukihiro)
1384
Bram Moolenaare224ffa2006-03-01 00:01:28 +00001385Win32: Vim was not aware of hard links on NTFS file systems. These are
1386detected now for when 'backupcopy' is "auto". Also fixed a bogus "file has
1387been changed since reading it" error for links.
1388
Bram Moolenaar293ee4d2004-12-09 21:34:53 +00001389When foldtext() finds no text after removing the comment leader, use the
1390second line of the fold. Helps for C-style /* */ comments where the first
1391line is just "/*".
1392
Bram Moolenaar1cd871b2004-12-19 22:46:22 +00001393When editing the same file from two systems (e.g., Unix and MS-Windows) there
1394mostly was no warning for an existing swap file, because the name of the
1395edited file differs (e.g., y:\dir\file vs /home/me/dir/file). Added a flag to
1396the swap file to indicate it is in the same directory as the edited file. The
1397used path then doesn't matter and the check for editing the same file is much
1398more reliable.
1399
Bram Moolenaar900b4d72005-12-12 22:05:50 +00001400Unix: When editing a file through a symlink the swap file would use the name
1401of the symlink. Now use the name of the actual file, so that editing the same
1402file twice is detected. (suggestions by Stefano Zacchiroli and James Vega)
1403
Bram Moolenaar1cd871b2004-12-19 22:46:22 +00001404Client-server communication now supports 'encoding'. When setting 'encoding'
1405in a Vim server to "utf-8", and using "vim --remote fname" in a console,
1406"fname" is converted from the console encoding to utf-8. Also allows Vims
1407with different 'encoding' settings to exchange messages.
1408
Bram Moolenaar86b68352004-12-27 21:59:20 +00001409Internal: Changed ga_room into ga_maxlen, so that it doesn't need to be
1410incremented/decremented each time.
1411
Bram Moolenaar49cd9572005-01-03 21:06:01 +00001412When a register is empty it is not stored in the viminfo file.
1413
Bram Moolenaar8c711452005-01-14 21:53:12 +00001414Removed the tcltags script, it's obsolete.
1415
Bram Moolenaar67fe1a12005-05-22 22:12:58 +00001416":redir @*>>" and ":redir @+>>" append to the clipboard. Better check for
Bram Moolenaar5313dcb2005-02-22 08:56:13 +00001417invalid characters after the register name. |:redir|
1418
1419":redir => variable" and ":redir =>> variable" write or append to a variable.
1420(Yegappan Lakshmanan) |:redir|
Bram Moolenaardcaf10e2005-01-21 11:55:25 +00001421
Bram Moolenaar231334e2005-07-25 20:46:57 +00001422":redir @{a-z}>>" appends to register a to z. (Yegappan Lakshmanan)
Bram Moolenaar67fe1a12005-05-22 22:12:58 +00001423
Bram Moolenaar54ee7752005-05-31 22:22:17 +00001424The 'verbosefile' option can be used to log messages in a file. Verbose
1425messages are not displayed then. The "-V{filename}" argument can be used to
1426log startup messages.
1427
Bram Moolenaardcaf10e2005-01-21 11:55:25 +00001428":let g:" lists global variables.
1429":let b:" lists buffer-local variables.
1430":let w:" lists window-local variables.
1431":let v:" lists Vim variables.
1432
Bram Moolenaard438e912005-01-31 19:21:46 +00001433The stridx() and strridx() functions take a third argument, where to start
1434searching. (Yegappan Lakshmanan)
Bram Moolenaarb71ec9f2005-01-25 22:22:02 +00001435
Bram Moolenaar67fe1a12005-05-22 22:12:58 +00001436The getreg() function takes an extra argument to be able to get the expression
1437for the '=' register instead of the result of evaluating it.
1438
1439The setline() function can take a List argument to set multiple lines. When
1440the line number is just below the last line the line is appended.
1441
Bram Moolenaarbee0c5b2005-02-07 22:03:36 +00001442g CTRL-G also shows the number of characters if it differs from the number of
1443bytes.
1444
Bram Moolenaar5313dcb2005-02-22 08:56:13 +00001445Completion for ":debug" and entering an expression for the '=' register. Skip
1446":" between range and command name. (Peter winters)
1447
1448CTRL-Q in Insert mode now works like CTRL-V by default. Previously it was
1449ignored.
1450
1451When "beep" is included in 'debug' a function or script that causes a beep
1452will result in a message with the source of the error.
1453
Bram Moolenaar05159a02005-02-26 23:04:13 +00001454When completing buffer names, match with "\(^\|[\/]\)" instead of "^", so that
1455":buf stor<Tab>" finds both "include/storage.h" and "storage/main.c".
1456
1457To count items (pattern matches) without changing the buffer the 'n' flag has
1458been added to |:substitute|. See |count-items|.
1459
Bram Moolenaarea0cd362006-03-16 21:46:52 +00001460In a |:substitute| command the \u, \U, \l and \L items now also work for
1461multi-byte characters.
1462
Bram Moolenaar038eb0e2005-02-27 22:43:26 +00001463The "screen.linux" $TERM name is recognized to set the default for
Bram Moolenaar482aaeb2005-09-29 18:26:07 +00001464'background' to "dark". (Ciaran McCreesh) Also for "cygwin" and "putty".
Bram Moolenaar19a09a12005-03-04 23:39:37 +00001465
1466The |FileChangedShell| autocommand event can now use the |v:fcs_reason|
1467variable that specifies what triggered the event. |v:fcs_choice| can be used
1468to reload the buffer or ask the user what to do.
Bram Moolenaar038eb0e2005-02-27 22:43:26 +00001469
Bram Moolenaar8bf59b92005-03-06 23:40:56 +00001470Not all modifiers were recognized for xterm function keys. Added the
1471possibility in term codes to end in ";*X" or "O*X", where X is any character
1472and the * stands for the modifier code.
1473Added the <xUp>, <xDown>, <xLeft> and <xRight> keys, to be able to recognize
1474the two forms that xterm can send their codes in and still handle all possible
1475modifiers.
1476
Bram Moolenaarc0761132005-03-18 20:30:32 +00001477getwinvar() now also works to obtain a buffer-local option from the specified
1478window.
1479
Bram Moolenaarb982ca52005-03-28 21:02:15 +00001480Added the "%s" item to 'errorformat'. (Yegappan Lakshmanan)
Bram Moolenaarb3656ed2006-03-20 21:59:49 +00001481Added the "%>" item to 'errorformat'.
1482
1483For 'errorformat' it was not possible to have a file name that contains the
1484character that follows after "%f". For example, in "%f:%l:%m" the file name
1485could not contain ":". Now include the first ":" where the rest of the
1486pattern matches. In the example a ":" not followed by a line number is
1487included in the file name. (suggested by Emanuele Giaquinta)
Bram Moolenaarb982ca52005-03-28 21:02:15 +00001488
Bram Moolenaar34cdc3e2005-05-18 22:24:46 +00001489GTK GUI: use the GTK file dialog when it's available. Mix from patches by
1490Grahame Bowland and Evan Webb.
1491
Bram Moolenaar9ba0eb82005-06-13 22:28:56 +00001492Added ":scriptnames" to bugreport.vim, so that we can see what plugins were
1493used.
1494
Bram Moolenaar520470a2005-06-16 21:59:56 +00001495Win32: If the user changes the setting for the number of lines a scroll wheel
1496click scrolls it is now used immediately. Previously Vim would need to be
1497restarted.
1498
Bram Moolenaarb2ec3072005-06-17 22:02:20 +00001499When using @= in an expression the value is expression @= contains. ":let @=
1500= value" can be used to set the register contents.
1501
Bram Moolenaar51bab742005-07-08 22:31:03 +00001502A ! can be added to ":popup" to have the popup menu appear at the mouse
1503pointer position instead of the text cursor.
1504
Bram Moolenaard8e9bb22005-07-09 21:14:46 +00001505The table with encodings has been expanded with many MS-Windows codepages,
1506such as cp1250 and cp737, so that these can also be used on Unix without
1507prepending "8bit-".
Bram Moolenaarae5bce12005-08-15 21:41:48 +00001508When an encoding name starts with "microsoft-cp" ignore the "microsoft-" part.
Bram Moolenaard8e9bb22005-07-09 21:14:46 +00001509
1510Added the "customlist" completion argument to a user-defined command. The
1511user-defined completion function should return the completion candidates as a
Bram Moolenaar231334e2005-07-25 20:46:57 +00001512Vim List and the returned results are not filtered by Vim. (Yegappan
1513Lakshmanan)
Bram Moolenaard8e9bb22005-07-09 21:14:46 +00001514
Bram Moolenaar342337a2005-07-21 21:11:17 +00001515Win32: Balloons can have multiple lines if common controls supports it.
1516(Sergey Khorev)
1517
Bram Moolenaar90cfdbe2005-08-12 19:59:19 +00001518For command-line completion the matches for various types of arguments are now
1519sorted: user commands, variables, syntax names, etc.
1520
Bram Moolenaara2036d22005-08-23 21:04:20 +00001521When no locale is set, thus using the "C" locale, Vim will work with latin1
Bram Moolenaara5792f52005-11-23 21:25:05 +00001522characters, using its own isupper()/toupper()/etc. functions.
Bram Moolenaara2036d22005-08-23 21:04:20 +00001523
Bram Moolenaarac6e65f2005-08-29 22:25:38 +00001524When using an rxvt terminal emulator guess the value of 'background' using the
1525COLORFGBG environment variable. (Ciaran McCreesh)
1526
1527Also support t_SI and t_EI on Unix with normal features. (Ciaran McCreesh)
1528
Bram Moolenaardcca87b2005-09-10 19:24:59 +00001529When 'foldcolumn' is one then put as much info in it as possible. This allows
1530closing a fold with the mouse by clicking on the '-'.
1531
Bram Moolenaarbfd8fc02005-09-20 23:22:24 +00001532input() takes an optional completion argument to specify the type of
1533completion supported for the input. (Yegappan Lakshmanan)
1534
Bram Moolenaar4463f292005-09-25 22:20:24 +00001535"dp" works with more than two buffers in diff mode if there is only one where
1536'modifiable' is set.
1537
Bram Moolenaar27dc1952006-03-15 23:06:44 +00001538The 'diffopt' option has three new values: "horizontal", "vertical" and
1539"foldcolumn".
1540
Bram Moolenaar69e0ff92005-09-30 21:23:56 +00001541When the 'include' option contains \zs the file name found is what is being
1542matched from \zs to the end or \ze. Useful to pass more to 'includeexpr'.
1543
Bram Moolenaar07d4d732005-10-03 22:04:08 +00001544Loading plugins on startup now supports subdirectories in the plugin
1545directory. |load-plugins|
1546
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00001547In the foldcolumn always show the '+' for a closed fold, so that it can be
1548opened easily. It may overwrite another character, esp. if 'foldcolumn' is 1.
1549
1550It is now possible to get the W10 message again by setting 'readonly'. Useful
1551in the FileChangedRO autocommand when checking out the file fails.
1552
Bram Moolenaar784c6142005-10-11 20:34:58 +00001553Unix: When open() returns EFBIG give an appropriate message.
1554
Bram Moolenaar241a8aa2005-12-06 20:04:44 +00001555":mksession" sets the SessionLoad variable to notify plugins. A modeline is
1556added to the session file to set 'filetype' to "vim".
1557
Bram Moolenaard5bc83f2005-12-07 21:07:59 +00001558In the ATTENTION prompt put the "Delete it" choice before "Quit" to make it
1559more logical. (Robert Webb)
1560
Bram Moolenaar63a121b2005-12-11 21:36:39 +00001561When appending to a file while the buffer has no name the name of the appended
1562file would be used for the current buffer. But the buffer contents is
1563actually different from the file content. Don't set the file name, unless the
1564'P' flag is present in 'cpoptions'.
1565
Bram Moolenaar900b4d72005-12-12 22:05:50 +00001566When starting to edit a new file and the directory for the file doesn't exist
1567then Vim will report "[New DIRECTORY]" instead of "[New File] to give the user
1568a hint that something might be wrong.
1569
Bram Moolenaarbca84a12005-12-14 22:08:35 +00001570Win32: Preserve the hidden attribute of the viminfo file.
1571
Bram Moolenaar146522e2005-12-16 21:55:46 +00001572In Insert mode CTRL-A didn't keep the last inserted text when using CTRL-O and
1573then a cursor key. Now keep the previously inserted text if nothing is
1574inserted after the CTRL-O. Allows using CTRL-O commands to move the cursor
1575without losing the last inserted text.
Bram Moolenaarbca84a12005-12-14 22:08:35 +00001576
Bram Moolenaarf4cd3e82005-12-22 22:47:02 +00001577The exists() function now supports checking for autocmd group definition
Bram Moolenaarcc984262005-12-23 22:19:46 +00001578and for supported autocommand events. (Yegappan Lakshmanan)
Bram Moolenaara9b1e742005-12-19 22:14:58 +00001579
Bram Moolenaar4770d092006-01-12 23:22:24 +00001580Allow using ":global" in the sandbox, it doesn't do anything harmful by
1581itself.
1582
Bram Moolenaarb71eaae2006-01-20 23:10:18 +00001583":saveas asdf.c" will set 'filetype' to c when it's empty. Also for ":w
1584asdf.c" when it sets the filename for the buffer.
1585
Bram Moolenaar1d2ba7f2006-02-14 22:29:30 +00001586Insert mode completion for whole lines now also searches unloaded buffers.
Bram Moolenaarb71eaae2006-01-20 23:10:18 +00001587
Bram Moolenaarf740b292006-02-16 22:11:02 +00001588The colortest.vim script can now be invoked directly with ":source" or
Bram Moolenaarc93b83a2006-04-29 22:02:36 +00001589":runtime syntax/colortest.vim".
Bram Moolenaarf740b292006-02-16 22:11:02 +00001590
Bram Moolenaard1f56e62006-02-22 21:25:37 +00001591The 'statusline' option can be local to the window, so that each window can
1592have a different value. (partly by Yegappan Lakshmanan)
1593
Bram Moolenaar238a5642006-02-21 22:12:05 +00001594The 'statusline' option and other options that support the same format can now
1595use these new features:
1596- When it starts with "%!" the value is first evaluated as an expression
1597 before parsing the value.
1598- "%#HLname#" can be used to start highlighting with HLname.
1599
Bram Moolenaard1f56e62006-02-22 21:25:37 +00001600When 'statusline' is set to something that causes an error message then it is
1601made empty to avoid an endless redraw loop. Also for other options, such at
Bram Moolenaarea0cd362006-03-16 21:46:52 +00001602'tabline' and 'titlestring'. ":verbose set statusline" will mention that it
1603was set in an error handler.
Bram Moolenaard1f56e62006-02-22 21:25:37 +00001604
Bram Moolenaar32466aa2006-02-24 23:53:04 +00001605When there are several matching tags, the ":tag <name>" and CTRL-] commands
1606jump to the [count] matching tag. (Yegappan Lakshmanan)
1607
Bram Moolenaar97b2ad32006-03-18 21:40:56 +00001608Win32: In the batch files generated by the install program, use $VIMRUNTIME or
1609$VIM if it's set. Example provided by Mathias Michaelis.
1610Also create a vimtutor.bat batch file.
Bram Moolenaar32466aa2006-02-24 23:53:04 +00001611
Bram Moolenaarb3656ed2006-03-20 21:59:49 +00001612The 'balloonexpr' option is now |global-local|.
1613
Bram Moolenaare580b0c2006-03-21 21:33:03 +00001614The system() function now runs in cooked mode, thus can be interrupted by
1615CTRL-C.
1616
Bram Moolenaar071d4272004-06-13 20:20:40 +00001617==============================================================================
1618COMPILE TIME CHANGES *compile-changes-7*
1619
Bram Moolenaar2079a602005-01-04 21:43:22 +00001620Dropped the support for the BeOS and Amiga GUI. They were not maintained and
1621probably didn't work. If you want to work on this: get the Vim 6.x version
1622and merge it back in.
1623
Bram Moolenaar5313dcb2005-02-22 08:56:13 +00001624When running the tests and one of them fails to produce "test.out" the
1625following tests are still executed. This helps when running out of memory.
1626
Bram Moolenaarf461c8e2005-06-25 23:04:51 +00001627When compiling with EXITFREE defined and the ccmalloc library it is possible
1628to detect memory leaks. Some memory will always reported as leaked, such as
1629allocated by X11 library functions and the memory allocated in alloc_cmdbuff()
1630to store the ":quit" command.
1631
Bram Moolenaar231334e2005-07-25 20:46:57 +00001632Moved the code for printing to src/hardcopy.c.
1633
1634Moved some code from main() to separate functions to make it easier to see
Bram Moolenaarc93b83a2006-04-29 22:02:36 +00001635what is being done. Using a structure to avoid a lot of arguments to the
Bram Moolenaar231334e2005-07-25 20:46:57 +00001636functions.
1637
1638Moved unix_expandpath() to misc1.c, so that it can also be used by os_mac.c
1639without copying the code.
1640
Bram Moolenaar362e1a32006-03-06 23:29:24 +00001641--- Mac ---
1642
1643"make" now creates the Vim.app directory and "make install" copies it to its
1644final destination. (Raf)
1645
Bram Moolenaar27dc1952006-03-15 23:06:44 +00001646Put the runtime directory not directly in Vim.app but in
1647Vim.app/Contents/Resources/vim, so that it's according to Mac specs.
1648
Bram Moolenaar362e1a32006-03-06 23:29:24 +00001649Made it possible to compile with Motif, Athena or GTK without tricks and still
1650being able to use the MacRoman conversion. Added the os_mac_conv.c file.
1651
1652When running "make install" the runtime files are installed as for Unix.
Bram Moolenaare344bea2005-09-01 20:46:49 +00001653Avoids that too many files are copied. When running "make" a link to the
1654runtime files is created to avoid a recursive copy that takes much time.
1655
Bram Moolenaar362e1a32006-03-06 23:29:24 +00001656Configure will attempt to build Vim for both Intel and PowerPC. The
Bram Moolenaareddf53b2006-02-27 00:11:10 +00001657--with-mac-arch configure argument can change it.
1658
Bram Moolenaar362e1a32006-03-06 23:29:24 +00001659--- Win32 ---
1660
1661The Make_mvc.mak file was adjusted to work with the latest MS compilers,
1662including the free version of Visual Studio 2005. (George Reilly)
1663
1664INSTALLpc.txt was updated for the recent changes. (George Reilly)
1665
1666The distributed executable is now produced with the free Visual C++ Toolkit
16672003 and other free SDK chunks. msvcsetup.bat was added to support this.
1668
1669Also generate the .pdb file that can be used to generate a useful crash report
1670on MS-Windows. (George Reilly)
1671
Bram Moolenaar071d4272004-06-13 20:20:40 +00001672==============================================================================
1673BUG FIXES *bug-fixes-7*
1674
Bram Moolenaarf4b8e572004-06-24 15:53:16 +00001675When using PostScript printing on MS-DOS the default 'printexpr' used "lpr"
1676instead of "copy". When 'printdevice' was empty the copy command did not
1677work. Use "LPT1" then.
1678
1679The GTK font dialog uses a font size zero when the font name doesn't include a
1680size. Use a default size of 10.
1681
1682This example in the documentation didn't work:
Bram Moolenaar166af9b2010-11-16 20:34:40 +01001683 :e `=foo . ".c"`
Bram Moolenaarf4b8e572004-06-24 15:53:16 +00001684Skip over the expression in `=expr` when looking for comments, |, % and #.
1685
1686When ":helpgrep" doesn't find anything there is no error message.
1687
1688"L" and "H" did not take closed folds into account.
1689
1690Win32: The "-P title" argument stopped at the first title that matched, even
1691when it doesn't support MDI.
1692
1693Mac GUI: CTRL-^ and CTRL-@ did not work.
1694
1695"2daw" on "word." at the end of a line didn't include the preceding white
1696space.
1697
1698Win32: Using FindExecutable() doesn't work to find a program. Use
1699SearchPath() instead. For executable() use $PATHEXT when the program searched
1700for doesn't have an extension.
1701
1702When 'virtualedit' is set, moving the cursor up after appending a character
1703may move it to a different column. Was caused by auto-formatting moving the
1704cursor and not putting it back where it was.
1705
1706When indent was added automatically and then moving the cursor, the indent was
1707not deleted (like when pressing ESC). The "I" flag in 'cpoptions' can be used
1708to make it work the old way.
1709
Bram Moolenaarf4b8e572004-06-24 15:53:16 +00001710When opening a command-line window, 'textwidth' gets set to 78 by the Vim
1711filetype plugin. Reset 'textwidth' to 0 to avoid lines are broken.
1712
1713After using cursor(line, col) moving up/down doesn't keep the same column.
1714
1715Win32: Borland C before 5.5 requires using ".u." for LowPart and HighPart
1716fields. (Walter Briscoe)
Bram Moolenaar071d4272004-06-13 20:20:40 +00001717
Bram Moolenaar843ee412004-06-30 16:16:41 +00001718On Sinix SYS_NMLN isn't always defined. Define it ourselves. (Cristiano De
1719Michele)
1720
Bram Moolenaar325b7a22004-07-05 15:58:32 +00001721Printing with PostScript may keep the printer waiting for more. Append a
1722CTRL-D to the printer output. (Mike Williams)
1723
Bram Moolenaar2df6dcc2004-07-12 15:53:54 +00001724When converting a string with a hex or octal number the leading '-' was
1725ignored. ":echo '-05' + 0" resulted in 5 instead of -5.
1726
1727Using "@:" to repeat a command line didn't work when it contains control
Bram Moolenaar90cfdbe2005-08-12 19:59:19 +00001728characters. Also remove "'<,'>" when in Visual mode to avoid that it appears
1729twice.
Bram Moolenaar2df6dcc2004-07-12 15:53:54 +00001730
Bram Moolenaar21cf8232004-07-16 20:18:37 +00001731When using file completion for a user command, it would not expand environment
1732variables like for a regular command with a file argument.
1733
1734'cindent': When the argument of a #define looks like a C++ class the next line
1735is indented too much.
1736
1737When 'comments' includes multi-byte characters inserting the middle part and
1738alignment may go wrong. 'cindent' also suffers from this for right-aligned
1739items.
1740
Bram Moolenaar05159a02005-02-26 23:04:13 +00001741Win32: when 'encoding' is set to "utf-8" getenv() still returns strings in the
1742active codepage. Convert to utf-8. Also for $HOME.
1743
Bram Moolenaarab79bcb2004-07-18 21:34:53 +00001744The default for 'helplang' was "zh" for both "zh_cn" and "zh_tw". Now use
1745"cn" or "tw" as intended.
1746
Bram Moolenaar5eb86f92004-07-26 12:53:41 +00001747When 'bin' is set and 'eol' is not set then line2byte() added the line break
1748after the last line while it's not there.
1749
1750Using foldlevel() in a WinEnter autocommand may not work. Noticed when
1751resizing the GUI shell upon startup.
1752
1753Python: Using buffer.append(f.readlines()) didn't work. Allow appending a
1754string with a trailing newline. The newline is ignored.
1755
Bram Moolenaar269ec652004-07-29 08:43:53 +00001756When using the ":saveas f2" command for buffer "f1", the Buffers menu would
1757contain "f2" twice, one of them leading to "f1". Also trigger the BufFilePre
1758and BufFilePost events for the alternate buffer that gets the old name.
1759
Bram Moolenaard4755bb2004-09-02 19:12:26 +00001760strridx() did not work well when the needle is empty. (Ciaran McCreesh)
1761
1762GTK: Avoid a potential hang in gui_mch_wait_for_chars() when input arrives
1763just before it is invoked
1764
1765VMS: Occasionally CR characters were inserted in the file. Expansion of
1766environment variables was not correct. (Zoltan Arpadffy)
1767
1768UTF-8: When 'delcombine' is set "dw" only deleted the last combining character
1769from the first character of the word.
1770
1771When using ":sball" in an autocommand only the filetype in one buffer was
1772detected. Reset did_filetype in enter_buffer().
1773
1774When using ":argdo" and the window already was at the first argument index,
1775but not actually editing it, the current buffer would be used instead.
1776
Bram Moolenaar15d0a8c2004-09-06 17:44:46 +00001777When ":next dir/*" includes many matches, adding the names to the argument
1778list may take an awful lot of time and can't be interrupted. Allow
1779interrupting this.
1780
1781When editing a file that was already loaded in a buffer, modelines were not
1782used. Now window-local options in the modeline are set. Buffer-local options
1783and global options remain unmodified.
1784
1785Win32: When 'encoding' is set to "utf-8" in the vimrc file, files from the
1786command line with non-ASCII characters are not used correctly. Recode the
1787file names when 'encoding' is set, using the Unicode command line.
1788
Bram Moolenaarc0197e22004-09-13 20:26:32 +00001789Win32 console: When the default for 'encoding' ends up to be "latin1", the
1790default value of 'isprint' was wrong.
1791
1792When an error message is given while waiting for a character (e.g., when an
1793xterm reports the number of colors), the hit-enter prompt overwrote the last
1794line. Don't reset msg_didout in normal_cmd() for K_IGNORE.
1795
Bram Moolenaar3fdfa4a2004-10-07 21:02:47 +00001796Mac GUI: Shift-Tab didn't work.
1797
1798When defining tooltip text, don't translate terminal codes, since it's not
1799going to be used like a command.
1800
1801GTK 2: Check the tooltip text for valid utf-8 characters to avoid getting a
1802GTK error. Invalid characters may appear when 'encoding' is changed.
1803
1804GTK 2: Add a safety check for invalid utf-8 sequences, they can crash pango.
1805
1806Win32: When 'encoding' is changed while starting up, use the Unicode command
1807line to convert the file arguments to 'encoding'. Both for the GUI and the
1808console version.
1809
1810Win32 GUI: latin9 text (iso-8859-15) was not displayed correctly, because
1811there is no codepage for latin9. Do our own conversion from latin9 to UCS2.
1812
Bram Moolenaar7b0294c2004-10-11 10:16:09 +00001813When two versions of GTK+ 2 are installed it was possible to use the header
1814files from one and the library from the other. Use GTK_LIBDIR to put the
1815directory for the library early in the link flags.
1816
1817With the GUI find/replace dialog a replace only worked if the pattern was
1818literal text. Now it works for any pattern.
1819
Bram Moolenaar293ee4d2004-12-09 21:34:53 +00001820When 'equalalways' is set and 'eadirection' is "hor", ":quit" would still
1821cause equalizing window heights in the vertical direction.
1822
1823When ":emenu" is used in a startup script the command was put in the typeahead
1824buffer, causing a prompt for the crypt key to be messed up.
1825
1826Mac OS/X: The default for 'isprint' included characters 128-160, causes
1827problems for Terminal.app.
1828
1829When a syntax item with "containedin" is used, it may match in the start or
1830end of a region with a matchgroup, while this doesn't happen for a "contains"
1831argument.
1832
1833When a transparent syntax items matches in another item where the highlighting
1834has already stopped (because of a he= argument), the highlighting would come
1835back.
1836
1837When cscope is used to set the quickfix error list, it didn't get set if there
1838was only one match. (Sergey Khorev)
1839
1840When 'confirm' is set and using ":bdel" in a modified buffer, then selecting
1841"cancel", would still give an error message.
1842
1843The PopUp menu items that started Visual mode didn't work when not in Normal
1844mode. Switching between selecting a word and a line was not possible.
1845
1846Win32: The keypad decimal point always resulted in a '.', while on some
1847keyboards it's a ','. Use MapVirtualKey(VK_DECIMAL, 2).
1848
1849Removed unused function DisplayCompStringOpaque() from gui_w32.c
1850
1851In Visual mode there is not always an indication whether the line break is
1852selected or not. Highlight the character after the line when the line break
1853is included, e.g., after "v$o".
1854
1855GTK: The <F10> key can't be mapped, it selects the menu. Disable that with a
1856GTK setting and do select the menu when <F10> isn't mapped. (David Necas)
1857
1858After "Y" '[ and '] were not at start/end of the yanked text.
1859
1860When a telnet connection is dropped Vim preserves files and exits. While
Bram Moolenaar8ea91232006-04-28 22:41:43 +00001861doing that a SIGHUP may arrive and disturb us, thus ignore it. (Scott
Bram Moolenaar46c9c732004-12-12 11:37:09 +00001862Anderson) Also postpone SIGHUP, SIGQUIT and SIGTERM until it's safe to
1863handle. Added handle_signal().
1864
Bram Moolenaar1cd871b2004-12-19 22:46:22 +00001865When completing a file name on the command line backslashes are required for
1866white space. Was only done for a space, not for a Tab.
1867
1868When configure could not find a terminal library, compiling continued for a
1869long time before reporting the problem. Added a configure check for tgetent()
1870being found in a library.
1871
1872When the cursor is on the first char of the last line a ":g/pat/s///" command
1873may cause the cursor to be displayed below the text.
1874
1875Win32: Editing a file with non-ASCII characters doesn't work when 'encoding'
1876is "utf-8". use _wfullpath() instead of _fullpath(). (Yu-sung Moon)
1877
1878When recovering the 'fileformat' and 'fileencoding' were taken from the
1879original file instead of from the swapfile. When the file didn't exist, was
1880empty or the option was changed (e.g., with ":e ++fenc=cp123 file") it could
1881be wrong. Now store 'fileformat' and 'fileencoding' in the swapfile and use
1882the values when recovering.
1883
1884":bufdo g/something/p" overwrites each last printed text line with the file
1885message for the next buffer. Temporarily clear 'shortmess' to avoid that.
1886
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001887Win32: Cannot edit a file starting with # with --remote. Do escape % and #
1888when building the ":drop" command.
1889
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +01001890A comment or | just after an expression-backtick argument was not recognized.
Bram Moolenaar86b68352004-12-27 21:59:20 +00001891E.g. in :e `="foo"`"comment.
1892
Bram Moolenaar567e4de2004-12-31 21:01:02 +00001893"(" does not stop at an empty sentence (single dot and white space) while ")"
1894does. Also breaks "das" on that dot.
1895
1896When doing "yy" with the cursor on a TAB the ruler could be wrong and "k"
1897moved the cursor to another column.
1898
1899When 'commentstring' is '"%s' and there is a double quote in the line a double
1900quote before the fold marker isn't removed in the text displayed for a closed
1901fold.
1902
1903In Visual mode, when 'bin' and 'eol' set, g CTRL-G counted the last line
1904break, resulting in "selected 202 of 201 bytes".
1905
Bram Moolenaar2079a602005-01-04 21:43:22 +00001906Motif: fonts were not used for dialog components. (Marcin Dalecki)
Bram Moolenaar567e4de2004-12-31 21:01:02 +00001907
Bram Moolenaar49cd9572005-01-03 21:06:01 +00001908Motif: After using a toolbar button the keyboard focus would be on the toolbar
Bram Moolenaar2079a602005-01-04 21:43:22 +00001909(Lesstif problem). (Marcin Dalecki)
Bram Moolenaar49cd9572005-01-03 21:06:01 +00001910
Bram Moolenaar1c2fda22005-01-02 11:43:19 +00001911When using "y<C-V>`x" where mark x is in the first column, the last line was
1912not included.
1913
1914Not all test scripts work properly on MS-Windows when checked out from CVS.
1915Use a Vim command to fix all fileformats to dos before executing the tests.
1916
1917When using ":new" and the file fits in the window, lines could still be above
1918the window. Now remove empty lines instead of keeping the relative position.
1919
Bram Moolenaar3d60ec22005-01-05 22:19:46 +00001920Cmdline completion didn't work after ":let var1 var<Tab>".
1921
Bram Moolenaarb7d6e722005-01-09 21:22:45 +00001922When using ":startinsert" or ":startreplace" when already in Insert mode
1923(possible when using CTRL-R =), pressing Esc would directly restart Insert
1924mode. (Peter Winters)
1925
Bram Moolenaar31c67ef2005-01-11 21:34:41 +00001926"2daw" didn't work at end of file if the last word is a single character.
1927
Bram Moolenaar8c711452005-01-14 21:53:12 +00001928Completion for ":next a'<Tab>" put a backslash before single quote, but it was
1929not removed when editing a file. Now halve backslashes in save_patterns().
Bram Moolenaar798c5a72005-01-16 22:06:30 +00001930Also fix expanding a file name with the shell that contains "\'".
Bram Moolenaar8c711452005-01-14 21:53:12 +00001931
Bram Moolenaarb71ec9f2005-01-25 22:22:02 +00001932When doing "1,6d|put" only "fewer lines" was reported. Now a following "more
1933lines" overwrites the message.
1934
1935Configure could not handle "-Dfoo=long\ long" in the TCL config output.
1936
Bram Moolenaarb2956cd2005-01-27 14:42:53 +00001937When searching backwards, using a pattern that matches a newline and uses \zs
1938after that, didn't find a match. Could also get a hang or end up in the right
1939column in the wrong line.
1940
Bram Moolenaard438e912005-01-31 19:21:46 +00001941When $LANG is "sl" for slovenian, the slovak menu was used, since "slovak"
1942starts with "sl".
1943
1944When 'paste' is set in the GUI the Paste toolbar button doesn't work. Clear
1945'paste' when starting the GUI.
1946
Bram Moolenaarf5836682005-02-02 23:09:45 +00001947A message about a wrong viminfo line included the trailing NL.
1948
Bram Moolenaar2a8d1f82005-02-05 21:43:56 +00001949When 'paste' is set in the GUI the toolbar button doesn't work in Insert mode.
1950Use ":exe" in menu.vim to avoid duplicating the commands, instead of using a
1951mapping.
1952
1953Treat "mlterm" as an xterm-like terminal. (Seiichi Sato)
1954
1955":z.4" and ":z=4" didn't work Vi compatible.
1956
Bram Moolenaarbee0c5b2005-02-07 22:03:36 +00001957When sourcing a file, editing it and sourcing it again, it could appear twice
1958in ":scriptnames" and get a new <SID>, because the inode has changed.
1959
1960When $SHELL is set but empty the 'shell' option would be empty. Don't use an
1961empty $SHELL value.
1962
1963A command "w! file" in .vimrc or $EXINIT didn't work. Now it writes an empty
1964file.
1965
1966When a CTRL-F command at the end of the file failed, the cursor was still
1967moved to the start of the line. Now it remains where it is.
1968
1969When using ":s" or "&" to repeat the last substitute and "$" was used to put
1970the cursor in the last column, put the cursor in the last column again. This
1971is Vi compatible.
1972
Bram Moolenaar4399ef42005-02-12 14:29:27 +00001973Vim is not fully POSIX compliant but sticks with traditional Vi behavior.
1974Added a few flags in 'cpoptions' to behave the POSIX way when wanted. The
1975$VIM_POSIX environment variable is checked to set the default.
1976
1977Appending to a register didn't insert a line break like Vi. Added the '>'
1978flag to 'cpoptions' for this.
1979
1980Using "I" in a line with only blanks appended to the line. This is not Vi
1981compatible. Added the 'H' flag in 'coptions' for this.
1982
1983When joining multiple lines the cursor would be at the last joint, but Vi
1984leaves it at the position where "J" would put it. Added the 'q' flag in
1985'cpoptions' for this.
1986
1987Autoindent didn't work for ":insert" and ":append".
1988
1989Using ":append" in an empty buffer kept the dummy line. Now it's deleted to
1990be Vi compatible.
1991
1992When reading commands from a file and stdout goes to a terminal, would still
1993request the xterm version. Vim can't read it, thus the output went to the
1994shell and caused trouble there.
1995
Bram Moolenaar5313dcb2005-02-22 08:56:13 +00001996When redirecting to a register with an invalid name the redirection would
1997still be done (after an error message). Now reset "redir_reg". (Yegappan
1998Lakshmanan)
1999
2000It was not possible to use a NL after a backslash in Ex mode. This is
2001sometimes used to feed multiple lines to a shell command.
2002
Bram Moolenaar05159a02005-02-26 23:04:13 +00002003When 'cmdheight' is set to 2 in .vimrc and the GUI uses the number of lines
2004from the terminal we actually get 3 lines for the cmdline in gvim.
2005
2006When setting $HOME allocated memory would leak.
2007
Bram Moolenaar19a09a12005-03-04 23:39:37 +00002008Win32: bold characters may sometimes write in another character cell. Use
2009unicodepdy[] as for UTF-8. (Taro Muraoka)
2010
2011":w fname" didn't work for files with 'buftype' set to "nofile".
2012
Bram Moolenaare2ac10d2005-03-07 23:26:06 +00002013The method used to locate user commands for completion differed from when they
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00002014are executed. Ambiguous command names were not completed properly.
Bram Moolenaare2ac10d2005-03-07 23:26:06 +00002015
Bram Moolenaar9062a9d2005-03-08 22:46:26 +00002016Incremental search may cause a crash when there is a custom statusline that
2017indirectly invokes ":normal".
2018
2019Diff mode failed when $DIFF_OPTIONS was set in the environment. Unset it
2020before invoking "diff".
2021
Bram Moolenaar4ad237d2005-03-11 22:49:40 +00002022Completion didn't work after ":argdo", ":windo" and ":bufdo". Also for ":set
2023&l:opt" and ":set &g:opt". (Peter Winters)
2024
2025When setting 'ttymouse' to "dec" in an xterm that supports the DEC mouse
2026locator it doesn't work. Now switch off the mouse before selecting another
2027mouse model.
2028
Bram Moolenaarfb269802005-03-15 22:46:30 +00002029When the CursorHold event is triggered and the commands peek for typed
2030characters the typeahead buffer may be messed up, e.g., when a mouse-up event
2031is received. Avoid invoking the autocommands from the function waiting for a
2032character, let it put K_CURSORHOLD in the input buffer.
2033
2034Removed the "COUNT" flag from ":argadd", to avoid ":argadd 1*" to be used like
Bram Moolenaarc0761132005-03-18 20:30:32 +00002035":1argadd *". Same for ":argdelete" and ":argedit".
Bram Moolenaarfb269802005-03-15 22:46:30 +00002036
2037Avoid that $LANG is used for the menus when LC_MESSAGES is "en_US".
2038
Bram Moolenaarc0761132005-03-18 20:30:32 +00002039Added backslashes before dashes in the vim.1 manual page to make the appear as
2040real dashes. (Pierr Habouzit)
2041
2042Where "gq" left the cursor depended on the value of 'formatprg'. Now "gq"
2043always leaves the cursor at the last line of the formatted text.
2044
2045When editing a compressed file, such as "changelog.Debian.gz" file, filetype
2046detection may try to check the contents of the file while it's still
2047compressed. Skip setting 'filetype' for compressed files until they have been
2048decompressed. Required for patterns that end in a "*".
2049
2050Starting with an argument "+cmd" or "-S script" causes the cursor the be moved
2051to the first line. That breaks a BufReadPost autocommand that uses g`".
2052Don't move the cursor if it's somewhere past the first line.
2053
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00002054"gg=G" while 'modifiable' is off was uninterruptible.
Bram Moolenaarc0761132005-03-18 20:30:32 +00002055
Bram Moolenaar60c78922005-03-20 22:40:14 +00002056When 'encoding' is "sjis" inserting CTRL-V u d800 a few times causes a crash.
2057Don't insert a DBCS character with a NUL second byte.
2058
Bram Moolenaar2641f772005-03-25 21:58:17 +00002059In Insert mode CTRL-O <Home> didn't move the cursor. Made "ins_at_eol" global
2060and reset it in nv_home().
2061
Bram Moolenaarb982ca52005-03-28 21:02:15 +00002062Wildcard expansion failed: ":w /tmp/$$.`echo test`". Don't put quotes around
2063spaces inside backticks.
2064
Bram Moolenaar13fcaaf2005-04-15 21:13:42 +00002065After this sequence of commands: Y V p gv: the wrong line is selected. Now
2066let "gv" select the text that was put, since the original text is deleted.
2067This should be the most useful thing to do.
2068
2069":sleep 100u" sleeps for 100 seconds, not 100 usec as one might expect. Give
2070an error message when the argument isn't recognized.
2071
2072In gui_mch_draw_string() in gui_w32.c "unibuflen" wasn't static, resulting in
2073reallocating the buffer every time. (Alexei Alexandrov)
2074
Bram Moolenaar0e21a3f2005-04-17 20:28:32 +00002075When using a Python "atexit" function it was not invoked when Vim exits. Now
2076call Py_Finalize() for that. (Ugo Di Girolamo)
Bram Moolenaar9ba0eb82005-06-13 22:28:56 +00002077This breaks the thread stuff though, fixed by Ugo.
Bram Moolenaar0e21a3f2005-04-17 20:28:32 +00002078
Bram Moolenaardba8a912005-04-24 22:08:39 +00002079GTK GUI: using a .vimrc with "set cmdheight=2 lines=43" and ":split" right
2080after startup, the window layout is messed up. (Michael Schaap) Added
2081win_new_shellsize() call in gui_init() to fix the topframe size.
2082
2083Trick to get ...MOUSE_NM not used when there are vertical splits. Now pass
2084column -1 for the left most window and add MOUSE_COLOFF for others. Limits
2085mouse column to 10000.
2086
2087searchpair() may hang when the end pattern has "\zs" at the end. Check that
2088we find the same position again and advance one character.
2089
2090When in diff mode and making a change that causes the "changed" highlighting
2091to disappear or reappear, it was still highlighted in another window.
2092
Bram Moolenaar34cdc3e2005-05-18 22:24:46 +00002093When a ":next" command fails because the user selects "Abort" at the ATTENTION
2094prompt the argument index was advanced anyway.
2095
2096When "~" is in 'iskeyword' the "gd" doesn't work, it's used for the previous
2097substitute pattern. Put "\V" in the pattern to avoid that.
2098
Bram Moolenaar555b2802005-05-19 21:08:39 +00002099Use of sprintf() sometimes didn't check properly for buffer overflow. Also
2100when using smsg(). Included code for snprintf() to avoid having to do size
2101checks where invoking them
2102
Bram Moolenaarf4630b62005-05-20 21:31:17 +00002103":help \=<Tab>" didn't find "sub-replace-\=". Wild menu for help tags didn't
2104show backslashes. ":he :s\=" didn't work.
2105
2106When reading an errorfile "~/" in a file name was not expanded.
2107
2108GTK GUI: When adding a scrollbar (e.g. when using ":vsplit") in a script or
2109removing it the window size may change. GTK sends us resize events when we
2110change the window size ourselves, but they may come at an unexpected moment.
2111Peek for a character to get any window resize events and fix 'columns' and
2112'lines' to undo this.
2113
Bram Moolenaarb3656ed2006-03-20 21:59:49 +00002114When using the GTK plug mechanism, resizing and focus was not working
2115properly. (Neil Bird)
2116
Bram Moolenaar67fe1a12005-05-22 22:12:58 +00002117After deleting files from the argument list a session file generated with
2118":mksession" may contain invalid ":next" commands.
2119
2120When 'shortmess' is empty and 'keymap' set to accents, in Insert mode CTRL-N
2121may cause the hit-enter prompt. Typing 'a then didn't result in the accented
2122character. Put the character typed at the prompt back in the typeahead buffer
2123so that mapping is done in the right mode.
2124
Bram Moolenaarb2ec3072005-06-17 22:02:20 +00002125setbufvar() and setwinvar() did not give error messages.
2126
2127It was possible to set a variable with an illegal name, e.g. with setbufvar().
Bram Moolenaard857f0e2005-06-21 22:37:39 +00002128It was possible to define a function with illegal name, e.t. ":func F{-1}()"
2129
2130CTRL-W F and "gf" didn't use the same method to get the file name.
Bram Moolenaarb2ec3072005-06-17 22:02:20 +00002131
Bram Moolenaar42eeac32005-06-29 22:40:58 +00002132When reporting a conversion error the line number of the last error could be
2133given. Now report the first encountered error.
2134
2135When using ":e ++enc=name file" and iconv() was used for conversion an error
Bram Moolenaar63a121b2005-12-11 21:36:39 +00002136caused a fall-back to no conversion. Now replace a character with '?' and
Bram Moolenaar42eeac32005-06-29 22:40:58 +00002137continue.
2138
Bram Moolenaar51bab742005-07-08 22:31:03 +00002139When opening a new buffer the local value of 'bomb' was not initialized from
2140the global value.
2141
Bram Moolenaare759a7a2005-07-12 22:50:18 +00002142Win32: When using the "Edit with Vim" entry the file name was limited to about
2143200 characters.
2144
Bram Moolenaar342337a2005-07-21 21:11:17 +00002145When using command line completion for ":e *foo" and the file "+foo" exists
2146the resulting command ":e +foo" doesn't work. Now insert a backslash: ":e
2147\+foo".
2148
Bram Moolenaar87e25fd2005-07-27 21:13:01 +00002149When the translation of "-- More --" was not 10 characters long the following
2150message would be in the wrong position.
2151
2152At the more-prompt the last character in the last line wasn't drawn.
2153
2154When deleting non-existing text while 'virtualedit' is set the '[ and '] marks
2155were not set.
2156
Bram Moolenaar0be6e642005-08-04 21:32:22 +00002157Win32: Could not use "**/" in 'path', it had to be "**\".
2158
Bram Moolenaarae5bce12005-08-15 21:41:48 +00002159The search pattern "\n" did not match at the end of the last line.
2160
2161Searching for a pattern backwards, starting on the NUL at the end of the line
2162and 'encoding' is "utf-8" would match the pattern just before it incorrectly.
2163Affected searchpair('/\*', '', '\*/').
2164
Bram Moolenaar5b8d8fd2005-08-16 23:01:50 +00002165For the Find/Replace dialog it was possible that not finding the text resulted
2166in an error message while redrawing, which cleared the syntax highlighting
2167while it was being used, resulting in a crash. Now don't clear syntax
2168highlighting, disable it with b_syn_error.
2169
Bram Moolenaar6e7c7f32005-08-24 22:16:11 +00002170Win32: Combining UTF-8 characters were drawn on the previous character.
2171Could be noticed with a Thai font.
2172
Bram Moolenaarcafda4f2005-09-06 19:25:11 +00002173Output of ":function" could leave some of the typed text behind. (Yegappan
2174Lakshmanan)
2175
Bram Moolenaarcaa0fcf2005-09-07 21:21:14 +00002176When the command line history has only a few lines the command line window
2177would be opened with these lines above the first window line.
2178
2179When using a command line window for search strings ":qa" would result in
2180searching for "qa" instead of quitting all windows.
2181
Bram Moolenaardcca87b2005-09-10 19:24:59 +00002182GUI: When scrolling with the scrollbar and there is a line that doesn't fit
2183redrawing may fail. Make sure w_skipcol is valid before redrawing.
2184
Bram Moolenaar482aaeb2005-09-29 18:26:07 +00002185Limit the values of 'columns' and 'lines' to avoid an overflow in Rows *
2186Columns. Fixed bad effects when running out of memory (command line would be
2187reversed, ":qa!" resulted in ":!aq").
2188
Bram Moolenaara5792f52005-11-23 21:25:05 +00002189Motif: "gvim -iconic" opened the window anyway. (David Harrison)
2190
2191There is a tiny chance that a symlink gets created between checking for an
2192existing file and creating a file. Use the O_NOFOLLOW for open() if it's
2193available.
2194
2195In an empty line "ix<CTRL-O>0" moved the cursor to after the line instead of
2196sticking to the first column.
2197
Bram Moolenaar943d2b52005-12-02 00:50:49 +00002198When using ":wq" and a BufWriteCmd autocmd uses inputsecret() the text was
2199echoed anyway. Set terminal to raw mode in getcmdline().
2200
Bram Moolenaard5bc83f2005-12-07 21:07:59 +00002201Unix: ":w a;b~c" caused an error in expanding wildcards.
2202
Bram Moolenaar63a121b2005-12-11 21:36:39 +00002203When appending to a file with ":w >>fname" in a buffer without a name, causing
2204the buffer to use "fname", the modified flag was reset.
2205
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00002206When appending to the current file the "not edited" flag would be reset.
Bram Moolenaar63a121b2005-12-11 21:36:39 +00002207":w" would overwrite the file accidentally.
2208
Bram Moolenaar900b4d72005-12-12 22:05:50 +00002209Unix: When filtering text with an external command Vim would still read input,
2210causing text typed for the command (e.g., a password) to be eaten and echoed.
2211Don't read input when the terminal is in cooked mode.
2212
Bram Moolenaar146522e2005-12-16 21:55:46 +00002213The Cygwin version of xxd used CR/LF line separators. (Corinna Vinschen)
2214
2215Unix: When filtering text through a shell command some resulting text may be
2216dropped. Now after detecting that the child has exited try reading some more
2217of its output.
2218
Bram Moolenaar3b181812005-12-17 22:10:02 +00002219When inside input(), using "CTRL-R =" and the expression throws an exception
2220the command line was not abandoned but it wasn't used either. Now abandon
2221typing the command line.
2222
Bram Moolenaare3226be2005-12-18 22:10:00 +00002223'delcombine' was also used in Visual and Select mode and for commands like
2224"cl". That was illogical and has been disabled.
2225
2226When recording while a CursorHold autocommand was defined special keys would
2227appear in the register. Now the CursorHold event is not triggered while
2228recording.
2229
Bram Moolenaarf4cd3e82005-12-22 22:47:02 +00002230Unix: the src/configure script used ${srcdir-.}, not all shells understand
2231that. Use ${srcdir:-.} instead.
2232
Bram Moolenaarcc984262005-12-23 22:19:46 +00002233When editing file "a" which is a symlink to file "b" that doesn't exist,
2234writing file "a" to create "b" and then ":split b" resulted in two buffers on
2235the same file with two different swapfile names. Now set the inode in the
2236buffer when creating a new file.
2237
Bram Moolenaarebefac62005-12-28 22:39:57 +00002238When 'esckeys' is not set don't send the xterm code to request the version
2239string, because it may cause trouble in Insert mode.
2240
2241When evaluating an expression for CTRL-R = on the command line it was possible
Bram Moolenaar8ada17c2006-01-19 22:16:24 +00002242to call a function that opens a new window, resulting in errors for
Bram Moolenaarb71eaae2006-01-20 23:10:18 +00002243incremental search, and many other nasty things were possible. Now use the
2244|textlock| to disallow changing the buffer or jumping to another window
Bram Moolenaar4770d092006-01-12 23:22:24 +00002245to protect from unexpected behavior. Same for CTRL-\ e.
Bram Moolenaarebefac62005-12-28 22:39:57 +00002246
2247"d(" deleted the character under the cursor, while the documentation specified
2248an exclusive motion. Vi also doesn't delete the character under the cursor.
2249
2250Shift-Insert in Insert mode could put the cursor before the last character
2251when it just fits in the window. In coladvance() don't stop at the window
2252edge when filling with spaces and when in Insert mode. In mswin.vim avoid
2253getting a beep from the "l" command.
2254
Bram Moolenaar4770d092006-01-12 23:22:24 +00002255Win32 GUI: When Alt-F4 is used to close the window and Cancel is selected in
2256the dialog then Vim would insert <M-F4> in the text. Now it's ignored.
2257
2258When ":silent! {cmd}" caused the swap file dialog, which isn't displayed,
2259there would still be a hit-enter prompt.
2260
Bram Moolenaara40ceaf2006-01-13 22:35:40 +00002261Requesting the termresponse (|t_RV|) early may cause problems with "-c"
2262arguments that invoke an external command or even "-c quit". Postpone it
2263until after executing "-c" arguments.
2264
2265When typing in Insert mode so that a new line is started, using CTRL-G u to
2266break undo and start a new change, then joining the lines with <BS> caused
2267undo info to be missing. Now reset the insertion start point.
2268
2269Syntax HL: When a region start match has a matchgroup and an offset that
2270happens to be after the end of the line then it continued in the next line and
2271stopped at the region end match, making the region continue after that.
2272Now check for the column being past the end of the line in syn_add_end_off().
2273
Bram Moolenaarc32840f2006-01-14 21:23:38 +00002274When changing a file, setting 'swapfile' off and then on again, making another
2275change and killing Vim, then some blocks may be missing from the swapfile.
2276When 'swapfile' is switched back on mark all blocks in the swapfile as dirty.
2277Added mf_set_dirty().
2278
2279Expanding wildcards in a command like ":e aap;<>!" didn't work. Put
2280backslashes before characters that are special to the shell. (Adri Verhoef)
2281
Bram Moolenaar8ada17c2006-01-19 22:16:24 +00002282A CursorHold autocommand would cause a message to be cleared. Don't show the
2283special key for the event for 'showcmd'.
2284
2285When expanding a file name for a shell command, as in "!cmd foo<Tab>" or ":r
2286!cmd foo<Tab>" also escape characters that are special for the shell:
2287"!;&()<>".
2288
Bram Moolenaarb71eaae2006-01-20 23:10:18 +00002289When the name of the buffer was set by a ":r fname" command |cpo-f| no
2290autocommands were triggered to notify about the change in the buffer list.
2291
2292In the quickfix buffer 'bufhidden' was set to "delete", which caused closing
2293the quickfix window to leave an unlisted "No Name" buffer behind every time.
2294
Bram Moolenaar0ac93792006-01-21 22:16:51 +00002295Win32: when using two screens of different size, setting 'lines' to a large
2296value didn't fill the whole screen. (SungHyun Nam)
2297
Bram Moolenaar33aec762006-01-22 23:30:12 +00002298Win32 installer: The generated _vimrc contained an absolute path to diff.exe.
2299After upgrading it becomes invalid. Now use $VIMRUNTIME instead.
2300
Bram Moolenaard12f5c12006-01-25 22:10:52 +00002301The command line was cleared to often when 'showmode' was set and ":silent
2302normal vy" was used. Don't clear the command line unless the mode was
2303actually displayed. Added the "mode_displayed" variable.
2304
Bram Moolenaar280f1262006-01-30 00:14:18 +00002305The "load session" toolbar item could not handle a space or other special
2306characters in v:this_session.
2307
2308":set sta ts=8 sw=4 sts=2" deleted 4 spaces halfway a line instead of 2.
2309
Bram Moolenaar1ef15e32006-02-01 21:56:25 +00002310In a multi-byte file the foldmarker could be recognized in the trail byte.
2311(Taro Muraoka)
2312
Bram Moolenaar0e5bd962006-02-04 00:59:56 +00002313Pasting with CTRL-V and menu didn't work properly when some commands are
2314mapped. Use ":normal!" instead of ":normal". (Tony Apuzzo)
2315
2316Crashed when expanding a file name argument in backticks.
2317
Bram Moolenaarf52c7252006-02-10 23:23:57 +00002318In some situations the menu and scrollbar didn't work, when the value contains
2319a CSI byte. (Yukihiro Nakadaira)
2320
Bram Moolenaar1d2ba7f2006-02-14 22:29:30 +00002321GTK GUI: When drawing the balloon focus changes and we might get a key release
2322event that removed the balloon again. Ignore the key release event.
2323
2324'titleold' was included in ":mkexrc" and ":mksession" files.
2325
Bram Moolenaarf740b292006-02-16 22:11:02 +00002326":set background&" didn't use the same logic as was used when starting up.
2327
Bram Moolenaar997fb4b2006-02-17 21:53:23 +00002328When "umask" is set such that nothing is writable then the viminfo file would
2329be written without write permission. (Julian Bridle)
2330
Bram Moolenaar7e8fd632006-02-18 22:14:51 +00002331Motif: In diff mode dragging one scrollbar didn't update the scrollbar of the
2332other diff'ed window.
2333
Bram Moolenaar238a5642006-02-21 22:12:05 +00002334When editing in an xterm with a different number of colors than expected the
2335screen would be cleared and redrawn, causing the message about the edited file
2336to be cleared. Now set "keep_msg" to redraw the last message.
2337
Bram Moolenaard1f56e62006-02-22 21:25:37 +00002338For a color terminal: When the Normal HL uses bold, possibly to make the color
2339lighter, and another HL group specifies a color it might become light as well.
2340Now reset bold if a HL group doesn't specify bold itself.
2341
Bram Moolenaar32466aa2006-02-24 23:53:04 +00002342When using 256 color xterm the color 255 would show up as color 0. Use a
2343short instead of a char to store the color number.
2344
2345ml_get errors when searching for "\n\zs" in an empty file.
2346
Bram Moolenaara5621492006-02-25 21:55:24 +00002347When selecting a block and using "$" to select until the end of every line and
2348not highlighting the character under the cursor the first character of the
2349block could be unhighlighted.
2350
2351When counting words for the Visual block area and using "$" to select until
2352the end of every line only up to the length of the last line was counted.
2353
Bram Moolenaareddf53b2006-02-27 00:11:10 +00002354"dip" in trailing empty lines left one empty line behind.
2355
Bram Moolenaar5e3cb7e2006-02-27 23:58:35 +00002356The script ID was only remembered globally for each option. When a buffer- or
2357window-local option was set the same "last set" location was changed for all
2358buffers and windows. Now remember the script ID for each local option
2359separately.
2360
2361GUI: The "Replace All" button didn't handle backslashes in the replacement in
2362the same way as "Replace". Escape backslashes so that they are taken
2363literally.
2364
Bram Moolenaare224ffa2006-03-01 00:01:28 +00002365When using Select mode from Insert mode and typing a key, causing lines to be
2366deleted and a message displayed, delayed the effect of inserting the key.
2367Now overwrite the message without delay.
Bram Moolenaar5e3cb7e2006-02-27 23:58:35 +00002368
Bram Moolenaar362e1a32006-03-06 23:29:24 +00002369When 'whichwrap' includes "l" then "dl" and "yl" on a single letter line
2370worked differently. Now recognize all operators when using "l" at the end of
2371a line.
2372
2373GTK GUI: when the font selector returned a font name with a comma in it then
2374it would be handled like two font names. Now put a backslash before the
2375comma.
2376
2377MS-DOS, Win32: When 'encoding' defaults to "latin1" then the value for
2378'iskeyword' was still for CPxxx. And when 'nocompatible' was set 'isprint'
2379would also be the wrong value.
2380
Bram Moolenaar1f35bf92006-03-07 22:38:47 +00002381When a command was defined not to take arguments and no '|' no warning message
2382would be given for using a '|'. Also with ":loadkeymap".
2383
Bram Moolenaara3227e22006-03-08 21:32:40 +00002384Motif: When using a fontset and 'encoding' is "utf-8" and sizeof(wchar_t) !=
2385sizeof(XChar2b) then display was wrong. (Yukihiro Nakadaira)
2386
Bram Moolenaareb94e552006-03-11 21:35:11 +00002387":all" always set the current window to the first window, even when it
2388contains a buffer that is not in the argument list (can't be closed because it
2389is modified). Now go to the window that has the first item of the argument
2390list.
2391
Bram Moolenaar17be7e62006-03-12 22:13:45 +00002392GUI: To avoid left-over pixels from bold text all characters after a character
2393with special attributes were redrawn. Now only do this for characters that
2394actually are bold. Speeds up displaying considerably.
2395
2396When only highlighting changes and the text is scrolled at the same time
2397everything is redraw instead of using a scroll and updating the changed text.
2398E.g., when using ":match" to highlight a paren that the cursor landed on.
2399Added SOME_VALID: Redraw the whole window but also try to scroll to minimize
2400redrawing.
2401
Bram Moolenaarca003e12006-03-17 23:19:38 +00002402Win32: When using Korean IME making it active didn't work properly. (Moon,
2403Yu-sung, 2005 March 21)
2404
Bram Moolenaar97b2ad32006-03-18 21:40:56 +00002405Ruby interface: when inserting/deleting lines display wasn't updated. (Ryan
2406Paul)
Bram Moolenaarca003e12006-03-17 23:19:38 +00002407
Bram Moolenaar910f66f2006-04-05 20:41:53 +00002408--- fixes since Vim 7.0b ---
Bram Moolenaarbd404142006-03-25 22:05:04 +00002409
2410Getting the GCC version in configure didn't work with Solaris sed. First
2411strip any "darwin." and then get the version number.
2412
2413The "autoload" directory was missing from the self-installing executable for
2414MS-Windows.
2415
2416The MS-Windows install program would find "vimtutor.bat" in the install
2417directory. After changing to "c:" also change to "\" to avoid looking in the
2418install directory.
2419
2420To make the 16 bit DOS version compile exclude not used highlight
2421initializations and build a tiny instead of small version.
2422
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00002423finddir() and findfile() accept a negative count and return a List then.
Bram Moolenaar899dddf2006-03-26 21:06:50 +00002424
2425The Python indent file contained a few debugging statements, removed.
2426
2427Expanding {} for a function name, resulting in a name starting with "s:" was
2428not handled correctly.
2429
2430Spelling: renamed COMPOUNDMAX to COMPOUNDWORDMAX. Added several items to be
2431able to handle the new Hungarian dictionary.
2432
2433Mac: Default to building for the current platform only, that is much faster
2434than building a universal binary. Also, using Perl/Python/etc. only works for
2435the current platform.
2436
Bram Moolenaar3991dab2006-03-27 17:01:56 +00002437The time on undo messages disappeared for someone. Using %T for strftime()
2438apparently doesn't work everywhere. Use %H:%M:%S instead.
2439
2440Typing BS at the "z=" prompt removed the prompt.
Bram Moolenaar899dddf2006-03-26 21:06:50 +00002441
Bram Moolenaar779b74b2006-04-10 14:55:34 +00002442--- fixes and changes since Vim 7.0c ---
Bram Moolenaar04a9d452006-03-27 21:03:26 +00002443
2444When jumping to another tab page the Vim window size was always set, even when
2445nothing in the layout changed.
2446
2447Win32 GUI tab pages line wasn't always enabled. Do a proper check for the
2448compiler version.
2449
2450Win32: When switching between tab pages the Vim window was moved when part of
2451it was outside of the screen. Now only do that in the direction of a size
2452change.
2453
2454Win32: added menu to GUI tab pages line. (Yegappan Lakshmanan)
2455
Bram Moolenaard2cec5b2006-03-28 21:08:56 +00002456Mac: Added document icons. (Benji Fisher)
2457
2458Insert mode completion: Using Enter to accept the current match causes
2459confusion. Use CTRL-Y instead. Also, use CTRL-E to go back to the typed
2460text.
2461
Bram Moolenaarb2a460d2007-05-12 15:16:37 +00002462GUI: When there are left and right scrollbars, ":tabedit" kept them instead of
Bram Moolenaard2cec5b2006-03-28 21:08:56 +00002463using the one that isn't needed.
Bram Moolenaar04a9d452006-03-27 21:03:26 +00002464
Bram Moolenaare2f98b92006-03-29 21:18:24 +00002465Using "gP" to replace al the text could leave the cursor below the last line,
2466causing ml_get errors.
2467
2468When 'cursorline' is set don't use the highlighting when Visual mode is
2469active, otherwise it's difficult to see the selected area.
2470
2471The matchparen plugin restricts the search to 100 lines, to avoid a long delay
2472when there are closed folds.
2473
2474Sometimes using CTRL-X s to list spelling suggestions used text from another
2475line.
2476
2477Win32: Set the default for 'isprint' back to the wrong default "@,~-255",
2478because many people use Windows-1252 while 'encoding' is "latin1".
2479
Bram Moolenaar910f66f2006-04-05 20:41:53 +00002480GTK: Added a workaround for gvim crashing when used over an untrusted ssh
2481link, caused by GTK doing something nasty. (Ed Catmur)
2482
2483Win32: The font used for the tab page labels is too big. Use the system menu
2484font. (George Reilly)
2485
2486Win32: Adjusting the window position and size to keep it on the screen didn't
2487work properly when the taskbar is on the left or top of the screen.
2488
2489The installman.sh and installml.sh scripts use ${10}, that didn't work with
2490old shells. And use "test -f" instead of "test -e".
2491
2492Win32: When 'encoding' was set in the vimrc then a directory argument for diff
2493mode didn't work.
2494
2495GUI: at the inputlist() prompt the cursorshape was adjusted as if the windows
2496were still at their old position.
2497
2498The parenmatch plugin didn't remember the highlighting per window.
2499
2500Using ":bd" for a buffer that's the current window in another tab page caused
2501a crash.
2502
2503For a new tab page the 'scroll' option wasn't set to a good default.
2504
2505Using an end offset for a search "/pat/e" didn't work properly for multi-byte
2506text. (Yukihiro Nakadaira)
2507
2508":s/\n/,/" doubled the text when used on the last line.
2509
2510When "search" is in 'foldopen' "[s" and "]s" now open folds.
2511
2512When using a numbered function "dict" can be omitted, but "self" didn't work
2513then. Always add FC_DICT to the function flags when it's part of a
2514dictionary.
2515
2516When "--remote-tab" executes locally it left an empty tab page.
2517
2518"gvim -u NONE", ":set cursorcolumn", "C" in the second line didn't update
2519text. Do update further lines even though the "$" is displayed.
2520
2521VMS: Support GTK better, also enable +clientserver. (Zoltan Arpadffy)
2522
2523When highlighting of statusline or tabline is changed there was no redraw to
2524show the effect.
2525
2526Mac: Added "CFBundleIdentifier" to infplist.xml.
2527
2528Added tabpage-local variables t:var.
2529
2530Win32: Added double-click in tab pages line creates new tab. (Yegappan
2531Lakshmanan)
2532
2533Motif: Added GUI tab pages line. (Yegappan Lakshmanan)
2534
2535Fixed crash when 'lines' was set to 1000 in a modeline.
2536
2537When init_spellfile() finds a writable directory in 'runtimepath' but it
2538doesn't contain a "spell" directory, create one.
2539
2540Win32: executable() also finds "xxd" in the directory where Vim was started,
2541but "!xxd" doesn't work. Append the Vim starting directory to $PATH.
2542
2543The tab page labels are shortened, directory names are reduced to a single
2544letter by default. Added the pathshorten() function to allow a user to do the
2545same.
2546
2547":saveas" now resets 'readonly' if the file was successfully written.
2548
2549Set $MYVIMRC file to the first found .vimrc file.
2550Set $MYGVIMRC file to the first found .gvimrc file.
2551Added menu item "Startup Settings" that edits the $MYVIMRC file
2552
2553Added matcharg().
2554
2555Error message E745 appeared twice. Renamed one to E786.
2556
2557Fixed crash when using "au BufRead * Sexplore" and doing ":help". Was wiping
2558out a buffer that's still in a window.
2559
2560":hardcopy" resulted in an error message when 'encoding' is "utf-8" and
2561'printencoding' is empty. Now it assumes latin1. (Mike Williams)
2562
2563The check for the toolbar feature for Motif, depending on certain included
2564files, wasn't detailed enough, causing building to fail in gui_xmebw.c.
2565
2566Using CTRL-E in Insert mode completion after CTRL-P inserted the first match
2567instead of the original text.
2568
2569When displaying a UTF-8 character with a zero lower byte Vim might think the
2570previous character is double-wide.
2571
2572The "nbsp" item of 'listchars' didn't work when 'encoding' was utf-8.
2573
2574Motif: when Xm/xpm.h is missing gui_xmebw.c would not compile.
2575HAVE_XM_UNHIGHLIGHTT_H was missing a T.
2576
2577Mac: Moved the .icns files into src/os_mac_rsrc, so that they can all be
2578copied at once. Adjusted the Info.plist file for three icons.
2579
2580When Visual mode is active while switching to another tabpage could get ml_get
2581errors.
2582
2583When 'list' is set, 'nowrap' the $ in the first column caused 'cursorcolumn'
2584to move to the right.
2585
2586When a line wraps, 'cursorcolumn' was never displayed past the end of the
2587line.
2588
Bram Moolenaar7b89edc2006-04-06 20:21:51 +00002589'autochdir' was only available when compiled with NetBeans and GUI. Now it's
2590a separate feature, also available in the "big" version.
2591
2592Added CTRL-W gf: open file under cursor in new tab page.
2593
2594When using the menu in the tab pages line, "New Tab" opens the new tab before
2595where the click was. Beyond the labels the new tab appears at the end instead
2596of after the current tab page.
2597
Bram Moolenaar61660ea2006-04-07 21:40:07 +00002598Inside a mapping with an expression getchar() could not be used.
2599
2600When vgetc is used recursively vgetc_busy protects it from being used
2601recursively. But after a ":normal" command the protection was reset.
2602
2603":s/a/b/n" didn't work when 'modifiable' was off.
2604
2605When $VIMRUNTIME includes a multi-byte character then rgb.txt could not be
2606found. (Yukihiro Nakadaira)
2607
2608":mkspell" didn't work correctly for non-ASCII affix flags when conversion is
2609needed on the spell file.
2610
2611glob('/dir/\$ABC/*') didn't work.
2612
Bram Moolenaarc6fe9192006-04-09 21:54:49 +00002613When using several tab pages and changing 'cmdheight' the display could become
2614messed up. Now store the value of 'cmdheight' separately for each tab page.
2615
Bram Moolenaar779b74b2006-04-10 14:55:34 +00002616The user of the Enter key while the popup menu is visible was still confusing.
2617Now use Enter to select the match after using a cursor key.
2618
2619Added "usetab" to 'switchbuf'.
2620
Bram Moolenaar4c3f5362006-04-11 21:38:50 +00002621
2622--- fixes and changes since Vim 7.0d ---
2623
2624Added CTRL-W T: move a window to a new tab page.
2625
2626Using CTRL-X s in Insert mode to complete spelling suggestions and using BS
2627deleted characters before the bad word.
2628
2629A few small fixes for the VMS makefile. (Zoltan Arpadffy)
2630
2631With a window of 91 lines 45 cols, ":vsp" scrolled the window. Copy w_wrow
2632when splitting a window and skip setting the height when it's already at the
2633right value.
2634
2635Using <silent> in a mapping with a shell command and the GUI caused redraw
2636to use wrong attributes.
2637
2638Win32: Using MSVC 4.1 for install.exe resulted in the start menu items to be
2639created in the administrator directory instead of "All Users". Define the
2640CSIDL_ items if they are missing.
2641
Bram Moolenaar18144c82006-04-12 21:52:12 +00002642Motif: The GUI tabline did not use the space above the right scrollbar. Work
2643around a bug in the Motif library. (Yegappan Lakshmanan)
2644
2645The extra files for XML Omni completion are now also installed.
2646|xml-omni-datafile|
2647
2648GTK GUI: when 'm' is missing from 'guioptions' during startup and pressing
2649<F10> GTK produced error messages. Now do create the menu but disable it just
2650after the first gui_mch_update().
2651
2652":mkspell" doesn't work well with the Hungarian dictionary from the Hunspell
2653project. Back to the Myspell dictionary.
2654
2655In help files hide the | used around tags.
2656
2657Renamed pycomplete to pythoncomplete.
2658
2659Added "tabpages" to 'sessionoptions'.
2660
2661When 'guitablabel' is set the effect wasn't visible right away.
2662
2663Fixed a few 'cindent' errors.
2664
Bram Moolenaar7fc904b2006-04-13 20:37:35 +00002665When completing menu names, e.g., after ":emenu", don't sort the entries but
2666keep them in the original order.
2667
2668Fixed a crash when editing a directory in diff mode. Don't trigger
2669autocommands when executing the diff command.
2670
2671Getting a keystroke could get stuck if 'encoding' is a multi-byte encoding and
2672typing a special key.
2673
2674When 'foldignore' is set the folds were not updated right away.
Bram Moolenaar4c3f5362006-04-11 21:38:50 +00002675
Bram Moolenaar9e54a0e2006-04-14 20:42:25 +00002676When a list is indexed with [a : b] and b was greater than the length an error
Bram Moolenaarb21e5842006-04-16 18:30:08 +00002677message was given. Now silently truncate the result.
Bram Moolenaar9e54a0e2006-04-14 20:42:25 +00002678
2679When using BS during Insert mode completion go back to the original text, so
2680that CTRL-N selects the first matching entry.
2681
Bram Moolenaarb21e5842006-04-16 18:30:08 +00002682Added the 'M' flag to 'cinoptions'.
Bram Moolenaar9e54a0e2006-04-14 20:42:25 +00002683
2684Win32: Make the "gvim --help" window appear in the middle of the screen
2685instead of at an arbitrary position. (Randall W. Morris)
2686
Bram Moolenaar8cacf352006-04-15 20:27:24 +00002687Added gettabwinvar() and settabwinvar().
2688
2689Command line completion: pressing <Tab> after ":e /usr/*" expands the whole
2690tree, because it becomes ":e /usr/**". Don't add a star if there already is
2691one.
2692
Bram Moolenaarb21e5842006-04-16 18:30:08 +00002693Added grey10 to grey90 to all GUIs, so that they can all be used for
2694initializing highlighting. Use grey40 for CursorColumn and CursorLine when
2695'background' is "dark".
2696
2697When reading a file and using iconv for conversion, an incomplete byte
2698sequence at the end caused problems. (Yukihiro Nakadaira)
2699
2700
2701--- fixes and changes since Vim 7.0e ---
2702
2703Default color for MatchParen when 'background' is "dark" is now DarkCyan.
2704
2705":syn off" had to be used twice in a file that sets 'syntax' in a modeline.
2706(Michael Geddes)
2707
2708When using ":vsp" or ":sp" the available space wasn't used equally between
2709windows. (Servatius Brandt)
2710
Bram Moolenaara93fa7e2006-04-17 22:14:47 +00002711Expanding <cWORD> on a trailing blank resulted in the first word in the line
2712if 'encoding' is a multi-byte encoding.
2713
2714Spell checking: spellbadword() didn't see a missing capital in the first word
2715of a line. Popup menu now only suggest the capitalized word when appropriate.
2716
Bram Moolenaarf9393ef2006-04-24 19:47:27 +00002717When using whole line completion CTRL-L moves through the matches but it
Bram Moolenaarc1e37902006-04-18 21:55:01 +00002718didn't work when at the original text.
2719
2720When completion finds the longest match, don't go to the first match but stick
2721at the original text, so that CTRL-N selects the first one.
2722
2723Recognize "zsh-beta" like "zsh" for setting the 'shellpipe' default. (James
2724Vega)
2725
2726When using ":map <expr>" and the expression results in something with a
2727special byte (NUL or CSI) then it didn't work properly. Now escape special
2728bytes.
2729
2730The default Visual highlighting for a color xterm with 8 colors was a magenta
2731background, which made magenta text disappear. Now use reverse in this
2732specific situation.
2733
2734After completing the longest match "." didn't insert the same text. Repeating
2735also didn't work correctly for multi-byte text.
2736
2737When using Insert mode completion and BS the whole word that was completed
2738would result in all possible matches. Now stop completion. Also fixes that
2739for spell completion the previous word was deleted.
2740
2741GTK: When 'encoding' is "latin1" and using non-ASCII characters in a file name
2742the tab page label was wrong and an error message would be given.
2743
2744The taglist() function could hang on a tags line with a non-ASCII character.
2745
Bram Moolenaar8424a622006-04-19 21:23:36 +00002746Win32: When 'encoding' differs from the system encoding tab page labels with
2747non-ASCII characters looked wrong. (Yegappan Lakshmanan)
2748
Bram Moolenaarfc1421e2006-04-20 22:17:20 +00002749Motif: building failed when Xm/Notebook.h doesn't exist. Added a configure
2750check, disable GUI tabline when it's missing.
2751
2752Mac: When compiled without multi-byte feature the clipboard didn't work.
2753
2754It was possible to switch to another tab page when the cmdline window is open.
2755
2756Completion could hang when 'lines' is 6 and a preview window was opened.
2757
Bram Moolenaar57657d82006-04-21 22:12:41 +00002758Added CTRL-W gF: open file under cursor in new tab page and jump to the line
2759number following the file name.
Bram Moolenaareb3593b2006-04-22 22:33:57 +00002760Added 'guitabtooltip'. Implemented for Win32 (Yegappan Lakshmanan).
Bram Moolenaar57657d82006-04-21 22:12:41 +00002761
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00002762Added "throw" to 'debug' option: throw an exception for error messages even
Bram Moolenaar57657d82006-04-21 22:12:41 +00002763whey they would otherwise be ignored.
2764
2765When 'keymap' is set and a line contains an invalid entry could get a "No
2766mapping found" warning instead of a proper error message.
2767
2768Motif: default to using XpmAttributes instead of XpmAttributes_21.
2769
Bram Moolenaareb3593b2006-04-22 22:33:57 +00002770A few more changes for 64 bit MS-Windows. (George Reilly)
2771
2772Got ml_get errors when doing "o" and selecting in other window where there are
Bram Moolenaarfcb7ab62010-07-20 11:16:17 +02002773less lines shorter than the cursor position in the other window. ins_mouse()
Bram Moolenaareb3593b2006-04-22 22:33:57 +00002774was using position in wrong window.
2775
2776Win32 GUI: Crash when giving a lot of messages during startup. Allocate twice
2777as much memory for the dialog template.
2778
2779Fixed a few leaks and wrong pointer use reported by coverity.
2780
2781When showing menus the mode character was sometimes wrong.
Bram Moolenaarfc1421e2006-04-20 22:17:20 +00002782
Bram Moolenaarf9393ef2006-04-24 19:47:27 +00002783Added feedkeys(). (Yakov Lerner)
2784
2785Made matchlist() always return all submatches.
2786
2787Moved triggering QuickFixCmdPost to before jumping to the first location.
2788
2789Mac: Added the 'macatsui' option as a temporary work around for text drawing
2790problems.
2791
2792Line completion on "/**" gave error messages when scanning an unloaded buffer.
Bram Moolenaar4a85b412006-04-23 22:40:29 +00002793
Bram Moolenaar551dbcc2006-04-25 22:13:59 +00002794--- fixes and changes since Vim 7.0f ---
2795
2796Win32: The height of the tab page labels is now adjusted to the font height.
2797(Yegappan Lakshmanan)
2798
2799Win32: selecting the tab label was off by one. (Yegappan Lakshmanan)
Bram Moolenaar4a85b412006-04-23 22:40:29 +00002800
Bram Moolenaar437df8f2006-04-27 21:47:44 +00002801Added tooltips for Motif and GTK tab page labels. (Yegappan Lakshmanan)
Bram Moolenaarf193fff2006-04-27 00:02:13 +00002802
2803When 'encoding' is "utf-8" then ":help spell" would report an illegal byte and
2804the file was not converted from latin1 to utf-8. Now retry with latin1 if
2805reading the file as utf-8 results in illegal bytes.
2806
Bram Moolenaarc93b83a2006-04-29 22:02:36 +00002807Escape the argument of feedkeys() before putting it in the typeahead buffer.
Bram Moolenaarf193fff2006-04-27 00:02:13 +00002808(Yukihiro Nakadaira)
2809
Bram Moolenaarc93b83a2006-04-29 22:02:36 +00002810Added the v:char variable for evaluating 'formatexpr'. (Yukihiro Nakadaira)
Bram Moolenaarf193fff2006-04-27 00:02:13 +00002811
2812With 8 colors Search highlighting combined with Statement highlighted text
2813made the text disappear.
2814
2815VMS: avoid warnings for redefining MAX and MIN. (Zoltan Arpadffy)
2816
2817When 'virtualedit' includes "onemore", stopping Visual selection would still
2818move the cursor left.
2819
2820Prevent that using CTRL-R = in Insert mode can start Visual mode.
2821
Bram Moolenaar49325942007-05-10 19:19:59 +00002822Fixed a crash that occurred when in Insert mode with completion active and a
Bram Moolenaarf193fff2006-04-27 00:02:13 +00002823mapping caused edit() to be called recursively.
2824
2825When using CTRL-O in Insert mode just after the last character while
2826'virtualedit' is "all", then typing CR moved the last character to the next
2827line. Call coladvance() before starting the new line.
2828
Bram Moolenaarc93b83a2006-04-29 22:02:36 +00002829When using |:shell| ignore clicks on the tab page labels. Also when using the
2830command line window.
Bram Moolenaarf193fff2006-04-27 00:02:13 +00002831
Bram Moolenaarc93b83a2006-04-29 22:02:36 +00002832When 'eventignore' is "all" then adding more to ignoring some events, e.g.,
2833for ":vimgrep", would actually trigger more events.
Bram Moolenaarf193fff2006-04-27 00:02:13 +00002834
2835Win32: When a running Vim uses server name GVIM1 then "gvim --remote fname"
Bram Moolenaarc93b83a2006-04-29 22:02:36 +00002836didn't find it. When looking for a server name that doesn't end in a digit
2837and it is not found then use another server with that name and a number (just
2838like on Unix).
Bram Moolenaarf193fff2006-04-27 00:02:13 +00002839
2840When using "double" in 'spellsuggest' when the language doesn't support sound
2841folding resulted in too many suggestions.
2842
Bram Moolenaarb2a460d2007-05-12 15:16:37 +00002843Win32: Dropping a shortcut on the Vim icon didn't edit the referred file like
Bram Moolenaarf193fff2006-04-27 00:02:13 +00002844editing it in another way would. Use fname_expand() in buf_set_name() instead
2845of simply make the file name a full path.
2846
Bram Moolenaar437df8f2006-04-27 21:47:44 +00002847Using feedkeys() could cause Vim to hang.
2848
2849When closing another tab page from the tabline menu in Insert mode the tabline
2850was not updated right away.
2851
2852The syntax menu didn't work in compatible mode.
2853
Bram Moolenaarc93b83a2006-04-29 22:02:36 +00002854After using ":tag id" twice with the same "id", ":ts" and then ":pop" a ":ts"
Bram Moolenaar437df8f2006-04-27 21:47:44 +00002855reported no matching tag. Clear the cached tag name.
2856
2857In Insert mode the matchparen plugin highlighted the wrong paren when there is
2858a string just next to a paren.
2859
Bram Moolenaar8ea91232006-04-28 22:41:43 +00002860GTK: After opening a new tab page the text was sometimes not drawn correctly.
2861Flush output and catch up with events when updating the tab page labels.
2862
Bram Moolenaarc93b83a2006-04-29 22:02:36 +00002863In the GUI, using CTRL-W q to close the last window of a tab page could cause
2864a crash.
Bram Moolenaar8ea91232006-04-28 22:41:43 +00002865
2866GTK: The tab pages line menu was not converted from 'encoding' to utf-8.
2867
Bram Moolenaarc93b83a2006-04-29 22:02:36 +00002868Typing a multi-byte character or a special key at the hit-enter prompt did not
2869work.
2870
2871When 'virtualedit' contains "onemore" CTRL-O in Insert mode still moved the
2872cursor left when it was after the end of the line, even though it's allowed to
2873be there.
2874
Bram Moolenaarc9b4b052006-04-30 18:54:39 +00002875Added test for using tab pages.
2876
2877towupper() and towlower() were not used, because of checking for
2878__STDC__ISO_10646__ instead of __STDC_ISO_10646__. (sertacyildiz)
2879
2880For ":map <expr>" forbid changing the text, jumping to another buffer and
2881using ":normal" to avoid nasty side effects.
2882
Bram Moolenaard68071d2006-05-02 22:08:30 +00002883--- fixes and changes since Vim 7.0g ---
2884
2885Compilation error on HP-UX, use of "dlerr" must be inside a #ifdef.
2886(Gary Johnson)
2887
2888Report +reltime feature in ":version" output.
2889
2890The tar and zip plugins detect failure to get the contents of the archive and
2891edit the file as-is.
2892
2893When the result of 'guitablabel' is empty fall back to the default label.
2894
2895Fixed crash when using ":insert" in a while loop and missing "endwhile".
2896
2897"gt" and other commands could move to another window when |textlock| active
2898and when the command line window was open.
2899
2900Spell checking a file with syntax highlighting and a bad word at the end of
2901the line is ignored could make "]s" hang.
2902
2903Mac: inputdialog() didn't work when compiled with big features.
2904
2905Interrupting ":vimgrep" while it is busy loading a file left a modified and
2906hidden buffer behind. Use enter_cleanup() and leave_cleanup() around
2907wipe_buffer().
2908
2909When making 'keymap' empty the b:keymap_name variable wasn't deleted.
2910
2911Using CTRL-N that searches a long time, pressing space to interrupt the
2912searching and accept the first match, the popup menu was still displayed
2913briefly.
2914
2915When setting the Vim window height with -geometry the 'window' option could be
2916at a value that makes CTRL-F behave differently.
2917
Bram Moolenaar8b2d9c42006-05-03 21:28:47 +00002918When opening a quickfix window in two tabs they used different buffers,
2919causing redrawing problems later. Now use the same buffer for all quickfix
2920windows. (Yegappan Lakshmanan)
2921
2922When 'mousefocus' is set moving the mouse to the text tab pages line would
2923move focus to the first window. Also, the mouse pointer would jump to the
2924active window.
2925
2926In a session file, when an empty buffer is wiped out, do this silently.
2927
2928When one window has the cursor on the last line and another window is resized
2929to make that window smaller, the cursor line could go below the displayed
2930lines. In win_new_height() subtract one from the available space.
2931Also avoid that using "~" lines makes the window scroll down.
2932
2933Mac: When sourcing the "macmap.vim" script and then finding a .vimrc file the
2934'cpo' option isn't set properly, because it was already set and restored.
2935Added the <special> argument to ":map", so that 'cpo' doesn't need to be
2936changed to be able to use <> notation. Also do this for ":menu" for
2937consistency.
2938
2939When using "/encoding=abc" in a spell word list, only "bc" was used.
2940
Bram Moolenaar54a709e2006-05-04 21:57:11 +00002941When 'encoding' and 'printencoding' were both "utf-8" then ":hardcopy" didn't
2942work. (Mike Williams)
2943
2944Mac: When building with "--disable-gui" the install directory would still be
2945"/Applications" and Vim.app would be installed. Now install in /usr/local as
2946usual for a console application.
2947
2948GUI: when doing completion and there is one match and still searching for
2949another, the cursor was displayed at the end of the line instead of after the
2950match. Now show the cursor after the match while still searching for matches.
2951
2952GUI: The mouse shape changed on the statusline even when 'mouse' was empty and
Bram Moolenaarfcb7ab62010-07-20 11:16:17 +02002953they can't be dragged.
Bram Moolenaar54a709e2006-05-04 21:57:11 +00002954
2955GTK2: Selecting a button in the confirm() dialog with Tab or cursor keys and
2956hitting Enter didn't select that button. Removed GTK 1 specific code. (Neil
2957Bird)
2958
2959When evaluating 'balloonexpr' takes a long time it could be called
2960recursively, which could cause a crash.
2961
2962exists() could not be used to detect whether ":2match" is supported. Added a
2963check for it specifically.
2964
Bram Moolenaar96351572006-05-05 21:16:59 +00002965GTK1: Tab page labels didn't work. (Yegappan Lakshmanan)
2966
2967Insert mode completion: When finding matches use 'ignorecase', but when adding
2968matches to the list don't use it, so that all words with different case are
2969added, "word", "Word" and "WORD".
2970
2971When 'cursorline' and 'hlsearch' are set and the search pattern is "x\n"
2972the rest of the line was highlighted as a match.
2973
2974Cursor moved while evaluating 'balloonexpr' that invokes ":isearch" and
2975redirects the output. Don't move the cursor to the command line if msg_silent
2976is set.
2977
2978exists() ignored text after a function name and option name, which could
2979result in false positives.
2980
2981exists() ignored characters after the recognized word, which can be wrong when
2982using a name with non-keyword characters. Specifically, these calls no longer
2983allow characters after the name: exists('*funcname') exists('*funcname(...')
2984exists('&option') exists(':cmd') exists('g:name') exists('g:name[n]')
2985exists('g:name.n')
2986
Bram Moolenaar2f567ab2006-05-06 21:47:30 +00002987Trigger the TabEnter autocommand only after entering the current window of the
2988tab page, otherwise the commands are executed with an invalid current window.
2989
2990Win32: When using two monitors and Vim is on the second monitor, changing the
2991width of the Vim window could make it jump to the first monitor.
2992
2993When scrolling back at the more prompt and the quitting a line of text would
2994be left behind when 'cmdheight' is 2 or more.
2995
Bram Moolenaar1423b9d2006-05-07 15:16:06 +00002996Fixed a few things for Insert mode completion, especially when typing BS,
2997CTRL-N or a printable character while still searching for matches.
2998
Bram Moolenaarf193fff2006-04-27 00:02:13 +00002999
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00003000==============================================================================
Bram Moolenaar7a329912010-05-21 12:05:36 +02003001VERSION 7.1 *version-7.1* *version7.1*
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00003002
3003This section is about improvements made between version 7.0 and 7.1.
3004
3005This is a bug-fix release, there are no fancy new features.
3006
3007
3008Changed *changed-7.1*
3009-------
3010
3011Added setting 'mouse' in vimrc_example.vim.
3012
3013When building with MZscheme also look for include files in the "plt"
3014subdirectory. That's where they are for FreeBSD.
3015
Bram Moolenaar49325942007-05-10 19:19:59 +00003016The Ruby interface module is now called "Vim" instead of "VIM". But "VIM" is
3017an alias, so it's backwards compatible. (Tim Pope)
3018
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00003019
3020Added *added-7.1*
3021-----
3022
3023New syntax files:
Bram Moolenaar49325942007-05-10 19:19:59 +00003024 /var/log/messages (Yakov Lerner)
Bram Moolenaarb2a460d2007-05-12 15:16:37 +00003025 Autohotkey (Nikolai Weibull)
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00003026 AutoIt v3 (Jared Breland)
3027 Bazaar commit file "bzr". (Dmitry Vasiliev)
Bram Moolenaar49325942007-05-10 19:19:59 +00003028 Cdrdao TOC (Nikolai Weibull)
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00003029 Cmusrc (Nikolai Weibull)
Bram Moolenaarb2a460d2007-05-12 15:16:37 +00003030 Conary recipe (rPath Inc)
3031 Framescript (Nikolai Weibull)
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00003032 FreeBasic (Mark Manning)
3033 Hamster (David Fishburn)
3034 IBasic (Mark Manning)
Bram Moolenaarb2a460d2007-05-12 15:16:37 +00003035 Initng (Elan Ruusamae)
Bram Moolenaar49325942007-05-10 19:19:59 +00003036 Ldapconf (Nikolai Weibull)
3037 Litestep (Nikolai Weibull)
Bram Moolenaarb2a460d2007-05-12 15:16:37 +00003038 Privoxy actions file (Doug Kearns)
3039 Streaming Descriptors "sd" (Puria Nafisi Azizi)
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00003040
3041New tutor files:
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00003042 Czech (Lubos Turek)
Bram Moolenaarb2a460d2007-05-12 15:16:37 +00003043 Hungarian (Arpad Horvath)
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00003044 Turkish (Serkan kkk)
3045 utf-8 version of Greek tutor.
3046 utf-8 version of Russian tutor.
3047 utf-8 version of Slowak tutor.
3048
3049New filetype plugins:
3050 Bst (Tim Pope)
3051 Cobol (Tim Pope)
3052 Fvwm (Gautam Iyer)
3053 Hamster (David Fishburn)
3054 Django HTML template (Dave Hodder)
3055
3056New indent files:
3057 Bst (Tim Pope)
3058 Cobol (Tim Pope)
3059 Hamster (David Fishburn)
3060 Django HTML template (Dave Hodder)
3061 Javascript
3062 JSP (David Fishburn)
3063
3064New keymap files:
3065 Bulgarian (Boyko Bantchev)
3066 Mongolian (Natsagdorj Shagdar)
3067 Thaana (Ibrahim Fayaz)
3068 Vietnamese (Samuel Thibault)
3069
3070Other new runtime files:
3071 Ada support files. (Neil Bird, Martin Krischik)
3072 Slovenian menu translations (Mojca Miklavec)
3073 Mono C# compiler plugin (Jarek Sobiecki)
3074
3075
3076Fixed *fixed-7.1*
3077-----
3078
3079Could not build the Win32s version. Added a few structure definitions in
3080src/gui_w32.c
3081
3082
3083Patch 7.0.001
3084Problem: ":set spellsuggest+=10" does not work. (Suresh Govindachar)
3085Solution: Add P_COMMA to the 'spellsuggest' flags.
3086Files: src/option.c
3087
3088Patch 7.0.002
3089Problem: C omni completion has a problem with tags files with a path
3090 containing "#" or "%".
3091Solution: Escape these characters. (Sebastian Baberowski)
3092Files: runtime/autoload/ccomplete.vim
3093
3094Patch 7.0.003
3095Problem: GUI: clicking in the lower part of a label in the tab pages line
3096 while 'mousefocus' is set may warp the mouse pointer. (Robert
3097 Webb)
3098Solution: Check for a negative mouse position.
3099Files: src/gui.c
3100
3101Patch 7.0.004
3102Problem: Compiler warning for debug_saved used before set. (Todd Blumer)
3103Solution: Remove the "else" for calling save_dbg_stuff().
3104Files: src/ex_docmd.c
3105
3106Patch 7.0.005 (extra)
3107Problem: Win32: The installer doesn't remove the "autoload" and "spell"
3108 directories. (David Fishburn)
3109Solution: Add the directories to the list to be removed.
3110Files: nsis/gvim.nsi
3111
3112Patch 7.0.006
3113Problem: Mac: "make shadow" doesn't make a link for infplist.xml. (Axel
3114 Kielhorn)
3115Solution: Make the link.
3116Files: src/Makefile
3117
3118Patch 7.0.007
3119Problem: AIX: compiling fails for message.c. (Ruediger Hornig)
3120Solution: Move the #if outside of memchr().
3121Files: src/message.c
3122
3123Patch 7.0.008
3124Problem: Can't call a function that uses both <SID> and {expr}. (Thomas)
3125Solution: Check both the expanded and unexpanded name for <SID>.
3126Files: src/eval.c
3127
3128Patch 7.0.009
3129Problem: ml_get errors with both 'sidescroll' and 'spell' set.
3130Solution: Use ml_get_buf() instead of ml_get(), get the line from the right
3131 buffer, not the current one.
3132Files: src/spell.c
3133
3134Patch 7.0.010
3135Problem: The spellfile plugin required typing login name and password.
3136Solution: Use "anonymous" and "vim7user" by default. No need to setup a
3137 .netrc file.
3138Files: runtime/autoload/spellfile.vim
3139
3140Patch 7.0.011
3141Problem: Can't compile without the folding and with the eval feature.
3142Solution: Add an #ifdef. (Vallimar)
3143Files: src/option.c
3144
3145Patch 7.0.012
3146Problem: Using the matchparen plugin, moving the cursor in Insert mode to a
3147 shorter line that ends in a brace, changes the preferred column
3148Solution: Use winsaveview()/winrestview() instead of getpos()/setpos().
3149Files: runtime/plugin/matchparen.vim
3150
3151Patch 7.0.013
3152Problem: Insert mode completion: using CTRL-L to add an extra character
3153 also deselects the current match, making it impossible to use
3154 CTRL-L a second time.
3155Solution: Keep the current match. Also make CTRL-L work at the original
3156 text, using the first displayed match.
3157Files: src/edit.c
3158
3159Patch 7.0.014
3160Problem: Compiling gui_xmebw.c fails on Dec Alpha Tru64. (Rolfe)
3161Solution: Disable some code for Motif 1.2 and older.
3162Files: src/gui_xmebw.c
3163
3164Patch 7.0.015
3165Problem: Athena: compilation problems with modern compiler.
3166Solution: Avoid type casts for lvalue. (Alexey Froloff)
3167Files: src/gui_at_fs.c
3168
3169Patch 7.0.016
3170Problem: Printing doesn't work for "dec-mcs" encoding.
3171Solution: Add "dec-mcs", "mac-roman" and "hp-roman8" to the list of
3172 recognized 8-bit encodings. (Mike Williams)
3173Files: src/mbyte.c
3174
3175Patch 7.0.017 (after 7.0.014)
3176Problem: Linking gui_xmebw.c fails on Dec Alpha Tru64. (Rolfe)
3177Solution: Adjust defines for Motif 1.2 and older.
3178Files: src/gui_xmebw.c
3179
3180Patch 7.0.018
3181Problem: VMS: plugins are not loaded on startup.
3182Solution: Remove "**" from the path. (Zoltan Arpadffy)
3183Files: src/main.c
3184
3185Patch 7.0.019
3186Problem: Repeating "VjA789" may cause a crash. (James Vega)
3187Solution: Check the cursor column after moving it to another line.
3188Files: src/ops.c
3189
3190Patch 7.0.020
3191Problem: Crash when using 'mousefocus'. (William Fulton)
3192Solution: Make buffer for mouse coordinates 2 bytes longer. (Juergen Weigert)
3193Files: src/gui.c
3194
3195Patch 7.0.021
3196Problem: Crash when using "\\[" and "\\]" in 'errorformat'. (Marc Weber)
3197Solution: Check for valid submatches after matching the pattern.
3198Files: src/quickfix.c
3199
3200Patch 7.0.022
3201Problem: Using buffer.append() in Ruby may append the line to the wrong
3202 buffer. (Alex Norman)
3203Solution: Properly switch to the buffer to do the appending. Also for
3204 buffer.delete() and setting a buffer line.
3205Files: src/if_ruby.c
3206
3207Patch 7.0.023
3208Problem: Crash when doing spell completion in an empty line and pressing
3209 CTRL-E.
3210Solution: Check for a zero pointer. (James Vega)
3211 Also handle a situation without a matching pattern better, report
3212 "No matches" instead of remaining in undefined CTRL-X mode. And
3213 get out of CTRL-X mode when typing a letter.
3214Files: src/edit.c
3215
3216Patch 7.0.024
3217Problem: It is possible to set arbitrary "v:" variables.
3218Solution: Disallow setting "v:" variables that are not predefined.
3219Files: src/eval.c
3220
3221Patch 7.0.025
3222Problem: Crash when removing an element of a:000. (Nikolai Weibull)
3223Solution: Mark the a:000 list with VAR_FIXED.
3224Files: src/eval.c
3225
3226Patch 7.0.026
3227Problem: Using libcall() may show an old error.
3228Solution: Invoke dlerror() to clear a previous error. (Yukihiro Nakadaira)
3229Files: src/os_unix.c
3230
3231Patch 7.0.027 (extra)
3232Problem: Win32: When compiled with SNIFF gvim may hang on exit.
3233Solution: Translate and dispatch the WM_USER message. (Mathias Michaelis)
3234Files: src/gui_w48.c
3235
3236Patch 7.0.028 (extra)
3237Problem: OS/2: Vim doesn't compile with gcc 3.2.1.
3238Solution: Add argument to after_pathsep(), don't define vim_handle_signal(),
3239 define HAVE_STDARG_H. (David Sanders)
3240Files: src/os_unix.c, src/vim.h, src/os_os2_cfg.h
3241
3242Patch 7.0.029
3243Problem: getchar() may not position the cursor after a space.
3244Solution: Position the cursor explicitly.
3245Files: src/eval.c
3246
3247Patch 7.0.030
3248Problem: The ":compiler" command can't be used in a FileChangedRO event.
3249 (Hari Krishna Dara)
3250Solution: Add the CMDWIN flag to the ":compiler" command.
3251Files: src/ex_cmds.h
3252
3253Patch 7.0.031
3254Problem: When deleting a buffer the buffer-local mappings for Select mode
3255 remain.
3256Solution: Add the Select mode bit to MAP_ALL_MODES. (Edwin Steiner)
3257Files: src/vim.h
3258
3259Patch 7.0.032 (extra, after 7.0.027)
3260Problem: Missing semicolon.
3261Solution: Add the semicolon.
3262Files: src/gui_w48.c
3263
3264Patch 7.0.033
3265Problem: When pasting text, with the menu or CTRL-V, autoindent is removed.
3266Solution: Use "x<BS>" to avoid indent to be removed. (Benji Fisher)
3267Files: runtime/autoload/paste.vim
3268
3269Patch 7.0.034
3270Problem: After doing completion and typing more characters or using BS
3271 repeating with "." didn't work properly. (Martin Stubenschrott)
3272Solution: Don't put BS and other characters in the redo buffer right away,
3273 do this when finishing completion.
3274Files: src/edit.c
3275
3276Patch 7.0.035
3277Problem: Insert mode completion works when typed but not when replayed from
3278 a register. (Hari Krishna Dara)
3279 Also: Mappings for Insert mode completion don't always work.
3280Solution: When finding a non-completion key in the input don't interrupt
3281 completion when it wasn't typed.
3282 Do use mappings when checking for typeahead while still finding
3283 completions. Avoids that completion is interrupted too soon.
3284 Use "compl_pending" in a different way.
3285Files: src/edit.c
3286
3287Patch 7.0.036
3288Problem: Can't compile with small features and syntax highlighting or the
3289 diff feature.
3290Solution: Define LINE_ATTR whenever syntax highlighting or the diff feature
3291 is enabled.
3292Files: src/screen.c
3293
3294Patch 7.0.037
3295Problem: Crash when resizing the GUI window vertically when there is a line
3296 that doesn't fit.
3297Solution: Don't redraw while the screen data is invalid.
3298Files: src/screen.c
3299
3300Patch 7.0.038
3301Problem: When calling complete() from an Insert mode expression mapping
3302 text could be inserted in an improper way.
3303Solution: Make undo_allowed() global and use it in complete().
3304Files: src/undo.c, src/proto/undo.pro, src/eval.c
3305
3306Patch 7.0.039
3307Problem: Calling inputdialog() with a third argument in the console doesn't
3308 work.
3309Solution: Make a separate function for input() and inputdialog(). (Yegappan
3310 Lakshmanan)
3311Files: src/eval.c
3312
3313Patch 7.0.040
3314Problem: When 'cmdheight' is larger than 1 using inputlist() or selecting
3315 a spell suggestion with the mouse gets the wrong entry.
3316Solution: Start listing the first alternative on the last line of the screen.
3317Files: src/eval.c, src/spell.c
3318
3319Patch 7.0.041
3320Problem: cursor([1, 1]) doesn't work. (Peter Hodge)
3321Solution: Allow leaving out the third item of the list and use zero for the
3322 virtual column offset.
3323Files: src/eval.c
3324
3325Patch 7.0.042
3326Problem: When pasting a block of text in Insert mode Vim hangs or crashes.
3327 (Noam Halevy)
3328Solution: Avoid that the cursor is positioned past the NUL of a line.
3329Files: src/ops.c
3330
3331Patch 7.0.043
3332Problem: Using "%!" at the start of 'statusline' doesn't work.
3333Solution: Recognize the special item when the option is being set.
3334Files: src/option.c
3335
3336Patch 7.0.044
3337Problem: Perl: setting a buffer line in another buffer may result in
3338 changing the current buffer.
3339Solution: Properly change to the buffer to be changed.
3340Files: src/if_perl.xs
3341
3342Patch 7.0.045 (extra)
3343Problem: Win32: Warnings when compiling OLE version with MSVC 2005.
3344Solution: Move including vim.h to before windows.h. (Ilya Bobir)
3345Files: src/if_ole.cpp
3346
3347Patch 7.0.046
3348Problem: The matchparen plugin ignores parens in strings, but not in single
3349 quotes, often marked with "character".
3350Solution: Also ignore parens in syntax items matching "character".
3351Files: runtime/plugin/matchparen.vim
3352
3353Patch 7.0.047
3354Problem: When running configure the exit status is wrong.
3355Solution: Handle the exit status properly. (Matthew Woehlke)
3356Files: configure, src/configure
3357
3358Patch 7.0.048
3359Problem: Writing a compressed file fails when there are parens in the name.
3360 (Wang Jian)
3361Solution: Put quotes around the temp file name.
3362Files: runtime/autoload/gzip.vim
3363
3364Patch 7.0.049
3365Problem: Some TCL scripts are not recognized. (Steven Atkinson)
3366Solution: Check for "exec wish" in the file.
3367Files: runtime/scripts.vim
3368
3369Patch 7.0.050
3370Problem: After using the netbeans interface close command a stale pointer
3371 may be used.
3372Solution: Clear the pointer to the closed buffer. (Xaview de Gaye)
3373Files: src/netbeans.c
3374
3375Patch 7.0.051 (after 7.0.44)
3376Problem: The Perl interface doesn't compile or doesn't work properly.
3377Solution: Remove the spaces before #ifdef and avoid an empty line above it.
3378Files: src/if_perl.xs
3379
3380Patch 7.0.052
3381Problem: The user may not be aware that the Vim server allows others more
3382 functionality than desired.
3383Solution: When running Vim as root don't become a Vim server without an
3384 explicit --servername argument.
3385Files: src/main.c
3386
3387Patch 7.0.053
3388Problem: Shortening a directory name may fail when there are multi-byte
3389 characters.
3390Solution: Copy the correct bytes. (Titov Anatoly)
3391Files: src/misc1.c
3392
3393Patch 7.0.054
3394Problem: Mac: Using a menu name that only has a mnemonic or accelerator
3395 causes a crash. (Elliot Shank)
3396Solution: Check for an empty menu name. Also delete empty submenus that
3397 were created before detecting the error.
3398Files: src/menu.c
3399
3400Patch 7.0.055
3401Problem: ":startinsert" in a CmdwinEnter autocommand doesn't take immediate
3402 effect. (Bradley White)
3403Solution: Put a NOP key in the typeahead buffer. Also avoid that using
3404 CTRL-C to go back to the command line moves the cursor left.
3405Files: src/edit.c, src/ex_getln.c
3406
3407Patch 7.0.056
3408Problem: "#!something" gives an error message.
3409Solution: Ignore this line, so that it can be used in an executable Vim
3410 script.
3411Files: src/ex_docmd.c
3412
3413Patch 7.0.057 (extra, after 7.0.45)
3414Problem: Win32: Compilation problem with Borland C 5.5.
3415Solution: Include vim.h as before. (Mark S. Williams)
3416Files: src/if_ole.cpp
3417
3418Patch 7.0.058
Bram Moolenaarc236c162008-07-13 17:41:49 +00003419Problem: The gbk and gb18030 encodings are not recognized.
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00003420Solution: Add aliases to cp936. (Edward L. Fox)
3421Files: src/mbyte.c
3422
3423Patch 7.0.059
3424Problem: The Perl interface doesn't compile with ActiveState Perl 5.8.8.
3425Solution: Remove the __attribute__() items. (Liu Yubao)
3426Files: src/if_perl.xs
3427
3428Patch 7.0.060 (after 7.0.51)
3429Problem: Code for temporarily switching to another buffer is duplicated in
3430 quite a few places.
3431Solution: Use aucmd_prepbuf() and aucmd_restbuf() also when FEAT_AUTOCMD is
3432 not defined.
3433Files: src/buffer.c, src/eval.c, src/fileio.c, src/if_ruby.c,
3434 src/if_perl.xs, src/quickfix.c, src/structs.h
3435
3436Patch 7.0.061
3437Problem: Insert mode completion for Vim commands may crash if there is
3438 nothing to complete.
3439Solution: Instead of freeing the pattern make it empty, so that a "not
3440 found" error is given. (Yukihiro Nakadaira)
3441Files: src/edit.c
3442
3443Patch 7.0.062
3444Problem: Mac: Crash when using the popup menu for spell correction. The
3445 popup menu appears twice when letting go of the right mouse button
3446 early.
3447Solution: Don't show the popup menu on the release of the right mouse
3448 button. Also check that a menu pointer is actually valid.
3449Files: src/proto/menu.pro, src/menu.c, src/normal.c, src/term.c
3450
3451Patch 7.0.063
3452Problem: Tiny chance for a memory leak. (coverity)
3453Solution: Free pointer when next memory allocation fails.
3454Files: src/eval.c
3455
3456Patch 7.0.064
3457Problem: Using uninitialized variable. (Tony Mechelynck)
3458Solution: When not used set "temp" to zero. Also avoid a warning for
3459 "files" in ins_compl_dictionaries().
3460Files: src/edit.c
3461
3462Patch 7.0.065 (extra)
3463Problem: Mac: left-right movement of the scrollwheel causes up-down
3464 scrolling.
3465Solution: Ignore mouse wheel events that are not up-down. (Nicolas Weber)
3466Files: src/gui_mac.c
3467
3468Patch 7.0.066
3469Problem: After the popup menu for Insert mode completion overlaps the tab
3470 pages line it is not completely removed.
3471Solution: Redraw the tab pages line after removing the popup menu. (Ori
3472 Avtalion)
3473Files: src/popupmnu.c
3474
3475Patch 7.0.067
3476Problem: Undo doesn't always work properly when using "scim" input method.
3477 Undo is split up when using preediting.
3478Solution: Reset xim_has_preediting also when preedit_start_col is not
3479 MAXCOL. Don't split undo when <Left> is used while preediting.
3480 (Yukihiro Nakadaira)
3481Files: src/edit.c, src/mbyte.c
3482
3483Patch 7.0.068
3484Problem: When 'ignorecase' is set and using Insert mode completion,
3485 typing characters to change the list of matches, case is not
3486 ignored. (Hugo Ahlenius)
3487Solution: Store the 'ignorecase' flag with the matches where needed.
3488Files: src/edit.c, src/search.c, src/spell.c
3489
3490Patch 7.0.069
3491Problem: Setting 'guitablabel' to %!expand(\%) causes Vim to free an
3492 invalid pointer. (Kim Schulz)
3493Solution: Don't try freeing a constant string pointer.
3494Files: src/buffer.c
3495
3496Patch 7.0.070
3497Problem: Compiler warnings for shadowed variables and uninitialized
3498 variables.
3499Solution: Rename variables such as "index", "msg" and "dup". Initialize
3500 variables.
3501Files: src/edit.c, src/eval.c, src/ex_cmds.c, src/ex_cmds2.c,
3502 src/ex_docmd.c, src/gui_beval.c, src/gui_gtk.c, src/gui_gtk_x11.c,
3503 src/hardcopy.c, src/if_cscope.c, src/main.c, src/mbyte.c,
3504 src/memline.c, src/netbeans.c, src/normal.c, src/option.c,
3505 src/os_unix.c, src/quickfix.c, src/regexp.c, src/screen.c,
3506 src/search.c, src/spell.c, src/ui.c, src/undo.c, src/window.c,
3507 src/version.c
3508
3509Patch 7.0.071
3510Problem: Using an empty search pattern may cause a crash.
3511Solution: Avoid using a NULL pointer.
3512Files: src/search.c
3513
3514Patch 7.0.072
3515Problem: When starting the GUI fails there is no way to adjust settings or
3516 do something else.
3517Solution: Add the GUIFailed autocommand event.
3518Files: src/fileio.c, src/gui.c, src/vim.h
3519
3520Patch 7.0.073
3521Problem: Insert mode completion: Typing <CR> sometimes selects the original
3522 text instead of keeping what was typed. (Justin Constantino)
3523Solution: Don't let <CR> select the original text if there is no popup menu.
3524Files: src/edit.c
3525
3526Patch 7.0.074 (extra)
3527Problem: Win32: tooltips were not converted from 'encoding' to Unicode.
3528Solution: Set the tooltip to use Unicode and do the conversion. Also
3529 cleanup the code for the tab pages tooltips. (Yukihiro Nakadaira)
3530Files: src/gui_w32.c, src/gui_w48.c
3531
3532Patch 7.0.075
3533Problem: winsaveview() did not store the actual value of the desired cursor
3534 column. This could move the cursor in the matchparen plugin.
3535Solution: Call update_curswant() before using the value w_curswant.
3536Files: src/eval.c
3537
3538Patch 7.0.076 (after 7.0.010)
3539Problem: Automatic downloading of spell files only works for ftp.
3540Solution: Don't add login and password for non-ftp URLs. (Alexander Patrakov)
3541Files: runtime/autoload/spellfile.vim
3542
3543Patch 7.0.077
3544Problem: ":unlet v:this_session" causes a crash. (Marius Roets)
3545Solution: When trying to unlet a fixed variable give an error message.
3546Files: src/eval.c
3547
3548Patch 7.0.078
3549Problem: There are two error messages E46.
3550Solution: Change the number for the sandbox message to E794.
3551Files: src/globals.h
3552
3553Patch 7.0.079
3554Problem: Russian tutor doesn't work when 'encoding' is "utf-8".
3555Solution: Use tutor.ru.utf-8 as the master, and generate the other encodings
3556 from it. Select the right tutor depending on 'encoding'. (Alexey
3557 Froloff)
3558Files: runtime/tutor/Makefile, runtime/tutor/tutor.vim,
3559 runtime/tutor/tutor.ru.utf-8
3560
3561Patch 7.0.080
3562Problem: Generating auto/pathdef.c fails for CFLAGS with a backslash.
3563Solution: Double backslashes in the string. (Alexey Froloff)
3564Files: src/Makefile
3565
3566Patch 7.0.081
3567Problem: Command line completion doesn't work for a shell command with an
3568 absolute path.
3569Solution: Don't use $PATH when there is an absolute path.
3570Files: src/ex_getln.c
3571
3572Patch 7.0.082
3573Problem: Calling a function that waits for input may cause List and
3574 Dictionary arguments to be freed by the garbage collector.
3575Solution: Keep a list of all arguments to internal functions.
3576Files: src/eval.c
3577
3578Patch 7.0.083
3579Problem: Clicking with the mouse on an item for inputlist() doesn't work
3580 when 'compatible' is set and/or when 'cmdheight' is more than one.
3581 (Christian J. Robinson)
3582Solution: Also decrement "lines_left" when 'more' isn't set. Set
3583 "cmdline_row" to zero to get all mouse events.
3584Files: src/message.c, src/misc1.c
3585
3586Patch 7.0.084
3587Problem: The garbage collector may do its work while some Lists or
3588 Dictionaries are used internally, e.g., by ":echo" that runs into
3589 the more-prompt or ":echo [garbagecollect()]".
3590Solution: Only do garbage collection when waiting for a character at the
3591 toplevel. Let garbagecollect() set a flag that is handled at the
3592 toplevel before waiting for a character.
3593Files: src/eval.c, src/getchar.c, src/globals.h, src/main.c
3594
3595Patch 7.0.085
3596Problem: When doing "make test" the viminfo file is modified.
Bram Moolenaar9b451252012-08-15 17:43:31 +02003597Solution: Use another viminfo file after setting 'compatible'.
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00003598Files: src/testdir/test56.in
3599
3600Patch 7.0.086
3601Problem: getqflist() returns entries for pattern and text with the number
3602 zero. Passing these to setqflist() results in the string "0".
3603Solution: Use an empty string instead of the number zero.
3604Files: src/quickfix.c
3605
3606Patch 7.0.087
3607Problem: After ":file fname" and ":saveas fname" the 'autochdir' option
3608 does not take effect. (Yakov Lerner)
3609 Commands for handling 'autochdir' are repeated many times.
3610Solution: Add the DO_AUTOCHDIR macro and do_autochdir(). Use it for
3611 ":file fname" and ":saveas fname".
3612Files: src/proto/buffer.pro, src/buffer.c, src/ex_cmds.c, src/macros.h,
3613 src/netbeans.c, src/option.c, src/window.c
3614
3615Patch 7.0.088
3616Problem: When compiled with Perl the generated prototypes have "extern"
3617 unnecessarily added.
3618Solution: Remove the "-pipe" argument from PERL_CFLAGS.
3619Files: src/auto/configure, src/configure.in
3620
3621Patch 7.0.089
3622Problem: "ga" does not work properly for a non-Unicode multi-byte encoding.
3623Solution: Only check for composing chars for utf-8. (Taro Muraoka)
3624Files: src/ex_cmds.c
3625
3626Patch 7.0.090
3627Problem: Cancelling the conform() dialog on the console with Esc requires
3628 typing it twice. (Benji Fisher)
3629Solution: When the start of an escape sequence is found use 'timeoutlen' or
3630 'ttimeoutlen'.
3631Files: src/misc1.c
3632
3633Patch 7.0.091
3634Problem: Using winrestview() while 'showcmd' is set causes the cursor to be
3635 displayed in the wrong position. (Yakov Lerner)
3636Solution: Set the window topline properly.
3637Files: src/eval.c
3638
3639Patch 7.0.092 (after 7.0.082 and 7.0.084)
3640Problem: The list of internal function arguments is obsolete now that
3641 garbage collection is only done at the toplevel.
3642Solution: Remove the list of all arguments to internal functions.
3643Files: src/eval.c
3644
3645Patch 7.0.093
3646Problem: The matchparen plugin can't handle a 'matchpairs' value where a
3647 colon is matched.
3648Solution: Change the split() that is used to change 'matchpairs' into a
3649 List.
3650Files: runtime/plugin/matchparen.vim
3651
3652Patch 7.0.094
3653Problem: When a hidden buffer is made the current buffer and another file
3654 edited later, the file message will still be given. Using
3655 ":silent" also doesn't prevent the file message. (Marvin Renich)
3656Solution: Reset the need_fileinfo flag when reading a file. Don't set
3657 need_fileinfo when msg_silent is set.
3658Files: src/buffer.c, src/fileio.c
3659
3660Patch 7.0.095
3661Problem: The Greek tutor is not available in utf-8. "el" is used for the
3662 language, only "gr" for the country is recognized.
3663Solution: Add the utf-8 Greek tutor. Use it for conversion to iso-8859-7
3664 and cp737. (Lefteris Dimitroulakis)
3665Files: runtime/tutor/Makefile, runtime/tutor/tutor.gr.utf-8,
3666 runtime/tutor/tutor.vim
3667
3668Patch 7.0.096
3669Problem: taglist() returns the filename relative to the tags file, while
3670 the directory of the tags file is unknown. (Hari Krishna Dara)
3671Solution: Expand the file name. (Yegappan Lakshmanan)
3672Files: src/tag.c
3673
3674Patch 7.0.097
3675Problem: ":tabclose N" that closes another tab page does not remove the tab
3676 pages line. Same problem when using the mouse.
3677Solution: Adjust the tab pages line when needed in tabpage_close_other().
3678Files: src/ex_docmd.c
3679
3680Patch 7.0.098
3681Problem: Redirecting command output in a cmdline completion function
3682 doesn't work. (Hari Krishna Dara)
3683Solution: Enable redirection when redirection is started.
3684Files: src/ex_docmd.c, src/ex_getln.c
3685
3686Patch 7.0.099
3687Problem: GUI: When the popup menu is visible using the scrollbar messes up
3688 the display.
3689Solution: Disallow scrolling the current window. Redraw the popup menu
3690 after scrolling another window.
3691Files: src/gui.c
3692
3693Patch 7.0.100
3694Problem: "zug" may report the wrong filename. (Lawrence Kesteloot)
3695Solution: Call home_replace() to fill NameBuff[].
3696Files: src/spell.c
3697
3698Patch 7.0.101
3699Problem: When the "~/.vim/spell" directory does not exist "zg" may create
3700 a wrong directory. "zw" doesn't work.
3701Solution: Use the directory of the file name instead of NameBuff. For "zw"
3702 not only remove a good word but also add the word with "!".
3703Files: src/spell.c
3704
3705Patch 7.0.102
3706Problem: Redrawing cmdline is not correct when using SCIM.
3707Solution: Don't call im_get_status(). (Yukihiro Nakadaira)
3708Files: src/ex_getln.c
3709
3710Patch 7.0.103 (after 7.0.101)
3711Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
3712Solution: Init variable.
3713Files: src/spell.c
3714
3715Patch 7.0.104
3716Problem: The CursorHoldI event only triggers once in Insert mode. It also
3717 triggers after CTRL-V and other two-key commands.
3718Solution: Set "did_cursorhold" before getting a second key. Reset
3719 "did_cursorhold" after handling a command.
3720Files: src/edit.c, src/fileio.c
3721
3722Patch 7.0.105
3723Problem: When using incremental search the statusline ruler isn't updated.
3724 (Christoph Koegl)
3725Solution: Update the statusline when it contains the ruler.
3726Files: src/ex_getln.c
3727
3728Patch 7.0.106
3729Problem: The spell popup menu uses ":amenu", triggering mappings. Other
3730 PopupMenu autocommands are removed. (John Little)
3731Solution: Use ":anoremenu" and use an autocmd group.
3732Files: runtime/menu.vim
3733
3734Patch 7.0.107
3735Problem: Incremental search doesn't redraw the text tabline. (Ilya Bobir)
3736 Also happens in other situations with one window in a tab page.
3737Solution: Redraw the tabline after clearing the screen.
3738Files: src/screen.c
3739
3740Patch 7.0.108 (extra)
3741Problem: Amiga: Compilation problem.
3742Solution: Have mch_mkdir() return a failure flag. (Willy Catteau)
3743Files: src/os_amiga.c, src/proto/os_amiga.pro
3744
3745Patch 7.0.109
3746Problem: Lisp indenting is confused by escaped quotes in strings. (Dorai
3747 Sitaram)
3748Solution: Check for backslash inside strings. (Sergey Khorev)
3749Files: src/misc1.c
3750
3751Patch 7.0.110
3752Problem: Amiga: Compilation problems when not using libnix.
3753Solution: Change a few #ifdefs. (Willy Catteau)
3754Files: src/memfile.c
3755
3756Patch 7.0.111
3757Problem: The gzip plugin can't handle filenames with single quotes.
3758Solution: Add and use the shellescape() function. (partly by Alexey Froloff)
3759Files: runtime/autoload/gzip.vim, runtime/doc/eval.txt, src/eval.c,
3760 src/mbyte.c, src/misc2.c, src/proto/misc2.pro
3761
3762Patch 7.0.112
3763Problem: Python interface does not work with Python 2.5.
3764Solution: Change PyMem_DEL() to Py_DECREF(). (Sumner Hayes)
3765Files: src/if_python.c
3766
3767Patch 7.0.113
3768Problem: Using CTRL-L in Insert completion when there is no current match
3769 may cause a crash. (Yukihiro Nakadaira)
3770Solution: Check for compl_leader to be NULL
3771Files: src/edit.c
3772
3773Patch 7.0.114
3774Problem: When aborting an insert with CTRL-C an extra undo point is
3775 created in the GUI. (Yukihiro Nakadaira)
3776Solution: Call gotchars() only when advancing.
3777Files: src/getchar.c
3778
3779Patch 7.0.115
3780Problem: When 'ignorecase' is set, Insert mode completion only adds "foo"
3781 and not "Foo" when both are found.
3782 A found match isn't displayed right away when 'completeopt' does
3783 not have "menu" or "menuone".
3784Solution: Do not ignore case when checking if a completion match already
3785 exists. call ins_compl_check_keys() also when not using a popup
3786 menu. (Yukihiro Nakadaira)
3787Files: src/edit.c
3788
3789Patch 7.0.116
3790Problem: 64 bit Windows version reports "32 bit" in the ":version" output.
3791 (M. Veerman)
3792Solution: Change the text for Win64.
3793Files: src/version.c
3794
3795Patch 7.0.117
3796Problem: Using "extend" on a syntax item inside a region with "keepend", an
3797 intermediate item may be truncated.
3798 When applying the "keepend" and there is an offset to the end
3799 pattern the highlighting of a contained item isn't adjusted.
3800Solution: Use the seen_keepend flag to remember when to apply the "keepend"
3801 flag. Adjust the keepend highlighting properly. (Ilya Bobir)
3802Files: src/syntax.c
3803
3804Patch 7.0.118
3805Problem: printf() does not do zero padding for strings.
3806Solution: Do allow zero padding for strings.
3807Files: src/message.c
3808
3809Patch 7.0.119
3810Problem: When going back from Insert to Normal mode the CursorHold event
3811 doesn't trigger. (Yakov Lerner)
3812Solution: Reset "did_cursorhold" when leaving Insert mode.
3813Files: src/edit.c
3814
3815Patch 7.0.120
3816Problem: Crash when using CTRL-R = at the command line and entering
3817 "getreg('=')". (James Vega)
3818Solution: Avoid recursiveness of evaluating the = register.
3819Files: src/ops.c
3820
3821Patch 7.0.121
3822Problem: GUI: Dragging the last status line doesn't work when there is a
3823 text tabline. (Markus Wolf)
3824Solution: Take the text tabline into account when deciding to start modeless
3825 selection.
3826Files: src/gui.c
3827
3828Patch 7.0.122
3829Problem: GUI: When clearing after a bold, double-wide character half a
3830 character may be drawn.
3831Solution: Check for double-wide character and redraw it. (Yukihiro Nakadaira)
3832Files: src/screen.c
3833
3834Patch 7.0.123
3835Problem: On SCO Openserver configure selects the wrong terminal library.
3836Solution: Put terminfo before the other libraries. (Roger Cornelius)
3837 Also fix a small problem compiling on Mac without Darwin.
3838Files: src/configure.in, src/auto/configure
3839
3840Patch 7.0.124
3841Problem: getwinvar() obtains a dictionary with window-local variables, but
3842 it's always for the current window.
3843Solution: Get the variables of the specified window. (Geoff Reedy)
3844Files: src/eval.c
3845
3846Patch 7.0.125
3847Problem: When "autoselect" is in the 'clipboard' option then the '< and '>
3848 marks are set while Visual mode is still active.
3849Solution: Don't set the '< and '> marks when yanking the selected area for
3850 the clipboard.
3851Files: src/normal.c
3852
3853Patch 7.0.126
3854Problem: When 'formatexpr' uses setline() and later internal formatting is
3855 used undo information is not correct. (Jiri Cerny, Benji Fisher)
3856Solution: Set ins_need_undo after using 'formatexpr'.
3857Files: src/edit.c
3858
3859Patch 7.0.127
3860Problem: Crash when swap files has invalid timestamp.
3861Solution: Check return value of ctime() for being NULL.
3862Files: src/memline.c
3863
3864Patch 7.0.128
3865Problem: GUI: when closing gvim is cancelled because there is a changed
3866 buffer the screen isn't updated to show the changed buffer in the
3867 current window. (Krzysztof Kacprzak)
3868Solution: Redraw when closing gvim is cancelled.
3869Files: src/gui.c
3870
3871Patch 7.0.129
3872Problem: GTK GUI: the GTK file dialog can't handle a relative path.
3873Solution: Make the initial directory a full path before passing it to GTK.
3874 (James Vega) Also postpone adding the default file name until
3875 after setting the directory.
3876Files: src/gui_gtk.c
3877
3878Patch 7.0.130 (extra)
3879Problem: Win32: Trying to edit or write devices may cause Vim to get stuck.
3880Solution: Add the 'opendevice' option, default off. Disallow
3881 reading/writing from/to devices when it's off.
3882 Also detect more devices by the full name starting with "\\.\".
3883Files: runtime/doc/options.txt, src/fileio.c, src/option.c, src/option.h,
3884 src/os_win32.c
3885
3886Patch 7.0.131
3887Problem: Win32: "vim -r" does not list all the swap files.
3888Solution: Also check for swap files starting with a dot.
3889Files: src/memline.c
3890
3891Patch 7.0.132 (after 7.0.130)
3892Problem: Win32: Crash when Vim reads from stdin.
3893Solution: Only use mch_nodetype() when there is a file name.
3894Files: src/fileio.c
3895
3896Patch 7.0.133
3897Problem: When searching included files messages are added to the history.
3898Solution: Set msg_hist_off for messages about scanning included files.
3899 Set msg_silent to avoid message about wrapping around.
3900Files: src/edit.c, src/globals.h, src/message.c, src/search.c
3901
3902Patch 7.0.134
3903Problem: Crash when comparing a recursively looped List or Dictionary.
3904Solution: Limit recursiveness for comparing to 1000.
3905Files: src/eval.c
3906
3907Patch 7.0.135
3908Problem: Crash when garbage collecting list or dict with loop.
3909Solution: Don't use DEL_REFCOUNT but don't recurse into Lists and
3910 Dictionaries when freeing them in the garbage collector.
3911 Also add allocated Dictionaries to the list of Dictionaries to
3912 avoid leaking memory.
3913Files: src/eval.c, src/proto/eval.pro, src/tag.c
3914
3915Patch 7.0.136
3916Problem: Using "O" while matching parens are highlighted may not remove the
3917 highlighting. (Ilya Bobir)
3918Solution: Also trigger CursorMoved when a line is inserted under the cursor.
3919Files: src/misc1.c
3920
3921Patch 7.0.137
3922Problem: Configure check for big features is wrong.
3923Solution: Change "==" to "=". (Martti Kuparinen)
3924Files: src/auto/configure, src/configure.in
3925
3926Patch 7.0.138 (extra)
3927Problem: Mac: modifiers don't work with function keys.
3928Solution: Use GetEventParameter() to obtain modifiers. (Nicolas Weber)
3929Files: src/gui_mac.c
3930
3931Patch 7.0.139
3932Problem: Using CTRL-PageUp or CTRL-PageDown in Insert mode to go to another
3933 tab page does not prepare for undo properly. (Stefano Zacchiroli)
3934Solution: Call start_arrow() before switching tab page.
3935Files: src/edit.c
3936
3937Patch 7.0.140 (after 7.0.134)
3938Problem: Comparing recursively looped List or Dictionary doesn't work well.
3939Solution: Detect comparing a List or Dictionary with itself.
3940Files: src/eval.c
3941
3942Patch 7.0.141
3943Problem: When pasting a while line on the command line an extra CR is added
3944 literally.
3945Solution: Don't add the trailing CR when pasting with the mouse.
3946Files: src/ex_getln.c, src/proto/ops.pro, src/ops.c
3947
3948Patch 7.0.142
3949Problem: Using the middle mouse button in Select mode to paste text results
3950 in an extra "y". (Kriton Kyrimis)
3951Solution: Let the middle mouse button replace the selected text with the
3952 contents of the clipboard.
3953Files: src/normal.c
3954
3955Patch 7.0.143
3956Problem: Setting 'scroll' to its default value was not handled correctly.
3957Solution: Compare the right field to PV_SCROLL.
3958Files: src/option.c
3959
3960Patch 7.0.144
3961Problem: May compare two unrelated pointers when matching a pattern against
3962 a string. (Dominique Pelle)
3963Solution: Avoid calling reg_getline() when REG_MULTI is false.
3964Files: src/regexp.c
3965
3966Patch 7.0.145 (after 7.0.142)
3967Problem: Compiler warning.
3968Solution: Add type cast.
3969Files: src/normal.c
3970
3971Patch 7.0.146
3972Problem: When 'switchbuf' is set to "usetab" and the current tab has only a
3973 quickfix window, jumping to an error always opens a new window.
3974 Also, when the buffer is open in another tab page it's not found.
3975Solution: Check for the "split" value of 'switchbuf' properly. Search in
3976 other tab pages for the desired buffer. (Yegappan Lakshmanan)
3977Files: src/buffer.c, src/quickfix.c
3978
3979Patch 7.0.147
3980Problem: When creating a session file and there are several tab pages and
3981 some windows have a local directory a short file name may be used
3982 when it's not valid. (Marius Roets)
3983 A session with multiple tab pages may result in "No Name" buffers.
3984 (Bill McCarthy)
3985Solution: Don't enter tab pages when going through the list, only use a
3986 pointer to the first window in each tab page.
3987 Use "tabedit" instead of "tabnew | edit" when possible.
3988Files: src/ex_docmd.c
3989
3990Patch 7.0.148
3991Problem: When doing "call a.xyz()" and "xyz" does not exist in dictionary
3992 "a" there is no error message. (Yegappan Lakshmanan)
3993Solution: Add the error message.
3994Files: src/eval.c
3995
3996Patch 7.0.149
3997Problem: When resizing a window that shows "~" lines the text sometimes
3998 jumps down.
3999Solution: Remove code that uses "~" lines in some situations. Fix the
4000 computation of the screen line of the cursor. Also set w_skipcol
4001 to handle very long lines.
4002Files: src/misc1.c, src/window.c
4003
4004Patch 7.0.150
4005Problem: When resizing the Vim window scrollbinding doesn't work. (Yakov
4006 Lerner)
4007Solution: Do scrollbinding in set_shellsize().
4008Files: src/term.c
4009
4010Patch 7.0.151
4011Problem: Buttons in file dialog are not according to Gnome guidelines.
4012Solution: Swap Cancel and Open buttons. (Stefano Zacchiroli)
4013Files: src/gui_gtk.c
4014
4015Patch 7.0.152
4016Problem: Crash when using lesstif 2.
4017Solution: Fill in the extension field. (Ben Hutchings)
4018Files: src/gui_xmebw.c
4019
4020Patch 7.0.153
4021Problem: When using cscope and opening the temp file fails Vim crashes.
4022 (Kaya Bekiroglu)
4023Solution: Check for NULL pointer returned from mch_open().
4024Files: src/if_cscope.c
4025
4026Patch 7.0.154
4027Problem: When 'foldnextmax' is negative Vim can hang. (James Vega)
4028Solution: Avoid the fold level becoming negative.
4029Files: src/fold.c, src/syntax.c
4030
4031Patch 7.0.155
4032Problem: When getchar() returns a mouse button click there is no way to get
4033 the mouse coordinates.
4034Solution: Add v:mouse_win, v:mouse_lnum and v:mouse_col.
4035Files: runtime/doc/eval.txt, src/eval.c, src/vim.h
4036
4037Patch 7.0.156 (extra)
4038Problem: Vim doesn't compile for Amiga OS 4.
4039Solution: Various changes for Amiga OS4. (Peter Bengtsson)
4040Files: src/feature.h, src/mbyte.c, src/memfile.c, src/memline.c,
4041 src/os_amiga.c, src/os_amiga.h, src/pty.c
4042
4043Patch 7.0.157
4044Problem: When a function is used recursively the profiling information is
4045 invalid. (Mikolaj Machowski)
4046Solution: Put the start time on the stack instead of in the function.
4047Files: src/eval.c
4048
4049Patch 7.0.158
4050Problem: In a C file with ":set foldmethod=syntax", typing {<CR> on the
4051 last line results in the cursor being in a closed fold. (Gautam
4052 Iyer)
4053Solution: Open fold after inserting a new line.
4054Files: src/edit.c
4055
4056Patch 7.0.159
4057Problem: When there is an I/O error in the swap file the cause of the error
4058 cannot be seen.
4059Solution: Use PERROR() instead of EMSG() where possible.
4060Files: src/memfile.c
4061
4062Patch 7.0.160
4063Problem: ":@a" echoes the command, Vi doesn't do that.
4064Solution: Set the silent flag in the typeahead buffer to avoid echoing the
4065 command.
4066Files: src/ex_docmd.c, src/normal.c, src/ops.c, src/proto/ops.pro
4067
4068Patch 7.0.161
4069Problem: Win32: Tab pages line popup menu isn't using the right encoding.
4070 (Yongwei Wu)
4071Solution: Convert the text when necessary. Also fixes the Find/Replace
4072 dialog title. (Yegappan Lakshmanan)
4073Files: src/gui_w48.c
4074
4075Patch 7.0.162
4076Problem: "vim -o a b" when file "a" triggers the ATTENTION dialog,
4077 selecting "Quit" exits Vim instead of editing "b" only.
4078 When file "b" triggers the ATTENTION dialog selecting "Quit" or
4079 "Abort" results in editing file "a" in that window.
4080Solution: When selecting "Abort" exit Vim. When selecting "Quit" close the
4081 window. Also avoid hit-enter prompt when selecting Abort.
4082Files: src/buffer.c, src/main.c
4083
4084Patch 7.0.163
4085Problem: Can't retrieve the position of a sign after it was set.
4086Solution: Add the netbeans interface getAnno command. (Xavier de Gaye)
4087Files: runtime/doc/netbeans.txt, src/netbeans.c
4088
4089Patch 7.0.164
4090Problem: ":redir @+" doesn't work.
4091Solution: Accept "@+" just like "@*". (Yegappan Lakshmanan)
4092Files: src/ex_docmd.c
4093
4094Patch 7.0.165
4095Problem: Using CTRL-L at the search prompt adds a "/" and other characters
4096 without escaping, causing the pattern not to match.
4097Solution: Escape special characters with a backslash.
4098Files: src/ex_getln.c
4099
4100Patch 7.0.166
4101Problem: Crash in cscope code when connection could not be opened.
4102 (Kaya Bekiroglu)
4103Solution: Check for the file descriptor to be NULL.
4104Files: src/if_cscope.c
4105
4106Patch 7.0.167
4107Problem: ":function" redefining a dict function doesn't work properly.
4108 (Richard Emberson)
4109Solution: Allow a function name to be a number when it's a function
4110 reference.
4111Files: src/eval.c
4112
4113Patch 7.0.168
4114Problem: Using uninitialized memory and memory leak. (Dominique Pelle)
4115Solution: Use alloc_clear() instead of alloc() for w_lines. Free
4116 b_ml.ml_stack after recovery.
4117Files: src/memline.c, src/window.c
4118
4119Patch 7.0.169
4120Problem: With a Visual block selection, with the cursor in the left upper
4121 corner, pressing "I" doesn't remove the highlighting. (Guopeng
4122 Wen)
4123Solution: When checking if redrawing is needed also check if Visual
4124 selection is still active.
4125Files: src/screen.c
4126
4127Patch 7.0.170 (extra)
4128Problem: Win32: Using "gvim --remote-tab foo" when gvim is minimized while
4129 it previously was maximized, un-maximizing doesn't work properly.
4130 And the labels are not displayed properly when 'encoding' is
4131 utf-8.
4132Solution: When minimized check for SW_SHOWMINIMIZED. When updating the tab
4133 pages line use TCM_SETITEMW instead of TCM_INSERTITEMW. (Liu
4134 Yubao)
4135Files: src/gui_w48.c
4136
4137Patch 7.0.171 (extra)
4138Problem: VMS: A file name with multiple paths is written in the wrong file.
4139Solution: Get the actually used file name. (Zoltan Arpadffy)
4140 Also add info to the :version command about compilation.
4141Files: src/Make_vms.mms, src/buffer.c, src/os_unix.c, src/version.c
4142
4143Patch 7.0.172
4144Problem: Crash when recovering and quitting at the "press-enter" prompt.
4145Solution: Check for "msg_list" to be NULL. (Liu Yubao)
4146Files: src/ex_eval.c
4147
4148Patch 7.0.173
4149Problem: ":call f().TT()" doesn't work. (Richard Emberson)
4150Solution: When a function returns a Dictionary or another composite continue
4151 evaluating what follows.
4152Files: src/eval.c
4153
4154Patch 7.0.174
4155Problem: ":mksession" doesn't restore window layout correctly in tab pages
4156 other than the current one. (Zhibin He)
4157Solution: Use the correct topframe for producing the window layout commands.
4158Files: src/ex_docmd.c
4159
4160Patch 7.0.175
4161Problem: The result of tr() is missing the terminating NUL. (Ingo Karkat)
4162Solution: Add the NUL.
4163Files: src/eval.c
4164
4165Patch 7.0.176
4166Problem: ":emenu" isn't executed directly, causing the encryption key
4167 prompt to fail. (Life Jazzer)
4168Solution: Fix wrong #ifdef.
4169Files: src/menu.c
4170
4171Patch 7.0.177
4172Problem: When the press-enter prompt gets a character from a non-remappable
4173 mapping, it's put back in the typeahead buffer as remappable,
4174 which may cause an endless loop.
4175Solution: Restore the non-remappable flag and the silent flag when putting a
4176 char back in the typeahead buffer.
4177Files: src/getchar.c, src/message.c, src/normal.c
4178
4179Patch 7.0.178
4180Problem: When 'enc' is "utf-8" and 'ignorecase' is set the result of ":echo
4181 ("\xe4" == "\xe4")" varies.
4182Solution: In mb_strnicmp() avoid looking past NUL bytes.
4183Files: src/mbyte.c
4184
4185Patch 7.0.179
4186Problem: Using ":recover" or "vim -r" without a swapfile crashes Vim.
4187Solution: Check for "buf" to be unequal NULL. (Yukihiro Nakadaira)
4188Files: src/memline.c
4189
4190Patch 7.0.180 (extra, after 7.0.171)
4191Problem: VMS: build failed. Problem with swapfiles.
4192Solution: Add "compiled_arch". Always expand path and pass it to
4193 buf_modname(). (Zoltan Arpadffy)
4194Files: src/globals.h, src/memline.c, src/os_unix.c, runtime/menu.vim
4195
4196Patch 7.0.181
4197Problem: When reloading a file that starts with an empty line, the reloaded
4198 buffer has an extra empty line at the end. (Motty Lentzitzky)
4199Solution: Delete all lines, don't use bufempty().
4200Files: src/fileio.c
4201
4202Patch 7.0.182
4203Problem: When using a mix of undo and "g-" it may no longer be possible to
4204 go to every point in the undo tree. (Andy Wokula)
4205Solution: Correctly update pointers in the undo tree.
4206Files: src/undo.c
4207
4208Patch 7.0.183
4209Problem: Crash in ":let" when redirecting to a variable that's being
4210 displayed. (Thomas Link)
4211Solution: When redirecting to a variable only do the assignment when
4212 stopping redirection to avoid that setting the variable causes a
4213 freed string to be accessed.
4214Files: src/eval.c
4215
4216Patch 7.0.184
4217Problem: When the cscope program is called "mlcscope" the Cscope interface
4218 doesn't work.
4219Solution: Accept "\S*cscope:" instead of "cscope:". (Frodak D. Baksik)
4220Files: src/if_cscope.c
4221
4222Patch 7.0.185
4223Problem: Multi-byte characters in a message are displayed with attributes
4224 from what comes before it.
4225Solution: Don't use the attributes for a multi-byte character. Do use
4226 attributes for special characters. (Yukihiro Nakadaira)
4227Files: src/message.c
4228
4229Patch 7.0.186
4230Problem: Get an ml_get error when 'encoding' is "utf-8" and searching for
4231 "/\_s*/e" in an empty buffer. (Andrew Maykov)
4232Solution: Don't try getting the line just below the last line.
4233Files: src/search.c
4234
4235Patch 7.0.187
4236Problem: Can't source a remote script properly.
4237Solution: Add the SourceCmd event. (Charles Campbell)
4238Files: runtime/doc/autocmd.txt, src/ex_cmds2.c, src/fileio.c, src/vim.h
4239
4240Patch 7.0.188 (after 7.0.186)
4241Problem: Warning for wrong pointer type.
4242Solution: Add a type cast.
4243Files: src/search.c
4244
4245Patch 7.0.189
4246Problem: Translated message about finding matches is truncated. (Yukihiro
4247 Nakadaira)
4248Solution: Enlarge the buffer. Also use vim_snprintf().
4249Files: src/edit.c
4250
4251Patch 7.0.190
4252Problem: "syntax spell default" results in an error message.
4253Solution: Change 4 to 7 for STRNICMP(). (Raul Nunez de Arenas Coronado)
4254Files: src/syntax.c
4255
4256Patch 7.0.191
4257Problem: The items used by getqflist() and setqflist() don't match.
4258Solution: Support the "bufnum" item for setqflist(). (Yegappan Lakshmanan)
4259Files: runtime/doc/eval.txt, src/quickfix.c
4260
4261Patch 7.0.192
4262Problem: When 'swapfile' is switched off in an empty file it is possible
4263 that not all blocks are loaded into memory, causing ml_get errors
4264 later.
4265Solution: Rename "dont_release" to "mf_dont_release" and also use it to
4266 avoid using the cached line and locked block.
4267Files: src/globals.h, src/memfile.c, src/memline.c
4268
4269Patch 7.0.193
4270Problem: Using --remote or --remote-tab with an argument that matches
4271 'wildignore' causes a crash.
4272Solution: Check the argument count before using ARGLIST[0].
4273Files: src/ex_cmds.c
4274
4275Patch 7.0.194
4276Problem: Once an ml_get error is given redrawing part of the screen may
4277 cause it again, resulting in an endless loop.
4278Solution: Don't give the error message for a recursive call.
4279Files: src/memline.c
4280
4281Patch 7.0.195
4282Problem: When a buffer is modified and 'autowriteall' is set, ":quit"
4283 results in an endless loop when there is a conversion error while
4284 writing. (Nikolai Weibull)
4285Solution: Make autowrite() return FAIL if the buffer is still changed after
4286 writing it.
4287 /* put the cursor on the last char, for 'tw' formatting */
4288Files: src/ex_cmds2.c
4289
4290Patch 7.0.196
4291Problem: When using ":vert ball" the computation of the mouse pointer
4292 position may be off by one column. (Stefan Karlsson)
4293Solution: Recompute the frame width when moving the vertical separator from
4294 one window to another.
4295Files: src/window.c
4296
4297Patch 7.0.197 (extra)
4298Problem: Win32: Compiling with EXITFREE doesn't work.
4299Solution: Adjust a few #ifdefs. (Alexei Alexandrof)
4300Files: src/misc2.c, src/os_mswin.c
4301
4302Patch 7.0.198 (extra)
4303Problem: Win32: Compiler warnings. No need to generate gvim.exe.mnf.
4304Solution: Add type casts. Use "*" for processorArchitecture. (George Reilly)
4305Files: src/Make_mvc.mak, src/eval.c, src/gvim.exe.mnf, src/misc2.c
4306
4307Patch 7.0.199
4308Problem: When using multi-byte characters the combination of completion and
4309 formatting may result in a wrong cursor position.
4310Solution: Don't decrement the cursor column, use dec_cursor(). (Yukihiro
4311 Nakadaira) Also check for the column to be zero.
4312Files: src/edit.c
4313
4314Patch 7.0.200
4315Problem: Memory leaks when out of memory.
4316Solution: Free the memory.
4317Files: src/edit.c, src/diff.c
4318
4319Patch 7.0.201
4320Problem: Message for ":diffput" about buffer not being in diff mode may be
4321 wrong.
4322Solution: Check for buffer in diff mode but not modifiable.
4323Files: src/diff.c
4324
4325Patch 7.0.202
4326Problem: Problems on Tandem systems while compiling and at runtime.
4327Solution: Recognize root uid is 65535. Check select() return value for it
4328 not being supported. Avoid wrong function prototypes. Mention
4329 use of -lfloss. (Matthew Woehlke)
4330Files: src/Makefile, src/ex_cmds.c, src/fileio.c, src/main.c,
4331 src/osdef1.h.in, src/osdef2.h.in, src/os_unix.c, src/pty.c,
4332 src/vim.h
4333
4334Patch 7.0.203
4335Problem: 0x80 characters in a register are not handled correctly for the
4336 "@" command.
4337Solution: Escape CSI and 0x80 characters. (Yukihiro Nakadaira)
4338Files: src/ops.c
4339
4340Patch 7.0.204
4341Problem: Cscope: Parsing matches for listing isn't done properly.
4342Solution: Check for line number being found. (Yu Zhao)
4343Files: src/if_cscope.c
4344
4345Patch 7.0.205 (after 7.0.203)
4346Problem: Can't compile.
4347Solution: Always include the vim_strsave_escape_csi function.
4348Files: src/getchar.c
4349
4350Patch 7.0.206 (after 7.0.058)
4351Problem: Some characters of the "gb18030" encoding are not handled
4352 properly.
4353Solution: Do not use "cp936" as an alias for "gb18030" encoding. Instead
4354 initialize 'encoding' to "cp936".
4355Files: src/mbyte.c, src/option.c
4356
4357Patch 7.0.207
4358Problem: After patch 2.0.203 CSI and K_SPECIAL characters are escaped when
4359 recorded and then again when the register is executed.
4360Solution: Remove escaping before putting the recorded characters in a
4361 register. (Yukihiro Nakadaira)
4362Files: src/getchar.c, src/ops.c, src/proto/getchar.pro
4363
4364Patch 7.0.208 (after 7.0.171 and 7.0.180)
4365Problem: VMS: changes to path handling cause more trouble than they solve.
4366Solution: Revert changes.
4367Files: src/buffer.c, src/memline.c, src/os_unix.c
4368
4369Patch 7.0.209
4370Problem: When replacing a line through Python the cursor may end up beyond
4371 the end of the line.
4372Solution: Check the cursor column after replacing the line.
4373Files: src/if_python.c
4374
4375Patch 7.0.210
4376Problem: ":cbuffer" and ":lbuffer" always fail when the buffer is modified.
4377 (Gary Johnson)
4378Solution: Support adding a !. (Yegappan Lakshmanan)
4379Files: runtime/doc/quickfix.txt, src/ex_cmds.h
4380
4381Patch 7.0.211
4382Problem: With ":set cindent noai bs=0" using CTRL-U in Insert mode will
4383 delete auto-indent. After ":set ai" it doesn't.
4384Solution: Also check 'cindent' being set. (Ryan Lortie)
4385Files: src/edit.c
4386
4387Patch 7.0.212
4388Problem: The GUI can't be terminated with SIGTERM. (Mark Logan)
4389Solution: Use the signal protection in the GUI as in the console, allow
4390 signals when waiting for 100 msec or longer.
4391Files: src/ui.c
4392
4393Patch 7.0.213
4394Problem: When 'spellfile' has two regions that use the same sound folding
4395 using "z=" will cause memory to be freed twice. (Mark Woodward)
4396Solution: Clear the hashtable properly so that the items are only freed once.
4397Files: src/spell.c
4398
4399Patch 7.0.214
4400Problem: When using <f-args> in a user command it's not possible to have an
4401 argument end in '\ '.
4402Solution: Change the handling of backslashes. (Yakov Lerner)
4403Files: runtime/doc/map.txt, src/ex_docmd.c
4404
4405Patch 7.0.215 (extra)
4406Problem: Mac: Scrollbar size isn't set. Context menu has disabled useless
4407 Help entry. Call to MoreMasterPointers() is ignored.
4408Solution: Call SetControlViewSize() in gui_mch_set_scrollbar_thumb(). Use
4409 kCMHelpItemRemoveHelp for ContextualMenuSelect(). Remove call to
4410 MoreMasterPointers(). (Nicolas Weber)
4411Files: src/gui_mac.c
4412
4413Patch 7.0.216
4414Problem: ":tab wincmd ]" does not open a tab page. (Tony Mechelynck)
4415Solution: Copy the cmdmod.tab value to postponed_split_tab and use it.
4416Files: src/globals.h, src/ex_docmd.c, src/if_cscope.c, src/window.c
4417
4418Patch 7.0.217
4419Problem: This hangs when pressing "n": ":%s/\n/,\r/gc". (Ori Avtalion)
4420Solution: Set "skip_match" to advance to the next line.
4421Files: src/ex_cmds.c
4422
4423Patch 7.0.218
4424Problem: "%B" in 'statusline' always shows zero in Insert mode. (DervishD)
4425Solution: Remove the exception for Insert mode, check the column for being
4426 valid instead.
4427Files: src/buffer.c
4428
4429Patch 7.0.219
4430Problem: When using the 'editexisting.vim' script and a file is being
4431 edited in another tab page the window is split. The "+123"
4432 argument is not used.
4433Solution: Make the tab page with the file the current tab page. Set
4434 v:swapcommand when starting up to the first "+123" or "-c" command
4435 line argument.
4436Files: runtime/macros/editexisting.vim, src/main.c
4437
4438Patch 7.0.220
4439Problem: Crash when using winnr('#') in a new tab page. (Andy Wokula)
4440Solution: Check for not finding the window.
4441Files: src/eval.c
4442
4443Patch 7.0.221
4444Problem: finddir() uses 'path' by default, where "." means relative to the
4445 current file. But it works relative to the current directory.
4446 (Tye Zdrojewski)
4447Solution: Add the current buffer name to find_file_in_path_option() for the
4448 relative file name.
4449Files: runtime/doc/eval.txt, src/eval.c
4450
4451Patch 7.0.222
4452Problem: Perl indenting using 'cindent' works almost right.
4453Solution: Recognize '#' to start a comment. (Alex Manoussakis) Added '#'
4454 flag in 'cinoptions'.
4455Files: runtime/doc/indent.txt, src/misc1.c
4456
4457Patch 7.0.223
4458Problem: Unprintable characters in completion text mess up the popup menu.
4459 (Gombault Damien)
4460Solution: Use strtrans() to make the text printable.
4461Files: src/charset.c, src/popupmnu.c
4462
4463Patch 7.0.224
4464Problem: When expanding "##" spaces are escaped twice. (Pavol Juhas)
4465Solution: Don't escape the spaces that separate arguments.
4466Files: src/eval.c, src/ex_docmd.c, src/proto/ex_docmd.pro
4467
4468Patch 7.0.225
4469Problem: When using setline() in an InsertEnter autocommand and doing "A"
4470 the cursor ends up on the last byte in the line. (Yukihiro
4471 Nakadaira)
4472Solution: Only adjust the column when using setline() for the cursor line.
4473 Move it back to the head byte if necessary.
4474Files: src/eval.c, src/misc2.c
4475
4476Patch 7.0.226
4477Problem: Display flickering when updating signs through the netbeans
4478 interface. (Xavier de Gaye)
4479Solution: Remove the redraw_later(CLEAR) call.
4480Files: src/netbeans.c
4481
4482Patch 7.0.227
4483Problem: Crash when closing a window in the GUI. (Charles Campbell)
4484Solution: Don't call out_flush() from win_free().
4485Files: src/window.c
4486
4487Patch 7.0.228
4488Problem: Cygwin: problem with symlink to DOS style path.
4489Solution: Invoke cygwin_conv_to_posix_path(). (Luca Masini)
4490Files: src/os_unix.c
4491
4492Patch 7.0.229
4493Problem: When 'pastetoggle' starts with Esc then pressing Esc in Insert
4494 mode will not time out. (Jeffery Small)
4495Solution: Use KL_PART_KEY instead of KL_PART_MAP, so that 'ttimeout' applies
4496 to the 'pastetoggle' key.
4497Files: src/getchar.c
4498
4499Patch 7.0.230
4500Problem: After using ":lcd" a script doesn't know how to restore the
4501 current directory.
4502Solution: Add the haslocaldir() function. (Bob Hiestand)
4503Files: runtime/doc/usr_41.txt, runtime/doc/eval.txt, src/eval.c
4504
4505Patch 7.0.231
4506Problem: When recovering from a swap file the page size is likely to be
4507 different from the minimum. The block used for the first page
4508 then has a buffer of the wrong size, causing a crash when it's
4509 reused later. (Zephaniah Hull)
4510Solution: Reallocate the buffer when the page size changes. Also check that
4511 the page size is at least the minimum value.
4512Files: src/memline.c
4513
4514Patch 7.0.232 (extra)
4515Problem: Mac: doesn't support GUI tab page labels.
4516Solution: Add GUI tab page labels. (Nicolas Weber)
4517Files: src/feature.h, src/gui.c, src/gui.h, src/gui_mac.c,
4518 src/proto/gui_mac.pro
4519
4520Patch 7.0.233 (extra)
4521Problem: Mac: code formatted badly.
4522Solution: Fix code formatting
4523Files: src/gui_mac.c
4524
4525Patch 7.0.234
4526Problem: It's possible to use feedkeys() from a modeline. That is a
4527 security issue, can be used for a trojan horse.
4528Solution: Disallow using feedkeys() in the sandbox.
4529Files: src/eval.c
4530
4531Patch 7.0.235
4532Problem: It is possible to use writefile() in the sandbox.
4533Solution: Add a few more checks for the sandbox.
4534Files: src/eval.c
4535
4536Patch 7.0.236
4537Problem: Linux 2.4 uses sysinfo() with a mem_unit field, which is not
4538 backwards compatible.
4539Solution: Add an autoconf check for sysinfo.mem_unit. Let mch_total_mem()
4540 return Kbyte to avoid overflow.
4541Files: src/auto/configure, src/configure.in, src/config.h.in,
4542 src/option.c, src/os_unix.c
4543
4544Patch 7.0.237
4545Problem: For root it is recommended to not use 'modeline', but in
4546 not-compatible mode the default is on.
4547Solution: Let 'modeline' default to off for root.
4548Files: runtime/doc/options.txt, src/option.c
4549
4550Patch 7.0.238
4551Problem: Crash when ":match" pattern runs into 'maxmempattern'. (Yakov
4552 Lerner)
4553Solution: Don't free the regexp program of match_hl.
4554Files: src/screen.c
4555
4556Patch 7.0.239
4557Problem: When using local directories and tab pages ":mksession" uses a
4558 short file name when it shouldn't. Window-local options from a
4559 modeline may be applied to the wrong window. (Teemu Likonen)
4560Solution: Add the did_lcd flag, use the full path when it's set. Don't use
4561 window-local options from the modeline when using the current
4562 window for another buffer in ":doautoall".
4563Files: src/fileio.c, src/ex_docmd.c
4564
4565Patch 7.0.240
4566Problem: Crash when splitting a window in the GUI. (opposite of 7.0.227)
4567Solution: Don't call out_flush() from win_alloc(). Also avoid this for
4568 win_delete(). Also block autocommands while the window structure
4569 is invalid.
4570Files: src/window.c
4571
4572Patch 7.0.241
4573Problem: ":windo throw 'foo'" loops forever. (Andy Wokula)
4574Solution: Detect that win_goto() doesn't work.
4575Files: src/ex_cmds2.c
4576
4577Patch 7.0.242 (extra)
4578Problem: Win32: Using "-register" in a Vim that does not support OLE causes
4579 a crash.
4580Solution: Don't use EMSG() but mch_errmsg(). Check p_go for being NULL.
4581 (partly by Michael Wookey)
4582Files: src/gui_w32.c
4583
4584Patch 7.0.243 (extra)
4585Problem: Win32: When GvimExt is built with MSVC 2005 or later, the "Edit
4586 with vim" context menu doesn't appear in the Windows Explorer.
4587Solution: Embed the linker manifest file into the resources of GvimExt.dll.
4588 (Mathias Michaelis)
4589Files: src/GvimExt/Makefile
4590
4591
Bram Moolenaar49325942007-05-10 19:19:59 +00004592Fixes after Vim 7.1a BETA:
4593
4594The extra archive had CVS directories included below "farsi" and
4595"runtime/icons". CVS was missing the farsi icon files.
4596
4597Fix compiling with Gnome 2.18, undefine bind_textdomain_codeset. (Daniel
4598Drake)
4599
4600Mac: "make install" didn't copy rgb.txt.
4601
4602When editing a compressed file while there are folds caused "ml_get" errors
4603and some lines could be missing. When decompressing failed option values were
4604not restored.
4605
4606
4607Patch 7.1a.001
4608Problem: Crash when downloading a spell file. (Szabolcs Horvat)
4609Solution: Avoid that did_set_spelllang() is used recursively when a new
4610 window is opened for the download.
4611 Also avoid wiping out the wrong buffer.
4612Files: runtime/autoload/spellfile.vim, src/buffer.c, src/ex_cmds.c,
4613 src/spell.c
4614
4615Patch 7.1a.002 (extra)
4616Problem: Compilation error with MingW.
4617Solution: Check for LPTOOLTIPTEXT to be defined.
4618Files: src/gui_w32.c
4619
4620
Bram Moolenaarb2a460d2007-05-12 15:16:37 +00004621Fixes after Vim 7.1b BETA:
4622
4623Made the Mzscheme interface build both with old and new versions of Mzscheme,
4624using an #ifdef. (Sergey Khorev)
4625Mzscheme interface didn't link, missing function. Changed order of libraries
4626in the configure script.
4627
4628Ruby interface didn't compile on Mac. Changed #ifdef. (Kevin Ballard)
4629
4630Patch 7.1b.001 (extra)
4631Problem: Random text in a source file. No idea how it got there.
4632Solution: Delete the text.
4633Files: src/gui_w32.c
4634
4635Patch 7.1b.002
4636Problem: When 'maxmem' is large there can be an overflow in computations.
4637 (Thomas Wiegner)
4638Solution: Use the same mechanism as in mch_total_mem(): first reduce the
4639 multiplier as much as possible.
4640Files: src/memfile.c
4641
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004642==============================================================================
Bram Moolenaar7a329912010-05-21 12:05:36 +02004643VERSION 7.2 *version-7.2* *version7.2*
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004644
4645This section is about improvements made between version 7.1 and 7.2.
4646
4647This is mostly a bug-fix release. The main new feature is floating point
4648support. |Float|
4649
4650
4651Changed *changed-7.2*
4652-------
4653
4654Changed the command line buffer name from "command-line" to "[Command Line]".
4655
4656Removed optional ! for ":caddexpr", ":cgetexpr", ":cgetfile", ":laddexpr",
4657":lgetexpr" and ":lgetfile". They are not needed. (Yegappan Lakshmanan)
4658
4659An offset for syntax matches worked on bytes instead of characters. That is
4660inconsistent and can easily be done wrong. Use character offsets now.
4661(Yukihiro Nakadaira)
4662
4663The FileChangedShellPost event was also given when a file didn't change.
4664(John Little)
4665
4666When the current line is long (doesn't fit) the popup menu can't be seen.
4667Display it below the screen line instead of below the text line.
4668(Francois Ingelrest)
4669
4670Switched to autoconf version 2.62.
4671
4672Moved including fcntl.h to vim.h and removed it from all .c files.
4673
4674Introduce macro STRMOVE(d, s), like STRCPY() for overlapping strings.
4675Use it instead of mch_memmove(p, p + x, STRLEN(p + x) + 1).
4676
Bram Moolenaarc236c162008-07-13 17:41:49 +00004677Removed the bulgarian.vim keymap file, two more standard ones replace it.
4678(Boyko Bantchev)
4679
4680Increased the maximum number of tag matches for command line completion from
4681200 to 300.
4682
Bram Moolenaared39e1d2008-08-09 17:55:22 +00004683Renamed help file sql.txt to ft_sql.txt and ada.txt to ft_ada.txt.
4684
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004685
4686Added *added-7.2*
4687-----
4688
4689New syntax files:
Bram Moolenaarc236c162008-07-13 17:41:49 +00004690 CUDA (Timothy B. Terriberry)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004691 Cdrdao config (Nikolai Weibull)
4692 Coco/R (Ashish Shukla)
Bram Moolenaared39e1d2008-08-09 17:55:22 +00004693 Denyhosts config (Nikolai Weibull)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004694 Dtrace script (Nicolas Weber)
4695 Git output, commit, config, rebase, send-email (Tim Pope)
Bram Moolenaarc236c162008-07-13 17:41:49 +00004696 HASTE and HastePreProc (M. Tranchero)
4697 Haml (Tim Pope)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004698 Host conf (Nikolai Weibull)
4699 Linden script (Timo Frenay)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004700 MS messages (Kevin Locke)
4701 PDF (Tim Pope)
4702 ProMeLa (Maurizio Tranchero)
4703 Reva Foth (Ron Aaron)
Bram Moolenaarc236c162008-07-13 17:41:49 +00004704 Sass (Tim Pope)
4705 Symbian meta-makefile, MMP (Ron Aaron)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004706 VOS CM macro (Andrew McGill)
4707 XBL (Doug Kearns)
4708
4709New tutor files:
4710 Made UTF-8 versions of all the tutor files.
4711 Greek renamed from ".gr" to ".el" (Greek vs Greece).
4712 Esperanto (Dominique Pelle)
4713 Croatian (Paul B. Mahol)
4714
4715New filetype plugins:
4716 Cdrdao config (Nikolai Weibull)
4717 Debian control files (Debian Vim maintainers)
4718 Denyhosts (Nikolai Weibull)
4719 Dos .ini file (Nikolai Weibull)
4720 Dtrace script (Nicolas Weber)
Bram Moolenaared39e1d2008-08-09 17:55:22 +00004721 FnameScript (Nikolai Weibull)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004722 Git, Git config, Git commit, Git rebase, Git send-email (Tim Pope)
Bram Moolenaarc236c162008-07-13 17:41:49 +00004723 Haml (Tim Pope)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004724 Host conf (Nikolai Weibull)
Bram Moolenaared39e1d2008-08-09 17:55:22 +00004725 Host access (Nikolai Weibull)
Bram Moolenaarc236c162008-07-13 17:41:49 +00004726 Logtalk (Paulo Moura)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004727 MS messages (Kevin Locke)
Bram Moolenaared39e1d2008-08-09 17:55:22 +00004728 NSIS script (Nikolai Weibull)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004729 PDF (Tim Pope)
4730 Reva Forth (Ron Aaron)
Bram Moolenaarc236c162008-07-13 17:41:49 +00004731 Sass (Tim Pope)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004732
4733New indent files:
Bram Moolenaared39e1d2008-08-09 17:55:22 +00004734 DTD (Nikolai Weibull)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004735 Dtrace script (Nicolas Weber)
4736 Erlang (Csaba Hoch)
Bram Moolenaared39e1d2008-08-09 17:55:22 +00004737 FrameScript (Nikolai Weibull)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004738 Git config (Tim Pope)
Bram Moolenaarc236c162008-07-13 17:41:49 +00004739 Haml (Tim Pope)
4740 Logtalk (Paulo Moura)
4741 Sass (Tim Pope)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004742 Tiny Fugue (Christian J. Robinson)
4743
Bram Moolenaarc236c162008-07-13 17:41:49 +00004744New compiler plugins:
4745 RSpec (Tim Pope)
4746
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004747New keymap files:
4748 Croatian (Paul B. Mahol)
4749 Russian Dvorak (Serhiy Boiko)
4750 Ukrainian Dvorak (Serhiy Boiko)
Bram Moolenaarc236c162008-07-13 17:41:49 +00004751 Removed plain Bulgarian, "bds" and phonetic are sufficient.
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004752
4753Other new runtime files:
Bram Moolenaared39e1d2008-08-09 17:55:22 +00004754 Esperanto menu and message translations. (Dominique Pelle)
4755 Finnish menu and message translations. (Flammie Pirinen)
Bram Moolenaar6dfc28b2010-02-11 14:19:15 +01004756 Brazilian Portuguese message translations. (Eduardo Dobay)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004757
4758Added floating point support. |Float|
4759
4760Added argument to mode() to return a bit more detail about the current mode.
4761(Ben Schmidt)
4762
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +01004763Added support for BSD console mouse: |sysmouse|. (Paul B. Mahol)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004764
4765Added the "newtab" value for the 'switchbuf' option. (partly by Yegappan
4766Lakshmanan)
4767
4768Improved error messages for the netbeans interface. (Philippe Fremy)
4769
4770Added support for using xterm mouse codes for screen. (Micah Cowan)
4771
4772Added support for cross compiling:
4773Adjusted configure.in and added INSTALLcross.txt. (Marc Haisenko) Fixed
4774mistakes in configure.in after that.
4775Don't use /usr/local/include and /usr/local/lib in configure. (Philip
4776Prindeville)
4777For cross compiling the Cygwin version on Unix, change VIM.TLB to vim.tlb in
4778src/vim.rc. (Tsuneo Nakagawa)
4779
4780Added v:searchforward variable: What direction we're searching in. (Yakov
4781Lerner)
4782
4783
4784Fixed *fixed-7.2*
4785-----
4786
4787Patch 7.1.001
4788Problem: Still can't build with Gnome libraries.
4789Solution: Fix typo in bind_textdomain_codeset. (Mike Kelly)
4790Files: src/gui_gtk.c, src/gui_gtk_x11.c
4791
4792Patch 7.1.002
4793Problem: Oracle Pro*C/C++ files are not detected.
4794Solution: Add the missing star. (Micah J. Cowan)
4795Files: runtime/filetype.vim
4796
4797Patch 7.1.003 (extra)
4798Problem: The "Tear off this menu" message appears in the message history
4799 when using a menu. (Yongwei Wu)
4800Solution: Disable message history when displaying the menu tip.
4801Files: src/gui_w32.c
4802
4803Patch 7.1.004
4804Problem: Crash when doing ":next directory". (Raphael Finkel)
4805Solution: Do not use "buf", it may be invalid after autocommands.
4806Files: src/ex_cmds.c
4807
4808Patch 7.1.005
4809Problem: "cit" used on <foo></foo> deletes <foo>. Should not delete
4810 anything and start insertion, like "ci'" does on "". (Michal
4811 Bozon)
4812Solution: Handle an empty object specifically. Made it work consistent for
4813 various text objects.
4814Files: src/search.c
4815
4816Patch 7.1.006
4817Problem: Resetting 'modified' in a StdinReadPost autocommand doesn't work.
4818Solution: Set 'modified' before the autocommands instead of after it.
4819Files: src/buffer.c
4820
4821Patch 7.1.007 (extra)
4822Problem: Mac: Context menu doesn't work on Intel Macs.
4823 Scrollbars are not dimmed when Vim is not the active application.
4824Solution: Remove the test whether context menus are supported. They are
4825 always there in OS/X. Handle the dimming. (Nicolas Weber)
4826Files: src/gui_mac.c, src/gui.h
4827
4828Patch 7.1.008
4829Problem: getfsize() returns a negative number for very big files.
4830Solution: Check for overflow and return -2.
4831Files: runtime/doc/eval.txt, src/eval.c
4832
4833Patch 7.1.009
4834Problem: In diff mode, displaying the difference between a tab and spaces
4835 is not highlighted correctly.
4836Solution: Only change highlighting at the end of displaying a tab.
4837Files: src/screen.c
4838
4839Patch 7.1.010
4840Problem: The Gnome session file doesn't restore tab pages.
4841Solution: Add SSOP_TABPAGES to the session flags. (Matias D'Ambrosio)
4842Files: src/gui_gtk_x11.c
4843
4844Patch 7.1.011
4845Problem: Possible buffer overflow when $VIMRUNTIME is very long. (Victor
4846 Stinner)
4847Solution: Use vim_snprintf().
4848Files: src/main.c
4849
4850Patch 7.1.012
4851Problem: ":let &shiftwidth = 'asdf'" doesn't produce an error message.
4852Solution: Check for a string argument. (Chris Lubinski)
4853Files: src/option.c
4854
4855Patch 7.1.013
4856Problem: ":syn include" only loads the first file, while it is documented
4857 as doing the equivalent of ":runtime!".
4858Solution: Change the argument to source_runtime(). (James Vega)
4859Files: src/syntax.c
4860
4861Patch 7.1.014
4862Problem: Crash when doing C indenting. (Chris Monson)
4863Solution: Obtain the current line again after invoking cin_islabel().
4864Files: src/edit.c
4865
4866Patch 7.1.015
4867Problem: MzScheme interface: current-library-collection-paths produces no
4868 list. Interface doesn't build on a Mac.
4869Solution: Use a list instead of a pair. (Bernhard Fisseni) Use "-framework"
4870 argument for MZSCHEME_LIBS in configure.
4871Files: src/configure.in, src/if_mzsch.c, src/auto/configure
4872
4873Patch 7.1.016 (after patch 7.1.012)
4874Problem: Error message about setting 'diff' to a string.
4875Solution: Don't pass an empty string to set_option_value() when setting
4876 'diff'.
4877Files: src/quickfix.c, src/popupmnu.c
4878
4879Patch 7.1.017
4880Problem: ":confirm w" does give a prompt when 'readonly' is set, but not
4881 when the file permissions are read-only. (Michael Schaap)
4882Solution: Provide a dialog in both situations. (Chris Lubinski)
4883Files: src/ex_cmds.c, src/fileio.c, src/proto/fileio.pro
4884
4885Patch 7.1.018
4886Problem: When 'virtualedit' is set a "p" of a block just past the end of
4887 the line inserts before the cursor. (Engelke)
4888Solution: Check for the cursor being just after the line (Chris Lubinski)
4889Files: src/ops.c
4890
4891Patch 7.1.019
4892Problem: ":py" asks for an argument, ":py asd" then gives the error that
4893 ":py" isn't implemented. Should already happen for ":py".
4894Solution: Compare with ex_script_ni. (Chris Lubinski)
4895Files: src/ex_docmd.c
4896
4897Patch 7.1.020
4898Problem: Reading from uninitialized memory when using a dialog. (Dominique
4899 Pelle)
4900Solution: In msg_show_console_dialog() append a NUL after every appended
4901 character.
4902Files: src/message.c
4903
4904Patch 7.1.021 (after 7.1.015)
4905Problem: Mzscheme interface doesn't compile on Win32.
4906Solution: Fix the problem that 7.1.015 fixed in a better way. (Sergey Khorev)
4907Files: src/if_mzsch.c
4908
4909Patch 7.1.022
4910Problem: When setting 'keymap' twice the b:keymap_name variable isn't set.
4911 (Milan Berta)
4912Solution: Don't unlet b:keymap_name for ":loadkeymap". (Martin Toft)
4913Files: src/digraph.c
4914
4915Patch 7.1.023
4916Problem: "dw" in a line with one character deletes the line. Vi and nvi
4917 don't do this. (Kjell Arne Rekaa)
4918Solution: Check for one-character words especially.
4919Files: src/search.c
4920
4921Patch 7.1.024
4922Problem: Using a pointer that has become invalid. (Chris Monson)
4923Solution: Obtain the line pointer again after we looked at another line.
4924Files: src/search.c
4925
4926Patch 7.1.025
4927Problem: search() and searchpos() don't use match under cursor at start of
4928 line when using 'bc' flags. (Viktor Kojouharov)
4929Solution: Don't go to the previous line when the 'c' flag is present.
4930 Also fix that "j" doesn't move the cursor to the right column.
4931Files: src/eval.c, src/search.c
4932
4933Patch 7.1.026
4934Problem: "[p" doesn't work in Visual mode. (David Brown)
4935Solution: Use checkclearop() instead of checkclearopq().
4936Files: src/normal.c
4937
4938Patch 7.1.027
4939Problem: On Sun systems opening /dev/fd/N doesn't work, and they are used
4940 by process substitutions.
4941Solution: Allow opening specific character special files for Sun systems.
4942 (Gary Johnson)
4943Files: src/fileio.c, src/os_unix.h
4944
4945Patch 7.1.028
4946Problem: Can't use last search pattern for ":sort". (Brian McKee)
Bram Moolenaar6dfc28b2010-02-11 14:19:15 +01004947Solution: When the pattern is empty use the last search pattern. (Martin
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004948 Toft)
4949Files: runtime/doc/change.txt, src/ex_cmds.c
4950
4951Patch 7.1.029 (after 7.1.019)
4952Problem: Can't compile when all interfaces are used. (Taylor Venable)
4953Solution: Only check for ex_script_ni when it's defined.
4954Files: src/ex_docmd.c
4955
4956Patch 7.1.030
4957Problem: The "vimtutor" shell script checks for "vim6" but not for "vim7".
4958 (Christian Robinson)
4959Solution: Check for more versions, but prefer using "vim".
4960Files: src/vimtutor
4961
4962Patch 7.1.031
4963Problem: virtcol([123, '$']) doesn't work. (Michael Schaap)
4964Solution: When '$' is used for the column number get the last column.
4965Files: runtime/doc/eval.txt, src/eval.c
4966
4967Patch 7.1.032
4968Problem: Potential crash when editing a command line. (Chris Monson)
4969Solution: Check the position to avoid access before the start of an array.
4970Files: src/ex_getln.c
4971
4972Patch 7.1.033
4973Problem: A buffer is marked modified when it was first deleted and then
4974 added again using a ":next" command. (John Mullin)
4975Solution: When checking if a buffer is modified use the BF_NEVERLOADED flag.
4976Files: src/option.c
4977
4978Patch 7.1.034
4979Problem: Win64: A few compiler warnings. Problems with optimizer.
4980Solution: Use int instead of size_t. Disable the optimizer in one function.
4981 (George V. Reilly)
4982Files: src/eval.c, src/spell.c
4983
4984Patch 7.1.035
4985Problem: After ":s/./&/#" all listed lines have a line number. (Yakov
4986 Lerner)
4987Solution: Reset the line number flag when not using the "&" flag.
4988Files: src/ex_cmds.c
4989
4990Patch 7.1.036
4991Problem: Completing ":echohl" argument should include "None". (Ori
4992 Avtalion) ":match" should have "none" too.
4993Solution: Add flags to use expand_highlight(). Also fix that when disabling
4994 FEAT_CMDL_COMPL compilation fails. (Chris Lubinski)
4995Files: src/eval.c, src/ex_docmd.c, src/ex_getln.c, src/proto/syntax.pro
4996 src/syntax.c
4997
4998Patch 7.1.037
4999Problem: strcpy() used for overlapping strings. (Chris Monson)
5000Solution: Use mch_memmove() instead.
5001Files: src/option.c
5002
5003Patch 7.1.038
5004Problem: When 'expandtab' is set then a Tab copied for 'copyindent' is
5005 expanded to spaces, even when 'preserveindent' is set. (Alexei
5006 Alexandrov)
5007Solution: Remove the check for 'expandtab'. Also fix that ">>" doesn't obey
5008 'preserveindent'. (Chris Lubinski)
5009Files: src/misc1.c
5010
5011Patch 7.1.039
5012Problem: A tag in a help file that starts with "help-tags" and contains a
5013 percent sign may make Vim crash. (Ulf Harnhammar)
5014Solution: Use puts() instead of fprintf().
5015Files: src/ex_cmds.c
5016
5017Patch 7.1.040
5018Problem: ":match" only supports three matches.
5019Solution: Add functions clearmatches(), getmatches(), matchadd(),
5020 matchdelete() and setmatches(). Changed the data structures for
5021 this. A small bug in syntax.c is fixed, so newly created
5022 highlight groups can have their name resolved correctly from their
5023 ID. (Martin Toft)
5024Files: runtime/doc/eval.txt, runtime/doc/pattern.txt,
5025 runtime/doc/usr_41.txt, src/eval.c, src/ex_docmd.c,
5026 src/proto/window.pro, src/screen.c, src/structs.h, src/syntax.c,
5027 src/testdir/Makefile, src/testdir/test63.in,
5028 src/testdir/test63.ok, src/window.c
5029
5030Patch 7.1.041 (extra, after 7.1.040)
5031Problem: Some changes for patch 7.1.040 are in extra files.
5032Solution: Update the extra files.
5033Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
5034 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms
5035
5036Patch 7.1.042 (after 7.1.040)
5037Problem: Internal error when using matchadd(). (David Larson)
5038Solution: Check the third argument to be present before using the fourth
5039 argument. (Martin Toft)
5040Files: src/eval.c
5041
5042Patch 7.1.043
5043Problem: In Ex mode using CTRL-D twice may cause a crash. Cursor isn't
5044 positioned properly after CTRL-D.
5045Solution: Set prev_char properly. Position the cursor correctly. (Antony
5046 Scriven)
5047Files: src/ex_getln.c
5048
5049Patch 7.1.044
5050Problem: In Insert mode 0 CTRL-T deletes all indent, it should add indent.
5051 (Gautam Iyer)
5052Solution: Check for CTRL-D typed.
5053Files: src/edit.c
5054
5055Patch 7.1.045
5056Problem: Unnecessary screen redrawing. (Jjgod Jiang)
5057Solution: Reset "must_redraw" after clearing the screen.
5058Files: src/screen.c
5059
5060Patch 7.1.046
5061Problem: ":s" command removes combining characters. (Ron Aaron)
5062Solution: Copy composing characters individually. (Chris Lubinski)
5063Files: src/regexp.c
5064
5065Patch 7.1.047
5066Problem: vim_regcomp() called with invalid argument. (Xiaozhou Liu)
5067Solution: Change TRUE to RE_MAGIC + RE_STRING.
5068Files: src/ex_eval.c
5069
5070Patch 7.1.048
5071Problem: The matchparen plugin doesn't update the match when scrolling with
5072 the mouse wheel. (Ilya Bobir)
5073Solution: Set the match highlighting for text that can be scrolled into the
5074 viewable area without moving the cursor. (Chris Lubinski)
5075Files: runtime/plugin/matchparen.vim
5076
5077Patch 7.1.049
5078Problem: Cannot compile GTK2 version with Hangul input feature.
5079Solution: Don't define FEAT_XFONTSET when using GTK2.
5080Files: src/feature.h
5081
5082Patch 7.1.050
5083Problem: Possible crash when using C++ indenting. (Chris Monson)
5084Solution: Keep the line pointer to the line to compare with. Avoid going
5085 past the end of line.
5086Files: src/misc1.c
5087
5088Patch 7.1.051
5089Problem: Accessing uninitialized memory when finding spell suggestions.
5090Solution: Don't try swapping characters at the end of a word.
5091Files: src/spell.c
5092
5093Patch 7.1.052
5094Problem: When creating a new match not all fields are initialized, which
5095 may lead to unpredictable results.
5096Solution: Initialise rmm_ic and rmm_maxcol.
5097Files: src/window.c
5098
5099Patch 7.1.053
5100Problem: Accessing uninitialized memory when giving a message.
5101Solution: Check going the length before checking for a NUL byte.
5102Files: src/message.c
5103
5104Patch 7.1.054
5105Problem: Accessing uninitialized memory when displaying the fold column.
5106Solution: Add a NUL to the extra array. (Dominique Pelle). Also do this in
5107 a couple of other situations.
5108Files: src/screen.c
5109
5110Patch 7.1.055
5111Problem: Using strcpy() with arguments that overlap.
5112Solution: Use mch_memmove() instead.
5113Files: src/buffer.c, src/charset.c, src/eval.c, src/ex_getln.c,
5114 src/misc1.c, src/regexp.c, src/termlib.c
5115
5116Patch 7.1.056
5117Problem: More prompt does not behave correctly after scrolling back.
5118 (Randall W. Morris)
5119Solution: Avoid lines_left becomes negative. (Chris Lubinski) Don't check
5120 mp_last when deciding to show the more prompt. (Martin Toft)
5121Files: src/message.c
5122
5123Patch 7.1.057
5124Problem: Problem with CursorHoldI when using "r" in Visual mode (Max
5125 Dyckhoff)
5126Solution: Ignore CursorHold(I) when getting a second character for a Normal
5127 mode command. Also abort the "r" command in Visual when a special
5128 key is typed.
5129Files: src/normal.c
5130
5131Patch 7.1.058
5132Problem: When 'rightleft' is set the completion menu is positioned wrong.
5133 (Baha-Eddine MOKADEM)
5134Solution: Fix the completion menu. (Martin Toft)
5135Files: src/popupmnu.c, src/proto/search.pro, src/search.c
5136
5137Patch 7.1.059
5138Problem: When in Ex mode and doing "g/^/vi" and then pressing CTRL-C Vim
5139 hangs and beeps. (Antony Scriven)
5140Solution: Clear "got_int" in the main loop to avoid the hang. When typing
5141 CTRL-C twice in a row abort the ":g" command. This is Vi
5142 compatible.
5143Files: src/main.c
5144
5145Patch 7.1.060
5146Problem: Splitting quickfix window messes up window layout. (Marius
5147 Gedminas)
5148Solution: Compute the window size in a smarter way. (Martin Toft)
5149Files: src/window.c
5150
5151Patch 7.1.061
5152Problem: Win32: When 'encoding' is "latin1" 'ignorecase' doesn't work for
5153 characters with umlaut. (Joachim Hofmann)
5154Solution: Do not use islower()/isupper()/tolower()/toupper() but our own
5155 functions. (Chris Lubinski)
5156Files: src/mbyte.c, src/regexp.c, src/vim.h
5157
5158Patch 7.1.062 (after 7.1.038)
5159Problem: Indents of C comments can be wrong. (John Mullin)
5160Solution: Adjust ind_len. (Chris Lubinski)
5161Files: src/misc1.c
5162
5163Patch 7.1.063 (after 7.1.040)
Bram Moolenaarc236c162008-07-13 17:41:49 +00005164Problem: Warning for uninitialized variable.
Bram Moolenaar8c8de832008-06-24 22:58:06 +00005165Solution: Initialise it to NULL.
5166Files: src/ex_docmd.c
5167
5168Patch 7.1.064
5169Problem: On Interix some files appear not to exist.
5170Solution: Remove the top bit from st_mode. (Ligesh)
5171Files: src/os_unix.c
5172
5173Patch 7.1.065 (extra)
5174Problem: Win32: Compilation problem for newer version of w32api.
5175Solution: Only define __IID_DEFINED__ when needed. (Chris Sutcliffe)
5176Files: src/Make_ming.mak, src/iid_ole.c
5177
5178Patch 7.1.066
5179Problem: When 'bomb' is set or reset the file should be considered
5180 modified. (Tony Mechelynck)
5181Solution: Handle like 'endofline'. (Martin Toft)
5182Files: src/buffer.c, src/fileio.c, src/option.c, src/structs.h
5183
5184Patch 7.1.067
5185Problem: 'thesaurus' doesn't work when 'infercase' is set. (Mohsin)
5186Solution: Don't copy the characters being completed but check the case and
5187 apply it to the suggested word. Also fix that the first word in
5188 the thesaurus line is not used. (Martin Toft)
5189Files: src/edit.c
5190
5191Patch 7.1.068
5192Problem: When 'equalalways' is set and splitting a window, it's possible
5193 that another small window gets bigger.
5194Solution: Only equalize window sizes when after a split the windows are
5195 smaller than another window. (Martin Toft)
5196Files: runtime/doc/options.txt, runtime/doc/windows.txt, src/window.c
5197
5198Patch 7.1.069
5199Problem: GTK GUI: When using confirm() without a default button there still
5200 is a default choice.
5201Solution: Ignore Enter and Space when there is no default button. (Chris
5202 Lubinski)
5203Files: src/gui_gtk.c
5204
5205Patch 7.1.070 (extra)
5206Problem: Win32 GUI: When using confirm() without a default button there
5207 still is a default choice.
5208Solution: Set focus on something else than a button. (Chris Lubinski)
5209Files: src/gui_w32.c
5210
5211Patch 7.1.071 (after 7.1.040)
5212Problem: Regexp patterns are not tested.
5213Solution: Add a basic test, to be expanded later.
5214 Also add (commented-out) support for valgrind.
5215Files: src/testdir/Makefile, src/testdir/test64.in, src/testdir/test64.ok
5216
5217Patch 7.1.072 (extra, after 7.1.041 and 7.1.071)
5218Problem: Some changes for patch 7.1.071 are in extra files.
5219Solution: Update the extra files. Also fix a few warnings from the DOS test
5220 makefile.
5221Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
5222 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms
5223
5224Patch 7.1.073 (after 7.1.062)
5225Problem: Wrong cursor position and crash when 'preserveindent' is set.
5226 (Charles Campbell)
5227Solution: Handle the situation that we start without indent. (Chris
5228 Lubinski)
5229Files: src/misc1.c
5230
5231Patch 7.1.074
Bram Moolenaarc236c162008-07-13 17:41:49 +00005232Problem: Crash when calling string() on a recursively nested List.
Bram Moolenaar8c8de832008-06-24 22:58:06 +00005233Solution: Check result value for being NULL. (Yukihiro Nakadaira)
5234Files: src/eval.c
5235
5236Patch 7.1.075
5237Problem: ":let v:statusmsg" reads memory already freed.
5238Solution: Don't set v:statusmsg when listing it.
5239Files: src/eval.c
5240
5241Patch 7.1.076
5242Problem: Another strcpy() with overlapping arguments.
5243Solution: Use mch_memmove(). (Dominique Pelle) And another one.
5244Files: src/ex_docmd.c, src/normal.c
5245
5246Patch 7.1.077
5247Problem: Using "can_spell" without initializing it. (Dominique Pelle)
5248Solution: Set a default for get_syntax_attr().
5249Files: src/syntax.c
5250
5251Patch 7.1.078
5252Problem: Dropping a file name on gvim that contains a CSI byte doesn't work
5253 when editing the command line.
5254Solution: Escape the CSI byte when inserting in the input buffer. (Yukihiro
5255 Nakadaira)
5256Files: src/gui.c, src/ui.c
5257
5258Patch 7.1.079
5259Problem: When the locale is "C" and 'encoding' is "latin1" then the "@"
5260 character in 'isfname', 'isprint', etc. doesn't pick up accented
5261 characters.
5262Solution: Instead of isalpha() use MB_ISLOWER() and MB_ISUPPER().
5263Files: src/charset.c, src/macros.h
5264
5265Patch 7.1.080 (extra)
5266Problem: Compiler warnings for using "const char *" for "char *".
5267Solution: Add type casts. (Chris Sutcliffe)
5268Files: src/GvimExt/gvimext.cpp
5269
5270Patch 7.1.081
5271Problem: Command line completion for a shell command: "cat </tmp/file<Tab>"
5272 doesn't work.
5273Solution: Start the file name at any character that can't be in a file name.
5274 (Martin Toft)
5275Files: src/ex_docmd.c
5276
5277Patch 7.1.082
5278Problem: After a ":split" the matchparen highlighting isn't there.
5279Solution: Install a WinEnter autocommand. Also fixes that after
5280 ":NoMatchParen" only the current window is updated. (Martin Toft)
5281Files: runtime/doc/pi_paren.txt, runtime/plugin/matchparen.vim
5282
5283Patch 7.1.083 (after 7.1.081)
5284Problem: Command line completion doesn't work with wildcards.
5285Solution: Add vim_isfilec_or_wc() and use it. (Martin Toft)
5286Files: src/charset.c, src/proto/charset.pro, src/ex_docmd.c
5287
5288Patch 7.1.084
5289Problem: Using the "-nb" argument twice causes netbeans not to get
5290 fileOpened events.
5291Solution: Change "&" to "&&". (Xavier de Gaye)
5292Files: src/ex_cmds.c
5293
5294Patch 7.1.085
5295Problem: ":e fold.c" then ":sp fold.c" results in folds of original window
5296 to disappear. (Akita Noek)
5297Solution: Invoke foldUpdateAll() for all windows of the changed buffer.
5298 (Martin Toft)
5299Files: src/ex_cmds.c
5300
5301Patch 7.1.086
5302Problem: Crash when using specific Python syntax highlighting. (Quirk)
5303Solution: Check for a negative index, coming from a keyword match at the
5304 start of a line from a saved state.
5305Files: src/syntax.c
5306
5307Patch 7.1.087
5308Problem: Reading past ":cscope find" command. Writing past end of a buffer.
5309Solution: Check length of the argument before using the pattern. Use
5310 vim_strncpy(). (Dominique Pelle)
5311Files: if_cscope.c
5312
5313Patch 7.1.088 (extra)
5314Problem: The coordinates used by ":winpos" differ from what getwinposx()
5315 and getwinposy() return.
5316Solution: Use MoveWindowStructure() instead of MoveWindow(). (Michael Henry)
5317Files: src/gui_mac.c
5318
5319Patch 7.1.089
5320Problem: ":let loaded_getscriptPlugin" doesn't clear to eol, result is
5321 "#1in".
5322Solution: Clear to the end of the screen after displaying the first variable
5323 value.
5324Files: src/eval.c
5325
5326Patch 7.1.090
5327Problem: Compiler warning on Mac OS X 10.5.
5328Solution: Don't redeclare sigaltstack(). (Hisashi T Fujinaka)
5329Files: src/os_unix.c
5330
5331Patch 7.1.091 (extra)
5332Problem: Win32: Can't embed Vim inside another application.
5333Solution: Add the --windowid argument. (Nageshwar)
5334Files: runtime/doc/gui_w32.txt, runtime/doc/starting.txt,
5335 runtime/doc/vi_diff.txt, src/globals.h, src/gui_w32.c, src/main.c
5336
5337Patch 7.1.092 (extra, after 7.1.088)
5338Problem: Wrong arguments for MoveWindowStructure().
5339Solution: Remove "TRUE". (Michael Henry)
5340Files: src/gui_mac.c
5341
5342Patch 7.1.093
5343Problem: Reading past end of a screen line when determining cell width.
5344 (Dominique Pelle)
5345Solution: Add an argument to mb_off2cells() for the maximum offset.
5346Files: src/globals.h, src/gui.c, src/mbyte.c, src/proto/mbyte.pro,
5347 src/screen.c
5348
5349Patch 7.1.094
5350Problem: When checking if syntax highlighting is present, looking in the
5351 current buffer instead of the specified one.
5352Solution: Use "buf" instead of "curbuf".
5353Files: src/syntax.c
5354
5355Patch 7.1.095
5356Problem: The FocusLost and FocusGained autocommands are triggered
5357 asynchronously in the GUI. This may cause arbitrary problems.
5358Solution: Put the focus event in the input buffer and handle it when ready
5359 for it.
5360Files: src/eval.c, src/getchar.c, src/gui.c, src/gui_gtk_x11.c,
5361 src/keymap.h
5362
5363Patch 7.1.096
5364Problem: Reading past end of a string when resizing Vim. (Dominique Pelle)
5365Solution: Check the string pointer before getting the char it points to.
5366Files: src/message.c
5367
5368Patch 7.1.097
5369Problem: ":setlocal stl=%!1+1" does not work.
5370Solution: Adjust check for pointer. (Politz)
5371Files: src/option.c
5372
5373Patch 7.1.098
5374Problem: ":call s:var()" doesn't work if "s:var" is a Funcref. (Andy Wokula)
5375Solution: Before converting "s:" into a script ID, check if it is a Funcref.
5376Files: src/eval.c
5377
5378Patch 7.1.099
5379Problem: When the 'keymap' and 'paste' options have a non-default value,
5380 ":mkexrc" and ":mksession" do not correctly set the options.
5381Solution: Set the options with side effects before other options.
5382Files: src/option.c
5383
5384Patch 7.1.100
5385Problem: Win32: Executing cscope doesn't always work properly.
5386Solution: Use another way to invoke cscope. (Mike Williams)
5387Files: src/if_cscope.c, src/if_cscope.h, src/main.c,
5388 src/proto/if_cscope.pro
5389
5390Patch 7.1.101
5391Problem: Ruby: The Buffer.line= method does not work.
5392Solution: Add the "self" argument to set_current_line(). (Jonathan Hankins)
5393Files: src/if_ruby.c
5394
5395Patch 7.1.102
5396Problem: Perl interface doesn't compile with new version of Perl.
5397Solution: Add two variables to the dynamic library loading. (Suresh
5398 Govindachar)
5399Files: src/if_perl.xs
5400
5401Patch 7.1.103
5402Problem: Using "dw" with the cursor past the end of the last line (using
5403 CTRL-\ CTRL-O from Insert mode) deletes a character. (Tim Chase)
5404Solution: Don't move the cursor back when the movement failed.
5405Files: src/normal.c
5406
5407Patch 7.1.104 (after 7.1.095)
5408Problem: When 'lazyredraw' is set a focus event causes redraw to be
5409 postponed until a key is pressed.
5410Solution: Instead of not returning from vgetc() when a focus event is
5411 encountered return K_IGNORE. Add plain_vgetc() for when the
5412 caller doesn't want to get K_IGNORE.
5413Files: src/digraph.c, src/edit.c, src/ex_cmds.c, src/ex_getln.c,
5414 src/getchar.c, src/normal.c, src/proto/getchar.pro, src/window.c
5415
5416Patch 7.1.105
5417Problem: Internal error when using "0 ? {'a': 1} : {}". (A.Politz)
5418Solution: When parsing a dictionary value without using the value, don't try
5419 obtaining the key name.
5420Files: src/eval.c
5421
5422Patch 7.1.106
5423Problem: ":messages" doesn't quit listing on ":".
5424Solution: Break the loop when "got_int" is set.
5425Files: src/message.c
5426
5427Patch 7.1.107
5428Problem: When doing a block selection and using "s" to change the text,
5429 while triggering auto-indenting, causes the wrong text to be
5430 repeated in other lines. (Adri Verhoef)
5431Solution: Compute the change of indent and compensate for that.
5432Files: src/ops.c
5433
5434Patch 7.1.108 (after 7.1.100)
5435Problem: Win32: Compilation problems in Cscope code. (Jeff Lanzarotta)
5436Solution: Use (long) instead of (intptr_t) when it's not defined.
5437Files: src/if_cscope.c
5438
5439Patch 7.1.109
5440Problem: GTK: when there are many tab pages, clicking on the arrow left of
5441 the labels moves to the next tab page on the right. (Simeon Bird)
5442Solution: Check the X coordinate of the click and pass -1 as value for the
5443 left arrow.
5444Files: src/gui_gtk_x11.c, src/term.c
5445
5446Patch 7.1.110 (after 7.1.102)
5447Problem: Win32: Still compilation problems with Perl.
5448Solution: Change the #ifdefs. (Suresh Govindachar)
5449Files: src/if_perl.xs
5450
5451Patch 7.1.111
5452Problem: When using ":vimgrep" with the "j" flag folds from another buffer
5453 may be displayed. (A.Politz)
5454Solution: When not jumping to another buffer update the folds.
5455Files: src/quickfix.c
5456
5457Patch 7.1.112
5458Problem: Using input() with a wrong argument may crash Vim. (A.Politz)
5459Solution: Init the input() return value to NULL.
5460Files: src/eval.c
5461
5462Patch 7.1.113
5463Problem: Using map() to go over an empty list causes memory to be freed
5464 twice. (A.Politz)
5465Solution: Don't clear the typeval in restore_vimvar().
5466Files: src/eval.c
5467
5468Patch 7.1.114
5469Problem: Memory leak in getmatches().
5470Solution: Don't increment the refcount twice.
5471Files: src/eval.c
5472
5473Patch 7.1.115 (after 7.1.105)
5474Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
5475Solution: Init variable to NULL.
5476Files: src/eval.c
5477
5478Patch 7.1.116
5479Problem: Cannot display Unicode characters above 0x10000.
5480Solution: Remove the replacement with a question mark when UNICODE16 is not
5481 defined. (partly by Nicolas Weber)
5482Files: src/screen.c
5483
5484Patch 7.1.117
Bram Moolenaar6dfc28b2010-02-11 14:19:15 +01005485Problem: Can't check whether Vim was compiled with Gnome. (Tony Mechelynck)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00005486Solution: Add gui_gnome to the has() list.
5487Files: src/eval.c
5488
5489Patch 7.1.118 (after 7.1.107)
5490Problem: Compiler warning for Visual C compiler.
5491Solution: Add typecast. (Mike Williams)
5492Files: src/ops.c
5493
5494Patch 7.1.119
5495Problem: Crash when 'cmdheight' set to very large value. (A.Politz)
5496Solution: Limit 'cmdheight' to 'lines' minus one. Store right value of
5497 'cmdheight' when running out of room.
5498Files: src/option.c, src/window.c
5499
5500Patch 7.1.120
5501Problem: Can't properly check memory leaks while running tests.
5502Solution: Add an argument to garbagecollect(). Delete functions and
5503 variables in the test scripts.
5504Files: runtime/doc/eval.txt src/eval.c, src/globals.h, src/main.c,
5505 src/testdir/Makefile, src/testdir/test14.in,
5506 src/testdir/test26.in, src/testdir/test34.in,
5507 src/testdir/test45.in, src/testdir/test47.in,
5508 src/testdir/test49.in, src/testdir/test55.in,
5509 src/testdir/test56.in, src/testdir/test58.in,
5510 src/testdir/test59.in, src/testdir/test60.in,
5511 src/testdir/test60.vim, src/testdir/test62.in,
5512 src/testdir/test63.in, src/testdir/test64.in,
5513
5514Patch 7.1.121
5515Problem: Using ":cd %:h" when editing a file in the current directory
5516 results in an error message for using an empty string.
5517Solution: When "%:h" results in an empty string use ".".
5518Files: src/eval.c
5519
5520Patch 7.1.122
5521Problem: Mac: building Vim.app fails. Using wrong architecture.
5522Solution: Use line continuation for the gui_bundle dependency. Detect the
5523 system architecture with "uname -a".
5524Files: src/main.aap
5525
5526Patch 7.1.123
5527Problem: Win32: ":edit foo ~ foo" expands "~".
5528Solution: Change the call to expand_env().
5529Files: src/ex_docmd.c, src/misc1.c, src/proto/misc1.pro, src/option.c
5530
5531Patch 7.1.124 (extra)
5532Problem: Mac: When dropping a file on Vim.app that is already in the buffer
5533 list (from .viminfo) results in editing an empty, unnamed buffer.
5534 (Axel Kielhorn) Also: warning for unused variable.
Bram Moolenaarc236c162008-07-13 17:41:49 +00005535Solution: Move to the buffer of the first argument. Delete unused variable.
Bram Moolenaar8c8de832008-06-24 22:58:06 +00005536Files: src/gui_mac.c
5537
5538Patch 7.1.125
5539Problem: The TermResponse autocommand event is not always triggered. (Aron
Bram Moolenaar8d9b40e2010-07-25 15:49:07 +02005540 Griffis)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00005541Solution: When unblocking autocommands check if v:termresponse changed and
5542 trigger the event then.
5543Files: src/buffer.c, src/diff.c, src/ex_getln.c, src/fileio.c,
5544 src/globals.h, src/misc2.c, src/proto/fileio.pro, src/window.c
5545
5546Patch 7.1.126 (extra)
5547Problem: ":vimgrep */*" fails when a BufRead autocommand changes directory.
5548 (Bernhard Kuhn)
5549Solution: Change back to the original directory after loading a file.
5550 Also: use shorten_fname1() to avoid duplicating code.
5551Files: src/buffer.c, src/ex_docmd.c, src/fileio.c, src/gui_gtk.c,
5552 src/gui_w48.c, src/proto/ex_docmd.pro, src/proto/fileio.pro,
5553 src/quickfix.c
5554
5555Patch 7.1.127
5556Problem: Memory leak when doing cmdline completion. (Dominique Pelle)
5557Solution: Free "orig" argument of ExpandOne() when it's not used.
5558Files: src/ex_getln.c
5559
5560Patch 7.1.128 (extra)
5561Problem: Build problems with new version of Cygwin.
5562Solution: Remove -D__IID_DEFINED__, like with MingW. (Guopeng Wen)
5563Files: src/Make_cyg.mak
5564
5565Patch 7.1.129 (extra)
5566Problem: Win32: Can't get the user name when it is longer than 15
5567 characters.
5568Solution: Use UNLEN instead of MAX_COMPUTERNAME_LENGTH. (Alexei Alexandrov)
5569Files: src/os_win32.c
5570
5571Patch 7.1.130
5572Problem: Crash with specific order of undo and redo. (A.Politz)
5573Solution: Clear and adjust pointers properly. Add u_check() for debugging.
5574Files: src/undo.c, src/structs.h
5575
5576Patch 7.1.131
5577Problem: ":mksession" always adds ":setlocal autoread". (Christian J.
5578 Robinson)
5579Solution: Skip boolean global/local option using global value.
5580Files: src/option.c
5581
5582Patch 7.1.132
5583Problem: getpos("'>") may return a negative column number for a Linewise
5584 selection. (A.Politz)
5585Solution: Don't add one to MAXCOL.
5586Files: src/eval.c
5587
5588Patch 7.1.133 (after 7.1.126)
5589Problem: shorten_fname1() linked when it's not needed.
5590Solution: Add #ifdef.
5591Files: src/fileio.c
5592
5593Patch 7.1.134 (extra)
5594Problem: Win32: Can't build with VC8
5595Solution: Detect the MSVC version instead of using NMAKE_VER.
5596 (Mike Williams)
5597Files: src/Make_mvc.mak
5598
5599Patch 7.1.135
5600Problem: Win32: When editing a file c:\tmp\foo and c:\tmp\\foo we have two
5601 buffers for the same file. (Suresh Govindachar)
5602Solution: Invoke FullName_save() when a path contains "//" or "\\".
5603Files: src/buffer.c
5604
5605Patch 7.1.136
5606Problem: Memory leak when using Ruby syntax highlighting. (Dominique Pelle)
5607Solution: Free the contained-in list.
5608Files: src/syntax.c
5609
5610Patch 7.1.137
5611Problem: Build failure when using EXITFREE. (Dominique Pelle)
5612Solution: Add an #ifdef around using clip_exclude_prog.
5613Files: src/misc2.c
5614
5615Patch 7.1.138
5616Problem: The Perl Msg() function doesn't stop when "q" is typed at the more
5617 prompt. (Hari Krishna Dara)
5618Solution: Check got_int.
5619Files: src/if_perl.xs
5620
5621Patch 7.1.139
5622Problem: When using marker folding and ending Insert mode with CTRL-C the
5623 current fold is truncated. (Fred Kater)
5624Solution: Ignore got_int while updating folds.
5625Files: src/fold.c
5626
5627Patch 7.1.140
5628Problem: v:count is set only after typing a non-digit, that makes it
5629 difficult to make a nice mapping.
5630Solution: Set v:count while still typing the count.
5631Files: src/normal.c
5632
5633Patch 7.1.141
5634Problem: GTK: -geom argument doesn't support a negative offset.
5635Solution: Compute position from the right/lower corner.
5636Files: src/gui_gtk_x11.c
5637
5638Patch 7.1.142
5639Problem: ":redir @A>" doesn't work.
5640Solution: Ignore the extra ">" also when appending. (James Vega)
5641Files: src/ex_docmd.c
5642
5643Patch 7.1.143
5644Problem: Uninitialized memory read when diffing three files. (Dominique
5645 Pelle)
5646Solution: Remove "+ !notset" so that we don't use fields that were not
5647 computed.
5648Files: src/diff.c
5649
5650Patch 7.1.144
5651Problem: After ":diffup" cursor can be in the wrong position.
5652Solution: Force recomputing the cursor position.
5653Files: src/diff.c
5654
5655Patch 7.1.145
5656Problem: Insert mode completion: When using the popup menu, after
5657 completing a word and typing a non-word character Vim is still
5658 completing the same word, following CTRL-N doesn't work.
5659 Insert mode Completion: When using CTRL-X O and there is only
5660 "struct." before the cursor, typing one char to reduce the
5661 matches, then BS completion stops.
5662Solution: When typing a character that is not part of the item being
5663 completed, stop complete mode. For whole line completion also
5664 accept a space. For file name completion stop at a path
5665 separator.
5666 For omni completion stay in completion mode even if completing
5667 with empty string.
5668Files: src/edit.c
5669
5670Patch 7.1.146 (extra)
5671Problem: VMS: Files with a very rare record organization (VFC) cannot be
5672 properly written by Vim.
5673 On older VAX systems mms runs into a syntax error.
5674Solution: Check for this special situation. Do not wrap a comment, make it
5675 one long line. (Zoltan Arpadffy)
5676Files: src/fileio.c, src/Make_vms.mms
5677
5678Patch 7.1.147 (after 7.1.127)
5679Problem: Freeing memory already freed when completing user name. (Meino
5680 Cramer)
5681Solution: Use a flag to remember if "orig" needs to be freed.
5682Files: src/ex_getln.c
5683
5684Patch 7.1.148
5685Problem: Some types are not found by configure.
5686Solution: Test for the sys/types.h header file. (Sean Boudreau)
5687Files: src/configure.in, src/auto/configure
5688
5689Patch 7.1.149
5690Problem: GTK GUI: When the completion popup menu is used scrolling another
5691 window by the scrollbar is OK, but using the scroll wheel it
5692 behaves line <Enter>.
5693Solution: Ignore K_MOUSEDOWN and K_MOUSEUP. Fix redrawing the popup menu.
5694Files: src/edit.c, src/gui.c
5695
5696Patch 7.1.150
5697Problem: When 'clipboard' has "unnamed" using "p" in Visual mode doesn't
5698 work correctly. (Jianrong Yu)
5699Solution: When 'clipboard' has "unnamed" also obtain the selection when
5700 getting the default register.
5701Files: src/ops.c
5702
5703Patch 7.1.151
5704Problem: Using whole line completion with 'ignorecase' and 'infercase' set
5705 and the line is empty get an lalloc(0) error.
5706Solution: Don't try changing case for an empty match. (Matthew Wozniski)
5707Files: src/edit.c
5708
5709Patch 7.1.152
5710Problem: Display problem when 'hls' and 'cursorcolumn' are set and
5711 searching for "$". (John Mullin) Also when scrolling
5712 horizontally when 'wrap' is off.
5713Solution: Keep track of the column where highlighting was set. Check the
5714 column offset when skipping characters.
5715Files: src/screen.c
5716
5717Patch 7.1.153
5718Problem: Compiler warnings on SGI. Undefined XpmAllocColor (Charles
5719 Campbell)
5720Solution: Add type casts. Init st_dev and st_ino separately. Don't use
5721 type casts for vim_snprintf() when HAVE_STDARG_H is defined.
5722 Define XpmAllocColor when needed.
5723Files: src/eval.c, src/ex_cmds.c, src/fileio.c, src/misc2.c,
5724 src/gui_xmebw.c
5725
5726Patch 7.1.154
5727Problem: Compiler warning for signed/unsigned compare.
5728Solution: Add type cast.
5729Files: src/screen.c
5730
5731Patch 7.1.155
5732Problem: Crash when 'undolevels' is 0 and repeating "udd". (James Vega)
5733Solution: When there is only one branch use u_freeheader() to delete it.
5734Files: src/undo.c
5735
5736Patch 7.1.156
5737Problem: Overlapping arguments for strcpy() when expanding command line
5738 variables.
5739Solution: Use mch_memmove() instead of STRCPY(). Also fix a few typos.
5740 (Dominique Pelle)
5741Files: src/ex_docmd.c
5742
5743Patch 7.1.157
5744Problem: In Ex mode, :" gives an error at end-of-file. (Michael Hordijk)
5745Solution: Only give an error for an empty line, not for a comment.
5746Files: src/ex_docmd.c
5747
5748Patch 7.1.158 (extra)
5749Problem: Win32 console: When 'encoding' is "utf-8" and typing Alt-y the
5750 result is wrong. Win32 GUI: Alt-y results in "u" when 'encoding'
5751 is "cp1250" (Lukas Cerman)
5752Solution: For utf-8 don't set the 7th bit in a byte, convert to the correct
5753 byte sequence. For cp1250, when conversion to 'encoding' results
5754 in the 7th bit not set, set the 7th bit after conversion.
5755Files: src/os_win32.c, src/gui_w48.c
5756
5757Patch 7.1.159
5758Problem: strcpy() has overlapping arguments.
5759Solution: Use mch_memmove() instead. (Dominique Pelle)
5760Files: src/ex_cmds.c
5761
5762Patch 7.1.160
5763Problem: When a focus autocommand is defined, getting or losing focus
5764 causes the hit-enter prompt to be redrawn. (Bjorn Winckler)
5765Solution: Overwrite the last line.
5766Files: src/message.c
5767
5768Patch 7.1.161
5769Problem: Compilation errors with tiny features and EXITFREE.
5770Solution: Add #ifdefs. (Dominique Pelle)
5771Files: src/edit.c, src/misc2.c
5772
5773Patch 7.1.162
5774Problem: Crash when using a modifier before "while" or "for". (A.Politz)
5775Solution: Skip modifiers when checking for a loop command.
5776Files: src/proto/ex_docmd.pro, src/ex_docmd.c, src/ex_eval.c
5777
5778Patch 7.1.163
5779Problem: Warning for the unknown option 'bufsecret'.
5780Solution: Remove the lines .vim that use this option. (Andy Wokula)
5781Files: runtime/menu.vim
5782
5783Patch 7.1.164
5784Problem: Reading past end of regexp pattern. (Dominique Pelle)
5785Solution: Use utf_ptr2len().
5786Files: src/regexp.c
5787
5788Patch 7.1.165
5789Problem: Crash related to getting X window ID. (Dominique Pelle)
5790Solution: Don't trust the window ID that we got in the past, check it every
5791 time.
5792Files: src/os_unix.c
5793
5794Patch 7.1.166
5795Problem: Memory leak for using "gp" in Visual mode.
5796Solution: Free memory in put_register(). (Dominique Pelle)
5797Files: src/ops.c
5798
5799Patch 7.1.167
5800Problem: Xxd crashes when using "xxd -b -c 110". (Debian bug 452789)
5801Solution: Allocate more memory. Fix check for maximum number of columns.
5802Files: src/xxd/xxd.c
5803
5804Patch 7.1.168 (extra)
5805Problem: Win32 GUI: Since patch 7.1.095, when the Vim window does not have
5806 focus, clicking in it doesn't position the cursor. (Juergen
5807 Kraemer)
5808Solution: Don't reset s_button_pending just after receiving focus.
5809Files: src/gui_w48.c
5810
5811Patch 7.1.169
5812Problem: Using uninitialized variable when system() fails. (Dominique
5813 Pelle)
5814Solution: Let system() return an empty string when it fails.
5815Files: src/eval.c
5816
5817Patch 7.1.170
5818Problem: Valgrind warning for overlapping arguments for strcpy().
5819Solution: Use mch_memmove() instead. (Dominique Pelle)
5820Files: src/getchar.c
5821
5822Patch 7.1.171
5823Problem: Reading one byte before allocated memory.
5824Solution: Check index not to become negative. (Dominique Pelle)
5825Files: src/ex_getln.c
5826
5827Patch 7.1.172
5828Problem: When 'buftype' is "acwrite" Vim still checks if the file or
5829 directory exists before overwriting.
5830Solution: Don't check for overwriting when the buffer name is not a file
5831 name.
5832Files: src/ex_cmds.c
5833
5834Patch 7.1.173
5835Problem: Accessing freed memory. (Dominique Pelle)
5836Solution: Don't call reg_getline() to check if a line is the first in the
5837 file.
5838Files: src/regexp.c
5839
5840Patch 7.1.174
5841Problem: Writing NUL past end of a buffer.
5842Solution: Copy one byte less when using strncat(). (Dominique Pelle)
5843Files: src/ex_cmds.c, src/ex_docmd.c,
5844
5845Patch 7.1.175
5846Problem: <BS> doesn't work with some combination of 'sts', 'linebreak' and
5847 'backspace'. (Francois Ingelrest)
5848Solution: When adding white space results in not moving back delete one
5849 character.
5850Files: src/edit.c
5851
5852Patch 7.1.176
5853Problem: Building with Aap fails when the "compiledby" argument contains
5854 '<' or '>' characters. (Alex Yeh)
5855Solution: Change how quoting is done in the Aap recipe.
5856Files: src/main.aap
5857
5858Patch 7.1.177
5859Problem: Freeing memory twice when in debug mode while reading a script.
5860Solution: Ignore script input while in debug mode.
5861Files: src/ex_cmds2.c, src/getchar.c, src/globals.h
5862
5863Patch 7.1.178
5864Problem: "%" doesn't work on "/* comment *//* comment */".
5865Solution: Don't handle the "//" in "*//*" as a C++ comment. (Markus
5866 Heidelberg)
5867Files: src/search.c
5868
5869Patch 7.1.179
5870Problem: Need to check for TCL 8.5.
5871Solution: Adjust configure script. (Alexey Froloff)
5872Files: src/configure.in, src/auto/configure
5873
5874Patch 7.1.180
5875Problem: Regexp patterns not tested sufficiently.
5876Solution: Add more checks to the regexp test.
5877Files: src/testdir/test64.in, src/testdir/test64.ok
5878
5879Patch 7.1.181
5880Problem: Accessing uninitialized memory in Farsi mode. (Dominique Pelle)
5881Solution: Only invoke lrF_sub() when there is something to do.
5882Files: src/ex_cmds.c
5883
5884Patch 7.1.182
5885Problem: When using tab pages and an argument list the session file may
5886 contain wrong "next" commands. (Alexander Bluem)
5887Solution: Use "argu" commands and only when needed.
5888Files: src/ex_docmd.c
5889
5890Patch 7.1.183
5891Problem: "Internal error" for ":echo matchstr('a', 'a\%[\&]')" (Mitanu
5892 Paul)
5893Solution: Inside "\%[]" detect \&, \| and \) as an error.
5894Files: src/regexp.c
5895
5896Patch 7.1.184
5897Problem: Crash when deleting backwards over a line break in Insert mode.
5898Solution: Don't advance the cursor when it's already on the NUL after a
5899 line. (Matthew Wozniski)
5900Files: src/normal.c
5901
5902Patch 7.1.185
5903Problem: Using "gR" with a multi-byte encoding and typing a CR pushes
5904 characters onto the replace stack incorrectly, resulting in BS
5905 putting back the wrong characters. (Paul B. Mahol)
5906Solution: Push multi-byte characters onto the replace stack in reverse byte
5907 order. Add replace_push_mb().
5908Files: src/edit.c, src/misc1.c, src/proto/edit.pro
5909
5910Patch 7.1.186
5911Problem: "expand('<afile>')" returns a bogus value after changing
5912 directory. (Dave Fishburn)
5913Solution: Copy "autocmd_fname" to allocated memory and expand to full
5914 filename. Shorten the path when expanding <afile>.
5915Files: src/ex_docmd.c, src/fileio.c
5916
5917Patch 7.1.187
5918Problem: Win32 GUI: Custom completion using system() no longer works
5919 after patch 7.1.104. (Erik Falor)
5920Solution: Loop when safe_vgetc() returns K_IGNORE.
5921Files: src/ex_getln.c
5922
5923Patch 7.1.188
5924Problem: When 'showmode' is off the message for changing a readonly file is
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +01005925 given in the second column instead of the first. (Payl B. Mahol)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00005926Solution: Put the W10 message in the first column.
5927Files: src/edit.c
5928
5929Patch 7.1.189 (after 7.1.104)
5930Problem: Patch 7.1.104 was incomplete.
5931Solution: Also call plain_vgetc() in ask_yesno().
5932Files: src/misc1.c
5933
5934Patch 7.1.190
5935Problem: Cursor after end-of-line: "iA sentence.<Esc>)"
5936Solution: Move cursor back and make motion inclusive.
5937Files: src/normal.c
5938
5939Patch 7.1.191
5940Problem: Win32 GUI: after patch 7.1.168 there is still a problem when
5941 clicking in a scrollbar. (Juergen Jottkaerr)
5942Solution: Don't check the input buffer when dragging the scrollbar.
5943Files: src/gui.c
5944
5945Patch 7.1.192
5946Problem: With Visual block selection, "s" and typing something, CTRL-C
5947 doesn't stop Vim from repeating the replacement in other lines,
5948 like happens for "I".
5949Solution: Check for "got_int" to be set.
5950Files: src/ops.c
5951
5952Patch 7.1.193
5953Problem: Some Vim 5.x digraphs are missing in Vim 7, even though the
5954 character pairs are not used. (Philippe de Muyter)
5955Solution: Add those Vim 5.x digraphs that don't conflict with others.
5956Files: src/digraph.c
5957
5958Patch 7.1.194
5959Problem: ":echo glob('~/{}')" results in /home/user//.
5960Solution: Don't add a slash if there already is one.
5961Files: src/os_unix.c
5962
5963Patch 7.1.195
5964Problem: '0 mark doesn't work for "~/foo ~ foo".
5965Solution: Don't expand the whole file name, only "~/".
5966Files: src/mark.c
5967
5968Patch 7.1.196 (extra)
5969Problem: Win32 GUI: "\n" in a tooltip doesn't cause a line break. (Erik
5970 Falor)
5971Solution: Use the TTM_SETMAXTIPWIDTH message.
5972Files: src/gui_w32.c
5973
5974Patch 7.1.197
5975Problem: Mac: "make install" doesn't work when prefix defined.
5976Solution: Pass different arguments to "make installruntime". (Jjgod Jiang)
5977Files: src/Makefile
5978
5979Patch 7.1.198
5980Problem: Hang when using ":s/\n//gn". (Burak Gorkemli)
5981Solution: Set "skip_match".
5982Files: src/ex_cmds.c
5983
5984Patch 7.1.199
5985Problem: Can't do command line completion for a specific file name
5986 extension.
5987Solution: When the pattern ends in "$" don't add a star for completion and
5988 remove the "$" before matching with file names.
5989Files: runtime/doc/cmdline.txt, src/ex_getln.c
5990
5991Patch 7.1.200 (after 7.1.177 and 7.1.182)
5992Problem: Compiler warnings for uninitialized variables.
5993Solution: Init variables.
5994Files: src/ex_cmds2.c, src/ex_docmd.c
5995
5996Patch 7.1.201
Bram Moolenaardd007ed2013-07-09 15:44:17 +02005997Problem: When reading stdin 'fenc' and 'ff' are not set.
Bram Moolenaar8c8de832008-06-24 22:58:06 +00005998Solution: Set the options after reading stdin. (Ben Schmidt)
5999Files: src/fileio.c
6000
6001Patch 7.1.202
6002Problem: Incomplete utf-8 byte sequence is not checked for validity.
6003Solution: Check the bytes that are present for being valid. (Ben Schmidt)
6004Files: src/mbyte.c
6005
6006Patch 7.1.203
6007Problem: When 'virtualedit' is "onemore" then "99|" works but ":normal 99|"
6008 doesn't. (Andy Wokula)
6009Solution: Check for "onemore" flag in check_cursor_col().
6010Files: src/misc2.c
6011
6012Patch 7.1.204 (extra)
6013Problem: Win32: Using the example at 'balloonexpr' the balloon disappears
6014 after four seconds and then comes back again. Also moves the
6015 mouse pointer a little bit. (Yongwei Wu)
6016Solution: Set the autopop time to 30 seconds (the max value). (Sergey
6017 Khorev) Move the mouse two pixels forward and one back to end up
6018 in the same position (really!).
6019Files: src/gui_w32.c
6020
6021Patch 7.1.205
6022Problem: Can't get the operator in an ":omap".
6023Solution: Add the "v:operator" variable. (Ben Schmidt)
6024Files: runtime/doc/eval.txt, src/eval.c, src/normal.c, src/vim.h
6025
6026Patch 7.1.206
6027Problem: Compiler warnings when using MODIFIED_BY.
6028Solution: Add type casts. (Ben Schmidt)
6029Files: src/version.c
6030
6031Patch 7.1.207
6032Problem: Netbeans: "remove" cannot delete one line.
6033Solution: Remove partial lines and whole lines properly. Avoid a memory
6034 leak. (Xavier de Gaye)
6035Files: src/netbeans.c
6036
6037Patch 7.1.208
6038Problem: On Alpha get an unaligned access error.
6039Solution: Store the dictitem pointer before using it. (Matthew Luckie)
6040Files: src/eval.c
6041
6042Patch 7.1.209
6043Problem: GTK: When using the netrw plugin and doing ":gui" Vim hangs.
6044Solution: Stop getting a selection after three seconds. This is a hack.
6045Files: src/gui_gtk_x11.c
6046
6047Patch 7.1.210
6048Problem: Listing mapping for 0xdb fails when 'encoding' is utf-8. (Tony
6049 Mechelynck)
6050Solution: Recognize K_SPECIAL KS_EXTRA KE_CSI as a CSI byte.
6051Files: src/mbyte.c
6052
6053Patch 7.1.211
6054Problem: The matchparen plugin may take an unexpected amount of time, so
6055 that it looks like Vim hangs.
6056Solution: Add a timeout to searchpair(), searchpairpos(), search() and
6057 searchpos(). Use half a second timeout in the plugin.
6058Files: runtime/doc/eval.txt, runtime/plugin/matchparen.vim, src/edit.c,
6059 src/eval.c, src/ex_cmds2.c, src/ex_docmd.c, src/normal.c,
6060 src/proto/eval.pro, src/proto/ex_cmds2.pro, src/proto/search.pro,
6061 src/search.c
6062
6063Patch 7.1.212
6064Problem: Accessing a byte before a line.
6065Solution: Check that the column is 1 or more. (Dominique Pelle)
6066Files: src/edit.c
6067
6068Patch 7.1.213
6069Problem: A ":tabedit" command that results in the "swap file exists" dialog
6070 and selecting "abort" doesn't close the new tab. (Al Budden)
6071Solution: Pass "old_curwin" to do_exedit().
6072Files: src/ex_docmd.c
6073
6074Patch 7.1.214
6075Problem: ":1s/g\n\zs1//" deletes characters from the first line. (A Politz)
6076Solution: Start replacing in the line where the match starts.
6077Files: src/ex_cmds.c
6078
6079Patch 7.1.215
6080Problem: It is difficult to figure out what syntax items are nested at a
6081 certain position.
6082Solution: Add the synstack() function.
6083Files: runtime/doc/eval.txt, src/eval.c, src/proto/syntax.pro,
6084 src/syntax.c
6085
6086Patch 7.1.216
6087Problem: Variants of --remote-tab are not mentioned for "vim --help".
6088Solution: Display optional -wait and -silent.
6089Files: src/main.c
6090
6091Patch 7.1.217
6092Problem: The "help-tags" tag may be missing from runtime/doc/tags when it
6093 was generated during "make install".
6094Solution: Add the "++t" argument to ":helptags" to force adding the tag.
6095Files: runtime/doc/Makefile, runtime/doc/various.txt, src/ex_cmds.c,
6096 src/ex_cmds.h
6097
6098Patch 7.1.218
6099Problem: A syntax region without a "keepend", containing a region with
6100 "extend" could be truncated at the end of the containing region.
6101Solution: Do not call syn_update_ends() when there are no keepend items.
6102Files: src/syntax.c
6103
6104Patch 7.1.219 (after 7.1.215)
6105Problem: synstack() returns situation after the current character, can't
6106 see the state for a one-character region.
6107Solution: Don't update ending states in the requested column.
6108Files: runtime/doc/eval.txt, src/eval.c, src/hardcopy.c,
6109 src/proto/syntax.pro, src/screen.c, src/spell.c, src/syntax.c
6110
6111Patch 7.1.220
6112Problem: When a ")" or word movement command moves the cursor back from the
6113 end of the line it may end up on the trail byte of a multi-byte
6114 character. It's also moved back when it isn't needed.
6115Solution: Add the adjust_cursor() function.
6116Files: src/normal.c
6117
6118Patch 7.1.221
6119Problem: When inserting a "(", triggering the matchparen plugin, the
6120 following highlighting may be messed up.
6121Solution: Before triggering the CursorMovedI autocommands update the display
6122 to update the stored syntax stacks for the change.
6123Files: src/edit.c
6124
6125Patch 7.1.222 (after 7.1.217)
6126Problem: Wildcards in argument of ":helptags" are not expanded. (Marcel
6127 Svitalsky)
6128Solution: Expand wildcards in the directory name.
6129Files: src/ex_cmds.c
6130
6131Patch 7.1.223
6132Problem: glob() doesn't work properly when 'shell' is "sh" or "bash" and
6133 the expanded name contains spaces, '~', single quotes and other
6134 special characters. (Adri Verhoef, Charles Campbell)
6135Solution: For Posix shells define a vimglob() function to list the matches
6136 instead of using "echo" directly.
6137Files: src/os_unix.c
6138
6139Patch 7.1.224
6140Problem: When using "vim -F -o file1 file2" only one window is
6141 right-to-left. Same for "-H". (Ben Schmidt)
6142Solution: use set_option_value() to set 'rightleft'.
6143Files: src/main.c
6144
6145Patch 7.1.225
Bram Moolenaarc236c162008-07-13 17:41:49 +00006146Problem: Using uninitialized value when XGetWMNormalHints() fails.
Bram Moolenaar8c8de832008-06-24 22:58:06 +00006147Solution: Check the return value. (Dominique Pelle)
6148Files: src/os_unix.c
6149
6150Patch 7.1.226
6151Problem: Command line completion doesn't work when a file name contains a
6152 '&' character.
6153Solution: Accept all characters in a file name, except ones that end a
6154 command or white space.
6155Files: src/ex_docmd.c
6156
6157Patch 7.1.227
6158Problem: Hang in syntax HL when moving over a ")". (Dominique Pelle)
6159Solution: Avoid storing a syntax state in the wrong position in the list of
6160 remembered states.
6161Files: src/syntax.c
6162
6163Patch 7.1.228
6164Problem: When 'foldmethod' is "indent" and a fold is created with ">>" it
6165 can't be closed with "zc". (Daniel Shahaf)
6166Solution: Reset the "small" flag of a fold when adding a line to it.
6167Files: src/fold.c
6168
6169Patch 7.1.229
6170Problem: A fold is closed when it shouldn't when 'foldmethod' is "indent"
6171 and backspacing a non-white character so that the indent increases.
6172Solution: Keep the fold open after backspacing a character.
6173Files: src/edit.c
6174
6175Patch 7.1.230
6176Problem: Memory leak when executing SourceCmd autocommands.
6177Solution: Free the memory. (Dominique Pelle)
6178Files: src/ex_cmds2.c
6179
6180Patch 7.1.231
6181Problem: When shifting lines the change is acted upon multiple times.
6182Solution: Don't have shift_line() call changed_bytes.
6183Files: src/edit.c, src/ops.c, src/proto/edit.pro, src/proto/ops.pro
6184
6185Patch 7.1.232 (after 7.1.207 and 7.1.211)
6186Problem: Compiler warnings with MSVC.
6187Solution: Add type casts. (Mike Williams)
6188Files: src/ex_cmds2.c, src/netbeans.c
6189
6190Patch 7.1.233
6191Problem: Crash when doing Insert mode completion for a user defined
6192 command. (Yegappan Lakshmanan)
6193Solution: Don't use the non-existing command line.
6194Files: src/ex_getln.c
6195
6196Patch 7.1.234
6197Problem: When diff'ing three files the third one isn't displayed correctly.
6198 (Gary Johnson)
6199Solution: Compute the size of diff blocks correctly when merging blocks.
6200 Compute filler lines correctly when scrolling.
6201Files: src/diff.c
6202
6203Patch 7.1.235
6204Problem: Pattern matching is slow when using a lot of simple patterns.
6205Solution: Avoid allocating memory by not freeing it when it's not so much.
6206 (Alexei Alexandrov)
6207Files: src/regexp.c
6208
6209Patch 7.1.236
6210Problem: When using 'incsearch' and 'hlsearch' a complicated pattern may
6211 make Vim hang until CTRL-C is pressed.
6212Solution: Add the 'redrawtime' option.
6213Files: runtime/doc/options.txt, src/ex_cmds.c, src/ex_docmd.c,
6214 src/ex_getln.c, src/gui.c, src/misc1.c, src/normal.c,
6215 src/option.c, src/quickfix.c, src/regexp.c, src/proto/regexp.pro,
6216 src/proto/search.pro, src/search.c, src/screen.c,
6217 src/option.h, src/spell.c, src/structs.h, src/syntax.c, src/tag.c,
6218 src/vim.h
6219
6220Patch 7.1.237
6221Problem: Compiler warning on an Alpha processor in Motif code.
6222Solution: Change a typecast. (Adri Verhoef)
6223Files: src/gui_motif.c
6224
6225Patch 7.1.238
6226Problem: Using the 'c' flag with searchpair() may cause it to fail. Using
6227 the 'r' flag doesn't work when 'wrapscan' is set. (A.Politz)
6228Solution: Only use the 'c' flag for the first search, not for repeating.
6229 When using 'r' imply 'W'. (Antony Scriven)
6230Files: src/eval.c
6231
6232Patch 7.1.239 (after 7.1.233)
6233Problem: Compiler warning for sprintf() argument.
6234Solution: Add a typecast. (Nico Weber)
6235Files: src/ex_getln.c
6236
6237Patch 7.1.240
6238Problem: When "gUe" turns a German sharp s into SS the operation stops
6239 before the end of the word. Latin2 has the same sharp s but it's
6240 not changed to SS there.
6241Solution: Make sure all the characters are operated upon. Detect the sharp
6242 s in latin2. Also fixes that changing case of a multi-byte
Bram Moolenaarc236c162008-07-13 17:41:49 +00006243 character that changes the byte count doesn't always work.
Bram Moolenaar8c8de832008-06-24 22:58:06 +00006244Files: src/ops.c
6245
6246Patch 7.1.241
6247Problem: Focus change events not always ignored. (Erik Falor)
6248Solution: Ignore K_IGNORE in Insert mode in a few more places.
6249Files: src/edit.c
6250
6251Patch 7.1.242 (after 7.1.005)
6252Problem: "cib" doesn't work properly on "(x)". (Tim Pope)
6253Solution: Use ltoreq() instead of lt(). Also fix "ciT" on "<a>x</a>".
6254Files: src/search.c
6255
6256Patch 7.1.243 (after 7.1.240)
6257Problem: "U" doesn't work on all text in Visual mode. (Adri Verhoef)
6258Solution: Loop over all the lines to be changed. Add tests for this.
6259Files: src/ops.c, src/testdir/test39.in, src/testdir/test39.ok
6260
6261Patch 7.1.244
6262Problem: GUI may have part of the command line cut off.
6263Solution: Don't round the number of lines up, always round down.
6264 (Tony Houghton, Scott Dillard)
6265Files: src/gui.c
6266
6267Patch 7.1.245
6268Problem: Pressing CTRL-\ three times causes Vim to quit. (Ranganath Rao).
6269 Also for f CTRL-\ CTRL-\.
6270Solution: When going to cooked mode in mch_delay() set a flag to ignore
6271 SIGQUIT.
6272Files: src/os_unix.c
6273
6274Patch 7.1.246
6275Problem: Configure hangs when the man pager is something strange. (lorien)
6276Solution: Set MANPAGER and PAGER to "cat". (Micah Cowan)
6277Files: src/auto/configure, src/configure.in
6278
6279Patch 7.1.247
6280Problem: When using Netbeans backspacing in Insert mode skips a character
6281 now and then. (Ankit Jain)
6282Solution: Avoid calling netbeans_removed(), it frees the line pointer.
6283 (partly by Dominique Pelle).
6284Files: src/misc1.c
6285
6286Patch 7.1.248
6287Problem: Can't set the '" mark. Can't know if setpos() was successful.
6288Solution: Allow setting the '" mark with setpos(). Have setpos() return a
6289 value indicating success/failure.
6290Files: runtime/doc/eval.txt, src/eval.c, src/mark.c
6291
6292Patch 7.1.249
6293Problem: After "U" the cursor can be past end of line. (Adri Verhoef)
6294Solution: Adjust the cursor position in u_undoline().
6295Files: src/undo.c
6296
6297Patch 7.1.250
6298Problem: ":setglobal fenc=anything" gives an error message in a buffer
6299 where 'modifiable' is off. (Ben Schmidt)
6300Solution: Don't give an error if 'modifiable' doesn't matter.
6301Files: src/option.c
6302
6303Patch 7.1.251
6304Problem: Using freed memory when spell checking enabled.
6305Solution: Obtain the current line again after calling spell_move_to().
6306 (Dominique Pelle)
6307Files: src/screen.c
6308
6309Patch 7.1.252 (after 7.1.243)
6310Problem: Test 39 fails when the environment has a utf-8 locale. (Dominique
6311 Pelle)
6312Solution: Force 'encoding' to be latin1.
6313Files: src/testdir/test39.in
6314
6315Patch 7.1.253
6316Problem: ":sort" doesn't work in a one line file. (Patrick Texier)
6317Solution: Don't sort if there is only one line. (Dominique Pelle)
6318Files: src/ex_cmds.c
6319
6320Patch 7.1.254
6321Problem: Tests 49 and 55 fail when the locale is French.
6322Solution: Using C messages for test 49. Filter the error message in test 55
6323 such that it works when the number is halfway the message.
6324Files: src/testdir/test49.in, src/testdir/test55.in
6325
6326Patch 7.1.255
6327Problem: Vim doesn't support utf-32. (Yongwei Wu)
6328Solution: Add aliases for utf-32, it's the same as ucs-4.
6329Files: src/mbyte.c
6330
6331Patch 7.1.256
6332Problem: findfile() also returns directories.
6333Solution: Cleanup the code for finding files and directories in a list of
6334 directories. Remove the ugly global ff_search_ctx.
6335Files: src/eval.c, src/misc2.c, src/vim.h, src/tag.c
6336
6337Patch 7.1.257
6338Problem: Configure can't always find the Tcl header files.
6339Solution: Also look in /usr/local/include/tcl$tclver and
6340 /usr/include/tcl$tclver (James Vega)
6341Files: src/auto/configure, src/configure.in
6342
6343Patch 7.1.258
6344Problem: Crash when doing "d/\n/e" and 'virtualedit' is "all". (Andy Wokula)
6345Solution: Avoid that the column becomes negative. Also fixes other problems
6346 with the end of a pattern match is in column zero. (A.Politz)
6347Files: src/search.c
6348
6349Patch 7.1.259
6350Problem: Cursor is in the wrong position when 'rightleft' is set,
6351 'encoding' is "utf-8" and on an illegal byte. (Dominique Pelle)
6352Solution: Only put the cursor in the first column when actually on a
6353 double-wide character. (Yukihiro Nakadaira)
6354Files: src/screen.c
6355
6356Patch 7.1.260
6357Problem: Cursor positioning problem after ^@ wrapping halfway when
6358 'encoding' is utf-8.
6359Solution: Only count a position for printable characters. (partly by
6360 Yukihiro Nakadaira)
6361Files: src/charset.c
6362
6363Patch 7.1.261
6364Problem: When a 2 byte BOM is detected Vim uses UCS-2, which doesn't work
6365 for UTF-16 text. (Tony Mechelynck)
6366Solution: Default to UTF-16.
6367Files: src/fileio.c, src/testdir/test42.ok
6368
6369Patch 7.1.262
6370Problem: Can't get the process ID of Vim.
6371Solution: Implement getpid().
6372Files: src/eval.c, runtime/doc/eval.txt
6373
6374Patch 7.1.263
6375Problem: The filetype can consist of two dot separated names. This works
6376 for syntax and ftplugin, but not for indent. (Brett Stahlman)
6377Solution: Use split() and loop over each dot separated name.
6378Files: runtime/indent.vim
6379
6380Patch 7.1.264
6381Problem: Crash when indenting lines. (Dominique Pelle)
6382Solution: Set the cursor column when changing the cursor line.
6383Files: src/ops.c, src/misc1.c
6384
6385Patch 7.1.265
6386Problem: When 'isfname' contains a space, cmdline completion can hang.
6387 (James Vega)
6388Solution: Reset the "len" variable.
6389Files: src/ex_docmd.c
6390
6391Patch 7.1.266
6392Problem: When the version string returned by the terminal contains
6393 unexpected characters, it is used as typed input. (James Vega)
6394Solution: Assume the escape sequence ends in a letter.
6395Files: src/term.c
6396
6397Patch 7.1.267
Bram Moolenaarc236c162008-07-13 17:41:49 +00006398Problem: When changing folds cursor may be positioned in the wrong place.
Bram Moolenaar8c8de832008-06-24 22:58:06 +00006399Solution: Call changed_window_setting_win() instead of
6400 changed_window_setting().
6401Files: src/fold.c
6402
6403Patch 7.1.268
6404Problem: Always shows "+" at end of screen line with: ":set
6405 listchars=eol:$,extends:+ nowrap list cursorline" (Gary Johnson)
6406Solution: Check for lcs_eol_one instead of lcs_eol.
6407Files: src/screen.c
6408
6409Patch 7.1.269
6410Problem: The matchparen plugin has an arbitrary limit for the number of
6411 lines to look for a match.
6412Solution: Rely on the searchpair() timeout.
6413Files: runtime/plugin/matchparen.vim
6414
6415Patch 7.1.270
6416Problem: ":?foo?" matches in current line since patch 7.1.025. (A.Politz)
6417Solution: Remove the SEARCH_START flag.
6418Files: src/ex_docmd.c, src/search.c
6419
6420Patch 7.1.271
6421Problem: In a Vim build without autocommands, checking a file that was
6422 changed externally causes the current buffer to be changed
6423 unexpectedly. (Karsten Hopp)
6424Solution: Store "curbuf" instead of "buf".
6425Files: src/fileio.c
6426
6427Patch 7.1.272
6428Problem: The special buffer name [Location List] is not used for a buffer
6429 displayed in another tab page.
6430Solution: Use FOR_ALL_TAB_WINDOWS instead of FOR_ALL_WINDOWS. (Hiroaki
6431 Nishihara)
6432Files: src/buffer.c
6433
6434Patch 7.1.273
6435Problem: When profiling on Linux Vim exits early. (Liu Yubao)
6436Solution: When profiling don't exit on SIGPROF.
6437Files: src/Makefile, src/os_unix.c
6438
6439Patch 7.1.274 (after 7.1.272)
6440Problem: Compiler warning for optimized build.
6441Solution: Init win to NULL.
6442Files: src/buffer.c
6443
6444Patch 7.1.275 (extra)
6445Problem: Mac: ATSUI and 'antialias' don't work properly together.
6446Solution: Fix this and the input method. (Jjgod Jiang)
6447Files: src/vim.h, src/gui_mac.c
6448
6449Patch 7.1.276
6450Problem: "gw" uses 'formatexpr', even though the docs say it doesn't.
6451Solution: Don't use 'formatexpr' for "gw".
6452Files: src/vim.h, src/edit.c, src/ops.c, src/proto/ops.pro
6453
6454Patch 7.1.277
6455Problem: Default for 'paragraphs' misses some items (Colin Watson)
6456Solution: Add TP, HP, Pp, Lp and It to 'paragraphs'. (James Vega)
6457Files: runtime/doc/options.txt, src/option.c
6458
6459Patch 7.1.278 (extra, after 7.1.275)
6460Problem: Build failure when USE_CARBONKEYHANDLER is not defined.
6461Solution: Remove #ifdef.
6462Files: src/gui_mac.c
6463
6464Patch 7.1.279
6465Problem: When using cscope temporary files are left behind.
6466Solution: Send the quit command to cscope and give it two seconds to exit
6467 nicely before killing it. (partly by Dominique Pelle)
6468Files: src/if_cscope.c
6469
6470Patch 7.1.280 (after 7.1.275)
6471Problem: Mac: build problems when not using multibyte feature. (Nicholas
6472 Stallard)
6473Solution: Don't define USE_IM_CONTROL when not using multibyte.
6474Files: src/vim.h
6475
6476Patch 7.1.281 (after 7.1.279)
6477Problem: sa.sa_mask is not initialized. Cscope may not exit.
6478Solution: Use sigemptyset(). Use SIGKILL instead of SIGTERM. (Dominique
6479 Pelle)
6480Files: src/if_cscope.c
6481
6482Patch 7.1.282 (extra)
6483Problem: Win64: Edit with Vim context menu isn't installed correctly.
6484 Compiler warnings and a few other things.
6485Solution: Add [ and ] to entry of class name. Use UINT_PTR instead of UINT.
6486 And a fixes for the other things. (George V. Reilly)
6487Files: src/GvimExt/Makefile, src/dosinst.c, src/if_ole.cpp, src/if_ole.h,
6488 src/if_ole.idl, src/INSTALLpc.txt, src/Make_mvc.mak,
6489 src/os_win32.c,
6490
6491Patch 7.1.283
6492Problem: Non-extra part for 7.1.282.
6493Solution: Various changes.
6494Files: src/ex_docmd.c, src/globals.h, src/if_cscope.c, src/main.c,
6495 src/mark.c, src/netbeans.c, src/popupmnu.c, src/vim.h,
6496 src/window.c
6497
6498Patch 7.1.284
6499Problem: Compiler warnings for functions without prototype.
6500Solution: Add the function prototypes. (Patrick Texier)
6501Files: src/eval.c, src/quickfix.c
6502
6503Patch 7.1.285 (extra)
6504Problem: Mac: dialog hotkeys don't work.
6505Solution: Add hotkey support. (Dan Sandler)
6506Files: src/gui_mac.c
6507
6508Patch 7.1.286 (after 7.1.103)
6509Problem: "w" at the end of the buffer moves the cursor past the end of the
6510 line. (Markus Heidelberg)
6511Solution: Move the cursor back from the NUL when it was moved forward.
6512Files: src/normal.c
6513
6514Patch 7.1.287
6515Problem: Crash when reversing a list after using it. (Andy Wokula)
6516Solution: Update the pointer to the last used element. (Dominique Pelle)
6517Files: src/eval.c
6518
6519Patch 7.1.288 (after 7.1.281)
6520Problem: Cscope still leaves behind temp files when using gvim.
6521Solution: When getting the ECHILD error loop for a while until cscope exits.
6522 (Dominique Pelle)
6523Files: if_cscope.c
6524
6525Patch 7.1.289
6526Problem: When EXITFREE is defined and 'acd' is set freed memory is used.
6527 (Dominique Pelle)
6528Solution: Reset p_acd before freeing all buffers.
6529Files: src/misc2.c
6530
6531Patch 7.1.290
6532Problem: Reading bytes that were not written when spell checking and a line
6533 has a very large indent.
6534Solution: Don't copy the start of the next line when it only contains
6535 spaces. (Dominique Pelle)
6536Files: src/spell.c
6537
6538Patch 7.1.291 (after 7.1.288)
6539Problem: Compiler warning.
6540Solution: Change 50 to 50L.
6541Files: src/if_cscope.c
6542
6543Patch 7.1.292
6544Problem: When using a pattern with "\@<=" the submatches can be wrong.
6545 (Brett Stahlman)
6546Solution: Save the submatches when attempting a look-behind match.
6547Files: src/regexp.c
6548
6549Patch 7.1.293
6550Problem: Spell checking considers super- and subscript characters as word
6551 characters.
6552Solution: Recognize the Unicode super and subscript characters.
6553Files: src/spell.c
6554
6555Patch 7.1.294
6556Problem: Leaking memory when executing a shell command.
6557Solution: Free memory when not able to save for undo. (Dominique Pelle)
6558Files: src/ex_cmds.c
6559
6560Patch 7.1.295
6561Problem: Vimtutor only works with vim, not gvim.
6562Solution: Add the -g flag to vimtutor. (Dominique Pelle) Add gvimtutor.
6563Files: src/Makefile, src/gvimtutor, src/vimtutor, runtime/doc/vimtutor.1
6564
6565Patch 7.1.296
6566Problem: SELinux is not supported.
6567Solution: Detect the selinux library and use mch_copy_sec(). (James Vega)
6568Files: src/auto/configure, src/config.h.in, src/configure.in,
6569 src/fileio.c, src/memfile.c, src/os_unix.c, src/proto/os_unix.pro
6570
6571Patch 7.1.297
6572Problem: When using the search/replace dialog the parenmatch highlighting
6573 can be wrong. (Tim Duncan)
6574Solution: In the GUI redraw function invoke the CursorMoved autocmd.
6575Files: src/gui.c
6576
6577Patch 7.1.298 (after 7.1.295)
6578Problem: src/gvimtutor is not distributed.
6579Solution: Add it to the list of distributed files.
6580Files: Filelist
6581
6582Patch 7.1.299
6583Problem: Filetype detection doesn't work properly for file names ending in
6584 a part that is ignored and contain a space or other special
6585 characters.
6586Solution: Escape the special characters using the new fnameescape function.
6587Files: runtime/doc/eval.txt, runtime/filetype.vim, src/eval.c,
6588 src/ex_getln.c, src/proto/ex_getln.pro, src/vim.h
6589
6590Patch 7.1.300
6591Problem: Value of asmsyntax argument isn't checked for valid characters.
6592Solution: Only accepts letters and digits.
6593Files: runtime/filetype.vim
6594
6595Patch 7.1.301
6596Problem: When the "File/Save" menu is used in Insert mode, a tab page label
6597 is not updated to remove the "+".
6598Solution: Call draw_tabline() from showruler(). (Bjorn Winckler)
6599Files: src/screen.c
6600
6601Patch 7.1.302 (after 7.1.299)
6602Problem: Compilation error on MS-Windows.
6603Solution: Don't use xp_shell when it's not defined.
6604Files: src/ex_getln.c
6605
6606Patch 7.1.303 (after 7.1.302)
6607Problem: Compilation error on MS-Windows, again.
6608Solution: Declare p.
6609Files: src/ex_getln.c
6610
6611Patch 7.1.304
6612Problem: Shortpath_for_invalid_fname() does not work correctly and is
6613 unnecessary complex.
6614Solution: Clean up shortpath_for_invalid_fname(). (mostly by Yegappan
6615 Lakshmanan)
6616Files: src/eval.c
6617
6618Patch 7.1.305
6619Problem: Editing a compressed file with special characters in the name
6620 doesn't work properly.
6621Solution: Escape special characters.
6622Files: runtime/autoload/gzip.vim
6623
6624Patch 7.1.306
6625Problem: Some Unicode characters are handled like word characters while
6626 they are symbols.
6627Solution: Adjust the table for Unicode classification.
6628Files: src/mbyte.c
6629
6630Patch 7.1.307
6631Problem: Many warnings when compiling with Python 2.5.
6632Solution: Use ssize_t instead of int for some types. (James Vega)
6633Files: src/if_python.c
6634
6635Patch 7.1.308
6636Problem: When in readonly mode ":options" produces an error.
6637Solution: Reset 'readonly'. (Gary Johnson)
6638Files: runtime/optwin.vim
6639
6640Patch 7.1.309
6641Problem: Installing and testing with a shadow directory doesn't work.
6642 (James Vega)
6643Solution: Add "po" to the list of directories to link. Also link the Vim
6644 scripts in testdir. And a few more small fixes.
6645Files: src/Makefile
6646
6647Patch 7.1.310
6648Problem: Incomplete utf-8 byte sequence at end of the file is not detected.
6649 Accessing memory that wasn't written.
6650Solution: Check the last bytes in the buffer for being a valid utf-8
6651 character. (mostly by Ben Schmidt)
6652 Also fix that the reported line number of the error was wrong.
6653Files: src/fileio.c
6654
6655Patch 7.1.311
6656Problem: Compiler warning for missing sentinel in X code.
6657Solution: Change 0 to NULL. (Markus Heidelberg)
6658Files: src/mbyte.c
6659
6660Patch 7.1.312
6661Problem: The .po files have mistakes in error numbers.
6662Solution: Search for these mistakes in the check script. (Dominique Pelle)
6663Files: src/po/check.vim
6664
6665Patch 7.1.313
6666Problem: When the netbeans interface setModified call is used the status
6667 lines and window title are not updated.
6668Solution: Redraw the status lines and title. (Philippe Fremy)
6669Files: src/netbeans.c
6670
6671Patch 7.1.314
6672Problem: The value of 'pastetoggle' is written to the session file without
6673 any escaping. (Randall Hansen)
6674Solution: Use put_escstr(). (Ben Schmidt)
6675Files: src/option.c
6676
6677Patch 7.1.315
6678Problem: Crash with specific search pattern using look-behind match.
6679 (Andreas Politz)
6680Solution: Also save the value of "need_clear_subexpr".
6681Files: src/regexp.c
6682
6683Patch 7.1.316
6684Problem: When 'cscopetag' is set ":tag" gives an error message instead of
6685 going to the next tag in the tag stack.
6686Solution: Don't call do_cstag() when there is no argument. (Mark Goldman)
6687Files: src/ex_docmd.c
6688
6689Patch 7.1.317
6690Problem: Compiler warnings in Motif calls.
6691Solution: Change zero to NULL. (Dominique Pelle)
6692Files: src/gui_motif.c
6693
6694Patch 7.1.318
6695Problem: Memory leak when closing xsmp connection. Crash on exit when
6696 using Lesstif.
6697Solution: Don't close the X display to work around a Lesstif bug. Free
6698 clientid. Also fix a leak for Motif and Athena. (Dominique Pelle)
6699Files: src/gui_x11.c, src/os_unix.c
6700
6701Patch 7.1.319
6702Problem: When a register has an illegal utf-8 sequence, pasting it on the
6703 command line causes an illegal memory access.
6704Solution: Use mb_cptr2char_adv(). (Dominique Pelle)
6705Files: src/ex_getln.c
6706
6707Patch 7.1.320 (extra)
6708Problem: Win64: Warnings while compiling Python interface.
6709Solution: Use PyInt in more places. Also update version message for the
6710 console. (George Reilly)
6711Files: src/if_python.c, src/version.c
6712
6713Patch 7.1.321 (extra)
6714Problem: Win32 / Win64: Install file is outdated.
6715Solution: Update the text for recent compiler. (George Reilly)
6716Files: src/INSTALLpc.txt
6717
6718Patch 7.1.322
6719Problem: Can't get start of Visual area in an <expr> mapping.
6720Solution: Add the 'v' argument to getpos().
6721Files: runtime/doc/eval.txt, src/eval.c
6722
6723Patch 7.1.323
Bram Moolenaarc236c162008-07-13 17:41:49 +00006724Problem: Test 19 fails with some termcaps. (Dominique Pelle)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00006725Solution: Set the t_kb and t_kD termcap values.
6726Files: src/testdir/test19.in, src/testdir/test38.in
6727
6728Patch 7.1.324
6729Problem: File name path length on Unix is limited to 1024.
6730Solution: Use PATH_MAX when it's more than 1000.
6731Files: src/os_unix.h
6732
6733Patch 7.1.325
6734Problem: When editing a command line that's longer than available space in
6735 the window, the characters at the end are in reverse order.
6736Solution: Increment the insert position even when the command line doesn't
6737 fit. (Ingo Karkat)
6738Files: src/ex_getln.c
6739
6740Patch 7.1.326
6741Problem: ":s!from!to!" works, but ":smagic!from!to!" doesn't. It sees the
Bram Moolenaar996343d2010-07-04 22:20:21 +02006742 "!" as a flag to the command. Same for ":snomagic". (Johan Spetz)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00006743Solution: When checking for a forced command also ignore ":smagic" and
6744 ":snomagic". (Ian Kelling)
6745Files: src/ex_docmd.c
6746
6747Patch 7.1.327
6748Problem: The GUI tutor is installed when there is no GUI version.
6749Solution: Only install gvimtutor when building a GUI version.
6750Files: src/Makefile
6751
6752Patch 7.1.328
6753Problem: Crash when using Cygwin and non-posix path name in tags file.
6754Solution: Use separate buffer for posix path. (Ben Schmidt)
6755Files: src/os_unix.c
6756
6757Patch 7.1.329
6758Problem: When the popup menu is removed a column of cells, the right halve
6759 of double-wide characters, may not be redrawn.
6760Solution: Check if the right halve of a character needs to be redrawn.
6761 (Yukihiro Nakadaira)
6762Files: src/screen.c
6763
6764Patch 7.1.330
6765Problem: Reading uninitialized memory when using Del in replace mode.
6766Solution: Use utfc_ptr2len_len() instead of mb_ptr2len(). (Dominique Pelle)
6767Files: src/misc1.c
6768
6769
6770Warning for missing sentinel in gui_xmldlg.c. (Dominique Pelle)
6771
6772A search offset from the end of a match didn't work properly for multi-byte
6773characters. (Yukihiro Nakadaira)
6774
6775When displaying the value of 'key' don't show "*****" when the value is empty.
6776(Ben Schmidt)
6777
6778Internal error when compiled with EXITFREE and using the nerd_tree plugin.
6779Set last_msg_hist to NULL when history becomes empty. Call
6780free_all_functions() after garbage collection. (Dominique Pelle)
6781
6782GTK with XIM: <S-Space> does not work. (Yukihiro Nakadaira)
6783
6784Some shells do not support "echo -n", which breaks glob(). Use "echo" instead
6785of "echo -n $1; echo". (Gary Johnson)
6786
6787"echo 22,44" printed "22" on top of the command, the error messages caused
6788the rest not to be cleared. Added the need_clr_eos flag.
6789
6790Netbeans events are handled while updating the screen, causing a crash.
6791Change the moment when events are handled. Rename nb_parse_messages() to
6792netbeans_parse_messages(). (Xavier de Gaye)
6793
6794Test 11 was broken after patch 7.1.186 on Win32 console. (Daniel Shahaf)
6795Use shellescape() on the file name.
6796
6797IM was turned off in im_preedit_end_cb() for no good reason. (Takuhiro
6798Nishioka)
6799
6800A corrupted spell file could cause Vim to use lots of memory. Better
6801detection for running into the end of the file. (idea from James Vega)
6802
6803Mac: Included a patch to make it build with GTK. Moved language init to
6804mac_lang_init() function. (Ben Schmidt)
6805
6806Problem with 'wildmenu' after ":lcd", up/down arrows don't work. (Erik Falor)
6807
6808Fix configure.in to avoid "implicitly declared" warnings when running
6809configure.
6810
6811Fixed a memory leak when redefining a keymap. (Dominique Pelle)
6812
6813Setting 'pastetoggle' to "jj" didn't work.
6814
6815'ic' and 'smartcase' don't work properly when using \%V in a search pattern.
6816(Kana Natsuno)
Bram Moolenaarb2a460d2007-05-12 15:16:37 +00006817
Bram Moolenaarc236c162008-07-13 17:41:49 +00006818Patch 7.2a.001
6819Problem: On some systems X11/Xlib.h exists (from X11-dev package) but
6820 X11/Intrinsic.h does not (in Xt-dev package). This breaks the
6821 build. Also, on Solaris 9 sys/ptem.h isn't found.
6822Solution: Have configure only accept X11 when X11/Intrinsic.h exists.
6823 Check for sys/ptem.h while including sys/stream.h. (Vladimir
6824 Marek)
6825Files: src/auto/configure, src/configure.in
6826
6827Patch 7.2a.002
6828Problem: getbufvar(N, "") gets the dictionary of the current buffer instead
6829 of buffer N.
6830Solution: Set curbuf before calling find_var_in_ht(). (Kana Natsuno)
6831Files: src/eval.c
6832
6833Patch 7.2a.003
6834Problem: Leaking memory when using ":file name" and using access control
6835 lists.
6836Solution: Invoke mch_free_acl() in vim_rename(). (Dominique Pelle)
6837Files: src/fileio.c
6838
6839Patch 7.2a.004
6840Problem: Some systems can't get spell files by ftp.
6841Solution: Use http when it looks like it's possible. (James Vega)
6842Files: runtime/autoload/spellfile.vim
6843
6844Patch 7.2a.005
6845Problem: A few error messages use confusing names. Misspelling.
6846Solution: Change "dissallows" to "disallows". (Dominique Pelle) Change
6847 "number" to "Number".
6848Files: src/eval.c, src/fileio.c
6849
6850Patch 7.2a.006
6851Problem: Reading past NUL in a string.
6852Solution: Check for invalid utf-8 byte sequence. (Dominique Pelle)
6853Files: src/charset.c
6854
6855Patch 7.2a.007
6856Problem: ":let v = 1.2.3" was OK in Vim 7.1, now it gives an error.
6857Solution: Don't look for a floating point number after the "." operator.
6858Files: src/eval.c
6859
6860Patch 7.2a.008
6861Problem: printf("%g", 1) doesn't work.
6862Solution: Convert Number to Float when needed.
6863Files: src/message.c
6864
6865Patch 7.2a.009
6866Problem: cygwin_conv_to_posix_path() does not specify buffer size.
6867Solution: Use new Cygwin function: cygwin_conv_path(). (Corinna Vinschen)
6868Files: src/main.c, src/os_unix.c
6869
6870Patch 7.2a.010
6871Problem: When a file name has an illegal byte sequence Vim may read
6872 uninitialised memory.
6873Solution: Don't use UTF_COMPOSINGLIKE() on an illegal byte. In
6874 msg_outtrans_len_attr() use char2cells() instead of ptr2cells().
6875 In utf_ptr2char() don't check second byte when first byte is
Bram Moolenaare37d50a2008-08-06 17:06:04 +00006876 illegal. (Dominique Pelle)
Bram Moolenaarc236c162008-07-13 17:41:49 +00006877Files: src/mbyte.c, src/message.c
6878
6879Patch 7.2a.011
6880Problem: The Edit/Startup Settings menu doesn't work.
6881Solution: Expand environment variables. (Ben Schmidt)
6882Files: runtime/menu.vim
6883
6884Patch 7.2a.012
6885Problem: Compiler warnings for casting int to pointer.
6886Solution: Add cast to long in between. (Martin Toft)
6887Files: src/gui_gtk_x11.c
6888
6889Patch 7.2a.013
6890Problem: shellescape() does not escape "%" and "#" characters.
6891Solution: Add find_cmdline_var() and use it when the second argument to
6892 shellescape() is non-zero.
6893Files: runtime/doc/eval.txt, src/eval.c, src/ex_docmd.c,
6894 src/proto/ex_docmd.pro, src/proto/misc2.pro, src/misc2.c
6895
6896Patch 7.2a.014
6897Problem: Problem with % in message.
6898Solution: Put % in single quotes.
6899Files: src/eval.c
6900
6901Patch 7.2a.015 (after 7.2a.010)
6902Problem: Misaligned messages.
6903Solution: Compute length of unprintable chars correctly.
6904Files: src/message.c
6905
6906Patch 7.2a.016
6907Problem: Using CTRL-W v in the quickfix window results in two quickfix
6908 windows, which is not allowed. ":tab split" should be allowed to
6909 open a new quickfix window in another tab.
6910Solution: For CTRL-W v instead of splitting the window open a new one.
6911 When using ":tab" do allow splitting the quickfix window (was
6912 already included in patch 7.2a.013).
6913Files: src/window.c
6914
6915Patch 7.2a.017
6916Problem: ":doautoall" executes autocommands for all buffers instead of just
6917 for loaded buffers.
6918Solution: Change "curbuf" to "buf".
6919Files: src/fileio.c
6920
6921Patch 7.2a.018
6922Problem: Compiler warnings when compiling with Gnome. (Tony Mechelynck)
6923Solution: Add type casts.
6924Files: src/gui_gtk_x11.c
6925
6926Patch 7.2a.019
6927Problem: ":let &g:tw = 44" sets the local option value. (Cyril Slobin)
6928Solution: Use get_varp_scope() instead of get_varp(). (Ian Kelling)
6929Files: src/option.c
6930
6931There is no way to avoid adding /usr/local/{include|lib} to the build
6932commands. Add the --with-local-dir argument to configure. (Michael
6933Haubenwallner)
6934
6935When using CTRL-D after ":help", the number of matches could be thousands.
6936Restrict to TAG_MANY to avoid this taking too long. (Ian Kelling)
6937
6938The popup menu could be placed at a weird location. Caused by w_wcol computed
6939by curs_columns(). (Dominique Pelle)
6940
6941Overlapping STRCPY() arguments when using %r item in 'errorformat'. Use
6942STRMOVE() instead. (Ralf Wildenhues)
6943
6944Mac: On Leopard gvim, when using the mouse wheel nothing would happen until
Bram Moolenaare37d50a2008-08-06 17:06:04 +00006945another event occurs, such as moving the mouse. Then the recorded scrolling
Bram Moolenaarc236c162008-07-13 17:41:49 +00006946would take place all at once. (Eckehard Berns)
6947
6948Solution for cursor color not reflecting IM status for GTK 2. Add
6949preedit_is_active flag. (SungHyun Nam)
6950
6951filereadable() can hang on a FIFO on Linux. Use open() instead of fopen(),
6952with O_NONBLOCK. (suggested by Lars Kotthoff)
6953
6954Included patch to support Perl 5.10. (Yasuhiro Matsumoto)
6955
6956When files are dropped on gvim while the screen is being updated, ignore the
6957drop command to avoid freeing memory that is being used.
6958
6959In a terminal, when drawing the popup menu over double-wide characters, half
6960characters may not be cleared properly. (Yukihiro Nakadaira)
6961
6962The #ifdef for including "vimio.h" was inconsistent. In a few files it
6963depended on MSWIN, which isn't defined until later.
6964
Bram Moolenaare37d50a2008-08-06 17:06:04 +00006965Patch 7.2b.001
6966Problem: Compilation problem: mb_fix_col() missing with multi-byte feature
6967 but without GUI or clipboard.
6968Solution: Remove #ifdef.
6969Files: src/mbyte.c
6970
6971Patch 7.2b.002
6972Problem: Compiler warnings for signed/unsigned mismatch.
6973Solution: Add type casts.
6974Files: src/screen.c
6975
6976Patch 7.2b.003
6977Problem: Still a compilation problem, check_col() and check_row() missing.
6978Solution: Add FEAT_MBYTE to the #if.
6979Files: src/ui.c
6980
6981Patch 7.2b.004
6982Problem: Trying to free memory for a static string when using ":helpgrep".
6983 (George Reilly)
6984Solution: Set 'cpo' to empty_option instead of an empty string. Also for
6985 searchpair() and substitute().
6986Files: src/quickfix.c, src/eval.c
6987
6988Patch 7.2b.005
6989Problem: The special character "!" isn't handled properly in shellescape().
6990 (Jan Minar)
6991Solution: Escape "!" when using a "csh" like shell and with
6992 shellescape(s, 1). Twice for both. Also escape <NL>.
6993Files: src/misc2.c
6994
6995Patch 7.2b.006
6996Problem: Reading past end of string when reading info from tags line.
6997Solution: Break the loop when encountering a NUL. (Dominique Pelle)
6998Files: src/tag.c
6999
7000Patch 7.2b.007
7001Problem: Part of a message cannot be translated.
7002Solution: Put _() around the message.
7003Files: src/search.c
7004
7005Patch 7.2b.008
7006Problem: A few filetypes are not detected or not detected properly.
7007Solution: Add filetype detection patterns. (Nikolai Weibull)
7008Files: runtime/filetype.vim
7009
7010Patch 7.2b.009
7011Problem: Reading past end of screen line. (Epicurus)
7012Solution: Avoid going past the value of Columns.
7013Files: src/screen.c
7014
7015Patch 7.2b.010
7016Problem: ":mksession" doesn't work for ":map , foo", ":sunmap ,". (Ethan
7017 Mallove)
7018Solution: Check for "nxo", "nso" and other strange mapping combinations.
7019Files: src/getchar.c
7020
7021Patch 7.2b.011
7022Problem: Configure for TCL ends up with include file in compiler command.
7023 (Richard Hogg)
7024Solution: Delete items from $TCL_DEFS that do not start with a dash.
7025Files: src/auto/configure, src/configure.in
7026
7027Patch 7.2b.012
7028Problem: Build failure with +multi_byte but without +diff.
7029Solution: Add #ifdef. (Patrick Texier)
7030Files: src/main.c
7031
7032Patch 7.2b.013
7033Problem: Build fails with tiny features and Perl. (Dominique Pelle)
7034Solution: Define missing functions. Also when compiling Python.
7035Files: src/if_perl.xs, src/if_python.c
7036
7037Patch 7.2b.014
7038Problem: Configure uses an unsafe temp file to store commands.
7039Solution: Create the temp file in local directory.
7040Files: src/auto/configure, src/configure.in
7041
7042Patch 7.2b.015
7043Problem: Build fails on Mac when using Aap.
7044Solution: Fix typo in configure script.
7045Files: src/auto/configure, src/configure.in
7046
7047Patch 7.2b.016
7048Problem: Build fails with normal features but without +autocmd.
7049Solution: Fix #ifdefs. (Ian Kelling)
7050Files: src/eval.c, src/ex_cmds.c, src/quickfix.c, src/option.c,
7051 src/ex_docmd.c
7052
7053Patch 7.2b.017
7054Problem: "vim -O foo foo" results in only one window. (Zdenek Sekera)
7055Solution: Handle result of ATTENTION prompt properly. (Ian Kelling)
7056Files: src/main.c
7057
7058Patch 7.2b.018
7059Problem: When doing command line completion on a file name for a csh-like
7060 shell argument a '!' character isn't escaped properly.
7061Solution: Add another backslash.
7062Files: src/ex_getln.c, src/misc2.c, src/proto/misc2.pro, src/screen.c
7063
7064Patch 7.2b.019 (extra)
7065Problem: Win32: Various compiler warnings.
7066Solution: Use __w64 attribute. Comment-out unused parameters. Adjust a few
7067 #ifdefs. (George Reilly)
7068Files: src/gui_w48.c, src/GvimExt/gvimext.cpp, src/Make_mvc.mak,
7069 src/os_mswin.c, src/os_win32.c, src/vim.h
7070
7071Patch 7.2b.020
7072Problem: ":sort n" doesn't handle negative numbers. (James Vega)
7073Solution: Include '-' in the number.
7074Files: src/charset.c, src/ex_cmds.c
7075
7076Patch 7.2b.021
7077Problem: Reloading doesn't read the BOM correctly. (Steve Gardner)
7078Solution: Accept utf-8 BOM when specified file encoding is utf-8.
7079Files: src/fileio.c
7080
7081Patch 7.2b.022
7082Problem: When using ":normal" while updating the status line the count of
7083 an operator is lost. (Dominique Pelle)
7084Solution: Save and restore "opcount".
7085Files: src/ex_docmd.c, src/globals.h, src/normal.c
7086
7087Patch 7.2b.023
7088Problem: Crash when using the result of synstack(0,0). (Matt Wozniski)
7089Solution: Check for v_list to be NULL in a few more places.
7090Files: src/eval.c
7091
7092Patch 7.2b.024
7093Problem: Using ":gui" while the netrw plugin is active causes a delay in
7094 updating the display.
7095Solution: Don't check for terminal codes when starting the GUI.
7096Files: src/term.c
7097
7098Patch 7.2b.025
7099Problem: When the CursorHold event triggers a pending count is lost.
7100 (Juergen Kraemer)
7101Solution: Save the counts and restore them.
7102Files: src/normal.c, src/structs.h
7103
7104Patch 7.2b.026
7105Problem: The GTK 2 file chooser causes the ~/.recently-used.xbel file to be
7106 written over and over again. This may cause a significant
7107 slowdown. (Guido Berhoerster)
7108Solution: Don't use the GTK 2 file chooser.
7109Files: src/gui_gtk.c
7110
7111Patch 7.2b.027
7112Problem: Memory leak for Python, Perl, etc. script command with end marker.
7113Solution: Free the memory of the end marker. (Andy Kittner)
7114Files: src/ex_getln.c
7115
7116Patch 7.2b.028
7117Problem: Reading uninitialized memory when doing ":gui -f". (Dominique
7118 Pelle)
7119Solution: Don't position the cursor when the screen size is invalid.
7120Files: src/gui.c
7121
7122Patch 7.2b.029
7123Problem: ":help a" doesn't jump to "a" tag in docs. (Tony Mechelynck)
7124Solution: Get all tags and throw away more than TAG_MANY after sorting.
7125 When there is no argument find matches for "help" to avoid a long
7126 delay.
7127Files: src/ex_cmds.c, src/ex_getln.c
7128
7129Patch 7.2b.030
7130Problem: When changing the value of t_Co from 8 to 16 the Visual
7131 highlighting keeps both reverse and a background color.
7132Solution: Remove the attribute when setting the default highlight color.
7133 (Markus Heidelberg)
7134Files: src/syntax.c
7135
7136Error when cancelling completion menu and auto-formatting. (fixed by Ian
7137Kelling)
7138
Bram Moolenaared39e1d2008-08-09 17:55:22 +00007139Patch 7.2c.001
7140Problem: ":let x=[''] | let x += x" causes hang. (Matt Wozniski)
7141Solution: Only insert elements up to the original length of the List.
7142Files: runtime/doc/eval.txt, src/eval.c
7143
7144Patch 7.2c.002
7145Problem: fnameescape() doesn't handle a leading '+' or '>'. (Jan Minar)
7146Solution: Escape a leading '+' and '>'. And a single '-'.
7147Files: runtime/doc/eval.txt, src/ex_getln.c
7148
7149Patch 7.2c.003
7150Problem: Searching for "foo\%[bar]\+" gives a "Corrupted regexp program"
7151 error. (Joachim Hofmann)
7152Solution: Mark the \%[] item as not being simple.
7153Files: src/regexp.c
7154
7155On Vista access to system directories is virtualized. (Michael Mutschler)
7156Adjusted the manifest file to avoid this. (George Reilly)
7157
7158Memory leak when using CTRL-C to cancel listing the jump list. (Dominique
7159Pelle)
7160
7161Mac: Could not build with Perl interface.
7162
Bram Moolenaar00a927d2010-05-14 23:24:24 +02007163==============================================================================
Bram Moolenaar7a329912010-05-21 12:05:36 +02007164VERSION 7.3 *version-7.3* *version7.3*
Bram Moolenaar00a927d2010-05-14 23:24:24 +02007165
7166This section is about improvements made between version 7.2 and 7.3.
7167
Bram Moolenaar6fc45b52010-07-25 17:42:45 +02007168This release has hundreds of bug fixes and there are a few new features. The
7169most notable new features are:
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007170
7171
7172Persistent undo *new-persistent-undo*
7173---------------
7174
7175Store undo information in a file. Can undo to before when the file was read,
7176also for unloaded buffers. See |undo-persistence| (partly by Jordan Lewis)
Bram Moolenaar6fc45b52010-07-25 17:42:45 +02007177
7178Added the ":earlier 1f" and ":later 1f" commands.
7179Added file save counter to undo information.
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007180Added the |undotree()| and |undofile()| functions.
7181
Bram Moolenaar59f931e2010-07-24 20:27:03 +02007182Also added the 'undoreload' option. This makes it possible to save the
Bram Moolenaar6fc45b52010-07-25 17:42:45 +02007183current text when reloading the buffer, so that the reload can be undone.
Bram Moolenaar59f931e2010-07-24 20:27:03 +02007184
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007185
7186More encryption *new-more-encryption*
7187---------------
7188
7189Support for Blowfish encryption. Added the 'cryptmethod' option.
7190Mostly by Moshin Ahmed.
7191
7192Also encrypt the text in the swap file and the undo file.
7193
7194
7195Conceal text *new-conceal*
7196------------
7197
7198Added the |+conceal| feature. (Vince Negri)
7199This allows hiding stretches of text, based on syntax highlighting.
7200It also allows replacing a stretch of text by a character |:syn-cchar|.
Bram Moolenaar6fc45b52010-07-25 17:42:45 +02007201The 'conceallevel' option specifies what happens with text matching a syntax
7202item that has the conceal attribute.
7203The 'concealcursor' option specifies what happens in the cursor line.
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007204
7205The help files conceal characters used to mark tags and examples.
7206
Bram Moolenaar6fc45b52010-07-25 17:42:45 +02007207Added the |synconcealed()| function and use it for :TOhtml. (Benjamin Fritz)
7208
Bram Moolenaarabf39e82010-08-14 21:57:32 +02007209Added the 'cursorbind' option, keeps the cursor in two windows with the same
7210text in sync.
7211
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007212
7213Lua interface *new-lua*
7214-------------
7215
7216Added the |Lua| interface. (Luis Carvalho)
7217
7218
7219Python3 interface *new-python3*
7220-----------------
7221
7222Added the Python3 interface. It exists next to Python 2.x, both can be used
Bram Moolenaar755bd262010-08-14 17:46:20 +02007223at the same time. See |python3| (Roland Puntaier)
Bram Moolenaar00a927d2010-05-14 23:24:24 +02007224
7225
7226Changed *changed-7.3*
7227-------
7228
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007229The MS-Windows installer no longer requires the user to type anything in the
7230console windows. The installer now also works on 64 bit systems, including
7231the "Edit with Vim" context menu.
7232The gvim executable is 32 bits, the installed gvimext.dll is either a 32 or 64
7233bit version. (mostly by George Reilly)
7234Made the DOS installer work with more compilers.
Bram Moolenaar69154f22010-07-18 21:42:34 +02007235The 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 +02007236Ruby 1.9.1. You need the matching .dll files to use them.
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007237
Bram Moolenaar00a927d2010-05-14 23:24:24 +02007238The extra and language files are no longer distributed separately.
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007239The source files for all systems are included in one distribution.
Bram Moolenaar00a927d2010-05-14 23:24:24 +02007240
Bram Moolenaarfc2d5bd2010-05-15 17:06:53 +02007241After using ":recover" or recovering a file in another way, ":x" and "ZZ"
Bram Moolenaar44886d92010-08-01 19:06:10 +02007242didn't save what you see. This could result in work being lost. Now the text
Bram Moolenaarfc2d5bd2010-05-15 17:06:53 +02007243after recovery is compared to the original file contents. When they differ
7244the buffer is marked as modified.
7245
Bram Moolenaar0e1e25f2010-05-28 21:07:08 +02007246When Vim is exiting because of a deadly signal, when v:dying is 2 or more,
7247VimLeavePre, VimLeave, BufWinLeave and BufUnload autocommands are not
7248executed.
7249
Bram Moolenaarccd9ccf2010-07-07 13:19:55 +02007250Removed support for GTK 1. It was no longer maintained and required a lot of
7251#ifdefs in the source code. GTK 2 should be available for every system.
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007252(James Vega)
Bram Moolenaarccd9ccf2010-07-07 13:19:55 +02007253
Bram Moolenaar0ba04292010-07-14 23:23:17 +02007254It is no longer allowed to set the 'encoding' option from a modeline. It
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007255would corrupt the text. (Patrick Texier)
7256
7257Renamed runtime/spell/fixdup to runtime/spell/fixdup.vim.
7258
7259Removed obsolete Mac code.
7260
7261Updated spell files for Ubuntu locale names.
7262
7263Switched from autoconf 2.63 to 2.65.
Bram Moolenaar0ba04292010-07-14 23:23:17 +02007264
Bram Moolenaar44886d92010-08-01 19:06:10 +02007265Removed Mupad indent and ftplugin files, they are not useful.
7266
Bram Moolenaarabf39e82010-08-14 21:57:32 +02007267The maximum number of messages remembered in the history is now 200 (was 100).
7268
Bram Moolenaar00a927d2010-05-14 23:24:24 +02007269
7270Added *added-7.3*
7271-----
7272
Bram Moolenaar67c53842010-05-22 18:28:27 +02007273Added the 'relativenumber' option. (Markus Heidelberg)
7274
Bram Moolenaar0ba04292010-07-14 23:23:17 +02007275Added the 'colorcolumn' option: highlight one or more columns in a window.
7276E.g. to highlight the column after 'textwidth'. (partly by Gregor Uhlenheuer)
7277
Bram Moolenaarb26e6322010-05-22 21:34:09 +02007278Added support for NetBeans in a terminal. Added |:nbstart| and |:nbclose|.
7279(Xavier de Gaye)
Bram Moolenaar67c53842010-05-22 18:28:27 +02007280
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007281More floating point functions: |acos()|, |asin()|, |atan2()|, |cosh()|,
7282|exp()|, |fmod()|, |log()|, |sinh()|, |tan()|, |tanh()|. (Bill McCarthy)
Bram Moolenaar67c53842010-05-22 18:28:27 +02007283
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007284Added the |gettabvar()| and |settabvar()| functions. (Yegappan Lakshmanan)
Bram Moolenaar67c53842010-05-22 18:28:27 +02007285
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007286Added the |strchars()|, |strwidth()| and |strdisplaywidth()| functions.
7287
7288Support GDK_SUPER_MASK for GTK on Mac. (Stephan Schulz)
7289
Bram Moolenaar49771f42010-07-20 17:32:38 +02007290Made CTRL and ALT modifier work for mouse wheel. (Benjamin Haskell)
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007291
Bram Moolenaar44886d92010-08-01 19:06:10 +02007292Added support for horizontal scroll wheel. (Bjorn Winckler)
7293
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007294When the buffer is in diff mode, have :TOhtml create HTML to show the diff
7295side-by-side. (Christian Brabandt)
7296
7297Various improvements to ":TOhtml" and the 2html.vim script. (Benjamin Fritz)
7298
7299Add the 'L' item to 'cinoptions'. (Manuel Konig)
7300
7301Improve Javascript indenting. Add "J" flag to 'cinoptions'. (Hari Kumar G)
7302
7303Mac: Support disabling antialias. (LC Mi)
7304
7305Mac: Add clipboard support in the Mac console. (Bjorn Winckler)
7306
7307Make it possible to drag a tab page label to another position. (Paul B. Mahol)
7308
7309Better implementation of creating the Color Scheme menu. (Juergen Kraemer)
7310
7311In Visual mode with 'showcmd' display the number of bytes and characters.
7312
Bram Moolenaar4421d6a2010-08-14 13:33:56 +02007313Allow synIDattr() getting GUI attributes when built without GUI. (Matt
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007314Wozniski)
7315
Bram Moolenaar5eba45c2010-08-08 21:15:53 +02007316Support completion for ":find". Added test 73. (Nazri Ramliy)
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007317
Bram Moolenaar44886d92010-08-01 19:06:10 +02007318Command line completion for :ownsyntax and :setfiletype. (Dominique Pelle)
7319
7320Command line completion for :lmap and :lunmap.
7321
7322Support syntax and filetype completion for user commands. (Christian Brabandt)
7323
Bram Moolenaar44886d92010-08-01 19:06:10 +02007324Avoid use of the GTK main_loop() so that the GtkFileChooser can be used.
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007325(James Vega)
7326
7327When 'formatexpr' evaluates to non-zero fall back to internal formatting, also
7328for "gq". (James Vega)
7329
7330Support :browse for commands that use an error file argument. (Lech Lorens)
7331
7332Support wide file names in gvimext. (Szabolcs Horvat)
7333
7334Improve test for joining lines. (Milan Vancura)
7335Make joining a range of lines much faster. (Milan Vancura)
7336
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007337Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
7338
7339Added the helphelp.txt file. Moved text from various.txt to it.
7340
Bram Moolenaar6fc45b52010-07-25 17:42:45 +02007341Added "q" item for 'statusline'. Added |w:quickfix_title|. (Lech Lorens)
7342
Bram Moolenaar44886d92010-08-01 19:06:10 +02007343Various improvements for VMS. (Zoltan Arpadffy)
Bram Moolenaar6fc45b52010-07-25 17:42:45 +02007344
7345
Bram Moolenaar44886d92010-08-01 19:06:10 +02007346New syntax files: ~
Bram Moolenaar69154f22010-07-18 21:42:34 +02007347Haskell Cabal build file (Vincent Berthoux)
7348ChaiScript (Jason Turner)
7349Cucumber (Tim Pope)
Bram Moolenaar90df5502010-08-01 21:48:21 +02007350Datascript (Dominique Pelle)
Bram Moolenaar69154f22010-07-18 21:42:34 +02007351Fantom (Kamil Toman)
7352Liquid (Tim Pope)
7353Markdown (Tim Pope)
7354wavefront's obj file (Vincent Berthoux)
7355Perl 6 (Andy Lester)
7356SDC - Synopsys Design Constraints (Maurizio Tranchero)
7357SVG - Scalable Vector Graphics (Vincent Berthoux)
7358task data (John Florian)
7359task 42 edit (John Florian)
Bram Moolenaar06b5d512010-05-22 15:37:44 +02007360
Bram Moolenaar44886d92010-08-01 19:06:10 +02007361New filetype plugins: ~
Bram Moolenaar69154f22010-07-18 21:42:34 +02007362Cucumber (Tim Pope)
7363Liquid (Tim Pope)
Bram Moolenaar755bd262010-08-14 17:46:20 +02007364Logcheck (Debian)
Bram Moolenaar69154f22010-07-18 21:42:34 +02007365Markdown (Tim Pope)
Bram Moolenaar755bd262010-08-14 17:46:20 +02007366Perl 6 (Andy Lester)
7367Quickfix window (Lech Lorens)
Bram Moolenaar69154f22010-07-18 21:42:34 +02007368Tcl (Robert L Hicks)
Bram Moolenaar00a927d2010-05-14 23:24:24 +02007369
Bram Moolenaar44886d92010-08-01 19:06:10 +02007370New indent plugins: ~
Bram Moolenaar755bd262010-08-14 17:46:20 +02007371CUDA (Bram Moolenaar)
Bram Moolenaar69154f22010-07-18 21:42:34 +02007372ChaiScript (Jason Turner)
7373Cucumber (Tim Pope)
Bram Moolenaar69154f22010-07-18 21:42:34 +02007374LifeLines (Patrick Texier)
7375Liquid (Tim Pope)
7376Mail (Bram Moolenaar)
7377Perl 6 (Andy Lester)
Bram Moolenaar00a927d2010-05-14 23:24:24 +02007378
Bram Moolenaar44886d92010-08-01 19:06:10 +02007379Other new runtime files: ~
Bram Moolenaar69154f22010-07-18 21:42:34 +02007380Breton spell file (Dominique Pelle)
Bram Moolenaar755bd262010-08-14 17:46:20 +02007381Dvorak keymap (Ashish Shukla)
7382Korean translations. (SungHyun Nam)
7383Python 3 completion (Aaron Griffin)
7384Serbian menu translations (Aleksandar Jelenak)
7385Tetum spell files
Bram Moolenaar69154f22010-07-18 21:42:34 +02007386Tutor Bairish (Sepp Hell)
7387Tutor in Esperanto. (Dominique Pellé)
Bram Moolenaarabf39e82010-08-14 21:57:32 +02007388Tutor in Portuguese.
7389Norwegian Tutor now also available as tutor.nb
Bram Moolenaar755bd262010-08-14 17:46:20 +02007390
7391Removed the Mupad runtime files, they were not maintained.
Bram Moolenaar06b5d512010-05-22 15:37:44 +02007392
Bram Moolenaar00a927d2010-05-14 23:24:24 +02007393
7394Fixed *fixed-7.3*
7395-----
7396
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007397Patch 7.2.001
7398Problem: Mac: pseudo-ttys don't work properly on Leopard, resulting in the
7399 shell not to have a prompt, CTRL-C not working, etc.
7400Solution: Don't use SVR4 compatible ptys, even though they are detected.
7401 (Ben Schmidt)
7402Files: src/pty.c
7403
7404Patch 7.2.002
7405Problem: Leaking memory when displaying menus.
7406Solution: Free allocated memory. (Dominique Pelle)
7407Files: src/menu.c
7408
7409Patch 7.2.003
7410Problem: Typo in translated message. Message not translated.
7411Solution: Correct spelling. Add _(). (Dominique Pelle)
7412Files: src/spell.c, src/version.c
7413
7414Patch 7.2.004
7415Problem: Cscope help message is not translated.
7416Solution: Put it in _(). (Dominique Pelle)
7417Files: src/if_cscope.c, src/if_cscope.h
7418
7419Patch 7.2.005
7420Problem: A few problems when profiling. Using flag pointer instead of flag
7421 value. Allocating zero bytes. Not freeing used memory.
7422Solution: Remove wrong '&' characters. Skip dumping when there is nothing
7423 to dump. Free used memory. (Dominique Pelle)
7424Files: src/eval.c
7425
7426Patch 7.2.006
7427Problem: HTML files are not recognized by contents.
7428Solution: Add a rule to the scripts file. (Nico Weber)
7429Files: runtime/scripts.vim
7430
7431Patch 7.2.007 (extra)
7432Problem: Minor issues for VMS.
7433Solution: Minor fixes for VMS. Add float support. (Zoltan Arpadffy)
7434Files: runtime/doc/os_vms.txt, src/os_vms_conf.h, src/Make_vms.mms,
7435 src/testdir/Make_vms.mms, src/testdir/test30.in,
7436 src/testdir/test54.in
7437
7438Patch 7.2.008
7439Problem: With a BufHidden autocommand that invokes ":bunload" the window
7440 count for a buffer can be wrong. (Bob Hiestand)
7441Solution: Don't call enter_buffer() when already in that buffer.
7442Files: src/buffer.c
7443
7444Patch 7.2.009
7445Problem: Can't compile with Perl 5.10 on MS-Windows. (Cesar Romani)
7446Solution: Add the Perl_sv_free2 function for dynamic loading. (Dan Sharp)
7447Files: src/if_perl.xs
7448
7449Patch 7.2.010
7450Problem: When using "K" in Visual mode not all characters are properly
7451 escaped. (Ben Schmidt)
7452Solution: Use a function with the functionality of shellescape(). (Jan
7453 Minar)
7454Files: src/mbyte.c, src/misc2.c, src/normal.c
7455
7456Patch 7.2.011
7457Problem: Get an error when inserting a float value from the expression
7458 register.
7459Solution: Convert the Float to a String automatically in the same place
7460 where a List would be converted to a String.
7461Files: src/eval.c
7462
7463Patch 7.2.012
7464Problem: Compiler warnings when building with startup timing.
7465Solution: Add type casts.
7466Files: src/ex_cmds2.c
7467
7468Patch 7.2.013
7469Problem: While waiting for the X selection Vim consumes a lot of CPU time
7470 and hangs until a response is received.
7471Solution: Sleep a bit when the selection event hasn't been received yet.
7472 Time out after a couple of seconds to avoid a hang when the
7473 selection owner isn't responding.
7474Files: src/ui.c
7475
7476Patch 7.2.014
Bram Moolenaarfcb7ab62010-07-20 11:16:17 +02007477Problem: synstack() doesn't work in an empty line.
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007478Solution: Accept column zero as a valid position.
7479Files: src/eval.c
7480
7481Patch 7.2.015
7482Problem: "make all test install" doesn't stop when the test fails. (Daniel
7483 Shahaf)
7484Solution: When test.log contains failures exit with non-zero status.
7485Files: src/testdir/Makefile
7486
7487Patch 7.2.016
7488Problem: The pattern being completed may be in freed memory when the
7489 command line is being reallocated. (Dominique Pelle)
7490Solution: Keep a pointer to the expand_T in the command line structure.
7491 Don't use <S-Tab> as CTRL-P when there are no results. Clear the
7492 completion when using a command line from the history.
7493Files: src/ex_getln.c
7494
7495Patch 7.2.017
7496Problem: strlen() used on text that may not end in a NUL. (Dominique Pelle)
7497 Pasting a very big selection doesn't work.
7498Solution: Use the length passed to the XtSelectionCallbackProc() function.
7499 After getting the SelectionNotify event continue dispatching
7500 events until the callback is actually called. Also dispatch the
7501 PropertyNotify event.
7502Files: src/ui.c
7503
7504Patch 7.2.018
7505Problem: Memory leak when substitute is aborted.
7506Solution: Free the buffer allocated for the new text. (Dominique Pelle)
7507Files: src/ex_cmds.c
7508
7509Patch 7.2.019
7510Problem: Completion of ":noautocmd" doesn't work and exists(":noautocmd")
7511 returns zero. (Ben Fritz)
7512Solution: Add "noautocmd" to the list of modifiers and commands.
7513Files: src/ex_cmds.h, src/ex_docmd.c
7514
7515Patch 7.2.020
7516Problem: Starting the GUI when the executable starts with 'k', but the KDE
7517 version no longer exists.
7518Solution: Don't have "kvim" start the GUI.
7519Files: src/main.c
7520
7521Patch 7.2.021
7522Problem: When executing autocommands getting the full file name may be
7523 slow. (David Kotchan)
7524Solution: Postpone calling FullName_save() until autocmd_fname is used.
7525Files: src/ex_docmd.c, src/fileio.c, src/globals.h
7526
7527Patch 7.2.022 (extra)
7528Problem: Testing is not possible when compiling with MingW.
7529Solution: Add a MingW specific test Makefile. (Bill McCarthy)
7530Files: Filelist, src/testdir/Make_ming.mak
7531
7532Patch 7.2.023
7533Problem: 'cursorcolumn' is in the wrong place in a closed fold when the
7534 display is shifted left. (Gary Johnson)
7535Solution: Subtract w_skipcol or w_leftcol when needed.
7536Files: src/screen.c
7537
7538Patch 7.2.024
7539Problem: It's possible to set 'history' to a negative value and that causes
7540 an out-of-memory error.
7541Solution: Check that 'history' has a positive value. (Doug Kearns)
7542Files: src/option.c
7543
7544Patch 7.2.025
7545Problem: When a CursorHold event invokes system() it is retriggered over
7546 and over again.
7547Solution: Don't reset did_cursorhold when getting K_IGNORE.
7548Files: src/normal.c
7549
7550Patch 7.2.026 (after 7.2.010)
7551Problem: "K" doesn't use the length of the identifier but uses the rest of
7552 the line.
7553Solution: Copy the desired number of characters first.
7554Files: src/normal.c
7555
7556Patch 7.2.027
7557Problem: Can use cscope commands in the sandbox.
7558Solution: Disallow them, they might not be safe.
7559Files: src/ex_cmds.h
7560
7561Patch 7.2.028
7562Problem: Confusing error message for missing ().
7563Solution: Change "braces" to "parentheses". (Gary Johnson)
7564Files: src/eval.c
7565
7566Patch 7.2.029
7567Problem: No completion for ":doautoall".
7568Solution: Complete ":doautoall" like ":doautocmd". (Doug Kearns)
7569Files: src/ex_docmd.c
7570
7571Patch 7.2.030 (after 7.2.027)
7572Problem: Can't compile.
7573Solution: Remove prematurely added ex_oldfiles.
7574Files: src/ex_cmds.h
7575
7576Patch 7.2.031
7577Problem: Information in the viminfo file about previously edited files is
7578 not available to the user. There is no way to get a complete list
7579 of files edited in previous Vim sessions.
7580Solution: Add v:oldfiles and fill it with the list of old file names when
7581 first reading the viminfo file. Add the ":oldfiles" command,
7582 ":browse oldfiles" and the "#<123" special file name. Increase
7583 the default value for 'viminfo' from '20 to '100.
7584Files: runtime/doc/cmdline.txt, runtime/doc/eval.txt,
7585 runtime/doc/starting.txt, runtime/doc/usr_21.txt, src/eval.c,
7586 src/ex_cmds.c, src/ex_cmds.h, src/ex_docmd.c, src/feature.h,
7587 src/fileio.c, src/main.c, src/mark.c, src/misc1.c,
7588 src/proto/eval.pro, src/proto/ex_cmds.pro, src/proto/mark.pro,
7589 src/option.c, src/structs.h, src/vim.h
7590
7591Patch 7.2.032 (after 7.2.031)
7592Problem: Can't build with EXITFREE defined. (Dominique Pelle)
7593Solution: Change vv_string to vv_str.
7594Files: src/eval.c
7595
7596Patch 7.2.033
7597Problem: When detecting a little endian BOM "ucs-2le" is used, but the text
7598 might be "utf-16le".
7599Solution: Default to "utf-16le", it also works for "ucs-2le". (Jia Yanwei)
7600Files: src/fileio.c, src/testdir/test42.ok
7601
7602Patch 7.2.034
7603Problem: Memory leak in spell info when deleting buffer.
7604Solution: Free the memory. (Dominique Pelle)
7605Files: src/buffer.c
7606
7607Patch 7.2.035
7608Problem: Mismatches between alloc/malloc, free/vim_free,
7609 realloc/vim_realloc.
7610Solution: Use the right function. (Dominique Pelle)
7611Files: src/gui_x11.c, src/mbyte.c, src/misc2.c, src/os_unix.c
7612
7613Patch 7.2.036 (extra)
7614Problem: Mismatches between alloc/malloc, free/vim_free,
7615 realloc/vim_realloc.
7616Solution: Use the right function. (Dominique Pelle)
7617Files: src/gui_riscos.c, src/gui_w48.c, src/mbyte.c, src/os_vms.c,
7618 src/os_w32exe.c, src/os_win16.c
7619
7620Patch 7.2.037
7621Problem: Double free with GTK 1 and compiled with EXITFREE.
7622Solution: Don't close display. (Dominique Pelle)
7623Files: src/os_unix.c
7624
7625Patch 7.2.038
7626Problem: Overlapping arguments to memcpy().
7627Solution: Use mch_memmove(). (Dominique Pelle)
7628Files: src/if_xcmdsrv.c
7629
7630Patch 7.2.039
7631Problem: Accessing freed memory on exit when EXITFREE is defined.
7632Solution: Call hash_init() on the v: hash table.
7633Files: src/eval.c
7634
7635Patch 7.2.040
7636Problem: When using ":e ++ff=dos fname" and the file contains a NL without
7637 a CR before it and 'ffs' contains "unix" then the fileformat
7638 becomes unix.
7639Solution: Ignore 'ffs' when using the ++ff argument. (Ben Schmidt)
7640 Also remove unreachable code.
7641Files: src/fileio.c
7642
7643Patch 7.2.041
7644Problem: In diff mode, when using two tabs, each with two diffed buffers,
7645 editing a buffer of the other tab messes up the diff. (Matt
7646 Mzyzik)
7647Solution: Only copy options from a window where the buffer was edited that
7648 doesn't have 'diff' set or is for the current tab page.
7649 Also fix that window options for a buffer are stored with the
7650 wrong window.
7651Files: src/buffer.c, src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c,
7652 src/ex_getln.c, src/if_sniff.c, src/main.c, src/netbeans.c,
7653 src/normal.c, src/popupmnu.c, src/proto/buffer.pro,
7654 src/proto/ex_cmds.pro src/quickfix.c, src/window.c
7655
7656Patch 7.2.042
7657Problem: When using winrestview() in a BufWinEnter autocommand the window
7658 is scrolled anyway. (Matt Zyzik)
7659Solution: Don't recompute topline when above 'scrolloff' from the bottom.
7660 Don't always put the cursor halfway when entering a buffer. Add
7661 "w_topline_was_set".
7662Files: src/buffer.c, src/move.c, src/structs.h
7663
7664Patch 7.2.043
7665Problem: VMS: Too many characters are escaped in filename and shell
7666 commands.
7667Solution: Escape fewer characters. (Zoltan Arpadffy)
7668Files: src/vim.h
7669
7670Patch 7.2.044
7671Problem: Crash because of STRCPY() being over protective of the destination
7672 size. (Dominique Pelle)
7673Solution: Add -D_FORTIFY_SOURCE=1 to CFLAGS. Use an intermediate variable
7674 for the pointer to avoid a warning.
7675Files: src/auto/configure, src/configure.in, src/eval.c
7676
7677Patch 7.2.045
7678Problem: The Python interface has an empty entry in sys.path.
7679Solution: Filter out the empty entry. (idea from James Vega)
7680Files: src/if_python.c
7681
7682Patch 7.2.046
7683Problem: Wrong check for filling buffer with encoding. (Danek Duvall)
7684Solution: Remove pointers. (Dominique Pelle)
7685Files: src/mbyte.c
7686
7687Patch 7.2.047
7688Problem: Starting Vim with the -nb argument while it's not supported causes
7689 the other side to hang.
7690Solution: When -nb is used while it's not supported exit Vim. (Xavier de
7691 Gaye)
7692Files: src/main.c, src/vim.h
7693
7694Patch 7.2.048
7695Problem: v:prevcount is changed too often. Counts are not multiplied when
7696 setting v:count.
7697Solution: Set v:prevcount properly. Multiply counts. (idea by Ben Schmidt)
7698Files: src/eval.c, src/normal.c, src/proto/eval.pro
7699
7700Patch 7.2.049 (extra)
7701Problem: Win32: the clipboard doesn't support UTF-16.
7702Solution: Change UCS-2 support to UTF-16 support. (Jia Yanwei)
7703Files: src/gui_w32.c, src/gui_w48.c, src/mbyte.c, src/misc1.c,
7704 src/os_mswin.c, src/os_win32.c, src/proto/os_mswin.pro
7705
7706Patch 7.2.050
7707Problem: Warnings for not checking return value of fwrite(). (Chip Campbell)
7708Solution: Use the return value.
7709Files: src/spell.c
7710
7711Patch 7.2.051
7712Problem: Can't avoid 'wildignore' and 'suffixes' for glob() and globpath().
7713Solution: Add an extra argument to these functions. (Ingo Karkat)
7714Files: src/eval.c, src/ex_getln.c, src/proto/ex_getln.pro,
7715 runtime/doc/eval.txt, runtime/doc/options.txt
7716
7717Patch 7.2.052
7718Problem: synIDattr() doesn't support "sp" for special color.
7719Solution: Recognize "sp" and "sp#". (Matt Wozniski)
7720Files: runtime/doc/eval.txt, src/eval.c
7721
7722Patch 7.2.053
7723Problem: Crash when using WorkShop command ":ws foo". (Dominique Pelle)
7724Solution: Avoid using a NULL pointer.
7725Files: src/workshop.c
7726
7727Patch 7.2.054
7728Problem: Compilation warnings for format in getchar.c.
7729Solution: Use fputs() instead of fprintf(). (Dominique Pelle)
7730Files: src/getchar.c
7731
7732Patch 7.2.055
7733Problem: Various compiler warnings with strict checking.
7734Solution: Avoid the warnings by using return values and renaming.
7735Files: src/diff.c, src/eval.c, src/ex_cmds.c, src/ex_docmd.c,
7736 src/fileio.c, src/fold.c, src/globals.h, src/gui.c,
7737 src/gui_at_sb.c, src/gui_gtk_x11.c, src/gui_xmdlg.c,
7738 src/gui_xmebw.c, src/main.c, src/mbyte.c, src/message.c,
7739 src/netbeans.c, src/option.c, src/os_unix.c, src/spell.c,
7740 src/ui.c, src/window.c
7741
7742Patch 7.2.056 (after 7.2.050)
7743Problem: Tests 58 and 59 fail.
7744Solution: Don't invoke fwrite() with a zero length. (Dominique Pelle)
7745Files: src/spell.c
7746
7747Patch 7.2.057 (after 7.2.056)
7748Problem: Combination of int and size_t may not work.
7749Solution: Use size_t for variable.
7750Files: src/spell.c
7751
7752Patch 7.2.058
7753Problem: Can't add a patch name to the ":version" output.
7754Solution: Add the extra_patches array.
7755Files: src/version.c
7756
7757Patch 7.2.059
7758Problem: Diff display is not always updated.
7759Solution: Update the display more often.
7760Files: src/diff.c
7761
7762Patch 7.2.060
7763Problem: When a spell files has many compound rules it may take a very long
7764 time making the list of suggestions. Displaying also can be slow
7765 when there are misspelled words.
7766 Can't parse some Hunspell .aff files.
7767Solution: Check if a compounding can possibly work before trying a
7768 combination, if the compound rules don't contain wildcards.
7769 Implement using CHECKCOMPOUNDPATTERN.
7770 Ignore COMPOUNDRULES. Ignore a comment after most items.
7771 Accept ONLYINCOMPOUND as an alias for NEEDCOMPOUND.
7772 Accept FORBIDDENWORD as an alias for BAD.
7773Files: runtime/doc/spell.txt, src/spell.c
7774
7775Patch 7.2.061
7776Problem: Can't create a funcref for an autoload function without loading
7777 the script first. (Marc Weber)
7778Solution: Accept autoload functions that don't exist yet in function().
7779Files: src/eval.c
7780
7781Patch 7.2.062
7782Problem: "[Scratch]" is not translated.
7783Solution: Mark the string for translation. (Dominique Pelle)
7784Files: src/buffer.c
7785
7786Patch 7.2.063
7787Problem: Warning for NULL argument of Perl_sys_init3().
7788Solution: Use Perl_sys_init() instead. (partly by Dominique Pelle)
7789Files: src/if_perl.xs
7790
7791Patch 7.2.064
7792Problem: Screen update bug when repeating "~" on a Visual block and the
7793 last line doesn't change.
7794Solution: Keep track of changes for all lines. (Moritz Orbach)
7795Files: src/ops.c
7796
7797Patch 7.2.065
7798Problem: GTK GUI: the cursor disappears when doing ":vsp" and the Vim
7799 window is maximized. (Dominique Pelle, Denis Smolyar)
7800Solution: Don't change "Columns" back to an old value at a wrong moment.
7801 Do change "Rows" when it should not be a problem.
7802Files: src/gui.c
7803
7804Patch 7.2.066
7805Problem: It's not easy to see whether 'encoding' is a multi-byte encoding.
7806Solution: Add has('multi_byte_encoding').
7807Files: runtime/doc/eval.txt, src/eval.c
7808
7809Patch 7.2.067
7810Problem: Session file can't load extra file when the path contains special
7811 characters.
7812Solution: Escape the file name. (Lech Lorens)
7813Files: src/ex_docmd.c
7814
7815Patch 7.2.068
7816Problem: Emacs tags file lines can be too long, resulting in an error
7817 message. (James Vega)
7818Solution: Ignore lines with errors if they are too long.
7819Files: src/tag.c
7820
7821Patch 7.2.069 (after 7.2.060)
7822Problem: Compiler warning for storing size_t in int.
7823Solution: Add type cast.
7824Files: src/spell.c
7825
7826Patch 7.2.070
Bram Moolenaarfcb7ab62010-07-20 11:16:17 +02007827Problem: Crash when a function returns a:000. (Matt Wozniski)
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007828Solution: Don't put the function struct on the stack, allocate it. Free it
7829 only when nothing in it is used.
7830Files: src/eval.c
7831
7832Patch 7.2.071 (extra)
7833Problem: Win32: Handling netbeans events while Vim is busy updating the
7834 screen may cause a crash.
7835Solution: Like with GTK, only handle netbeans messages in the main loop.
7836 (Xavier de Gaye)
7837Files: src/gui_w48.c, src/netbeans.c
7838
7839Patch 7.2.072 (extra)
7840Problem: Compiler warning in Sniff code.
7841Solution: Use return value of pipe(). (Dominique Pelle)
7842Files: src/if_sniff.c
7843
7844Patch 7.2.073
7845Problem: ":set <xHome>" has the same output as ":set <Home>". (Matt
7846 Wozniski)
7847Solution: Don't translate "x" keys to its alternative for ":set".
7848Files: src/gui_mac.c, src/misc2.c, src/option.c, src/proto/misc2.pro
7849
7850Patch 7.2.074 (extra, after 7.2.073)
7851Problem: ":set <xHome>" has the same output as ":set <Home>". (Matt
7852 Wozniski)
7853Solution: Don't translate "x" keys to its alternative for ":set".
7854Files: src/gui_mac.c
7855
7856Patch 7.2.075 (after 7.2.058)
7857Problem: Explanation about making a diff for extra_patches is unclear.
7858Solution: Adjust comment.
7859Files: src/version.c
7860
7861Patch 7.2.076
7862Problem: rename(from, to) deletes the file if "from" and "to" are not equal
7863 but still refer to the same file. E.g., on a FAT32 filesystem
7864 under Unix.
7865Solution: Go through another file name.
7866Files: src/fileio.c
7867
7868Patch 7.2.077 (after 7.2.076)
7869Problem: rename(from, to) doesn't work if "from" and "to" differ only in
7870 case on a system that ignores case in file names.
7871Solution: Go through another file name.
7872Files: src/fileio.c
7873
7874Patch 7.2.078
7875Problem: When deleting a fold that is specified with markers the cursor
7876 position may be wrong. Folds may not be displayed properly after
7877 a delete. Wrong fold may be deleted.
7878Solution: Fix the problems. (mostly by Lech Lorens)
7879Files: src/fold.c
7880
7881Patch 7.2.079
7882Problem: "killed" netbeans events are not handled correctly.
7883Solution: A "killed" netbeans event is sent when the buffer is deleted or
7884 wiped out (in this case, the netbeans annotations in this buffer
7885 have been removed). A user can still remove a sign with the
7886 command ":sign unplace" and this does not trigger a "killed"
7887 event. (Xavier de Gaye)
7888Files: runtime/doc/netbeans.txt, src/buffer.c, src/globals.h,
7889 src/netbeans.c, src/proto/netbeans.pro
7890
7891Patch 7.2.080
7892Problem: When typing a composing character just after starting completion
7893 may access memory before its allocation point. (Dominique Pelle)
7894Solution: Don't delete before the completion start column. Add extra checks
7895 for the offset not being negative.
7896Files: src/edit.c
7897
7898Patch 7.2.081
7899Problem: Compiler warning for floating point overflow on VAX.
7900Solution: For VAX use a smaller number. (Zoltan Arpadffy)
7901Files: src/message.c
7902
7903Patch 7.2.082
7904Problem: When 'ff' is "mac" then "ga" on a ^J shows 0x0d instead of 0x0a.
7905 (Andy Wokula)
7906Solution: Use NL for this situation. (Lech Lorens)
7907Files: src/ex_cmds.c
7908
7909Patch 7.2.083
7910Problem: ":tag" does not return to the right tag entry from the tag stack.
7911Solution: Don't change the current match when there is no argument.
7912 (Erik Falor)
7913Files: src/tag.c
7914
7915Patch 7.2.084
7916Problem: Recursive structures are not handled properly in Python
7917 vim.eval().
7918Solution: Keep track of references in a better way. (Yukihiro Nakadaira)
7919Files: src/if_python.c
7920
7921Patch 7.2.085
7922Problem: ":set <M-b>=<Esc>b" does not work when 'encoding' is utf-8.
7923Solution: Put the <M-b> character in the input buffer as valid utf-8.
Bram Moolenaarfcb7ab62010-07-20 11:16:17 +02007924 (partly by Matt Wozniski)
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007925Files: src/term.c
7926
7927Patch 7.2.086
7928Problem: Using ":diffget 1" in buffer 1 corrupts the text.
7929Solution: Don't do anything when source and destination of ":diffget" or
7930 ":diffput" is the same buffer. (Dominique Pelle)
7931Files: src/diff.c
7932
7933Patch 7.2.087
7934Problem: Adding URL to 'path' doesn't work to edit a file.
Bram Moolenaarfcb7ab62010-07-20 11:16:17 +02007935Solution: Skip simplify_filename() for URLs. (Matt Wozniski)
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007936Files: src/misc2.c
7937
7938Patch 7.2.088 (extra)
7939Problem: OpenClipboard() may fail when another application is using the
7940 clipboard.
7941Solution: Retry OpenClipboard() a few times. (Jianrong Yu)
7942Files: src/os_mswin.c
7943
7944Patch 7.2.089 (extra)
7945Problem: Win32: crash when using Ultramon buttons.
7946Solution: Don't use a WM_OLE message of zero size. (Ray Megal)
7947Files: src/if_ole.cpp, src/gui_w48.c
7948
7949Patch 7.2.090
7950Problem: User command containing 0x80 in multi-byte character does not work
7951 properly. (Yasuhiro Matsumoto)
7952Solution: Undo replacement of K_SPECIAL and CSI characters when executing
7953 the command.
7954Files: src/ex_docmd.c
7955
7956Patch 7.2.091
7957Problem: ":cs help" output is not aligned for some languages.
7958Solution: Compute character size instead of byte size. (Dominique Pelle)
7959Files: src/if_cscope.c
7960
7961Patch 7.2.092
7962Problem: Some error messages are not translated.
7963Solution: Add _() around the messages. (Dominique Pelle)
7964Files: src/eval.c
7965
7966Patch 7.2.093 (extra)
7967Problem: Win32: inputdialog() and find/replace dialogs can't handle
7968 multi-byte text.
7969Solution: Use the wide version of dialog functions when available. (Yanwei
7970 Jia)
7971Files: src/gui_w32.c, src/gui_w48.c
7972
7973Patch 7.2.094
7974Problem: Compiler warning for signed/unsigned compare.
7975Solution: Add type cast. Also fix a few typos.
7976Files: src/edit.c
7977
7978Patch 7.2.095
7979Problem: With Visual selection, "r" and then CTRL-C Visual mode is stopped
7980 but the highlighting is not removed.
7981Solution: Call reset_VIsual().
7982Files: src/normal.c
7983
7984Patch 7.2.096
7985Problem: After ":number" the "Press Enter" message may be on the wrong
7986 screen, if switching screens for shell commands.
7987Solution: Reset info_message. (James Vega)
7988Files: src/ex_cmds.c
7989
7990Patch 7.2.097
7991Problem: "!xterm&" doesn't work when 'shell' is "bash".
7992Solution: Ignore SIGHUP after calling setsid(). (Simon Schubert)
7993Files: src/os_unix.c
7994
7995Patch 7.2.098
7996Problem: Warning for signed/unsigned pointer.
7997Solution: Add type cast.
7998Files: src/eval.c
7999
8000Patch 7.2.099
8001Problem: Changing GUI options causes an unnecessary redraw when the GUI
8002 isn't active.
8003Solution: Avoid the redraw. (Lech Lorens)
8004Files: src/option.c
8005
8006Patch 7.2.100
8007Problem: When using ":source" on a FIFO or something else that can't rewind
8008 the first three bytes are skipped.
8009Solution: Instead of rewinding read the first line and detect a BOM in that.
8010 (mostly by James Vega)
8011Files: src/ex_cmds2.c
8012
8013Patch 7.2.101 (extra)
8014Problem: MSVC version not recognized.
8015Solution: Add the version number to the list. (Zhong Zhang)
8016Files: src/Make_mvc.mak
8017
8018Patch 7.2.102 (after 7.2.100)
8019Problem: When 'encoding' is "utf-8" a BOM at the start of a Vim script is
8020 not removed. (Tony Mechelynck)
8021Solution: When no conversion is taking place make a copy of the line without
8022 the BOM.
8023Files: src/ex_cmds2.c
8024
8025Patch 7.2.103
8026Problem: When 'bomb' is changed the window title is updated to show/hide a
8027 "+", but the tab page label isn't. (Patrick Texier)
8028Solution: Set "redraw_tabline" in most places where "need_maketitle" is set.
8029 (partly by Lech Lorens)
8030Files: src/option.c
8031
8032Patch 7.2.104
8033Problem: When using ":saveas bar.c" the tab label isn't updated right away.
8034Solution: Set redraw_tabline. (Francois Ingelrest)
8035Files: src/ex_cmds.c
8036
8037Patch 7.2.105
8038Problem: Modeline setting for 'foldmethod' overrules diff options. (Ingo
8039 Karkat)
8040Solution: Don't set 'foldmethod' and 'wrap' from a modeline when 'diff' is
8041 on.
8042Files: src/option.c
8043
8044Patch 7.2.106
8045Problem: Endless loop when using "]s" in HTML when there are no
8046 misspellings. (Ingo Karkat)
8047Solution: Break the search loop. Also fix pointer alignment for systems
8048 with pointers larger than int.
8049Files: src/spell.c
8050
8051Patch 7.2.107
8052Problem: When using a GUI dialog and ":echo" commands the messages are
Bram Moolenaarfcb7ab62010-07-20 11:16:17 +02008053 deleted after the dialog. (Vincent Birebent)
Bram Moolenaar6df6f472010-07-18 18:04:50 +02008054Solution: Don't call msg_end_prompt() since there was no prompt.
8055Files: src/message.c
8056
8057Patch 7.2.108 (after 7.2.105)
8058Problem: Can't build without the diff feature.
8059Solution: Add #ifdef.
8060Files: src/option.c
8061
8062Patch 7.2.109
8063Problem: 'langmap' does not work for multi-byte characters.
8064Solution: Add a list of mapped multi-byte characters. (based on work by
8065 Konstantin Korikov, Agathoklis Hatzimanikas)
8066Files: runtime/doc/options.txt, src/edit.c, src/getchar.c, src/macros.h,
8067 src/normal.c, src/option.c, src/proto/option.pro, src/window.c
8068
8069Patch 7.2.110
8070Problem: Compiler warning for unused variable.
8071Solution: Init the variable.
8072Files: src/ex_docmd.c
8073
8074Patch 7.2.111
8075Problem: When using Visual block mode with 'cursorcolumn' it's unclear what
8076 is selected.
8077Solution: Don't use 'cursorcolumn' highlighting inside the Visual selection.
8078 (idea by Dominique Pelle)
8079Files: src/screen.c
8080
8081Patch 7.2.112
8082Problem: Cursor invisible in Visual mode when 'number' is set and cursor in
8083 first column. (Matti Niemenmaa, Renato Alves)
8084Solution: Check that vcol_prev is smaller than vcol.
8085Files: src/screen.c
8086
8087Patch 7.2.113
8088Problem: Crash for substitute() call using submatch(1) while there is no
8089 such submatch. (Yukihiro Nakadaira)
8090Solution: Also check the start of the submatch is set, it can be NULL when
8091 an attempted match didn't work out.
8092Files: src/regexp.c
8093
8094Patch 7.2.114
8095Problem: Using wrong printf format.
8096Solution: Use "%ld" instead of "%d". (Dominique Pelle)
8097Files: src/netbeans.c
8098
8099Patch 7.2.115
8100Problem: Some debugging code is never used.
8101Solution: Remove nbtrace() and nbprt(). (Dominique Pelle)
8102Files: src/nbdebug.c, src/nbdebug.h
8103
8104Patch 7.2.116
8105Problem: Not all memory is freed when EXITFREE is defined.
8106Solution: Free allocated memory on exit. (Dominique Pelle)
8107Files: src/ex_docmd.c, src/gui_gtk_x11.c, src/misc2.c, src/search.c,
8108 src/tag.c
8109
8110Patch 7.2.117
8111Problem: Location list incorrectly labelled "Quickfix List".
8112Solution: Break out of both loops for finding window for location list
8113 buffer. (Lech Lorens)
8114Files: src/buffer.c, src/quickfix.c, src/screen.c
8115
8116Patch 7.2.118
8117Problem: <PageUp> at the more prompt only does half a page.
8118Solution: Make <PageUp> go up a whole page. Also make 'f' go a page
8119 forward, but not quit the more prompt. (Markus Heidelberg)
8120Files: src/message.c
8121
8122Patch 7.2.119
8123Problem: Status line is redrawn too often.
8124Solution: Check ScreeenLinesUC[] properly. (Yukihiro Nakadaira)
8125Files: src/screen.c
8126
8127Patch 7.2.120
8128Problem: When opening the quickfix window or splitting the window and
8129 setting the location list, the location list is copied and then
8130 deleted, which is inefficient.
8131Solution: Don't copy the location list when not needed. (Lech Lorens)
8132Files: src/quickfix.c, src/vim.h, src/window.c
8133
8134Patch 7.2.121
8135Problem: In gvim "!grep a *.c" spews out a lot of text that can't be
8136 stopped with CTRL-C.
8137Solution: When looping to read and show text, do check for typed characters
8138 every two seconds.
8139Files: src/os_unix.c
8140
8141Patch 7.2.122
8142Problem: Invalid memory access when the VimResized autocommand changes
8143 'columns' and/or 'lines'.
8144Solution: After VimResized check for changed values. (Dominique Pelle)
8145Files: src/screen.c
8146
8147Patch 7.2.123
8148Problem: Typing 'q' at more prompt for ":map" output still displays another
8149 line, causing another more prompt. (Markus Heidelberg)
8150Solution: Quit listing maps when 'q' typed.
8151Files: src/getchar.c
8152
8153Patch 7.2.124
8154Problem: Typing 'q' at more prompt for ":tselect" output still displays
8155 more lines, causing another more prompt. (Markus Heidelberg)
8156Solution: Quit listing tags when 'q' typed.
8157Files: src/tag.c
8158
8159Patch 7.2.125
8160Problem: Leaking memory when reading XPM bitmap for a sign.
8161Solution: Don't allocate the memory twice. (Dominique Pelle)
8162Files: src/gui_x11.c
8163
8164Patch 7.2.126
8165Problem: When EXITFREE is defined signs are not freed.
8166Solution: Free all signs on exit. Also free keymaps. (Dominique Pelle)
8167Files: src/misc2.c, src/ex_cmds.c, src/proto/ex_cmds.pro
8168
8169Patch 7.2.127
8170Problem: When listing mappings and a wrapping line causes the more prompt,
8171 after typing 'q' there can be another more prompt. (Markus
8172 Heidelberg)
8173Solution: Set "lines_left" to allow more lines to be displayed.
8174Files: src/message.c
8175
8176Patch 7.2.128 (after 7.2.055)
8177Problem: Using ":lcd" makes session files not work.
8178Solution: Compare return value of mch_chdir() properly. (Andreas Bernauer)
8179Files: src/ex_docmd.c
8180
8181Patch 7.2.129
8182Problem: When opening a command window from input() it uses the search
8183 history.
8184Solution: Use get_cmdline_type(). (James Vega)
8185Files: src/ex_getln.c
8186
8187Patch 7.2.130
Bram Moolenaar483c5d82010-10-20 18:45:33 +02008188Problem: Vim may hang until CTRL-C is typed when using CTRL-Z.
Bram Moolenaar6df6f472010-07-18 18:04:50 +02008189Solution: Avoid using pause(). Also use "volatile" for variables used in
8190 signal functions. (Dominique Pelle)
8191Files: src/auto/configure, src/configure.in, src/config.h.in,
8192 src/globals.h, src/os_unix.c
8193
8194Patch 7.2.131
8195Problem: When 'keymap' is cleared may still use the cursor highlighting for
8196 when it's enabled.
8197Solution: Reset 'iminsert' and 'imsearch'. (partly by Dominique Pelle)
8198 Also avoid ":setlocal" for these options have a global effect.
8199Files: src/option.c
8200
8201Patch 7.2.132
8202Problem: When changing directory during a SwapExists autocmd freed memory
8203 may be accessed. (Dominique Pelle)
8204Solution: Add the allbuf_lock flag.
8205Files: src/ex_getln.c, src/globals.h, src/fileio.c,
8206 src/proto/ex_getln.pro
8207
8208Patch 7.2.133
8209Problem: ":diffoff!" changes settings in windows not in diff mode.
8210Solution: Only change settings in other windows when 'diff' is set, always
8211 do it for the current window. (Lech Lorens)
8212Files: src/diff.c
8213
8214Patch 7.2.134
8215Problem: Warning for discarding "const" from pointer.
8216Solution: Don't pass const pointer to mch_memmove().
8217Files: src/fileio.c
8218
8219Patch 7.2.135
8220Problem: Memory leak when redefining user command with complete argument.
8221Solution: Free the old complete argument. (Dominique Pelle)
8222Files: src/ex_docmd.c
8223
8224Patch 7.2.136 (after 7.2.132)
8225Problem: ":cd" is still possible in a SwapExists autocmd.
8226Solution: Check the allbuf_lock flag in ex_cd().
8227Files: src/ex_docmd.c
8228
8229Patch 7.2.137
8230Problem: When 'virtualedit' is set, a left shift of a blockwise selection
8231 that starts and ends inside a tab shifts too much. (Helmut
8232 Stiegler)
8233Solution: Redo the block left shift code. (Lech Lorens)
8234Files: src/ops.c, src/testdir/Makefile, src/testdir/test66.in,
8235 src/testdir/test66.ok
8236
8237Patch 7.2.138 (extra part of 7.2.137)
8238Problem: See 7.2.137.
8239Solution: See 7.2.137.
8240Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
8241 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
8242 src/testdir/Make_vms.mms
8243
8244Patch 7.2.139
8245Problem: Crash when 'virtualedit' is "all". (James Vega)
8246Solution: Avoid overflow when column is MAXCOL. (Dominique Pelle)
8247Files: src/misc2.c
8248
8249Patch 7.2.140
8250Problem: Diff highlighting isn't displayed before the Visual area if it
8251 starts at the cursor position. (Markus Heidelberg)
8252Solution: Also check fromcol_prev.
8253Files: src/screen.c
8254
8255Patch 7.2.141
8256Problem: When redrawing a character for bold spill this causes the next
8257 character to be redrawn as well.
8258Solution: Only redraw one extra character. (Yukihiro Nakadaira)
8259Files: src/screen.c
8260
8261Patch 7.2.142
8262Problem: Motif and Athena balloons don't use tooltip colors.
8263Solution: Set the colors. (Matt Wozniski)
8264Files: src/gui_beval.c
8265
8266Patch 7.2.143
8267Problem: No command line completion for ":cscope" command.
8268Solution: Add the completion for ":cscope". (Dominique Pelle)
8269Files: src/ex_docmd.c, src/ex_getln.c, src/if_cscope.c,
8270 src/proto/if_cscope.pro, src/vim.h
8271
8272Patch 7.2.144
8273Problem: When 't_Co' is set to the value it already had the color scheme is
8274 reloaded anyway.
8275Solution: Only load the colorscheme when the t_Co value changes. (Dominique
8276 Pelle)
8277Files: src/option.c
8278
8279Patch 7.2.145
8280Problem: White space in ":cscope find" is not ignored.
8281Solution: Ignore the white space, but not when the leading white space is
8282 useful for the argument.
8283Files: runtime/doc/if_scop.txt, src/if_cscope.c
8284
8285Patch 7.2.146
8286Problem: v:warningmsg isn't used for all warnings.
8287Solution: Set v:warningmsg for relevant warnings. (Ingo Karkat)
8288Files: src/fileio.c, src/misc1.c, src/option.c
8289
8290Patch 7.2.147
8291Problem: When compiled as small version and 'number' is on the cursor is
8292 displayed in the wrong position after a tab. (James Vega)
8293Solution: Don't increment vcol when still displaying the line number.
8294Files: src/screen.c
8295
8296Patch 7.2.148
8297Problem: When searching for "$" while 'hlsearch' is set, highlighting the
8298 character after the line does not work in the cursor column.
8299 Also highlighting for Visual mode after the line end when this
8300 isn't needed. (Markus Heidelberg)
8301Solution: Only compare the cursor column in the cursor line. Only highlight
8302 for Visual selection after the last character when it's needed to
8303 see where the Visual selection ends.
8304Files: src/screen.c
8305
8306Patch 7.2.149
8307Problem: Using return value of function that doesn't return a value results
8308 in reading uninitialized memory.
8309Solution: Set the default to return zero. Make cursor() return -1 on
8310 failure. Let complete() return an empty string in case of an
8311 error. (partly by Dominique Pelle)
8312Files: runtime/doc/eval.txt, src/eval.c
8313
8314Patch 7.2.150 (extra)
8315Problem: Can't use tab pages from VisVim.
8316Solution: Add tab page support to VisVim. (Adam Slater)
8317Files: src/VisVim/Commands.cpp, src/VisVim/Resource.h,
8318 src/VisVim/VisVim.rc
8319
8320Patch 7.2.151
8321Problem: ":hist a" doesn't work like ":hist all" as the docs suggest.
8322Solution: Make ":hist a" and ":hist al" work. (Dominique Pelle)
8323Files: src/ex_getln.c
8324
8325Patch 7.2.152
8326Problem: When using "silent echo x" inside ":redir" a next echo may start
8327 halfway the line. (Tony Mechelynck, Dennis Benzinger)
8328Solution: Reset msg_col after redirecting silently.
8329Files: src/ex_docmd.c, src/message.c, src/proto/message.pro
8330
8331Patch 7.2.153
8332Problem: Memory leak for ":recover empty_dir/".
8333Solution: Free files[] when it becomes empty. (Dominique Pelle)
8334Files: src/memline.c
8335
8336Patch 7.2.154 (after 7.2.132)
8337Problem: ":cd" is still possible in a SwapExists autocmd.
8338Solution: Set allbuf_lock in do_swapexists().
8339Files: src/memline.c
8340
8341Patch 7.2.155
8342Problem: Memory leak in ":function /pat".
8343Solution: Free the memory. (Dominique Pelle)
8344Files: src/eval.c
8345
8346Patch 7.2.156 (after 7.2.143)
8347Problem: No completion for :scscope and :lcscope commands.
8348Solution: Implement the completion. (Dominique Pelle)
8349Files: src/if_cscope.c, src/ex_docmd.c, src/proto/if_cscope.pro
8350
8351Patch 7.2.157
8352Problem: Illegal memory access when searching in path.
8353Solution: Avoid looking at a byte after end of a string. (Dominique Pelle)
8354Files: src/search.c
8355
8356Patch 7.2.158
8357Problem: Warnings from VisualC compiler.
8358Solution: Add type casts. (George Reilly)
8359Files: src/ops.c
8360
8361Patch 7.2.159
8362Problem: When $x_includes ends up being "NONE" configure fails.
8363Solution: Check for $x_includes not to be "NONE" (Rainer)
8364Files: src/auto/configure, src/configure.in
8365
8366Patch 7.2.160
8367Problem: Search pattern not freed on exit when 'rightleft' set.
8368Solution: Free mr_pattern_alloced.
8369Files: src/search.c
8370
8371Patch 7.2.161
8372Problem: Folds messed up in other tab page. (Vlad Irnov)
8373Solution: Instead of going over all windows in current tab page go over all
8374 windows in all tab pages. Also free memory for location lists in
8375 other tab pages when exiting. (Lech Lorens)
8376Files: src/fileio.c, src/mark.c, src/misc1.c, src/misc2.c
8377
8378Patch 7.2.162
8379Problem: The quickfix window may get wrong filetype.
8380Solution: Do not detect the filetype for the quickfix window. (Lech Lorens)
8381Files: src/quickfix.c
8382
8383Patch 7.2.163
8384Problem: The command line window may get folding.
8385Solution: Default to no/manual folding. (Lech Lorens)
8386Files: src/ex_getln.c
8387
8388Patch 7.2.164
8389Problem: When 'showbreak' is set the size of the Visual block may be
8390 reported wrong. (Eduardo Daudt Flach)
8391Solution: Temporarily make 'sbr' empty.
8392Files: src/normal.c, src/ops.c
8393
8394Patch 7.2.165
8395Problem: The argument for the FuncUndefined autocmd event is expanded like
8396 a file name.
8397Solution: Don't try expanding it. (Wang Xu)
8398Files: src/fileio.c
8399
8400Patch 7.2.166
8401Problem: No completion for ":sign" command.
8402Solution: Add ":sign" completion. (Dominique Pelle)
8403Files: src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c, src/vim.h,
8404 src/proto/ex_cmds.pro
8405
8406Patch 7.2.167
8407Problem: Splint doesn't work well for checking the code.
8408Solution: Add splint arguments in the Makefile. Exclude some code from
8409 splint that it can't handle. Tune splint arguments to give
8410 reasonable errors. Add a filter for removing false warnings from
8411 splint output. Many small changes to avoid warnings. More to
8412 follow...
8413Files: Filelist, src/Makefile, src/buffer.c, src/charset.c,
8414 src/cleanlint.vim, src/digraph.c, src/edit.c, src/ex_cmds.c,
8415 src/globals.h, src/ops.c, src/os_unix.c, src/os_unix.h,
8416 src/proto/buffer.pro, src/proto/edit.pro, src/screen.c,
8417 src/structs.h
8418
8419Patch 7.2.168
8420Problem: When no ctags program can be found, "make tags" attempts to
8421 execute the first C file.
8422Solution: Default to "ctags" when no ctags program can be found.
8423Files: src/configure.in, src/auto/configure
8424
8425Patch 7.2.169
8426Problem: Splint complains about a lot of things.
8427Solution: Add type casts, #ifdefs and other changes to avoid warnings.
8428 Change colnr_T from unsigned to int. Avoids mistakes with
8429 subtracting columns.
8430Files: src/cleanlint.vim, src/diff.c, src/edit.c, src/ex_cmds.c,
8431 src/ex_cmds2.c, src/ex_docmd.c, src/proto/ex_cmds.pro,
8432 src/proto/spell.pro, src/quickfix.c, src/spell.c, src/structs.h,
8433 src/term.h, src/vim.h
8434
8435Patch 7.2.170
8436Problem: Using b_dev while it was not set. (Dominique Pelle)
8437Solution: Add the b_dev_valid flag.
8438Files: src/buffer.c, src/fileio.c, src/structs.h
8439
8440Patch 7.2.171 (after 7.2.169)
8441Problem: Compiler warnings. (Tony Mechelynck)
8442Solution: Add function prototype. (Patrick Texier) Init variable.
8443Files: src/ex_cmds.c
8444
8445Patch 7.2.172 (extra)
8446Problem: Compiler warning.
8447Solution: Adjust function prototype. (Patrick Texier)
8448Files: src/os_mswin.c
8449
8450Patch 7.2.173
8451Problem: Without lint there is no check for unused function arguments.
8452Solution: Use gcc -Wunused-parameter instead of lint. For a few files add
8453 attributes to arguments that are known not to be used.
8454Files: src/auto/configure, src/buffer.c, src/charset.c, src/diff.c,
8455 src/configure.in, src/config.h.in, src/edit.c, src/ex_cmds.c,
8456 src/ex_cmds2.c, src/version.c, src/vim.h
8457
8458Patch 7.2.174
8459Problem: Too many warnings from gcc -Wextra.
8460Solution: Change initializer. Add UNUSED. Add type casts.
8461Files: src/edit.c, src/eval.c, src/ex_cmds.c, src/ex_docmd.c,
8462 src/ex_getln.c, src/fileio.c, getchar.c, globals.h, main.c,
8463 memline.c, message.c, src/misc1.c, src/move.c, src/normal.c,
8464 src/option.c, src/os_unix.c, src/os_unix.h, src/regexp.c,
8465 src/search.c, src/tag.c
8466
8467Patch 7.2.175
8468Problem: Compiler warning in OpenBSD.
8469Solution: Add type cast for NULL. (Dasn)
8470Files: src/if_cscope.c
8471
8472Patch 7.2.176
8473Problem: Exceptions for splint are not useful.
8474Solution: Remove the S_SPLINT_S ifdefs.
8475Files: src/edit.c, src/ex_cmds.c, src/ex_docmd.c, src/os_unix.c,
8476 src/os_unix.h, src/os_unixx.h, src/structs.h, src/term.h
8477
8478Patch 7.2.177
8479Problem: Compiler warnings when using -Wextra
8480Solution: Add UNUSED and type casts.
8481Files: src/eval.c, src/ex_docmd.c, src/ex_eval.c, src/ex_getln.c,
8482 src/fileio.c, src/hardcopy.c, src/if_cscope.c, src/if_xcmdsrv.c,
8483 src/farsi.c, src/mark.c, src/menu.c
8484
8485Patch 7.2.178
8486Problem: Using negative value for device number might not work.
8487Solution: Use a separate flag for whether ffv_dev was set.
8488Files: src/misc2.c
8489
8490Patch 7.2.179
8491Problem: Using negative value for device number might not work.
8492Solution: Use a separate flag for whether sn_dev was set.
8493Files: src/ex_cmds2.c
8494
8495Patch 7.2.180
8496Problem: Some more compiler warnings when using gcc -Wextra.
8497Solution: Add UNUSED and type casts.
8498Files: src/buffer.c, src/ex_cmds.c, src/macros.h, src/main.c,
8499 src/menu.c, src/message.c, src/misc1.c, src/mbyte.c,
8500 src/normal.c, src/option.c, src/os_unix.c, src/quickfix.c,
8501 src/screen.c, src/search.c, src/spell.c, src/syntax.c, src/tag.c,
8502 src/term.c, src/ui.c
8503
8504Patch 7.2.181
8505Problem: Some more compiler warnings when using gcc -Wextra.
8506Solution: Add UNUSED and type casts.
8507Files: src/if_mzsch.c, src/gui.c, src/gui_gtk.c, src/gui_gtk_x11.c,
8508 src/gui_gtk_f.c, src/gui_beval.c, src/netbeans.c
8509
8510Patch 7.2.182 (after 7.2.181)
8511Problem: Compilation problems after previous patch for Motif. Gvim with
8512 GTK crashes on startup.
8513Solution: Add comma. Init form structure to zeroes.
8514Files: src/netbeans.c, src/gui_gtk_f.c
8515
8516Patch 7.2.183
8517Problem: Configure problem for sys/sysctl.h on OpenBSD. (Dasn)
8518Solution: Add separate check for this header file. Also switch to newer
8519 version of autoconf.
8520Files: src/auto/configure, src/configure.in
8521
8522Patch 7.2.184
8523Problem: Some more compiler warnings when using gcc -Wextra.
8524Solution: Add UNUSED and type casts. Autoconf check for wchar_t.
8525Files: src/auto/configure, src/config.h.in, src/configure.in,
8526 src/gui_athena.c, src/gui_x11.c, src/gui.c, src/gui_beval.c,
8527 src/gui_at_sb.c, src/gui_at_fs.c, src/gui_motif.c,
8528 src/gui_xmdlg.c, src/gui_xmebw.c, src/if_python.c, src/window.c,
8529 src/workshop.c
8530
8531Patch 7.2.185
8532Problem: Some more compiler warnings when using gcc -Wextra.
8533Solution: Add UNUSED and type casts.
8534Files: src/Makefile, src/if_tlc.c, src/if_ruby.c
8535
8536Patch 7.2.186
8537Problem: Some more compiler warnings when using gcc -Wextra.
8538Solution: Now with the intended if_tcl.c changes.
8539Files: src/if_tcl.c
8540
8541Patch 7.2.187 (after 7.2.186)
8542Problem: Doesn't build with older versions of TCL. (Yongwei Wu)
8543Solution: Add #ifdefs. (Dominique Pelle)
8544Files: src/if_tcl.c
8545
8546Patch 7.2.188
8547Problem: Crash with specific use of function calls. (Meikel Brandmeyer)
8548Solution: Make sure the items referenced by a function call are not freed
8549 twice. (based on patch from Nico Weber)
8550Files: src/eval.c
8551
8552Patch 7.2.189
8553Problem: Possible hang for deleting auto-indent. (Dominique Pelle)
8554Solution: Make sure the position is not beyond the end of the line.
8555Files: src/edit.c
8556
8557Patch 7.2.190
8558Problem: The register executed by @@ isn't restored.
8559Solution: Mark the executable register in the viminfo file.
8560Files: src/ops.c
8561
8562Patch 7.2.191
8563Problem: Mzscheme interface doesn't work on Ubuntu.
8564Solution: Change autoconf rules. Define missing macro. Some changes to
8565 avoid gcc warnings. Remove per-buffer namespace. (Sergey Khorev)
8566Files: runtime/doc/if_mzsch.txt, src/Makefile, src/Make_ming.mak,
8567 src/Make_mvc.mak, src/auto/configure, src/configure.in,
8568 src/config.mk.in, src/eval.c, src/if_mzsch.c, src/if_mzsch.h,
8569 src/main.c, src/proto/if_mzsch.pro
8570
8571Patch 7.2.192 (after 7.2.188)
8572Problem: Still a crash in the garbage collector for a very rare situation.
8573Solution: Make sure current_copyID is always incremented correctly. (Kent
8574 Sibilev)
8575Files: src/eval.c
8576
8577Patch 7.2.193
8578Problem: Warning for uninitialized values.
8579Solution: Initialize all the struct items.
8580Files: src/eval.c
8581
8582Patch 7.2.194 (extra)
8583Problem: MSVC: rem commands are echoed.
8584Solution: Add commands to switch off echo. (Wang Xu)
8585Files: src/msvc2008.bat
8586
8587Patch 7.2.195
8588Problem: Leaking memory for the command Vim was started with.
8589Solution: Remember the pointer and free it.
8590Files: src/gui_gtk_x11.c
8591
8592Patch 7.2.196 (after 7.2.167)
8593Problem: Turns out splint doesn't work well enough to be usable.
8594Solution: Remove splint support.
8595Files: Filelist, src/cleanlint.vim
8596
8597Patch 7.2.197
8598Problem: Warning for uninitialized values.
8599Solution: Initialize all the struct items of typebuf.
8600Files: src/globals.h
8601
8602Patch 7.2.198
8603Problem: Size of buffer used for tgetent() may be too small.
8604Solution: Use the largest known size everywhere.
8605Files: src/vim.h
8606
8607Patch 7.2.199
8608Problem: Strange character in comment.
8609Solution: Change to "message". (Yongwei Wu)
8610Files: src/term.c
8611
8612Patch 7.2.200
8613Problem: Reading past end of string when navigating the menu bar or
8614 resizing the window.
8615Solution: Add and use mb_ptr2len_len(). (partly by Dominique Pelle)
8616 Also add mb_ptr2cells_len() to prevent more trouble.
8617Files: src/gui_gtk_x11.c, src/os_unix.c, src/globals.h, src/mbyte.c,
8618 src/proto/mbyte.pro
8619
8620Patch 7.2.201
8621Problem: Cannot copy/paste HTML to/from Firefox via the clipboard.
8622Solution: Implement this for GTK. Add the "html" value to 'clipboard'.
8623Files: runtime/doc/options.txt, src/globals.h, src/gui_gtk_x11.c,
8624 src/mbyte.c, src/proto/mbyte.pro, src/option.c
8625
8626Patch 7.2.202
8627Problem: BufWipeout autocommand that edits another buffer causes problems.
8628Solution: Check for the situation, give an error and quit the operation.
8629Files: src/fileio.c
8630
8631Patch 7.2.203
8632Problem: When reloading a buffer or doing anything else with a buffer that
8633 is not displayed in a visible window, autocommands may be applied
8634 to the current window, folds messed up, etc.
8635Solution: Instead of using the current window for the hidden buffer use a
8636 special window, splitting the current one temporarily.
8637Files: src/fileio.c, src/globals.h, src/gui.c, src/if_perl.xs,
8638 src/progo/gui.pro, src/proto/window.pro, src/screen.c,
8639 src/structs.h, src/window.c
8640
8641Patch 7.2.204 (extra)
8642Problem: Win32: Can't build with Visual Studio 2010 beta 1.
8643Solution: Fix the makefile. (George Reilly)
8644Files: src/Make_mvc.mak
8645
8646Patch 7.2.205 (extra)
Bram Moolenaarfcb7ab62010-07-20 11:16:17 +02008647Problem: Win32: No support for High DPI awareness.
Bram Moolenaar6df6f472010-07-18 18:04:50 +02008648Solution: Fix the manifest file. (George Reilly)
8649Files: src/Make_mvc.mak, src/gvim.exe.mnf
8650
8651Patch 7.2.206
8652Problem: Win32: Can't build netbeans interface with Visual Studio 2010.
8653Solution: Undefine ECONNREFUSED. (George Reilly)
8654Files: src/netbeans.c
8655
8656Patch 7.2.207
8657Problem: Using freed memory with ":redrawstatus" when it works recursively.
8658Solution: Prevent recursively updating the status line. (partly by Dominique
8659 Pelle)
8660Files: src/screen.c
8661
8662Patch 7.2.208
8663Problem: "set novice" gives an error message, it should be ignored.
8664Solution: Don't see "no" in "novice" as unsetting an option. (Patrick
8665 Texier)
8666Files: src/option.c
8667
8668Patch 7.2.209
8669Problem: For xxd setmode() is undefined on Cygwin.
8670Solution: Include io.h. (Dominique Pelle)
8671Files: src/xxd/xxd.c
8672
8673Patch 7.2.210
8674Problem: When a file that is being edited has its timestamp updated outside
8675 of Vim and ":checktime" is used still get a warning when writing
8676 the file. (Matt Mueller)
8677Solution: Store the timestamp in b_mtime_read when the timestamp is the only
8678 thing that changed.
8679Files: src/fileio.c
8680
8681Patch 7.2.211
8682Problem: Memory leak when expanding a series of file names.
8683Solution: Use ga_clear_strings() instead of ga_clear().
8684Files: src/misc1.c
8685
8686Patch 7.2.212 (extra)
8687Problem: Warnings for redefining SIG macros.
8688Solution: Don't define them if already defined. (Bjorn Winckler)
8689Files: src/os_mac.h
8690
8691Patch 7.2.213
8692Problem: Warning for using vsprintf().
8693Solution: Use vim_vsnprintf().
8694Files: src/netbeans.c
8695
8696Patch 7.2.214
8697Problem: Crash with complete function for user command. (Andy Wokula)
8698Solution: Avoid using a NULL pointer (Dominique Pelle)
8699Files: src/ex_getln.c
8700
8701Patch 7.2.215
8702Problem: ml_get error when using ":vimgrep".
8703Solution: Load the memfile for the hidden buffer before putting it in a
8704 window. Correct the order of splitting the window and filling
8705 the window and buffer with data.
8706Files: src/fileio.c, src/proto/window.pro, src/quickfix.c, src/window.c
8707
8708Patch 7.2.216
8709Problem: Two error messages have the same number E812.
8710Solution: Give one message a different number.
8711Files: runtime/doc/autocmd.txt, runtime/doc/if_mzsch.txt, src/if_mzsch.c
8712
8713Patch 7.2.217
8714Problem: Running tests with valgrind doesn't work as advertised.
8715Solution: Fix the line in the Makefile.
8716Files: src/testdir/Makefile
8717
8718Patch 7.2.218
8719Problem: Cannot build GTK with hangul_input feature. (Dominique Pelle)
Bram Moolenaar8d9b40e2010-07-25 15:49:07 +02008720Solution: Adjust #ifdef. (SungHyun Nam)
Bram Moolenaar6df6f472010-07-18 18:04:50 +02008721Files: src/gui.c
8722
8723Patch 7.2.219 (extra)
8724Problem: Photon GUI is outdated.
8725Solution: Updates for QNX 6.4.0. (Sean Boudreau)
8726Files: src/gui_photon.c
8727
8728Patch 7.2.220 (after 7.2.215)
8729Problem: a BufEnter autocommand that changes directory causes problems.
8730 (Ajit Thakkar)
8731Solution: Disable autocommands when opening a hidden buffer in a window.
8732Files: src/fileio.c
8733
8734Patch 7.2.221
8735Problem: X cut_buffer0 text is used as-is, it may be in the wrong encoding.
8736Solution: Convert between 'enc' and latin1. (James Vega)
8737Files: src/gui_gtk_x11.c, src/message.c, src/ops.c, src/proto/ui.pro,
8738 src/ui.c
8739
8740Patch 7.2.222
8741Problem: ":mksession" doesn't work properly with 'acd' set.
8742Solution: Make it work. (Yakov Lerner)
8743Files: src/ex_docmd.c
8744
8745Patch 7.2.223
8746Problem: When a script is run with ":silent" it is not able to give warning
8747 messages.
8748Solution: Add the ":unsilent" command.
8749Files: runtime/doc/various.txt, src/ex_cmds.h, src/ex_docmd.c
8750
8751Patch 7.2.224
8752Problem: Crash when using 'completefunc'. (Ingo Karkat)
8753Solution: Disallow entering edit() recursively when doing completion.
8754Files: src/edit.c
8755
8756Patch 7.2.225
8757Problem: When using ":normal" a saved character may be executed.
8758Solution: Also store old_char when saving typeahead.
8759Files: src/getchar.c, src/structs.h
8760
8761Patch 7.2.226
8762Problem: ml_get error after deleting the last line. (Xavier de Gaye)
8763Solution: When adjusting marks a callback may be invoked. Adjust the cursor
8764 position before invoking deleted_lines_mark().
8765Files: src/ex_cmds.c, src/ex_docmd.c, src/if_mzsch.c, src/if_python.c,
8766 src/if_perl.xs, src/misc1.c
8767
8768Patch 7.2.227
8769Problem: When using ":cd" in a script there is no way to track this.
8770Solution: Display the directory when 'verbose' is 5 or higher.
8771Files: src/ex_docmd.c
8772
8773Patch 7.2.228
8774Problem: Cscope is limited to 8 connections.
8775Solution: Allocated the connection array to handle any number of
8776 connections. (Dominique Pelle)
8777Files: runtime/doc/if_cscop.txt, src/if_cscope.h, src/if_cscope.c
8778
8779Patch 7.2.229
8780Problem: Warning for shadowed variable.
8781Solution: Rename "wait" to "wait_time".
8782Files: src/os_unix.c
8783
8784Patch 7.2.230
8785Problem: A few old lint-style ARGUSED comments.
8786Solution: Change to the new UNUSED style.
8787Files: src/getchar.c
8788
8789Patch 7.2.231
Bram Moolenaardd007ed2013-07-09 15:44:17 +02008790Problem: Warning for unreachable code.
Bram Moolenaar6df6f472010-07-18 18:04:50 +02008791Solution: Add #ifdef.
8792Files: src/if_perl.xs
8793
8794Patch 7.2.232
8795Problem: Cannot debug problems with being in a wrong directory.
8796Solution: When 'verbose' is 5 or higher report directory changes.
8797Files: src/os_unix.c, src/os_unix.h, src/proto/os_unix.pro
8798
8799Patch 7.2.233 (extra part of 7.2.232)
8800Problem: Cannot debug problems with being in a wrong directory.
8801Solution: When 'verbose' is 5 or higher report directory changes.
8802Files: src/os_msdos.c, src/os_mswin.c, src/os_riscos.c, src/os_mac.h
8803
8804Patch 7.2.234
8805Problem: It is not possible to ignore file names without a suffix.
8806Solution: Use an empty entry in 'suffixes' for file names without a dot.
8807Files: runtime/doc/cmdline.txt, src/misc1.c
8808
8809Patch 7.2.235
8810Problem: Using CTRL-O z= in Insert mode has a delay before redrawing.
8811Solution: Reset msg_didout and msg_scroll.
8812Files: src/misc1.c, src/spell.c
8813
8814Patch 7.2.236
8815Problem: Mac: Compiling with Ruby doesn't always work.
8816Solution: In configure filter out the --arch argument (Bjorn Winckler)
8817Files: src/configure.in, src/auto/configure
8818
8819Patch 7.2.237
8820Problem: Crash on exit when window icon not set.
8821Solution: Copy terminal name when using it for the icon name.
8822Files: src/os_unix.c
8823
8824Patch 7.2.238
8825Problem: Leaking memory when setting term to "builtin_dumb".
8826Solution: Free memory when resetting term option t_Co.
8827Files: src/option.c, src/proto/option.pro, src/term.c
8828
8829Patch 7.2.239
8830Problem: Using :diffpatch twice or when patching fails causes memory
8831 corruption and/or a crash. (Bryan Venteicher)
8832Solution: Detect missing output file. Avoid using non-existing buffer.
8833Files: src/diff.c
8834
8835Patch 7.2.240
8836Problem: Crash when using find/replace dialog repeatedly. (Michiel
8837 Hartsuiker)
8838Solution: Avoid doing the operation while busy or recursively. Also refuse
8839 replace when text is locked.
8840Files: src/gui.c
8841
8842Patch 7.2.241
8843Problem: When using a combination of ":bufdo" and "doautoall" we may end up
8844 in the wrong directory. (Ajit Thakkar)
8845 Crash when triggering an autocommand in ":vimgrep". (Yukihiro
8846 Nakadaira)
8847Solution: Clear w_localdir and globaldir when using the aucmd_win.
8848 Use a separate flag to decide aucmd_win needs to be restored.
8849Files: src/fileio.c, src/globals.h, src/structs.h
8850
8851Patch 7.2.242
8852Problem: Setting 'lazyredraw' causes the cursor column to be recomputed.
8853 (Tom Link)
8854Solution: Only recompute the cursor column for a boolean option if changes
8855 the cursor position.
8856Files: src/option.c
8857
8858Patch 7.2.243
8859Problem: Memory leak when using :vimgrep and resizing. (Dominique Pelle)
8860Solution: Free memory for aucmd_win when resizing and don't allocate it
8861 twice.
8862Files: src/screen.c
8863
8864Patch 7.2.244
8865Problem: When 'enc' is utf-8 and 'fenc' is latin1, writing a non-latin1
8866 character gives a conversion error without any hint what is wrong.
8867Solution: When known add the line number to the error message.
8868Files: src/fileio.c
8869
8870Patch 7.2.245
8871Problem: When 'enc' is "utf-16" and 'fenc' is "utf-8" writing a file does
8872 conversion while none should be done. (Yukihiro Nakadaira) When
8873 'fenc' is empty the file is written as utf-8 instead of utf-16.
8874Solution: Do proper comparison of encodings, taking into account that all
8875 Unicode values for 'enc' use utf-8 internally.
8876Files: src/fileio.c
8877
8878Patch 7.2.246
8879Problem: Cscope home page link is wrong.
8880Solution: Update the URL. (Sergey Khorev)
8881Files: runtime/doc/if_cscop.txt
8882
8883Patch 7.2.247
8884Problem: Mzscheme interface minor problem.
8885Solution: Better error message when build fails. (Sergey Khorev)
8886Files: src/if_mzsch.c
8887
8888Patch 7.2.248 (extra)
8889Problem: Mzscheme interface building minor problems.
8890Solution: Update Win32 makefiles. (Sergey Khorev)
8891Files: src/Make_cyg.mak, src/Make_ming.mak, src/Make_mvc.mak
8892
8893Patch 7.2.249
8894Problem: The script to check .po files can't handle '%' in plural forms.
8895Solution: Remove "Plural-Forms:" from the checked string.
8896Files: src/po/check.vim
8897
8898Patch 7.2.250 (extra)
8899Problem: Possible buffer overflow.
8900Solution: Compute the remaining space. (Dominique Pelle)
8901Files: src/GvimExt/gvimext.cpp
8902
8903Patch 7.2.251 (after 7.2.044)
8904Problem: Compiler adds invalid memory bounds check.
8905Solution: Remove _FORTIFY_SOURCE=2 from CFLAGS. (Dominique Pelle)
8906Files: src/auto/configure, src/configure.in
8907
8908Patch 7.2.252
8909Problem: When using a multi-byte 'enc' the 'iskeyword' option cannot
8910 contain characters above 128.
8911Solution: Use mb_ptr2char_adv().
8912Files: src/charset.c
8913
8914Patch 7.2.253
8915Problem: Netbeans interface: getLength always uses current buffer.
8916Solution: Use ml_get_buf() instead of ml_get(). (Xavier de Gaye)
8917Files: src/netbeans.c
8918
8919Patch 7.2.254
8920Problem: Compiler warning for assigning size_t to int.
8921Solution: Use size_t for the variable. (George Reilly)
8922Files: src/fileio.c
8923
8924Patch 7.2.255 (after 7.2.242)
8925Problem: Setting 'rightleft', 'linebreak' and 'wrap' may cause cursor to be
8926 in wrong place.
8927Solution: Recompute the cursor column for these options.
8928Files: src/option.c
8929
8930Patch 7.2.256
8931Problem: When 'guifont' was not set GTK font dialog doesn't have a default.
8932 (Andreas Metzler)
8933Solution: Set default to DEFAULT_FONT. (James Vega)
8934Files: src/gui_gtk_x11.c
8935
8936Patch 7.2.257
8937Problem: With GTK 2.17 lots of assertion error messages.
8938Solution: Remove check for static gravity. (Sebastian Droege)
8939Files: src/gui_gtk_f.c
8940
8941Patch 7.2.258
8942Problem: v:beval_col and b:beval_text are wrong in UTF-8 text. (Tony
8943 Mechelynck)
8944Solution: Use byte number instead of character number for the column.
8945Files: src/ui.c
8946
8947Patch 7.2.259
8948Problem: exists() doesn't work properly for an empty aucmd group.
8949Solution: Change how au_exists() handles a missing pattern. Also add a
8950 test for this. (Bob Hiestand)
8951Files: src/fileio.c, src/testdir/Makefile, src/testdir/test67.in,
8952 src/testdir/test67.ok
8953
8954Patch 7.2.260 (extra part of 7.2.259)
8955Problem: exists() doesn't work properly for empty aucmd group.
8956Solution: Change how au_exists() handles a missing pattern. Also add a
8957 test for this. (Bob Hiestand)
8958Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
8959 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
8960 src/testdir/Make_vms.mms
8961
8962Patch 7.2.261
8963Problem: When deleting lines with a specific folding configuration E38 may
8964 appear. (Shahaf)
8965Solution: When adjusting nested folds for deleted lines take into account
8966 that they don't start at the top of the enclosing fold.
8967Files: src/fold.c
8968
8969Patch 7.2.262
8970Problem: When using custom completion for a user command the pattern string
8971 goes beyond the cursor position. (Hari Krishna Dara)
8972Solution: Truncate the string at the cursor position.
8973Files: src/ex_getln.c, src/structs.h
8974
8975Patch 7.2.263
8976Problem: GTK2: when using the -geom argument with an offset from the right
8977 edge and the size is smaller than the default, the Vim window is
8978 not positioned properly.
8979Solution: Use another function to set the size. (Vitaly Minko)
8980Files: src/gui_gtk_x11.c
8981
8982Patch 7.2.264
8983Problem: GTK2: When the Vim window is maximized setting 'columns' or
8984 'lines' doesn't work.
8985Solution: Unmaximize the window before setting the size. (Vitaly Minko)
8986Files: src/gui.c, src/gui_gtk_x11.c, src/proto/gui_gtk_x11.pro
8987
8988Patch 7.2.265
8989Problem: When using ":silent broken" inside try/catch silency may persist.
8990 (dr-dr xp)
8991Solution: Set msg_silent when there is an error and it's bigger than the
8992 saved value.
8993Files: src/ex_docmd.c
8994
8995Patch 7.2.266
8996Problem: When an expression abbreviation is triggered, the typed character
8997 is unknown.
8998Solution: Make the typed character available in v:char.
8999Files: runtime/doc/map.txt, src/eval.c, src/getchar.c, src/ops.c,
9000 src/proto/eval.pro
9001
9002Patch 7.2.267
9003Problem: Crash for narrow window and double-width character.
9004Solution: Check for zero width. (Taro Muraoka)
9005Files: src/charset.c
9006
9007Patch 7.2.268
9008Problem: Crash when using Python to set cursor beyond end of line.
9009 (winterTTr)
9010Solution: Check the column to be valid.
9011Files: src/if_python.c
9012
9013Patch 7.2.269
9014Problem: Many people struggle to find out why Vim startup is slow.
9015Solution: Add the --startuptime command line flag.
9016Files: runtime/doc/starting.txt, src/globals.h, src/feature.h,
9017 src/main.c, src/macros.h
9018
9019Patch 7.2.270
9020Problem: Using ":@c" when the c register contains a CR causes the rest to
9021 be executed later. (Dexter Douglas)
9022Solution: Don't check for typeahead to start with ':', keep executing
9023 commands until all added typeahead has been used.
9024Files: src/ex_docmd.c
9025
9026Patch 7.2.271
9027Problem: Using freed memory in Motif GUI version when making a choice.
9028Solution: Free memory only after using it. (Dominique Pelle)
9029Files: src/gui_xmdlg.c
9030
9031Patch 7.2.272
9032Problem: "_.svz" is not recognized as a swap file. (David M. Besonen)
9033Solution: Accept .s[uvw][a-z] as a swap file name extension.
9034Files: src/memline.c
9035
9036Patch 7.2.273
9037Problem: Crash with redir to unknown array. (Christian Brabandt)
9038Solution: Don't assign the redir result when there was an error.
9039Files: src/eval.c
9040
9041Patch 7.2.274
9042Problem: Syntax folding doesn't work properly when adding a comment.
9043Solution: Fix it and add a test. (Lech Lorens)
9044Files: src/fold.c, src/testdir/test45.in, src/testdir/test45.ok
9045
9046Patch 7.2.275
9047Problem: Warning for unused argument and comparing signed and unsigned.
9048Solution: Add type cast.
9049Files: src/memline.c
9050
9051Patch 7.2.276
9052Problem: Crash when setting 'isprint' to a small bullet. (Raul Coronado)
9053Solution: Check for the character to be < 256. Also make it possible to
9054 specify a range of multi-byte characters. (Lech Lorens)
9055Files: src/charset.c
9056
9057Patch 7.2.277
9058Problem: CTRL-Y in a diff'ed window may move the cursor outside of the
9059 window. (Lech Lorens)
9060Solution: Limit the number of filler lines to the height of the window.
9061 Don't reset filler lines to zero for an empty buffer.
9062Files: src/move.c
9063
9064Patch 7.2.278
9065Problem: Using magic number in the folding code.
9066Solution: Use the defined MAX_LEVEL.
9067Files: src/fold.c
9068
9069Patch 7.2.279
9070Problem: Invalid memory read with visual mode "r". (Dominique Pelle)
9071Solution: Make sure the cursor position is valid. Don't check the cursor
9072 position but the position being used. And make sure we get the
9073 right line.
9074Files: src/misc2.c, src/ops.c
9075
9076Patch 7.2.280
9077Problem: A redraw in a custom statusline with %! may cause a crash.
9078 (Yukihiro Nakadaira)
9079Solution: Make a copy of 'statusline'. Also fix typo in function name
Bram Moolenaarc8734422012-06-01 22:38:45 +02009080 redraw_custom_statusline. (partly by Dominique Pelle)
Bram Moolenaar6df6f472010-07-18 18:04:50 +02009081Files: src/screen.c
9082
9083Patch 7.2.281
9084Problem: 'cursorcolumn' highlighting is wrong in diff mode.
9085Solution: Adjust the column computation. (Lech Lorens)
9086Files: src/screen.c
9087
9088Patch 7.2.282
9089Problem: A fold can't be closed.
9090Solution: Initialize fd_small to MAYBE. (Lech Lorens)
9091Files: src/fold.c
9092
9093Patch 7.2.283
9094Problem: Changing font while the window is maximized doesn't keep the
9095 window maximized.
9096Solution: Recompute number of lines and columns after changing font. (James
9097 Vega)
9098Files: src/gui_gtk_x11.c
9099
9100Patch 7.2.284
9101Problem: When editing the same buffer in two windows, one with folding,
9102 display may be wrong after changes.
9103Solution: Call set_topline() to take care of side effects. (Lech Lorens)
9104Files: src/misc1.c
9105
9106Patch 7.2.285 (after 7.2.169)
9107Problem: CTRL-U in Insert mode also deletes indent. (Andrey Voropaev)
9108Solution: Fix mistake made in patch 7.2.169.
9109Files: src/edit.c
9110
9111Patch 7.2.286 (after 7.2.269)
9112Problem: The "--startuptime=<file>" argument is not consistent with other
9113 arguments.
9114Solution: Use "--startuptime <file>". Added the +startuptime feature.
9115Files: runtime/doc/eval.txt, runtime/doc/starting.txt,
9116 runtime/doc/various.txt, src/eval.c, src/main.c, src/version.c
9117
9118Patch 7.2.287
9119Problem: Warning from gcc 3.4 about uninitialized variable.
9120Solution: Move assignment outside of #ifdef.
9121Files: src/if_perl.xs
9122
9123Patch 7.2.288
9124Problem: Python 2.6 pyconfig.h redefines macros.
9125Solution: Undefine the macros before including pyconfig.h.
9126Files: src/if_python.c
9127
9128Patch 7.2.289
9129Problem: Checking wrong struct member.
9130Solution: Change tb_buf to tb_noremap. (Dominique Pelle)
9131Files: src/getchar.c
9132
9133Patch 7.2.290
9134Problem: Not freeing memory from ":lmap", ":xmap" and ":menutranslate".
9135Solution: Free the memory when exiting. (Dominique Pelle)
9136Files: src/misc2.c
9137
9138Patch 7.2.291
9139Problem: Reading uninitialised memory in arabic mode.
9140Solution: Use utfc_ptr2char_len() rather than utfc_ptr2char(). (Dominique
9141 Pelle)
9142Files: src/screen.c
9143
9144Patch 7.2.292
9145Problem: Block right-shift doesn't work properly with multi-byte encoding
9146 and 'list' set.
9147Solution: Add the missing "else". (Lech Lorens)
9148Files: src/ops.c
9149
9150Patch 7.2.293
9151Problem: When setting 'comments' option it may be used in a wrong way.
9152Solution: Don't increment after skipping over digets. (Yukihiro Nakadaira)
9153Files: src/misc1.c
9154
9155Patch 7.2.294
9156Problem: When using TEMPDIRS dir name could get too long.
9157Solution: Overwrite tail instead of appending each time. Use mkdtemp() when
9158 available. (James Vega)
9159Files: src/auto/configure, src/config.h.in, src/configure.in, src/fileio.c
9160
9161Patch 7.2.295
9162Problem: When using map() on a List the index is not known.
9163Solution: Set v:key to the index. (Hari Krishna Dara)
9164Files: runtime/doc/eval.txt, src/eval.c
9165
9166Patch 7.2.296
9167Problem: Help message about startuptime is wrong. (Dominique Pelle)
9168Solution: Remove the equal sign.
9169Files: src/main.c
9170
9171Patch 7.2.297
9172Problem: Reading freed memory when writing ":reg" output to a register.
9173 (Dominique Pelle)
9174Solution: Skip the register being written to.
9175Files: src/ops.c
9176
9177Patch 7.2.298
9178Problem: ":vimgrep" crashes when there is an autocommand that sets a
9179 window-local variable.
9180Solution: Initialize the w: hashtab for re-use. (Yukihiro Nakadaira)
9181Files: src/fileio.c
9182
9183Patch 7.2.299
9184Problem: Crash when comment middle is longer than start.
9185Solution: Fix size computation. (Lech Lorens)
9186Files: src/misc1.c
9187
9188Patch 7.2.300
9189Problem: Vim doesn't close file descriptors when forking and executing
9190 another command, e.g., ":shell".
9191Solution: Use FD_CLOEXEC when available. (James Vega)
9192Files: auto/configure, src/config.h.in, src/configure.in,
9193 src/ex_cmdds2.c, src/fileio.c, src/memfile.c, src/memline.c
9194
9195Patch 7.2.301
9196Problem: Formatting is wrong when 'tw' is set to a small value.
9197Solution: Fix it and add tests. Also fix behavior of "1" in 'fo'. (Yukihiro
9198 Nakadaira)
9199Files: src/edit.c, src/testdir/Makefile, src/testdir/test68.in,
9200 src/testdir/test68.ok, src/testdir/test69.in,
9201 src/testdir/test69,ok
9202
9203Patch 7.2.302 (extra part of 7.2.301)
9204Problem: Formatting wrong with small 'tw' value.
9205Solution: Add build rules for tests.
9206Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
9207 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
9208 src/testdir/Make_vms.mms
9209
9210Patch 7.2.303 (after 7.2.294)
9211Problem: Can't build on MS-Windows.
9212Solution: Add #ifdef around vim_settempdir(). (James Vega)
9213Files: src/fileio.c
9214
9215Patch 7.2.304
9216Problem: Compiler warning for bad pointer cast.
9217Solution: Use another variable for int pointer.
9218Files: src/ops.c
9219
9220Patch 7.2.305
9221Problem: Recursively redrawing causes a memory leak. (Dominique Pelle)
9222Solution: Disallow recursive screen updating.
9223Files: src/screen.c
9224
9225Patch 7.2.306
9226Problem: shellescape("10%%", 1) only escapes first %. (Christian Brabandt)
9227Solution: Don't copy the character after the escaped one.
9228Files: src/misc2.c
9229
9230Patch 7.2.307
9231Problem: Crash with a very long syntax match statement. (Guy Gur Ari)
9232Solution: When the offset does not fit in the two bytes available give an
9233 error instead of continuing with invalid pointers.
9234Files: src/regexp.c
9235
9236Patch 7.2.308
9237Problem: When using a regexp in the "\=" expression of a substitute
9238 command, submatch() returns empty strings for further lines.
9239 (Clockwork Jam)
9240Solution: Save and restore the line number and line count when calling
9241 reg_getline().
9242Files: src/regexp.c
9243
9244Patch 7.2.309 (after 7.2.308)
9245Problem: Warning for missing function prototype. (Patrick Texier)
9246Solution: Add the prototype.
9247Files: src/regexp.c
9248
9249Patch 7.2.310
9250Problem: When a filetype plugin in ~/.vim/ftdetect uses ":setfiletype" and
9251 the file starts with a "# comment" it gets "conf" filetype.
9252Solution: Check for "conf" filetype after using ftdetect plugins.
9253Files: runtime/filetype.vim
9254
9255Patch 7.2.311
9256Problem: Can't compile with FreeMiNT.
9257Solution: Change #ifdef for limits.h. (Alan Hourihane)
9258Files: src/fileio.c
9259
9260Patch 7.2.312
9261Problem: iconv() returns an invalid character sequence when conversion
9262 fails. It should return an empty string. (Yongwei Wu)
9263Solution: Be more strict about invalid characters in the input.
9264Files: src/mbyte.c
9265
9266Patch 7.2.313
9267Problem: Command line completion doesn't work after "%:h" and similar.
9268Solution: Expand these items before doing the completion.
9269Files: src/ex_getln.c, src/misc1.c, src/proto/misc1.pro
9270
9271Patch 7.2.314
9272Problem: Missing function in small build.
9273Solution: Always include concat_str.
9274Files: src/misc1.c
9275
9276Patch 7.2.315
9277Problem: Python libs can't be found on 64 bit system.
9278Solution: Add lib64 to the list of directories. (Michael Henry)
9279Files: src/auto/configure, src/configure.in
9280
9281Patch 7.2.316
9282Problem: May get multiple _FORTIFY_SOURCE arguments. (Tony Mechelynck)
9283Solution: First remove all these arguments and then add the one we want.
9284 (Dominique Pelle)
9285Files: src/auto/configure, src/configure.in
9286
9287Patch 7.2.317
9288Problem: Memory leak when adding a highlight group with unprintable
9289 characters, resulting in E669.
9290Solution: Free the memory. And fix a few typos. (Dominique Pelle)
9291Files: src/syntax.c
9292
9293Patch 7.2.318
9294Problem: Wrong locale value breaks floating point numbers for gvim.
9295Solution: Set the locale again after doing GUI inits. (Dominique Pelle)
9296Files: src/main.c
9297
9298Patch 7.2.319
9299Problem: Motif: accessing freed memory when cancelling font dialog.
9300Solution: Destroy the widget only after accessing it. (Dominique Pelle)
9301Files: src/gui_xmdlg.c
9302
9303Patch 7.2.320
9304Problem: Unused function in Mzscheme interface.
9305Solution: Remove the function and what depends on it. (Dominique Pelle)
9306Files: src/if_mzsch.c, src/proto/if_mzsch.pro
9307
9308Patch 7.2.321
9309Problem: histadd() and searching with "*" fails to add entry to history
9310 when it is empty.
9311Solution: Initialize the history. (Lech Lorens)
9312Files: src/eval.c, src/normal.c
9313
9314Patch 7.2.322
9315Problem: Wrong indenting in virtual replace mode with CTRL-Y below a short
9316 line.
9317Solution: Check for character to be NUL. (suggested by Lech Lorens)
9318Files: src/edit.c
9319
9320Patch 7.2.323 (extra)
9321Problem: Balloon evaluation crashes on Win64.
9322Solution: Change pointer types. (Sergey Khorev)
9323Files: src/gui_w32.c
9324
9325Patch 7.2.324
9326Problem: A negative column argument in setpos() may cause a crash.
9327Solution: Check for invalid column number. (James Vega)
9328Files: src/eval.c, src/misc2.c
9329
9330Patch 7.2.325
9331Problem: A stray "w" in the startup vimrc file causes the edited file to be
9332 replaced with an empty file. (Stone Kang).
9333Solution: Do not write a buffer when it has never been loaded.
9334Files: src/fileio.c
9335
9336Patch 7.2.326
9337Problem: Win32: $HOME doesn't work when %HOMEPATH% is not defined.
9338Solution: Use "\" for %HOMEPATH% when it is not defined.
9339Files: src/misc1.c
9340
9341Patch 7.2.327
9342Problem: Unused functions in Workshop.
9343Solution: Add "#if 0" and minor cleanup. (Dominique Pelle)
Bram Moolenaarfcb7ab62010-07-20 11:16:17 +02009344Files: src/workshop.c, src/integration.c, src/integration.h
Bram Moolenaar6df6f472010-07-18 18:04:50 +02009345
9346Patch 7.2.328
9347Problem: has("win64") does not return 1 on 64 bit MS-Windows version.
9348Solution: Also check for _WIN64 besides WIN64.
9349Files: src/eval.c
9350
9351Patch 7.2.329
9352Problem: "g_" doesn't position cursor correctly when in Visual mode and
9353 'selection' is "exclusive". (Ben Fritz)
9354Solution: Call adjust_for_sel().
9355Files: src/normal.c
9356
9357Patch 7.2.330
9358Problem: Tables for Unicode case operators are outdated.
9359Solution: Add a Vim script for generating the tables. Include tables for
9360 Unicode 5.2.
9361Files: runtime/tools/README.txt, runtime/tools/unicode.vim, src/mbyte.c
9362
9363Patch 7.2.331
9364Problem: Can't interrupt "echo list" for a very long list.
9365Solution: Call line_breakcheck() in list_join().
9366Files: src/eval.c
9367
9368Patch 7.2.332
9369Problem: Crash when spell correcting triggers an autocommand that reloads
9370 the buffer.
9371Solution: Make a copy of the line to be modified. (Dominique Pelle)
9372Files: src/spell.c
9373
9374Patch 7.2.333
9375Problem: Warnings from static code analysis.
9376Solution: Small changes to various lines. (Dominique Pelle)
9377Files: src/buffer.c, src/edit.c, src/ex_getln.c, src/fileio.c,
9378 src/if_cscope.c, src/netbeans.c, src/ops.c, src/quickfix.c,
9379 src/syntax.c, src/ui.c
9380
9381Patch 7.2.334
9382Problem: Postponing keys in Netbeans interface does not work properly.
9383Solution: Store the key string instead of the number. Avoid an infinite
9384 loop. (Mostly by Xavier de Gaye)
9385Files: src/netbeans.c, src/proto/netbeans.pro
9386
9387Patch 7.2.335
9388Problem: The CTRL-] command escapes too many characters.
9389Solution: Use a different list of characters to be escaped. (Sergey Khorev)
9390Files: src/normal.c
9391
9392Patch 7.2.336
9393Problem: MzScheme interface can't evaluate an expression.
9394Solution: Add mzeval(). (Sergey Khorev)
9395Files: runtime/doc/eval.txt, runtime/doc/if_mzsch.txt,
9396 runtime/doc/usr_41.txt, src/eval.c, src/if_mzsch.c,
9397 src/proto/eval.pro, src/proto/if_mzsch.pro,
9398 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
9399 src/testdir/Makefile, src/testdir/main.aap, src/testdir/test1.in,
9400 src/testdir/test70.in, src/testdir/test70.ok
9401
9402Patch 7.2.337
9403Problem: The :compiler command doesn't function properly when invoked in a
9404 function.
9405Solution: Add "g:" before "current_compiler". (Yukihiro Nakadaira)
9406Files: src/ex_cmds2.c
9407
9408Patch 7.2.338 (after 7.2.300)
9409Problem: Part of FD_CLOEXEC change is missing.
9410Solution: Include source file skipped because of typo.
9411Files: src/ex_cmds2.c
9412
9413Patch 7.2.339 (after 7.2.269)
9414Problem: Part of --startuptime patch is missing.
9415Solution: Add check for time_fd.
9416Files: src/ex_cmds2.c
9417
9418Patch 7.2.340
9419Problem: Gcc warning for condition that can never be true. (James Vega)
9420Solution: Use start_lvl instead flp->lvl.
9421Files: src/fold.c
9422
9423Patch 7.2.341
9424Problem: Popup menu wraps to next line when double-wide character doesn't
9425 fit. (Jiang Ma)
9426Solution: Display a ">" instead. (Dominique Pelle)
9427Files: src/screen.c
9428
9429Patch 7.2.342
9430Problem: Popup menu displayed wrong in 'rightleft' mode when there are
9431 multi-byte characters.
9432Solution: Adjust the column computations. (Dominique Pelle)
9433Files: src/popupmnu.c
9434
9435Patch 7.2.343 (after 7.2.338)
9436Problem: Can't compile on Win32.
9437Solution: Insert the missing '|'.
9438Files: src/ex_cmds2.c
9439
9440Patch 7.2.344 (after 7.2.343)
9441Problem: Can't compile on some systems
9442Solution: Move the #ifdef outside of the mch_open macro. (Patrick Texier)
9443Files: src/ex_cmds2.c
9444
9445Patch 7.2.345
9446Problem: Tab line is not updated when the value of 'bt' is changed.
9447Solution: Call redraw_titles(). (Lech Lorens)
9448Files: src/option.c
9449
9450Patch 7.2.346
9451Problem: Repeating a command with @: causes a mapping to be applied twice.
9452Solution: Do not remap characters inserted in the typeahead buffer. (Kana
9453 Natsuno)
9454Files: src/ops.c
9455
9456Patch 7.2.347
9457Problem: Crash when executing <expr> mapping redefines that same mapping.
9458Solution: Save the values used before evaluating the expression.
9459Files: src/getchar.c
9460
9461Patch 7.2.348 (after 7.2.330)
9462Problem: Unicode double-width characters are not up-to date.
9463Solution: Produce the double-width table like the others.
9464Files: runtime/tools/unicode.vim, src/mbyte.c
9465
9466Patch 7.2.349
9467Problem: CTRL-W gf doesn't put the new tab in the same place as "tab split"
9468 and "gf". (Tony Mechelynck)
9469Solution: Store the tab number in cmdmod.tab.
9470Files: src/window.c
9471
9472Patch 7.2.350
9473Problem: Win32: When changing font the window may jump from the secondary
9474 to the primary screen. (Michael Wookey)
9475Solution: When the screen position was negative don't correct it to zero.
9476Files: src/gui.c
9477
9478Patch 7.2.351 (after 7.2.347)
9479Problem: Can't build with some compilers.
9480Solution: Move the #ifdef outside of a macro. Cleanup the code.
9481Files: src/getchar.c
9482
9483Patch 7.2.352 (extra)
9484Problem: Win64: Vim doesn't work when cross-compiled with MingW libraries.
9485Solution: Always return TRUE for the WM_NCCREATE message. (Andy Kittner)
9486Files: src/gui_w48.c
9487
9488Patch 7.2.353
9489Problem: No command line completion for ":profile".
9490Solution: Complete the subcommand and file name.
9491Files: src/ex_docmd.c, src/ex_cmds2.c, src/ex_getln.c,
9492 src/proto/ex_cmds2.pro, src/vim.h
9493
9494Patch 7.2.354
9495Problem: Japanese single-width double-byte characters not handled correctly.
9496Solution: Put 0x8e in ScreenLines[] and the second byte in ScreenLines2[].
9497 (partly by Kikuchan)
9498Files: src/screen.c
9499
9500Patch 7.2.355
9501Problem: Computing the cursor column in validate_cursor_col() is wrong when
9502 line numbers are used and 'n' is not in 'cpoptions', causing the
9503 popup menu to be positioned wrong.
9504Solution: Correctly use the offset. (partly by Dominique Pelle)
9505Files: src/move.c
9506
9507Patch 7.2.356
9508Problem: When 'foldmethod' is changed not all folds are closed as expected.
9509Solution: In foldUpdate() correct the start position and reset fd_flags when
9510 w_foldinvalid is set. (Lech Lorens)
9511Files: src/fold.c
9512
9513Patch 7.2.357
9514Problem: When changing 'fileformat' from/to "mac" and there is a CR in the
9515 text the display is wrong.
9516Solution: Redraw the text when 'fileformat' is changed. (Ben Schmidt)
9517Files: src/option.c
9518
9519Patch 7.2.358
9520Problem: Compiler warnings on VMS. (Zoltan Arpadffy)
9521Solution: Pass array itself instead its address. Return a value.
9522Files: src/gui_gtk_x11.c, src/os_unix.c
9523
9524Patch 7.2.359
9525Problem: Crash when using the Netbeans join command.
9526Solution: Make sure the ml_flush_line() function is not used recursively.
9527 (Xavier de Gaye)
9528Files: src/memline.c
9529
9530Patch 7.2.360
9531Problem: Ruby on MS-Windows: can't use sockets.
9532Solution: Call NtInitialize() during initialization. (Ariya Mizutani)
9533Files: src/if_ruby.c
9534
9535Patch 7.2.361
9536Problem: Ruby 1.9 is not supported.
9537Solution: Add Ruby 1.9 support. (Masaki Suketa)
9538Files: src/Makefile, src/auto/configure, src/configure.in, src/if_ruby.c
9539
9540Patch 7.2.362 (extra, after 7.2.352)
9541Problem: Win64: Vim doesn't work when cross-compiled with MingW libraries.
9542Solution: Instead of handling WM_NCCREATE, create wide text area window
9543 class if the parent window iw side. (Sergey Khorev)
9544Files: src/gui_w32.c, src/gui_w48.c
9545
9546Patch 7.2.363
9547Problem: Can't dynamically load Perl 5.10.
9548Solution: Add the function Perl_croak_xs_usage. (Sergey Khorev)
9549Files: src/if_perl.xs
9550
9551Patch 7.2.364 (extra)
9552Problem: Can't build gvimext.dll on Win 7 x64 using MinGW (John Marriott)
9553Solution: Check if _MSC_VER is defined. (Andy Kittner)
9554Files: src/GvimExt/gvimext.h
9555
9556Patch 7.2.365 (extra)
9557Problem: MS-Windows with MingW: "File->Save As" does not work. (John
9558 Marriott)
9559Solution: Correctly fill in structure size. (Andy Kittner)
9560Files: src/gui_w48.c
9561
9562Patch 7.2.366
9563Problem: CTRL-B doesn't go back to the first line of the buffer.
9564Solution: Avoid an overflow when adding MAXCOL.
9565Files: src/move.c
9566
9567Patch 7.2.367
9568Problem: "xxd -r -p" doesn't work as documented.
9569Solution: Skip white space. (James Vega)
9570Files: src/xxd/xxd.c
9571
9572Patch 7.2.368 (after 7.2.361)
9573Problem: Ruby interface: Appending line doesn't work. (Michael Henry)
9574Solution: Reverse check for NULL line. (James Vega)
9575Files: src/if_ruby.c
9576
9577Patch 7.2.369
9578Problem: Error message is not easy to understand.
9579Solution: Add quotes. (SungHyun Nam)
9580Files: src/ex_cmds2.c
9581
9582Patch 7.2.370 (after 7.2.356)
9583Problem: A redraw may cause folds to be closed.
9584Solution: Revert part of the previous patch. Add a test. (Lech Lorens)
9585Files: src/diff.c, src/fold.c, src/option.c, src/testdir/test45.in,
9586 src/testdir/test45.ok
9587
9588Patch 7.2.371
9589Problem: Build problems on Tandem NonStop.
9590Solution: A few changes to #ifdefs (Joachim Schmitz)
9591Files: src/auto/configure, src/configure.in, src/config.h.in, src/vim.h,
9592 src/if_cscope.c, src/osdef1.h.in, src/tag.c
9593
9594Patch 7.2.372 (extra)
9595Problem: Cross-compiling GvimExt and xxd doesn't work.
9596Solution: Change the build files. (Markus Heidelberg)
9597Files: src/INSTALLpc.txt, src/GvimExt/Make_ming.mak, src/Make_cyg.mak,
9598 src/Make_ming.mak, src/xxd/Make_cyg.mak
9599
9600Patch 7.2.373
9601Problem: Gcc 4.5 adds more error messages. (Chris Indy)
9602Solution: Update default 'errorformat'.
9603Files: src/option.h
9604
9605Patch 7.2.374
9606Problem: Ruby eval() doesn't understand Vim types.
9607Solution: Add the vim_to_ruby() function. (George Gensure)
9608Files: src/eval.c, src/if_ruby.c
9609
9610Patch 7.2.375
9611Problem: ml_get errors when using ":bprevious" in a BufEnter autocmd.
9612 (Dominique Pelle)
9613Solution: Clear w_valid when entering another buffer.
9614Files: src/buffer.c
9615
9616Patch 7.2.376
9617Problem: ml_get error when using SiSU syntax. (Nathan Thomas)
9618Solution: If the match ends below the last line move it to the end of the
9619 last line.
9620Files: src/syntax.c
9621
9622Patch 7.2.377 (extra, after 7.2.372)
9623Problem: Misplaced assignment. Duplicate build line for gvimext.dll.
9624Solution: Move setting CROSS_COMPILE to before ifneq. Remove the wrong
9625 build line. (Markus Heidelberg)
9626Files: src/Make_ming.mak
9627
9628Patch 7.2.378
9629Problem: C function declaration indented too much. (Rui)
9630Solution: Don't see a line containing { or } as a type. (Matt Wozniski)
9631Files: src/misc1.c
9632
9633Patch 7.2.379
9634Problem: 'eventignore' is set to an invalid value inside ":doau". (Antony
9635 Scriven)
9636Solution: Don't include the leading comma when the option was empty.
9637Files: src/fileio.c
9638
9639Patch 7.2.380 (after 7.2.363)
9640Problem: Perl interface builds with 5.10.1 but not with 5.10.0.
9641Solution: Change the #ifdefs. (Sergey Khorev)
9642Files: src/if_perl.xs
9643
9644Patch 7.2.381
9645Problem: No completion for :behave.
9646Solution: Add :behave completion. Minor related fixes. (Dominique Pelle)
9647Files: src/ex_docmd.c, src/ex_getln.c, src/proto/ex_docmd.pro, src/vim.h
9648
9649Patch 7.2.382
9650Problem: Accessing freed memory when closing the cmdline window when
9651 'bufhide' is set to "wipe".
9652Solution: Check if the buffer still exists before invoking close_buffer()
9653 (Dominique Pelle)
9654Files: src/ex_getln.c
9655
9656Patch 7.2.383
9657Problem: Vim doesn't build cleanly with MSVC 2010.
9658Solution: Change a few types. (George Reilly)
9659Files: src/ex_cmds2.c, src/if_python.c, src/syntax.c
9660
9661Patch 7.2.384 (extra)
9662Problem: Vim doesn't build properly with MSVC 2010.
9663Solution: Add the nmake version to the build file. (George Reilly)
9664Files: src/Make_mvc.mak, src/testdir/Make_dos.mak
9665
9666Patch 7.2.385
9667Problem: When in the command line window dragging status line only works
9668 for last-but-one window. (Jean Johner)
9669Solution: Remove the code that disallows this.
9670Files: src/ui.c
9671
9672Patch 7.2.386
9673Problem: Focus hack for KDE 3.1 causes problems for other window managers.
9674Solution: Remove the hack. (forwarded by Joel Bradshaw)
9675Files: src/gui_gtk.c
9676
9677Patch 7.2.387
9678Problem: Ruby with MingW still doesn't build all versions.
9679Solution: More #ifdefs for the Ruby code. (Sergey Khorev)
9680Files: src/if_ruby.c
9681
9682Patch 7.2.388 (extra part of 7.2.387)
9683Problem: Ruby with MingW still doesn't build all versions.
9684Solution: Different approach to build file. (Sergey Khorev)
9685Files: src/Make_ming.mak
9686
9687Patch 7.2.389
9688Problem: synIDattr() cannot return the font.
9689Solution: Support the "font" argument. (Christian Brabandt)
9690Files: runtime/doc/eval.txt, src/eval.c, src/syntax.c
9691
9692Patch 7.2.390
9693Problem: In some situations the popup menu can be displayed wrong.
9694Solution: Remove the popup menu if the cursor moved. (Lech Lorens)
9695Files: src/edit.c
9696
9697Patch 7.2.391
9698Problem: Internal alloc(0) error when doing "CTRL-V $ c". (Martti Kuparinen)
9699Solution: Fix computations in getvcol(). (partly by Lech Lorens)
9700Files: src/charset.c, src/memline.c
9701
9702Patch 7.2.392
9703Problem: Netbeans hangs reading from a socket at the maximum block size.
9704Solution: Use select() or poll(). (Xavier de Gaye)
9705Files: src/vim.h, src/os_unixx.h, src/if_xcmdsrv.c, src/netbeans.c
9706
9707Patch 7.2.393
9708Problem: Mac: Can't build with different Xcode developer tools directory.
9709Solution: make "Developer" directory name configurable. (Rainer Muller)
9710Files: src/configure.in, src/auto/configure
9711
9712Patch 7.2.394
9713Problem: .lzma and .xz files are not supported.
9714Solution: Recognize .lzma and .xz files so that they can be edited.
9715Files: runtime/plugin/gzip.vim
9716
9717Patch 7.2.395
9718Problem: In help CTRL=] on g?g? escapes the ?, causing it to fail. (Tony
9719 Mechelynck)
9720Solution: Don't escape ? for a help command. (Sergey Khorev)
9721Files: src/normal.c
9722
9723Patch 7.2.396
9724Problem: Get E38 errors. (Dasn)
9725Solution: Set cursor to line 1 instead of 0. (Dominique Pelle)
9726Files: src/popupmnu.c
9727
9728Patch 7.2.397
9729Problem: Redundant check for w_lines_valid.
9730Solution: Remove the if. (Lech Lorens)
9731Files: src/fold.c
9732
9733Patch 7.2.398
9734Problem: When moving windows the cursor ends up in the wrong line.
9735Solution: Set the window width and height properly. (Lech Lorens)
9736Files: src/window.c
9737
9738Patch 7.2.399 (extra, after 7.2.388)
9739Problem: Cannot compile on MingW.
9740Solution: Move ifneq to separate line. (Vlad Sandrini, Dominique Pelle)
9741Files: src/Make_ming.mak
9742
9743Patch 7.2.400 (after 7.2.387)
9744Problem: Dynamic Ruby is not initialised properly for version 1.9.1.
9745 Ruby cannot create strings from NULL.
9746Solution: Cleanup #ifdefs. Handle NULL like an empty string. Add
9747 ruby_init_stack. (Sergey Khorev)
9748Files: src/if_ruby.c
9749
9750Patch 7.2.401
9751Problem: ":e dir<Tab>" with 'wildmode' set to "list" doesn't highlight
9752 directory names with a space. (Alexandre Provencio)
9753Solution: Remove the backslash before checking if the name is a directory.
9754 (Dominique Pelle)
9755Files: src/ex_getln.c
9756
9757Patch 7.2.402
9758Problem: This gives a #705 error: let X = function('haslocaldir')
9759 let X = function('getcwd')
9760Solution: Don't give E705 when the name is found in the hashtab. (Sergey
9761 Khorev)
9762Files: src/eval.c
9763
9764Patch 7.2.403 (after 7.2.400)
9765Problem: Compiler warning for pointer type. (Tony Mechelynck)
9766Solution: Move type cast to the right place.
9767Files: src/if_ruby.c
9768
9769Patch 7.2.404
9770Problem: Pointers for composing characters are not properly initialized.
9771Solution: Compute the size of the pointer, not what it points to. (Yukihiro
9772 Nakadaira)
9773Files: src/screen.c
9774
9775Patch 7.2.405
9776Problem: When built with small features the matching text is not
9777 highlighted for ":s/pat/repl/c".
9778Solution: Remove the #ifdef for IncSearch. (James Vega)
9779Files: src/syntax.c
9780
9781Patch 7.2.406
9782Problem: Patch 7.2.119 introduces uninit mem read. (Dominique Pelle)
9783Solution: Only used ScreeenLinesC when ScreeenLinesUC is not zero. (Yukihiro
9784 Nakadaira) Also clear ScreeenLinesC when allocating.
9785Files: src/screen.c
9786
9787Patch 7.2.407
9788Problem: When using an expression in ":s" backslashes in the result are
9789 dropped. (Sergey Goldgaber, Christian Brabandt)
9790Solution: Double backslashes.
9791Files: src/regexp.c
9792
9793Patch 7.2.408
9794Problem: With ":g/the/s/foo/bar/" the '[ and '] marks can be set to a line
9795 that was not changed.
9796Solution: Only set '[ and '] marks when a substitution was done.
9797Files: src/ex_cmds.c
9798
9799Patch 7.2.409
9800Problem: Summary of number of substitutes is incorrect for ":folddo". (Jean
9801 Johner)
9802Solution: Reset sub_nsubs and sub_nlines in global_exe().
9803Files: src/ex_cmds.c
9804
9805Patch 7.2.410
9806Problem: Highlighting directories for completion doesn't work properly.
Bram Moolenaarfcb7ab62010-07-20 11:16:17 +02009807Solution: Don't halve backslashes when not needed, expanded "~/".
Bram Moolenaar6df6f472010-07-18 18:04:50 +02009808 (Dominique Pelle)
9809Files: src/ex_getln.c
9810
9811Patch 7.2.411
9812Problem: When parsing 'cino' a comma isn't skipped properly.
9813Solution: Skip the comma. (Lech Lorens)
9814Files: src/misc1.c
9815
9816Patch 7.2.412
9817Problem: [ or ] followed by mouse click doesn't work.
9818Solution: Reverse check for key being a mouse event. (Dominique Pelle)
9819Files: src/normal.c
9820
9821Patch 7.2.413
9822Problem: Large file support is incorrect.
9823Solution: Add AC_SYS_LARGEFILE to configure. (James Vega)
9824Files: src/configure.in, src/config.h.in, src/auto/configure
9825
9826Patch 7.2.414
9827Problem: CTRK-K <space> <space> does not produce 0xa0 as expected. (Tony
9828 Mechelynck)
9829Solution: Remove the Unicode range 0xe000 - 0xefff from digraphs, these are
9830 not valid characters.
9831Files: src/digraph.c
9832
9833Patch 7.2.415
9834Problem: Win32: Can't open a remote file when starting Vim.
9835Solution: Don't invoke cygwin_conv_path() for URLs. (Tomoya Adachi)
9836Files: src/main.c
9837
9838Patch 7.2.416
9839Problem: Logtalk.dict is not installed.
9840Solution: Add it to the install target. (Markus Heidelberg)
9841Files: src/Makefile
9842
9843Patch 7.2.417
9844Problem: When 'shell' has an argument with a slash then 'shellpipe' is not
9845 set properly. (Britton Kerin)
9846Solution: Assume there are no spaces in the path, arguments follow.
9847Files: src/option.c
9848
9849Patch 7.2.418
9850Problem: Vim tries to set the background or foreground color in a terminal
9851 to -1. (Graywh) Happens with ":hi Normal ctermbg=NONE".
9852Solution: When resetting the foreground or background color don't set the
9853 color, let the clear screen code do that.
9854Files: src/syntax.c
9855
9856Patch 7.2.419
9857Problem: Memory leak in Motif when clicking on "Search Vim Help".
9858Solution: Free string returned by XmTextGetString(). (Dominique Pelle)
9859Files: src/gui_motif.c
9860
9861Patch 7.2.420
9862Problem: ":argedit" does not accept "++enc=utf8" as documented. (Dominique
9863 Pelle)
9864Solution: Add the ARGOPT flag to ":argedit".
9865Files: src/ex_cmds.h
9866
9867Patch 7.2.421
9868Problem: Folds are sometimes not updated properly and there is no way to
9869 force an update.
9870Solution: Make "zx" and "zX" recompute folds (suggested by Christian
9871 Brabandt)
9872Files: src/normal.c
9873
9874Patch 7.2.422
9875Problem: May get E763 when using spell dictionaries.
9876Solution: Avoid utf-8 case folded character to be truncated to 8 bits and
9877 differ from latin1. (Dominique Pelle)
9878Files: src/spell.c
9879
9880Patch 7.2.423
9881Problem: Crash when assigning s: to variable. (Yukihiro Nakadaira)
9882Solution: Make ga_scripts contain pointer to scriptvar_T instead of
9883 scriptvar_T itself. (Dominique Pelle)
9884Files: src/eval.c
9885
9886Patch 7.2.424
9887Problem: ":colorscheme" without an argument doesn't do anything.
9888Solution: Make it echo the current color scheme name. (partly by Christian
9889 Brabandt)
9890Files: runtime/doc/syntax.txt, src/ex_cmds.h, src/ex_docmd.c
9891
9892Patch 7.2.425
9893Problem: Some compilers complain about fourth EX() argument.
9894Solution: Add cast to long_u.
9895Files: src/ex_cmds.h
9896
9897Patch 7.2.426
9898Problem: Commas in 'langmap' are not always handled correctly.
9899Solution: Require commas to be backslash escaped. (James Vega)
9900Files: src/option.c
9901
9902Patch 7.2.427
9903Problem: The swapfile is created using the destination of a symlink, but
9904 recovery doesn't follow symlinks.
9905Solution: When recovering, resolve symlinks. (James Vega)
9906Files: src/memline.c
9907
9908Patch 7.2.428
9909Problem: Using setqflist([]) to clear the error list doesn't work properly.
9910Solution: Set qf_nonevalid to TRUE when appropriate. (Christian Brabandt)
9911Files: src/quickfix.c
9912
9913Patch 7.2.429
9914Problem: A file that exists but access is denied may result in a "new file"
9915 message. E.g. when its directory is unreadable.
9916Solution: Specifically check for ENOENT to decide a file doesn't exist.
9917 (partly by James Vega)
9918Files: src/fileio.c
9919
9920Patch 7.2.430
9921Problem: The ++bad argument is handled wrong, resulting in an invalid
9922 memory access.
9923Solution: Use the bad_char field only for the replacement character, add
9924 bad_char_idx to store the position. (Dominique Pelle)
9925Files: src/eval.c, src/ex_cmds.h, src/ex_docmd.c
9926
9927Patch 7.2.431
9928Problem: ":amenu" moves the cursor when in Insert mode.
9929Solution: Use CTRL-\ CTRL-O instead of CTRL-O. (Christian Brabandt)
9930Files: src/menu.c
9931
9932Patch 7.2.432
9933Problem: When menus are translated they can only be found by the translated
9934 name. That makes ":emenu" difficult to use.
9935Solution: Store the untranslated name and use it for completion and :emenu.
9936 (Liang Peng (Bezetek James), Edward L. Fox)
9937Files: src/menu.c, src/structs.h
9938
9939Patch 7.2.433
9940Problem: Can't use cscope with QuickFixCmdPre and QuickFixCmdPost.
9941Solution: Add cscope support for these autocmd events. (Bryan Venteicher)
9942Files: runtime/doc/autocmd.txt, src/if_cscope.c
9943
9944Patch 7.2.434 (after 7.2.432)
9945Problem: Compilation fails without the multi-lang feature.
Bram Moolenaar8d9b40e2010-07-25 15:49:07 +02009946Solution: Add #ifdefs. (John Marriott)
Bram Moolenaar6df6f472010-07-18 18:04:50 +02009947Files: src/menu.c
9948
9949Patch 7.2.435 (after 7.2.430)
9950Problem: Crash when using bad_char_idx uninitialized. (Patrick Texier)
9951Solution: Don't use bad_char_idx, reproduce the ++bad argument from bad_char.
9952Files: src/eval.c, src/ex_cmds.h, src/ex_docmd.c
9953
9954Patch 7.2.436
9955Problem: Reproducible crash in syntax HL. (George Reilly, Dominique Pelle)
9956Solution: Make sst_stacksize an int instead of short. (Dominique Pelle)
9957Files: src/structs.h
9958
9959Patch 7.2.437 (after 7.2.407)
9960Problem: When "\\\n" appears in the expression result the \n doesn't result
9961 in a line break. (Andy Wokula)
9962Solution: Also replace a \n after a backslash into \r.
9963Files: src/regexp.c
9964
9965Patch 7.2.438 (after 7.2.427)
9966Problem: "vim -r" crashes.
9967Solution: Don't use NULL pointer argument.
9968Files: src/memline.c
9969
9970Patch 7.2.439
9971Problem: Invalid memory access when doing thesaurus completion and
9972 'infercase' is set.
9973Solution: Use the minimal length of completed word and replacement.
9974 (Dominique Pelle)
9975Files: src/edit.c
9976
9977Patch 7.2.440
9978Problem: Calling a function through a funcref, where the function deletes
9979 the funcref, leads to an invalid memory access.
9980Solution: Make a copy of the function name. (Lech Lorens)
9981Files: src/eval.c, src/testdir/test34.in, src/testdir/test34.ok
9982
9983Patch 7.2.441
9984Problem: When using ":earlier" undo information may be wrong.
9985Solution: When changing alternate branches also adjust b_u_oldhead.
9986Files: src/undo.c
9987
9988Patch 7.2.442 (after 7.2.201)
9989Problem: Copy/paste with OpenOffice doesn't work.
9990Solution: Do not offer the HTML target when it is not supported. (James
9991 Vega)
9992Files: src/gui_gtk_x11.c, src/option.c, src/proto/gui_gtk_x11.pro
9993
9994Patch 7.2.443
9995Problem: Using taglist() on a tag file with duplicate fields generates an
9996 internal error. (Peter Odding)
9997Solution: Check for duplicate field names.
9998Files: src/eval.c, src/proto/eval.pro, src/tag.c
9999
10000Patch 7.2.444 (after 7.2.442)
10001Problem: Can't build with GTK 1, gtk_selection_clear_targets() is not
10002 available. (Patrick Texier)
10003Solution: Don't change the targets for GTK 1, set them once.
10004Files: src/gui_gtk_x11.c, src/option.c
10005
10006Patch 7.2.445
10007Problem: Crash when using undo/redo and a FileChangedRO autocmd event that
10008 reloads the buffer. (Dominique Pelle)
10009Solution: Do not allow autocommands while performing and undo or redo.
10010Files: src/misc1.c, src/undo.c
10011
10012Patch 7.2.446
10013Problem: Crash in GUI when closing the last window in a tabpage. (ryo7000)
10014Solution: Remove the tabpage from the list before freeing the window.
10015Files: src/window.c
10016
Bram Moolenaar7a329912010-05-21 12:05:36 +020010017When writing a file, switching tab pages and selecting a word the file write
Bram Moolenaar6df6f472010-07-18 18:04:50 +020010018message would be displayed again. This happened in Insert mode and with
10019'cmdheight' set to 2.
Bram Moolenaar7a329912010-05-21 12:05:36 +020010020
10021When using ":lang" to set a locale that uses a comma for decimal separator and
10022using GTK floating point numbers stop working. Use gtk_disable_setlocale().
10023(James Vega)
Bram Moolenaar00a927d2010-05-14 23:24:24 +020010024
Bram Moolenaarb382ad12010-05-21 15:46:35 +020010025"g8" didn't produce the right value on a NUL. (Dominique Pelle)
10026
Bram Moolenaar06b5d512010-05-22 15:37:44 +020010027Use BASEMODLIBS instead of MODLIBS for Python configuration to pick up the
10028right compiler flags. (Michael Bienia)
10029
Bram Moolenaar6df6f472010-07-18 18:04:50 +020010030Window title was not updated after dropping a file on Vim. (Hari G)
Bram Moolenaarab8205e2010-07-07 15:14:03 +020010031
Bram Moolenaar0bc380a2010-07-10 13:52:13 +020010032synstack() did not return anything when just past the end of the line. Useful
10033when using the cursor position in Insert mode.
10034
Bram Moolenaar6df6f472010-07-18 18:04:50 +020010035When entering a digraph or special character after a line that fits the window
10036the '?' or '^' on the next line is not redrawn. (Ian Kelling)
10037
10038Composing characters in |:s| substitute text were dropped.
10039
10040|exists()| was causing an autoload script to be loaded.
10041
10042Filter out -pthread for cproto.
10043
10044Make CTRL-L in command line mode respect 'ignorecase' and 'smartcase'. (Martin
10045Toft)
10046
10047Spell menu moved the cursor, causing Copy not to work. Spell replacement
10048didn't work in 'compatible' mode.
10049
10050Various small fixes from Dominique Pelle.
10051
10052Fix that :mksession may generate "2argu" even though there is no such
10053argument. (Peter Odding)
10054
10055Fixes for time in clipboard request. Also fix ownership. (David Fries)
10056
10057Fixed completion of file names with '%' and '*'.
10058
10059Fixed MSVC makefile use of /Wp64 flag.
10060
10061Correct use of long instead of off_t for file size. (James Vega)
10062
Bram Moolenaarfcb7ab62010-07-20 11:16:17 +020010063Add a few #ifdefs to exclude functions that are not used. (Dominique Pelle)
Bram Moolenaar6df6f472010-07-18 18:04:50 +020010064
10065Remove old and unused method to allocate memory for undo.
10066
10067Fix definition of UINT_PTR for 64 bit systems.
10068
10069Some versions of Ruby redefine rb_str_new2 to rb_str_new_cstr.
10070
10071Window title not updated after file dropped.
10072
Bram Moolenaar49771f42010-07-20 17:32:38 +020010073Fixed crash for ":find" completion, might also happen in other path expansion
10074usage.
10075
Bram Moolenaar8d9b40e2010-07-25 15:49:07 +020010076When 'searchhl' causes a hang make CTRL-C disable 'searchhl'.
Bram Moolenaar49771f42010-07-20 17:32:38 +020010077
Bram Moolenaar6fc45b52010-07-25 17:42:45 +020010078When resetting both 'title' and 'icon' the title would be set after a shell
10079command.
10080
10081Reset 'title' and 'icon' in test47 to avoid the xterm title getting messed up.
10082
10083Fix for compiler warning about function prototype in pty.c.
10084
10085Added 'window' to the options window.
10086
10087Fixed: errors for allocating zero bytes when profiling an empty function.
10088
10089Remove -arch flag from build flags for Perl. (Bjorn Wickler)
10090
10091Fix 'autochdir' not showing up in :options window. (Dominique Pelle)
10092
Bram Moolenaar44886d92010-08-01 19:06:10 +020010093Fix: test 69 didn't work on MS-Windows. Test 72 beeped too often.
10094
10095Avoid illegal memory access in spell suggestion. (Dominique Pelle)
10096Fix: crash in spell checking with a 0x300 character.
10097
10098Avoid that running tests changes viminfo.
10099
10100Fix: changing case of a character removed combining characters.
10101Fixed: CTRL-R in Insert mode doesn't insert composing characters.
10102
10103Added the WOW64 flag to OLE registration, for 64 bit Windows systems.
10104
10105Various fixes for coverity warnings.
10106
10107Fix compile warnings, esp. for 64-bit systems. (Mike Williams)
10108
10109Fix: :redir to a dictionary that is changed before ":redir END" causes a
10110memory access error.
10111
10112Fix: terminal title not properly restored when there are multi-byte
10113characters. (partly by James Vega)
Bram Moolenaar6fc45b52010-07-25 17:42:45 +020010114
Bram Moolenaar1affd722010-08-04 17:49:30 +020010115Set 'wrapscan' when checking the .po files. (Mike Williams)
10116
10117Win32: Put quotes around the gvim.exe path for the "Open with" menu entry.
10118
Bram Moolenaar5eba45c2010-08-08 21:15:53 +020010119On MS-Windows sometimes files with number 4913 or higher are left behind.
10120
10121'suffixesadd' was used for finding tags file.
10122
10123Removed unused code.
10124
10125Improved positioning of combining characters in GTK.
10126
10127Made test 11 pass when there is no gzip program. (John Beckett)
10128
10129Changed readfile() to ignore byte order marks, unless in binary mode.
10130
10131On MS-Windows completion of shell commands didn't work.
10132
10133An unprintable multi-byte character at the start of the screen line caused the
10134following text to be drawn at the wrong position.
10135
10136Got ml_get errors when using undo with 'virtualedit'.
10137
10138Call gui_mch_update() before triggering GuiEnter autocmd. (Ron Aaron)
10139
10140Unix "make install" installed a few Amiga .info files.
10141
10142Disallow setting 'ambiwidth' to "double" when 'listchars' or 'fillchars'
10143contains a character that would become double width.
10144
10145Set 'wrapscan' when checking the .po files. (Mike Williams)
10146
Bram Moolenaarbfc8b972010-08-13 22:05:54 +020010147Fixed: using expression in command line may cause a crash.
10148
10149Avoid warnings from the clang compiler. (Dominique Pelle)
10150
10151Fix: Include wchar.h in charset.c for towupper().
10152
Bram Moolenaar755bd262010-08-14 17:46:20 +020010153Fixed: Using ":read file" in an empty buffer when 'compatible' is set caused
Bram Moolenaarabf39e82010-08-14 21:57:32 +020010154an error. Was caused by patch 7.2.132.
Bram Moolenaar755bd262010-08-14 17:46:20 +020010155
Bram Moolenaar7f036442010-08-15 15:24:20 +020010156Make the references to features in the help more consistent. (Sylvain Hitier)
10157
Bram Moolenaar913df812013-07-06 15:44:11 +020010158==============================================================================
10159VERSION 7.4 *version-7.4* *version7.4*
10160
10161This section is about improvements made between version 7.3 and 7.4.
10162
10163This release has hundreds of bug fixes and there are a few new features. The
10164most notable new features are:
10165
10166
10167New regexp engine *new-regexp-engine*
10168-----------------
10169
10170What is now called the "old" regexp engine uses a backtracking algorithm. It
10171tries to match the pattern with the text in one way, and when that fails it
10172goes back and tries another way. This works fine for simple patterns, but
10173complex patterns can be very slow on longer text.
10174
10175The new engine uses a state machine. It tries all possible alternatives at
10176the current character and stores the possible states of the pattern. This is
10177a bit slower for simple patterns, but much faster for complex patterns and
10178long text.
10179
10180Most notably, syntax highlighting for Javascript and XML files with long lines
10181is now working fine. Previously Vim could get stuck.
10182
10183More information here: |two-engines|
10184
10185
10186Changed *changed-7.4*
10187-------
10188
10189Todo.
10190
10191
10192Added *added-7.4*
10193-----
10194
10195Various syntax, indent and other plugins were added.
10196
10197
10198Fixed *fixed-7.4*
10199-----
10200
10201Patch 7.3.001
10202Problem: When editing "src/main.c" and 'path' set to "./proto",
10203 ":find e<C-D" shows ./proto/eval.pro instead of eval.pro.
10204Solution: Check for path separator when comparing names. (Nazri Ramliy)
10205Files: src/misc1.c
10206
10207Patch 7.3.002
10208Problem: ":find" completion doesn't work when halfway an environment
10209 variable. (Dominique Pelle)
10210Solution: Only use in-path completion when expanding file names. (Nazri
10211 Ramliy)
10212Files: src/ex_docmd.c
10213
10214Patch 7.3.003
10215Problem: Crash with specific BufWritePost autocmd. (Peter Odding)
10216Solution: Don't free the quickfix title twice. (Lech Lorens)
10217Files: src/quickfix.c
10218
10219Patch 7.3.004
10220Problem: Crash when using very long regexp. (Peter Odding)
10221Solution: Reset reg_toolong. (Carlo Teubner)
10222Files: src/regexp.c
10223
10224Patch 7.3.005
10225Problem: Crash when using undotree(). (Christian Brabandt)
10226Solution: Increase the list reference count. Add a test for undotree()
10227 (Lech Lorens)
10228Files: src/eval.c, src/testdir/Makefile, src/testdir/test61.in
10229
10230Patch 7.3.006
10231Problem: Can't build some multi-byte code with C89.
10232Solution: Move code to after declarations. (Joachim Schmitz)
10233Files: src/mbyte.c, src/spell.c
10234
10235Patch 7.3.007
10236Problem: Python code defines global "buffer". Re-implements a grow-array.
10237Solution: Use a grow-array instead of coding the same functionality. Handle
10238 out-of-memory situation properly.
10239Files: src/if_py_both.h
10240
10241Patch 7.3.008
10242Problem: 'cursorbind' is kept in places where 'scrollbind' is reset.
10243Solution: Reset 'cursorbind'.
10244Files: src/buffer.c, src/diff.c, src/ex_cmds.c, src/ex_cmds2.c,
10245 src/ex_docmd.c, src/ex_getln.c, src/if_cscope.c, src/macros.h,
10246 src/quickfix.c, src/search.c, src/tag.c, src/window.c
10247
10248Patch 7.3.009
10249Problem: Win32: Crash on Windows when using a bad argument for strftime().
10250 (Christian Brabandt)
10251Solution: Use the bad_param_handler(). (Mike Williams)
10252Files: src/os_win32.c
10253
10254Patch 7.3.010
10255Problem: Mac GUI: Missing break statements.
10256Solution: Add the break statements. (Dominique Pelle)
10257Files: src/gui_mac.c
10258
10259Patch 7.3.011
10260Problem: X11 clipboard doesn't work in Athena/Motif GUI. First selection
10261 after a shell command doesn't work.
10262Solution: When using the GUI use XtLastTimestampProcessed() instead of
10263 changing a property. (partly by Toni Ronkko)
10264 When executing a shell command disown the selection.
10265Files: src/ui.c, src/os_unix.c
10266
10267Patch 7.3.012
10268Problem: Problems building with MingW.
10269Solution: Adjust the MingW makefiles. (Jon Maken)
10270Files: src/Make_ming.mak, src/GvimExt/Make_ming.mak
10271
10272Patch 7.3.013
10273Problem: Dynamic loading with Ruby doesn't work for 1.9.2.
10274Solution: Handle rb_str2cstr differently. Also support dynamic loading on
10275 Unix. (Jon Maken)
10276Files: src/if_ruby.c
10277
10278Patch 7.3.014
10279Problem: Ending a line in a backslash inside an ":append" or ":insert"
10280 command in Ex mode doesn't work properly. (Ray Frush)
10281Solution: Halve the number of backslashes, only insert a NUL after an odd
10282 number of backslashes.
10283Files: src/ex_getln.c
10284
10285Patch 7.3.015
10286Problem: Test is using error message that no longer exists.
10287Solution: Change E106 to E121. (Dominique Pelle)
10288Files: src/testdir/test49.vim
10289
10290Patch 7.3.016
10291Problem: Netbeans doesn't work under Athena.
10292Solution: Support Athena, just like Motif. (Xavier de Gaye)
10293Files: runtime/doc/netbeans.txt, src/gui.c, src/main.c, src/netbeans.c
10294
10295Patch 7.3.017
10296Problem: smatch reports errors.
10297Solution: Fix the reported errors. (Dominique Pelle)
10298Files: src/spell.c, src/syntax.c
10299
10300Patch 7.3.018 (after 7.3.012)
10301Problem: Missing argument to windres in MingW makefiles.
10302Solution: Add the argument that was wrapped in the patch. (Jon Maken)
10303Files: src/Make_ming.mak, src/GvimExt/Make_ming.mak
10304
10305Patch 7.3.019
10306Problem: ":nbstart" can fail silently.
10307Solution: Give an error when netbeans is not supported by the GUI. (Xavier
10308 de Gaye)
10309Files: src/netbeans.c
10310
10311Patch 7.3.020
10312Problem: Cursor position wrong when joining multiple lines and
10313 'formatoptions' contains "a". (Moshe Kamensky)
10314Solution: Adjust cursor position for skipped indent. (Carlo Teubner)
10315Files: src/ops.c, src/testdir/test68.in, src/testdir/test68.ok
10316
10317Patch 7.3.021
10318Problem: Conflict for defining Boolean in Mac header files.
10319Solution: Define NO_X11_INCLUDES. (Rainer Muller)
10320Files: src/os_macosx.m, src/vim.h
10321
10322Patch 7.3.022
10323Problem: When opening a new window the 'spellcapcheck' option is cleared.
10324Solution: Copy the correct option value. (Christian Brabandt)
10325Files: src/option.c
10326
10327Patch 7.3.023
10328Problem: External program may hang when it tries to write to the tty.
10329Solution: Don't close the slave tty until after the child exits. (Nikola
10330 Knezevic)
10331Files: src/os_unix.c
10332
10333Patch 7.3.024
10334Problem: Named signs do not use a negative number as intended.
10335Solution: Fix the numbering of named signs. (Xavier de Gaye)
10336Files: src/ex_cmds.c
10337
10338Patch 7.3.025
10339Problem: ":mksession" does not square brackets escape file name properly.
Bram Moolenaardd007ed2013-07-09 15:44:17 +020010340Solution: Improve escaping of file names. (partly by Peter Odding)
Bram Moolenaar913df812013-07-06 15:44:11 +020010341Files: src/ex_docmd.c
10342
10343Patch 7.3.026
10344Problem: CTRL-] in a help file doesn't always work. (Tony Mechelynck)
10345Solution: Don't escape special characters. (Carlo Teubner)
10346Files: src/normal.c
10347
10348Patch 7.3.027
10349Problem: Opening a file on a network share is very slow.
10350Solution: When fixing file name case append "\*" to directory, server and
10351 network share names. (David Anderson, John Beckett)
10352Files: src/os_win32.c
10353
10354Patch 7.3.028 (after 7.3.024)
10355Problem: Signs don't show up. (Charles Campbell)
10356Solution: Don't use negative numbers. Also assign a number to signs that
10357 have a name of all digits to avoid using a sign number twice.
10358Files: src/ex_cmds.c
10359
10360Patch 7.3.029
10361Problem: ":sort n" sorts lines without a number as number zero. (Beeyawned)
10362Solution: Make lines without a number sort before lines with a number. Also
10363 fix sorting negative numbers.
10364Files: src/ex_cmds.c, src/testdir/test57.in, src/testdir/test57.ok
10365
10366Patch 7.3.030
10367Problem: Cannot store Dict and List in viminfo file.
10368Solution: Add support for this. (Christian Brabandt)
10369Files: runtime/doc/options.txt, src/eval.c, src/testdir/Make_amiga.mak,
10370 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
10371 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms,
10372 src/testdir/Makefile, src/testdir/main.aap, src/testdir/test74.in,
10373 src/testdir/test74.ok
10374
10375Patch 7.3.031
10376Problem: Can't pass the X window ID to another application.
10377Solution: Add v:windowid. (Christian J. Robinson, Lech Lorens)
10378Files: runtime/doc/eval.txt, src/eval.c, src/gui.c, src/vim.h,
10379 src/os_unix.c
10380
10381Patch 7.3.032
10382Problem: maparg() doesn't return the flags, such as <buffer>, <script>,
10383 <silent>. These are needed to save and restore a mapping.
10384Solution: Improve maparg(). (also by Christian Brabandt)
10385Files: runtime/doc/eval.txt, src/eval.c, src/getchar.c, src/gui_w48.c,
10386 src/message.c, src/proto/getchar.pro, src/proto/message.pro,
10387 src/structs.h src/testdir/test75.in, src/testdir/test75.ok
10388
10389Patch 7.3.033 (after 7.3.032)
10390Problem: Can't build without FEAT_LOCALMAP.
10391Solution: Add an #ifdef. (John Marriott)
10392Files: src/getchar.c
10393
10394Patch 7.3.034
10395Problem: Win32: may be loading .dll from the wrong directory.
10396Solution: Go to the Vim executable directory when opening a library.
10397Files: src/gui_w32.c, src/if_lua.c, src/if_mzsch.c, src/if_perl.xs,
10398 src/if_python.c, src/if_python3.c, src/if_ruby.c, src/mbyte.c,
10399 src/os_mswin.c, src/os_win32.c, src/proto/os_win32.pro
10400
10401Patch 7.3.035 (after 7.3.034)
10402Problem: Stray semicolon after if statement. (Hari G)
10403Solution: Remove the semicolon.
10404Files: src/os_win32.c
10405
10406Patch 7.3.036
10407Problem: Win32 GUI: When building without menus, the font for dialogs and
10408 tab page headers also changes.
10409Solution: Define USE_SYSMENU_FONT always. (Harig G.)
10410Files: src/gui_w32.c
10411
10412Patch 7.3.037
10413Problem: Compiler warnings for loss of data. (Mike Williams)
10414Solution: Add type casts.
10415Files: src/if_py_both.h, src/getchar.c, src/os_win32.c
10416
10417Patch 7.3.038
10418Problem: v:windowid isn't set on MS-Windows.
10419Solution: Set it to the window handle. (Chris Sutcliffe)
10420Files: runtime/doc/eval.txt, src/gui_w32.c
10421
10422Patch 7.3.039
10423Problem: Crash when using skk.vim plugin.
10424Solution: Get length of expression evaluation result only after checking for
10425 NULL. (Noriaki Yagi, Dominique Pelle)
10426Files: src/ex_getln.c
10427
10428Patch 7.3.040
10429Problem: Comparing strings while ignoring case goes beyond end of the
10430 string when there are illegal bytes. (Dominique Pelle)
10431Solution: Explicitly check for illegal bytes.
10432Files: src/mbyte.c
10433
10434Patch 7.3.041
10435Problem: Compiler warning for accessing mediumVersion. (Tony Mechelynck)
10436Solution: Use the pointer instead of the array itself. (Dominique Pelle)
10437Files: src/version.c
10438
10439Patch 7.3.042
10440Problem: No spell highlighting when re-using an empty buffer.
10441Solution: Clear the spell checking info only when clearing the options for a
10442 buffer. (James Vega)
10443Files: src/buffer.c
10444
10445Patch 7.3.043
10446Problem: Can't load Ruby dynamically on Unix.
10447Solution: Adjust the configure script. (James Vega)
10448Files: src/Makefile, src/config.h.in, src/configure.in,
10449 src/auto/configure, src/if_ruby.c
10450
10451Patch 7.3.044
10452Problem: The preview window opened by the popup menu is larger than
10453 specified with 'previewheight'. (Benjamin Haskell)
10454Solution: Use 'previewheight' if it's set and smaller.
10455Files: src/popupmnu.c
10456
10457Patch 7.3.045
10458Problem: Compiler warning for uninitialized variable.
10459Solution: Initialize the variable always.
10460Files: src/getchar.c
10461
10462Patch 7.3.046 (after 7.3.043)
10463Problem: Can't build Ruby on MS-Windows.
10464Solution: Add #ifdef, don't use WIN3264 before including vim.h.
10465Files: src/if_ruby.c
10466
10467Patch 7.3.047 (after 7.3.032)
10468Problem: Missing makefile updates for test 75.
10469Solution: Update the makefiles.
10470Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
10471 src/testdir/Makefile, src/testdir/Make_ming.mak,
10472 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms
10473
10474Patch 7.3.048
10475Problem: ":earlier 1f" doesn't work after loading undo file.
10476Solution: Set b_u_save_nr_cur when loading an undo file. (Christian
10477 Brabandt)
10478 Fix only showing time in ":undolist"
10479Files: src/undo.c
10480
10481Patch 7.3.049
10482Problem: PLT has rebranded their Scheme to Racket.
10483Solution: Add support for Racket 5.x. (Sergey Khorev)
10484Files: src/Make_cyg.mak, src/Make_ming.mak, src/Make_mvc.mak,
10485 src/auto/configure, src/configure.in, src/if_mzsch.c
10486
10487Patch 7.3.050
10488Problem: The link script is clumsy.
10489Solution: Use the --as-needed linker option if available. (Kirill A.
10490 Shutemov)
10491Files: src/Makefile, src/auto/configure, src/config.mk.in,
10492 src/configure.in, src/link.sh
10493
10494Patch 7.3.051
10495Problem: Crash when $PATH is empty.
10496Solution: Check for vim_getenv() returning NULL. (Yasuhiro Matsumoto)
10497Files: src/ex_getln.c, src/os_win32.c
10498
10499Patch 7.3.052
10500Problem: When 'completefunc' opens a new window all kinds of errors follow.
10501 (Xavier Deguillard)
10502Solution: When 'completefunc' goes to another window or buffer and when it
10503 deletes text abort completion. Add a test for 'completefunc'.
10504Files: src/edit.c, src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
10505 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
10506 src/testdir/Make_vms.mms, src/testdir/Makefile,
10507 src/testdir/test76.in, src/testdir/test76.ok
10508
10509Patch 7.3.053
10510Problem: complete() function doesn't reset complete direction. Can't use
10511 an empty string in the list of matches.
10512Solution: Set compl_direction to FORWARD. Add "empty" key to allow empty
10513 words. (Kikuchan)
10514Files: src/edit.c
10515
10516Patch 7.3.054
10517Problem: Can define a user command for :Print, but it doesn't work. (Aaron
10518 Thoma)
10519Solution: Let user command :Print overrule the builtin command (Christian
10520 Brabandt) Disallow :X and :Next as a user defined command.
10521Files: src/ex_docmd.c
10522
10523Patch 7.3.055
10524Problem: Recursively nested lists and dictionaries cause a near-endless
10525 loop when comparing them with a copy. (ZyX)
10526Solution: Limit recursiveness in a way that non-recursive structures can
10527 still be nested very deep.
10528Files: src/eval.c, src/testdir/test55.in, src/testdir/test55.ok
10529
10530Patch 7.3.056
10531Problem: "getline" argument in do_cmdline() shadows global.
10532Solution: Rename the argument.
10533Files: src/ex_docmd.c
10534
10535Patch 7.3.057
10536Problem: Segfault with command line abbreviation. (Randy Morris)
10537Solution: Don't retrigger the abbreviation when abandoning the command line.
10538 Continue editing the command line after the error.
10539Files: src/ex_getln.c
10540
10541Patch 7.3.058
10542Problem: Error "code converter not found" when loading Ruby script.
10543Solution: Load Gem module. (Yasuhiro Matsumoto)
10544Files: src/if_ruby.c
10545
10546Patch 7.3.059
10547Problem: Netbeans: Problem with recursively handling messages for Athena
10548 and Motif.
10549Solution: Call netbeans_parse_messages() in the main loop, like it's done
10550 for GTK. (Xavier de Gaye)
10551Files: src/gui_x11.c, src/netbeans.c
10552
10553Patch 7.3.060
10554Problem: Netbeans: crash when socket is disconnected unexpectedly.
10555Solution: Don't cleanup when a read fails, put a message in the queue and
10556 disconnect later. (Xavier de Gaye)
10557Files: src/netbeans.c
10558
10559Patch 7.3.061
10560Problem: Remote ":drop" does not respect 'autochdir'. (Peter Odding)
10561Solution: Don't restore the directory when 'autochdir' is set. (Benjamin
10562 Fritz)
10563Files: src/main.c
10564
10565Patch 7.3.062
10566Problem: Python doesn't work properly when installed in another directory
10567 than expected.
10568Solution: Figure out home directory in configure and use Py_SetPythonHome()
10569 at runtime. (Roland Puntaier)
10570Files: src/configure.in, src/auto/configure, src/if_python.c,
10571 src/if_python3.c
10572
10573Patch 7.3.063
10574Problem: Win32: Running a filter command makes Vim lose focus.
10575Solution: Use SW_SHOWMINNOACTIVE instead of SW_SHOWMINIMIZED. (Hong Xu)
10576Files: src/os_win32.c
10577
10578Patch 7.3.064
10579Problem: Win32: ":dis +" shows nothing, but "+p does insert text.
10580Solution: Display the * register, since that's what will be inserted.
10581 (Christian Brabandt)
10582Files: src/globals.h, src/ops.c
10583
10584Patch 7.3.065
10585Problem: Can't get current line number in a source file.
10586Solution: Add the <slnum> item, similar to <sfile>.
10587Files: src/ex_docmd.c
10588
10589Patch 7.3.066
10590Problem: Crash when changing to another window while in a :vimgrep command.
10591 (Christian Brabandt)
10592Solution: When wiping out the dummy before, remove it from aucmd_win.
10593Files: src/quickfix.c
10594
10595Patch 7.3.067 (after 7.3.058)
10596Problem: Ruby: Init_prelude is not always available.
10597Solution: Remove use of Init_prelude. (Yasuhiro Matsumoto)
10598Files: src/if_ruby.c
10599
10600Patch 7.3.068
10601Problem: Using freed memory when doing ":saveas" and an autocommand sets
10602 'autochdir'. (Kevin Klement)
10603Solution: Get the value of fname again after executing autocommands.
10604Files: src/ex_cmds.c
10605
10606Patch 7.3.069
10607Problem: GTK: pressing Enter in inputdialog() doesn't work like clicking OK
10608 as documented.
10609Solution: call gtk_entry_set_activates_default(). (Britton Kerin)
10610Files: src/gui_gtk.c
10611
10612Patch 7.3.070
10613Problem: Can set environment variables in the sandbox, could be abused.
10614Solution: Disallow it.
10615Files: src/eval.c
10616
10617Patch 7.3.071
10618Problem: Editing a file in a window that's in diff mode resets 'diff'
10619 but not cursor binding.
10620Solution: Reset cursor binding in two more places.
10621Files: src/quickfix.c, src/option.c
10622
10623Patch 7.3.072
10624Problem: Can't complete file names while ignoring case.
10625Solution: Add 'wildignorecase'.
10626Files: src/ex_docmd.c, src/ex_getln.c, src/misc1.c, src/option.c,
10627 src/option.h, src/vim.h, src/runtime/options.txt
10628
10629Patch 7.3.073
10630Problem: Double free memory when netbeans command follows DETACH.
10631Solution: Only free the node when owned. (Xavier de Gaye)
10632Files: src/netbeans.c
10633
10634Patch 7.3.074
10635Problem: Can't use the "+ register like "* for yank and put.
10636Solution: Add "unnamedplus" to the 'clipboard' option. (Ivan Krasilnikov)
10637Files: runtime/doc/options.txt, src/eval.c, src/globals.h, src/ops.c,
10638 src/option.c
10639
10640Patch 7.3.075 (after 7.3.072)
10641Problem: Missing part of 'wildignorecase'
10642Solution: Also adjust expand()
10643Files: src/eval.c
10644
10645Patch 7.3.076
10646Problem: Clang warnings for dead code.
10647Solution: Remove it. (Carlo Teubner)
10648Files: src/gui_gtk.c, src/if_ruby.c, src/misc2.c, src/netbeans.c,
10649 src/spell.c
10650
10651Patch 7.3.077
10652Problem: When updating crypt of swapfile fails there is no error message.
10653 (Carlo Teubner)
10654Solution: Add the error message.
10655Files: src/memline.c
10656
10657Patch 7.3.078
10658Problem: Warning for unused variable.
Bram Moolenaardd007ed2013-07-09 15:44:17 +020010659Solution: Adjust #ifdefs.
Bram Moolenaar913df812013-07-06 15:44:11 +020010660Files: src/ops.c
10661
10662Patch 7.3.079
10663Problem: Duplicate lines in makefile.
10664Solution: Remove the lines. (Hong Xu)
10665Files: src/Make_mvc.mak
10666
10667Patch 7.3.080
10668Problem: Spell doesn't work on VMS.
10669Solution: Use different file names. (Zoltan Bartos, Zoltan Arpadffy)
10670Files: src/spell.c
10671
10672Patch 7.3.081
10673Problem: Non-printable characters in 'statusline' cause trouble. (ZyX)
10674Solution: Use transstr(). (partly by Caio Ariede)
10675Files: src/screen.c
10676
10677Patch 7.3.082
10678Problem: Leaking file descriptor when hostname doesn't exist.
10679Solution: Remove old debugging lines.
10680Files: src/netbeans.c
10681
10682Patch 7.3.083
10683Problem: When a read() or write() is interrupted by a signal it fails.
10684Solution: Add read_eintr() and write_eintr().
10685Files: src/fileio.c, src/proto/fileio.pro, src/memfile.c, src/memline.c,
10686 src/os_unix.c, src/undo.c, src/vim.h
10687
10688Patch 7.3.084
10689Problem: When splitting the window, the new one scrolls with the cursor at
10690 the top.
10691Solution: Compute w_fraction before setting the new height.
10692Files: src/window.c
10693
10694Patch 7.3.085 (after 7.3.083)
10695Problem: Inconsistency with preproc symbols. void * computation.
10696Solution: Include vimio.h from vim.h. Add type cast.
10697Files: src/eval.c, src/ex_cmds.c, src/ex_cmds2.c, src/fileio.c,
10698 src/if_cscope.c, src/if_sniff.c, src/main.c, src/memfile.c,
10699 src/memline.c, src/netbeans.c, src/os_msdos.c, src/os_mswin.c,
10700 src/os_win16.c, src/os_win32.c, src/spell.c, src/tag.c,
10701 src/undo.c, src/vim.h
10702
10703Patch 7.3.086
10704Problem: When using a mapping with an expression and there was no count,
10705 v:count has the value of the previous command. (ZyX)
10706Solution: Also set v:count and v:count1 before getting the character that
10707 could be a command or a count.
10708Files: src/normal.c
10709
10710Patch 7.3.087
10711Problem: EINTR is not always defined.
10712Solution: Include errno.h in vim.h.
10713Files: src/if_cscope.c, src/if_tcl.c, src/integration.c, src/memline.c,
10714 src/os_mswin.c, src/os_win16.c, src/os_win32.c, src/vim.h,
10715 src/workshop.c
10716
10717Patch 7.3.088
10718Problem: Ruby can't load Gems sometimes, may cause a crash.
10719Solution: Undefine off_t. Use ruby_process_options(). (Yasuhiro Matsumoto)
10720Files: src/if_ruby.c
10721
10722Patch 7.3.089
10723Problem: Compiler warning on 64 bit MS-Windows.
10724Solution: Add type cast. (Mike Williams)
10725Files: src/netbeans.c
10726
10727Patch 7.3.090
10728Problem: Wrong help text for Cscope.
10729Solution: Adjust the help text for "t". (Dominique Pelle)
10730Files: src/if_cscope.c
10731
10732Patch 7.3.091
10733Problem: "vim -w foo" writes special key codes for removed escape
10734 sequences. (Josh Triplett)
10735Solution: Don't write K_IGNORE codes.
10736Files: src/getchar.c, src/misc1.c, src/term.c, src/vim.h
10737
10738Patch 7.3.092
10739Problem: Resizing the window when exiting.
10740Solution: Don't resize when exiting.
10741Files: src/term.c
10742
10743Patch 7.3.093
10744Problem: New DLL dependencies in MingW with gcc 4.5.0.
10745Solution: Add STATIC_STDCPLUS, LDFLAGS and split up WINDRES. (Guopeng Wen)
10746Files: src/GvimExt/Make_ming.mak, src/Make_ming.mak
10747
10748Patch 7.3.094
10749Problem: Using abs() requires type cast to int.
10750Solution: Use labs() so that the value remains long. (Hong Xu)
10751Files: src/screen.c
10752
10753Patch 7.3.095
10754Problem: Win32: In Chinese tear-off menu doesn't work. (Weasley)
10755Solution: Use menu_name_equal(). (Alex Jakushev)
10756Files: src/menu.c
10757
10758Patch 7.3.096
Bram Moolenaardd007ed2013-07-09 15:44:17 +020010759Problem: "gvim -nb" is not interruptible. Leaking file descriptor on
Bram Moolenaar913df812013-07-06 15:44:11 +020010760 netbeans connection error.
10761Solution: Check for CTRL-C typed. Free file descriptor. (Xavier de Gaye)
10762Files: src/netbeans.c
10763
10764Patch 7.3.097
10765Problem: Using ":call" inside "if 0" does not see that a function returns a
10766 Dict and gives error for "." as string concatenation.
10767Solution: Use eval0() to skip over the expression. (Yasuhiro Matsumoto)
10768Files: src/eval.c
10769
10770Patch 7.3.098
10771Problem: Function that ignores error still causes called_emsg to be set.
10772 E.g. when expand() fails the status line is disabled.
10773Solution: Move check for emsg_not_now() up. (James Vega)
10774Files: src/message.c
10775
10776Patch 7.3.099
10777Problem: Crash when splitting a window with zero height. (Yukihiro
10778 Nakadaira)
10779Solution: Don't set the fraction in a window with zero height.
10780Files: src/window.c
10781
10782Patch 7.3.100
10783Problem: When using :normal v:count isn't set.
10784Solution: Call normal_cmd() with toplevel set to TRUE.
10785Files: src/ex_docmd.c
10786
10787Patch 7.3.101
10788Problem: ino_t defined with wrong size.
10789Solution: Move including auto/config.h before other includes. (Marius
10790 Geminas)
10791Files: src/if_ruby.c, src/if_lua.c
10792
10793Patch 7.3.102
10794Problem: When using ":make", typing the next command and then getting the
10795 "reload" prompt the next command is (partly) eaten by the reload
10796 prompt.
10797Solution: Accept ':' as a special character at the reload prompt to accept
10798 the default choice and execute the command.
10799Files: src/eval.c, src/fileio.c, src/gui.c, src/gui_xmdlg.c,
10800 src/memline.c, src/message.c, src/proto/message.pro,
10801 src/gui_athena.c, src/gui_gtk.c, src/gui_mac.c, src/gui_motif.c,
10802 src/gui_photon.c, src/gui_w16.c, src/gui_w32.c, src/os_mswin.c
10803 src/proto/gui_athena.pro, src/proto/gui_gtk.pro,
10804 src/proto/gui_mac.pro, src/proto/gui_motif.pro,
10805 src/proto/gui_photon.pro, src/proto/gui_w16.pro,
10806 src/proto/gui_w32.pro
10807
10808Patch 7.3.103
10809Problem: Changing 'fileformat' and then using ":w" in an empty file sets
10810 the 'modified' option.
10811Solution: In unchanged() don't ignore 'ff' for an empty file.
10812Files: src/misc1.c, src/option.c, src/proto/option.pro, src/undo.c
10813
10814Patch 7.3.104
10815Problem: Conceal: using Tab for cchar causes problems. (ZyX)
10816Solution: Do not accept a control character for cchar.
10817Files: src/syntax.c
10818
10819Patch 7.3.105
10820Problem: Can't get the value of "b:changedtick" with getbufvar().
10821Solution: Make it work. (Christian Brabandt)
10822Files: src/eval.c
10823
10824Patch 7.3.106
10825Problem: When 'cursorbind' is set another window may scroll unexpectedly
10826 when 'scrollbind' is also set. (Xavier Wang)
10827Solution: Don't call update_topline() if 'scrollbind' is set.
10828Files: src/move.c
10829
10830Patch 7.3.107
10831Problem: Year number for :undolist can be confused with month or day.
10832Solution: Change "%y" to "%Y".
10833Files: src/undo.c
10834
10835Patch 7.3.108
10836Problem: Useless check for NULL when calling vim_free().
10837Solution: Remove the check. (Dominique Pelle)
10838Files: src/eval.c, src/ex_cmds.c, src/os_win32.c
10839
10840Patch 7.3.109
10841Problem: Processing new Esperanto spell file fails and crashes Vim.
10842 (Dominique Pelle)
10843Solution: When running out of memory give an error. Handle '?' in
10844 COMPOUNDRULE properly.
10845Files: src/spell.c
10846
10847Patch 7.3.110
10848Problem: The "nbsp" item in 'listchars' isn't used for ":list".
10849Solution: Make it work. (Christian Brabandt)
10850Files: src/message.c
10851
10852Patch 7.3.111 (after 7.3.100)
10853Problem: Executing a :normal command in 'statusline' evaluation causes the
10854 cursor to move. (Dominique Pelle)
10855Solution: When updating the cursor for 'cursorbind' allow the cursor beyond
10856 the end of the line. When evaluating 'statusline' temporarily
10857 reset 'cursorbind'.
10858Files: src/move.c, src/screen.c
10859
10860Patch 7.3.112
10861Problem: Setting 'statusline' to "%!'asdf%' reads uninitialized memory.
10862Solution: Check for NUL after %.
10863Files: src/buffer.c
10864
10865Patch 7.3.113
10866Problem: Windows: Fall back directory for creating temp file is wrong.
10867Solution: Use "." instead of empty string. (Hong Xu)
10868Files: src/fileio.c
10869
10870Patch 7.3.114
10871Problem: Potential problem in initialization when giving an error message
10872 early.
10873Solution: Initialize 'verbosefile' empty. (Ben Schmidt)
10874Files: src/option.h
10875
10876Patch 7.3.115
10877Problem: Vim can crash when tmpnam() returns NULL.
10878Solution: Check for NULL. (Hong Xu)
10879Files: src/fileio.c
10880
10881Patch 7.3.116
10882Problem: 'cursorline' is displayed too short when there are concealed
10883 characters and 'list' is set. (Dennis Preiser)
10884Solution: Check for 'cursorline' when 'list' is set. (Christian Brabandt)
10885Files: src/screen.c
10886
10887Patch 7.3.117
10888Problem: On some systems --as-needed does not work, because the "tinfo"
10889 library is included indirectly from "ncurses". (Charles Campbell)
10890Solution: In configure prefer using "tinfo" instead of "ncurses".
10891Files: src/configure.in, src/auto/configure
10892
10893Patch 7.3.118
10894Problem: Ruby uses SIGVTALARM which makes Vim exit. (Alec Tica)
10895Solution: Ignore SIGVTALARM. (Dominique Pelle)
10896Files: src/os_unix.c
10897
10898Patch 7.3.119
10899Problem: Build problem on Mac. (Nicholas Stallard)
10900Solution: Use "extern" instead of "EXTERN" for p_vfile.
10901Files: src/option.h
10902
10903Patch 7.3.120
10904Problem: The message for an existing swap file is too long to fit in a 25
10905 line terminal.
10906Solution: Make the message shorter. (Chad Miller)
10907Files: src/memline.c
10908
10909Patch 7.3.121
10910Problem: Complicated 'statusline' causes a crash. (Christian Brabandt)
10911Solution: Check that the number of items is not too big.
10912Files: src/buffer.c
10913
10914Patch 7.3.122
10915Problem: Having auto/config.mk in the repository causes problems.
10916Solution: Remove auto/config.mk from the distribution. In the toplevel
10917 Makefile copy it from the "dist" file.
10918Files: Makefile, src/Makefile, src/auto/config.mk
10919
10920Patch 7.3.123
10921Problem: ml_get error when executing register being recorded into, deleting
10922 lines and 'conceallevel' is set. (ZyX)
10923Solution: Don't redraw a line for concealing when it doesn't exist.
10924Files: src/main.c
10925
10926Patch 7.3.124
10927Problem: When writing a file in binary mode it may be missing the final EOL
10928 if a file previously read was missing the EOL. (Kevin Goodsell)
10929Solution: Move the write_no_eol_lnum into the buffer struct.
10930Files: src/structs.h, src/fileio.c, src/globals.h, src/os_unix.c
10931
10932Patch 7.3.125
10933Problem: MSVC: Problem with quotes in link argument.
10934Solution: Escape backslashes and quotes. (Weasley)
10935Files: src/Make_mvc.mak
10936
10937Patch 7.3.126
10938Problem: Compiler warning for signed pointer.
10939Solution: Use unsigned int argument for sscanf().
10940Files: src/blowfish.c
10941
10942Patch 7.3.127
10943Problem: Compiler complains about comma.
10944Solution: Remove comma after last enum element.
10945Files: src/ex_cmds2.c
10946
10947Patch 7.3.128
10948Problem: Another compiler warning for signed pointer.
10949Solution: Use unsigned int argument for sscanf().
10950Files: src/mark.c
10951
10952Patch 7.3.129
10953Problem: Using integer like a boolean.
10954Solution: Nicer check for integer being non-zero.
10955Files: src/tag.c
10956
10957Patch 7.3.130
10958Problem: Variable misplaced in #ifdef.
10959Solution: Move clipboard_event_time outside of #ifdef.
10960Files: src/gui_gtk_x11.c
10961
10962Patch 7.3.131
10963Problem: Including errno.h too often.
10964Solution: Don't include errno.h in Unix header file.
10965Files: src/os_unix.h
10966
10967Patch 7.3.132
10968Problem: C++ style comments.
10969Solution: Change to C comments.
10970Files: src/if_python3.c
10971
10972Patch 7.3.133
10973Problem: When using encryption it's not clear what method was used.
10974Solution: In the file message show "blowfish" when using blowfish.
10975Files: src/fileio.c
10976
10977Patch 7.3.134
10978Problem: Drag-n-drop doesn't work in KDE Dolphin.
10979Solution: Add GDK_ACTION_MOVE flag. (Florian Degner)
10980Files: src/gui_gtk_x11.c
10981
10982Patch 7.3.135
10983Problem: When there is no previous substitute pattern, the previous search
10984 pattern is used. The other way around doesn't work.
10985Solution: When there is no previous search pattern, use the previous
10986 substitute pattern if possible. (Christian Brabandt)
10987Files: src/search.c
10988
10989Patch 7.3.136
10990Problem: Duplicate include of assert.h.
10991Solution: Remove it.
10992Files: src/if_cscope.c
10993
10994Patch 7.3.137 (after 7.3.091)
10995Problem: When 'lazyredraw' is set the screen may not be updated. (Ivan
10996 Krasilnikov)
10997Solution: Call update_screen() before waiting for input.
10998Files: src/misc1.c, src/getchar.c
10999
11000Patch 7.3.138
11001Problem: ":com" changes the multi-byte text of :echo. (Dimitar Dimitrov)
11002Solution: Search for K_SPECIAL as a byte, not a character. (Ben Schmidt)
11003Files: src/ex_docmd.c
11004
11005Patch 7.3.139 (after 7.3.137)
11006Problem: When 'lazyredraw' is set ":ver" output can't be read.
11007Solution: Don't redraw the screen when at a prompt or command line.
11008Files: src/getchar.c, src/message.c, src/misc1.c
11009
11010Patch 7.3.140
11011Problem: Crash when drawing the "$" at end-of-line for list mode just after
11012 the window border and 'cursorline' is set.
11013Solution: Don't check for 'cursorline'. (Quentin Carbonneaux)
11014Files: src/screen.c
11015
11016Patch 7.3.141
11017Problem: When a key code is not set get a confusing error message.
11018Solution: Change the error message to say the key code is not set.
11019Files: src/option.c, runtime/doc/options.txt
11020
11021Patch 7.3.142
11022Problem: Python stdout doesn't have a flush() method, causing an import to
11023 fail.
11024Solution: Add a dummy flush() method. (Tobias Columbus)
11025Files: src/if_py_both.h
11026
11027Patch 7.3.143
11028Problem: Memfile is not tested sufficiently. Looking up blocks in a
11029 memfile is slow when there are many blocks.
11030Solution: Add high level test and unittest. Adjust the number of hash
11031 buckets to the number of blocks. (Ivan Krasilnikov)
11032Files: Filelist, src/Makefile, src/main.c, src/memfile.c,
11033 src/memfile_test.c src/structs.h src/testdir/Make_amiga.mak,
11034 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
11035 src/testdir/Make_os2.mak, src/testdir/Make_vms.mak,
11036 src/testdir/Makefile, src/testdir/test77.in, src/testdir/test77.ok
11037
11038Patch 7.3.144
11039Problem: Crash with ":python help(dir)". (Kearn Holliday)
11040Solution: Fix the way the type is set on objects. (Tobias Columbus)
11041Files: src/if_python.c
11042
11043Patch 7.3.145 (after 7.3.144)
11044Problem: Can't build with Python dynamically loading.
11045Solution: Add dll_PyType_Ready.
11046Files: src/if_python.c
11047
11048Patch 7.3.146
11049Problem: It's possible to assign to a read-only member of a dict.
11050 It's possible to create a global variable "0". (ZyX)
11051 It's possible to add a v: variable with ":let v:.name = 1".
11052Solution: Add check for dict item being read-only.
11053 Check the name of g: variables.
11054 Disallow adding v: variables.
11055Files: src/eval.c
11056
11057Patch 7.3.147 (after 7.3.143)
11058Problem: Can't build on HP-UX.
11059Solution: Remove an unnecessary backslash. (John Marriott)
11060Files: src/Makefile
11061
11062Patch 7.3.148
11063Problem: A syntax file with a huge number of items or clusters causes weird
11064 behavior, a hang or a crash. (Yukihiro Nakadaira)
11065Solution: Check running out of IDs. (partly by Ben Schmidt)
11066Files: src/syntax.c
11067
11068Patch 7.3.149
11069Problem: The cursor disappears after the processing of the 'setDot'
11070 netbeans command when vim runs in a terminal.
Bram Moolenaardd007ed2013-07-09 15:44:17 +020011071Solution: Show the cursor after a screen update. (Xavier de Gaye)
Bram Moolenaar913df812013-07-06 15:44:11 +020011072Files: src/netbeans.c
11073
11074Patch 7.3.150
11075Problem: readline() does not return the last line when the NL is missing.
11076 (Hong Xu)
11077Solution: When at the end of the file Also check for a previous line.
11078Files: src/eval.c
11079
11080Patch 7.3.151 (after 7.3.074)
11081Problem: When "unnamedplus" is in 'clipboard' the selection is sometimes
11082 also copied to the star register.
11083Solution: Avoid copy to the star register when undesired. (James Vega)
11084Files: src/ops.c
11085
11086Patch 7.3.152
11087Problem: Xxd does not check for errors from library functions.
11088Solution: Add error checks. (Florian Zumbiehl)
11089Files: src/xxd/xxd.c
11090
11091Patch 7.3.153 (after 7.3.152)
11092Problem: Compiler warning for ambiguous else, missing prototype.
11093Solution: Add braces. (Dominique Pelle) Add prototype for die().
11094Files: src/xxd/xxd.c
11095
11096Patch 7.3.154 (after 7.3.148)
11097Problem: Can't compile with tiny features. (Tony Mechelynck)
11098Solution: Move #define outside of #ifdef.
11099Files: src/syntax.c
11100
11101Patch 7.3.155
11102Problem: Crash when using map(), filter() and remove() on v:. (ZyX)
11103 Also for extend(). (Yukihiro Nakadaira)
11104Solution: Mark v: as locked. Also correct locking error messages.
11105Files: src/eval.c
11106
11107Patch 7.3.156
11108Problem: Tty names possibly left unterminated.
11109Solution: Use vim_strncpy() instead of strncpy().
11110Files: src/pty.c
11111
11112Patch 7.3.157
11113Problem: Superfluous assignment.
11114Solution: Remove assignment.
11115Files: src/misc1.c
11116
11117Patch 7.3.158
11118Problem: Might use uninitialized memory in C indenting.
11119Solution: Init arrays to empty.
11120Files: src/misc1.c
11121
11122Patch 7.3.159
11123Problem: Using uninitialized pointer when out of memory.
11124Solution: Check for NULL return value.
11125Files: src/mbyte.c
11126
11127Patch 7.3.160
11128Problem: Unsafe string copying.
11129Solution: Use vim_strncpy() instead of strcpy(). Use vim_strcat() instead
11130 of strcat().
11131Files: src/buffer.c, src/ex_docmd.c, src/hardcopy.c, src/menu.c,
11132 src/misc1.c, src/misc2.c, src/proto/misc2.pro, src/netbeans.c,
11133 src/os_unix.c, src/spell.c, src/syntax.c, src/tag.c
11134
11135Patch 7.3.161
11136Problem: Items on the stack may be too big.
11137Solution: Make items static or allocate them.
11138Files: src/eval.c, src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c,
11139 src/fileio.c, src/hardcopy.c, src/quickfix.c, src/main.c,
11140 src/netbeans.c, src/spell.c, src/tag.c, src/vim.h, src/xxd/xxd.c
11141
11142Patch 7.3.162
11143Problem: No error message when assigning to a list with an index out of
11144 range. (Yukihiro Nakadaira)
11145Solution: Add the error message.
11146Files: src/eval.c
11147
11148Patch 7.3.163
11149Problem: For the default of 'shellpipe' "mksh" and "pdksh" are not
11150 recognized.
11151Solution: Recognize these shell names.
11152Files: src/option.c
11153
11154Patch 7.3.164
11155Problem: C-indenting: a preprocessor statement confuses detection of a
Bram Moolenaardd007ed2013-07-09 15:44:17 +020011156 function declaration.
Bram Moolenaar913df812013-07-06 15:44:11 +020011157Solution: Ignore preprocessor lines. (Lech Lorens) Also recognize the style
11158 to put a comma before the argument name.
11159Files: src/misc1.c, testdir/test3.in, testdir/test3.ok
11160
11161Patch 7.3.165
11162Problem: ":find" completion does not escape spaces in a directory name.
11163 (Isz)
11164Solution: Add backslashes for EXPAND_FILES_IN_PATH. (Carlo Teubner)
11165Files: src/ex_getln.c
11166
11167Patch 7.3.166
11168Problem: Buffer on the stack may be too big
11169Solution: Allocate the space.
11170Files: src/option.c
11171
11172Patch 7.3.167
11173Problem: When using the internal grep QuickFixCmdPost is not triggered.
11174 (Yukihiro Nakadaira)
11175Solution: Change the place where autocommands are triggered.
11176Files: src/quickfix.c
11177
11178Patch 7.3.168
11179Problem: When the second argument of input() contains a CR the text up to
11180 that is used without asking the user. (Yasuhiro Matsumoto)
11181Solution: Change CR, NL and ESC in the text to a space.
11182Files: src/getchar.c
11183
11184Patch 7.3.169
11185Problem: Freeing memory already freed, warning from static code analyzer.
11186Solution: Initialize pointers to NULL, correct use of "mustfree". (partly by
11187 Dominique Pelle)
11188Files: src/mis1.c
11189
11190Patch 7.3.170
11191Problem: VMS Makefile for testing was not updated for test77.
11192Solution: Add test77 to the Makefile.
11193Files: src/testdir/Make_vms.mms
11194
11195Patch 7.3.171
11196Problem: When the clipboard isn't supported: ":yank*" gives a confusing
11197 error message.
11198Solution: Specifically mention that the register name is invalid.
11199 (Jean-Rene David)
11200Files: runtime/doc/change.txt, src/ex_docmd.c, src/globals.h
11201
11202Patch 7.3.172
11203Problem: MS-Windows: rename() might delete the file if the name differs but
11204 it's actually the same file.
11205Solution: Use the file handle to check if it's the same file. (Yukihiro
11206 Nakadaira)
11207Files: src/if_cscope.c, src/fileio.c, src/os_win32.c,
11208 src/proto/os_win32.pro, src/vim.h
11209
11210Patch 7.3.173
11211Problem: After using setqflist() to make the quickfix list empty ":cwindow"
11212 may open the window anyway. Also after ":vimgrep".
11213Solution: Correctly check whether the list is empty. (Ingo Karkat)
11214Files: src/quickfix.c
11215
11216Patch 7.3.174
11217Problem: When Exuberant ctags binary is exctags it's not found.
11218Solution: Add configure check for exctags. (Hong Xu)
11219Files: src/configure.in, src/auto/configure
11220
11221Patch 7.3.175
11222Problem: When 'colorcolumn' is set locally to a window, ":new" opens a
11223 window with the same highlighting but 'colorcolumn' is empty.
11224 (Tyru)
11225Solution: Call check_colorcolumn() after clearing and copying options.
11226 (Christian Brabandt)
11227Files: src/buffer.c
11228
11229Patch 7.3.176
11230Problem: Ruby linking doesn't work properly on Mac OS X.
11231Solution: Fix the configure check for Ruby. (Bjorn Winckler)
11232Files: src/configure.in, src/auto/configure
11233
11234Patch 7.3.177
11235Problem: MS-Windows: mkdir() doesn't work properly when 'encoding' is
11236 "utf-8".
11237Solution: Convert to utf-16. (Yukihiro Nakadaira)
11238Files: src/os_win32.c, src/os_win32.h, src/proto/os_win32.pro
11239
11240Patch 7.3.178
11241Problem: C-indent doesn't handle code right after { correctly.
11242Solution: Fix detecting unterminated line. (Lech Lorens)
11243Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
11244
11245Patch 7.3.179
11246Problem: C-indent doesn't handle colon in string correctly.
11247Solution: Skip the string. (Lech Lorens)
11248Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
11249
11250Patch 7.3.180
11251Problem: When both a middle part of 'comments' matches and an end part, the
Bram Moolenaardd007ed2013-07-09 15:44:17 +020011252 middle part was used erroneously.
Bram Moolenaar913df812013-07-06 15:44:11 +020011253Solution: After finding the middle part match continue looking for a better
11254 end part match. (partly by Lech Lorens)
11255Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
11256
11257Patch 7.3.181
11258Problem: When repeating the insert of CTRL-V or a digraph the display may
11259 not be updated correctly.
11260Solution: Only call edit_unputchar() after edit_putchar(). (Lech Lorens)
11261Files: src/edit.c
11262
11263Patch 7.3.182 (after 7.3.180)
11264Problem: Compiler warning for uninitialized variable.
11265Solution: Add dummy initializer.
11266Files: src/misc1.c
11267
11268Patch 7.3.183 (after 7.3.174)
11269Problem: When Exuberant ctags binary is exuberant-ctags it's not found.
11270Solution: Add configure check for exuberant-ctags.
11271Files: src/configure.in, src/auto/configure
11272
11273Patch 7.3.184
11274Problem: Static code analysis errors in riscOS.
11275Solution: Make buffer size bigger. (Dominique Pelle)
11276Files: src/gui_riscos.c
11277
11278Patch 7.3.185
11279Problem: ":windo g/pattern/q" closes windows and reports "N more lines".
11280 (Tim Chase)
11281Solution: Remember what buffer ":global" started in. (Jean-Rene David)
11282Files: src/ex_cmds.c
11283
11284Patch 7.3.186
11285Problem: When 'clipboard' contains "unnamed" or "unnamedplus" the value of
11286 v:register is wrong for operators without a specific register.
11287Solution: Adjust the register according to 'clipboard'. (Ingo Karkat)
11288Files: src/normal.c
11289
11290Patch 7.3.187
11291Problem: The RISC OS port has obvious errors and is not being maintained.
11292Solution: Remove the RISC OS files and code.
11293Files: src/ascii.h, src/eval.c, src/ex_cmds.c, src/ex_cmds2.c,
11294 src/ex_docmd.c, src/fileio.c, src/globals.h, src/gui.c, src/gui.h,
11295 src/main.c, src/memfile.c, src/memline.c, src/misc1.c,
11296 src/proto.h, src/quickfix.c, src/search.c, src/structs.h,
11297 src/term.c, src/termlib.c, src/version.c, src/vim.h,
11298 src/gui_riscos.h, src/os_riscos.h, src/gui_riscos.c,
11299 src/os_riscos.c, runtime/doc/os_risc.txt
11300
11301Patch 7.3.188
11302Problem: More RISC OS files to remove.
11303Solution: Remove them. Update the file list.
11304Files: src/proto/gui_riscos.pro, src/proto/os_riscos.pro, Filelist
11305
11306Patch 7.3.189 (after 7.3.186)
11307Problem: Can't build without +clipboard feature. (Christian Ebert)
11308Solution: Add the missing #ifdef.
11309Files: src/normal.c
11310
11311Patch 7.3.190
11312Problem: When there is a "containedin" syntax argument highlighting may be
11313 wrong. (Radek)
11314Solution: Reset current_next_list. (Ben Schmidt)
11315Files: src/syntax.c
11316
11317Patch 7.3.191
11318Problem: Still some RISC OS stuff to remove.
11319Solution: Remove files and lines. (Hong Xu)
11320 Remove the 'osfiletype' option code.
11321Files: README_extra.txt, src/Make_ro.mak, src/INSTALL, src/Makefile,
11322 src/buffer.c, src/eval.c, src/feature.h, src/option.c,
11323 src/option.h, src/structs.h, src/version.c, src/pty.c, Filelist
11324
11325Patch 7.3.192
11326Problem: Ex command ":s/ \?/ /g" splits multi-byte characters into bytes.
11327 (Dominique Pelle)
11328Solution: Advance over whole character instead of one byte.
11329Files: src/ex_cmds.c
11330
11331Patch 7.3.193
11332Problem: In the command line window ":close" doesn't work properly. (Tony
11333 Mechelynck)
11334Solution: Use Ctrl_C instead of K_IGNORE for cmdwin_result. (Jean-Rene
11335 David)
11336Files: src/ex_docmd.c, src/ex_getln.c
11337
11338Patch 7.3.194
11339Problem: When "b" is a symlink to directory "a", resolve("b/") doesn't
11340 result in "a/". (ZyX)
11341Solution: Remove the trailing slash. (Jean-Rene David)
11342Files: src/eval.c
11343
11344Patch 7.3.195
11345Problem: "} else" causes following lines to be indented too much. (Rouben
11346 Rostamian)
11347Solution: Better detection for the "else". (Lech Lorens)
11348Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
11349
11350Patch 7.3.196
11351Problem: Can't intercept a character that is going to be inserted.
11352Solution: Add the InsertCharPre autocommand event. (Jakson A. Aquino)
11353Files: runtime/doc/autocmd.txt, runtime/doc/eval.txt,
11354 runtime/doc/map.txt, src/edit.c, src/eval.c, src/fileio.c,
11355 src/vim.h
11356
11357Patch 7.3.197
11358Problem: When a QuickfixCmdPost event removes all errors, Vim still tries
11359 to jump to the first error, resulting in E42.
11360Solution: Get the number of error after the autocmd event. (Mike Lundy)
11361Files: src/quickfix.c
11362
11363Patch 7.3.198
11364Problem: No completion for ":lang".
11365Solution: Get locales to complete from. (Dominique Pelle)
11366Files: src/eval.c, src/ex_cmds2.c, src/ex_getln.c,
11367 src/proto/ex_cmds2.pro, src/proto/ex_getln.pro, src/vim.h
11368
11369Patch 7.3.199
11370Problem: MS-Windows: Compilation problem of OLE with MingW compiler.
11371Solution: Put #ifdef around declarations. (Guopeng Wen)
11372Files: src/if_ole.h
11373
11374Patch 7.3.200 (after 7.3.198)
11375Problem: CTRL-D doesn't complete :lang.
11376Solution: Add the missing part of the change. (Dominique Pelle)
11377Files: src/ex_docmd.c
11378
11379Patch 7.3.201 (after 7.3.195)
11380Problem: "} else" still causes following lines to be indented too much.
11381Solution: Better detection for the "else" block. (Lech Lorens)
11382Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
11383
11384Patch 7.3.202
11385Problem: Cannot influence the indent inside a namespace.
11386Solution: Add the "N" 'cino' parameter. (Konstantin Lepa)
11387Files: runtime/doc/indent.txt, src/misc1.c, src/testdir/test3.in,
11388 src/testdir/test3.ok
11389
11390Patch 7.3.203
11391Problem: MS-Windows: Can't run an external command without a console window.
11392Solution: Support ":!start /b cmd". (Xaizek)
11393Files: runtime/doc/os_win32.txt, src/os_win32.c
11394
11395Patch 7.3.204 (after 7.3.201)
11396Problem: Compiler warning.
11397Solution: Add type cast. (Mike Williams)
11398Files: src/misc1.c
11399
11400Patch 7.3.205
11401Problem: Syntax "extend" doesn't work correctly.
11402Solution: Avoid calling check_state_ends() recursively (Ben Schmidt)
11403Files: src/syntax.c
11404
11405Patch 7.3.206
11406Problem: 64bit MS-Windows compiler warning.
11407Solution: Use HandleToLong() instead of type cast. (Mike Williams)
11408Files: src/gui_w32.c
11409
11410Patch 7.3.207
11411Problem: Can't compile with MSVC with pentium4 and 64 bit.
11412Solution: Only use SSE2 for 32 bit. (Mike Williams)
11413Files: src/Make_mvc.mak
11414
11415Patch 7.3.208
11416Problem: Early terminated if statement.
11417Solution: Remove the semicolon. (Lech Lorens)
11418Files: src/gui_mac.c
11419
11420Patch 7.3.209
11421Problem: MSVC Install instructions point to wrong batch file.
11422Solution: Add a batch file for use with MSVC 10.
11423Files: src/msvc2010.bat, src/INSTALLpc.txt, Filelist
11424
11425Patch 7.3.210
11426Problem: Can't always find the file when using cscope.
11427Solution: Add the 'cscoperelative' option. (Raghavendra D Prabhu)
11428Files: runtime/doc/if_cscop.txt, runtime/doc/options.txt,
11429 src/if_cscope.c
11430
11431Patch 7.3.211 (after 7.3.210)
11432Problem: Compiler warning.
11433Solution: Add type cast.
11434Files: src/if_cscope.c
11435
11436Patch 7.3.212
11437Problem: With Python 3.2 ":py3" fails.
11438Solution: Move PyEval_InitThreads() to after Py_Initialize(). (Roland
11439 Puntaier) Check abiflags in configure. (Andreas Behr)
11440Files: src/if_python3.c, src/auto/configure, src/configure.in
11441
11442Patch 7.3.213
11443Problem: Javascript object literal is not indented correctly.
11444Solution: Make a special case for when "J1" is in 'cino'. (Luc Deschenaux)
11445Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
11446
11447Patch 7.3.214
11448Problem: The text displayed by ":z-" isn't exactly like old Vi.
11449Solution: Add one to the start line number. (ChangZhuo Chen)
11450Files: src/ex_cmds.c
11451
11452Patch 7.3.215 (after 7.3.210)
11453Problem: Wrong file names in previous patch. (Toothpik)
11454Solution: Include the option changes.
11455Files: src/option.c, src/option.h
11456
11457Patch 7.3.216
11458Problem: When recovering a file a range of lines is missing. (Charles Jie)
11459Solution: Reset the index when advancing to the next pointer block. Add a
11460 test to verify recovery works.
11461Files: src/memline.c, src/testdir/test78.in, src/testdir/test78.ok,
11462 src/testdir/Makefile, src/testdir/Make_amiga.mak,
11463 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
11464 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms
11465
11466Patch 7.3.217
11467Problem: Inside an "if" a ":wincmd" causes problems.
11468Solution: When skipping commands let ":wincmd" skip over its argument.
11469Files: src/ex_docmd.c
11470
11471Patch 7.3.218 (after 7.3.212)
11472Problem: Tiny configuration problem with Python 3.
11473Solution: Add abiflags in one more place. (Andreas Behr)
11474Files: src/auto/configure, src/configure.in
11475
11476Patch 7.3.219
11477Problem: Can't compile with GTK on Mac.
11478Solution: Add some #ifdef trickery. (Ben Schmidt)
11479Files: src/os_mac_conv.c, src/os_macosx.m, src/vim.h
11480
11481Patch 7.3.220
11482Problem: Python 3: vim.error is a 'str' instead of an 'Exception' object,
11483 so 'except' or 'raise' it causes a 'SystemError' exception.
11484 Buffer objects do not support slice assignment.
11485 When exchanging text between Vim and Python, multibyte texts become
Bram Moolenaardd007ed2013-07-09 15:44:17 +020011486 garbage or cause Unicode Exceptions, etc.
Bram Moolenaar913df812013-07-06 15:44:11 +020011487 'py3file' tries to read in the file as Unicode, sometimes causes
11488 UnicodeDecodeException
11489Solution: Fix the problems. (lilydjwg)
11490Files: src/if_py_both.h, src/if_python.c, src/if_python3.c
11491
11492Patch 7.3.221
11493Problem: Text from the clipboard is sometimes handled as linewise, but not
11494 consistently.
11495Solution: Assume the text is linewise when it ends in a CR or NL.
11496Files: src/gui_gtk_x11.c, src/gui_mac.c, src/ops.c, src/os_msdos.c,
11497 src/os_mswin.c, src/os_qnx.c, src/ui.c
11498
11499Patch 7.3.222
11500Problem: Warning for building GvimExt.
11501Solution: Comment-out the DESCRIPTION line. (Mike Williams)
11502Files: src/GvimExt/gvimext.def, src/GvimExt/gvimext_ming.def
11503
11504Patch 7.3.223
11505Problem: MingW cross compilation doesn't work with tiny features.
11506Solution: Move acp_to_enc(), enc_to_utf16() and utf16_to_enc() outside of
11507 "#ifdef CLIPBOARD". Fix typo in makefile.
11508Files: src/Make_ming.mak, src/os_mswin.c
11509
11510Patch 7.3.224
11511Problem: Can't pass dict to sort function.
11512Solution: Add the optional {dict} argument to sort(). (ZyX)
11513Files: runtime/doc/eval.txt, src/eval.c
11514
11515Patch 7.3.225
11516Problem: Using "\n" in a substitute inside ":s" does not result in a line
11517 break.
11518Solution: Change behavior inside vim_regexec_nl(). Add tests. (Motoya
11519 Kurotsu)
11520Files: src/regexp.c, src/testdir/test79.in, src/testdir/test79.ok,
11521 src/testdir/test80.in, src/testdir/test80.ok,
11522 src/testdir/Makefile, src/testdir/Make_amiga.mak,
11523 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
11524 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms
11525
11526Patch 7.3.226
11527Problem: On a 64 bit system "syn sync fromstart" is very slow. (Bjorn
11528 Steinbrink)
11529Solution: Store the state when starting to parse from the first line.
11530Files: src/syntax.c
11531
11532Patch 7.3.227 (after 7.3.221)
11533Problem: Mac OS doesn't have the linewise clipboard fix.
11534Solution: Also change the Mac OS file. (Bjorn Winckler)
11535Files: src/os_macosx.m
11536
11537Patch 7.3.228
11538Problem: "2gj" does not always move to the correct position.
11539Solution: Get length of line after moving to a next line. (James Vega)
11540Files: src/normal.c
11541
11542Patch 7.3.229
11543Problem: Using fork() makes gvim crash on Mac when build with
11544 CoreFoundation.
11545Solution: Disallow fork() when __APPLE__ is defined. (Hisashi T Fujinaka)
11546Files: src/gui.c
11547
11548Patch 7.3.230
11549Problem: ":wundo" and ":rundo" don't unescape their argument. (Aaron
11550 Thoma)
11551Solution: Use FILE1 instead of XFILE.
11552Files: src/ex_cmds.h
11553
11554Patch 7.3.231
11555Problem: Runtime file patches failed.
11556Solution: Redo the patches made against the patched files instead of the
11557 files in the mercurial repository.
11558Files: runtime/doc/indent.txt, runtime/doc/os_win32.txt
11559
11560Patch 7.3.232
11561Problem: Python doesn't compile without +multi_byte
11562Solution: Use "latin1" when MULTI_BYTE is not defined.
11563Files: src/if_py_both.h
11564
11565Patch 7.3.233
11566Problem: ":scriptnames" and ":breaklist" show long file names.
11567Solution: Shorten to use "~/" when possible. (Jean-Rene David)
11568Files: src/ex_cmds2.c
11569
11570Patch 7.3.234
11571Problem: With GTK menu may be popping down.
11572Solution: Use event time instead of GDK_CURRENT_TIME. (Hong Xu)
11573Files: src/gui.c, src/gui.h, src/gui_gtk.c, src/gui_gtk_x11.c
11574
11575Patch 7.3.235
11576Problem: ";" gets stuck on a "t" command, it's not useful.
11577Solution: Add the ';' flag in 'cpo'. (Christian Brabandt)
11578Files: runtime/doc/motion.txt, runtime/doc/options.txt, src/option.h,
11579 src/search.c src/testdir/test81.in, src/testdir/test81.ok,
11580 src/testdir/Makefile, src/testdir/Make_amiga.mak,
11581 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
11582 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms
11583
11584Patch 7.3.236 (after 7.3.232)
11585Problem: Python 3 doesn't compile without +multi_byte
11586Solution: Use "latin1" when MULTI_BYTE is not defined. (lilydjwg)
11587Files: src/if_python3.c
11588
11589Patch 7.3.237
11590Problem: "filetype" completion doesn't work on Windows. (Yue Wu)
11591Solution: Don't use a glob pattern for the directories, use a list of
11592 directories. (Dominique Pelle)
11593Files: src/ex_getln.c
11594
11595Patch 7.3.238
11596Problem: Compiler warning for conversion.
11597Solution: Add type cast. (Mike Williams)
11598Files: src/ex_getln.c
11599
11600Patch 7.3.239
11601Problem: Python corrects the cursor column without taking 'virtualedit'
11602 into account. (lilydjwg)
11603Solution: Call check_cursor_col_win().
11604Files: src/if_py_both.h, src/mbyte.c, src/misc2.c, src/normal.c,
11605 src/proto/mbyte.pro, src/proto/misc2.pro
11606
11607Patch 7.3.240
11608Problem: External commands can't use pipes on MS-Windows.
11609Solution: Implement pipes and use them when 'shelltemp' isn't set. (Vincent
11610 Berthoux)
11611Files: src/eval.c, src/ex_cmds.c, src/misc2.c, src/os_unix.c,
11612 src/os_win32.c, src/proto/misc2.pro, src/ui.c
11613
11614Patch 7.3.241
11615Problem: Using CTRL-R CTRL-W on the command line may insert only part of
11616 the word.
11617Solution: Use the cursor position instead of assuming it is at the end of
11618 the command. (Tyru)
11619Files: src/ex_getln.c
11620
11621Patch 7.3.242
11622Problem: Illegal memory access in after_pathsep().
11623Solution: Check that the pointer is not at the start of the file name.
11624 (Dominique Pelle)
11625Files: src/misc2.c
11626
11627Patch 7.3.243
11628Problem: Illegal memory access in readline().
11629Solution: Swap the conditions. (Dominique Pelle)
11630Files: src/eval.c
11631
11632Patch 7.3.244
11633Problem: MS-Windows: Build problem with old compiler. (John Beckett)
11634Solution: Only use HandleToLong() when available. (Mike Williams)
11635Files: src/gui_w32.c
11636
11637Patch 7.3.245
11638Problem: Python 3.2 libraries not correctly detected.
11639Solution: Add the suffix to the library name. (Niclas Zeising)
11640Files: src/auto/configure, src/configure.in
11641
11642Patch 7.3.246 (after 7.3.235)
11643Problem: Repeating "f4" in "4444" skips one 4.
11644Solution: Check the t_cmd flag. (Christian Brabandt)
11645Files: src/search.c
11646
11647Patch 7.3.247
11648Problem: Running tests changes the users viminfo file. Test for patch
11649 7.3.246 missing.
11650Solution: Add "nviminfo" to the 'viminfo' option. Include the test.
11651Files: src/testdir/test78.in, src/testdir/test81.in
11652
11653Patch 7.3.248
11654Problem: PC Install instructions missing install instructions.
11655Solution: Step-by-step explanation. (Michael Soyka)
11656Files: src/INSTALLpc.txt
11657
11658Patch 7.3.249
11659Problem: Wrong indenting for array initializer.
11660Solution: Detect '}' in a better way. (Lech Lorens)
11661Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
11662
11663Patch 7.3.250
11664Problem: Python: Errors in Unicode characters not handled nicely.
11665Solution: Add the surrogateescape error handler. (lilydjwg)
11666Files: src/if_python3.c
11667
11668Patch 7.3.251
11669Problem: "gH<Del>" deletes the current line, except when it's the last
11670 line.
11671Solution: Set the "include" flag to indicate the last line is to be deleted.
11672Files: src/normal.c, src/ops.c
11673
11674Patch 7.3.252 (after 7.3.247)
11675Problem: Tests fail. (David Northfield)
11676Solution: Add missing update for .ok file.
11677Files: src/testdir/test81.ok
11678
11679Patch 7.3.253
11680Problem: "echo 'abc' > ''" returns 0 or 1, depending on 'ignorecase'.
11681 Checks in mb_strnicmp() for illegal and truncated bytes are
11682 wrong. Should not assume that byte length is equal before case
11683 folding.
11684Solution: Add utf_safe_read_char_adv() and utf_strnicmp(). Add a test for
11685 this. (Ivan Krasilnikov)
11686Files: src/mbyte.c src/testdir/test82.in, src/testdir/test82.ok,
11687 src/testdir/Makefile, src/testdir/Make_amiga.mak,
11688 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
11689 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms
11690
11691Patch 7.3.254
11692Problem: The coladd field is not reset when setting the line number for a
11693 ":call" command.
11694Solution: Reset it.
11695Files: src/eval.c
11696
11697Patch 7.3.255
11698Problem: When editing a file such as "File[2010-08-15].vim" an E16 error is
11699 given. (Manuel Stol)
11700Solution: Don't give an error for failing to compile the regexp.
11701Files: src/ex_docmd.c, src/misc1.c, src/vim.h
11702
11703Patch 7.3.256
11704Problem: Javascript indenting not sufficiently tested.
11705Solution: Add more tests. (Luc Deschenaux) Mark the lines that are indented
11706 wrong.
11707Files: src/testdir/test3.in, src/testdir/test3.ok
11708
11709Patch 7.3.257
11710Problem: Not all completions are available to user commands.
11711Solution: Add "color", "compiler", "file_in_path" and "locale". (Dominique
11712 Pelle)
11713Files: src/ex_docmd.c, runtime/doc/map.txt
11714
11715Patch 7.3.258
11716Problem: MS-Windows: The edit with existing vim context menu entries can be
11717 unwanted.
11718Solution: Let a registry entry disable them. (Jerome Vuarand)
11719Files: src/GvimExt/gvimext.cpp
11720
11721Patch 7.3.259
11722Problem: Equivalence classes only work for latin characters.
11723Solution: Add the Unicode equivalence characters. (Dominique Pelle)
11724Files: runtime/doc/pattern.txt, src/regexp.c, src/testdir/test44.in,
11725 src/testdir/test44.ok
11726
11727Patch 7.3.260
11728Problem: CursorHold triggers on an incomplete mapping. (Will Gray)
11729Solution: Don't trigger CursorHold when there is typeahead.
11730Files: src/fileio.c
11731
11732Patch 7.3.261
11733Problem: G++ error message errornously recognized as error.
11734Solution: Ignore "In file included from" line also when it ends in a colon.
11735 (Fernando Castillo)
11736Files: src/option.h
11737
11738Patch 7.3.262
11739Problem: Photon code style doesn't match Vim style.
11740Solution: Clean up some of it. (Elias Diem)
11741Files: src/gui_photon.c
11742
11743Patch 7.3.263
11744Problem: Perl and Tcl have a few code style problems.
11745Solution: Clean it up. (Elias Diem)
11746Files: src/if_perl.xs, src/if_tcl.c
11747
11748Patch 7.3.264
11749Problem: When the current directory name contains wildcard characters, such
11750 as "foo[with]bar", the tags file can't be found. (Jeremy
11751 Erickson)
11752Solution: When searching for matching files also match without expanding
11753 wildcards. This is a bit of a hack.
11754Files: src/vim.h, src/misc1.c, src/misc2.c
11755
11756Patch 7.3.265
11757Problem: When storing a pattern in search history there is no proper check
11758 for the separator character.
11759Solution: Pass the separator character to in_history(). (Taro Muraoka)
11760Files: src/ex_getln.c
11761
11762Patch 7.3.266
11763Problem: In Gvim with iBus typing space in Insert mode doesn't work.
11764Solution: Clear xim_expected_char after checking it.
11765Files: src/mbyte.c
11766
11767Patch 7.3.267
11768Problem: Ruby on Mac OS X 10.7 may crash.
11769Solution: Avoid alloc(0). (Bjorn Winckler)
11770Files: src/if_ruby.c
11771
11772Patch 7.3.268
11773Problem: Vim freezes when executing an external command with zsh.
11774Solution: Use O_NOCTTY both in the master and slave. (Bjorn Winckler)
11775Files: src/os_unix.c
11776
11777Patch 7.3.269
11778Problem: 'shellcmdflag' only works with one flag.
11779Solution: Split into multiple arguments. (Gary Johnson)
11780Files: src/os_unix.c
11781
11782Patch 7.3.270
11783Problem: Illegal memory access.
11784Solution: Swap conditions. (Dominique Pelle)
11785Files: src/ops.c
11786
11787Patch 7.3.271
11788Problem: Code not following Vim coding style.
11789Solution: Fix the style. (Elias Diem)
11790Files: src/gui_photon.c
11791
11792Patch 7.3.272
11793Problem: ":put =list" does not add an empty line for a trailing empty
11794 item.
11795Solution: Add a trailing NL when turning a list into a string.
11796Files: src/eval.c
11797
11798Patch 7.3.273
11799Problem: A BOM in an error file is seen as text. (Aleksey Baibarin)
11800Solution: Remove the BOM from the text before evaluating. (idea by Christian
11801 Brabandt)
11802Files: src/quickfix.c, src/mbyte.c, src/proto/mbyte.pro,
11803 src/testdir/test10.in
11804
11805Patch 7.3.274
11806Problem: With concealed characters tabs do not have the right size.
11807Solution: Use VCOL_HLC instead of vcol. (Eiichi Sato)
11808Files: src/screen.c
11809
11810Patch 7.3.275
11811Problem: MS-Windows: When using a black background some screen updates
11812 cause the window to flicker.
11813Solution: Add WS_CLIPCHILDREN to CreateWindow(). (René Aguirre)
11814Files: src/gui_w32.c
11815
11816Patch 7.3.276
11817Problem: GvimExt sets $LANG in the wrong way.
11818Solution: Save the environment and use it for gvim. (Yasuhiro Matsumoto)
11819Files: src/GvimExt/gvimext.cpp
11820
11821Patch 7.3.277
11822Problem: MS-Windows: some characters do not show in dialogs.
11823Solution: Use the wide methods when available. (Yanwei Jia)
11824Files: src/gui_w32.c, src/gui_w48.c, src/os_mswin.c, src/os_win32.c,
11825 src/os_win32.h
11826
11827Patch 7.3.278
11828Problem: Passing the file name to open in VisVim doesn't work.
11829Solution: Adjust the index and check for end of buffer. (Jiri Sedlak)
11830Files: src/VisVim/Commands.cpp
11831
11832Patch 7.3.279
11833Problem: With GTK, when gvim is full-screen and a tab is opened and using a
11834 specific monitor configuration the window is too big.
11835Solution: Adjust the window size like on MS-Windows. (Yukihiro Nakadaira)
11836Files: src/gui.c, src/gui_gtk_x11.c, src/proto/gui_gtk_x11.pro
11837
11838Patch 7.3.280
11839Problem: ":lmake" does not update the quickfix window title.
11840Solution: Update the title. (Lech Lorens)
11841Files: src/quickfix.c, src/testdir/test10.in, src/testdir/test10.ok
11842
11843Patch 7.3.281
11844Problem: After using "expand('%:8')" the buffer name is changed.
11845Solution: Make a copy of the file name before shortening it.
11846Files: src/eval.c
11847
11848Patch 7.3.282
11849Problem: When using input() and :echo in a loop the displayed text is
11850 incorrect. (Benjamin Fritz)
11851Solution: Only restore the cursor position when there is a command line.
11852 (Ben Schmidt)
11853Files: src/ex_getln.c
11854
11855Patch 7.3.283
11856Problem: An expression mapping with a multi-byte character containing a
11857 0x80 byte gets messed up. (ZyX)
11858Solution: Unescape the expression before evaluating it (Yukihiro Nakadaira)
11859Files: src/getchar.c
11860
11861Patch 7.3.284
11862Problem: The str2special() function doesn't handle multi-byte characters
11863 properly.
11864Solution: Recognize multi-byte characters. (partly by Vladimir Vichniakov)
11865Files: src/getchar.c, src/message.c, src/misc2.c
11866
11867Patch 7.3.285 (after 7.3.284)
11868Problem: Mapping <Char-123> no longer works.
11869Solution: Properly check for "char-". Add a test for it.
11870Files: src/misc2.c, src/testdir/test75.in, src/testdir/test75.ok
11871
11872Patch 7.3.286
11873Problem: Crash when using "zd" on a large number of folds. (Sam King)
11874Solution: Recompute pointer after reallocating array. Move fewer entries
11875 when making room.
11876Files: src/fold.c
11877
11878Patch 7.3.287
11879Problem: Can't compile with MSVC and tiny options.
11880Solution: Move variables and #ifdefs. (Sergey Khorev)
11881Files: src/os_win32.c
11882
11883Patch 7.3.288
11884Problem: has('python') may give an error message for not being able to load
11885 the library after using python3.
11886Solution: Only give the error when the verbose argument is true.
11887Files: src/if_python.c, src/if_python3.c
11888
11889Patch 7.3.289
11890Problem: Complete function isn't called when the leader changed.
11891Solution: Call ins_compl_restart() when the leader changed. (Taro Muraoka)
11892Files: src/edit.c
11893
11894Patch 7.3.290
11895Problem: When a BufWriteCmd autocommand resets 'modified' this doesn't
11896 change older buffer states to be marked as 'modified' like
11897 ":write" does. (Yukihiro Nakadaira)
11898Solution: When the BufWriteCmd resets 'modified' then adjust the undo
11899 information like ":write" does.
11900Files: src/fileio.c
11901
11902Patch 7.3.291
11903Problem: Configure doesn't work properly with Python3.
11904Solution: Put -ldl before $LDFLAGS. Add PY3_NO_RTLD_GLOBAL. (Roland
11905 Puntaier)
11906Files: src/config.h.in, src/auto/configure, src/configure.in
11907
11908Patch 7.3.292
11909Problem: Crash when using fold markers and selecting a visual block that
11910 includes a folded line and goes to end of line. (Sam Lidder)
11911Solution: Check for the column to be MAXCOL. (James Vega)
11912Files: src/screen.c
11913
11914Patch 7.3.293
11915Problem: MSVC compiler has a problem with non-ASCII characters.
11916Solution: Avoid non-ASCII characters. (Hong Xu)
11917Files: src/ascii.h, src/spell.c
11918
11919Patch 7.3.294 (after 7.3.289)
11920Problem: Patch 289 causes more problems than it solves.
Bram Moolenaardd007ed2013-07-09 15:44:17 +020011921Solution: Revert the patch until a better solution is found.
Bram Moolenaar913df812013-07-06 15:44:11 +020011922Files: src/edit.c
11923
11924Patch 7.3.295
11925Problem: When filtering text with an external command Vim may not read all
11926 the output.
11927Solution: When select() is interrupted loop and try again. (James Vega)
11928Files: src/os_unix.c
11929
11930Patch 7.3.296
11931Problem: When writing to an external command a zombie process may be left
11932 behind.
11933Solution: Wait on the process. (James Vega)
11934Files: src/os_unix.c
11935
11936Patch 7.3.297
11937Problem: Can't load Perl 5.14 dynamically.
11938Solution: Add code in #ifdefs. (Charles Cooper)
11939Files: if_perl.xs
11940
11941Patch 7.3.298
11942Problem: Built-in colors are different from rgb.txt.
11943Solution: Adjust the color values. (Benjamin Haskell)
11944Files: src/gui_photon.c, src/gui_w48.c
11945
11946Patch 7.3.299
11947Problem: Source code not in Vim style.
11948Solution: Adjust the style. (Elias Diem)
11949Files: src/gui_photon.c
11950
11951Patch 7.3.300
11952Problem: Python doesn't parse multi-byte argument correctly.
11953Solution: Use "t" instead of "s". (lilydjwg)
11954Files: src/if_py_both.h
11955
11956Patch 7.3.301
11957Problem: When 'smartindent' and 'copyindent' are set a Tab is used even
11958 though 'expandtab' is set.
11959Solution: Do not insert Tabs. Add a test. (Christian Brabandt)
11960Files: src/misc1.c, src/testdir/test19.in, src/testdir/test19.ok
11961
11962Patch 7.3.302 (after 7.3.301)
11963Problem: Test 19 fails without 'smartindent' and +eval.
11964Solution: Don't use ":exe". Source small.vim.
11965Files: src/testdir/test19.in
11966
11967Patch 7.3.303 (after 7.3.296)
11968Problem: Compilation error.
11969Solution: Correct return type from int to pid_t. (Danek Duvall)
11970Files: src/os_unix.c
11971
11972Patch 7.3.304
11973Problem: Strawberry Perl doesn't work on MS-Windows.
11974Solution: Use xsubpp if needed. (Yasuhiro Matsumoto)
11975Files: src/Make_ming.mak, src/Make_mvc.mak
11976
11977Patch 7.3.305
11978Problem: Auto-loading a function while editing the command line causes
11979 scrolling up the display.
11980Solution: Don't set msg_scroll when defining a function and the user is not
11981 typing. (Yasuhiro Matsumoto)
11982Files: src/eval.c
11983
11984Patch 7.3.306
11985Problem: When closing a window there is a chance that deleting a scrollbar
11986 triggers a GUI resize, which uses the window while it is not in a
11987 valid state.
11988Solution: Set the buffer pointer to NULL to be able to detect the invalid
11989 situation. Fix a few places that used the buffer pointer
11990 incorrectly.
11991Files: src/buffer.c, src/ex_cmds.c, src/term.c, src/window.c
11992
11993Patch 7.3.307
11994Problem: Python 3 doesn't support slice assignment.
11995Solution: Implement slices. (Brett Overesch, Roland Puntaier)
11996Files: src/if_python3.c
11997
11998Patch 7.3.308
11999Problem: Writing to 'verbosefile' has problems, e.g. for :highlight.
12000Solution: Do not use a separate verbose_write() function but write with the
12001 same code that does redirecting. (Yasuhiro Matsumoto)
12002Files: src/message.c
12003
12004Patch 7.3.309 (after 7.3.307)
12005Problem: Warnings for pointer types.
12006Solution: Change PySliceObject to PyObject.
12007Files: src/if_python3.c
12008
12009Patch 7.3.310
12010Problem: Code not following Vim style.
12011Solution: Fix the style. (Elias Diem)
12012Files: src/gui_photon.c
12013
12014Patch 7.3.311 (replaces 7.3.289)
12015Problem: Complete function isn't called when the leader changed.
12016Solution: Allow the complete function to return a dictionary with a flag
12017 that indicates ins_compl_restart() is to be called when the leader
12018 changes. (Taro Muraoka)
12019Files: runtime/insert.txt, src/edit.c, src/eval.c, src/proto/eval.pro
12020
12021Patch 7.3.312 (after 7.3.306)
12022Problem: Can't compile with tiny features.
12023Solution: Add #ifdef around win_valid().
12024Files: src/buffer.c
12025
12026Patch 7.3.313 after 7.3.307)
12027Problem: One more warning when compiling with dynamic Python 3.
12028Solution: Change PySliceObject to PyObject.
12029Files: src/if_python3.c
12030
12031Patch 7.3.314 (after 7.3.304)
12032Problem: Missing parenthesis.
12033Solution: Add it. (Benjamin R. Haskell)
12034Files: src/Make_mvc.mak
12035
12036Patch 7.3.315
12037Problem: Opening a window before forking causes problems for GTK.
12038Solution: Fork first, create the window in the child and report back to the
12039 parent process whether it worked. If successful the parent exits,
12040 if unsuccessful the child exits and the parent continues in the
12041 terminal. (Tim Starling)
12042Files: src/gui.c
12043
12044Patch 7.3.316 (after 7.3.306)
12045Problem: Crash when 'colorcolumn' is set and closing buffer.
12046Solution: Check for w_buffer to be NULL. (Yasuhiro Matsumoto)
12047Files: src/option.c
12048
12049Patch 7.3.317
12050Problem: Calling debug.debug() in Lua may cause Vim to hang.
12051Solution: Add a better debug method. (Rob Hoelz, Luis Carvalho)
12052Files: src/if_lua.c
12053
12054Patch 7.3.318
12055Problem: "C" on the last line deletes that line if it's blank.
12056Solution: Only delete the last line for a delete operation. (James Vega)
12057Files: src/ops.c
12058
12059Patch 7.3.319 (after 7.3.311)
12060Problem: Redobuff doesn't always include changes of the completion leader.
12061Solution: Insert backspaces as needed. (idea by Taro Muraoka)
12062Files: src/edit.c
12063
12064Patch 7.3.320
12065Problem: When a 0xa0 character is in a sourced file the error message for
12066 unrecognized command does not show the problem.
12067Solution: Display 0xa0 as <a0>.
12068Files: src/ex_docmd.c
12069
12070Patch 7.3.321
12071Problem: Code not following Vim style.
12072Solution: Fix the style. (Elias Diem)
12073Files: src/os_qnx.c
12074
12075Patch 7.3.322
12076Problem: #ifdef for PDP_RETVAL doesn't work, INT_PTR can be a typedef.
12077Solution: Check the MSC version and 64 bit flags. (Sergiu Dotenco)
12078Files: src/os_mswin.c
12079
12080Patch 7.3.323
12081Problem: The default 'errorformat' does not ignore some "included from"
12082 lines.
12083Solution: Add a few more patterns. (Ben Boeckel)
12084Files: src/option.h
12085
12086Patch 7.3.324 (after 7.3.237)
12087Problem: Completion for ":compiler" shows color scheme names.
12088Solution: Fix the directory name. (James Vega)
12089Files: src/ex_getln.c
12090
12091Patch 7.3.325
12092Problem: A duplicated function argument gives an internal error.
12093Solution: Give a proper error message. (based on patch by Tyru)
12094Files: src/eval.c
12095
12096Patch 7.3.326
12097Problem: MingW 4.6 no longer supports the -mno-cygwin option.
12098Solution: Split the Cygwin and MingW makefiles. (Matsushita Shougo)
12099Files: src/GvimExt/Make_cyg.mak, src/GvimExt/Make_ming.mak,
12100 src/Make_cyg.mak, src/Make_ming.mak, src/xxd/Make_ming.mak,
12101 Filelist
12102
12103Patch 7.3.327
12104Problem: When jumping to a help tag a closed fold doesn't open.
12105Solution: Save and restore KeyTyped. (Yasuhiro Matsumoto)
12106Files: src/ex_cmds.c
12107
12108Patch 7.3.328
12109Problem: When command line wraps the cursor may be displayed wrong when
12110 there are multi-byte characters.
12111Solution: Position the cursor before drawing the text. (Yasuhiro Matsumoto)
12112Files: src/ex_getln.c
12113
12114Patch 7.3.329
12115Problem: When skipping over code from ":for" to ":endfor" get an error for
12116 calling a dict function. (Yasuhiro Matsumoto)
12117Solution: Ignore errors when skipping over :call command.
12118Files: src/ex_docmd.c, src/eval.c
12119
12120Patch 7.3.330
12121Problem: When longjmp() is invoked if the X server gives an error the state
12122 is not properly restored.
12123Solution: Reset vgetc_busy. (Yukihiro Nakadaira)
12124Files: src/main.c
12125
12126Patch 7.3.331
12127Problem: "vit" selects wrong text when a tag name starts with the same text
12128 as an outer tag name. (Ben Fritz)
12129Solution: Add "\>" to the pattern to check for word boundary.
12130Files: src/search.c
12131
12132Patch 7.3.332 (after 7.3.202)
12133Problem: Indent after "public:" is not increased in C++ code. (Lech Lorens)
12134Solution: Check for namespace after the regular checks. (partly by Martin
12135 Gieseking)
12136Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
12137
12138Patch 7.3.333
12139Problem: Using "." to repeat a Visual delete counts the size in bytes, not
12140 characters. (Connor Lane Smith)
12141Solution: Store the virtual column numbers instead of byte positions.
12142Files: src/normal.c
12143
12144Patch 7.3.334
12145Problem: Latest MingW about XSUBPP referencing itself. (Gongqian Li)
12146Solution: Rename the first use to XSUBPPTRY.
12147Files: src/Make_ming.mak
12148
12149Patch 7.3.335
12150Problem: When 'imdisable' is reset from an autocommand in Insert mode it
12151 doesn't take effect.
12152Solution: Call im_set_active() in Insert mode. (Taro Muraoka)
12153Files: src/option.c
12154
12155Patch 7.3.336
12156Problem: When a tags file specifies an encoding different from 'enc' it
12157 may hang and using a pattern doesn't work.
12158Solution: Convert the whole line. Continue reading the header after the
12159 SORT tag. Add test83. (Yukihiro Nakadaira)
12160Files: src/tag.c, src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
12161 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
12162 src/testdir/Make_vms.mms, src/testdir/Makefile,
12163 src/testdir/test83-tags2, src/testdir/test83-tags3,
12164 src/testdir/test83.in, src/testdir/test83.ok
12165
12166Patch 7.3.337 (after 7.3.295)
12167Problem: Screen doesn't update after resizing the xterm until a character
12168 is typed.
12169Solution: When the select call is interrupted check do_resize. (Taylor
12170 Hedberg)
12171Files: src/os_unix.c
12172
12173Patch 7.3.338
12174Problem: Using getchar() in an expression mapping doesn't work well.
12175Solution: Don't save and restore the typeahead. (James Vega)
12176Files: src/getchar.c, src/testdir/test34.ok
12177
12178Patch 7.3.339
12179Problem: "make shadow" doesn't link all test files.
12180Solution: Add a line in Makefile and Filelist.
12181Files: src/Makefile, Filelist
12182
12183Patch 7.3.340
12184Problem: When 'verbosefile' is set ftplugof.vim can give an error.
12185Solution: Only remove filetypeplugin autocommands when they exist. (Yasuhiro
12186 Matsumoto)
12187Files: runtime/ftplugof.vim
12188
12189Patch 7.3.341
12190Problem: Local help files are only listed in help.txt, not in translated
12191 help files.
12192Solution: Also find translated help files. (Yasuhiro Matsumoto)
12193Files: src/ex_cmds.c
12194
12195Patch 7.3.342
12196Problem: Code not in Vim style.
12197Solution: Fix the style. (Elias Diem)
12198Files: src/os_amiga.c, src/os_mac_conv.c, src/os_win16.c
12199
12200Patch 7.3.343
12201Problem: No mouse support for urxvt.
12202Solution: Implement urxvt mouse support, also for > 252 columns. (Yiding
12203 Jia)
12204Files: src/feature.h, src/keymap.h, src/option.h, src/os_unix.c,
12205 src/term.c, src/version.c
12206
12207Patch 7.3.344
12208Problem: Problem with GUI startup related to XInitThreads.
12209Solution: Use read() and write() instead of fputs() and fread(). (James
12210 Vega)
12211Files: src/gui.c
12212
12213Patch 7.3.345
12214Problem: When switching language with ":lang" the window title doesn't
12215 change until later.
12216Solution: Update the window title right away. (Dominique Pelle)
12217Files: src/ex_cmds2.c
12218
12219Patch 7.3.346
12220Problem: It's hard to test netbeans commands.
12221Solution: Process netbeans commands after :sleep. (Xavier de Gaye)
12222Files: runtime/doc/netbeans.txt, src/ex_docmd.c, src/netbeans.c
12223
12224Patch 7.3.347
12225Problem: When dropping text from a browser on Vim it receives HTML even
12226 though "html" is excluded from 'clipboard'. (Andrei Avk)
12227Solution: Fix the condition for TARGET_HTML.
12228Files: src/gui_gtk_x11.c
12229
12230Patch 7.3.348
12231Problem: "call range(1, 947948399)" causes a crash. (ZyX)
12232Solution: Avoid a loop in the out of memory message.
12233Files: src/misc2.c
12234
12235Patch 7.3.349
12236Problem: When running out of memory during startup trying to open a
12237 swapfile will loop forever.
12238Solution: Let findswapname() set dirp to NULL if out of memory.
12239Files: src/memline.c
12240
12241Patch 7.3.350
12242Problem: Block of code after ":lua << EOF" may not work. (Paul Isambert)
12243Solution: Recognize the ":lua" command, skip to EOF.
12244Files: src/eval.c
12245
12246Patch 7.3.351
12247Problem: Text formatting uses start of insert position when it should not.
12248 (Peter Wagenaar)
12249Solution: Do not use Insstart when intentionally formatting.
12250Files: src/edit.c
12251
12252Patch 7.3.352
12253Problem: When completing methods dict functions and script-local functions
12254 get in the way.
12255Solution: Sort function names starting with "<" to the end. (Yasuhiro
12256 Matsumoto)
12257Files: src/ex_getln.c
12258
12259Patch 7.3.353 (after 7.3.343)
12260Problem: Missing part of the urxvt patch.
12261Solution: Add the change in term.c
12262Files: src/term.c
12263
12264Patch 7.3.354
12265Problem: ":set backspace+=eol" doesn't work when 'backspace' has a
12266 backwards compatible value of 2.
12267Solution: Convert the number to a string. (Hirohito Higashi)
12268Files: src/option.c
12269
12270Patch 7.3.355
12271Problem: GTK warnings when using netrw.vim. (Ivan Krasilnikov)
12272Solution: Do not remove the beval event handler twice.
12273Files: src/option.c
12274
12275Patch 7.3.356
12276Problem: Using "o" with 'cindent' set may freeze Vim. (lolilolicon)
12277Solution: Skip over {} correctly. (Hari G)
12278Files: src/misc1.c
12279
12280Patch 7.3.357
12281Problem: Compiler warning in MS-Windows console build.
12282Solution: Adjust return type of PrintHookProc(). (Mike Williams)
12283Files: src/os_mswin.c
12284
12285Patch 7.3.358 (after 7.3.353)
12286Problem: Mouse support doesn't work properly.
12287Solution: Add HMT_URXVT. (lilydjwg, James McCoy)
12288Files: src/term.c
12289
12290Patch 7.3.359
12291Problem: Command line completion shows dict functions.
12292Solution: Skip dict functions for completion. (Yasuhiro Matsumoto)
12293Files: src/eval.c
12294
12295Patch 7.3.360
12296Problem: Interrupting the load of an autoload function may cause a crash.
12297Solution: Do not use the hashitem when not valid. (Yukihiro Nakadaira)
12298Files: src/eval.c
12299
12300Patch 7.3.361
12301Problem: Accessing memory after it is freed when EXITFREE is defined.
12302Solution: Don't access curwin when firstwin is NULL. (Dominique Pelle)
12303Files: src/buffer.c
12304
12305Patch 7.3.362
12306Problem: ml_get error when using ":g" with folded lines.
12307Solution: Adjust the line number for changed_lines(). (Christian Brabandt)
12308Files: src/ex_cmds.c
12309
12310Patch 7.3.363
12311Problem: C indenting is wrong after #endif followed by a semicolon.
12312Solution: Add special handling for a semicolon in a line by itself. (Lech
12313 Lorens)
12314Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
12315
12316Patch 7.3.364 (after 7.3.353)
12317Problem: Can't compile on HP-UX. (John Marriott)
12318Solution: Only use TTYM_URXVT when it is defined.
12319Files: src/term.c
12320
12321Patch 7.3.365
12322Problem: Crash when using a large Unicode character in a file that has
12323 syntax highlighting. (ngollan)
12324Solution: Check for going past the end of the utf tables. (Dominique Pelle)
12325Files: src/mbyte.c
12326
12327Patch 7.3.366
12328Problem: A tags file with an extremely long name causes errors.
12329Solution: Ignore tags that are too long. (Arno Renevier)
12330Files: src/tag.c
12331
12332Patch 7.3.367
12333Problem: :wundo and :rundo use a wrong checksum.
12334Solution: Include the last line when computing the hash. (Christian Brabandt)
12335Files: src/undo.c
12336
12337Patch 7.3.368
12338Problem: Gcc complains about redefining _FORTIFY_SOURCE.
12339Solution: Undefine it before redefining it.
12340Files: src/Makefile, src/configure.in, src/auto/configure
12341
12342Patch 7.3.369
12343Problem: When compiled with Gnome get an error message when using --help.
12344Solution: Don't fork. (Ivan Krasilnikov)
12345Files: src/main.c
12346
12347Patch 7.3.370
12348Problem: Compiler warns for unused variable in Lua interface.
12349Solution: Remove the variable.
12350Files: src/if_lua.c
12351
12352Patch 7.3.371
12353Problem: Crash in autocomplete. (Greg Weber)
12354Solution: Check not going over allocated buffer size.
12355Files: src/misc2.c
12356
12357Patch 7.3.372
12358Problem: When using a command line mapping to <Up> with file name
12359 completion to go one directory up, 'wildchar' is inserted.
12360 (Yasuhiro Matsumoto)
12361Solution: Set the KeyTyped flag.
12362Files: src/ex_getln.c
12363
12364Patch 7.3.373 (after 7.3.366)
12365Problem: A tags file with an extremely long name may cause an infinite loop.
12366Solution: When encountering a long name switch to linear search.
12367Files: src/tag.c
12368
12369Patch 7.3.374
12370Problem: ++encoding does not work properly.
12371Solution: Recognize ++encoding before ++enc. (Charles Cooper)
12372Files: src/ex_docmd.c
12373
12374Patch 7.3.375
12375Problem: Duplicate return statement.
12376Solution: Remove the superfluous one. (Dominique Pelle)
12377Files: src/gui_mac.c
12378
12379Patch 7.3.376
12380Problem: Win32: Toolbar repainting does not work when the mouse pointer
12381 hovers over a button.
12382Solution: Call DefWindowProc() when not handling an event. (Sergiu Dotenco)
12383Files: src/gui_w32.c
12384
12385Patch 7.3.377
12386Problem: No support for bitwise AND, OR, XOR and invert.
12387Solution: Add and(), or(), invert() and xor() functions.
12388Files: src/eval.c, src/testdir/test49.in, src/testdir/test65.in,
12389 src/testdir/test65.ok, runtime/doc/eval.txt
12390
12391Patch 7.3.378
12392Problem: When cross-compiling the check for uint32_t fails.
12393Solution: Only give a warning message. (Maksim Melnikau)
12394Files: src/configure.in, src/auto/configure
12395
12396Patch 7.3.379
12397Problem: C-indenting wrong for static enum.
12398Solution: Skip over "static". (Lech Lorens)
12399Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
12400
12401Patch 7.3.380
12402Problem: C-indenting wrong for a function header.
12403Solution: Skip to the start paren. (Lech Lorens)
12404Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
12405
12406Patch 7.3.381
12407Problem: Configure silently skips interfaces that won't work.
12408Solution: Add the --enable-fail_if_missing argument. (Shlomi Fish)
12409Files: src/Makefile, src/configure.in, src/auto/configure
12410
12411Patch 7.3.382 (after 7.3.376)
12412Problem: IME characters are inserted twice.
12413Solution: Do not call DefWindowProc() if the event was handled. (Yasuhiro
12414 Matsumoto)
12415Files: src/gui_w32.c
12416
12417Patch 7.3.383
12418Problem: For EBCDIC pound sign is defined as 't'.
12419Solution: Correctly define POUND.
12420Files: src/ascii.h
12421
12422Patch 7.3.384
12423Problem: Mapping CTRL-K in Insert mode breaks CTRL-X CTRL-K for dictionary
12424 completion.
12425Solution: Add CTRL-K to the list of recognized keys. (James McCoy)
12426Files: src/edit.c
12427
12428Patch 7.3.385
12429Problem: When using an expression mapping on the command line the cursor
12430 ends up in the wrong place. (Yasuhiro Matsumoto)
12431Solution: Save and restore msg_col and msg_row when evaluating the
12432 expression.
12433Files: src/getchar.
12434
12435Patch 7.3.386
12436Problem: Test 83 fails when iconv does not support cp932. (raf)
12437Solution: Test if conversion works. (Yukihiro Nakadaira)
12438Files: src/testdir/test83.in
12439
12440Patch 7.3.387 (after 7.3.386)
12441Problem: Test 83 may fail for some encodings.
12442Solution: Set 'encoding' to utf-8 earlier.
12443Files: src/testdir/test83.in
12444
12445Patch 7.3.388
12446Problem: Crash on exit when EXITFREE is defined and using tiny features.
12447Solution: Check for NULL window pointer. (Dominique Pelle)
12448Files: src/buffer.c
12449
12450Patch 7.3.389
12451Problem: After typing at a prompt the "MORE" message appears too soon.
12452Solution: reset lines_left in msg_end_prompt(). (Eswald)
12453Files: src/message.c
12454
12455Patch 7.3.390
12456Problem: Using NULL buffer pointer in a window.
12457Solution: Check for w_buffer being NULL in more places. (Bjorn Winckler)
12458Files: src/ex_cmds.c, src/quickfix.c, src/window.c
12459
12460Patch 7.3.391
12461Problem: Can't check if the XPM_W32 feature is enabled.
12462Solution: Add xpm_w32 to the list of features. (kat)
12463Files: src/eval.c
12464
12465Patch 7.3.392
12466Problem: When setting 'undofile' while the file is already loaded but
12467 unchanged, try reading the undo file. (Andy Wokula)
12468Solution: Compute a checksum of the text when 'undofile' is set. (Christian
12469 Brabandt)
12470Files: src/option.c, src/testdir/test72.in, src/testdir/test72.ok
12471
12472Patch 7.3.393
12473Problem: Win32: When resizing Vim it is always moved to the primary monitor
12474 if the secondary monitor is on the left.
12475Solution: Use the nearest monitor. (Yukihiro Nakadaira)
12476Files: src/gui_w32.c
12477
12478Patch 7.3.394
12479Problem: When placing a mark while starting up a screen redraw messes up
12480 the screen. (lith)
12481Solution: Don't redraw while still starting up. (Christian Brabandt)
12482Files: src/screen.c
12483
12484Patch 7.3.395 (after 7.3.251)
12485Problem: "dv?bar" in the last line deletes too much and breaks undo.
12486Solution: Only adjust the cursor position when it's after the last line of
12487 the buffer. Add a test. (Christian Brabandt)
12488Files: src/ops.c, src/testdir/test43.in, src/testdir/test43.ok
12489
12490Patch 7.3.396
12491Problem: After forcing an operator to be characterwise it can still become
12492 linewise when spanning whole lines.
12493Solution: Don't make the operator linewise when motion_force was set.
12494 (Christian Brabandt)
12495Files: src/ops.c
12496
12497Patch 7.3.397
12498Problem: ":helpgrep" does not work properly when 'encoding' is not utf-8 or
12499 latin1.
12500Solution: Convert non-ascii lines to 'encoding'. (Yasuhiro Matsumoto)
12501Files: src/quickfix.c, src/spell.c, src/misc2.c, src/proto/misc2.pro
12502
12503Patch 7.3.398
12504Problem: When creating more than 10 location lists and adding items one by
12505 one a previous location may be used. (Audrius Kažukauskas)
12506Solution: Clear the location list completely when adding the tenth one.
12507Files: src/quickfix.c
12508
12509Patch 7.3.399
12510Problem: ":cd" doesn't work when the path contains wildcards. (Yukihiro
12511 Nakadaira)
12512Solution: Ignore wildcard errors when the EW_NOTWILD flag is used.
12513Files: src/misc1.c
12514
12515Patch 7.3.400
12516Problem: Compiler warnings for shadowed variables.
12517Solution: Remove or rename the variables.
12518Files: src/charset.c, src/digraph.c, src/edit.c, src/eval.c, src/fold.c,
12519 src/getchar.c, src/message.c, src/misc2.c, src/move.c,
12520 src/netbeans.c, src/option.c, src/os_unix.c, src/screen.c,
12521 src/search.c, src/spell.c, src/syntax.c, src/tag.c, src/window.c
12522
12523Patch 7.3.401
12524Problem: A couple more shadowed variables.
12525Solution: Rename the variables.
12526Files: src/netbeans.c
12527
12528Patch 7.3.402
12529Problem: When jumping to the first error a line of the buffer is sometimes
12530 redrawn on top of the list of errors.
12531Solution: Do not call update_topline_redraw() if the display was scrolled
12532 up.
12533Files: src/quickfix.c
12534
12535Patch 7.3.403
12536Problem: ":helpgrep" does not trigger QuickFixCmd* autocommands.
12537Solution: Trigger the autocommands. (Christian Brabandt)
12538Files: src/quickfix.c
12539
12540Patch 7.3.404
12541Problem: When a complete function uses refresh "always" redo will not work
12542 properly.
12543Solution: Do not reset compl_leader when compl_opt_refresh_always is set.
12544 (Yasuhiro Matsumoto)
12545Files: src/edit.c
12546
12547Patch 7.3.405
12548Problem: When xterm gets back the function keys it may delete the urxvt
12549 mouse termcap code.
12550Solution: Check for the whole code, not just the start. (Egmont Koblinger)
12551Files: src/keymap.h, src/misc2.c, src/term.c
12552
12553Patch 7.3.406
12554Problem: Multi-byte characters in b:browsefilter are not handled correctly.
12555Solution: First use convert_filter() normally and then convert to wide
12556 characters. (Taro Muraoka)
12557Files: src/gui_w48.c
12558
12559Patch 7.3.407
12560Problem: ":12verbose call F()" may duplicate text while trying to truncate.
12561 (Thinca)
12562Solution: Only truncate when there is not enough room. Also check the byte
12563 length of the buffer.
12564Files: src/buffer.c, src/eval.c, src/ex_getln.c, src/message.c,
12565 src/proto/message.pro
12566
12567Patch 7.3.408 (after 7.3.406)
12568Problem: Missing declaration.
12569Solution: Add the declaration. (John Marriott)
12570Files: src/gui_w48.c
12571
12572Patch 7.3.409
12573Problem: The license in pty.c is unclear.
12574Solution: Add a comment about the license.
12575Files: src/pty.c
12576
12577Patch 7.3.410
12578Problem: Compiler error for // comment. (Joachim Schmitz)
12579Solution: Turn into /* comment */.
12580Files: src/message.c
12581
12582Patch 7.3.411
12583Problem: Pasting in Visual mode using the "" register does not work. (John
12584 Beckett)
12585Solution: Detect that the write is overwriting the pasted register.
12586 (Christian Brabandt)
12587Files: src/normal.c
12588
12589Patch 7.3.412
12590Problem: Storing a float in a session file has an additional '&'.
12591Solution: Remove the '&'. (Yasuhiro Matsumoto)
12592Files: src/eval.c
12593
12594Patch 7.3.413
12595Problem: Build warnings on MS-Windows.
12596Solution: Add type casts. (Mike Williams)
12597Files: src/ex_getln.c, src/message.c, src/term.c
12598
12599Patch 7.3.414
12600Problem: Using CTRL-A on "000" drops the leading zero, while on "001" it
12601 doesn't.
12602Solution: Detect "000" as an octal number. (James McCoy)
12603Files: src/charset.c
12604
12605Patch 7.3.415 (after 7.3.359)
12606Problem: Completion of functions stops once a dictionary is encountered.
12607 (James McCoy)
12608Solution: Return an empty string instead of NULL.
12609Files: src/eval.c
12610
12611Patch 7.3.416 (after 7.3.415)
12612Problem: Compiler warning for wrong pointer.
12613Solution: Add type cast.
12614Files: src/eval.c
12615
12616Patch 7.3.417 (after 7.3.395)
12617Problem: Test 43 fails with a tiny build.
12618Solution: Only run test 43 with at least a small build.
12619Files: src/testdir/test43.in
12620
12621Patch 7.3.418
12622Problem: When a user complete function returns -1 an error message is
12623 given.
12624Solution: When -2 is returned stop completion silently. (Yasuhiro Matsumoto)
12625Files: src/edit.
12626
12627Patch 7.3.419
12628Problem: DBCS encoding in a user command does not always work.
12629Solution: Skip over DBCS characters. (Yasuhiro Matsumoto)
12630Files: src/ex_docmd.c
12631
12632Patch 7.3.420
12633Problem: "it" and "at" don't work properly with a dash in the tag name.
12634Solution: Require a space to match the tag name. (Christian Brabandt)
12635Files: src/search.c
12636
12637Patch 7.3.421
12638Problem: Get E832 when setting 'undofile' in vimrc and there is a file to
12639 be edited on the command line. (Toothpik)
12640Solution: Do not try reading the undo file for a file that wasn't loaded.
12641Files: src/option.c
12642
12643Patch 7.3.422
12644Problem: Python 3 does not have __members__.
12645Solution: Add "name" and "number" in another way. (lilydjwg)
12646Files: src/if_py_both.h, src/if_python3.c
12647
12648Patch 7.3.423
12649Problem: Small mistakes in comments, proto and indent.
12650Solution: Fix the mistakes.
12651Files: src/ex_cmds2.c, src/structs.h, src/ui.c, src/proto/ex_docmd.pro
12652
12653Patch 7.3.424
12654Problem: Win16 version missing some functions.
12655Solution: Add #defines for the functions.
12656Files: src/gui_w16.c
12657
12658Patch 7.3.425 (after 7.3.265)
12659Problem: Search history lines are duplicated. (Edwin Steiner)
12660Solution: Convert separator character from space to NUL.
12661Files: src/ex_getln.c
12662
12663Patch 7.3.426
12664Problem: With '$' in 'cpoptions' the $ is not displayed in the first
12665 column.
12666Solution: Use -1 instead of 0 as a special value. (Hideki Eiraku and
12667 Hirohito Higashi)
12668Files: src/edit.c, src/globals.h, src/move.c, src/screen.c, src/search.c
12669
12670Patch 7.3.427
12671Problem: readfile() can be slow with long lines.
12672Solution: Use realloc() instead of alloc(). (John Little)
12673Files: src/eval.c
12674
12675Patch 7.3.428
12676Problem: Win32: an xpm file without a mask crashes Vim.
12677Solution: Fail when the mask is missing. (Dave Bodenstab)
12678Files: src/xpm_w32.c
12679
12680Patch 7.3.429
12681Problem: When 'cpoptions' includes "E" "c0" in the first column is an
Bram Moolenaardd007ed2013-07-09 15:44:17 +020012682 error. The redo register is then set to the erroneous command.
Bram Moolenaar913df812013-07-06 15:44:11 +020012683Solution: Do not set the redo register if the command fails because of an
12684 empty region. (Hideki Eiraku)
12685Files: src/getchar.c, src/normal.c, src/proto/getchar.pro
12686
12687Patch 7.3.430
12688Problem: When a custom filetype detection uses "augroup END" the conf
12689 fileytpe detection does not have the filetypedetect group.
12690Solution: Always end the group and include filetypedetect in the conf
12691 autocommand. (Lech Lorens)
12692Files: runtime/filetype.vim
12693
12694Patch 7.3.431
12695Problem: Fetching a key at a prompt may be confused by escape sequences.
12696 Especially when getting a prompt at a VimEnter autocommand.
12697 (Alex Efros)
12698Solution: Properly handle escape sequences deleted by check_termcode().
12699Files: src/getchar.c, src/misc1.c, src/term.c, src/proto/term.pro
12700
12701Patch 7.3.432
12702Problem: ACLs are not supported for ZFS or NFSv4 on Solaris.
12703Solution: Add configure check and code. (Danek Duvall)
12704Files: src/configure.in, src/auto/configure, src/config.h.in,
12705 src/os_unix.c
12706
12707Patch 7.3.433
12708Problem: Using continued lines in a Vim script can be slow.
12709Solution: Instead of reallocating for every line use a growarray. (Yasuhiro
12710 Matsumoto)
12711Files: src/ex_cmds2.c
12712
12713Patch 7.3.434
12714Problem: Using join() can be slow.
12715Solution: Compute the size of the result before allocation to avoid a lot of
12716 allocations and copies. (Taro Muraoka)
12717Files: src/eval.c
12718
12719Patch 7.3.435
12720Problem: Compiler warning for unused variable.
12721Solution: Move the variable inside #ifdef.
12722Files: src/ex_cmds2.c
12723
12724Patch 7.3.436
12725Problem: Compiler warnings for types on Windows.
12726Solution: Add type casts. (Mike Williams)
12727Files: src/eval.c
12728
12729Patch 7.3.437
12730Problem: Continue looping inside FOR_ALL_TAB_WINDOWS even when already done.
12731Solution: Use goto instead of break. (Hirohito Higashi)
12732Files: src/fileio.c, src/globals.h
12733
12734Patch 7.3.438
12735Problem: There is no way to avoid ":doautoall" reading modelines.
12736Solution: Add the <nomodeline> argument. Adjust documentation.
12737Files: src/fileio.c, runtime/doc/autocmd.txt
12738
12739Patch 7.3.439
12740Problem: Compiler warnings to size casts in Perl interface.
12741Solution: Use XS macros. (James McCoy)
12742Files: src/if_perl.xs, src/typemap
12743
12744Patch 7.3.440
12745Problem: Vim does not support UTF8_STRING for the X selection.
12746Solution: Add UTF8_STRING atom support. (Alex Efros) Use it only when
12747 'encoding' is set to Unicode.
12748Files: src/ui.c
12749
12750Patch 7.3.441
12751Problem: Newer versions of MzScheme (Racket) require earlier (trampolined)
12752 initialisation.
12753Solution: Call mzscheme_main() early in main(). (Sergey Khorev)
12754Files: src/Make_mvc.mak, src/if_mzsch.c, src/main.c,
12755 src/proto/if_mzsch.pro
12756
12757Patch 7.3.442 (after 7.3.438)
12758Problem: Still read modelines for ":doautocmd".
12759Solution: Move check for <nomodeline> to separate function.
12760Files: src/fileio.c, src/ex_docmd.c, src/proto/fileio.pro,
12761 runtime/doc/autocmd.txt
12762
12763Patch 7.3.443
12764Problem: MS-Windows: 'shcf' and 'shellxquote' defaults are not very good.
12765Solution: Make a better guess when 'shell' is set to "cmd.exe". (Ben Fritz)
12766Files: src/option.c, runtime/doc/options.txt
12767
12768Patch 7.3.444
12769Problem: ":all!" and ":sall!" give error E477, even though the
12770 documentation says these are valid commands.
12771Solution: Support the exclamation mark. (Hirohito Higashi)
12772Files: src/ex_cmds.h, src/testdir/test31.in, src/testdir/test31.ok
12773
12774Patch 7.3.445 (after 7.3.443)
12775Problem: Can't properly escape commands for cmd.exe.
12776Solution: Default 'shellxquote' to '('. Append ')' to make '(command)'.
12777 No need to use "/s" for 'shellcmdflag'.
12778Files: src/misc2.c, src/option.c, src/os_win32.c
12779
12780Patch 7.3.446 (after 7.3.445)
12781Problem: Win32: External commands with special characters don't work.
12782Solution: Add the 'shellxescape' option.
12783Files: src/misc2.c, src/option.c, src/option.h, runtime/doc/options.txt
12784
12785Patch 7.3.447 (after 7.3.446)
12786Problem: Win32: External commands with "start" do not work.
12787Solution: Unescape part of the command. (Yasuhiro Matsumoto)
12788Files: src/os_win32.c
12789
12790Patch 7.3.448 (after 7.3.447)
12791Problem: Win32: Still a problem with "!start /b".
12792Solution: Escape only '|'. (Yasuhiro Matsumoto)
12793Files: src/os_win32.c
12794
12795Patch 7.3.449
12796Problem: Crash when a BufWinLeave autocommand closes the only other window.
12797 (Daniel Hunt)
12798Solution: Abort closing a buffer when it becomes the only one.
12799Files: src/buffer.c, src/proto/buffer.pro, src/ex_cmds.c, src/ex_getln.c,
12800 src/misc2.c, src/quickfix.c, src/window.c, src/proto/window.pro
12801
12802Patch 7.3.450 (after 7.3.448)
12803Problem: Win32: Still a problem with "!start /b".
12804Solution: Fix pointer use. (Yasuhiro Matsumoto)
12805Files: src/os_win32.c
12806
12807Patch 7.3.451
12808Problem: Tcl doesn't work on 64 MS-Windows.
12809Solution: Make it work. (Dave Bodenstab)
12810Files: src/Make_mvc.mak, src/if_tcl.c
12811
12812Patch 7.3.452
12813Problem: Undo broken when pasting close to the last line. (Andrey Radev)
12814Solution: Use a flag to remember if the deleted included the last line.
12815 (Christian Brabandt)
12816Files: src/ops.c
12817
12818Patch 7.3.453
12819Problem: Pasting in the command line is slow.
12820Solution: Don't redraw if there is another character to read. (Dominique
12821 Pelle)
12822Files: src/ex_getln.c
12823
12824Patch 7.3.454
12825Problem: Re-allocating memory slows Vim down.
12826Solution: Use realloc() in ga_grow(). (Dominique Pelle)
12827Files: src/misc2.c
12828
12829Patch 7.3.455
12830Problem: Using many continuation lines can be slow.
12831Solution: Adjust the reallocation size to the current length.
12832Files: src/ex_cmds2.c
12833
12834Patch 7.3.456
12835Problem: ":tab drop file" has several problems, including moving the
12836 current window and opening a new tab for a file that already has a
12837 window.
12838Solution: Refactor ":tab drop" handling. (Hirohito Higashi)
12839Files: src/buffer.c, src/testdir/test62.in, src/testdir/test62.ok
12840
12841Patch 7.3.457
12842Problem: When setting $VIMRUNTIME later the directory for fetching
12843 translated messages is not adjusted.
12844Solution: Put bindtextdomain() in vim_setenv().
12845Files: src/misc1.c
12846
12847Patch 7.3.458
12848Problem: Crash when calling smsg() during startup.
12849Solution: Don't use 'shortmess' when it is not set yet.
12850Files: src/option.c
12851
12852Patch 7.3.459
12853Problem: Win32: Warnings for type conversion.
12854Solution: Add type casts. (Mike Williams)
12855Files: src/misc2.c, src/os_win32.c
12856
12857Patch 7.3.460
12858Problem: Win32: UPX does not compress 64 bit binaries.
12859Solution: Mention and add the alternative: mpress. (Dave Bodenstab)
12860Files: src/INSTALLpc.txt, src/Make_ming.mak
12861
12862Patch 7.3.461
12863Problem: The InsertCharPre autocommand event is not triggered during
12864 completion and when typing several characters quickly.
12865Solution: Also trigger InsertCharPre during completion. Do not read ahead
12866 when an InsertCharPre autocommand is defined. (Yasuhiro Matsumoto)
12867Files: src/edit.c, src/fileio.c, src/proto/fileio.pro
12868
12869Patch 7.3.462
12870Problem: When using ":loadview" folds may be closed unexpectedly.
12871Solution: Take into account foldlevel. (Xavier de Gaye)
12872Files: src/fold.c
12873
12874Patch 7.3.463
12875Problem: When using ":s///c" the cursor is moved away from the match.
12876 (Lawman)
12877Solution: Don't move the cursor when do_ask is set. (Christian Brabandt)
12878Files: src/ex_cmds.c
12879
12880Patch 7.3.464
12881Problem: Compiler warning for sprintf.
12882Solution: Put the length in a variable. (Dominique Pelle)
12883Files: src/version.c
12884
12885Patch 7.3.465
12886Problem: Cannot get file name with newline from glob().
12887Solution: Add argument to glob() and expand() to indicate they must return a
12888 list. (Christian Brabandt)
12889Files: runtime/doc/eval.txt, src/eval.c, src/ex_getln.c, src/vim.h
12890
12891Patch 7.3.466
12892Problem: Get ml_get error hen ":behave mswin" was used and selecting
12893 several lines. (A. Sinan Unur)
12894Solution: Adjust the end of the operation. (Christian Brabandt)
12895Files: src/ops.c
12896
12897Patch 7.3.467
12898Problem: Cursor positioned wrong at the command line when regaining focus
12899 and using some input method.
12900Solution: Do not position the cursor in command line mode.
12901Files: src/mbyte.c
12902
12903Patch 7.3.468
12904Problem: For some compilers the error file is not easily readable.
12905Solution: Use QuickFixCmdPre for more commands. (Marcin Szamotulski)
12906Files: runtime/doc/autocmd.txt, src/quickfix.c
12907
12908Patch 7.3.469
12909Problem: Compiler warning for unused argument without some features.
12910Solution: Add UNUSED.
12911Files: src/buffer.c
12912
12913Patch 7.3.470
12914Problem: Test 62 fails when compiled without GUI and X11.
12915Solution: Don't test :drop when it is not supported.
12916Files: src/testdir/test62.in
12917
12918Patch 7.3.471
12919Problem: Can't abort listing placed signs.
12920Solution: Check "got_int". (Christian Brabandt)
12921Files: src/buffer.c, src/ex_cmds.c
12922
12923Patch 7.3.472
12924Problem: Crash when using ":redraw" in a BufEnter autocommand and
12925 switching to another tab. (驼峰)
Bram Moolenaardd007ed2013-07-09 15:44:17 +020012926Solution: Move triggering the autocommands to after correcting the
Bram Moolenaar913df812013-07-06 15:44:11 +020012927 option values. Also check the row value to be out of bounds.
12928 (Christian Brabandt, Sergey Khorev)
12929Files: src/screen.c, src/window.c
12930
12931Patch 7.3.473
12932Problem: 'cursorbind' does not work correctly in combination with
12933 'virtualedit' set to "all".
12934Solution: Copy coladd. (Gary Johnson)
12935Files: src/move.c
12936
12937Patch 7.3.474
12938Problem: Perl build with gcc 4 fails.
12939Solution: Remove XS() statements. (Yasuhiro Matsumoto)
12940Files: src/if_perl.xs
12941
12942Patch 7.3.475
12943Problem: In a terminal with few colors the omnicomplete menu may be hard to
12944 see when using the default colors.
12945Solution: Use more explicit colors. (suggested by Alex Henrie)
12946Files: src/syntax.c
12947
12948Patch 7.3.476
12949Problem: When selecting a block, using "$" to include the end of each line
12950 and using "A" and typing a backspace strange things happen.
12951 (Yuangchen Xie)
12952Solution: Avoid using a negative length. (Christian Brabandt)
12953Files: src/ops.c
12954
12955Patch 7.3.477
12956Problem: Using ":echo" to output enough lines to scroll, then using "j" and
12957 "k" at the more prompt, displays the command on top of the output.
12958 (Marcin Szamotulski)
12959Solution: Put the output below the command. (Christian Brabandt)
12960Files: src/eval.c
12961
12962Patch 7.3.478
12963Problem: Memory leak using the ':rv!' command when reading dictionary or
12964 list global variables i.e. with 'viminfo' containing !.
12965Solution: Free the typeval. (Dominique Pelle)
12966Files: src/eval.c
12967
12968Patch 7.3.479
12969Problem: When 'cursorline' is set the line number highlighting can't be set
12970 separately.
12971Solution: Add "CursorLineNr". (Howard Buchholz)
12972Files: src/option.c, src/screen.c, src/syntax.c, src/vim.h
12973
12974Patch 7.3.480
12975Problem: When using ":qa" and there is a changed buffer picking the buffer
12976 to jump to is not very good.
12977Solution: Consider current and other tab pages. (Hirohito Higashi)
12978Files: src/ex_cmds2.c
12979
12980Patch 7.3.481
12981Problem: Changing 'virtualedit' in an operator function to "all" does not
12982 have the desired effect. (Aaron Bohannon)
12983Solution: Save, reset and restore virtual_op when executing an operator
12984 function.
12985Files: src/normal.c
12986
12987Patch 7.3.482
12988Problem: With 'cursorbind' set moving up/down does not always keep the same
12989 column.
12990Solution: Set curswant appropriately. (Gary Johnson)
12991Files: src/move.c
12992
12993Patch 7.3.483 (after 7.3.477)
12994Problem: More prompt shows up too often.
12995Solution: Instead of adding a line break, only start a new line in the
12996 message history. (Christian Brabandt)
12997Files: src/eval.c, src/message.c, src/proto/message.pro
12998
12999Patch 7.3.484
13000Problem: The -E and --echo-wid command line arguments are not mentioned in
13001 "vim --help".
13002Solution: Add the help lines. (Dominique Pelle)
13003Files: src/main.c
13004
13005Patch 7.3.485
13006Problem: When building Vim LDFLAGS isn't passed on to building xxd.
13007Solution: Pass the LDFLAGS value. (James McCoy)
13008Files: src/Makefile
13009
13010Patch 7.3.486
13011Problem: Build error with mingw64 on Windows 7.
13012Solution: Avoid the step of going through vimres.res. (Guopeng Wen)
13013Files: src/Make_ming.mak
13014
13015Patch 7.3.487
13016Problem: When setting 'timeoutlen' or 'ttimeoutlen' the column for vertical
13017 movement is reset unnecessarily.
13018Solution: Do not set w_set_curswant for every option. Add a test for this.
13019 (Kana Natsuno) Add the P_CURSWANT flag for options.
13020Files: src/option.c, src/testdir/test84.in, src/testdir/test84.ok,
13021 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
13022 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
13023 src/testdir/Make_vms.mms, src/testdir/Makefile
13024
13025Patch 7.3.488
13026Problem: ":help!" in a help file does not work as documented.
13027Solution: When in a help file don't give an error message. (thinca)
13028Files: src/ex_cmds.c
13029
13030Patch 7.3.489
13031Problem: CTRL-] in Insert mode does not expand abbreviation when used in a
13032 mapping. (Yichao Zhou)
13033Solution: Special case using CTRL-]. (Christian Brabandt)
13034Files: src/getchar.c, src/edit.c
13035
13036Patch 7.3.490
13037Problem: Member confusion in Lua interface.
13038Solution: Fix it. Add luaeval(). (Taro Muraoka, Luis Carvalho)
13039Files: runtime/doc/if_lua.txt, src/eval.c, src/if_lua.c,
13040 src/proto/if_lua.pro
13041
13042Patch 7.3.491
13043Problem: No tests for Lua.
13044Solution: Add some simple tests for Lua. (Luis Carvalho)
13045Files: src/testdir/test1.in, src/testdir/test85.in, src/testdir/test85.ok
13046 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
13047 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
13048 src/testdir/Make_vms.mms, src/testdir/Makefile
13049
13050Patch 7.3.492
13051Problem: Can't indent conditions separately from function arguments.
Bram Moolenaardd007ed2013-07-09 15:44:17 +020013052Solution: Add the 'k' flag in 'cino'. (Lech Lorens)
Bram Moolenaar913df812013-07-06 15:44:11 +020013053Files: runtime/doc/indent.txt, src/misc1.c, src/testdir/test3.in,
13054 src/testdir/test3.ok
13055
13056Patch 7.3.493 (after 7.3.492)
13057Problem: Two unused variables.
13058Solution: Remove them. (Hong Xu)
13059Files: src/misc1.c
13060
13061Patch 7.3.494 (after 7.3.491)
Bram Moolenaardd007ed2013-07-09 15:44:17 +020013062Problem: Can't compile with Lua 5.1 or dynamic Lua.
Bram Moolenaar913df812013-07-06 15:44:11 +020013063Solution: Fix dll_ methods. Fix luado(). (Muraoka Taro, Luis Carvalho)
13064Files: src/if_lua.c
13065
13066Patch 7.3.495 (after 7.3.492)
13067Problem: Compiler warnings.
13068Solution: Add function declaration. Remove "offset" argument.
13069Files: src/misc1.c
13070
13071Patch 7.3.496
13072Problem: MS-DOS: When "diff" trips over difference in line separators some
13073 tests fail.
13074Solution: Make some .ok files use unix line separators. (David Pope)
13075Files: src/testdir/Make_dos.mak, src/testdir/Make_ming.mak
13076
13077Patch 7.3.497
13078Problem: Crash when doing ":python print" and compiled with gcc and
13079 the optimizer enabled.
13080Solution: Avoid the crash, doesn't really fix the problem. (Christian
13081 Brabandt)
13082Files: src/if_py_both.h
13083
13084Patch 7.3.498
13085Problem: The behavior of the "- register changes depending on value of
13086 the 'clipboard' option. (Szamotulski)
13087Solution: Also set the "- register when the register is "*" or "+".
13088 (Christian Brabandt)
13089Files: src/ops.c
13090
13091Patch 7.3.499
13092Problem: When using any interface language when Vim is waiting for a child
13093 process it gets confused by a child process started through the
13094 interface.
13095Solution: Always used waitpid() instead of wait(). (Yasuhiro Matsumoto)
13096Files: src/os_unix.c
13097
13098Patch 7.3.500
13099Problem: Ming makefile unconditionally sets WINVER.
13100Solution: Only defined when not already defined. (Yasuhiro Matsumoto)
13101Files: src/Make_ming.mak
13102
13103Patch 7.3.501
13104Problem: Error for "flush" not being defined when using Ruby command.
13105Solution: Defined "flush" as a no-op method. (Kent Sibilev)
13106Files: src/if_ruby.c
13107
13108Patch 7.3.502
13109Problem: Netbeans insert halfway a line actually appends to the line.
13110Solution: Insert halfway the line. (Brian Victor)
13111Files: src/netbeans.c
13112
13113Patch 7.3.503 (after 7.3.501)
13114Problem: Warning for unused argument.
13115Solution: Add UNUSED.
13116Files: src/if_ruby.c
13117
13118Patch 7.3.504
13119Problem: Commands in help files are not highlighted.
13120Solution: Allow for commands in backticks. Adjust CTRL-] to remove the
13121 backticks.
13122Files: src/ex_cmds.c
13123
13124Patch 7.3.505
13125Problem: Test 11 fails on MS-Windows in some versions.
13126Solution: Fix #ifdefs for whether filtering through a pipe is possible. Move
13127 setting b_no_eol_lnum back to where it was before patch 7.3.124.
13128 (David Pope)
13129Files: src/feature.h, src/eval.c, src/ex_cmds.c, src/fileio.c
13130
13131Patch 7.3.506
13132Problem: GTK gives an error when selecting a non-existent file.
13133Solution: Add a handler to avoid the error. (Christian Brabandt)
13134Files: src/gui_gtk.c
13135
13136Patch 7.3.507
13137Problem: When exiting with unsaved changes, selecting an existing file in
13138 the file dialog, there is no dialog to ask whether the existing
13139 file should be overwritten. (Felipe G. Nievinski)
13140Solution: Call check_overwrite() before writing. (Christian Brabandt)
13141Files: src/ex_cmds.c, src/ex_cmds2.c, src/proto/ex_cmds.pro
13142
13143Patch 7.3.508
13144Problem: Default for v:register is not set.
13145Solution: Init v:register in eval_init(). Correct for 'clipboard' before the
13146 main loop. (Ingo Karkat)
13147Files: src/eval.c, src/main.c
13148
13149Patch 7.3.509
13150Problem: ":vimgrep" fails when 'autochdir' is set.
13151Solution: A more generic solution for changing directory. (Ben Fritz)
13152Files: src/quickfix.c
13153
13154Patch 7.3.510
13155Problem: Test 77 fails on Solaris 7. (Michael Soyka)
13156Solution: Replace any tabs with spaces.
13157Files: src/testdir/test77.in
13158
13159Patch 7.3.511
13160Problem: Using a FileReadCmd autocommand that does ":e! {file}" may cause a
13161 crash. (Christian Brabandt)
13162Solution: Properly restore curwin->w_s.
13163Files: src/fileio.c
13164
13165Patch 7.3.512
13166Problem: undofile() returns a useless name when passed an empty string.
13167Solution: Return an empty string. (Christian Brabandt)
13168Files: src/eval.c
13169
13170Patch 7.3.513
13171Problem: Cannot use CTRL-E and CTRL-Y with "r".
13172Solution: Make CTRL-E and CTRL-Y work like in Insert mode. (Christian
13173 Brabandt)
13174Files: src/edit.c, src/normal.c, src/proto/edit.pro
13175
13176Patch 7.3.514
13177Problem: No completion for :history command.
13178Solution: Add the completion and update the docs. Also fix ":behave"
13179 completion. (Dominique Pelle)
13180Files: runtime/doc/cmdline.txt, runtime/doc/map.txt, src/ex_docmd.c,
13181 src/ex_getln.c, src/vim.h
13182
13183Patch 7.3.515
13184Problem: 'wildignorecase' only applies to the last part of the path.
13185Solution: Also ignore case for letters earlier in the path.
13186Files: src/misc1.c
13187
13188Patch 7.3.516
13189Problem: extend(o, o) may crash Vim.
13190Solution: Fix crash and add test. (Thinca and Hirohito Higashi)
13191Files: src/eval.c, src/testdir/test55.in, src/testdir/test55.ok
13192
13193Patch 7.3.517
13194Problem: Crash when using "vipvv". (Alexandre Provencio)
13195Solution: Don't let the text length become negative.
13196Files: src/ops.c
13197
13198Patch 7.3.518
13199Problem: When 'encoding' is a double-byte encoding ":helptags" may not find
13200 tags correctly.
13201Solution: Use vim_strbyte() instead of vim_strchr(). (Yasuhiro Matsumoto)
13202Files: src/ex_cmds.c
13203
13204Patch 7.3.519
13205Problem: When completefunction returns it cannot indicate end of completion
13206 mode.
13207Solution: Recognize completefunction returning -3. (Matsushita Shougo)
13208Files: src/edit.c
13209
13210Patch 7.3.520
Bram Moolenaardd007ed2013-07-09 15:44:17 +020013211Problem: Gvim starts up slow on Ubuntu 12.04.
Bram Moolenaar913df812013-07-06 15:44:11 +020013212Solution: Move the call to gui_mch_init_check() to after fork(). (Yasuhiro
13213 Matsumoto) Do check $DISPLAY being set.
13214Files: src/gui.c, src/gui_gtk_x11.c, src/proto/gui_gtk_x11.pro
13215
13216Patch 7.3.521
13217Problem: Using "z=" on a multi-byte character may cause a crash.
13218Solution: Don't use strlen() on an int pointer.
13219Files: src/spell.c
13220
13221Patch 7.3.522
13222Problem: Crash in vim_realloc() when using MEM_PROFILE.
13223Solution: Avoid using a NULL argument. (Dominique Pelle)
13224Files: src/eval.c
13225
13226Patch 7.3.523
13227Problem: ":diffupdate" doesn't check for files changed elsewhere.
13228Solution: Add the ! flag. (Christian Brabandt)
13229Files: runtime/doc/diff.txt, src/diff.c, src/ex_cmds.h
13230
13231Patch 7.3.524 (after 7.3.523)
13232Problem: Missing comma.
13233Solution: Add the comma.
13234Files: src/version.c
13235
13236Patch 7.3.525
13237Problem: Compiler warning on 64 bit MS-Windows.
13238Solution: Add type cast. (Mike Williams)
13239Files: src/ex_getln.c
13240
13241Patch 7.3.526
13242Problem: Confusing indenting for #ifdef.
13243Solution: Remove and add indent. (Elias Diem)
13244Files: src/normal.c
13245
13246Patch 7.3.527
13247Problem: Clang complains about non-ASCII characters in a string.
13248Solution: Change to \x88 form. (Dominique Pelle)
13249Files: src/charset.c
13250
13251Patch 7.3.528
13252Problem: Crash when closing last window in a tab. (Alex Efros)
13253Solution: Use common code in close_last_window_tabpage(). (Christian
13254 Brabandt)
13255Files: src/window.c
13256
13257Patch 7.3.529
13258Problem: Using a count before "v" and "V" does not work (Kikyous)
13259Solution: Make the count select that many characters or lines. (Christian
13260 Brabandt)
13261Files: src/normal.c
13262
13263Patch 7.3.530 (after 7.3.520)
13264Problem: Gvim does not work when 'guioptions' includes "f". (Davido)
13265Solution: Call gui_mch_init_check() when running GUI in the foreground.
13266 (Yasuhiro Matsumoto)
13267Files: src/gui.c
13268
13269Patch 7.3.531 (after 7.3.530)
13270Problem: GUI does not work on MS-Windows.
13271Solution: Add the missing #ifdef. (Patrick Avery)
13272Files: src/gui.c
13273
13274Patch 7.3.532
13275Problem: Compiler warning from Clang.
13276Solution: Use a different way to point inside a string. (Dominique Pelle)
13277Files: src/syntax.c
13278
13279Patch 7.3.533
13280Problem: Memory leak when writing undo file.
13281Solution: Free the ACL. (Dominique Pelle)
13282Files: src/undo.c
13283
13284Patch 7.3.534 (after 7.3.461)
13285Problem: When using an InsertCharPre autocommand autoindent fails.
13286Solution: Proper handling of v:char. (Alexey Radkov)
13287Files: src/edit.c
13288
13289Patch 7.3.535
13290Problem: Many #ifdefs for MB_MAXBYTES.
13291Solution: Also define MB_MAXBYTES without the +multi_byte feature. Fix
13292 places where the buffer didn't include space for a NUL byte.
13293Files: src/arabic.c, src/edit.c, src/eval.c, src/getchar.c, src/mbyte.c,
13294 src/misc1.c, src/screen.c, src/spell.c, src/vim.h
13295
13296Patch 7.3.536
13297Problem: When spell checking the German sharp s is not seen as a word
13298 character. (Aexl Bender)
13299Solution: In utf_islower() return true for the sharp s. Note: also need
13300 updated spell file for this to take effect.
13301Files: src/mbyte.c
13302
13303Patch 7.3.537
Bram Moolenaardd007ed2013-07-09 15:44:17 +020013304Problem: Unnecessary call to init_spell_chartab().
Bram Moolenaar913df812013-07-06 15:44:11 +020013305Solution: Delete the call.
13306Files: src/spell.c
13307
13308Patch 7.3.538
13309Problem: 'efm' does not handle Tabs in pointer lines.
13310Solution: Add Tab support. Improve tests. (Lech Lorens)
13311Files: src/quickfix.c, src/testdir/test10.in, src/testdir/test10.ok
13312
13313Patch 7.3.539
13314Problem: Redrawing a character on the command line does not work properly
Bram Moolenaardd007ed2013-07-09 15:44:17 +020013315 for multi-byte characters.
Bram Moolenaar913df812013-07-06 15:44:11 +020013316Solution: Count the number of bytes in a character. (Yukihiro Nakadaira)
13317Files: src/ex_getln.c
13318
13319Patch 7.3.540
13320Problem: Cursor is left on the text instead of the command line.
13321Solution: Don't call setcursor() in command line mode.
13322Files: src/getchar.c
13323
13324Patch 7.3.541
13325Problem: When joining lines comment leaders need to be removed manually.
13326Solution: Add the 'j' flag to 'formatoptions'. (Lech Lorens)
13327Files: runtime/doc/change.txt, src/edit.c, src/ex_docmd.c, src/misc1.c,
13328 src/normal.c, src/ops.c, src/option.h, src/proto/misc1.pro,
13329 src/proto/ops.pro, src/search.c, src/testdir/test29.in,
13330 src/testdir/test29.ok
13331
13332Patch 7.3.542 (after 7.3.506)
13333Problem: Function is sometimes unused.
13334Solution: Add #ifdef.
13335Files: src/gui_gtk.c
13336
13337Patch 7.3.543
13338Problem: The cursor is in the wrong line after using ":copen". (John
13339 Beckett)
13340Solution: Invoke more drastic redraw method.
13341Files: src/eval.c
13342
13343Patch 7.3.544
13344Problem: There is no good way to close a quickfix window when closing the
13345 last ordinary window.
13346Solution: Add the QuitPre autocommand.
13347Files: src/ex_docmd.c, src/fileio.c, src/vim.h
13348
13349Patch 7.3.545
13350Problem: When closing a window or buffer autocommands may close it too,
13351 causing problems for where the autocommand was invoked from.
13352Solution: Add the w_closing and b_closing flags. When set disallow ":q" and
13353 ":close" to prevent recursive closing.
13354Files: src/structs.h, src/buffer.c, src/ex_docmd.c, src/window.c
13355
13356Patch 7.3.546
13357Problem: Bogus line break.
13358Solution: Remove the line break.
13359Files: src/screen.c
13360
13361Patch 7.3.547 (after 7.3.541)
13362Problem: Compiler warning for uninitialized variable.
13363Solution: Initialize it.
13364Files: src/ops.c
13365
13366Patch 7.3.548
13367Problem: Compiler warning on 64 bit Windows.
13368Solution: Add type cast. (Mike Williams)
13369Files: src/ops.c
13370
13371Patch 7.3.549
13372Problem: In 'cinoptions' "0s" is interpreted as one shiftwidth. (David
13373 Pineau)
13374Solution: Use the zero as zero. (Lech Lorens)
13375Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
13376
13377Patch 7.3.550 (after 7.3.541)
13378Problem: With "j" in 'formatoptions' a list leader is not removed. (Gary
13379 Johnson)
13380Solution: Don't ignore the start of a three part comment. (Lech Lorens)
13381Files: src/ops.c, src/testdir/test29.in, src/testdir/test29.ok
13382
13383Patch 7.3.551
13384Problem: When using :tablose a TabEnter autocommand is triggered too early.
13385 (Karthick)
13386Solution: Don't trigger *Enter autocommands before closing the tab.
13387 (Christian Brabandt)
13388Files: src/buffer.c, src/eval.c, src/ex_cmds2.c, src/fileio.c,
13389 src/proto/window.pro, src/window.c
13390
13391Patch 7.3.552
13392Problem: Formatting inside comments does not use the "2" flag in
13393 'formatoptions'.
13394Solution: Support the "2" flag. (Tor Perkins)
13395Files: src/vim.h, src/ops.c, src/edit.c, src/misc1.c,
13396 src/testdir/test68.in, src/testdir/test68.ok
13397
13398Patch 7.3.553
13399Problem: With double-width characters and 'listchars' containing "precedes"
13400 the text is displayed one cell off.
13401Solution: Check for double-width character being overwritten by the
13402 "precedes" character. (Yasuhiro Matsumoto)
13403Files: src/screen.c
13404
13405Patch 7.3.554 (after 7.3.551)
13406Problem: Compiler warning for unused argument.
13407Solution: Add UNUSED.
13408Files: src/window.c
13409
13410Patch 7.3.555
13411Problem: Building on IBM z/OS fails.
13412Solution: Adjust configure. Use the QUOTESED value from config.mk instead of
13413 the hard coded one in Makefile. (Stephen Bovy)
13414Files: src/configure.in, src/auto/configure, src/Makefile
13415
13416Patch 7.3.556
13417Problem: Compiler warnings on 64 bit Windows.
13418Solution: Add type casts. (Mike Williams)
13419Files: src/misc1.c
13420
13421Patch 7.3.557
13422Problem: Crash when an autocommand wipes out a buffer when it is hidden.
13423Solution: Restore the current window when needed. (Christian Brabandt)
13424Files: src/buffer.c
13425
13426Patch 7.3.558
13427Problem: Memory access error. (Gary Johnson)
13428Solution: Allocate one more byte. (Dominique Pelle)
13429Files: src/misc1.c
13430
13431Patch 7.3.559
13432Problem: home_replace() does not work with 8.3 filename.
13433Solution: Make ":p" expand 8.3 name to full path. (Yasuhiro Matsumoto)
13434Files: src/eval.c, src/misc1.c
13435
13436Patch 7.3.560
13437Problem: Get an error for a locked argument in extend().
13438Solution: Initialize the lock flag for a dictionary. (Yukihiro Nakadaira)
13439Files: src/eval.c
13440
13441Patch 7.3.561
13442Problem: Using refresh: always in a complete function breaks the "."
13443 command. (Val Markovic)
13444Solution: Add match leader to the redo buffer. (Yasuhiro Matsumoto)
13445Files: src/edit.c
13446
13447Patch 7.3.562
13448Problem: ":profdel" should not work when the +profile feature is disabled.
13449Solution: Call ex_ni(). (Yasuhiro Matsumoto)
13450Files: src/ex_cmds2.c
13451
13452Patch 7.3.563 (after 7.3.557)
13453Problem: Can't build with tiny features.
13454Solution: Add #ifdef.
13455Files: src/buffer.c
13456
13457Patch 7.3.564 (after 7.3.559)
13458Problem: Warning for pointer conversion.
13459Solution: Add type cast.
13460Files: src/misc1.c
13461
13462Patch 7.3.565
13463Problem: Can't generate proto file for Python 3.
13464Solution: Add PYTHON3_CFLAGS to LINT_CFLAGS.
13465Files: src/Makefile
13466
13467Patch 7.3.566 (after 7.3.561)
13468Problem: Redo after completion does not work correctly when refresh: always
13469 is not used. (Raymond Ko)
13470Solution: Check the compl_opt_refresh_always flag. (Christian Brabandt)
13471Files: src/edit.c
13472
13473Patch 7.3.567
13474Problem: Missing copyright notice.
13475Solution: Add Vim copyright notice. (Taro Muraoka)
13476Files: src/dehqx.py
13477
13478Patch 7.3.568
13479Problem: Bad indents for #ifdefs.
13480Solution: Add and remove spaces. (Elias Diem)
13481Files: src/globals.h
13482
13483Patch 7.3.569
13484Problem: Evaluating Vim expression in Python is insufficient.
13485Solution: Add vim.bindeval(). Also add pyeval() and py3eval(). (ZyX)
13486Files: runtime/doc/eval.txt, runtime/doc/if_pyth.txt, src/eval.c,
13487 src/if_lua.c, src/if_py_both.h, src/if_python.c, src/if_python3.c,
13488 src/proto/eval.pro, src/proto/if_python.pro,
13489 src/proto/if_python3.pro, src/testdir/Make_amiga.mak,
13490 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
13491 src/testdir/Make_os2.mak, src/testdir/Makefile,
13492 src/testdir/test86.in, src/testdir/test86.ok,
13493 src/testdir/test87.in, src/testdir/test87.ok
13494
13495Patch 7.3.570
13496Problem: ":vimgrep" does not obey 'wildignore'.
13497Solution: Apply 'wildignore' and 'suffixes' to ":vimgrep". (Ingo Karkat)
13498Files: src/ex_cmds2.c, src/proto/ex_cmds2.pro, src/quickfix.c, src/spell.c
13499
13500Patch 7.3.571
13501Problem: Duplicated condition.
13502Solution: Remove one. (Dominique Pelle)
13503Files: src/os_win32.c
13504
13505Patch 7.3.572
13506Problem: Duplicate statement in if and else. (Dominique Pelle)
13507Solution: Remove the condition and add a TODO.
13508Files: src/gui_xmebw.c
13509
13510Patch 7.3.573
13511Problem: Using array index before bounds checking.
13512Solution: Swap the parts of the condition. (Dominique Pelle)
13513Files: src/ops.c
13514
13515Patch 7.3.574
13516Problem: When pasting a register in the search command line a CTRL-L
13517 character is not pasted. (Dominique Pelle)
13518Solution: Escape the CTRL-L. (Christian Brabandt)
13519Files: src/ex_getln.c
13520
13521Patch 7.3.575
13522Problem: "ygt" tries to yank instead of giving an error. (Daniel Mueller)
13523Solution: Check for a pending operator.
13524Files: src/normal.c
13525
13526Patch 7.3.576
13527Problem: Formatting of lists inside comments is not right yet.
13528Solution: Use another solution and add a test. (Tor Perkins)
13529Files: src/edit.c, src/misc1.c, src/testdir/test68.in,
13530 src/testdir/test69.ok
13531
13532Patch 7.3.577
13533Problem: Size of memory does not fit in 32 bit unsigned.
13534Solution: Use Kbyte instead of byte. Call GlobalMemoryStatusEx() instead of
13535 GlobalMemoryStatus() when available.
13536Files: src/misc2.c, src/option.c, src/os_amiga.c, src/os_msdos.c,
13537 src/os_win16.c, src/os_win32.c
13538
13539Patch 7.3.578
13540Problem: Misplaced declaration.
13541Solution: Move declaration to start of block.
13542Files: src/if_py_both.h
13543
13544Patch 7.3.579 (after 7.3.569)
13545Problem: Can't compile with Python 2.5.
13546Solution: Use PyCObject when Capsules are not available.
13547Files: src/if_py_both.h, src/if_python.c, src/if_python3.c
13548
13549Patch 7.3.580
13550Problem: Warning on 64 bit MS-Windows.
13551Solution: Add type cast. (Mike Williams)
13552Files: src/if_py_both.h
13553
13554Patch 7.3.581
13555Problem: Problems compiling with Python.
13556Solution: Pick UCS2 or UCS4 function at runtime. (lilydjwg)
13557Files: src/if_python.c
13558
13559Patch 7.3.582 (after 7.3.576)
13560Problem: Missing parts of the test OK file.
13561Solution: Add the missing parts.
13562Files: src/testdir/test68.ok
13563
13564Patch 7.3.583
13565Problem: PyObject_NextNotImplemented is not defined before Python 2.7.
13566 (Danek Duvall)
13567Solution: Add #ifdefs.
13568Files: src/if_python.c
13569
13570Patch 7.3.584
13571Problem: PyCObject is not always defined.
13572Solution: Use PyObject instead.
13573Files: src/if_py_both.h, src/if_python.c
13574
13575Patch 7.3.585
13576Problem: Calling changed_bytes() too often.
13577Solution: Move changed_bytes() out of a loop. (Tor Perkins)
13578Files: src/edit.c
13579
13580Patch 7.3.586
13581Problem: When compiling with Cygwin or MingW MEMORYSTATUSEX is not defined.
13582Solution: Set the default for WINVER to 0x0500.
13583Files: src/Make_ming.mak, src/Make_cyg.mak
13584
13585Patch 7.3.587
13586Problem: Compiler warning for local var shadowing global var.
13587Solution: Rename the var and move it to an inner block. (Christian Brabandt)
13588Files: src/buffer.c
13589
13590Patch 7.3.588
13591Problem: Crash on NULL pointer.
13592Solution: Fix the immediate problem by checking for NULL. (Lech Lorens)
13593Files: src/window.c
13594
13595Patch 7.3.589
13596Problem: Crash when $HOME is not set.
13597Solution: Check for a NULL pointer. (Chris Webb)
13598Files: src/misc1.c
13599
13600Patch 7.3.590
13601Problem: The '< and '> marks cannot be set directly.
13602Solution: Allow setting '< and '>. (Christian Brabandt)
13603Files: src/mark.c
13604
13605Patch 7.3.591
13606Problem: Can only move to a tab by absolute number.
13607Solution: Move a number of tabs to the left or the right. (Lech Lorens)
13608Files: runtime/doc/tabpage.txt, src/ex_cmds.h, src/ex_docmd.c,
13609 src/testdir/test62.in, src/testdir/test62.ok, src/window.c
13610
13611Patch 7.3.592
13612Problem: Vim on GTK does not support g:browsefilter.
13613Solution: Add a GtkFileFilter to the file chooser. (Christian Brabandt)
13614Files: src/gui_gtk.c
13615
13616Patch 7.3.593
13617Problem: No easy way to decide if b:browsefilter will work.
13618Solution: Add the browsefilter feature.
13619Files: src/gui_gtk.c, src/eval.c, src/vim.h
13620
13621Patch 7.3.594
13622Problem: The X command server doesn't work perfectly. It sends an empty
13623 reply for as-keys requests.
13624Solution: Remove duplicate ga_init2(). Do not send a reply for as-keys
13625 requests. (Brian Burns)
13626Files: src/if_xcmdsrv.c
13627
13628Patch 7.3.595
13629Problem: The X command server responds slowly
13630Solution: Change the loop that waits for replies. (Brian Burns)
13631Files: src/if_xcmdsrv.c
13632
13633Patch 7.3.596
13634Problem: Can't remove all signs for a file or buffer.
13635Solution: Support "*" for the sign id. (Christian Brabandt)
13636Files: runtime/doc/sign.txt, src/buffer.c, src/ex_cmds.c,
13637 src/proto/buffer.pro
13638
13639Patch 7.3.597
13640Problem: 'clipboard' "autoselect" only applies to the * register. (Sergey
13641 Vakulenko)
Bram Moolenaardd007ed2013-07-09 15:44:17 +020013642Solution: Make 'autoselect' work for the + register. (Christian Brabandt)
Bram Moolenaar913df812013-07-06 15:44:11 +020013643 Add the "autoselectplus" option in 'clipboard' and the "P" flag in
13644 'guioptions'.
13645Files: runtime/doc/options.txt, src/normal.c, src/ops.c, src/screen.c,
13646 src/ui.c, src/globals.h, src/proto/ui.pro, src/option.h, src/gui.c
13647
13648Patch 7.3.598
13649Problem: Cannot act upon end of completion. (Taro Muraoka)
13650Solution: Add an autocommand event that is triggered when completion has
13651 finished. (Idea by Florian Klein)
13652Files: src/edit.c, src/fileio.c, src/vim.h
13653
13654Patch 7.3.599 (after 7.3.597)
13655Problem: Missing change in one file.
13656Solution: Patch for changed clip_autoselect().
13657Files: src/option.c
13658
13659Patch 7.3.600
13660Problem: <f-args> is not expanded properly with DBCS encoding.
13661Solution: Skip over character instead of byte. (Yukihiro Nakadaira)
13662Files: src/ex_docmd.c
13663
13664Patch 7.3.601
13665Problem: Bad code style.
13666Solution: Insert space, remove parens.
13667Files: src/farsi.c
13668
13669Patch 7.3.602
13670Problem: Missing files in distribution.
13671Solution: Update the list of files.
13672Files: Filelist
13673
13674Patch 7.3.603
13675Problem: It is possible to add replace builtin functions by calling
13676 extend() on g:.
13677Solution: Add a flag to a dict to indicate it is a scope. Check for
13678 existing functions. (ZyX)
13679Files: src/buffer.c, src/eval.c, src/proto/eval.pro, src/structs.h,
13680 src/testdir/test34.in, src/testdir/test34.ok, src/window.c
13681
13682Patch 7.3.604
13683Problem: inputdialog() doesn't use the cancel argument in the console.
13684 (David Fishburn)
13685Solution: Use the third argument. (Christian Brabant)
13686Files: src/eval.c
13687
13688Patch 7.3.605 (after 7.3.577)
13689Problem: MS-Windows: Can't compile with older compilers. (Titov Anatoly)
13690Solution: Add #ifdef for MEMORYSTATUSEX.
13691Files: src/os_win32.c
13692
13693Patch 7.3.606
13694Problem: CTRL-P completion has a problem with multi-byte characters.
13695Solution: Check for next character being NUL properly. (Yasuhiro Matsumoto)
13696Files: src/search.c, src/macros.h
13697
13698Patch 7.3.607
13699Problem: With an 8 color terminal the selected menu item is black on black,
13700 because darkGrey as bg is the same as black.
13701Solution: Swap fg and bg colors. (James McCoy)
13702Files: src/syntax.c
13703
13704Patch 7.3.608
13705Problem: winrestview() does not always restore the view correctly.
13706Solution: Call win_new_height() and win_new_width(). (Lech Lorens)
13707Files: src/eval.c, src/proto/window.pro, src/window.c
13708
13709Patch 7.3.609
13710Problem: File names in :checkpath! output are garbled.
13711Solution: Check for \zs in the pattern. (Lech Lorens)
13712Files: src/search.c, src/testdir/test17.in, src/testdir/test17.ok
13713
13714Patch 7.3.610
13715Problem: Cannot operate on the text that a search pattern matches.
13716Solution: Add the "gn" and "gN" commands. (Christian Brabandt)
13717Files: runtime/doc/index.txt, runtime/doc/visual.txt, src/normal.c,
13718 src/proto/search.pro, src/search.c, src/testdir/test53.in,
13719 src/testdir/test53.ok
13720
13721Patch 7.3.611
13722Problem: Can't use Vim dictionary as self argument in Python.
13723Solution: Fix the check for the "self" argument. (ZyX)
13724Files: src/if_py_both.h
13725
13726Patch 7.3.612
13727Problem: Auto formatting messes up text when 'fo' contains "2". (ZyX)
13728Solution: Decrement "less_cols". (Tor Perkins)
13729Files: src/misc1.c, src/testdir/test68.in, src/testdir/test68.ok
13730
13731Patch 7.3.613
13732Problem: Including Python's config.c in the build causes trouble. It is
13733 not clear why it was there.
13734Solution: Omit the config file. (James McCoy)
13735Files: src/Makefile, src/auto/configure, src/configure.in
13736
13737Patch 7.3.614
13738Problem: Number argument gets turned into a number while it should be a
13739 string.
13740Solution: Add flag to the call_vim_function() call. (Yasuhiro Matsumoto)
13741Files: src/edit.c, src/eval.c, src/proto/eval.pro
13742
13743Patch 7.3.615
13744Problem: Completion for a user command does not recognize backslash before
13745 a space.
13746Solution: Recognize escaped characters. (Yasuhiro Matsumoto)
13747Files: src/ex_docmd.c
13748
13749Patch 7.3.616 (after 7.3.610)
13750Problem: Can't compile without +visual.
13751Solution: Add #ifdef.
13752Files: src/normal.c
13753
13754Patch 7.3.617 (after 7.3.615)
13755Problem: Hang on completion.
13756Solution: Skip over the space. (Yasuhiro Matsumoto)
13757Files: src/ex_docmd.c
13758
13759Patch 7.3.618 (after 7.3.616)
13760Problem: Still doesn't compile with small features.
13761Solution: Move current_search() out of #ifdef. (Dominique Pelle)
13762Files: src/normal.c, src/search.c
13763
13764Patch 7.3.619
13765Problem: When executing a shell command Vim may become slow to respond.
13766Solution: Don't wait after every processed message. (idea by Yasuhiro
13767 Matsumoto)
13768Files: src/os_win32.c
13769
13770Patch 7.3.620
13771Problem: Building with recent Ruby on Win32 doesn't work.
13772Solution: Add a separate argument for the API version. (Yasuhiro Matsumoto)
13773Files: src/Make_ming.mak, src/Make_mvc.mak
13774
13775Patch 7.3.621
13776Problem: Compiler warnings on 64 bit windows.
13777Solution: Add type casts. (Mike Williams)
13778Files: src/ex_docmd.c, src/search.c
13779
13780Patch 7.3.622
13781Problem: XPM library for Win32 can't be found.
13782Solution: Suggest using the one from the Vim ftp site.
13783Files: src/Make_mvc.mak
13784
13785Patch 7.3.623
13786Problem: Perl 5.14 commands crash Vim on MS-Windows.
13787Solution: Use perl_get_sv() instead of GvSV(). (Raymond Ko)
13788Files: src/if_perl.xs
13789
13790Patch 7.3.624
13791Problem: When cancelling input() it returns the third argument. That should
13792 only happen for inputdialog().
13793Solution: Check if inputdialog() was used. (Hirohito Higashi)
13794Files: src/eval.c
13795
13796Patch 7.3.625
13797Problem: "gn" does not handle zero-width matches correctly.
13798Solution: Handle zero-width patterns specially. (Christian Brabandt)
13799Files: src/search.c
13800
13801Patch 7.3.626
13802Problem: Python interface doesn't build with Python 2.4 or older.
13803Solution: Define Py_ssize_t. (Benjamin Bannier)
13804Files: src/if_py_both.h
13805
13806Patch 7.3.627
13807Problem: When using the "n" flag with the ":s" command a \= substitution
13808 will not be evaluated.
13809Solution: Do perform the evaluation, so that a function can be invoked at
13810 every matching position without changing the text. (Christian
13811 Brabandt)
13812Files: src/ex_cmds.c
13813
13814Patch 7.3.628
13815Problem: ":open" does not allow for a !, which results in a confusing error
13816 message. (Shawn Wilson)
13817Solution: Allow ! on ":open". (Christian Brabandt)
13818Files: src/ex_cmds.h
13819
13820Patch 7.3.629
13821Problem: There is no way to make 'shiftwidth' follow 'tabstop'.
13822Solution: When 'shiftwidth' is zero use the value of 'tabstop'. (Christian
13823 Brabandt)
13824Files: src/edit.c, src/ex_getln.c, src/fold.c, src/misc1.c, src/ops.c,
13825 src/option.c, src/proto/option.pro
13826
13827Patch 7.3.630
13828Problem: "|" does not behave correctly when 'virtualedit' is set.
13829Solution: Call validate_virtcol(). (David Bürgin)
13830Files: src/normal.c
13831
13832Patch 7.3.631
13833Problem: Cannot complete user names.
13834Solution: Add user name completion. (Dominique Pelle)
13835Files: runtime/doc/map.txt, src/auto/configure, src/config.h.in,
13836 src/configure.in, src/ex_docmd.c, src/ex_getln.c, src/misc1.c,
13837 src/misc2.c, src/proto/misc1.pro, src/vim.h
13838
13839Patch 7.3.632
13840Problem: Cannot select beyond 222 columns with the mouse in xterm.
13841Solution: Add support for SGR mouse tracking. (Hayaki Saito)
13842Files: runtime/doc/options.txt, src/feature.h, src/keymap.h, src/misc2.c,
13843 src/option.h, src/os_unix.c, src/term.c, src/version.c
13844
13845Patch 7.3.633
13846Problem: Selection remains displayed as selected after selecting another
13847 text.
13848Solution: Call xterm_update() before select(). (Andrew Pimlott)
13849Files: src/os_unix.c
13850
13851Patch 7.3.634
13852Problem: Month/Day format for undo is confusing. (Marcin Szamotulski)
13853Solution: Always use Year/Month/Day, should work for everybody.
13854Files: src/undo.c
13855
13856Patch 7.3.635
13857Problem: Issue 21: System call during startup sets 'lines' to a wrong
13858 value. (Karl Yngve)
13859Solution: Don't set the shell size while the GUI is still starting up.
13860 (Christian Brabandt)
13861Files: src/ui.c
13862
13863Patch 7.3.636 (after 7.3.625)
13864Problem: Not all zero-width matches handled correctly for "gn".
13865Solution: Move zero-width detection to a separate function. (Christian
13866 Brabandt)
13867Files: src/search.c
13868
13869Patch 7.3.637
13870Problem: Cannot catch the error caused by a foldopen when there is no fold.
13871 (ZyX, Issue 48)
13872Solution: Do not break out of the loop early when inside try/catch.
13873 (Christian Brabandt) Except when there is a syntax error.
13874Files: src/ex_docmd.c, src/globals.h
13875
13876Patch 7.3.638
Bram Moolenaardd007ed2013-07-09 15:44:17 +020013877Problem: Unnecessary redraw of the previous character.
Bram Moolenaar913df812013-07-06 15:44:11 +020013878Solution: Check if the character is double-width. (Jon Long)
13879Files: src/screen.c
13880
13881Patch 7.3.639
13882Problem: It's not easy to build Vim on Windows with XPM support.
13883Solution: Include the required files, they are quite small. Update the
13884 MSVC makefile to use them. Binary files are in the next patch.
13885 (Sergey Khorev)
13886Files: src/xpm/COPYRIGHT, src/xpm/README.txt, src/xpm/include/simx.h,
13887 src/xpm/include/xpm.h, src/Make_mvc.mak, src/bigvim.bat,
13888 src/bigvim64.bat, Filelist
13889
13890Patch 7.3.640
13891Problem: It's not easy to build Vim on Windows with XPM support.
13892Solution: Binary files for 7.3.639. (Sergey Khorev)
13893Files: src/xpm/x64/lib/libXpm.lib, src/xpm/x86/lib/libXpm.a,
13894 src/xpm/x86/lib/libXpm.lib
13895
13896Patch 7.3.641
13897Problem: ":mkview" uses ":normal" instead of ":normal!" for folds. (Dan)
13898Solution: Add the bang. (Christian Brabandt)
13899Files: src/fold.c
13900
13901Patch 7.3.642
13902Problem: Segfault with specific autocommands. Was OK after 7.3.449 and
13903 before 7.3.545. (Richard Brown)
13904Solution: Pass TRUE for abort_if_last in the call to close_buffer().
13905 (Christian Brabandt)
13906Files: src/window.c
13907
13908Patch 7.3.643 (after 7.3.635)
13909Problem: MS-Windows: When starting gvim maximized 'lines' and 'columns' are
13910 wrong. (Christian Robinson)
13911Solution: Move the check for gui.starting from ui_get_shellsize() to
13912 check_shellsize().
13913Files: src/ui.c, src/term.c
13914
13915Patch 7.3.644
13916Problem: Dead code for BeOS GUI.
13917Solution: Remove unused __BEOS__ stuff.
13918Files: src/gui.c
13919
13920Patch 7.3.645
13921Problem: No tests for patch 7.3.625 and 7.3.637.
13922Solution: Add more tests for the "gn" command and try/catch. (Christian
13923 Brabandt)
13924Files: src/testdir/test53.in, src/testdir/test53.ok,
13925 src/testdir/test55.in, src/testdir/test55.ok
13926
13927Patch 7.3.646
13928Problem: When reloading a buffer the undo file becomes unusable unless ":w"
13929 is executed. (Dmitri Frank)
13930Solution: After reloading the buffer write the undo file. (Christian
13931 Brabandt)
13932Files: src/fileio.c
13933
13934Patch 7.3.647
13935Problem: "gnd" doesn't work correctly in Visual mode.
13936Solution: Handle Visual mode differently in "gn". (Christian Brabandt)
13937Files: src/search.c, src/testdir/test53.in, src/testdir/test53.ok
13938
13939Patch 7.3.648
13940Problem: Crash when using a very long file name. (ZyX)
13941Solution: Properly check length of buffer space.
13942Files: src/buffer.c
13943
13944Patch 7.3.649
13945Problem: When 'clipboard' is set to "unnamed" small deletes end up in the
13946 numbered registers. (Ingo Karkat)
13947Solution: Use the original register name to decide whether to put a delete
13948 in a numbered register. (Christian Brabandt)
13949Files: src/ops.c
13950
13951Patch 7.3.650
13952Problem: Completion after ":help \{-" gives an error message and messes up
13953 the command line.
13954Solution: Cancel the tag search if the pattern can't be compiled. (Yasuhiro
13955 Matsumoto)
13956Files: src/tag.c
13957
13958Patch 7.3.651
13959Problem: Completion after ":help \{-" gives an error message.
13960Solution: Prepend a backslash.
13961Files: src/ex_cmds.c
13962
13963Patch 7.3.652
13964Problem: Workaround for Python crash isn't perfect.
13965Solution: Change the type of the length argument. (Sean Estabrooks)
13966Files: src/if_py_both.h
13967
13968Patch 7.3.653
13969Problem: MingW needs build rule for included XPM files. Object directory
13970 for 32 and 64 builds is the same, also for MSVC.
13971Solution: Add MingW build rule to use included XPM files. Add the CPU or
13972 architecture to the object directory name. (Sergey Khorev)
13973Files: src/Make_ming.mak, src/Make_mvc.mak, src/xpm/README.txt
13974
13975Patch 7.3.654
13976Problem: When creating a Vim dictionary from Python objects an empty key
13977 might be used.
13978Solution: Do not use empty keys, throw an IndexError. (ZyX)
13979Files: src/if_py_both.h
13980
13981Patch 7.3.655
13982Problem: 64 bit MingW xpm .a file is missing.
13983Solution: Add the file. (Sergey Khorev)
13984Files: src/xpm/x64/lib/libXpm.a
13985
13986Patch 7.3.656
13987Problem: Internal error in :pyeval.
13988Solution: Handle failed object conversion. (ZyX)
13989Files: src/if_python.c, src/if_python3.c
13990
13991Patch 7.3.657
13992Problem: Python bindings silently truncate string values containing NUL.
13993Solution: Fail when a string contains NUL. (ZyX)
13994Files: src/if_python.c, src/if_python3.c
13995
13996Patch 7.3.658
13997Problem: NUL bytes truncate strings when converted from Python.
13998Solution: Handle truncation as an error. (ZyX)
13999Files: src/if_py_both.h, src/if_python3.c
14000
14001Patch 7.3.659
14002Problem: Recent Python changes are not tested.
14003Solution: Add tests for Python bindings. (ZyX)
14004Files: src/testdir/test86.in, src/testdir/test86.ok,
14005 src/testdir/test87.in, src/testdir/test87.ok
14006
14007Patch 7.3.660
14008Problem: ":help !" jumps to help for ":!".
14009Solution: Adjust check for tag header line. (Andy Wokula)
14010Files: src/tag.c
14011
14012Patch 7.3.661 (after 7.3.652)
14013Problem: SEGV in Python code.
14014Solution: Initialize len to zero. Use the right function depending on
14015 version. (Maxim Philippov)
14016Files: src/if_py_both.h, src/if_python.c, src/if_python3.c
14017
14018Patch 7.3.662
14019Problem: Can't build Ruby interface with Ruby 1.9.3.
14020Solution: Add missing functions. (V. Ondruch)
14021Files: src/if_ruby.c
14022
14023Patch 7.3.663
14024Problem: End of color scheme name not clear in E185. (Aaron Lewis)
14025Solution: Put the name in single quotes.
14026Files: src/ex_docmd.c
14027
14028Patch 7.3.664
14029Problem: Buffer overflow in unescaping text. (Raymond Ko)
14030Solution: Limit check for multi-byte character to 4 bytes.
14031Files: src/mbyte.c
14032
14033Patch 7.3.665
14034Problem: MSVC 11 is not supported. (Raymond Ko)
14035Solution: Recognize MSVC 11. (Gary Willoughby)
14036Files: src/Make_mvc.mak
14037
14038Patch 7.3.666
14039Problem: With MSVC 11 Win32.mak is not found.
14040Solution: Add the SDK_INCLUDE_DIR variable. (Raymond Ko)
14041Files: src/Make_mvc.mak
14042
14043Patch 7.3.667
14044Problem: Unused variables in Perl interface.
14045Solution: Adjust #ifdefs.
14046Files: src/if_perl.xs
14047
14048Patch 7.3.668
14049Problem: Building with Perl loaded dynamically still uses static library.
14050Solution: Adjust use of PL_thr_key. (Ken Takata)
14051Files: src/if_perl.xs
14052
14053Patch 7.3.669
14054Problem: When building with Cygwin loading Python dynamically fails.
14055Solution: Use DLLLIBRARY instead of INSTSONAME. (Ken Takata)
14056Files: src/configure.in, src/auto/configure
14057
14058Patch 7.3.670
14059Problem: Python: memory leaks when there are exceptions.
14060Solution: Add DICTKEY_UNREF in the right places. (ZyX)
14061Files: src/if_py_both.h
14062
14063Patch 7.3.671
14064Problem: More Python code can be shared between Python 2 and 3.
14065Solution: Move code to if_py_both.h. (ZyX)
14066Files: src/if_py_both.h, src/if_python.c, src/if_python3.c
14067
14068Patch 7.3.672
14069Problem: Not possible to lock/unlock lists in Python interface.
14070Solution: Add .locked and .scope attributes. (ZyX)
14071Files: runtime/doc/if_pyth.txt, src/if_py_both.h, src/if_python.c,
14072 src/if_python3.c, src/testdir/test86.in, src/testdir/test86.ok,
14073 src/testdir/test87.in, src/testdir/test87.ok
14074
14075Patch 7.3.673
14076Problem: Using "gN" while 'selection' is "exclusive" misses one character.
14077 (Ben Fritz)
14078Solution: Check the direction when compensating for exclusive selection.
14079 (Christian Brabandt)
14080Files: src/search.c
14081
14082Patch 7.3.674
14083Problem: Can't compile with Lua/dyn on Cygwin.
14084Solution: Adjust configure to use the right library name. (Ken Takata)
14085Files: src/configure.in, src/auto/configure
14086
14087Patch 7.3.675
14088Problem: Using uninitialized memory with very long file name.
14089Solution: Put NUL after text when it is truncated. (ZyX)
14090Files: src/buffer.c
14091
14092Patch 7.3.676
14093Problem: Ruby compilation on Windows 32 bit doesn't work.
14094Solution: Only use some functions for 64 bit. (Ken Takata)
14095Files: src/if_ruby.c
14096
14097Patch 7.3.677
14098Problem: buf_spname() is used inconsistently.
14099Solution: Make the return type a char_u pointer. Check the size of the
14100 returned string.
14101Files: src/buffer.c, src/proto/buffer.pro, src/ex_cmds2.c,
14102 src/ex_docmd.c, src/memline.c, src/screen.c
14103
14104Patch 7.3.678
14105Problem: Ruby .so name may not be correct.
14106Solution: Use the LIBRUBY_SO entry from the config. (Vit Ondruch)
14107Files: src/configure.in, src/auto/configure
14108
14109Patch 7.3.679
14110Problem: Ruby detection uses Config, newer Ruby versions use RbConfig.
14111Solution: Detect the need to use RbConfig. (Vit Ondruch)
14112Files: src/configure.in, src/auto/configure
14113
14114Patch 7.3.680
14115Problem: Some files missing in the list of distributed files.
14116Solution: Add lines for new files.
14117Files: Filelist
14118
14119Patch 7.3.681 (after 7.3.680)
14120Problem: List of distributed files picks up backup files.
14121Solution: Make tutor patterns more specific.
14122Files: Filelist
14123
14124Patch 7.3.682 (after 7.3.677)
14125Problem: Compiler complains about incompatible types.
14126Solution: Remove type casts. (hint by Danek Duvall)
14127Files: src/edit.c
14128
14129Patch 7.3.683
14130Problem: ":python" may crash when vimbindeval() returns None.
14131Solution: Check for v_string to be NULL. (Yukihiro Nakadaira)
14132Files: src/if_py_both.h
14133
14134Patch 7.3.684
14135Problem: "make test" does not delete lua.vim.
14136Solution: Add lua.vim to the clean target. (Simon Ruderich)
14137Files: src/testdir/Makefile, src/testdir/Make_dos.mak,
14138 src/testdir/Make_ming.mak, src/testdir/Make_vms.mms
14139
14140Patch 7.3.685
14141Problem: No test for what patch 7.3.673 fixes.
14142Solution: Add a test. (Christian Brabandt)
14143Files: src/testdir/test53.in, src/testdir/test53.ok
14144
14145Patch 7.3.686
14146Problem: Using CTRL-\ e mappings is useful also when entering an
14147 expression, but it doesn't work. (Marcin Szamotulski)
14148Solution: Allow using CTRL-\ e when entering an expression if it was not
14149 typed.
14150Files: src/ex_getln.c
14151
14152Patch 7.3.687
14153Problem: Test 16 fails when $DISPLAY is not set.
14154Solution: Skip the test when $DISPLAY is not set.
14155Files: src/testdir/test16.in
14156
14157Patch 7.3.688
14158Problem: Python 3.3 is not supported.
14159Solution: Add Python 3.3 support (Ken Takata)
14160Files: src/if_python3.c
14161
14162Patch 7.3.689
14163Problem: MzScheme and Lua may use a NULL string.
14164Solution: Use an empty string instead of NULL. (Yukihiro Nakadaira)
14165Files: src/if_lua.c, src/if_mzsch.c
14166
14167Patch 7.3.690
14168Problem: When the current directory name is exactly the maximum path length
14169 Vim may crash.
14170Solution: Only add "/" when there is room. (Danek Duvall)
14171Files: src/os_unix.c
14172
14173Patch 7.3.691
14174Problem: State specific to the Python thread is discarded.
14175Solution: Keep state between threads. (Paul)
14176Files: src/if_python.c
14177
14178Patch 7.3.692
14179Problem: Can't build GTK version with GTK 2.0.
14180Solution: Put GtkFileFilter declaration in the right place. (Yegappan
14181 Lakshmanan)
14182Files: src/gui_gtk.c
14183
14184Patch 7.3.693
14185Problem: Can't make 'softtabstop' follow 'shiftwidth'.
14186Solution: When 'softtabstop' is negative use the value of 'shiftwidth'.
14187 (so8res)
14188Files: src/edit.c, src/option.c, src/proto/option.pro
14189
14190Patch 7.3.694
14191Problem: Now that 'shiftwidth' may use the value of 'tabstop' it is not so
14192 easy to use in indent files.
14193Solution: Add the shiftwidth() function. (so8res)
14194Files: runtime/doc/eval.txt, src/eval.c
14195
14196Patch 7.3.695
14197Problem: Balloon cannot show multi-byte text.
14198Solution: Properly deal with multi-byte characters. (Dominique Pelle)
14199Files: src/gui_beval.c, src/ui.c
14200
14201Patch 7.3.696
14202Problem: Message about added spell language can be wrong.
14203Solution: Give correct message. Add g:menutrans_set_lang_to to allow for
14204 translation. (Jiri Sedlak)
14205Files: runtime/menu.vim
14206
14207Patch 7.3.697
14208Problem: Leaking resources when setting GUI font.
14209Solution: Free the font. (Ken Takata)
14210Files: src/syntax.c
14211
14212Patch 7.3.698
Bram Moolenaardd007ed2013-07-09 15:44:17 +020014213Problem: Python 3 does not preserve state between commands.
Bram Moolenaar913df812013-07-06 15:44:11 +020014214Solution: Preserve the state. (Paul Ollis)
14215Files: src/if_python.c, src/if_python3.c
14216
14217Patch 7.3.699
14218Problem: When 'ttymouse' is set to "sgr" manually, it is overruled by
14219 automatic detection.
14220Solution: Do not use automatic detection when 'ttymouse' was set manually.
14221 (Hayaki Saito)
14222Files: src/term.c
14223
14224Patch 7.3.700
14225Problem: Cannot detect URXVT and SGR mouse support.
14226Solution: add +mouse_urxvt and +mouse_sgr. (Hayaki Saito)
14227Files: src/feature.h, src/eval.c
14228
14229Patch 7.3.701
14230Problem: MS-Windows: Crash with stack overflow when setting 'encoding'.
14231Solution: Handle that loading the iconv library may be called recursively.
14232 (Jiri Sedlak)
14233Files: src/os_win32.c
14234
14235Patch 7.3.702
14236Problem: Nmake from VS6 service pack 6 is not recognized.
14237Solution: Detect the version number. (Jiri Sedlak)
14238Files: src/Make_mvc.mak
14239
14240Patch 7.3.703
14241Problem: When 'undofile' is reset the hash is computed unnecessarily.
14242Solution: Only compute the hash when the option was set. (Christian Brabandt)
14243Files: src/option.c
14244
14245Patch 7.3.704
14246Problem: Repeating "cgn" does not always work correctly.
14247Solution: Also fetch the operator character. (Christian Brabandt)
14248Files: src/normal.c
14249
14250Patch 7.3.705
14251Problem: Mouse features are not sorted properly. (Tony Mechelynck)
14252Solution: Put the mouse features in alphabetical order.
14253Files: src/version.c
14254
14255Patch 7.3.706 (after 7.3.697)
14256Problem: Can't build Motif version.
14257Solution: Fix wrongly named variable. (Ike Devolder)
14258Files: src/syntax.c
14259
14260Patch 7.3.707 (after 7.3.701)
14261Problem: Problems loading a library for a file name with non-latin
14262 characters.
14263Solution: Use wide system functions when possible. (Ken Takata)
14264Files: src/os_win32.c, src/os_win32.h
14265
14266Patch 7.3.708
14267Problem: Filler lines above the first line may be hidden when opening Vim.
14268Solution: Change how topfill is computed. (Christian Brabandt)
14269Files: src/diff.c, src/testdir/test47.in, src/testdir/test47.ok
14270
14271Patch 7.3.709
14272Problem: Compiler warning for unused argument.
14273Solution: Add UNUSED.
14274Files: src/eval.c
14275
14276Patch 7.3.710 (after 7.3.704)
14277Problem: Patch 7.3.704 breaks "fn".
14278Solution: Add check for ca.cmdchar. (Christian Brabandt)
14279Files: src/normal.c
14280
14281Patch 7.3.711 (after 7.3.688)
14282Problem: vim.current.buffer is not available. (lilydjwg)
14283Solution: Use py3_PyUnicode_AsUTF8 instead of py3_PyUnicode_AsUTF8String.
14284 (Ken Takata)
14285Files: src/if_python3.c
14286
14287Patch 7.3.712
14288Problem: Nmake from VS2010 SP1 is not recognized.
14289Solution: Add the version number. (Ken Takata)
14290Files: src/Make_mvc.mak
14291
14292Patch 7.3.713
14293Problem: printf() can only align to bytes, not characters.
14294Solution: Add the "S" item. (Christian Brabandt)
14295Files: runtime/doc/eval.txt, src/message.c
14296
14297Patch 7.3.714
14298Problem: Inconsistency: :set can be used in the sandbox, but :setlocal and
14299 :setglobal cannot. (Michael Henry)
14300Solution: Fix the flags for :setlocal and :setglobal. (Christian Brabandt)
14301Files: src/ex_cmds.h
14302
14303Patch 7.3.715
14304Problem: Crash when calling setloclist() in BufUnload autocmd. (Marcin
14305 Szamotulski)
14306Solution: Set w_llist to NULL when it was freed. Also add a test.
14307 (Christian Brabandt)
14308Files: src/quickfix.c, src/testdir/test49.ok, src/testdir/test49.vim
14309
14310Patch 7.3.716
14311Problem: Error on exit when using Python 3.
14312Solution: Remove PythonIO_Fini(). (Roland Puntaier)
14313Files: src/if_python3.c
14314
14315Patch 7.3.717
14316Problem: When changing the font size, only MS-Windows limits the window
14317 size.
14318Solution: Also limit the window size on other systems. (Roland Puntaier)
14319Files: src/gui.c
14320
14321Patch 7.3.718
14322Problem: When re-using the current buffer the buffer-local options stay.
14323Solution: Re-initialize the buffer-local options. (Christian Brabandt)
14324Files: src/buffer.c
14325
14326Patch 7.3.719
14327Problem: Cannot run new version of cproto, it fails on missing include
14328 files.
14329Solution: Add lots of #ifndef PROTO
14330Files: src/os_amiga.c, src/os_amiga.h, src/gui_w16.c, src/gui_w48.c,
14331 src/gui_w32.c, src/vimio.h, src/os_msdos.c, src/os_msdos.h,
14332 src/os_win16.h, src/os_win16.c, src/os_win32.h, src/os_win32.c,
14333 src/os_mswin.c, src/gui_photon.c, src/os_unix.h, src/os_beos.c,
14334 src/os_beos.h
14335
14336Patch 7.3.720
14337Problem: Proto files are outdated.
14338Solution: Update the newly generated proto files.
14339Files: src/proto/digraph.pro, src/proto/fold.pro, src/proto/misc1.pro,
14340 src/proto/move.pro, src/proto/screen.pro, src/proto/search.pro,
14341 src/proto/os_win32.pro, src/proto/os_mswin.pro,
14342 src/proto/os_beos.pro
14343
14344Patch 7.3.721
14345Problem: Ruby interface defines local functions globally.
14346Solution: Make the functions static.
14347Files: src/if_ruby.c
14348
14349Patch 7.3.722
14350Problem: Perl flags may contain "-g", which breaks "make proto".
14351Solution: Filter out the "-g" flag for cproto. (Ken Takata)
14352Files: src/Makefile
14353
14354Patch 7.3.723
14355Problem: Various tiny problems.
14356Solution: Various tiny fixes.
14357Files: src/gui_mac.c, src/xpm_w32.c, src/netbeans.c, src/sha256.c,
14358 src/if_sniff.c, README.txt
14359
14360Patch 7.3.724
14361Problem: Building with Ruby and Tcl on MS-Windows 64 bit does not work.
14362Solution: Remove Ruby and Tcl from the big MS-Windows build.
14363Files: src/bigvim64.bat
14364
14365Patch 7.3.725
14366Problem: :aboveleft and :belowright have no effect on :copen.
14367Solution: Check for cmdmod.split. (Christian Brabandt)
14368Files: src/quickfix.c
14369
14370Patch 7.3.726
14371Problem: Typos and duplicate info in README.
14372Solution: Fix the text.
14373Files: README.txt
14374
14375Patch 7.3.727
14376Problem: Can't always find Win32.mak when building GvimExt.
14377Solution: Use same mechanism as in Make_mvc.mak. (Cade Foster)
14378Files: src/GvimExt/Makefile
14379
14380Patch 7.3.728
14381Problem: Cannot compile with MzScheme interface on Ubuntu 12.10.
14382Solution: Find the collects directory under /usr/share.
14383Files: src/configure.in, src/auto/configure
14384
14385Patch 7.3.729
14386Problem: Building with Ruby fails on some systems.
14387Solution: Remove "static" and add #ifndef PROTO. (Ken Takata)
14388Files: src/if_ruby.c
14389
14390Patch 7.3.730
14391Problem: Crash in PHP file when using syntastic. (Ike Devolder)
14392Solution: Avoid using NULL pointer. (Christian Brabandt)
14393Files: src/quickfix.c
14394
14395Patch 7.3.731
Bram Moolenaardd007ed2013-07-09 15:44:17 +020014396Problem: Py3Init_vim() is exported unnecessarily.
Bram Moolenaar913df812013-07-06 15:44:11 +020014397Solution: Make it static. (Ken Takata)
14398Files: src/if_python3.c
14399
14400Patch 7.3.732
14401Problem: Compiler warnings for function arguments.
14402Solution: Use inteptr_t instead of long.
14403Files: src/if_mzsch.c, src/main.c
14404
14405Patch 7.3.733
14406Problem: Tests fail when including MzScheme.
14407Solution: Change #ifdefs for vim_main2().
14408Files: src/main.c
14409
14410Patch 7.3.734
14411Problem: Cannot put help files in a sub-directory.
14412Solution: Make :helptags work for sub-directories. (Charles Campbell)
14413Files: src/ex_cmds.c
14414
14415Patch 7.3.735
14416Problem: Cannot build Ruby 1.9 with MingW or Cygwin.
14417Solution: Add another include directory. (Ken Takata)
14418Files: src/Make_cyg.mak, src/Make_ming.mak
14419
14420Patch 7.3.736
14421Problem: File name completion in input() escapes white space. (Frederic
14422 Hardy)
14423Solution: Do not escape white space. (Christian Brabandt)
14424Files: src/ex_getln.c
14425
14426Patch 7.3.737
14427Problem: When using do_cmdline() recursively did_endif is not reset,
14428 causing messages to be overwritten.
14429Solution: Reset did_endif. (Christian Brabandt)
14430Files: src/ex_docmd.c
14431
14432Patch 7.3.738 (after 7.3.730)
14433Problem: Unused function argument.
14434Solution: Remove it. (Christian Brabandt)
14435Files: src/quickfix.c
14436
14437Patch 7.3.739
14438Problem: Computing number of lines may have an integer overflow.
14439Solution: Check for MAXCOL explicitly. (Dominique Pelle)
14440Files: src/move.c
14441
14442Patch 7.3.740
14443Problem: IOC tool complains about undefined behavior for int.
14444Solution: Change to unsigned int. (Dominique Pelle)
14445Files: src/hashtab.c, src/misc2.c
14446
14447Patch 7.3.741 (after 7.3.737)
14448Problem: Tiny build fails.
14449Solution: Move #ifdef. (Ike Devolder)
14450Files: src/ex_docmd.c
14451
14452Patch 7.3.742
14453Problem: Leaking memory when :vimgrep restores the directory.
14454Solution: Free the allocated memory. (Christian Brabandt)
14455Files: src/quickfix.c
14456
14457Patch 7.3.743 (after 7.3.741)
14458Problem: Tiny build still fails.
14459Solution: Add #else in the right place.
14460Files: src/ex_docmd.c
14461
14462Patch 7.3.744
14463Problem: 64 bit compiler warning.
14464Solution: Add type cast. (Mike Williams)
14465Files: src/ex_cmds.c
14466
14467Patch 7.3.745
14468Problem: Automatically setting 'ttymouse' doesn't work.
14469Solution: Reset the "option was set" flag when using the default.
14470Files: src/option.c, src/proto/option.pro, src/term.c
14471
14472Patch 7.3.746
14473Problem: Memory leaks when using location lists.
14474Solution: Set qf_title to something. (Christian Brabandt)
14475Files: src/eval.c, src/quickfix.c
14476
14477Patch 7.3.747
14478Problem: When characters are concealed text aligned with tabs are no longer
14479 aligned, e.g. at ":help :index".
14480Solution: Compensate space for tabs for concealed characters. (Dominique
14481 Pelle)
14482Files: src/screen.c
14483
14484Patch 7.3.748
14485Problem: Cannot properly test conceal mode.
14486Solution: Add the screencol() and screenrow() functions. Use them in
14487 test88. (Simon Ruderich)
14488Files: runtime/doc/eval.txt, src/eval.c, src/proto/screen.pro,
14489 src/screen.c, src/testdir/Make_amiga.mak,
14490 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
14491 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms
14492 src/testdir/Makefile, src/testdir/test88.in,
14493 src/testdir/test88.ok,
14494
14495Patch 7.3.749
14496Problem: Python interface doesn't build without the multi-byte feature.
14497Solution: Add #ifdef. (Ken Takata)
14498Files: src/if_py_both.h
14499
14500Patch 7.3.750
14501Problem: The justify macro does not always work correctly.
14502Solution: Fix off-by-one error (James McCoy)
14503Files: runtime/macros/justify.vim
14504
14505Patch 7.3.751
14506Problem: Test 61 is flaky, it fails once in a while.
14507Solution: When it fails retry once.
14508Files: src/testdir/Makefile
14509
14510Patch 7.3.752
14511Problem: Test 49 script file doesn't fold properly.
14512Solution: Add a colon.
14513Files: src/testdir/test49.vim
14514
14515Patch 7.3.753
14516Problem: When there is a QuitPre autocommand using ":q" twice does not work
14517 for exiting when there are more files to edit.
14518Solution: Do not decrement quitmore in an autocommand. (Techlive Zheng)
14519Files: src/ex_docmd.c, src/fileio.c, src/proto/fileio.pro
14520
14521Patch 7.3.754
14522Problem: Latest nmake is not recognized.
14523Solution: Add nmake version 11.00.51106.1. (Raymond Ko)
14524Files: src/Make_mvc.mak
14525
14526Patch 7.3.755
14527Problem: Autoconf doesn't find Python 3 if it's called "python".
14528Solution: Search for "python2" and "python3" first, then "python".
14529Files: src/configure.in, src/auto/configure
14530
14531Patch 7.3.756
14532Problem: A location list can get a wrong count in :lvimgrep.
14533Solution: Check if the list was changed by autocommands. (mostly by
14534 Christian Brabandt)
Bram Moolenaardd007ed2013-07-09 15:44:17 +020014535Files: src/quickfix.c
Bram Moolenaar913df812013-07-06 15:44:11 +020014536
14537Patch 7.3.757
14538Problem: Issue 96: May access freed memory when a put command triggers
14539 autocommands. (Dominique Pelle)
14540Solution: Call u_save() before getting y_array.
14541Files: src/ops.c
14542
14543Patch 7.3.758
14544Problem: Matchit plugin does not handle space in #ifdef.
14545Solution: Change matching pattern to allow spaces. (Mike Morearty)
14546Files: runtime/macros/matchit.vim
14547
14548Patch 7.3.759
14549Problem: MS-Windows: Updating the tabline is slow when there are many tabs.
14550Solution: Disable redrawing while performing the update. (Arseny Kapoulkine)
14551Files: src/gui_w48.c
14552
14553Patch 7.3.760
14554Problem: dv_ deletes the white space before the line.
14555Solution: Move the cursor to the first non-white. (Christian Brabandt)
14556Files: src/normal.c, src/testdir/test19.in, src/testdir/test19.ok
14557
14558Patch 7.3.761
14559Problem: In Visual mode a "-p does not work. (Marcin Szamotulski)
14560Solution: Avoid writing to "- before putting it. (Christian Brabandt)
14561Files: src/normal.c, src/testdir/test48.in, src/testdir/test48.ok
14562
14563Patch 7.3.762 (after 7.3.759)
14564Problem: On some systems the tabline is not redrawn.
14565Solution: Call RedrawWindow(). (Charles Peacech)
14566Files: src/gui_w48.c
14567
14568Patch 7.3.763
14569Problem: Jumping to a mark does not open a fold if it is in the same line.
14570 (Wiktor Ruben)
14571Solution: Also compare the column after the jump. (Christian Brabandt)
14572Files: src/normal.c
14573
14574Patch 7.3.764
14575Problem: Not all message translation files are installed.
14576Solution: Also install the converted files.
14577Files: src/po/Makefile
14578
14579Patch 7.3.765
14580Problem: Segfault when doing "cclose" on BufUnload in a python function.
14581 (Sean Reifschneider)
14582Solution: Skip window with NULL buffer. (Christian Brabandt)
14583Files: src/main.c, src/window.c
14584
14585Patch 7.3.766
14586Problem: ":help cpo-*" jumps to the wrong place.
14587Solution: Make it equivalent to ":help cpo-star".
14588Files: src/ex_cmds.c
14589
14590Patch 7.3.767
14591Problem: (Win32) The _errno used for iconv may be the wrong one.
14592Solution: Use the _errno from iconv.dll. (Ken Takata)
14593Files: src/mbyte.c
14594
14595Patch 7.3.768
14596Problem: settabvar() and setwinvar() may move the cursor.
14597Solution: Save and restore the cursor position when appropriate. (idea by
14598 Yasuhiro Matsumoto)
14599Files: src/edit.c
14600
14601Patch 7.3.769
14602Problem: 'matchpairs' does not work with multi-byte characters.
14603Solution: Make it work. (Christian Brabandt)
14604Files: src/misc1.c, src/option.c, src/proto/option.pro, src/search.c,
14605 src/testdir/test69.in, src/testdir/test69.ok
14606
14607Patch 7.3.770
14608Problem: Vim.h indentation is inconsistent.
14609Solution: Adjust the indentation. (Elias Diem)
14610Files: src/vim.h
14611
14612Patch 7.3.771 (after 7.3.769)
14613Problem: Uninitialized variable. (Yasuhiro Matsumoto)
14614Solution: Set x2 to -1.
14615Files: src/option.c
14616
14617Patch 7.3.772
14618Problem: Cursor is at the wrong location and below the end of the file
14619 after doing substitutions with confirm flag: %s/x/y/c
14620 (Dominique Pelle)
14621Solution: Update the cursor position. (Christian Brabandt & Dominique)
14622Files: src/ex_cmds.c
14623
14624Patch 7.3.773 (after 7.3.767)
14625Problem: Crash when OriginalFirstThunk is zero.
14626Solution: Skip items with OriginalFirstThunk not set. (Ken Takata)
14627Files: src/mbyte.c
14628
14629Patch 7.3.774
14630Problem: Tiny GUI version misses console dialog feature.
Bram Moolenaardd007ed2013-07-09 15:44:17 +020014631Solution: Define FEAT_CON_DIALOG when appropriate. (Christian Brabandt)
Bram Moolenaar913df812013-07-06 15:44:11 +020014632Files: src/feature.h, src/gui.h
14633
14634Patch 7.3.775
14635Problem: Cygwin and Mingw builds miss dependency on gui_w48.c.
14636Solution: Add a build rule. (Ken Takata)
14637Files: src/Make_cyg.mak, src/Make_ming.mak
14638
14639Patch 7.3.776
14640Problem: ml_get error when searching, caused by curwin not matching curbuf.
14641Solution: Avoid changing curbuf. (Lech Lorens)
14642Files: src/charset.c, src/eval.c, src/mark.c, src/proto/charset.pro,
14643 src/proto/mark.pro, src/regexp.c, src/syntax.c,
14644
14645Patch 7.3.777
14646Problem: When building with Gnome locale gets reset.
14647Solution: Set locale after gnome_program_init(). (Christian Brabandt)
14648Files: src/gui_gtk_x11.c
14649
14650Patch 7.3.778
14651Problem: Compiler error for adding up two pointers. (Titov Anatoly)
14652Solution: Add a type cast. (Ken Takata)
14653Files: src/mbyte.c
14654
14655Patch 7.3.779
14656Problem: Backwards search lands in wrong place when started on a multibyte
14657 character.
14658Solution: Do not set extra_col for a backwards search. (Sung Pae)
14659Files: src/search.c, src/testdir/test44.in, src/testdir/test44.ok
14660
14661Patch 7.3.780
14662Problem: char2nr() and nr2char() always use 'encoding'.
14663Solution: Add argument to use utf-8 characters. (Yasuhiro Matsumoto)
14664Files: runtime/doc/eval.txt, src/eval.c
14665
14666Patch 7.3.781
14667Problem: Drawing with 'guifontwide' can be slow.
14668Solution: Draw multiple characters at a time. (Taro Muraoka)
14669Files: src/gui.c
14670
14671Patch 7.3.782
14672Problem: Windows: IME composition may use a wrong font.
14673Solution: Use 'guifontwide' for IME when it is set. (Taro Muraoka)
14674Files: runtime/doc/options.txt, src/gui.c, src/gui_w48.c,
14675 src/proto/gui_w16.pro, src/proto/gui_w32.pro
14676
14677Patch 7.3.783
14678Problem: Crash when mark is not set. (Dominique Pelle)
14679Solution: Check for NULL.
14680Files: src/normal.c
14681
14682Patch 7.3.784 (after 7.3.781)
14683Problem: Error when 'guifontwide' has a comma.
14684Solution: Use gui.wide_font. (Taro Muraoka)
14685Files: src/gui_w48.c
14686
14687Patch 7.3.785 (after 7.3.776)
14688Problem: Crash with specific use of search pattern.
14689Solution: Initialize reg_buf to curbuf.
14690Files: src/regexp.c
14691
14692Patch 7.3.786
14693Problem: Python threads don't run in the background (issue 103).
14694Solution: Move the statements to manipulate thread state.
14695Files: src/if_python.c
14696
14697Patch 7.3.787
14698Problem: With 'relativenumber' set it is not possible to see the absolute
14699 line number.
14700Solution: For the cursor line show the absolute line number instead of a
14701 zero. (Nazri Ramliy)
14702Files: src/screen.c
14703
14704Patch 7.3.788
14705Problem: When only using patches build fails on missing nl.po.
14706Solution: Create an empty nl.po file.
14707Files: src/po/Makefile
14708
14709Patch 7.3.789 (after 7.3.776)
14710Problem: "\k" in regexp does not work in other window.
14711Solution: Use the right buffer. (Yukihiro Nakadaira)
14712Files: src/mbyte.c, src/proto/mbyte.pro, src/regexp.c
14713
14714Patch 7.3.790
14715Problem: After reloading a buffer the modelines are not processed.
14716Solution: call do_modelines(). (Ken Takata)
14717Files: src/fileio.c
14718
14719Patch 7.3.791
Bram Moolenaardd007ed2013-07-09 15:44:17 +020014720Problem: MzScheme interface doesn't work properly.
Bram Moolenaar913df812013-07-06 15:44:11 +020014721Solution: Make it work better. (Sergey Khorev)
14722Files: runtime/doc/if_mzsch.txt, src/configure.in, src/auto/configure,
14723 src/eval.c, src/if_mzsch.c, src/if_mzsch.h, src/Make_ming.mak,
14724 src/Make_mvc.mak, src/os_unix.c, src/proto/eval.pro,
14725 src/testdir/test70.in, src/testdir/test70.ok
14726
14727Patch 7.3.792
14728Problem: ":substitute" works differently without confirmation.
14729Solution: Do not change the text when asking for confirmation, only display
14730 it.
14731Files: src/ex_cmds.c
14732
14733Patch 7.3.793 (after 7.3.792)
Bram Moolenaardd007ed2013-07-09 15:44:17 +020014734Problem: New interactive :substitute behavior is not tested.
Bram Moolenaar913df812013-07-06 15:44:11 +020014735Solution: Add tests. (Christian Brabandt)
14736Files: src/testdir/test80.in, src/testdir/test80.ok
14737
14738Patch 7.3.794
14739Problem: Tiny build fails. (Tony Mechelynck)
14740Solution: Adjust #ifdefs.
14741Files: src/charset.c
14742
14743Patch 7.3.795
14744Problem: MzScheme does not build with tiny features.
14745Solution: Add #ifdefs. Also add UNUSED to avoid warnings. And change
14746 library ordering.
14747Files: src/if_mzsch.c, src/Makefile
14748
14749Patch 7.3.796
14750Problem: "/[^\n]" does match at a line break.
14751Solution: Make it do the same as "/.". (Christian Brabandt)
14752Files: src/regexp.c, src/testdir/test79.in, src/testdir/test79.ok
14753
14754Patch 7.3.797 (after 7.3.792)
14755Problem: Compiler warning for size_t to int conversion. (Skeept)
14756Solution: Add type casts.
14757Files: src/ex_cmds.c
14758
14759Patch 7.3.798 (after 7.3.791)
14760Problem: MzScheme: circular list does not work correctly.
14761Solution: Separate Mac-specific code from generic code. (Sergey Khorev)
14762Files: src/if_mzsch.c, src/testdir/test70.in
14763
14764Patch 7.3.799
14765Problem: The color column is not correct when entering a buffer. (Ben
14766 Fritz)
14767Solution: Call check_colorcolumn() if 'textwidth' changed. (Christian
14768 Brabandt)
14769Files: src/buffer.c
14770
14771Patch 7.3.800
14772Problem: The " mark is not adjusted when inserting lines. (Roland Eggner)
14773Solution: Adjust the line number. (Christian Brabandt)
14774Files: src/mark.c
14775
14776Patch 7.3.801
14777Problem: ":window set nu?" displays the cursor line. (Nazri Ramliy)
14778Solution: Do not update the cursor line when conceallevel is zero or the
14779 screen has scrolled. (partly by Christian Brabandt)
14780Files: src/window.c
14781
14782Patch 7.3.802
14783Problem: After setting 'isk' to a value ending in a comma appending to the
14784 option fails.
14785Solution: Disallow a trailing comma for 'isk' and similar options.
14786Files: src/charset.c
14787
14788Patch 7.3.803 (after 7.3.792)
14789Problem: Substitute with confirmation and then "q" does not replace
14790 anything. (John McGowan)
14791Solution: Do not break the loop, skip to the end.
14792Files: src/ex_cmds.c, src/testdir/test80.in, src/testdir/test80.ok
14793
14794Patch 7.3.804 (after 7.3.799)
14795Problem: Compiler warning for tiny build. (Tony Mechelynck)
14796Solution: Add #ifdefs around variable.
14797Files: src/buffer.c
14798
14799Patch 7.3.805
14800Problem: Lua version 5.2 is not detected properly on Arch Linux.
14801Solution: Adjust autoconf. (lilydjwg)
14802Files: src/configure.in, src/auto/configure
14803
14804Patch 7.3.806
14805Problem: Compiler warnings in Perl code when building with Visual studio
14806 2012. (skeept)
14807Solution: Add type casts. (Christian Brabandt, 2013 Jan 30)
14808Files: src/if_perl.xs
14809
14810Patch 7.3.807
14811Problem: Popup menu does not work properly with the preview window, folds
14812 and 'cursorcolumn'.
14813Solution: Redraw the popup menu after redrawing windows. (Christian
14814 Brabandt)
14815Files: src/screen.c
14816
14817Patch 7.3.808
14818Problem: Python threads still do not work properly.
14819Solution: Fix both Python 2 and 3. Add tests. (Ken Takata)
14820Files: src/if_python.c, src/if_python3.c, src/testdir/test86.in,
14821 src/testdir/test86.ok, src/testdir/test87.in,
14822 src/testdir/test87.ok
14823
14824Patch 7.3.809
14825Problem: The dosinst.c program has a buffer overflow. (Thomas Gwae)
14826Solution: Ignore $VIMRUNTIME if it is too long.
14827Files: src/dosinst.c
14828
14829Patch 7.3.810
Bram Moolenaardd007ed2013-07-09 15:44:17 +020014830Problem: 'relativenumber' is reset unexpectedly. (François Ingelrest)
Bram Moolenaar913df812013-07-06 15:44:11 +020014831Solution: After an option was reset also reset the global value. Add a test.
14832 (Christian Brabandt)
14833Files: src/option.c, src/testdir/Make_amiga.mak,
14834 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
14835 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms,
14836 src/testdir/Makefile, src/testdir/test89.in,
14837 src/testdir/test89.ok
14838
14839Patch 7.3.811
14840Problem: Useless termresponse parsing for SGR mouse.
14841Solution: Skip the parsing. (Hayaki Saito)
14842Files: src/term.c
14843
14844Patch 7.3.812
14845Problem: When 'indentexpr' moves the cursor "curswant" not restored.
14846Solution: Restore "curswant". (Sung Pae)
14847Files: src/misc1.c
14848
14849Patch 7.3.813
14850Problem: The CompleteDone event is not triggered when there are no pattern
14851 matches. (Jianjun Mao)
14852Solution: Trigger the event. (Christian Brabandt)
14853Files: src/edit.c
14854
14855Patch 7.3.814
14856Problem: Can't input multibyte characters on Win32 console if 'encoding' is
14857 different from current codepage.
14858Solution: Use convert_input_safe() instead of convert_input(). Make
14859 string_convert_ext() return an error for incomplete input. (Ken
14860 Takata)
14861Files: src/mbyte.c, src/os_win32.c
14862
14863Patch 7.3.815
14864Problem: Building with Cygwin and Ruby doesn't work.
14865Solution: Copy some things from the MingW build file. (Ken Takata)
14866Files: src/Make_cyg.mak
14867
14868Patch 7.3.816
14869Problem: Can't compute a hash.
14870Solution: Add the sha256() function. (Tyru, Hirohito Higashi)
14871Files: runtime/doc/eval.txt, src/eval.c, src/proto/sha256.pro,
14872 src/sha256.c, src/testdir/test90.in, src/testdir/test90.ok,
14873 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
14874 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
14875 src/testdir/Make_vms.mms, src/testdir/Makefile
14876
14877Patch 7.3.817
14878Problem: Test 89 fails with tiny and small features.
14879Solution: Add sourcing small.vim.
14880Files: src/testdir/test89.in
14881
14882Patch 7.3.818
14883Problem: When test 40 fails because of a bad build it may leave files
14884 behind that cause it to fail later.
14885Solution: Let the file names start with "X".
14886Files: src/testdir/test40.in
14887
14888Patch 7.3.819
14889Problem: Compiling without +eval and with Python isn't working.
14890Solution: Add the eval feature when building with Python.
14891Files: src/if_py_both.h, src/feature.h, src/eval.c, src/ex_docmd.c,
14892 src/normal.c, src/ex_docmd.c, src/gui_gtk_x11.c
14893
14894Patch 7.3.820
14895Problem: Build errors and warnings when building with small features and
14896 Lua, Perl or Ruby.
14897Solution: Add #ifdefs and UNUSED.
14898Files: src/if_perl.xs, src/if_lua.c, src/if_ruby.c
14899
14900Patch 7.3.821
14901Problem: Build with OLE and Cygwin is broken. (Steve Hall)
14902Solution: Select static or shared stdc library. (Ken Takata)
14903Files: src/Make_cyg.mak
14904
14905Patch 7.3.822 (after 7.3.799)
14906Problem: Crash when accessing freed buffer.
14907Solution: Get 'textwidth' in caller of enter_buffer(). (Christian Brabandt)
14908Files: src/buffer.c
14909
14910Patch 7.3.823 (after 7.3.821)
14911Problem: Building with Cygwin: '-lsupc++' is not needed.
14912Solution: Remove it. (Ken Takata)
14913Files: src/Make_cyg.mak
14914
14915Patch 7.3.824
14916Problem: Can redefine builtin functions. (ZyX)
14917Solution: Disallow adding a function to g:.
14918Files: src/eval.c
14919
14920Patch 7.3.825
14921Problem: With Python errors are not always clear.
14922Solution: Print the stack trace, unless :silent is used. (ZyX)
14923Files: src/if_python3.c, src/if_python.c
14924
14925Patch 7.3.826
14926Problem: List of features in :version output is hard to read.
14927Solution: Make columns. (Nazri Ramliy)
14928Files: src/version.c
14929
14930Patch 7.3.827 (after 7.3.825)
14931Problem: Python tests fail.
14932Solution: Adjust the output for the stack trace.
14933Files: src/testdir/test86.in, src/testdir/test86.ok,
14934 src/testdir/test87.ok
14935
14936Patch 7.3.828
14937Problem: Mappings are not aware of wildmenu mode.
14938Solution: Add wildmenumode(). (Christian Brabandt)
14939Files: src/eval.c, runtime/doc/eval.txt
14940
14941Patch 7.3.829
14942Problem: When compiled with the +rightleft feature 'showmatch' also shows a
14943 match for the opening paren. When 'revins' is set the screen may
14944 scroll.
14945Solution: Only check the opening paren when the +rightleft feature was
14946 enabled. Do not show a match that is not visible. (partly by
14947 Christian Brabandt)
14948Files: src/search.c
14949
14950Patch 7.3.830
14951Problem: :mksession confuses bytes, columns and characters when positioning
14952 the cursor.
14953Solution: Use w_virtcol with "|" instead of w_cursor.col with "l".
14954Files: src/ex_docmd.c
14955
14956Patch 7.3.831
14957Problem: Clumsy to handle the situation that a variable does not exist.
14958Solution: Add default value to getbufvar() et al. (Shougo Matsushita,
14959 Hirohito Higashi)
14960Files: runtime/doc/eval.txt, src/eval.c src/testdir/test91.in,
14961 src/testdir/test91.ok, src/testdir/Make_amiga.mak,
14962 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
14963 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms,
14964 src/testdir/Makefile
14965
14966Patch 7.3.832
14967Problem: Compiler warning.
14968Solution: Add type cast. (Mike Williams)
14969Files: src/version.c
14970
14971Patch 7.3.833
14972Problem: In the terminal the scroll wheel always scrolls the active window.
14973Solution: Scroll the window under the mouse pointer, like in the GUI.
14974 (Bradie Rao)
14975Files: src/edit.c, src/normal.c
14976
14977Patch 7.3.834
14978Problem: Ruby 2.0 has a few API changes.
14979Solution: Add handling of Ruby 2.0. (Yasuhiro Matsumoto)
14980Files: src/if_ruby.c
14981
14982Patch 7.3.835
14983Problem: "xxd -i" fails on an empty file.
14984Solution: Do output the closing } for an empty file. (partly by Lawrence
14985 Woodman)
14986Files: src/xxd/xxd.c
14987
14988Patch 7.3.836
14989Problem: Clipboard does not work on Win32 when compiled with Cygwin.
14990Solution: Move the Win32 clipboard code to a separate file and use it when
14991 building with os_unix.c. (Frodak Baksik, Ken Takata)
14992Files: src/Make_bc5.mak, src/Make_cyg.mak, src/Make_ivc.mak,
14993 src/Make_ming.mak, src/Make_mvc.mak, src/Make_w16.mak,
14994 src/Makefile, src/config.h.in, src/configure.in,
14995 src/auto/configure, src/feature.h, src/globals.h, src/mbyte.c,
14996 src/os_mswin.c, src/os_unix.c, src/os_win32.c, src/proto.h,
14997 src/proto/os_mswin.pro, src/proto/winclip.pro, src/term.c,
14998 src/vim.h, src/winclip.c
14999
15000Patch 7.3.837 (after 7.3.826)
15001Problem: Empty lines in :version output when 'columns' is 320.
15002Solution: Simplify the logic of making columns. (Nazri Ramliy, Roland
15003 Eggner)
15004Files: src/version.c
15005
15006Patch 7.3.838 (after 7.3.830)
15007Problem: Insufficient testing for mksession.
15008Solution: Add tests. (mostly by Roland Eggner)
15009Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
15010 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
15011 src/testdir/Make_vms.mms, src/testdir/Makefile,
15012 src/testdir/test92.in, src/testdir/test92.ok,
15013 src/testdir/test93.in, src/testdir/test93.ok,
15014 src/ex_docmd.c
15015
15016Patch 7.3.839
15017Problem: Some files missing in the list of distributed files.
15018Solution: Add lines for new files.
15019Files: Filelist
15020
15021Patch 7.3.840
15022Problem: "\@<!" in regexp does not work correctly with multi-byte
15023 characters, especially cp932.
15024Solution: Move column to start of multi-byte character. (Yasuhiro Matsumoto)
15025Files: src/regexp.c
15026
15027Patch 7.3.841
15028Problem: When a "cond ? one : two" expression has a subscript it is not
15029 parsed correctly. (Andy Wokula)
15030Solution: Handle a subscript also when the type is unknown. (Christian
15031 Brabandt)
15032Files: src/eval.c
15033
15034Patch 7.3.842
15035Problem: Compiler warning for signed/unsigned pointer.
15036Solution: Add type cast. (Christian Brabandt)
15037Files: src/eval.c
15038
15039Patch 7.3.843 (after 7.3.841)
15040Problem: Missing test file changes.
15041Solution: Change the tests.
15042Files: src/testdir/test49.vim, src/testdir/test49.ok
15043
15044Patch 7.3.844
15045Problem: Enum is not indented correctly with "public" etc.
15046Solution: Skip "public", "private" and "protected". (Hong Xu)
15047Files: src/misc1.c
15048
15049Patch 7.3.845 (after 7.3.844)
15050Problem: Enum indenting is not tested.
15051Solution: Add tests. (Hong Xu)
15052Files: src/testdir/test3.in, src/testdir/test3.ok
15053
15054Patch 7.3.846
15055Problem: Missing proto files.
15056Solution: Add the files.
15057Files: Filelist, src/proto/os_beos.pro
15058
15059Patch 7.3.847
15060Problem: Test 55 fails when messages are translated.
15061Solution: Set language to C. (Ken Takata)
15062Files: src/testdir/test55.in
15063
15064Patch 7.3.848
15065Problem: Can't build with Ruby 2.0 when using MinGW x64 or MSVC10.
15066Solution: Fix it. Also detect RUBY_PLATFORM and RUBY_INSTALL_NAME for x64.
15067 (Ken Takata)
15068Files: src/Make_cyg.mak, src/Make_ming.mak, src/if_ruby.c
15069
15070Patch 7.3.849
15071Problem: ":g//" gives "Pattern not found error" with E486. Should not use
15072 the error number, it's not a regular error message.
15073Solution: Use a normal message. (David Bürgin)
15074Files: src/ex_cmds.c
15075
15076Patch 7.3.850
15077Problem: ":vimgrep //" matches everywhere.
15078Solution: Make it use the previous search pattern. (David Bürgin)
15079Files: runtime/doc/quickfix.txt, src/quickfix.c
15080
15081Patch 7.3.851
15082Problem: Using an empty pattern with :sort silently continues when there is
15083 no previous search pattern.
15084Solution: Give an error message. (David Bürgin)
15085Files: src/ex_cmds.c
15086
15087Patch 7.3.852
15088Problem: system() breaks clipboard text. (Yukihiro Nakadaira)
15089Solution: Use Xutf8TextPropertyToTextList(). (Christian Brabandt)
15090 Also do not put the text in the clip buffer if conversion fails.
15091Files: src/ui.c, src/ops.c
15092
15093Patch 7.3.853
15094Problem: Using "ra" in multiple lines on multi-byte characters leaves a few
15095 characters not replaced.
15096Solution: Adjust the end column only in the last line. (Yasuhiro Matsumoto)
15097Files: src/testdir/test69.in, src/testdir/test69.ok, src/ops.c
15098
15099Patch 7.3.854
15100Problem: After using backspace in insert mode completion, CTRL-N and CTRL-P
15101 do not highlight the right entry. (Olivier Teuliere)
15102Solution: Set the current item to the shown item after using backspace.
15103Files: src/edit.c
15104
15105Patch 7.3.855
15106Problem: Compiler warnings.
15107Solution: Add type casts. (Mike Williams)
15108Files: src/misc1.c
15109
15110Patch 7.3.856
15111Problem: When calling system() multi-byte clipboard contents is garbled.
15112Solution: Save and restore the clipboard contents. (Yukihiro Nakadaira)
15113Files: src/gui_gtk_x11.c, src/proto/gui_gtk_x11.pro, src/ops.c,
15114 src/proto/ops.pro, src/os_unix.c, src/proto/ui.pro, src/ui.c
15115
15116Patch 7.3.857
15117Problem: The QuitPre autocommand event does not trigger for :qa and :wq.
15118Solution: Trigger the event. (Tatsuro Fujii)
15119Files: src/ex_docmd.c
15120
15121Patch 7.3.858
15122Problem: "gv" selects the wrong area after some operators.
15123Solution: Save and restore the type of selection. (Christian Brabandt)
15124Files: src/testdir/test66.in, src/testdir/test66.ok, src/normal.c
15125
15126Patch 7.3.859
15127Problem: 'ambiwidth' must be set by the user.
15128Solution: Detects East Asian ambiguous width (UAX #11) state of the terminal
15129 at the start-up time and 'ambiwidth' accordingly. (Hayaki Saito)
15130Files: src/main.c, src/option.c, src/term.c, src/term.h,
15131 src/proto/term.pro
15132
15133Patch 7.3.860
15134Problem: When using --remote-expr try/catch does not work. (Andrey Radev)
15135Solution: Set emsg_silent instead of emsg_skip.
15136Files: src/main.c
15137
15138Patch 7.3.861
15139Problem: ":setlocal number" clears global value of 'relativenumber'.
15140Solution: Do it properly. (Markus Heidelberg)
15141Files: src/testdir/test89.in, src/testdir/test89.ok, src/option.c
15142
15143Patch 7.3.862
15144Problem: Dragging the status line can be slow.
15145Solution: Look ahead and drop the drag event if there is a next one.
15146Files: src/eval.c, src/misc1.c, src/proto/misc1.pro, src/normal.c
15147
15148Patch 7.3.863 (after 7.3.859)
15149Problem: Problem with 'ambiwidth' detection for ANSI terminal.
15150Solution: Work around not recognizing a term response. (Hayaki Saito)
15151Files: src/term.c
15152
15153Patch 7.3.864 (after 7.3.862)
15154Problem: Can't build without the mouse feature.
15155Solution: Add an #ifdef. (Ike Devolder)
15156Files: src/misc1.c
15157
15158Patch 7.3.865 (after 7.3.862)
15159Problem: Mouse position may be wrong.
15160Solution: Let vungetc() restore the mouse position.
15161Files: src/getchar.c
15162
15163Patch 7.3.866
15164Problem: Not serving the X selection during system() isn't nice.
15165Solution: When using fork() do not loose the selection, keep serving it.
15166 Add a loop similar to handling I/O. (Yukihiro Nakadaira)
15167Files: src/os_unix.c
15168
15169Patch 7.3.867
15170Problem: Matchparen does not update match when using auto-indenting.
15171 (Marc Aldorasi)
15172Solution: Add the TextChanged and TextChangedI autocommand events.
15173Files: runtime/plugin/matchparen.vim, src/main.c, src/edit.c,
15174 src/globals.h, src/vim.h, src/fileio.c, src/proto/fileio.pro,
15175 runtime/doc/autocmd.txt
15176
15177Patch 7.3.868
15178Problem: When at the hit-return prompt and using "k" while no text has
15179 scrolled off screen, then using "j", an empty line is displayed.
15180Solution: Only act on "k" when text scrolled off screen. Also accept
15181 page-up and page-down. (cptstubing)
15182Files: src/message.c
15183
15184Patch 7.3.869
15185Problem: bufwinnr() matches buffers in other tabs.
15186Solution: For bufwinnr() and ? only match buffers in the current tab.
15187 (Alexey Radkov)
15188Files: src/buffer.c, src/diff.c, src/eval.c, src/ex_docmd.c,
15189 src/if_perl.xs, src/proto/buffer.pro
15190
15191Patch 7.3.870
15192Problem: Compiler warnings when using MingW 4.5.3.
15193Solution: Do not use MAKEINTRESOURCE. Adjust #if. (Ken Takata)
15194Files: src/gui_w32.c, src/gui_w48.c, src/os_mswin.c, src/os_win32.c,
15195 src/os_win32.h
15196
15197Patch 7.3.871
15198Problem: search('^$', 'c') does not use the empty match under the cursor.
15199Solution: Special handling of the 'c' flag. (Christian Brabandt)
15200 Add tests.
15201Files: src/search.c, src/testdir/test14.in, src/testdir/test14.ok
15202
15203Patch 7.3.872
15204Problem: On some systems case of file names is always ignored, on others
15205 never.
15206Solution: Add the 'fileignorecase' option to control this at runtime.
15207 Implies 'wildignorecase'.
15208Files: src/buffer.c, src/edit.c, src/ex_cmds2.c, src/ex_getln.c,
15209 src/fileio.c, src/misc1.c, src/misc2.c, src/option.c,
15210 src/option.h, src/vim.h, runtime/doc/options.txt
15211
15212Patch 7.3.873
15213Problem: Cannot easily use :s to make title case.
15214Solution: Have "\L\u" result in title case. (James McCoy)
15215Files: src/regexp.c, src/testdir/test79.in, src/testdir/test79.ok,
15216 src/testdir/test80.in, src/testdir/test80.ok
15217
15218Patch 7.3.874
15219Problem: Comparing file names does not handle multi-byte characters
15220 properly.
15221Solution: Implement multi-byte handling.
15222Files: src/misc1.c, src/misc2.c
15223
15224Patch 7.3.875 (after 7.3.866)
15225Problem: Build problem with some combination of features.
15226Solution: Use FEAT_XCLIPBOARD instead of FEAT_CLIPBOARD.
15227Files: src/os_unix.c
15228
15229Patch 7.3.876
15230Problem: #if indents are off.
15231Solution: Insert a space where appropriate. (Taro Muraoka)
15232Files: src/gui.c
15233
15234Patch 7.3.877 (after 7.3.871)
15235Problem: Forward searching with search() is broken.
15236Solution: Fix it and add tests. (Sung Pae)
15237Files: src/search.c, src/testdir/test14.in, src/testdir/test14.ok
15238
15239Patch 7.3.878
15240Problem: 'fileignorecase' is missing in options window and quickref.
15241Solution: Add the option.
15242Files: runtime/optwin.vim, runtime/doc/quickref.txt
15243
15244Patch 7.3.879
15245Problem: When using an ex command in operator pending mode, using Esc to
15246 abort the command still executes the operator. (David Bürgin)
15247Solution: Clear the operator when the ex command fails. (Christian Brabandt)
15248Files: src/normal.c
15249
15250Patch 7.3.880
15251Problem: When writing viminfo, old history lines may replace lines written
15252 more recently by another Vim instance.
15253Solution: Mark history entries that were read from viminfo and overwrite
15254 them when merging with the current viminfo.
15255Files: src/ex_getln.c
15256
15257Patch 7.3.881
15258Problem: Python list does not work correctly.
15259Solution: Fix it and add a test. (Yukihiro Nakadaira)
15260Files: src/testdir/test86.in, src/testdir/test86.ok, src/if_py_both.h
15261
15262Patch 7.3.882
15263Problem: CursorHold may trigger after receiving the termresponse.
15264Solution: Set the did_cursorhold flag. (Hayaki Saito)
15265Files: src/term.c
15266
15267Patch 7.3.883 (after 7.3.880)
15268Problem: Can't build with some combination of features.
15269Solution: Adjust #ifdefs.
15270Files: src/ex_getln.c
15271
15272Patch 7.3.884
15273Problem: Compiler warning for variable shadowing another. (John Little)
15274Solution: Rename the variable. (Christian Brabandt)
15275Files: src/term.c
15276
15277Patch 7.3.885
15278Problem: Double free for list and dict in Lua. (Shougo Matsu)
15279Solution: Do not unref list and dict. (Yasuhiro Matsumoto)
15280Files: src/if_lua.c
15281
15282Patch 7.3.886
15283Problem: Can't build with multi-byte on Solaris 10.
15284Solution: Add #ifdef X_HAVE_UTF8_STRING. (Laurent Blume)
15285Files: src/ui.c
15286
15287Patch 7.3.887
15288Problem: No tests for Visual mode operators, what 7.3.879 fixes.
15289Solution: Add a new test file. (David Bürgin)
15290Files: src/testdir/test94.in, src/testdir/test94.ok,
15291 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
15292 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
15293 src/testdir/Make_vms.mms, src/testdir/Makefile
15294
15295Patch 7.3.888
15296Problem: Filename completion with 'fileignorecase' does not work for
15297 multi-byte characters.
15298Solution: Make 'fileignorecase' work properly. (Hirohito Higashi)
15299Files: src/misc2.c
15300
15301Patch 7.3.889
15302Problem: Can't build with Ruby 2.0 on a 64 bit system.
15303Solution: Define rb_fix2int and rb_num2int. (Kohei Suzuki)
15304Files: src/if_ruby.c
15305
15306Patch 7.3.890
15307Problem: Test 79 fails on Windows. (Michael Soyka)
15308Solution: Add comment below line causing an error.
15309Files: src/testdir/test79.in
15310
15311Patch 7.3.891
15312Problem: Merging viminfo history doesn't work well.
15313Solution: Don't stop when one type of history is empty. Don't merge history
15314 when writing viminfo.
15315Files: src/ex_getln.c
15316
15317Patch 7.3.892 (after 7.3.891)
15318Problem: Still merging problems for viminfo history.
15319Solution: Do not merge lines when writing, don't write old viminfo lines.
15320Files: src/ex_getln.c, src/ex_cmds.c, src/proto/ex_getln.pro
15321
15322Patch 7.3.893
15323Problem: Crash when using b:, w: or t: after closing the buffer, window or
15324 tabpage.
15325Solution: Allocate the dictionary instead of having it part of the
15326 buffer/window/tabpage struct. (Yukihiro Nakadaira)
15327Files: src/buffer.c, src/eval.c, src/fileio.c, src/structs.h,
15328 src/window.c, src/proto/eval.pro
15329
15330Patch 7.3.894
15331Problem: Using wrong RUBY_VER causing Ruby build to break.
15332Solution: Correct the RUBY_VER value. (Yongwei Wu)
15333Files: src/bigvim.bat
15334
15335Patch 7.3.895
15336Problem: Valgrind error in test 91. (Issue 128)
15337Solution: Pass scope name to find_var_in_ht().
15338Files: src/eval.c
15339
15340Patch 7.3.896
15341Problem: Memory leaks in Lua interface.
15342Solution: Fix the leaks, add tests. (Yukihiro Nakadaira)
15343Files: src/testdir/test85.in, src/testdir/test85.ok, src/if_lua.c
15344
15345Patch 7.3.897
15346Problem: Configure doesn't always find the shared library.
15347Solution: Change the configure script. (Ken Takata)
15348Files: src/configure.in, src/auto/configure
15349
15350Patch 7.3.898
15351Problem: Memory leak reported by valgrind in test 91.
15352Solution: Only use default argument when needed.
15353Files: src/eval.c, src/testdir/test91.in, src/testdir/test91.ok
15354
15355Patch 7.3.899
15356Problem: #if indents are off.
15357Solution: Fix the indents.
15358Files: src/os_unix.c
15359
15360Patch 7.3.900
15361Problem: Not obvious that some mouse features are mutual-exclusive.
15362Solution: Add a comment.
15363Files: src/feature.h
15364
15365Patch 7.3.901
15366Problem: Outdated comment, ugly condition.
15367Solution: Update a few comments, break line.
15368Files: src/getchar.c, src/misc1.c, src/undo.c
15369
15370Patch 7.3.902
15371Problem: When deleting last buffer in other tab the tabline is not updated.
15372Solution: Set the redraw_tabline flag. (Yukihiro Nakadaira)
15373Files: src/window.c
15374
15375Patch 7.3.903 (after 7.3.892)
15376Problem: Crash on exit writing viminfo. (Ron Aaron)
15377Solution: Check for the history to be empty.
15378Files: src/ex_getln.c
15379
15380Patch 7.3.904 (after 7.3.893)
15381Problem: Using memory freed by the garbage collector.
15382Solution: Mark items in aucmd_win as used.
15383Files: src/eval.c
15384
15385Patch 7.3.905 (after 7.3.903)
15386Problem: Crash when writing viminfo. (Ron Aaron)
15387Solution: Prevent freed history info to be used.
15388Files: src/ex_getln.c
15389
15390Patch 7.3.906
15391Problem: The "sleep .2" for running tests does not work on Solaris.
15392Solution: Fall back to using "sleep 1". (Laurent Blume)
15393Files: src/testdir/Makefile
15394
15395Patch 7.3.907
15396Problem: Python uses IndexError when a dict key is not found.
15397Solution: Use KeyError instead. (ZyX)
15398Files: src/if_py_both.h, src/if_python3.c, src/if_python.c,
15399 src/testdir/test86.ok, src/testdir/test87.ok
15400
15401Patch 7.3.908
15402Problem: Possible crash when using a list in Python.
15403Solution: Return early if the list is NULL. (ZyX)
15404Files: src/if_py_both.h
15405
15406Patch 7.3.909
15407Problem: Duplicate Python code.
15408Solution: Move more items to if_py_both.h. (ZyX) Also avoid compiler
15409 warnings for missing initializers.
15410Files: src/if_py_both.h, src/if_python3.c, src/if_python.c
15411
15412Patch 7.3.910
15413Problem: Python code in #ifdef branches with only minor differences.
15414Solution: Merge the #ifdef branches. (ZyX)
15415Files: src/if_py_both.h, src/if_python.c
15416
15417Patch 7.3.911
15418Problem: Python: Access to Vim variables is not so easy.
15419Solution: Define vim.vars and vim.vvars. (ZyX)
15420Files: runtime/doc/if_pyth.txt, src/eval.c, src/globals.h,
15421 src/if_py_both.h, src/if_python3.c, src/if_python.c,
15422 src/testdir/test86.in, src/testdir/test86.ok,
15423 src/testdir/test87.in, src/testdir/test87.ok
15424
15425Patch 7.3.912
15426Problem: Typing a ":" command at the hit-enter dialog does not work if the
15427 "file changed" dialog happens next.
15428Solution: Check for changed files before giving the hit-enter dialog.
15429Files: src/message.c
15430
15431Patch 7.3.913 (after 7.3.905)
15432Problem: Still a crash when writing viminfo.
15433Solution: Add checks for NULL pointers. (Ron Aaron)
15434Files: src/ex_getln.c
15435
15436Patch 7.3.914
15437Problem: ~/.viminfo is messed up when running tests.
15438Solution: Set the viminfo filename.
15439Files: src/testdir/test89.in, src/testdir/test94.in
15440
15441Patch 7.3.915
15442Problem: When reading a file with encoding conversion fails at the end the
15443 next encoding in 'fencs' is not used.
15444Solution: Retry with another encoding when possible. (Taro Muraoka)
15445Files: src/fileio.c
15446
15447Patch 7.3.916
15448Problem: Using freed memory when pasting with the mouse (Issue 130).
15449Solution: Get the byte value early. (hint by Dominique Pelle)
15450Files: src/buffer.c
15451
15452Patch 7.3.917
15453Problem: When a path ends in a backslash appending a comma has the wrong
15454 effect.
15455Solution: Replace a trailing backslash with a slash. (Nazri Ramliy)
15456Files: src/misc1.c, src/testdir/test73.in, src/testdir/test73.ok
15457
15458Patch 7.3.918
15459Problem: Repeating an Ex command after using a Visual motion does not work.
15460Solution: Check for an Ex command being used. (David Bürgin)
15461Files: src/normal.c
15462
15463Patch 7.3.919 (after 7.3.788)
15464Problem: An empty nl.po file does not work with an old msgfmt.
15465Solution: Put a single # in the file. (Laurent Blume)
15466Files: src/po/Makefile
15467
15468Patch 7.3.920
15469Problem: Compiler warning for size_t to int.
15470Solution: Add a type cast. (Mike Williams)
15471Files: src/misc1.c
15472
15473Patch 7.3.921 (after 7.3.697)
15474Problem: Trying to create a fontset handle when 'guifontset' is not set.
15475Solution: Add curly braces around the code block. (Max Kirillov)
15476Files: src/syntax.c
15477
15478Patch 7.3.922
15479Problem: No test for what 7.3.918 fixes.
15480Solution: Add a test. (David Bürgin)
15481Files: src/testdir/test94.in, src/testdir/test94.ok
15482
15483Patch 7.3.923
15484Problem: Check for X11 header files fails on Solaris.
15485Solution: Only use -Werror for gcc. (Laurent Blume)
15486Files: src/configure.in, src/auto/configure
15487
15488Patch 7.3.924
15489Problem: Python interface can't easily access options.
15490Solution: Add vim.options, vim.window.options and vim.buffer.options. (ZyX)
15491Files: runtime/doc/if_pyth.txt, src/eval.c, src/if_py_both.h,
15492 src/if_python.c, src/if_python3.c, src/option.c,
15493 src/proto/eval.pro, src/proto/option.pro, src/testdir/test86.in,
15494 src/testdir/test86.ok, src/testdir/test87.in,
15495 src/testdir/test87.ok, src/vim.h
15496
15497Patch 7.3.925
15498Problem: Typos in source files.
15499Solution: Fix the typos. (Ken Takata)
15500Files: runtime/plugin/matchparen.vim, runtime/tools/vim_vs_net.cmd,
15501 src/GvimExt/gvimext.cpp, src/INSTALLvms.txt, src/Make_cyg.mak,
15502 src/Make_mvc.mak, src/Make_sas.mak, src/Make_vms.mms,
15503 src/Make_w16.mak, src/Makefile, src/VisVim/OleAut.cpp,
15504 src/VisVim/README_VisVim.txt, src/auto/configure, src/buffer.c,
15505 src/configure.in, src/diff.c, src/dosinst.c, src/edit.c,
15506 src/eval.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_eval.c,
15507 src/farsi.c, src/feature.h, src/fileio.c, src/glbl_ime.cpp,
15508 src/gui.c, src/gui_athena.c, src/gui_beval.c, src/gui_gtk_x11.c,
15509 src/gui_mac.c, src/gui_motif.c, src/gui_photon.c, src/gui_w16.c,
15510 src/gui_w32.c, src/gui_w48.c, src/gui_xmebw.c, src/gui_xmebwp.h,
15511 src/hardcopy.c, src/if_cscope.c, src/if_mzsch.c, src/if_ole.cpp,
15512 src/if_perl.xs, src/if_py_both.h, src/if_python.c,
15513 src/if_python3.c, src/if_ruby.c, src/main.aap, src/mbyte.c,
15514 src/memfile.c, src/memline.c, src/misc1.c, src/misc2.c,
15515 src/nbdebug.c, src/normal.c, src/ops.c, src/os_amiga.c,
15516 src/os_mac.h, src/os_msdos.c, src/os_mswin.c, src/os_win16.h,
15517 src/os_win32.c, src/os_win32.h, src/quickfix.c, src/screen.c,
15518 src/search.c, src/spell.c, src/structs.h, src/syntax.c,
15519 src/window.c, vimtutor.com
15520
15521
15522Patch 7.3.926
15523Problem: Autocommands are triggered by setwinvar() et al. Missing BufEnter
15524 on :tabclose. Duplicate WinEnter on :tabclose. Wrong order of
15525 events for :tablose and :tabnew.
15526Solution: Fix these autocommand events. (Zyx)
15527Files: runtime/doc/eval.txt, src/buffer.c, src/eval.c, src/ex_cmds2.c,
15528 src/fileio.c, src/proto/window.pro, src/testdir/test62.in,
15529 src/testdir/test62.ok, src/window.c
15530
15531Patch 7.3.927
15532Problem: Missing combining characters when putting text in a register.
15533Solution: Include combining characters. (David Bürgin)
15534Files: src/getchar.c, src/testdir/test44.in, src/testdir/test44.ok
15535
15536Patch 7.3.928 (after 7.3.924)
15537Problem: Can't build with strict C compiler.
15538Solution: Move declaration to start of block. (Taro Muraoka)
15539Files: src/if_py_both.h
15540
15541Patch 7.3.929 (after 7.3.924)
15542Problem: Compiler warning for unused variable. Not freeing unused string.
15543Solution: Remove the variable. Clear the options.
15544Files: src/option.c
15545
15546Patch 7.3.930
15547Problem: MSVC 2012 update is not recognized.
15548Solution: Update the version in the makefile. (Raymond Ko)
15549Files: src/Make_mvc.mak
15550
15551Patch 7.3.931
15552Problem: No completion for :xmap and :smap. (Yukihiro Nakadaira)
15553Solution: Add the case statements. (Christian Brabandt)
15554Files: src/ex_docmd.c
15555
15556Patch 7.3.932
15557Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
15558Solution: Initialize the variable.
15559Files: src/option.c
15560
15561Patch 7.3.933
15562Problem: Ruby on Mac crashes due to GC failure.
15563Solution: Init the stack from main(). (Hiroshi Shirosaki)
15564Files: src/main.c, src/if_ruby.c, src/proto/if_ruby.pro
15565
15566Patch 7.3.934
15567Problem: E381 and E380 make the user think nothing happened.
15568Solution: Display the message indicating what error list is now active.
15569 (Christian Brabandt)
15570Files: src/quickfix.c
15571
15572Patch 7.3.935 (after 7.3.933)
15573Problem: Ruby: Init stack works differently on 64 bit systems.
15574Solution: Handle 64 bit systems and also static library. (Yukihiro
15575 Nakadaira)
15576Files: src/if_ruby.c
15577
15578Patch 7.3.936 (after 7.3.935)
15579Problem: Ruby 1.8: Missing piece for static linking on 64 bit systems.
15580Solution: Define ruby_init_stack() (Hiroshi Shirosaki)
15581 Also fix preprocessor indents.
15582Files: src/if_ruby.c
15583
15584Patch 7.3.937
15585Problem: More can be shared between Python 2 and 3.
15586Solution: Move code to if_py_both.h. (ZyX)
15587Files: src/if_python.c, src/if_python3.c, src/if_py_both.h
15588
15589Patch 7.3.938
15590Problem: Python: not easy to get to window number.
15591Solution: Add vim.window.number. (ZyX)
15592Files: runtime/doc/if_pyth.txt, src/if_py_both.h, src/proto/window.pro,
15593 src/window.c
15594
15595Patch 7.3.939
15596Problem: Using Py_BuildValue is inefficient sometimes.
15597Solution: Use PyLong_FromLong(). (ZyX)
15598Files: src/if_py_both.h
15599
15600Patch 7.3.940
15601Problem: Python: Can't get position of window.
15602Solution: Add window.row and window.col. (ZyX)
15603Files: runtime/doc/if_pyth.txt, src/if_py_both.h
15604
15605Patch 7.3.941
15606Problem: Stuff in if_py_both.h is ordered badly.
15607Solution: Reorder by type. (ZyX)
15608Files: src/if_py_both.h, src/if_python.c
15609
15610Patch 7.3.942
15611Problem: Python: SEGV in Buffer functions.
15612Solution: Call CheckBuffer() at the right time. (ZyX)
15613Files: src/if_py_both.h, src/if_python.c, src/if_python3.c
15614
15615Patch 7.3.943
15616Problem: Python: Negative indices were failing.
15617Solution: Fix negative indices. Add tests. (ZyX)
15618Files: src/if_py_both.h, src/if_python3.c, src/testdir/test86.in,
15619 src/testdir/test86.ok, src/testdir/test87.in,
15620 src/testdir/test87.ok
15621
15622Patch 7.3.944
15623Problem: External program receives the termrespone.
15624Solution: Insert a delay and discard input. (Hayaki Saito)
15625Files: src/term.c
15626
15627Patch 7.3.945
15628Problem: Python: List of buffers is not very useful.
15629Solution: Make vim.buffers a map. No iterator yet. (ZyX)
15630Files: runtime/doc/if_pyth.txt, src/if_py_both.h, src/if_python3.c,
15631 src/if_python.c, src/testdir/test86.ok, src/testdir/test87.ok
15632
15633Patch 7.3.946
15634Problem: Sometimes get stuck in waiting for cursor position report,
15635 resulting in keys starting with <Esc>[ not working.
15636Solution: Only wait for more characters after <Esc>[ if followed by '?', '>'
15637 or a digit.
15638Files: src/term.c
15639
15640Patch 7.3.947
15641Problem: Python: No iterator for vim.list and vim.bufferlist.
15642Solution: Add the iterators. Also fix name of FunctionType. Add tests for
15643 vim.buffers. (ZyX)
15644Files: runtime/doc/if_pyth.txt, src/eval.c, src/if_py_both.h,
15645 src/if_python3.c, src/if_python.c, src/proto/eval.pro,
15646 src/testdir/test86.in, src/testdir/test86.ok,
15647 src/testdir/test87.in, src/testdir/test87.ok
15648
15649Patch 7.3.948
15650Problem: Cannot build with Python 2.2
15651Solution: Make Python interface work with Python 2.2
15652 Make 2.2 the first supported version. (ZyX)
15653Files: src/if_py_both.h, src/if_python3.c, src/if_python.c,
15654 src/testdir/test86.in, src/testdir/test86.ok,
15655 src/testdir/test87.ok, src/configure.in, src/auto/configure
15656
15657Patch 7.3.949
15658Problem: Python: no easy access to tabpages.
15659Solution: Add vim.tabpages and vim.current.tabpage. (ZyX)
15660Files: runtime/doc/if_pyth.txt, src/if_py_both.h, src/if_python3.c,
15661 src/if_python.c, src/proto/if_python3.pro,
15662 src/proto/if_python.pro, src/proto/window.pro, src/structs.h,
15663 src/window.c
15664
15665Patch 7.3.950
15666Problem: Python: Stack trace printer can't handle messages.
15667Solution: Make KeyErrors use PyErr_SetObject. (ZyX)
15668Files: src/if_py_both.h, src/if_python3.c, src/if_python.c
15669
15670Patch 7.3.951
15671Problem: Python exceptions have problems.
15672Solution: Change some IndexErrors to TypeErrors. Make “line number out of
15673 range” an IndexError. Make “unable to get option value” a
15674 RuntimeError. Make all PyErr_SetString messages start with
15675 lowercase letter and use _(). (ZyX)
15676Files: src/if_py_both.h, src/if_python3.c, src/if_python.c,
15677 src/testdir/test86.ok, src/testdir/test87.ok
15678
15679Patch 7.3.952
15680Problem: Python: It's not easy to change window/buffer/tabpage.
15681Solution: Add ability to assign to vim.current.{tabpage,buffer,window}.
15682 (ZyX)
15683Files: runtime/doc/if_pyth.txt, src/if_py_both.h
15684
15685Patch 7.3.953
15686Problem: Python: string exceptions are deprecated.
15687Solution: Make vim.error an Exception subclass. (ZyX)
15688Files: src/if_python.c, src/if_python3.c
15689
15690Patch 7.3.954
15691Problem: No check if PyObject_IsTrue fails.
15692Solution: Add a check for -1 value. (ZyX)
15693Files: src/if_py_both.h
15694
15695Patch 7.3.955
15696Problem: Python: Not enough tests.
15697Solution: Add tests for vim.{current,window*,tabpage*}. (ZyX)
15698Files: src/testdir/test86.in, src/testdir/test86.ok,
15699 src/testdir/test87.in, src/testdir/test87.ok
15700
15701Patch 7.3.956
15702Problem: Python vim.bindeval() causes SIGABRT.
15703Solution: Make pygilstate a local variable. (Yukihiro Nakadaira)
15704Files: src/if_py_both.h, src/if_python.c, src/if_python3.c
15705
15706Patch 7.3.957
15707Problem: Python does not have a "do" command like Perl or Lua.
15708Solution: Add the ":py3do" command. (Lilydjwg)
15709Files: runtime/doc/if_pyth.txt, src/ex_cmds.h, src/ex_docmd.c,
15710 src/if_python3.c, src/proto/if_python3.pro
15711
15712Patch 7.3.958
15713Problem: Python: Iteration destructor not set.
15714Solution: Put IterDestructor to use. (ZyX)
15715Files: src/if_py_both.c
15716
15717Patch 7.3.959 (after 7.3.957)
15718Problem: Missing error number.
15719Solution: Assign an error number.
15720Files: src/if_python3.c
15721
15722Patch 7.3.960
15723Problem: Compiler warning for unused variable.
15724Solution: Put declaration in #ifdef.
15725Files: src/window.c
15726
15727Patch 7.3.961
15728Problem: Tests 86 and 87 fail when using another language than English.
15729Solution: Set the language to C in the test. (Dominique Pelle)
15730Files: src/testdir/test86.in, src/testdir/test87.in,
15731 src/testdir/test87.ok
15732
15733Patch 7.3.962
15734Problem: Python tests are not portable.
15735Solution: Use shiftwidth instead of iminsert. (ZyX)
15736Files: src/testdir/test86.in, src/testdir/test86.ok,
15737 src/testdir/test87.in, src/testdir/test87.ok
15738
15739Patch 7.3.963
15740Problem: Setting curbuf without curwin causes trouble.
15741Solution: Add switch_buffer() and restore_buffer(). Block autocommands to
15742 avoid trouble.
15743Files: src/eval.c, src/proto/eval.pro, src/proto/window.pro,
15744 src/if_py_both.h, src/window.c, src/testdir/test86.ok
15745
15746Patch 7.3.964
15747Problem: Python: not so easy to access tab pages.
15748Solution: Add window.tabpage, make window.number work with non-current tab
15749 pages. (ZyX)
15750Files: runtime/doc/if_pyth.txt, src/if_py_both.h, src/if_python3.c,
15751 src/if_python.c, src/testdir/test86.ok, src/testdir/test87.ok
15752
15753Patch 7.3.965
15754Problem: Python garbage collection not working properly.
15755Solution: Add support for garbage collection. (ZyX)
15756Files: src/if_py_both.h
15757
15758Patch 7.3.966
15759Problem: There is ":py3do" but no ":pydo".
15760Solution: Add the ":pydo" command. (Lilydjwg)
15761Files: runtime/doc/if_pyth.txt, src/ex_cmds.h, src/ex_docmd.c,
15762 src/if_py_both.h, src/if_python.c, src/if_python3.c,
15763 src/proto/if_python.pro
15764
15765Patch 7.3.967 (after 7.3.965)
15766Problem: Build fails on Mac OSX. (Greg Novack)
15767Solution: Undefine clear().
15768Files: src/if_py_both.h
15769
15770Patch 7.3.968
15771Problem: Multi-byte support is only available when compiled with "big"
15772 features.
15773Solution: Include multi-byte by default, with "normal" features.
15774Files: src/feature.h
15775
15776Patch 7.3.969
Bram Moolenaardd007ed2013-07-09 15:44:17 +020015777Problem: Can't build with Python 3 and without Python 2.
Bram Moolenaar913df812013-07-06 15:44:11 +020015778Solution: Adjust #ifdef. (Xavier de Gaye)
15779Files: src/window.c
15780
15781Patch 7.3.970
15782Problem: Syntax highlighting can be slow.
15783Solution: Include the NFA regexp engine. Add the 'regexpengine' option to
15784 select which one is used. (various authors, including Ken Takata,
15785 Andrei Aiordachioaie, Russ Cox, Xiaozhou Liua, Ian Young)
15786Files: src/Make_cyg.mak, src/Make_ming.mak, src/Make_mvc.mak,
15787 src/Makefile, src/regexp.c, src/regexp.h, src/regexp_nfa.c,
15788 src/structs.h, src/testdir/Makefile, src/testdir/test64.in,
15789 src/testdir/test64.ok, Filelist, runtime/doc/pattern.txt,
15790 runtime/doc/option.txt, src/option.c, src/option.h,
15791 src/testdir/test95.in, src/testdir/test95.ok,
15792 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
15793 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
15794 src/testdir/Make_vms.mms, src/testdir/Makefile
15795
15796Patch 7.3.971
15797Problem: No support for VS2012 static code analysis.
15798Solution: Add the ANALYZE option. (Mike Williams)
15799Files: src/Make_mvc.mak
15800
15801Patch 7.3.972
15802Problem: Cursor not restored after InsertEnter autocommand if it moved to
15803 another line.
15804Solution: Also restore if the saved line number is still valid. Allow
15805 setting v:char to skip restoring.
15806Files: src/edit.c, runtime/doc/autocmd.txt
15807
15808Patch 7.3.973
15809Problem: Compiler warnings. Crash on startup. (Tony Mechelynck)
15810Solution: Change EMSG2 to EMSGN. Make array one character longer.
15811Files: src/regexp_nfa.c
15812
15813Patch 7.3.974
15814Problem: Can't build with ruby 1.8.5.
15815Solution: Only use ruby_init_stack() when RUBY_INIT_STACK is defined.
15816 (Yukihiro Nakadaira)
15817Files: src/if_ruby.c
15818
15819Patch 7.3.975
15820Problem: Crash in regexp parsing.
15821Solution: Correctly compute the end of allocated memory.
15822Files: src/regexp_nfa.c
15823
15824Patch 7.3.976
15825Problem: Can't build on HP-UX.
15826Solution: Remove modern initialization. (John Marriott)
15827Files: src/regexp_nfa.c
15828
15829Patch 7.3.977
15830Problem: Compiler warnings on 64 bit Windows.
15831Solution: Add type casts. (Mike Williams) Also fix some white space and
15832 uncomment what was commented-out for testing.
15833Files: src/regexp_nfa.c
15834
15835Patch 7.3.978
15836Problem: Regexp debug logs don't have a good name.
15837Solution: Use clear names and make it possible to write logs for the old and
15838 new engines separately. (Taro Muraoka)
15839Files: src/regexp.c, src/regexp_nfa.c
15840
15841Patch 7.3.979
15842Problem: Complex NFA regexp doesn't work.
15843Solution: Set actual state stack end instead of using an arbitrary number.
15844 (Yasuhiro Matsumoto)
15845Files: src/regexp_nfa.c
15846
15847Patch 7.3.980
15848Problem: Regexp logs may contain garbage. Character classes don't work
15849 correctly for multi-byte characters.
15850Solution: Check for end of post list. Only use "is" functions for
15851 characters up to 255. (Ken Takata)
15852Files: src/regexp_nfa.c
15853
15854Patch 7.3.981
15855Problem: In the old regexp engine \i, \I, \f and \F don't work on
15856 multi-byte characters.
15857Solution: Dereference pointer properly.
15858Files: src/regexp.c, src/testdir/test64.in, src/testdir/test64.ok
15859
15860Patch 7.3.982
15861Problem: In the new regexp engine \p does not work on multi-byte
15862 characters.
15863Solution: Don't point to an integer but the characters.
15864Files: src/regexp_nfa.c, src/testdir/test95.in, src/testdir/test95.ok
15865
15866Patch 7.3.983
Bram Moolenaardd007ed2013-07-09 15:44:17 +020015867Problem: Unnecessary temp variable.
Bram Moolenaar913df812013-07-06 15:44:11 +020015868Solution: Remove the variable.
15869Files: src/regexp_nfa.c
15870
15871Patch 7.3.984
15872Problem: A Visual mapping that uses CTRL-G works differently when started
15873 from Insert mode. (Ein Brown)
15874Solution: Reset old_mapped_len when handling typed text in Select mode.
15875Files: src/normal.c
15876
15877Patch 7.3.985
15878Problem: GTK vim not started as gvim doesn't set WM_CLASS property to a
15879 useful value.
15880Solution: Call g_set_prgname() on startup. (James McCoy)
15881Files: src/gui_gtk_x11.c
15882
15883Patch 7.3.986
15884Problem: Test 95 doesn't pass when 'encoding' isn't utf-8. (Yasuhiro
15885 Matsumoto)
15886Solution: Force 'encoding' to be utf-8.
15887Files: src/testdir/test95.in
15888
15889Patch 7.3.987
15890Problem: No easy to run an individual test. Tests 64 fails when
15891 'encoding' is not utf-8.
15892Solution: Add individual test targets to the Makefile. Move some lines from
15893 test 64 to 95.
15894Files: src/Makefile, src/testdir/test64.in, src/testdir/test64.ok,
15895 src/testdir/test95.in, src/testdir/test95.ok
15896
15897Patch 7.3.988
15898Problem: New regexp engine is slow.
15899Solution: Break out of the loop when the state list is empty.
15900Files: src/regexp_nfa.c
15901
15902Patch 7.3.989
15903Problem: New regexp engine compares negative numbers to character.
15904Solution: Add missing case statements.
15905Files: src/regexp_nfa.c
15906
15907Patch 7.3.990
15908Problem: Memory leak in new regexp engine.
15909Solution: Jump to end of function to free memory. (Dominique Pelle)
15910Files: src/regexp_nfa.c
15911
15912Patch 7.3.991
15913Problem: More can be shared by Python 2 and 3.
15914Solution: Move more stuff to if_py_both. (ZyX)
15915Files: src/if_py_both.h, src/if_python3.c, src/if_python.c,
15916 src/testdir/test87.ok
15917
15918Patch 7.3.992
15919Problem: Python: Too many type casts.
15920Solution: Change argument types. (ZyX)
15921Files: src/if_py_both.h, src/if_python3.c, src/if_python.c
15922
15923Patch 7.3.993
15924Problem: Python: Later patch does things slightly differently.
15925Solution: Adjusted argument type changes. (ZyX)
15926Files: src/if_py_both.h, src/if_python3.c, src/if_python.c
15927
15928Patch 7.3.994
15929Problem: Python: using magic constants.
15930Solution: Use descriptive values for ml_flags. (ZyX)
15931Files: src/if_py_both.h, src/if_python3.c
15932
15933Patch 7.3.995
15934Problem: Python: Module initialization is duplicated.
15935Solution: Move to shared file. (ZyX)
15936Files: src/if_py_both.h, src/if_python3.c, src/if_python.c
15937
15938Patch 7.3.996
15939Problem: Python: Can't check types of what is returned by bindeval().
15940Solution: Add vim.List, vim.Dictionary and vim.Function types. (ZyX)
15941Files: runtime/doc/if_pyth.txt, src/if_py_both.h, src/testdir/test86.in,
15942 src/testdir/test86.ok, src/testdir/test87.in,
15943 src/testdir/test87.ok
15944
15945Patch 7.3.997
15946Problem: Vim and Python exceptions are different.
15947Solution: Make Vim exceptions be Python exceptions. (ZyX)
15948Files: src/if_py_both.h, src/testdir/test86.in, src/testdir/test86.ok,
15949 src/testdir/test87.in, src/testdir/test87.ok
15950
15951Patch 7.3.998
15952Problem: Python: garbage collection issues.
15953Solution: Fix the GC issues: Use proper DESTRUCTOR_FINISH: avoids negative
15954 refcounts, use PyObject_GC_* for objects with tp_traverse and
15955 tp_clear, add RangeTraverse and RangeClear, use Py_XDECREF in some
15956 places. (ZyX)
15957Files: src/if_py_both.h, src/if_python3.c, src/if_python.c
15958
15959Patch 7.3.999
15960Problem: New regexp engine sets curbuf temporarily.
15961Solution: Use reg_buf instead, like the old engine.
15962Files: src/regexp_nfa.c
15963
15964Patch 7.3.1000 (whoa!)
15965Problem: Typo in char value causes out of bounds access.
15966Solution: Fix character value. (Klemens Baum)
15967Files: src/regexp.c
15968
15969Patch 7.3.1001
15970Problem: Duplicate condition in if.
15971Solution: Remove one condition.
15972Files: src/regexp_nfa.c
15973
15974Patch 7.3.1002
15975Problem: Valgrind errors for Python interface.
15976Solution: Fix memory leaks when running tests. (ZyX)
15977Files: src/if_py_both.h
15978
15979Patch 7.3.1003
15980Problem: Python interface does not compile with Python 2.2
15981Solution: Fix thread issues and True/False. (ZyX)
15982Files: src/if_py_both.h, src/if_python3.c, src/if_python.c,
15983 src/testdir/test86.in, src/testdir/test86.ok,
15984 src/testdir/test87.in, src/testdir/test87.ok
15985
15986Patch 7.3.1004
15987Problem: No error when option could not be set.
15988Solution: Report an error. (ZyX)
15989Files: src/if_py_both.h, src/option.c, src/proto/option.pro,
15990 src/testdir/test86.ok, src/testdir/test87.ok
15991
15992Patch 7.3.1005
15993Problem: Get stuck on regexp "\n*" and on "%s/^\n\+/\r".
15994Solution: Fix handling of matching a line break. (idea by Hirohito Higashi)
15995Files: src/regexp_nfa.c
15996
15997Patch 7.3.1006
15998Problem: NFA engine not used for "\_[0-9]".
15999Solution: Enable this, fixed in patch 1005.
16000Files: src/regexp_nfa.c
16001
16002Patch 7.3.1007
16003Problem: Can't build on Minix 3.2.1.
16004Solution: Add a condition to an #ifdef. (Gautam Tirumala)
16005Files: src/memfile.c
16006
16007Patch 7.3.1008
16008Problem: Test 95 fails on MS-Windows.
16009Solution: Set 'nomore'. Change \i to \f. Change multi-byte character to
16010 something that is not matching \i. (Ken Takata)
16011Files: src/testdir/test95.in, src/testdir/test95.ok
16012
16013Patch 7.3.1009
16014Problem: Compiler warning for ambiguous else.
16015Solution: Add curly braces.
16016Files: src/if_py_both.h
16017
16018Patch 7.3.1010
16019Problem: New regexp: adding \Z makes every character match.
16020Solution: Only apply ireg_icombine for composing characters.
Bram Moolenaardd007ed2013-07-09 15:44:17 +020016021 Also add missing change from patch 1008. (Ken Takata)
Bram Moolenaar913df812013-07-06 15:44:11 +020016022Files: src/regexp_nfa.c, src/testdir/test95.in, src/testdir/test95.ok
16023
16024Patch 7.3.1011
16025Problem: New regexp engine is inefficient with multi-byte characters.
16026Solution: Handle a character at a time instead of a byte at a time. Also
16027 make \Z partly work.
16028Files: src/regexp_nfa.c, src/testdir/test95.in, src/testdir/test95.ok
16029
16030Patch 7.3.1012
16031Problem: \Z does not work properly with the new regexp engine.
16032Solution: Make \Z work. Add tests.
16033Files: src/regexp_nfa.c, src/testdir/test95.in, src/testdir/test95.ok
16034
16035Patch 7.3.1013
16036Problem: New regexp logging is a bit messy.
16037Solution: Consistently use #defines, add explanatory comment. (Taro Muraoka)
16038Files: src/regexp_nfa.c
16039
16040Patch 7.3.1014
16041Problem: New regexp state dump is hard to read.
16042Solution: Make the state dump more pretty. (Taro Muraoka)
16043Files: src/regexp_nfa.c
16044
16045Patch 7.3.1015
16046Problem: New regexp engine: Matching composing characters is wrong.
16047Solution: Fix matching composing characters.
16048Files: src/regexp_nfa.c, src/testdir/test95.in, src/testdir/test95.ok
16049
16050Patch 7.3.1016
16051Problem: Unused field in nfa_state.
16052Solution: Remove lastthread.
16053Files: src/regexp.h, src/regexp_nfa.c
16054
16055Patch 7.3.1017
16056Problem: Zero width match changes length of match.
16057Solution: For a zero width match put new states in the current position in
16058 the state list.
16059Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok,
16060 src/regexp.h
16061
16062Patch 7.3.1018
16063Problem: New regexp engine wastes memory.
16064Solution: Allocate prog with actual number of states, not estimated maximum
16065 number of sates.
16066Files: src/regexp_nfa.c
16067
16068Patch 7.3.1019
16069Problem: These do not work with the new regexp engine: \%o123, \%x123,
16070 \%d123, \%u123 and \%U123.
16071Solution: Implement these items.
16072Files: src/regexp_nfa.c
16073
16074Patch 7.3.1020
16075Problem: Not all patterns are tested with auto / old / new engine.
16076Solution: Test patterns with three values of 'regexpengine'.
16077Files: src/testdir/test64.in, src/testdir/test64.ok,
16078 src/testdir/test95.in, src/testdir/test95.ok
16079
16080Patch 7.3.1021
16081Problem: New regexp engine does not ignore order of composing chars.
16082Solution: Ignore composing chars order.
16083Files: src/regexp_nfa.c, src/testdir/test95.in, src/testdir/test95.ok
16084
16085Patch 7.3.1022
16086Problem: Compiler warning for shadowed variable. (John Little)
16087Solution: Move declaration, rename variables.
16088Files: src/regexp_nfa.c
16089
16090Patch 7.3.1023
16091Problem: Searching for composing char only and using \Z has different
16092 results.
16093Solution: Make it match the composing char, matching everything is not
16094 useful.
16095Files: src/regexp_nfa.c, src/testdir/test95.in, src/testdir/test95.ok
16096
16097Patch 7.3.1024
16098Problem: New regexp: End of matching pattern not set correctly. (Cesar
16099 Romani)
16100Solution: Quit the loop after finding the match. Store nfa_has_zend in the
16101 program.
16102Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok,
16103 src/regexp.h
16104
16105Patch 7.3.1025
16106Problem: New regexp: not matching newline in string. (Marc Weber)
16107Solution: Check for "\n" character.
16108Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
16109
16110Patch 7.3.1026
Bram Moolenaardd007ed2013-07-09 15:44:17 +020016111Problem: New regexp: pattern that includes a new-line matches too early.
Bram Moolenaar913df812013-07-06 15:44:11 +020016112 (john McGowan)
16113Solution: Do not start searching in the second line.
16114Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
16115
16116Patch 7.3.1027
16117Problem: New regexp performance: Calling no_Magic() very often.
16118Solution: Remove magicness inline.
16119Files: src/regexp_nfa.c
16120
16121Patch 7.3.1028
16122Problem: New regexp performance: Copying a lot of position state.
16123Solution: Only copy the sub-expressions that are being used.
16124Files: src/regexp_nfa.c, src/regexp.h
16125
16126Patch 7.3.1029
16127Problem: New regexp performance: Unused position state being copied.
16128Solution: Keep track of which positions are actually valid.
16129Files: src/regexp_nfa.c
16130
16131Patch 7.3.1030 (after 7.3.1028)
16132Problem: Can't build for debugging.
16133Solution: Fix struct member names.
16134Files: src/regexp_nfa.c
16135
16136Patch 7.3.1031
16137Problem: Compiler warnings for shadowed variable. (John Little)
16138Solution: Move the variable declarations to the scope where they are used.
16139Files: src/regexp_nfa.c
16140
16141Patch 7.3.1032
16142Problem: "\ze" is not supported by the new regexp engine.
16143Solution: Make "\ze" work.
16144Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
16145
16146Patch 7.3.1033
16147Problem: "\1" .. "\9" are not supported in the new regexp engine.
16148Solution: Implement them. Add a few more tests.
16149Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok,
16150 src/regexp.h
16151
16152Patch 7.3.1034
16153Problem: New regexp code using strange multi-byte code.
16154Solution: Use the normal code to advance and backup pointers.
16155Files: src/regexp_nfa.c
16156
16157Patch 7.3.1035
16158Problem: Compiler warning on 64 bit windows.
16159Solution: Add type cast. (Mike Williams)
16160Files: src/if_py_both.h
16161
16162Patch 7.3.1036
16163Problem: Can't build on HP-UX.
16164Solution: Give the union a name. (John Marriott)
16165Files: src/regexp_nfa.c
16166
16167Patch 7.3.1037
16168Problem: Look-behind matching is very slow on long lines.
16169Solution: Add a byte limit to how far back an attempt is made.
16170Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test64.in,
16171 src/testdir/test64.ok
16172
16173Patch 7.3.1038
16174Problem: Crash when using Cscope.
16175Solution: Avoid negative argument to vim_strncpy(). (Narendran
16176 Gopalakrishnan)
16177Files: src/if_cscope.c
16178
16179Patch 7.3.1039
16180Problem: New regexp engine does not support \%23c, \%<23c and the like.
16181Solution: Implement them. (partly by Yasuhiro Matsumoto)
16182Files: src/regexp.h, src/regexp_nfa.c, src/testdir/test64.in,
16183 src/testdir/test64.ok
16184
16185Patch 7.3.1040
16186Problem: Python: Problems with debugging dynamic build.
16187Solution: Python patch 1. (ZyX)
16188Files: src/if_python.c, src/if_python3.c
16189
16190Patch 7.3.1041
16191Problem: Python: Invalid read valgrind errors.
16192Solution: Python patch 2: defer DICTKEY_UNREF until key is no longer needed.
16193 (ZyX)
16194Files: src/if_py_both.h
16195
16196Patch 7.3.1042
16197Problem: Python: can't assign to vim.Buffer.name.
16198Solution: Python patch 3. (ZyX)
16199Files: runtime/doc/if_pyth.txt, src/ex_cmds.c, src/if_py_both.h,
16200 src/if_python3.c, src/if_python.c, src/proto/ex_cmds.pro,
16201 src/testdir/test86.in, src/testdir/test86.ok,
16202 src/testdir/test87.in, src/testdir/test87.ok
16203
16204Patch 7.3.1043
16205Problem: Python: Dynamic compilation with 2.3 fails.
16206Solution: Python patch 4. (ZyX)
16207Files: src/if_python.c
16208
16209Patch 7.3.1044
16210Problem: Python: No {Buffer,TabPage,Window}.valid attributes.
16211Solution: Python patch 5: add .valid (ZyX)
16212Files: src/if_py_both.h, src/if_python3.c, src/if_python.c,
16213 src/testdir/test86.in, src/testdir/test86.ok,
16214 src/testdir/test87.in, src/testdir/test87.ok
16215
16216Patch 7.3.1045
16217Problem: Python: No error handling for VimToPython function.
16218Solution: Python patch 6. (ZyX)
16219Files: src/if_py_both.h
16220
16221Patch 7.3.1046
16222Problem: Python: Using Py_BuildValue for building strings.
16223Solution: Python patch 7 and 7.5: Replace Py_BuildValue with
16224 PyString_FromString. (ZyX)
16225Files: src/if_py_both.h
16226
16227Patch 7.3.1047
16228Problem: Python: dir() does not work properly.
16229Solution: Python patch 8. Add __dir__ method to all objects with custom
16230 tp_getattr supplemented by __members__ attribute for at least
16231 python-2* versions. __members__ is not mentioned in python-3*
16232 dir() output even if it is accessible. (ZyX)
16233Files: src/if_py_both.h, src/if_python3.c, src/if_python.c,
16234 src/testdir/test86.in, src/testdir/test86.ok,
16235 src/testdir/test87.in, src/testdir/test87.ok
16236
16237Patch 7.3.1048
16238Problem: Python: no consistent naming.
16239Solution: Python patch 9: Rename d to dict and lookupDict to lookup_dict.
16240 (ZyX)
16241Files: src/if_py_both.h
16242
16243Patch 7.3.1049
16244Problem: Python: no consistent naming
16245Solution: Python patch 10: Rename DICTKEY_GET_NOTEMPTY to DICTKEY_GET. (ZyX)
16246Files: src/if_py_both.h
16247
16248Patch 7.3.1050
16249Problem: Python: Typo in pyiter_to_tv.
16250Solution: Python patch 11. (ZyX)
16251Files: src/if_py_both.h
16252
16253Patch 7.3.1051
16254Problem: Python: possible memory leaks.
16255Solution: Python patch 12: fix the leaks (ZyX)
16256Files: src/if_py_both.h
16257
16258Patch 7.3.1052
16259Problem: Python: possible SEGV and negative refcount.
16260Solution: Python patch 13: Fix IterIter function. (ZyX)
16261Files: src/if_py_both.h
16262
16263Patch 7.3.1053
16264Problem: Python: no flag for types with tp_traverse+tp_clear.
16265Solution: Python patch 14: Add Py_TPFLAGS_HAVE_GC. (ZyX)
16266Files: src/if_py_both.h
16267
16268Patch 7.3.1054 (after 7.3.1042)
16269Problem: Can't build without the +autocmd feature. (Elimar Riesebieter)
16270Solution: Fix use of buf and curbuf.
16271Files: src/ex_cmds.c, src/testdir/test86.ok, src/testdir/test87.ok
16272
16273Patch 7.3.1055
16274Problem: Negated collection does not match newline.
16275Solution: Handle newline differently. (Hiroshi Shirosaki)
16276Files: src/regexp_nfa.c, src/testdir/test64.ok, src/testdir/test64.in
16277
16278Patch 7.3.1056
16279Problem: Python: possible memory leaks.
16280Solution: Python patch 15. (ZyX) Fix will follow later.
16281Files: src/eval.c, src/if_py_both.h, src/proto/eval.pro
16282
16283Patch 7.3.1057
Bram Moolenaardd007ed2013-07-09 15:44:17 +020016284Problem: Python: not enough compatibility.
Bram Moolenaar913df812013-07-06 15:44:11 +020016285Solution: Python patch 16: Make OutputWritelines support any sequence object
16286 (ZyX) Note: tests fail
16287Files: src/if_py_both.h, src/testdir/test86.in, src/testdir/test86.ok,
16288 src/testdir/test87.in, src/testdir/test87.ok
16289
16290Patch 7.3.1058
16291Problem: Call of funcref does not succeed in other script.
16292Solution: Python patch 17: add get_expanded_name(). (ZyX)
16293Files: src/eval.c, src/proto/eval.pro
16294
16295Patch 7.3.1059
16296Problem: Python: Using fixed size buffers.
16297Solution: Python patch 18: Use python's own formatter. (ZyX)
16298Files: src/if_py_both.h, src/if_python3.c, src/if_python.c
16299
16300Patch 7.3.1060
16301Problem: Python: can't repr() a function.
16302Solution: Python patch 19: add FunctionRepr(). (ZyX)
16303Files: src/if_py_both.h
16304
16305Patch 7.3.1061
16306Problem: Python: Dictionary is not standard.
16307Solution: Python patch 20: Add standard methods and fields. (ZyX)
16308Files: runtime/doc/if_pyth.txt, src/eval.c, src/if_py_both.h,
16309 src/if_python3.c, src/if_python.c, src/proto/eval.pro,
16310 src/testdir/test86.in, src/testdir/test86.ok,
16311 src/testdir/test87.in, src/testdir/test87.ok
16312
16313Patch 7.3.1062
16314Problem: Python: List is not standard.
16315Solution: Python patch 21: Add standard methods and fields. (ZyX)
16316Files: src/if_py_both.h, src/testdir/test86.in, src/testdir/test86.ok,
16317 src/testdir/test87.in, src/testdir/test87.ok
16318
16319Patch 7.3.1063
16320Problem: Python: Function is not standard.
16321Solution: Python patch 22: make Function subclassable. (ZyX)
16322Files: src/eval.c, src/if_py_both.h, src/proto/eval.pro,
16323 src/testdir/test86.in, src/testdir/test86.ok,
16324 src/testdir/test87.in, src/testdir/test87.ok
16325
16326Patch 7.3.1064
16327Problem: Python: insufficient error checking.
16328Solution: Python patch 23. (ZyX)
16329Files: src/if_py_both.h
16330
16331Patch 7.3.1065
16332Problem: Python: key mapping is not standard.
Bram Moolenaardd007ed2013-07-09 15:44:17 +020016333Solution: Python patch 24: use PyMapping_Keys. (ZyX)
Bram Moolenaar913df812013-07-06 15:44:11 +020016334Files: src/if_py_both.h, src/if_python3.c, src/if_python.c
16335
16336Patch 7.3.1066
16337Problem: Python: Insufficient exception and error testing.
16338Solution: Python patch 25. (ZyX)
16339Files: src/testdir/test86.in, src/testdir/test86.ok,
16340 src/testdir/test87.in, src/testdir/test87.ok
16341
16342Patch 7.3.1067
16343Problem: Python: documentation lags behind.
16344Solution: Python patch 26. (ZyX)
16345Files: runtime/doc/if_pyth.txt
16346
16347Patch 7.3.1068
16348Problem: Python: Script is auto-loaded on function creation.
16349Solution: Python patch 27. (ZyX)
16350Files: src/eval.c, src/if_py_both.h, src/proto/eval.pro,
16351 src/testdir/test86.ok, src/testdir/test87.ok, src/vim.h
16352
16353Patch 7.3.1069
16354Problem: Python: memory leaks.
16355Solution: Python patch 28: Purge out DICTKEY_CHECK_EMPTY macros. (ZyX)
16356Files: src/if_py_both.h
16357
16358Patch 7.3.1070
16359Problem: Vim crashes in Python tests. Compiler warning for unused function.
16360Solution: Disable the tests for now. Move the function.
16361Files: src/if_py_both.h, src/if_python.c, src/testdir/test86.in,
16362 src/testdir/test87.in
16363
16364Patch 7.3.1071
16365Problem: New regexp engine: backreferences don't work correctly.
16366Solution: Add every possible start/end position on the state stack.
16367Files: src/regexp_nfa.c, src/regexp.h, src/testdir/test64.in,
16368 src/testdir/test64.ok
16369
16370Patch 7.3.1072
Bram Moolenaardd007ed2013-07-09 15:44:17 +020016371Problem: Compiler warning for uninitialized variable.
Bram Moolenaar913df812013-07-06 15:44:11 +020016372Solution: Initialize it.
16373Files: src/regexp_nfa.c
16374
16375Patch 7.3.1073
16376Problem: New regexp engine may run out of states.
16377Solution: Allocate states dynamically. Also make the test report errors.
16378Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok,
16379 src/testdir/test95.in
16380
16381Patch 7.3.1074
16382Problem: Compiler warning for printf format. (Manuel Ortega)
16383Solution: Add type casts.
16384Files: src/if_py_both.h
16385
16386Patch 7.3.1075
16387Problem: Compiler warning for storing a long_u in an int.
16388Solution: Declare the number as an int. (Mike Williams)
16389Files: src/regexp_nfa.c
16390
16391Patch 7.3.1076
16392Problem: New regexp engine: \@= and \& don't work.
16393Solution: Make these items work. Add column info to logging.
16394Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
16395
16396Patch 7.3.1077
16397Problem: Python: Allocating dict the wrong way, causing a crash.
16398Solution: Use py_dict_alloc(). Fix some exception problems. (ZyX)
16399Files: src/if_py_both.h
16400
16401Patch 7.3.1078
16402Problem: New regexp engine: \@! doesn't work.
16403Solution: Implement the negated version of \@=.
16404Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
16405
16406Patch 7.3.1079
16407Problem: Test 87 fails.
16408Solution: Fix the test for Python 3.3. (ZyX) Make it pass on 32 bit systems.
16409Files: src/testdir/test87.in, src/testdir/test87.ok
16410
16411Patch 7.3.1080
16412Problem: Test 86 fails.
16413Solution: Comment out the parts that don't work. Make it pass on 32 bit
16414 systems.
16415Files: src/testdir/test86.in, src/testdir/test86.ok
16416
16417Patch 7.3.1081
16418Problem: Compiler warnings on 64-bit Windows.
16419Solution: Change variable types. (Mike Williams)
16420Files: src/if_py_both.h, src/regexp_nfa.c
16421
16422Patch 7.3.1082
16423Problem: New regexp engine: Problem with \@= matching.
16424Solution: Save and restore nfa_match.
16425Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
16426
16427Patch 7.3.1083
16428Problem: New regexp engine: Does not support \%^ and \%$.
16429Solution: Support matching start and end of file.
16430Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
16431
16432Patch 7.3.1084
16433Problem: New regexp engine: only accepts up to \{,10}.
16434Solution: Remove upper limit. Remove dead code with NFA_PLUS.
16435Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
16436
16437Patch 7.3.1085
16438Problem: New regexp engine: Non-greedy multi doesn't work.
16439Solution: Implement \{-}.
16440Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
16441
16442Patch 7.3.1086
16443Problem: Old regexp engine accepts illegal range, new one doesn't.
16444Solution: Also accept the illegal range with the new engine.
16445Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
16446
16447Patch 7.3.1087
16448Problem: A leading star is not seen as a normal char when \{} follows.
16449Solution: Save and restore the parse state properly.
16450Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test64.in,
16451 src/testdir/test64.ok
16452
16453Patch 7.3.1088
16454Problem: New regexp engine: \@<= and \@<! are not implemented.
16455Solution: Implement look-behind matching. Fix off-by-one error in old
16456 regexp engine.
16457Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test64.in,
16458 src/testdir/test64.ok
16459
16460Patch 7.3.1089
16461Problem: Tests 86 and 87 fail on MS-Windows. (Ken Takata)
16462Solution: Fix platform-specific stuff. (ZyX)
16463Files: src/testdir/test86.in, src/testdir/test86.ok,
16464 src/testdir/test87.in, src/testdir/test87.ok
16465
16466Patch 7.3.1090
16467Problem: New regexp engine does not support \z1 .. \z9 and \z(.
16468Solution: Implement the syntax submatches.
16469Files: src/regexp.h, src/regexp_nfa.c
16470
16471Patch 7.3.1091
16472Problem: New regexp engine: no error when using \z1 or \z( where it does
16473 not work.
16474Solution: Give an error message.
16475Files: src/regexp.c, src/regexp_nfa.c
16476
16477Patch 7.3.1092
16478Problem: Can't build with regexp debugging. NFA debug output shows wrong
16479 pattern.
16480Solution: Fix debugging code for recent changes. Add the pattern to the
16481 program.
16482Files: src/regexp_nfa.c, src/regexp.h
16483
16484Patch 7.3.1093
16485Problem: New regexp engine: When a sub expression is empty \1 skips a
16486 character.
Bram Moolenaardd007ed2013-07-09 15:44:17 +020016487Solution: Make \1 try the current position when the match is empty.
Bram Moolenaar913df812013-07-06 15:44:11 +020016488Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
16489
16490Patch 7.3.1094
16491Problem: New regexp engine: Attempts to match "^" at every character.
16492Solution: Only try "^" at the start of a line.
16493Files: src/regexp_nfa.c
16494
16495Patch 7.3.1095
16496Problem: Compiler warnings for shadowed variables. (Christian Brabandt)
16497Solution: Rename new_state() to alloc_state(). Remove unnecessary
16498 declaration.
16499Files: src/regexp_nfa.c
16500
16501Patch 7.3.1096
16502Problem: Python: popitem() was not defined in a standard way.
16503Solution: Remove the argument from popitem(). (ZyX)
16504Files: runtime/doc/if_pyth.txt, src/if_py_both.h, src/testdir/test86.in,
16505 src/testdir/test86.ok, src/testdir/test87.in,
16506 src/testdir/test87.ok
16507
16508Patch 7.3.1097
16509Problem: Python: a few recently added items are not documented.
16510Solution: Update the documentation. (ZyX)
16511Files: runtime/doc/if_pyth.txt
16512
16513Patch 7.3.1098
16514Problem: Python: Possible memory leaks
16515Solution: Add Py_XDECREF() calls. (ZyX)
16516Files: src/if_py_both.h
16517
16518Patch 7.3.1099
16519Problem: Python: Changing directory with os.chdir() causes problems for
16520 Vim's notion of directories.
16521Solution: Add vim.chdir() and vim.fchdir(). (ZyX)
16522Files: runtime/doc/if_pyth.txt, src/ex_docmd.c, src/if_py_both.h,
16523 src/if_python3.c, src/if_python.c, src/proto/ex_docmd.pro,
16524 src/testdir/test86.in, src/testdir/test86.ok,
16525 src/testdir/test87.in, src/testdir/test87.ok
16526
16527Patch 7.3.1100
16528Problem: Python: a few more memory problems.
16529Solution: Add and remove Py_XDECREF(). (ZyX)
16530Files: src/if_py_both.h, src/testdir/test86.in, src/testdir/test86.ok,
16531 src/testdir/test87.in, src/testdir/test87.ok
16532
16533Patch 7.3.1101
16534Problem: Configure doesn't find Python 3 on Ubuntu 13.04.
16535Solution: First try distutils.sysconfig. Also fix some indents. (Ken
16536 Takata)
16537Files: src/configure.in, src/auto/configure
16538
16539Patch 7.3.1102
16540Problem: Completion of ":py3do" and ":py3file" does not work after ":py3".
16541Solution: Make completion work. (Taro Muraoka)
16542Files: src/ex_docmd.c
16543
16544Patch 7.3.1103
16545Problem: New regexp engine: overhead in saving and restoring.
16546Solution: Make saving and restoring list IDs faster. Don't copy or check \z
16547 subexpressions when they are not used.
16548Files: src/regexp_nfa.c
16549
16550Patch 7.3.1104
16551Problem: New regexp engine does not handle "~".
16552Solution: Add support for "~".
16553Files: src/regexp_nfa.c, src/testdir/test24.in, src/testdir/test24.ok
16554
16555Patch 7.3.1105
16556Problem: New regexp engine: too much code in one function. Dead code.
16557Solution: Move the recursive nfa_regmatch call to a separate function.
16558 Remove the dead code.
16559Files: src/regexp_nfa.c
16560
16561Patch 7.3.1106
16562Problem: New regexp engine: saving and restoring lastlist in the states
16563 takes a lot of time.
16564Solution: Use a second lastlist value for the first recursive call.
16565Files: src/regexp.h, src/regexp_nfa.c
16566
16567Patch 7.3.1107
16568Problem: Compiler warnings for unused variables.
16569Solution: Put the variables inside #ifdef.
16570Files: src/regexp.c, src/regexp_nfa.c
16571
16572Patch 7.3.1108
16573Problem: Error message for os.fchdir() (Charles Peacech)
16574Solution: Clear the error. (ZyX)
16575Files: src/if_py_both.h
16576
16577Patch 7.3.1109
16578Problem: Building on MS-Windows doesn't see changes in if_py_both.h.
16579Solution: Add a dependency. (Ken Takata)
16580Files: src/Make_bc5.mak, src/Make_cyg.mak, src/Make_ming.mak,
16581 src/Make_mvc.mak
16582
16583Patch 7.3.1110
16584Problem: New regexp matching: Using \@= and the like can be slow.
Bram Moolenaardd007ed2013-07-09 15:44:17 +020016585Solution: Decide whether to first try matching the zero-width part or what
Bram Moolenaar913df812013-07-06 15:44:11 +020016586 follows, whatever is more likely to fail.
16587Files: src/regexp_nfa.c
16588
16589Patch 7.3.1111
16590Problem: nfa_recognize_char_class() implementation is inefficient.
16591Solution: Use bits in an int instead of chars in a string. (Dominique Pelle)
16592Files: src/regexp_nfa.c, src/testdir/test36.in, src/testdir/test36.ok
16593
16594Patch 7.3.1112
16595Problem: New regexp engine: \%V not supported.
16596Solution: Implement \%V. Add tests.
16597Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test64.in,
16598 src/testdir/test64.ok
16599
16600Patch 7.3.1113
16601Problem: New regexp engine: \%'m not supported.
16602Solution: Implement \%'m. Add tests.
16603Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test64.in,
16604 src/testdir/test64.ok
16605
16606Patch 7.3.1114 (after 7.3.1110)
16607Problem: Can't build without the syntax feature.
16608Solution: Add #ifdefs. (Erik Falor)
16609Files: src/regexp_nfa.c
16610
16611Patch 7.3.1115
16612Problem: Many users don't like the cursor line number when 'relativenumber'
16613 is set.
16614Solution: Have four combinations with 'number' and 'relativenumber'.
16615 (Christian Brabandt)
16616Files: runtime/doc/options.txt, src/option.c, src/screen.c,
16617 src/testdir/test89.in, src/testdir/test89.ok
16618
16619Patch 7.3.1116
16620Problem: Can't build without Visual mode.
16621Solution: Add #ifdefs.
16622Files: src/regexp_nfa.c
16623
16624Patch 7.3.1117
16625Problem: New regexp engine: \%[abc] not supported.
16626Solution: Implement \%[abc]. Add tests.
16627Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
16628
16629Patch 7.3.1118
16630Problem: Match failure rate is not very specific.
16631Solution: Tune the failure rate for match items.
16632Files: src/regexp_nfa.c
16633
16634Patch 7.3.1119
16635Problem: Flags in 'cpo' are search for several times.
16636Solution: Store the result and re-use the flags.
16637Files: src/regexp.c, src/regexp_nfa.c
16638
16639Patch 7.3.1120
16640Problem: Crash when regexp logging is enabled.
16641Solution: Avoid using NULL pointers. Advance over count argument.
16642Files: src/regexp.c, src/regexp_nfa.c
16643
16644Patch 7.3.1121
16645Problem: New regexp engine: adding states that are not used.
16646Solution: Don't add the states.
16647Files: src/regexp_nfa.c
16648
16649Patch 7.3.1122
16650Problem: New regexp engine: \@> not supported.
16651Solution: Implement \%>.
16652Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
16653
16654Patch 7.3.1123
16655Problem: Can't build tiny Vim on MS-Windows.
16656Solution: Adjust #ifdef around using modif_fname(). (Mike Williams)
16657Files: src/misc1.c
16658
16659Patch 7.3.1124
16660Problem: Python: Crash on MS-Windows when os.fchdir() is not available.
16661Solution: Check for _chdir to be NULL. (Ken Takata)
16662Files: src/if_py_both.h
16663
16664Patch 7.3.1125
16665Problem: Error for using \%V in a pattern in tiny Vim.
16666Solution: Allow using \%V but never match. (Dominique Pelle)
16667Files: src/regexp_nfa.c
16668
16669Patch 7.3.1126
Bram Moolenaardd007ed2013-07-09 15:44:17 +020016670Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
Bram Moolenaar913df812013-07-06 15:44:11 +020016671Solution: Assign something to the variable.
16672Files: src/regexp_nfa.c
16673
16674Patch 7.3.1127
16675Problem: No error for using empty \%[].
16676Solution: Give error message.
16677Files: src/regexp.c, src/regexp_nfa.c
16678
16679Patch 7.3.1128
16680Problem: Now that the NFA engine handles everything every failure is a
16681 syntax error.
16682Solution: Remove the syntax_error flag.
16683Files: src/regexp.c, src/regexp_nfa.c
16684
16685Patch 7.3.1129
16686Problem: Can't see what pattern in syntax highlighting is slow.
16687Solution: Add the ":syntime" command.
16688Files: src/structs.h, src/syntax.c, src/ex_cmds.h, src/ex_docmd.c,
16689 src/proto/syntax.pro, src/ex_cmds2.c, src/proto/ex_cmds2.pro,
16690 runtime/doc/syntax.txt
16691
16692Patch 7.3.1130 (after 7.3.1129)
16693Problem: Can't build with anything but huge features.
16694Solution: Check for FEAT_PROFILE. (Yasuhiro Matsumoto)
16695Files: src/ex_docmd.c, src/structs.h, src/syntax.c
16696
16697Patch 7.3.1131
16698Problem: New regexp engine is a bit slow.
16699Solution: Do not clear the state list. Don't copy syntax submatches when
16700 not used.
16701Files: src/regexp_nfa.c
16702
16703Patch 7.3.1132
16704Problem: Crash when debugging regexp.
16705Solution: Do not try to dump subexpr that were not set. Skip over count of
16706 \% items.
16707Files: src/regexp.c, src/regexp_nfa.c
16708
16709Patch 7.3.1133
16710Problem: New regexp engine is a bit slow.
16711Solution: Skip ahead to a character that must match. Don't try matching a
16712 "^" patter past the start of line.
16713Files: src/regexp_nfa.c, src/regexp.h
16714
16715Patch 7.3.1134
16716Problem: Running test 49 takes a long time.
16717Solution: Don't have it grep all files.
16718Files: src/testdir/test49.vim
16719
16720Patch 7.3.1135
16721Problem: Compiler warning for unused argument.
16722Solution: Add UNUSED.
16723Files: src/syntax.c
16724
16725Patch 7.3.1136
16726Problem: ":func Foo" does not show attributes.
16727Solution: Add "abort", "dict" and "range". (Yasuhiro Matsumoto)
16728Files: src/eval.c
16729
16730Patch 7.3.1137
16731Problem: New regexp engine: collections are slow.
16732Solution: Handle all characters in one go.
16733Files: src/regexp_nfa.c
16734
16735Patch 7.3.1138
16736Problem: New regexp engine: neglist no longer used.
16737Solution: Remove the now unused neglist.
16738Files: src/regexp_nfa.c
16739
16740Patch 7.3.1139
16741Problem: New regexp engine: negated flag is hardly used.
16742Solution: Add separate _NEG states, remove negated flag.
16743Files: src/regexp_nfa.c, src/regexp.h
16744
16745Patch 7.3.1140
16746Problem: New regexp engine: trying expensive match while the result is not
16747 going to be used.
16748Solution: Check for output state already being in the state list.
16749Files: src/regexp_nfa.c
16750
16751Patch 7.3.1141
16752Problem: Win32: Check for available memory is not reliable and adds
16753 overhead.
16754Solution: Remove mch_avail_mem(). (Mike Williams)
16755Files: src/os_win32.c, src/os_win32.h
16756
16757Patch 7.3.1142
16758Problem: Memory leak in ":syntime report".
16759Solution: Clear the grow array. (Dominique Pelle)
16760Files: src/syntax.c
16761
16762Patch 7.3.1143
16763Problem: When mapping NUL it is displayed as an X.
16764Solution: Check for KS_ZERO instead of K_ZERO. (Yasuhiro Matsumoto)
16765Files: src/message.c
16766
16767Patch 7.3.1144
16768Problem: "RO" is not translated everywhere.
16769Solution: Put inside _(). (Sergey Alyoshin)
16770Files: src/buffer.c, src/screen.c
16771
16772Patch 7.3.1145
16773Problem: New regexp engine: addstate() is called very often.
16774Solution: Optimize adding the start state.
16775Files: src/regexp_nfa.c
16776
16777Patch 7.3.1146
16778Problem: New regexp engine: look-behind match not checked when followed by
16779 zero-width match.
16780Solution: Do the look-behind match before adding the zero-width state.
16781Files: src/regexp_nfa.c
16782
16783Patch 7.3.1147
16784Problem: New regexp engine: regstart is only used to find the first match.
16785Solution: Use regstart whenever adding the start state.
16786Files: src/regexp_nfa.c
16787
16788Patch 7.3.1148
16789Problem: No command line completion for ":syntime".
16790Solution: Implement the completion. (Dominique Pelle)
16791Files: runtime/doc/map.txt, src/ex_cmds.h, src/ex_docmd.c,
16792 src/ex_getln.c, src/proto/syntax.pro, src/syntax.c, src/vim.h
16793
16794Patch 7.3.1149
16795Problem: New regexp engine: Matching plain text could be faster.
16796Solution: Detect a plain text match and handle it specifically. Add
16797 vim_regfree().
16798Files: src/regexp.c, src/regexp.h, src/regexp_nfa.c,
16799 src/proto/regexp.pro, src/buffer.c, src/edit.c, src/eval.c,
16800 src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_eval.c,
16801 src/ex_getln.c, src/fileio.c, src/gui.c, src/misc1.c, src/misc2.c,
16802 src/option.c, src/syntax.c, src/quickfix.c, src/search.c,
16803 src/spell.c, src/tag.c, src/window.c, src/screen.c, src/macros.h,
16804 src/testdir/test64.in, src/testdir/test64.ok
16805
16806Patch 7.3.1150
16807Problem: New regexp engine: Slow when a look-behind match does not have a
16808 width specified.
16809Solution: Try to compute the maximum width.
16810Files: src/regexp_nfa.c
16811
16812Patch 7.3.1151
16813Problem: New regexp engine: Slow when a look-behind match is followed by a
16814 zero-width match.
16815Solution: Postpone the look-behind match more often.
16816Files: src/regexp_nfa.c
16817
16818Patch 7.3.1152
16819Problem: In tiny build ireg_icombine is undefined. (Tony Mechelynck)
16820Solution: Add #ifdef.
16821Files: src/regexp_nfa.c
16822
16823Patch 7.3.1153
16824Problem: New regexp engine: Some look-behind matches are very expensive.
Bram Moolenaardd007ed2013-07-09 15:44:17 +020016825Solution: Postpone invisible matches further, until a match is almost found.
Bram Moolenaar913df812013-07-06 15:44:11 +020016826Files: src/regexp_nfa.c
16827
16828Patch 7.3.1154
Bram Moolenaardd007ed2013-07-09 15:44:17 +020016829Problem: New regexp_nfa engine: Unnecessary code.
16830Solution: Remove unnecessary code.
Bram Moolenaar913df812013-07-06 15:44:11 +020016831Files: src/regexp_nfa.c
16832
16833Patch 7.3.1155
16834Problem: MS-DOS: "make test" uses external rmdir command.
16835Solution: Rename "rmdir" to "rd". (Taro Muraoka)
16836Files: src/testdir/Make_dos.mak
16837
16838Patch 7.3.1156
16839Problem: Compiler warnings. (dv1445)
16840Solution: Initialize variables, even when the value isn't really used.
16841Files: src/regexp_nfa.c, src/eval.c
16842
16843Patch 7.3.1157
16844Problem: New regexp engine fails on "\(\<command\)\@<=.*"
16845Solution: Fix rule for postponing match. Further tune estimating whether
16846 postponing works better. Add test.
16847Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
16848
16849Patch 7.3.1158
16850Problem: Crash when running test 86. (Jun Takimoto)
16851Solution: Define PY_SSIZE_T_CLEAN early. (Elimar Riesebieter)
16852Files: src/if_python.c, src/if_python3.c
16853
16854Patch 7.3.1159
16855Problem: The round() function is not always available. (Christ van
16856 Willegen)
16857Solution: Use the solution from f_round().
16858Files: src/ex_cmds2.c, src/eval.c, src/proto/eval.pro
16859
16860Patch 7.3.1160
16861Problem: Mixing long and pointer doesn't always work.
16862Solution: Avoid cast to pointer.
16863Files: src/undo.c
16864
16865Patch 7.3.1161
16866Problem: Python: PyList_SetItem() is inefficient.
16867Solution: Use PyList_SET_ITEM() (ZyX)
16868Files: src/if_py_both.h
16869
16870Patch 7.3.1162
16871Problem: Python: Memory leaks
16872Solution: Add more Py_DECREF(). (ZyX)
16873Files: src/if_py_both.h, src/if_python.c
16874
16875Patch 7.3.1163
16876Problem: Not easy to load Python modules.
16877Solution: Search "python2", "python3" and "pythonx" directories in
16878 'runtimepath' for Python modules. (ZyX)
16879Files: runtime/doc/if_pyth.txt, src/configure.in, src/ex_cmds2.c,
16880 src/if_py_both.h, src/if_python.c, src/if_python3.c,
16881 src/testdir/test86.in, src/testdir/test87.in, src/auto/configure
16882
16883Patch 7.3.1164
16884Problem: Can't test what is actually displayed on screen.
16885Solution: Add the screenchar() and screenattr() functions.
16886Files: src/eval.c, runtime/doc/eval.txt
16887
16888Patch 7.3.1165
16889Problem: HP-UX compiler can't handle zero size array. (Charles Cooper)
16890Solution: Make the array one item big.
16891Files: src/regexp.h, src/regexp_nfa.c
16892
16893Patch 7.3.1166
16894Problem: Loading Python modules is not tested.
16895Solution: Enable commented-out tests, add missing files. (ZyX)
16896Files: src/testdir/test86.in, src/testdir/test86.ok,
16897 src/testdir/test87.in, src/testdir/test87.ok,
16898 src/testdir/python2/module.py, src/testdir/python3/module.py,
16899 src/testdir/pythonx/module.py, src/testdir/pythonx/modulex.py,
16900 Filelist
16901
16902Patch 7.3.1167
16903Problem: Python configure check doesn't reject Python 2 when requesting
16904 Python 3. Some systems need -pthreads instead of -pthread.
16905Solution: Adjust configure accordingly. (Andrei Olsen)
16906Files: src/configure.in, src/auto/configure
16907
16908Patch 7.3.1168
16909Problem: Python "sane" configure checks give a warning message.
Bram Moolenaardd007ed2013-07-09 15:44:17 +020016910Solution: Use single quotes instead of escaped double quotes. (Ben Fritz)
Bram Moolenaar913df812013-07-06 15:44:11 +020016911Files: src/configure.in, src/auto/configure
16912
16913Patch 7.3.1169
16914Problem: New regexp engine: some work is done while executing a pattern,
16915 even though the result is predictable.
16916Solution: Do the work while compiling the pattern.
16917Files: src/regexp_nfa.c
16918
16919Patch 7.3.1170
16920Problem: Patch 7.3.1058 breaks backwards compatibility, not possible to use
16921 a function reference as a string. (lilydjwg)
16922Solution: Instead of translating the function name only translate "s:".
16923Files: src/eval.c
16924
16925Patch 7.3.1171
16926Problem: Check for digits and ascii letters can be faster.
16927Solution: Use a trick with one comparison. (Dominique Pelle)
16928Files: src/macros.h
16929
16930Patch 7.3.1172
16931Problem: Python 2: loading modules doesn't work well.
16932Solution: Fix the code. Add more tests. (ZyX)
16933Files: runtime/doc/if_pyth.txt, src/if_py_both.h, src/if_python.c,
16934 src/testdir/python2/module.py, src/testdir/python3/module.py,
16935 src/testdir/python_after/after.py,
16936 src/testdir/python_before/before.py, src/testdir/test86.in,
16937 src/testdir/test86.ok, src/testdir/test87.in,
16938 src/testdir/test87.ok, Filelist
16939
16940Patch 7.3.1173
16941Problem: Python 2 tests don't have the same output everywhere.
16942Solution: Make the Python 2 tests more portable. (ZyX)
16943Files: src/testdir/test86.in, src/testdir/test86.ok
16944
16945Patch 7.3.1174
16946Problem: Python 2 and 3 use different ways to load modules.
16947Solution: Use the same method. (ZyX)
16948Files: runtime/doc/if_pyth.txt, src/if_py_both.h, src/if_python3.c,
16949 src/if_python.c
16950
16951Patch 7.3.1175
16952Problem: Using isalpha() and isalnum() can be slow.
16953Solution: Use range checks. (Mike Williams)
16954Files: src/ex_docmd.c, src/macros.h
16955
16956Patch 7.3.1176
16957Problem: Compiler warnings on 64 bit system.
16958Solution: Add type casts. (Mike Williams)
16959Files: src/eval.c, src/if_py_both.h
16960
16961Patch 7.3.1177
16962Problem: Wasting memory on padding.
16963Solution: Reorder struct fields. (Dominique Pelle)
16964Files: src/structs.h, src/fileio.c
16965
16966Patch 7.3.1178
16967Problem: Can't put all Vim config files together in one directory.
16968Solution: Load ~/.vim/vimrc if ~/.vimrc does not exist. (Lech Lorens)
16969Files: runtime/doc/gui.txt, runtime/doc/starting.txt, src/gui.c,
16970 src/main.c, src/os_amiga.h, src/os_dos.h, src/os_unix.h
16971
16972Patch 7.3.1179
16973Problem: When a global mapping starts with the same characters as a
16974 buffer-local mapping Vim waits for a character to be typed to find
16975 out whether the global mapping is to be used. (Andy Wokula)
16976Solution: Use the local mapping without waiting. (Michael Henry)
16977Files: runtime/doc/map.txt, src/getchar.c
16978
16979Patch 7.3.1180
16980Problem: When current directory changes, path from cscope may no longer be
16981 valid. (AS Budden)
16982Solution: Always store the absolute path. (Christian Brabandt)
16983Files: src/if_cscope.c
16984
16985Patch 7.3.1181
16986Problem: Wrong error message for 1.0[0].
16987Solution: Check for funcref and float separately. (Yasuhiro Matsumoto)
16988Files: src/eval.c
16989
16990Patch 7.3.1182
16991Problem: 'backupcopy' default on MS-Windows does not work for hard and soft
16992 links.
16993Solution: Check for links. (David Pope, Ken Takata)
16994Files: src/fileio.c, src/os_win32.c, src/proto/os_win32.pro
16995
16996Patch 7.3.1183
16997Problem: Python tests 86 and 87 fail.
16998Solution: Add "empty" files. (ZyX)
16999Files: src/testdir/python_before/before_1.py,
17000 src/testdir/python_before/before_2.py
17001
17002Patch 7.3.1184
17003Problem: Highlighting is sometimes wrong. (Axel Bender)
17004Solution: Fetch regline again when returning from recursive regmatch.
17005Files: src/regexp_nfa.c
17006
17007Patch 7.3.1185
17008Problem: New regexp engine: no match with ^ after \n. (SungHyun Nam)
17009Solution: Fix it, add a test.
17010Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
17011
17012Patch 7.3.1186
17013Problem: Python 3: test 87 may crash.
17014Solution: Use _PyArg_Parse_SizeT instead of PyArg_Parse. (Jun Takimoto)
17015Files: src/if_python3.c
17016
17017Patch 7.3.1187 (after 7.3.1170)
17018Problem: "s:" is recognized but "<SID>" is not. (ZyX)
17019Solution: Translate "<SID>" like "s:".
17020Files: src/eval.c
17021
17022Patch 7.3.1188
17023Problem: Newline characters messing up error message.
17024Solution: Remove the newlines. (Kazunobu Kuriyama)
17025Files: src/gui_x11.c
17026
17027Patch 7.3.1189 (after 7.3.1185)
17028Problem: Highlighting is still wrong sometimes. (Dominique Pelle)
17029Solution: Also restore reginput properly.
17030Files: src/regexp_nfa.c
17031
17032Patch 7.3.1190
17033Problem: Compiler warning for parentheses. (Christian Wellenbrock)
17034Solution: Change #ifdef.
17035Files: src/ex_docmd.c
17036
17037Patch 7.3.1191
17038Problem: Backreference to previous line doesn't work. (Lech Lorens)
17039Solution: Implement looking in another line.
17040Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test64.in,
17041 src/testdir/test64.ok
17042
17043Patch 7.3.1192
17044Problem: Valgrind reports errors when using backreferences. (Dominique
17045 Pelle)
17046Solution: Do not check the end of submatches.
17047Files: src/regexp_nfa.c
17048
17049Patch 7.3.1193
17050Problem: fail_if_missing not used for Python 3.
17051Solution: Give an error when Python 3 can't be configured. (Andrei Olsen)
17052Files: src/configure.in, src/auto/configure
17053
17054Patch 7.3.1194
17055Problem: Yaml highlighting is slow.
17056Solution: Tune the estimation of pattern failure chance.
17057Files: src/regexp_nfa.c
17058
17059Patch 7.3.1195
Bram Moolenaardd007ed2013-07-09 15:44:17 +020017060Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
Bram Moolenaar913df812013-07-06 15:44:11 +020017061Solution: Set the length to the matching backref.
17062Files: src/regexp.c
17063
17064Patch 7.3.1196
17065Problem: Old regexp engine does not match pattern with backref correctly.
17066 (Dominique Pelle)
17067Solution: Fix setting status. Test multi-line patterns better.
17068Files: src/regexp.c, src/testdir/test64.in, src/testdir/test64.ok
17069
17070Patch 7.3.1197
17071Problem: ":wviminfo!" does not write history previously read from a viminfo
17072 file. (Roland Eggner)
17073Solution: When not merging history write all entries.
17074Files: src/ex_cmds.c, src/ex_getln.c, src/proto/ex_getln.pro
17075
17076Patch 7.3.1198
17077Problem: Build error when using Perl 5.18.0 and dynamic loading.
17078Solution: Change #ifdefs for Perl_croak_xs_usage. (Ike Devolder)
17079Files: src/if_perl.xs
17080
17081Patch 7.3.1199
17082Problem: When evaluating 'foldexpr' causes an error this is silently
17083 ignored and evaluation is retried every time.
17084Solution: Set emsg_silent instead of emsg_off. Stop evaluating 'foldexpr' is
17085 it is causing errors. (Christian Brabandt)
17086Files: src/fold.c
17087
17088Patch 7.3.1200
17089Problem: When calling setline() from Insert mode, using CTRL-R =, undo does
17090 not work properly. (Israel Chauca)
17091Solution: Sync undo after evaluating the expression. (Christian Brabandt)
17092Files: src/edit.c, src/testdir/test61.in, src/testdir/test61.ok
17093
17094Patch 7.3.1201
17095Problem: When a startup script creates a preview window, it probably
17096 becomes the current window.
17097Solution: Make another window the current one. (Christian Brabandt)
17098Files: src/main.c
17099
17100Patch 7.3.1202 (after 7.3.660)
17101Problem: Tags are not found in case-folded tags file. (Darren cole, Issue
17102 90)
17103Solution: Take into account that when case folding was used for the tags
17104 file "!rm" sorts before the "!_TAG" header lines.
17105Files: src/tag.c
17106
17107Patch 7.3.1203
17108Problem: Matches from matchadd() might be highlighted incorrectly when they
17109 are at a fixed position and inserting lines. (John Szakmeister)
17110Solution: Redraw all lines below a change if there are highlighted matches.
17111 (idea by Christian Brabandt)
17112Files: src/screen.c
17113
17114Patch 7.3.1204
17115Problem: Calling gettabwinvar() in 'tabline' cancels Visual mode. (Hirohito
17116 Higashi)
17117Solution: Don't always use goto_tabpage_tp().
17118Files: src/window.c, src/proto/window.pro, src/eval.c, src/if_py_both.h
17119
17120Patch 7.3.1205
17121Problem: logtalk.dict is not removed on uninstall.
17122Solution: Remove the file. (Kazunobu Kuriyama)
17123Files: src/Makefile
17124
17125Patch 7.3.1206
17126Problem: Inconsistent function argument declarations.
17127Solution: Use ANSI style.
17128Files: src/if_py_both.h
17129
17130Patch 7.3.1207
17131Problem: New regexp engine: no match found on "#if FOO". (Lech Lorens)
17132Solution: When adding a state gets skipped don't adjust the index.
17133Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
17134
17135Patch 7.3.1208
17136Problem: Compiler warnings on MS-Windows.
17137Solution: Add type cast. Move variable declaration. (Mike Williams)
17138Files: src/option.c, src/os_mswin.c
17139
17140Patch 7.3.1209
17141Problem: No completion for ":tabdo".
17142Solution: Add tabdo to the list of modifiers. (Dominique Pelle)
17143Files: src/ex_docmd.c
17144
17145Patch 7.3.1210 (after 7.3.1182)
17146Problem: 'backupcopy' default on MS-Windows is wrong when 'encoding' equals
17147 the current codepage.
17148Solution: Change the #else block. (Ken Takata)
17149Files: src/os_win32.c
17150
17151Patch 7.3.1211
17152Problem: MS-Windows: When 'encoding' differs from the current codepage
17153 ":hardcopy" does not work properly.
17154Solution: Use TextOutW() and SetDlgItemTextW(). (Ken Takata)
17155Files: src/os_mswin.c, src/vim.rc
17156
17157Patch 7.3.1212
17158Problem: "make test" on MS-Windows does not report failure like Unix does.
17159Solution: Make it work like on Unix. (Taro Muraoka)
17160Files: src/testdir/Make_dos.mak
17161
17162Patch 7.3.1213
17163Problem: Can't build with small features and Python.
17164Solution: Adjust #ifdefs.
17165Files: src/eval.c, src/buffer.c, src/eval.c, src/window.c
17166
17167Patch 7.3.1214
17168Problem: Missing declaration for init_users() and realloc_post_list().
17169 (Salman Halim)
17170Solution: Add the declarations.
17171Files: src/misc1.c, src/regexp_nfa.c
17172
17173Patch 7.3.1215
17174Problem: Compiler warning for function not defined.
17175Solution: Add #ifdef.
17176Files: src/misc1.c
17177
17178Patch 7.3.1216
17179Problem: Configure can't find Motif on Ubuntu.
17180Solution: Search for libXm in /usr/lib/*-linux-gnu.
17181Files: src/configure.in, src/auto/configure
17182
17183Patch 7.3.1217
17184Problem: New regexp engine: Can't handle \%[[ao]]. (Yukihiro Nakadaira)
17185Solution: Support nested atoms inside \%[].
17186Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
17187
17188Patch 7.3.1218
17189Problem: "make test" on MS-Windows does not clean all temporary files and
Bram Moolenaardd007ed2013-07-09 15:44:17 +020017190 gives some unnecessary message.
Bram Moolenaar913df812013-07-06 15:44:11 +020017191Solution: Clean the right files. Create .failed files. (Ken Takata)
17192Files: src/testdir/Make_dos.mak
17193
17194Patch 7.3.1219
17195Problem: No test for using []] inside \%[].
17196Solution: Add a test.
17197Files: src/testdir/test64.in, src/testdir/test64.ok
17198
17199Patch 7.3.1220
17200Problem: MS-Windows: When using wide font italic and bold are not included.
17201Solution: Support wide-bold, wide-italic and wide-bold-italic. (Ken Takata,
17202 Taro Muraoka)
17203Files: src/gui.c, src/gui.h, src/gui_w48.c
17204
17205Patch 7.3.1221
17206Problem: When build flags change "make distclean" run into a configure
17207 error.
17208Solution: When CFLAGS changes delete auto/config.cache. Also avoid adding
Bram Moolenaardd007ed2013-07-09 15:44:17 +020017209 duplicate text to flags. (Ken Takata)
Bram Moolenaar913df812013-07-06 15:44:11 +020017210Files: src/Makefile, src/configure.in, src/auto/configure
17211
17212Patch 7.3.1222
17213Problem: Cannot execute some tests from the src directly.
17214Solution: Add missing targets.
17215Files: src/Makefile
17216
17217Patch 7.3.1223
17218Problem: Tests fail on MS-Windows.
17219Solution: Avoid depending on OS version. Use DOS commands instead of Unix
17220 commands. (Taro Muraoka, Ken Takata)
17221Files: src/testdir/test17.in, src/testdir/test50.in,
17222 src/testdir/test71.in, src/testdir/test77.in
17223
17224Patch 7.3.1224
17225Problem: Clang gives warnings on xxd.
17226Solution: Change how to use part of a string. (Dominique Pelle) Also avoid
17227 warning for return not reached.
17228Files: src/xxd/xxd.c, src/regexp_nfa.c
17229
17230Patch 7.3.1225
17231Problem: Compiler warnings when building with Motif.
17232Solution: Change set_label() argument. (Kazunobu Kuriyama)
17233Files: src/gui_motif.c
17234
17235Patch 7.3.1226
17236Problem: Python: duplicate code.
17237Solution: Share code between OutputWrite() and OutputWritelines(). (ZyX)
17238Files: src/if_py_both.h, src/testdir/test86.ok, src/testdir/test87.ok
17239
17240Patch 7.3.1227
17241Problem: Inconsistent string conversion.
17242Solution: Use 'encoding' instead of utf-8. Use METH_O in place of
17243 METH_VARARGS where appropriate. (ZyX)
17244Files: src/if_py_both.h, src/testdir/test86.ok, src/testdir/test87.ok
17245
17246Patch 7.3.1228
17247Problem: Python: various inconsistencies and problems.
17248Solution: StringToLine now supports both bytes() and unicode() objects.
Bram Moolenaardd007ed2013-07-09 15:44:17 +020017249 Make function names consistent. Fix memory leak fixed in
Bram Moolenaar913df812013-07-06 15:44:11 +020017250 StringToLine. (ZyX)
17251Files: src/if_py_both.h, src/if_python3.c, src/if_python.c
17252
17253Patch 7.3.1229
17254Problem: Python: not so easy to delete/restore translating.
17255Solution: Make macros do translation of exception messages. (ZyX)
17256 Note: this breaks translations!
17257Files: src/if_py_both.h, src/if_python3.c
17258
17259Patch 7.3.1230
17260Problem: Python: Exception messages are not clear.
17261Solution: Make exception messages more verbose. (ZyX)
17262Files: src/if_py_both.h, src/if_python3.c, src/if_python.c,
17263 src/testdir/test86.ok, src/testdir/test87.ok
17264
17265Patch 7.3.1231
17266Problem: Python: use of numbers not consistent.
17267Solution: Add support for Number protocol. (ZyX)
17268Files: src/if_py_both.h, src/if_python3.c, src/if_python.c,
17269 src/testdir/test86.ok, src/testdir/test87.ok
17270
17271Patch 7.3.1232
17272Problem: Python: inconsistencies in variable names.
17273Solution: Rename variables. (ZyX)
17274Files: src/eval.c, src/if_py_both.h
17275
17276Patch 7.3.1233
17277Problem: Various Python problems.
17278Solution: Fix VimTryEnd. Crash with debug build and PYTHONDUMPREFS=1. Memory
17279 leaks in StringToLine(), BufferMark() and convert_dl. (ZyX)
17280Files: src/if_py_both.h, src/testdir/test86.in, src/testdir/test86.ok,
17281 src/testdir/test87.in, src/testdir/test87.ok
17282
17283Patch 7.3.1234 (after 7.3.1229)
17284Problem: Python: Strings are not marked for translation.
17285Solution: Add N_() where appropriate. (ZyX)
17286Files: src/if_py_both.h
17287
17288Patch 7.3.1235
17289Problem: In insert mode CTRL-] is not inserted, on the command-line it is.
17290Solution: Don't insert CTRL-] on the command line. (Yukihiro Nakadaira)
17291Files: src/ex_getln.c
17292
17293Patch 7.3.1236
17294Problem: Python: WindowSetattr() missing support for NUMBER_UNSIGNED.
17295Solution: Add NUMBER_UNSIGNED, add more tests. Various fixes. (ZyX)
17296Files: src/if_py_both.h, src/if_python3.c, src/if_python.c,
17297 src/testdir/pythonx/failing.py,
17298 src/testdir/pythonx/failing_import.py, src/testdir/test86.in,
17299 src/testdir/test86.ok, src/testdir/test87.in,
17300 src/testdir/test87.ok, src/testdir/pythonx/topmodule/__init__.py,
17301 src/testdir/pythonx/topmodule/submodule/__init__.py,
17302 src/testdir/pythonx/topmodule/submodule/subsubmodule/__init__.py,
17303 src/testdir/pythonx/topmodule/submodule/subsubmodule/subsubsubmodule.py
17304
17305Patch 7.3.1237
17306Problem: Python: non-import errors not handled correctly.
17307Solution: Let non-ImportError exceptions pass the finder. (ZyX)
17308Files: src/if_py_both.h, src/testdir/test86.ok, src/testdir/test87.ok
17309
17310Patch 7.3.1238
17311Problem: Crash in Python interface on 64 bit machines.
17312Solution: Change argument type of PyString_AsStringAndSize. (Taro Muraoka,
17313 Jun Takimoto)
17314Files: src/if_python.c
17315
17316Patch 7.3.1239
17317Problem: Can't build with Python and MSVC10.
17318Solution: Move #if outside of macro. (Taro Muraoka)
17319Files: src/if_py_both.h
17320
17321Patch 7.3.1240
17322Problem: Memory leak in findfile().
17323Solution: Free the memory. (Christian Brabandt)
17324Files: src/eval.c
17325
17326Patch 7.3.1241 (after 7.3.1236)
17327Problem: Some test files missing from the distribution.
17328Solution: Update the list of files.
17329Files: Filelist
17330
17331Patch 7.3.1242
17332Problem: No failure when trying to use a number as a string.
17333Solution: Give an error when StringToLine() is called with an instance of
17334 the wrong type. (Jun Takimoto)
17335Files: src/if_py_both.h
17336
17337Patch 7.3.1243
17338Problem: New regexp engine: back references in look-behind match don't
17339 work. (Lech Lorens)
17340Solution: Copy the submatches before a recursive match. Also fix function
17341 prototypes.
17342Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
17343
17344Patch 7.3.1244
17345Problem: MS-Windows: confirm() dialog text may not fit.
17346Solution: Use GetTextWidthEnc() instead of GetTextWidth(). (Yasuhiro
17347 Matsumoto)
17348Files: src/gui_w32.c
17349
17350Patch 7.3.1245
17351Problem: MS-Windows: confirm() dialog text may still not fit.
17352Solution: Use GetTextWidthEnc() instead of GetTextWidth() in two more
17353 places. (Yasuhiro Matsumoto)
17354Files: src/gui_w32.c
17355
17356Patch 7.3.1246
17357Problem: When setting 'winfixheight' and resizing the window causes the
17358 window layout to be wrong.
17359Solution: Add frame_check_height() and frame_check_width() (Yukihiro
17360 Nakadaira)
17361Files: src/window.c
17362
17363Patch 7.3.1247
17364Problem: New regexp engine: '[ ]\@!\p\%([ ]\@!\p\)*:' does not always match.
17365Solution: When there is a PIM add a duplicate state that starts at another
17366 position.
17367Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
17368
17369Patch 7.3.1248
17370Problem: Still have old hacking code for Input Method.
17371Solution: Add 'imactivatefunc' and 'imstatusfunc' as a generic solution to
17372 Input Method activation. (Yukihiro Nakadaira)
17373Files: runtime/doc/options.txt, src/fileio.c, src/mbyte.c, src/option.c,
17374 src/option.h, src/proto/fileio.pro
17375
17376Patch 7.3.1249
17377Problem: Modeline not recognized when using "Vim" instead of "vim".
17378Solution: Also accept "Vim".
17379Files: src/buffer.c
17380
17381Patch 7.3.1250
17382Problem: Python tests fail on MS-Windows.
17383Solution: Change backslashes to slashes. (Taro Muraoka)
17384Files: src/testdir/test86.in, src/testdir/test87.in
17385
17386Patch 7.3.1251
17387Problem: Test 61 messes up viminfo.
17388Solution: Specify a separate viminfo file.
17389Files: src/testdir/test61.in
17390
17391Patch 7.3.1252
17392Problem: Gvim does not find the toolbar bitmap files in ~/vimfiles/bitmaps
17393 if the corresponding menu command contains additional characters
17394 like the shortcut marker '&' or if you use a non-english locale.
17395Solution: Use menu->en_dname or menu->dname. (Martin Gieseking)
17396Files: src/gui_w32.c
17397
17398Patch 7.3.1253 (after 7.3.1200)
17399Problem: Still undo problem after using CTRL-R = setline(). (Hirohito
17400 Higashi)
17401Solution: Set the ins_need_undo flag.
17402Files: src/edit.c
17403
17404Patch 7.3.1254 (after 7.3.1252)
17405Problem: Can't build without the multi-lang feature. (John Marriott)
17406Solution: Add #ifdef.
17407Files: src/gui_w32.c
17408
17409Patch 7.3.1255
17410Problem: Clang warnings when building with Athena.
17411Solution: Add type casts. (Dominique Pelle)
17412Files: src/gui_at_fs.c
17413
17414Patch 7.3.1256
17415Problem: Can't build without eval or autocmd feature.
17416Solution: Add #ifdefs.
17417Files: src/mbyte.c, src/window.c
17418
17419Patch 7.3.1257
17420Problem: With GNU gettext() ":lang de_DE.utf8" does not always result in
17421 German messages.
17422Solution: Clear the $LANGUAGE environment variable.
17423Files: src/ex_cmds2.c
17424
17425Patch 7.3.1258
17426Problem: Using submatch() may crash Vim. (Ingo Karkat)
17427Solution: Restore the number of subexpressions used.
17428Files: src/regexp_nfa.c
17429
17430Patch 7.3.1259
17431Problem: No test for patch 7.3.1258
17432Solution: Add a test entry.
17433Files: src/testdir/test64.in, src/testdir/test64.ok
17434
17435Patch 7.3.1260
17436Problem: User completion does not get the whole command line in the command
17437 line window.
17438Solution: Pass on the whole command line. (Daniel Thau)
17439Files: src/ex_getln.c, src/structs.h
17440
17441Patch 7.3.1261 (after patch 7.3.1179)
17442Problem: A buffer-local language mapping from a keymap stops a global
17443 insert mode mapping from working. (Ron Aaron)
17444Solution: Do not wait for more characters to be typed only when the mapping
17445 was defined with <nowait>.
17446Files: runtime/doc/map.txt, src/eval.c, src/getchar.c,
17447 src/testdir/test75.in, src/testdir/test75.ok
17448
17449Patch 7.3.1262
17450Problem: Crash and compilation warnings with Cygwin.
17451Solution: Check return value of XmbTextListToTextProperty(). Add type casts.
17452 Adjust #ifdefs. (Lech Lorens)
17453Files: src/main.c, src/os_unix.c, src/ui.c
17454
17455Patch 7.3.1263
17456Problem: Typo in short option name.
17457Solution: Change "imse" to "imsf".
17458Files: src/option.c
17459
17460Patch 7.3.1264 (after 7.3.1261)
17461Problem: Missing m_nowait.
17462Solution: Include missing part of the patch.
17463Files: src/structs.h
17464
17465Patch 7.3.1265 (after 7.3.1249)
17466Problem: Accepting "Vim:" for a modeline causes errors too often.
17467Solution: Require "Vim:" to be followed by "set".
17468Files: src/buffer.c
17469
17470Patch 7.3.1266
17471Problem: QNX: GUI fails to start.
17472Solution: Remove the QNX-specific #ifdef. (Sean Boudreau)
17473Files: src/gui.c
17474
17475Patch 7.3.1267
17476Problem: MS-Windows ACL support doesn't work well.
17477Solution: Implement more ACL support. (Ken Takata)
17478Files: src/os_win32.c
17479
17480Patch 7.3.1268
Bram Moolenaardd007ed2013-07-09 15:44:17 +020017481Problem: ACL support doesn't work when compiled with MingW.
Bram Moolenaar913df812013-07-06 15:44:11 +020017482Solution: Support ACL on MingW. (Ken Takata)
17483Files: src/os_win32.c, src/os_win32.h
17484
17485Patch 7.3.1269
17486Problem: Insert completion keeps entry selected even though the list has
17487 changed. (Olivier Teuliere)
17488Solution: Reset compl_shown_match and compl_curr_match. (Christian Brabandt)
17489Files: src/edit.c
17490
17491Patch 7.3.1270
17492Problem: Using "Vp" in an empty buffer can't be undone. (Hauke Petersen)
17493Solution: Save one line in an empty buffer. (Christian Brabandt)
17494Files: src/ops.c
17495
17496Patch 7.3.1271 (after 7.3.1260)
17497Problem: Command line completion does not work.
17498Solution: Move setting xp_line down. (Daniel Thau)
17499Files: src/ex_getln.c
17500
17501Patch 7.3.1272
17502Problem: Crash when editing Ruby file. (Aliaksandr Rahalevich)
17503Solution: Reallocate the state list when necessary.
17504Files: src/regexp_nfa.c
17505
17506Patch 7.3.1273
17507Problem: When copying a location list the index might be wrong.
17508Solution: Set the index to one when using the first entry. (Lech Lorens)
17509Files: src/quickfix.c
17510
17511Patch 7.3.1274
17512Problem: When selecting an entry from a location list it may pick an
17513 arbitrary window or open a new one.
17514Solution: Prefer using a window related to the location list. (Lech Lorens)
17515Files: src/quickfix.c
17516
17517Patch 7.3.1275
17518Problem: "gn" does not work when the match is a single character.
17519Solution: Fix it, add a test. (Christian Brabandt)
17520Files: src/search.c, src/testdir/test53.in, src/testdir/test53.ok
17521
17522Patch 7.3.1276
17523Problem: When using a cscope connection resizing the window may send
17524 SIGWINCH to cscope and it quits.
17525Solution: Call setpgid(0, 0) in the child process. (Narendran Gopalakrishnan)
17526Files: src/if_cscope.c
17527
17528Patch 7.3.1277
17529Problem: In diff mode 'cursorline' also draws in the non-active window.
17530 When 'nu' and 'sbr' are set the 'sbr' string is not underlined.
17531Solution: Only draw the cursor line in the current window. Combine the
17532 'cursorline' and other highlighting attributes. (Christian
17533 Brabandt)
17534Files: src/screen.c
17535
17536Patch 7.3.1278
17537Problem: When someone sets the screen size to a huge value with "stty" Vim
17538 runs out of memory before reducing the size.
17539Solution: Limit Rows and Columns in more places.
17540Files: src/gui.c, src/gui_gtk_x11.c, src/option.c, src/os_unix.c,
17541 src/proto/term.pro, src/term.c
17542
17543Patch 7.3.1279
17544Problem: Compiler warning for variable uninitialized. (Tony Mechelynck)
17545Solution: Add an init.
17546Files: src/ex_getln.c
17547
17548Patch 7.3.1280
17549Problem: Reading memory already freed since patch 7.3.1247. (Simon
17550 Ruderich, Dominique Pelle)
17551Solution: Copy submatches before reallocating the state list.
17552Files: src/regexp_nfa.c
17553
17554Patch 7.3.1281
17555Problem: When 'ttymouse' is set to "xterm2" clicking in column 123 moves
17556 the cursor to column 96. (Kevin Goodsell)
17557Solution: Decode KE_CSI.
17558Files: src/term.c
17559
17560Patch 7.3.1282 (after 7.3.1277)
17561Problem: 'cursorline' not drawn in any other window. (Charles Campbell)
17562Solution: Do draw the cursor line in other windows.
17563Files: src/screen.c
17564
17565Patch 7.3.1283
17566Problem: Test 71 fails on MS-Windows.
17567Solution: Put the binary data in a separate file. (Ken Takata)
17568Files: src/testdir/test71.in, src/testdir/test71a.in
17569
17570Patch 7.3.1284
17571Problem: Compiler warnings in MS-Windows clipboard handling.
17572Solution: Add type casts. (Ken Takata)
17573Files: src/winclip.c
17574
17575Patch 7.3.1285
17576Problem: No tests for picking a window when selecting an entry in a
17577 location list. Not picking the right window sometimes.
17578Solution: Add test 96. Set usable_win appropriately. (Lech Lorens)
17579Files: src/quickfix.c, src/testdir/Makefile, src/testdir/test96.in,
17580 src/testdir/test96.ok, src/testdir/Make_amiga.mak,
17581 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
17582 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms
17583
17584Patch 7.3.1286
17585Problem: Check for screen size missing for Athena and Motif.
17586Solution: Add call to limit_screen_size().
17587Files: src/gui_x11.c
17588
17589Patch 7.3.1287
17590Problem: Python SystemExit exception is not handled properly.
17591Solution: Catch the exception and give an error. (Yasuhiro Matsumoto, Ken
17592 Takata)
17593Files: runtime/doc/if_pyth.txt, src/if_py_both.h, src/if_python.c,
17594 src/if_python3.c
17595
17596Patch 7.3.1288
17597Problem: The first ":echo 'hello'" command output doesn't show. Mapping
17598 for <S-F3> gets triggered during startup.
17599Solution: Add debugging code for the termresponse. When receiving the "Co"
17600 entry and when setting 'ambiwidth' redraw right away if possible.
17601 Add redraw_asap(). Don't set 'ambiwidth' if it already had the
17602 right value. Do the 'ambiwidth' check in the second row to avoid
17603 confusion with <S-F3>.
17604Files: src/term.c, src/screen.c, src/proto/screen.pro
17605
17606Patch 7.3.1289
17607Problem: Get GLIB warning when removing a menu item.
17608Solution: Reference menu-id and also call gtk_container_remove(). (Ivan
17609 Krasilnikov)
17610Files: src/gui_gtk.c
17611
17612Patch 7.3.1290 (after 7.3.1253)
17613Problem: CTRL-R = in Insert mode changes the start of the insert position.
17614 (Ingo Karkat)
17615Solution: Only break undo, don't start a new insert.
17616Files: src/edit.c
17617
17618Patch 7.3.1291 (after 7.3.1288)
17619Problem: Compiler warnings for uninitialized variables. (Tony Mechelynck)
17620Solution: Initialize the variables.
17621Files: src/screen.c
17622
17623Patch 7.3.1292
Bram Moolenaardd007ed2013-07-09 15:44:17 +020017624Problem: Possibly using invalid pointer when searching for window. (Raichoo)
Bram Moolenaar913df812013-07-06 15:44:11 +020017625Solution: Use "firstwin" instead of "tp_firstwin" for current tab.
17626Files: src/window.c
17627
17628Patch 7.3.1293
17629Problem: Put in empty buffer cannot be undone.
17630Solution: Save one more line for undo. (Ozaki)
17631Files: src/ops.c
17632
17633Patch 7.3.1294
17634Problem: ":diffoff" resets options.
17635Solution: Save and restore option values. (Christian Brabandt)
17636Files: src/diff.c, src/structs.h, src/option.c
17637
17638Patch 7.3.1295
17639Problem: glob() and globpath() do not handle escaped special characters
17640 properly.
17641Solution: Handle escaped characters differently. (Adnan Zafar)
17642Files: src/testdir/Makefile, src/testdir/test97.in,
17643 src/testdir/test97.ok, src/testdir/Make_amiga.mak,
17644 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
17645 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms, src/fileio.c,
17646 src/misc1.c
17647
17648Patch 7.3.1296
17649Problem: Only MS-Windows limits the GUI window size to what fits on the
17650 monitor.
17651Solution: Limit the size for all systems. (Daniel Harding)
17652Files: src/ui.c
17653
17654Patch 7.3.1297
17655Problem: findfile() directory matching does not work when a star follows
17656 text. (Markus Braun)
17657Solution: Make a wildcard work properly. (Christian Brabandt)
17658Files: src/misc2.c, src/testdir/test89.in, src/testdir/test89.ok
17659
17660Patch 7.3.1298 (after 7.3.1297)
17661Problem: Crash.
17662Solution: Use STRCPY() instead of STRCAT() and allocate one more byte.
17663Files: src/misc2.c
17664
17665Patch 7.3.1299
17666Problem: Errors when doing "make proto". Didn't do "make depend" for a
17667 while.
17668Solution: Add #ifdefs. Update dependencies. Update proto files.
17669Files: src/if_python3.c, src/os_win32.c, src/Makefile,
17670 src/proto/ex_docmd.pro, src/proto/if_python.pro,
17671 src/proto/if_python3.pro, src/proto/gui_w16.pro,
17672 src/proto/gui_w32.pro, src/proto/os_win32.pro
17673
17674Patch 7.3.1300
17675Problem: Mac: tiny and small build fails.
17676Solution: Don't include os_macosx.m in tiny build. Include mouse support in
17677 small build. (Kazunobu Kuriyama)
17678Files: src/configure.in, src/auto/configure, src/vim.h
17679
17680Patch 7.3.1301
17681Problem: Some tests fail on MS-Windows.
17682Solution: Fix path separators in test 89 and 96. Omit test 97, escaping
17683 works differently. Make findfile() work on MS-Windows.
17684Files: src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
17685 src/testdir/Make_os2.mak, src/testdir/test89.in,
17686 src/testdir/test96.in, src/misc2.c
17687
17688Patch 7.3.1302
17689Problem: Test 17 fails on MS-Windows. Includes line break in file name
17690 everywhere.
17691Solution: Fix 'fileformat'. Omit CR-LF from a line read from an included
17692 file.
17693Files: src/search.c, src/testdir/test17.in, src/testdir/test17.ok
17694
17695Patch 7.3.1303 (after 7.3.1290)
17696Problem: Undo is synced whenever CTRL-R = is called, breaking some plugins.
17697Solution: Only break undo when calling setline() or append().
17698Files: src/globals.h, src/eval.c, src/edit.c, src/testdir/test61.in,
17699 src/testdir/test61.ok
17700
17701Patch 7.3.1304
17702Problem: Test 89 still fails on MS-Windows.
17703Solution: Set 'shellslash'. (Taro Muraoka)
17704Files: src/testdir/test89.in
17705
17706Patch 7.3.1305
17707Problem: Warnings from 64 bit compiler.
17708Solution: Add type casts.
17709Files: src/misc2.c
17710
17711Patch 7.3.1306
17712Problem: When redrawing the screen during startup the intro message may be
17713 cleared.
17714Solution: Redisplay the intro message when appropriate.
17715Files: src/screen.c, src/version.c, src/proto/version.pro
17716
17717Patch 7.3.1307
17718Problem: MS-Windows build instructions are outdated.
17719Solution: Adjust for building on Windows 7. Drop Windows 95/98/ME support.
17720Files: Makefile, nsis/gvim.nsi
17721
17722Patch 7.3.1308
17723Problem: Typos in MS-Windows build settings and README.
17724Solution: Minor changes to MS-Windows files.
17725Files: src/msvc2008.bat, src/msvc2010.bat, src/VisVim/README_VisVim.txt
17726
17727Patch 7.3.1309
17728Problem: When a script defines a function the flag to wait for the user to
17729 hit enter is reset.
17730Solution: Restore the flag. (Yasuhiro Matsumoto) Except when the user was
17731 typing the function.
17732Files: src/eval.c
17733
17734Patch 7.3.1310
17735Problem: Typos in nsis script. Can use better compression.
17736Solution: Fix typos. Use lzma compression. (Ken Takata)
17737Files: nsis/gvim.nsi
17738
17739Patch 7.3.1311
17740Problem: Compiler warnings on Cygwin.
17741Solution: Add type casts. Add windows include files. (Ken Takata)
17742Files: src/mbyte.c, src/ui.c
17743
17744Patch 7.3.1312 (after 7.3.1287)
17745Problem: Not giving correct error messages for SystemExit().
17746Solution: Move E858 into an else. (Ken Takata)
17747Files: src/if_py_both.h
17748
17749Patch 7.3.1313
17750Problem: :py and :py3 don't work when compiled with Cygwin or MingW with 64
17751 bit.
17752Solution: Add -DMS_WIN64 to the build command. (Ken Takata)
17753Files: src/Make_cyg.mak, src/Make_ming.mak
17754
17755Patch 7.3.1314
17756Problem: Test 87 fails with Python 3.3.
17757Solution: Filter the error messages. (Taro Muraoka)
17758Files: src/testdir/test87.in
17759
17760
17761
17762Vim:set sts=4 sw=4 tw=78 fo+=t:
Bram Moolenaar49325942007-05-10 19:19:59 +000017763
Bram Moolenaar071d4272004-06-13 20:20:40 +000017764 vim:tw=78:ts=8:ft=help:norl: