blob: aa674c61a8386e3b6bbfe4ec21db74d7659190e0 [file] [log] [blame]
Bram Moolenaar9ba7e172013-07-17 22:37:26 +02001*version7.txt* For Vim version 7.4a. Last change: 2013 Jul 13
Bram Moolenaar071d4272004-06-13 20:20:40 +00002
3
4 VIM REFERENCE MANUAL by Bram Moolenaar
5
Bram Moolenaar7a329912010-05-21 12:05:36 +02006 *vim7* *version-7.0* *version7.0*
Bram Moolenaar071d4272004-06-13 20:20:40 +00007Welcome to Vim 7! A large number of features has been added. This file
8mentions all the new items, changes to existing features and bug fixes
Bram Moolenaar8ea91232006-04-28 22:41:43 +00009since Vim 6.x. Use this command to see the version you are using: >
Bram Moolenaarb2956cd2005-01-27 14:42:53 +000010 :version
Bram Moolenaar071d4272004-06-13 20:20:40 +000011
12See |vi_diff.txt| for an overview of differences between Vi and Vim 7.0.
13See |version4.txt| for differences between Vim 3.x and Vim 4.x.
14See |version5.txt| for differences between Vim 4.x and Vim 5.x.
15See |version6.txt| for differences between Vim 5.x and Vim 6.x.
16
17INCOMPATIBLE CHANGES |incompatible-7|
18
19NEW FEATURES |new-7|
20
Bram Moolenaarbac234e2005-01-17 22:21:07 +000021Vim script enhancements |new-vim-script|
Bram Moolenaar60c78922005-03-20 22:40:14 +000022Spell checking |new-spell|
Bram Moolenaarf75a9632005-09-13 21:20:47 +000023Omni completion |new-omni-completion|
Bram Moolenaarfb670262005-06-05 22:06:27 +000024MzScheme interface |new-MzScheme|
25Printing multi-byte text |new-print-multi-byte|
Bram Moolenaar17be7e62006-03-12 22:13:45 +000026Tab pages |new-tab-pages|
Bram Moolenaar34e9e2f2006-03-14 23:07:19 +000027Undo branches |new-undo-branches|
Bram Moolenaar362e1a32006-03-06 23:29:24 +000028Extended Unicode support |new-more-unicode|
Bram Moolenaar17be7e62006-03-12 22:13:45 +000029More highlighting |new-more-highlighting|
Bram Moolenaar293ee4d2004-12-09 21:34:53 +000030Translated manual pages |new-manpage-trans|
Bram Moolenaar8fc061c2004-12-29 21:03:02 +000031Internal grep |new-vimgrep|
Bram Moolenaar87e25fd2005-07-27 21:13:01 +000032Scroll back in messages |new-scroll-back|
Bram Moolenaarea0cd362006-03-16 21:46:52 +000033Cursor past end of the line |new-onemore|
Bram Moolenaar4399ef42005-02-12 14:29:27 +000034POSIX compatibility |new-posix|
Bram Moolenaare2ac10d2005-03-07 23:26:06 +000035Debugger support |new-debug-support|
Bram Moolenaar0be6e642005-08-04 21:32:22 +000036Remote file explorer |new-netrw-explore|
Bram Moolenaar900b4d72005-12-12 22:05:50 +000037Define an operator |new-define-operator|
Bram Moolenaarade00832006-03-10 21:46:58 +000038Mapping to an expression |new-map-expression|
Bram Moolenaarb3656ed2006-03-20 21:59:49 +000039Visual and Select mode mappings |new-map-select|
Bram Moolenaar17c7c012006-01-26 22:25:15 +000040Location list |new-location-list|
Bram Moolenaar071d4272004-06-13 20:20:40 +000041Various new items |new-items-7|
42
43IMPROVEMENTS |improvements-7|
44
45COMPILE TIME CHANGES |compile-changes-7|
46
47BUG FIXES |bug-fixes-7|
48
Bram Moolenaarc81e5e72007-05-05 18:24:42 +000049VERSION 7.1 |version-7.1|
50Changed |changed-7.1|
51Added |added-7.1|
52Fixed |fixed-7.1|
53
Bram Moolenaar8c8de832008-06-24 22:58:06 +000054VERSION 7.2 |version-7.2|
55Changed |changed-7.2|
56Added |added-7.2|
57Fixed |fixed-7.2|
58
Bram Moolenaar00a927d2010-05-14 23:24:24 +020059VERSION 7.3 |version-7.3|
Bram Moolenaar6df6f472010-07-18 18:04:50 +020060
61Persistent undo |new-persistent-undo|
62More encryption |new-more-encryption|
63Conceal text |new-conceal|
64Lua interface |new-lua|
65Python3 interface |new-python3|
66
Bram Moolenaar00a927d2010-05-14 23:24:24 +020067Changed |changed-7.3|
68Added |added-7.3|
69Fixed |fixed-7.3|
70
Bram Moolenaar913df812013-07-06 15:44:11 +020071VERSION 7.4 |version-7.4|
72New regexp engine |new-regexp-engine|
Bram Moolenaar9ba7e172013-07-17 22:37:26 +020073Better Python interface |better-python-interface|
Bram Moolenaar913df812013-07-06 15:44:11 +020074Changed |changed-7.4|
75Added |added-7.4|
76Fixed |fixed-7.4|
77
78
Bram Moolenaar071d4272004-06-13 20:20:40 +000079==============================================================================
80INCOMPATIBLE CHANGES *incompatible-7*
81
82These changes are incompatible with previous releases. Check this list if you
Bram Moolenaarb2956cd2005-01-27 14:42:53 +000083run into a problem when upgrading from Vim 6.x to 7.0.
84
85A ":write file" command no longer resets the 'modified' flag of the buffer,
86unless the '+' flag is in 'cpoptions' |cpo-+|. This was illogical, since the
87buffer is still modified compared to the original file. And when undoing
88all changes the file would actually be marked modified. It does mean that
89":quit" fails now.
Bram Moolenaar071d4272004-06-13 20:20:40 +000090
Bram Moolenaarf4b8e572004-06-24 15:53:16 +000091":helpgrep" now uses a help window to display a match.
92
Bram Moolenaar1cd871b2004-12-19 22:46:22 +000093In an argument list double quotes could be used to include spaces in a file
94name. This caused a difference between ":edit" and ":next" for escaping
95double quotes and it is incompatible with some versions of Vi.
96 Command Vim 6.x file name Vim 7.x file name ~
Bram Moolenaarc9b4b052006-04-30 18:54:39 +000097 :edit foo\"888 foo"888 foo"888
98 :next foo\"888 foo888 foo"888
99 :next a\"b c\"d ab cd a"b and c"d
Bram Moolenaar1cd871b2004-12-19 22:46:22 +0000100
Bram Moolenaar8c711452005-01-14 21:53:12 +0000101In a |literal-string| a single quote can be doubled to get one.
102":echo 'a''b'" would result in "a b", but now that two quotes stand for one it
103results in "a'b".
104
Bram Moolenaar04a09c12005-08-01 22:02:32 +0000105When overwriting a file with ":w! fname" there was no warning for when "fname"
106was being edited by another Vim. Vim now gives an error message |E768|.
107
Bram Moolenaar241a8aa2005-12-06 20:04:44 +0000108The support for Mac OS 9 has been removed.
109
Bram Moolenaard2cec5b2006-03-28 21:08:56 +0000110Files ending in .tex now have 'filetype' set to "context", "plaintex", or
111"tex". |ft-tex-plugin|
112
Bram Moolenaarf4b8e572004-06-24 15:53:16 +0000113
114Minor incompatibilities:
115
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000116For filetype detection: For many types, use */.dir/filename instead of
117~/.dir/filename, so that it also works for other user's files.
Bram Moolenaarf4b8e572004-06-24 15:53:16 +0000118
Bram Moolenaar910f66f2006-04-05 20:41:53 +0000119For quite a few filetypes the indent settings have been moved from the
120filetype plugin to the indent plugin. If you used: >
121 :filetype plugin on
122Then some indent settings may be missing. You need to use: >
123 :filetype plugin indent on
124
Bram Moolenaarf4b8e572004-06-24 15:53:16 +0000125":0verbose" now sets 'verbose' to zero instead of one.
126
127Removed the old and incomplete "VimBuddy" code.
128
129Buffers without a name report "No Name" instead of "No File". It was
130confusing for buffers with a name and 'buftype' set to "nofile".
Bram Moolenaar071d4272004-06-13 20:20:40 +0000131
Bram Moolenaar7b0294c2004-10-11 10:16:09 +0000132When ":file xxx" is used in a buffer without a name, the alternate file name
Bram Moolenaar54a709e2006-05-04 21:57:11 +0000133isn't set. This avoids creating buffers without a name, they are not useful.
Bram Moolenaar7b0294c2004-10-11 10:16:09 +0000134
135The "2html.vim" script now converts closed folds to HTML. This means the HTML
Bram Moolenaar54a709e2006-05-04 21:57:11 +0000136looks like it's displayed, with the same folds open and closed. Use "zR", or
Bram Moolenaarf4630b62005-05-20 21:31:17 +0000137"let html_ignore_folding=1", if no folds should appear in the HTML. (partly by
138Carl Osterwisch)
Bram Moolenaarc9b4b052006-04-30 18:54:39 +0000139Diff mode is now also converted to HTML as it is displayed.
Bram Moolenaar7b0294c2004-10-11 10:16:09 +0000140
Bram Moolenaar293ee4d2004-12-09 21:34:53 +0000141Win32: The effect of the <F10> key depended on 'winaltkeys'. Now it depends
142on whether <F10> has been mapped or not. This allows mapping <F10> without
143changing 'winaltkeys'.
144
Bram Moolenaar8c711452005-01-14 21:53:12 +0000145When 'octal' is in 'nrformats' and using CTRL-A on "08" it became "018", which
146is illogical. Now it becomes "9". The leading zero(s) is(are) removed to
147avoid the number becoming octal after incrementing "009" to "010".
Bram Moolenaar1cd871b2004-12-19 22:46:22 +0000148
149When 'encoding' is set to a Unicode encoding, the value for 'fileencodings'
150now includes "default" before "latin1". This means that for files with 8-bit
151encodings the default is to use the encoding specified by the environment, if
152possible. Previously latin1 would always be used, which is wrong in a
153non-latin1 environment, such as Russian.
154
Bram Moolenaard438e912005-01-31 19:21:46 +0000155Previously Vim would exit when there are two windows, both of them displaying
156a help file, and using ":quit". Now only the window is closed.
157
Bram Moolenaar4399ef42005-02-12 14:29:27 +0000158"-w {scriptout}" only works when {scriptout} doesn't start with a digit.
159Otherwise it's used to set the 'window' option.
160
Bram Moolenaar8bf59b92005-03-06 23:40:56 +0000161Previously <Home> and <xHome> could be mapped separately. This had the
162disadvantage that all mappings (with modifiers) had to be duplicated, since
163you can't be sure what the keyboard generates. Now all <xHome> are internally
164translated to <Home>, both for the keys and for mappings. Also for <xEnd>,
165<xF1>, etc.
166
Bram Moolenaar13fcaaf2005-04-15 21:13:42 +0000167":put" now leaves the cursor on the last inserted line.
168
Bram Moolenaar7fae6362005-06-30 22:06:41 +0000169When a .gvimrc file exists then 'compatible' is off, just like when a ".vimrc"
170file exists.
171
Bram Moolenaara2036d22005-08-23 21:04:20 +0000172When making a string upper-case with "vlllU" or similar then the German sharp
173s is replaced with "SS". This does not happen with "~" to avoid backwards
174compatibility problems and because "SS" can't be changed back to a sharp s.
175
Bram Moolenaardd2436f2005-09-05 22:14:46 +0000176"gd" previously found the very first occurrence of a variable in a function,
177that could be the function argument without type. Now it finds the position
178where the type is given.
179
Bram Moolenaare224ffa2006-03-01 00:01:28 +0000180The line continuation in functions was not taken into account, line numbers in
181errors were logical lines, not lines in the sourced file. That made it
182difficult to locate errors. Now the line number in the sourced file is
183reported, relative to the function start. This also means that line numbers
184for ":breakadd func" are different.
185
Bram Moolenaarb3656ed2006-03-20 21:59:49 +0000186When defining a user command with |:command| the special items could be
187abbreviated. This caused unexpected behavior, such as <li> being recognized
188as <line1>. The items can no longer be abbreviated.
189
Bram Moolenaar910f66f2006-04-05 20:41:53 +0000190When executing a FileChangedRO autocommand it is no longer allowed to switch
191to another buffer or edit another file. This is to prevent crashes (the event
192is triggered deep down in the code where changing buffers is not anticipated).
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000193It is still possible to reload the buffer.
194
195At the |more-prompt| and the |hit-enter-prompt|, when the 'more' option is
196set, the 'k', 'u', 'g' and 'b' keys are now used to scroll back to previous
197messages. Thus they are no longer used as typeahead.
Bram Moolenaar910f66f2006-04-05 20:41:53 +0000198
Bram Moolenaar071d4272004-06-13 20:20:40 +0000199==============================================================================
200NEW FEATURES *new-7*
201
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000202Vim script enhancements *new-vim-script*
203-----------------------
Bram Moolenaar071d4272004-06-13 20:20:40 +0000204
205In Vim scripts the following types have been added:
206
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000207 |List| ordered list of items
208 |Dictionary| associative array of items
209 |Funcref| reference to a function
Bram Moolenaar071d4272004-06-13 20:20:40 +0000210
211Many functions and commands have been added to support the new types.
212
Bram Moolenaar31c67ef2005-01-11 21:34:41 +0000213The |string()| function can be used to get a string representation of a
214variable. Works for Numbers, Strings and composites of them. Then |eval()|
215can be used to turn the string back into the variable value.
216
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000217The |:let| command can now use "+=", "-=" and ".=": >
218 :let var += expr " works like :let var = var + expr
219 :let var -= expr " works like :let var = var - expr
220 :let var .= string " works like :let var = var . string
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000221
Bram Moolenaar038eb0e2005-02-27 22:43:26 +0000222With the |:profile| command you can find out where your function or script
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000223is wasting time.
Bram Moolenaar038eb0e2005-02-27 22:43:26 +0000224
Bram Moolenaarb71eaae2006-01-20 23:10:18 +0000225In the Python interface vim.eval() also handles Dictionaries and Lists.
226|python-eval| (G. Sumner Hayes)
227
Bram Moolenaare580b0c2006-03-21 21:33:03 +0000228The |getscript| plugin was added as a convenient way to update scripts from
229www.vim.org automatically. (Charles Campbell)
230
231The |vimball| plugin was added as a convenient way to distribute a set of
232files for a plugin (plugin file, autoload script, documentation). (Charles
233Campbell)
234
Bram Moolenaar843ee412004-06-30 16:16:41 +0000235
Bram Moolenaar60c78922005-03-20 22:40:14 +0000236Spell checking *new-spell*
237--------------
238
239Spell checking has been integrated in Vim. There were a few implementations
240with scripts, but they were slow and/or required an external program.
241
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000242The 'spell' option is used to switch spell checking on or off
243The 'spelllang' option is used to specify the accepted language(s)
244The 'spellfile' option specifies where new words are added
Bram Moolenaar7fae6362005-06-30 22:06:41 +0000245The 'spellsuggest' option specifies the methods used for making suggestions
Bram Moolenaar9ba0eb82005-06-13 22:28:56 +0000246
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +0100247The |]s| and |[s| commands can be used to move to the next or previous error
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000248The |zg| and |zw| commands can be used to add good and wrong words
Bram Moolenaarc9b4b052006-04-30 18:54:39 +0000249The |z=| command can be used to list suggestions and correct the word
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000250The |:mkspell| command is used to generate a Vim spell file from word lists
Bram Moolenaar60c78922005-03-20 22:40:14 +0000251
252The "undercurl" highlighting attribute was added to nicely point out spelling
253mistakes in the GUI (based on patch from Marcin Dalecki).
254The "guisp" color can be used to give it a color different from foreground and
255background.
256The number of possible different highlight attributes was raised from about
257220 to over 30000. This allows for the attributes of spelling to be combined
Bram Moolenaar75c50c42005-06-04 22:06:24 +0000258with syntax highlighting attributes. This is also used for syntax
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000259highlighting and marking the Visual area.
Bram Moolenaar60c78922005-03-20 22:40:14 +0000260
261Much more info here: |spell|.
262
263
Bram Moolenaarf75a9632005-09-13 21:20:47 +0000264Omni completion *new-omni-completion*
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000265---------------
Bram Moolenaarf75a9632005-09-13 21:20:47 +0000266
267This could also be called "intellisense", but that is a trademark. It is a
268smart kind of completion. The text in front of the cursor is inspected to
Bram Moolenaar8b6144b2006-02-08 09:20:24 +0000269figure out what could be following. This may suggest struct and class
270members, system functions, etc.
Bram Moolenaarf75a9632005-09-13 21:20:47 +0000271
272Use CTRL-X CTRL-O in Insert mode to start the completion. |i_CTRL-X_CTRL-O|
273
274The 'omnifunc' option is set by filetype plugins to define the function that
275figures out the completion.
276
Bram Moolenaar07d4d732005-10-03 22:04:08 +0000277Currently supported languages:
Bram Moolenaar8b6144b2006-02-08 09:20:24 +0000278 C |ft-c-omni|
279 (X)HTML with CSS |ft-html-omni|
280 JavaScript |ft-javascript-omni|
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000281 PHP |ft-php-omni|
Bram Moolenaar9e54a0e2006-04-14 20:42:25 +0000282 Python
Bram Moolenaarfc1421e2006-04-20 22:17:20 +0000283 Ruby |ft-ruby-omni|
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000284 SQL |ft-sql-omni|
Bram Moolenaar8b6144b2006-02-08 09:20:24 +0000285 XML |ft-xml-omni|
Bram Moolenaarc236c162008-07-13 17:41:49 +0000286 any language with syntax highlighting |ft-syntax-omni|
Bram Moolenaar07d4d732005-10-03 22:04:08 +0000287
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000288You can add your own omni completion scripts.
289
Bram Moolenaar07d4d732005-10-03 22:04:08 +0000290When the 'completeopt' option contains "menu" then matches for Insert mode
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000291completion are displayed in a (rather primitive) popup menu.
Bram Moolenaarf75a9632005-09-13 21:20:47 +0000292
293
Bram Moolenaar325b7a22004-07-05 15:58:32 +0000294MzScheme interface *new-MzScheme*
295------------------
296
297The MzScheme interpreter is supported. |MzScheme|
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000298
299The |:mzscheme| command can be used to execute MzScheme commands
300The |:mzfile| command can be used to execute an MzScheme script file
301
302This depends on Vim being compiled with the |+mzscheme| feature.
Bram Moolenaar325b7a22004-07-05 15:58:32 +0000303
Bram Moolenaar31c67ef2005-01-11 21:34:41 +0000304
Bram Moolenaar8299df92004-07-10 09:47:34 +0000305Printing multi-byte text *new-print-multi-byte*
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000306------------------------
Bram Moolenaar8299df92004-07-10 09:47:34 +0000307
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000308The |:hardcopy| command now supports printing multi-byte characters when using
309PostScript.
310
Bram Moolenaar8299df92004-07-10 09:47:34 +0000311The 'printmbcharset' and 'printmbfont' options are used for this.
312Also see |postscript-cjk-printing|. (Mike Williams)
313
Bram Moolenaar325b7a22004-07-05 15:58:32 +0000314
Bram Moolenaar17be7e62006-03-12 22:13:45 +0000315Tab pages *new-tab-pages*
316---------
317
Bram Moolenaarfcb7ab62010-07-20 11:16:17 +0200318A tab page is a page with one or more windows with a label (aka tab) at the top.
Bram Moolenaar17be7e62006-03-12 22:13:45 +0000319By clicking on the label you can quickly switch between the tab pages. And
320with the keyboard, using the |gt| (Goto Tab) command. This is a convenient
321way to work with many windows.
322
323To start Vim with each file argument in a separate tab page use the |-p|
324argument. The maximum number of pages can be set with 'tabpagemax'.
325
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000326The line with tab labels is either made with plain text and highlighting or
Bram Moolenaar17be7e62006-03-12 22:13:45 +0000327with a GUI mechanism. The GUI labels look better but are only available on a
Bram Moolenaar57657d82006-04-21 22:12:41 +0000328few systems. The line can be customized with 'tabline', 'guitablabel' and
329'guitabtooltip'. Whether it is displayed is set with 'showtabline'. Whether
330to use the GUI labels is set with the "e" flag in 'guioptions'.
Bram Moolenaar17be7e62006-03-12 22:13:45 +0000331
332The |:tab| command modifier can be used to have most commands that open a new
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000333window open a new tab page instead.
Bram Moolenaar17be7e62006-03-12 22:13:45 +0000334
Bram Moolenaar0ce29932006-03-13 22:18:45 +0000335The |--remote-tab| argument can be used to edit a file in a new tab page in an
336already running Vim server.
337
Bram Moolenaar910f66f2006-04-05 20:41:53 +0000338Variables starting with "t:" are local to a tab page.
339
Bram Moolenaar17be7e62006-03-12 22:13:45 +0000340More info here: |tabpage|
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000341Most of the GUI stuff was implemented by Yegappan Lakshmanan.
Bram Moolenaar17be7e62006-03-12 22:13:45 +0000342
343
Bram Moolenaar34e9e2f2006-03-14 23:07:19 +0000344Undo branches *new-undo-branches*
345-------------
346
347Previously there was only one line of undo-redo. If, after undoing a number
348of changes, a new change was made all the undone changes were lost. This
Bram Moolenaarea0cd362006-03-16 21:46:52 +0000349could lead to accidentally losing work.
Bram Moolenaar34e9e2f2006-03-14 23:07:19 +0000350
351Vim now makes an undo branch in this situation. Thus you can go back to the
352text after any change, even if they were undone. So long as you do not run
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000353into 'undolevels', when undo information is freed up to limit the memory used.
Bram Moolenaar34e9e2f2006-03-14 23:07:19 +0000354
355To be able to navigate the undo branches each change is numbered sequentially.
356The commands |g-| and |:earlier| go back in time, to older changes. The
Bram Moolenaarc9b4b052006-04-30 18:54:39 +0000357commands |g+| and |:later| go forward in time, to newer changes.
Bram Moolenaar34e9e2f2006-03-14 23:07:19 +0000358
359The changes are also timestamped. Use ":earlier 10m" to go to the text as it
360was about ten minutes earlier.
361
Bram Moolenaarea0cd362006-03-16 21:46:52 +0000362The |:undolist| command can be used to get an idea of which undo branches
363exist. The |:undo| command now takes an argument to directly jump to a
Bram Moolenaarca003e12006-03-17 23:19:38 +0000364specific position in this list. The |changenr()| function can be used to
365obtain the change number.
Bram Moolenaarea0cd362006-03-16 21:46:52 +0000366
Bram Moolenaar34e9e2f2006-03-14 23:07:19 +0000367There is no graphical display of the tree with changes, navigation can be
368quite confusing.
369
370
Bram Moolenaar362e1a32006-03-06 23:29:24 +0000371Extended Unicode support *new-more-unicode*
372------------------------
373
374Previously only two combining characters were displayed. The limit is now
375raised to 6. This can be set with the 'maxcombine' option. The default is
376still 2.
377
378|ga| now shows all combining characters, not just the first two.
379
380Previously only 16 bit Unicode characters were supported for displaying. Now
381the full 32 bit character set can be used. Unless manually disabled at
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000382compile time to save a bit of memory.
Bram Moolenaar362e1a32006-03-06 23:29:24 +0000383
384For pattern matching it is now possible to search for individual composing
385characters. |patterns-composing|
386
Bram Moolenaarca003e12006-03-17 23:19:38 +0000387The |8g8| command searches for an illegal UTF-8 byte sequence.
388
Bram Moolenaar362e1a32006-03-06 23:29:24 +0000389
Bram Moolenaar17be7e62006-03-12 22:13:45 +0000390More highlighting *new-more-highlighting*
391-----------------
392
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000393Highlighting matching parens:
Bram Moolenaar5e3cb7e2006-02-27 23:58:35 +0000394
395When moving the cursor through the text and it is on a paren, then the
396matching paren can be highlighted. This uses the new |CursorMoved|
397autocommand event.
398
Bram Moolenaarc1e37902006-04-18 21:55:01 +0000399This means some commands are executed every time you move the cursor. If this
400slows you down too much switch it off with: >
401 :NoMatchParen
402
Bram Moolenaar261bfea2006-03-01 22:12:31 +0000403See |matchparen| for more information.
404
405The plugin uses the |:match| command. It now supports three match patterns.
406The plugin uses the third one. The first one is for the user and the second
407one can be used by another plugin.
Bram Moolenaar5e3cb7e2006-02-27 23:58:35 +0000408
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000409Highlighting the cursor line and column:
Bram Moolenaar17be7e62006-03-12 22:13:45 +0000410
411The 'cursorline' and 'cursorcolumn' options have been added. These highlight
412the screen line and screen column of the cursor. This makes the cursor
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000413position easier to spot. 'cursorcolumn' is also useful to align text. This
414may make screen updating quite slow. The CursorColumn and CursorLine
415highlight groups allow changing the colors used. |hl-CursorColumn|
416|hl-CursorLine|
417
418The number of possible different highlight attributes was raised from about
419220 to over 30000. This allows for the attributes of spelling to be combined
420with syntax highlighting attributes. This is also used for syntax
421highlighting, marking the Visual area, CursorColumn, etc.
Bram Moolenaar17be7e62006-03-12 22:13:45 +0000422
Bram Moolenaar5e3cb7e2006-02-27 23:58:35 +0000423
Bram Moolenaar293ee4d2004-12-09 21:34:53 +0000424Translated manual pages *new-manpage-trans*
425-----------------------
426
427The manual page of Vim and associated programs is now also available in
Bram Moolenaar4ad237d2005-03-11 22:49:40 +0000428several other languages.
429
Bram Moolenaar13fcaaf2005-04-15 21:13:42 +0000430French - translated by David Blanchet
Bram Moolenaar4ad237d2005-03-11 22:49:40 +0000431Italian - translated by Antonio Colombo
432Russian - translated by Vassily Ragosin
Bram Moolenaar899dddf2006-03-26 21:06:50 +0000433Polish - translated by Mikolaj Machowski
Bram Moolenaar293ee4d2004-12-09 21:34:53 +0000434
Bram Moolenaar13fcaaf2005-04-15 21:13:42 +0000435The Unix Makefile installs the Italian manual pages in .../man/it/man1/,
436.../man/it.ISO8859-1/man1/ and .../man/it.UTF-8/man1/. There appears to be no
437standard for what encoding goes in the "it" directory, the 8-bit encoded file
438is used there as a best guess.
439Other languages are installed in similar places.
Bram Moolenaar67fe1a12005-05-22 22:12:58 +0000440The translated pages are not automatically installed when Vim was configured
441with "--disable-nls", but "make install-languages install-tool-languages" will
442do it anyway.
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +0000443
Bram Moolenaar293ee4d2004-12-09 21:34:53 +0000444
Bram Moolenaar8fc061c2004-12-29 21:03:02 +0000445Internal grep *new-vimgrep*
446-------------
447
448The ":vimgrep" command can be used to search for a pattern in a list of files.
449This is like the ":grep" command, but no external program is used. Besides
450better portability, handling of different file encodings and using multi-line
451patterns, this also allows grepping in compressed and remote files.
452|:vimgrep|.
453
Bram Moolenaar05159a02005-02-26 23:04:13 +0000454If you want to use the search results in a script you can use the
Bram Moolenaar2641f772005-03-25 21:58:17 +0000455|getqflist()| function.
Bram Moolenaar05159a02005-02-26 23:04:13 +0000456
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000457To grep files in various directories the "**" pattern can be used. It expands
458into an arbitrary depth of directories. "**" can be used in all places where
459file names are expanded, thus also with |:next| and |:args|.
Bram Moolenaar231334e2005-07-25 20:46:57 +0000460
Bram Moolenaar8fc061c2004-12-29 21:03:02 +0000461
Bram Moolenaar87e25fd2005-07-27 21:13:01 +0000462Scroll back in messages *new-scroll-back*
463-----------------------
464
465When displaying messages, at the |more-prompt| and the |hit-enter-prompt|, The
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000466'k', 'u', 'g' and 'b' keys can be used to scroll back to previous messages.
467This is especially useful for commands such as ":syntax", ":autocommand" and
Bram Moolenaar87e25fd2005-07-27 21:13:01 +0000468":highlight". This is implemented in a generic way thus it works for all
469commands and highlighting is kept. Only works when the 'more' option is set.
470Previously it only partly worked for ":clist".
471
Bram Moolenaar661b1822005-07-28 22:36:45 +0000472The |g<| command can be used to see the last page of messages after you have
473hit <Enter> at the |hit-enter-prompt|. Then you can scroll further back.
474
Bram Moolenaar87e25fd2005-07-27 21:13:01 +0000475
Bram Moolenaarea0cd362006-03-16 21:46:52 +0000476Cursor past end of the line *new-onemore*
477---------------------------
478
479When the 'virtualedit' option contains "onemore" the cursor can move just past
480the end of the line. As if it's on top of the line break.
481
482This makes some commands more consistent. Previously the cursor was always
483past the end of the line if the line was empty. But it is far from Vi
484compatible. It may also break some plugins or Vim scripts. Use with care!
485
486The patch was provided by Mattias Flodin.
487
488
Bram Moolenaar4399ef42005-02-12 14:29:27 +0000489POSIX compatibility *new-posix*
490-------------------
491
492The POSIX test suite was used to verify POSIX compatibility. A number of
493problems have been fixed to make Vim more POSIX compatible. Some of them
494conflict with traditional Vi or expected behavior. The $VIM_POSIX environment
495variable can be set to get POSIX compatibility. See |posix|.
496
Bram Moolenaarc81e5e72007-05-05 18:24:42 +0000497Items that were fixed for both Vi and POSIX compatibility:
Bram Moolenaar4399ef42005-02-12 14:29:27 +0000498- repeating "R" with a count only overwrites text once; added the 'X' flag to
499 'cpoptions' |cpo-X|
500- a vertical movement command that moves to a non-existing line fails; added
501 the '-' flag to 'cpoptions' |cpo--|
502- when preserving a file and doing ":q!" the file can be recovered; added the
503 '&' flag to 'cpoptions' |cpo-&|
504- The 'window' option is partly implemented. It specifies how much CTRL-F and
505 CTRL-B scroll when there is one window. The "-w {number}" argument is now
506 accepted. "-w {scriptout}" only works when {scriptout} doesn't start with a
507 digit.
508- Allow "-c{command}" argument, no space between "-c" and {command}.
509- When writing a file with ":w!" don't reset 'readonly' when 'Z' is present in
510 'cpoptions'.
Bram Moolenaar5313dcb2005-02-22 08:56:13 +0000511- Allow 'l' and '#' flags for ":list", ":print" and ":number".
512- Added the '.' flag to 'cpoptions': ":cd" fails when the buffer is modified.
513- In Ex mode with an empty buffer ":read file" doesn't keep an empty line
514 above or below the new lines.
515- Remove a backslash before a NL for the ":global" command.
516- When ":append", ":insert" or ":change" is used with ":global", get the
517 inserted lines from the command. Can use backslash-NL to separate lines.
518- Can use ":global /pat/ visual" to execute Normal mode commands at each
519 matched line. Use "Q" to continue and go to the next line.
520- The |:open| command has been partially implemented. It stops Ex mode, but
521 redraws the whole screen, not just one line as open mode is supposed to do.
522- Support using a pipe to read the output from and write input to an external
523 command. Added the 'shelltemp' option and has("filterpipe").
524- In ex silent mode the ":set" command output is displayed.
525- The ":@@" and ":**" give an error message when no register was used before.
526- The search pattern "[]-`]" matches ']', '^', '_' and '`'.
527- Autoindent for ":insert" is using the line below the insert.
528- Autoindent for ":change" is using the first changed line.
529- Editing Ex command lines is not done in cooked mode, because CTRL-D and
530 CTRL-T cannot be handled then.
Bram Moolenaar45eeb132005-06-06 21:59:07 +0000531- In Ex mode, "1,3" prints three lines. "%" prints all lines.
532- In Ex mode "undo" would undo all changes since Ex mode was started.
Bram Moolenaar5313dcb2005-02-22 08:56:13 +0000533- Implemented the 'prompt' option.
Bram Moolenaar4399ef42005-02-12 14:29:27 +0000534
535
Bram Moolenaare2ac10d2005-03-07 23:26:06 +0000536Debugger support *new-debug-support*
537----------------
538
539The 'balloonexpr' option has been added. This is a generic way to implement
540balloon functionality. You can use it to show info for the word under the
541mouse pointer.
542
543
Bram Moolenaar0be6e642005-08-04 21:32:22 +0000544Remote file explorer *new-netrw-explore*
545--------------------
546
547The netrw plugin now also supports viewing a directory, when "scp://" is used.
548Deleting and renaming files is possible.
549
550To avoid duplicating a lot of code, the previous file explorer plugin has been
551integrated in the netrw plugin. This means browsing local and remote files
552works the same way.
553
554":browse edit" and ":browse split" use the netrw plugin when it's available
555and a GUI dialog is not possible.
556
557The netrw plugin is maintained by Charles Campbell.
558
559
Bram Moolenaar900b4d72005-12-12 22:05:50 +0000560Define an operator *new-define-operator*
561------------------
562
563Previously it was not possible to define your own operator; a command that is
564followed by a {motion}. Vim 7 introduces the 'operatorfunc' option and the
565|g@| operator. This makes it possible to define a mapping that works like an
566operator. The actual work is then done by a function, which is invoked
567through the |g@| operator.
568
569See |:map-operator| for the explanation and an example.
570
Bram Moolenaar9f2c6e12006-02-04 22:45:44 +0000571
Bram Moolenaarade00832006-03-10 21:46:58 +0000572Mapping to an expression *new-map-expression*
573------------------------
574
575The {rhs} argument of a mapping can be an expression. That means the
576resulting characters can depend on the context. Example: >
577 :inoremap <expr> . InsertDot()
578Here the dot will be mapped to whatever InsertDot() returns.
579
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000580This also works for abbreviations. See |:map-<expr>| for the details.
Bram Moolenaarade00832006-03-10 21:46:58 +0000581
582
Bram Moolenaarb3656ed2006-03-20 21:59:49 +0000583Visual and Select mode mappings *new-map-select*
584-------------------------------
585
586Previously Visual mode mappings applied both to Visual and Select mode. With
587a trick to have the mappings work in Select mode like they would in Visual
588mode.
589
590Commands have been added to define mappings for Visual and Select mode
591separately: |:xmap| and |:smap|. With the associated "noremap" and "unmap"
592commands.
593
594The same is done for menus: |:xmenu|, |:smenu|, etc.
595
596
Bram Moolenaar17c7c012006-01-26 22:25:15 +0000597Location list *new-location-list*
598-------------
599
600The support for a per-window quickfix list (location list) is added. The
601location list can be displayed in a location window (similar to the quickfix
Bram Moolenaar8ea91232006-04-28 22:41:43 +0000602window). You can open more than one location list window. A set of commands
Bram Moolenaar17c7c012006-01-26 22:25:15 +0000603similar to the quickfix commands are added to browse the location list.
Bram Moolenaar9f2c6e12006-02-04 22:45:44 +0000604(Yegappan Lakshmanan)
605
Bram Moolenaar900b4d72005-12-12 22:05:50 +0000606
Bram Moolenaar071d4272004-06-13 20:20:40 +0000607Various new items *new-items-7*
608-----------------
609
610Normal mode commands: ~
611
Bram Moolenaarcfbc5ee2004-07-02 15:38:35 +0000612a", a' and a` New text objects to select quoted strings. |a'|
Bram Moolenaarac6e65f2005-08-29 22:25:38 +0000613i", i' and i` (Taro Muraoka)
Bram Moolenaar071d4272004-06-13 20:20:40 +0000614
Bram Moolenaar05159a02005-02-26 23:04:13 +0000615CTRL-W <Enter> In the quickfix window: opens a new window to show the
616 location of the error under the cursor.
617
Bram Moolenaarff6f0612005-07-19 22:21:12 +0000618|at| and |it| text objects select a block of text between HTML or XML tags.
619
Bram Moolenaarbca84a12005-12-14 22:08:35 +0000620<A-LeftMouse> ('mousemodel' "popup" or "popup-setpos")
621<A-RightMouse> ('mousemodel' "extend")
622 Make a blockwise selection. |<A-LeftMouse>|
Bram Moolenaarff6f0612005-07-19 22:21:12 +0000623
Bram Moolenaard1f56e62006-02-22 21:25:37 +0000624gF Start editing the filename under the cursor and jump
625 to the line number following the file name.
626 (Yegappan Lakshmanan)
627
628CTRL-W F Start editing the filename under the cursor in a new
629 window and jump to the line number following the file
630 name. (Yegappan Lakshmanan)
631
Bram Moolenaar488c6512005-08-11 20:09:58 +0000632Insert mode commands: ~
633
634CTRL-\ CTRL-O Execute a Normal mode command. Like CTRL-O but
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000635 without moving the cursor. |i_CTRL-\_CTRL-O|
Bram Moolenaar488c6512005-08-11 20:09:58 +0000636
Bram Moolenaar071d4272004-06-13 20:20:40 +0000637Options: ~
638
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000639'balloonexpr' expression for text to show in evaluation balloon
640'completefunc' The name of the function used for user-specified
641 Insert mode completion. CTRL-X CTRL-U can be used in
642 Insert mode to do any kind of completion. (Taro
643 Muraoka)
644'completeopt' Enable popup menu and other settings for Insert mode
645 completion.
646'cursorcolumn' highlight column of the cursor
647'cursorline' highlight line of the cursor
Bram Moolenaar1d2ba7f2006-02-14 22:29:30 +0000648'formatexpr' expression for formatting text with |gq| and when text
649 goes over 'textwidth' in Insert mode.
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000650'formatlistpat' pattern to recognize a numbered list for formatting.
651 (idea by Hugo Haas)
652'fsync' Whether fsync() is called after writing a file.
653 (Ciaran McCreesh)
654'guitablabel' expression for text to display in GUI tab page label
655'guitabtooltip' expression for text to display in GUI tab page tooltip
656'macatsui' Mac: use ATSUI text display functions
657'maxcombine' maximum number of combining characters displayed
658'maxmempattern' maximum amount of memory to use for pattern matching
659'mkspellmem' parameters for |:mkspell| memory use
660'mzquantum' Time in msec to schedule MzScheme threads.
Bram Moolenaar64486672010-05-16 15:46:46 +0200661'numberwidth' Minimal width of the space used for the 'number' and
662 'relativenumber' option. (Emmanuel Renieris)
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000663'omnifunc' The name of the function used for omni completion.
664'operatorfunc' function to be called for |g@| operator
665'printmbcharset' CJK character set to be used for :hardcopy
666'printmbfont' font names to be used for CJK output of :hardcopy
667'pumheight' maximum number of items to show in the popup menu
668'quoteescape' Characters used to escape quotes inside a string.
669 Used for the a", a' and a` text objects. |a'|
670'shelltemp' whether to use a temp file or pipes for shell commands
671'showtabline' whether to show the tab pages line
Bram Moolenaar60c78922005-03-20 22:40:14 +0000672'spell' switch spell checking on/off
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000673'spellcapcheck' pattern to locate the end of a sentence
674'spellfile' file where good and wrong words are added
Bram Moolenaar60c78922005-03-20 22:40:14 +0000675'spelllang' languages to check spelling for
Bram Moolenaar42eeac32005-06-29 22:40:58 +0000676'spellsuggest' methods for spell suggestions
Bram Moolenaar3b56eb32005-07-11 22:40:32 +0000677'synmaxcol' maximum column to look for syntax items; avoids very
678 slow redrawing when there are very long lines
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000679'tabline' expression for text to display in the tab pages line
680'tabpagemax' maximum number of tab pages to open for |-p|
Bram Moolenaar54ee7752005-05-31 22:22:17 +0000681'verbosefile' Log messages in a file.
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000682'wildoptions' "tagfile" value enables listing the file name of
683 matching tags for CTRL-D command line completion.
684 (based on an idea from Yegappan Lakshmanan)
Bram Moolenaar97b2ad32006-03-18 21:40:56 +0000685'winfixwidth' window with fixed width, similar to 'winfixheight'
Bram Moolenaar86b68352004-12-27 21:59:20 +0000686
Bram Moolenaar071d4272004-06-13 20:20:40 +0000687
688Ex commands: ~
689
Bram Moolenaar843ee412004-06-30 16:16:41 +0000690Win32: The ":winpos" command now also works in the console. (Vipin Aravind)
691
Bram Moolenaar8299df92004-07-10 09:47:34 +0000692|:startreplace| Start Replace mode. (Charles Campbell)
Bram Moolenaarbca84a12005-12-14 22:08:35 +0000693|:startgreplace| Start Virtual Replace mode.
Bram Moolenaar325b7a22004-07-05 15:58:32 +0000694
Bram Moolenaar8299df92004-07-10 09:47:34 +0000695|:0file| Removes the name of the buffer. (Charles Campbell)
Bram Moolenaar325b7a22004-07-05 15:58:32 +0000696
Bram Moolenaar2df6dcc2004-07-12 15:53:54 +0000697|:diffoff| Switch off diff mode in the current window or in all
698 windows.
699
Bram Moolenaarc0197e22004-09-13 20:26:32 +0000700|:delmarks| Delete marks.
701
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +0000702|:exusage| Help for Ex commands (Nvi command).
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +0000703|:viusage| Help for Vi commands (Nvi command).
704
Bram Moolenaar67fe1a12005-05-22 22:12:58 +0000705|:sort| Sort lines in the buffer without depending on an
Bram Moolenaar4c3f5362006-04-11 21:38:50 +0000706 external command. (partly by Bryce Wagner)
Bram Moolenaar67fe1a12005-05-22 22:12:58 +0000707
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000708|:vimgrep| Internal grep command, search for a pattern in files.
709|:vimgrepadd| Like |:vimgrep| but don't make a new list.
710
Bram Moolenaar87e25fd2005-07-27 21:13:01 +0000711|:caddfile| Add error messages to an existing quickfix list
712 (Yegappan Lakshmanan).
Bram Moolenaardb552d602006-03-23 22:59:57 +0000713|:cbuffer| Read error lines from a buffer. (partly by Yegappan
714 Lakshmanan)
715|:cgetbuffer| Create a quickfix list from a buffer but don't jump to
716 the first error.
Bram Moolenaar9f2c6e12006-02-04 22:45:44 +0000717|:caddbuffer| Add errors from the current buffer to the quickfix
718 list.
Bram Moolenaardb552d602006-03-23 22:59:57 +0000719|:cexpr| Read error messages from a Vim expression (Yegappan
720 Lakshmanan).
721|:caddexpr| Add error messages from a Vim expression to an
722 existing quickfix list. (Yegappan Lakshmanan).
723|:cgetexpr| Create a quickfix list from a Vim expression, but
724 don't jump to the first error. (Yegappan Lakshmanan).
Bram Moolenaar4770d092006-01-12 23:22:24 +0000725
Bram Moolenaar8b6144b2006-02-08 09:20:24 +0000726|:lfile| Like |:cfile| but use the location list.
727|:lgetfile| Like |:cgetfile| but use the location list.
728|:laddfile| Like |:caddfile| but use the location list.
729|:lbuffer| Like |:cbuffer| but use the location list.
Bram Moolenaar76b92b22006-03-24 22:46:53 +0000730|:lgetbuffer| Like |:cgetbuffer| but use the location list.
Bram Moolenaar9f2c6e12006-02-04 22:45:44 +0000731|:laddbuffer| Like |:caddbuffer| but use the location list.
Bram Moolenaar8b6144b2006-02-08 09:20:24 +0000732|:lexpr| Like |:cexpr| but use the location list.
Bram Moolenaar76b92b22006-03-24 22:46:53 +0000733|:lgetexpr| Like |:cgetexpr| but use the location list.
Bram Moolenaar8b6144b2006-02-08 09:20:24 +0000734|:laddexpr| Like |:caddexpr| but use the location list.
735|:ll| Like |:cc| but use the location list.
736|:llist| Like |:clist| but use the location list.
737|:lnext| Like |:cnext| but use the location list.
Bram Moolenaarf52c7252006-02-10 23:23:57 +0000738|:lprevious| Like |:cprevious| but use the location list.
Bram Moolenaar8b6144b2006-02-08 09:20:24 +0000739|:lNext| Like |:cNext| but use the location list.
740|:lfirst| Like |:cfirst| but use the location list.
741|:lrewind| Like |:crewind| but use the location list.
742|:llast| Like |:clast| but use the location list.
743|:lnfile| Like |:cnfile| but use the location list.
744|:lpfile| Like |:cpfile| but use the location list.
745|:lNfile| Like |:cNfile| but use the location list.
746|:lolder| Like |:colder| but use the location list.
747|:lnewer| Like |:cnewer| but use the location list.
748|:lwindow| Like |:cwindow| but use the location list.
749|:lopen| Like |:copen| but use the location list.
750|:lclose| Like |:cclose| but use the location list.
Bram Moolenaarf52c7252006-02-10 23:23:57 +0000751|:lmake| Like |:make| but use the location list.
752|:lgrep| Like |:grep| but use the location list.
753|:lgrepadd| Like |:grepadd| but use the location list.
754|:lvimgrep| Like |:vimgrep| but use the location list.
755|:lvimgrepadd| Like |:vimgrepadd| but use the location list.
756|:lhelpgrep| Like |:helpgrep| but use the location list.
757|:lcscope| Like |:cscope| but use the location list.
758|:ltag| Jump to a tag and add matching tags to a location list.
Bram Moolenaar1ef15e32006-02-01 21:56:25 +0000759
Bram Moolenaare224ffa2006-03-01 00:01:28 +0000760|:undojoin| Join a change with the previous undo block.
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000761|:undolist| List the leafs of the undo tree.
Bram Moolenaare224ffa2006-03-01 00:01:28 +0000762
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000763|:earlier| Go back in time for changes in the text.
764|:later| Go forward in time for changes in the text.
765
766|:for| Loop over a |List|.
767|:endfor|
768
769|:lockvar| Lock a variable, prevents it from being changed.
770|:unlockvar| Unlock a locked variable.
771
772|:mkspell| Create a Vim spell file.
773|:spellgood| Add a word to the list of good words.
774|:spellwrong| Add a word to the list of bad words
775|:spelldump| Dump list of good words.
776|:spellinfo| Show information about the spell files used.
777|:spellrepall| Repeat a spelling correction for the whole buffer.
778|:spellundo| Remove a word from list of good and bad words.
779
780|:mzscheme| Execute MzScheme commands.
Bram Moolenaarc9b4b052006-04-30 18:54:39 +0000781|:mzfile| Execute an MzScheme script file.
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000782
783|:nbkey| Pass a key to NetBeans for processing.
784
785|:profile| Commands for Vim script profiling.
786|:profdel| Stop profiling for specified items.
787
788|:smap| Select mode mapping.
789|:smapclear|
790|:snoremap|
791|:sunmap|
792
793|:xmap| Visual mode mapping, not used for Select mode.
794|:xmapclear|
795|:xnoremap|
796|:xunmap|
797
798|:smenu| Select mode menu.
799|:snoremenu|
800|:sunmenu|
801
802|:xmenu| Visual mode menu, not used for Select mode.
803|:xnoremenu|
804|:xunmenu|
805
806|:tabclose| Close the current tab page.
807|:tabdo| Perform a command in every tab page.
808|:tabedit| Edit a file in a new tab page.
809|:tabnew| Open a new tab page.
810|:tabfind| Search for a file and open it in a new tab page.
811|:tabnext| Go to the next tab page.
812|:tabprevious| Go to the previous tab page.
813|:tabNext| Go to the previous tab page.
814|:tabfirst| Go to the first tab page.
815|:tabrewind| Go to the first tab page.
816|:tablast| Go to the last tab page.
817|:tabmove| Move the current tab page elsewhere.
818|:tabonly| Close all other tab pages.
819|:tabs| List the tab pages and the windows they contain.
Bram Moolenaarbca84a12005-12-14 22:08:35 +0000820
Bram Moolenaar63a121b2005-12-11 21:36:39 +0000821Ex command modifiers: ~
822
823|:keepalt| Do not change the alternate file.
824
825|:noautocmd| Do not trigger autocommand events.
826
827|:sandbox| Execute a command in the sandbox.
828
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000829|:tab| When opening a new window create a new tab page.
830
Bram Moolenaar67fe1a12005-05-22 22:12:58 +0000831
Bram Moolenaarb2c2efa2005-12-13 20:09:08 +0000832Ex command arguments: ~
833
834|++bad| Specify what happens with characters that can't be
835 converted and illegal bytes. (code example by Yasuhiro
836 Matsumoto)
837 Also, when a conversion error occurs or illegal bytes
838 are found include the line number in the error
839 message.
840
841
Bram Moolenaara5792f52005-11-23 21:25:05 +0000842New and extended functions: ~
Bram Moolenaar071d4272004-06-13 20:20:40 +0000843
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000844|add()| append an item to a List
845|append()| append List of lines to the buffer
Bram Moolenaare2f98b92006-03-29 21:18:24 +0000846|argv()| without an argument return the whole argument list
Bram Moolenaar87b774d2005-07-20 22:04:36 +0000847|browsedir()| dialog to select a directory
Bram Moolenaarbd404142006-03-25 22:05:04 +0000848|bufnr()| takes an extra argument: create buffer
Bram Moolenaarc9b4b052006-04-30 18:54:39 +0000849|byteidx()| index of a character (Ilya Sher)
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000850|call()| call a function with List as arguments
Bram Moolenaarbd404142006-03-25 22:05:04 +0000851|changenr()| number of current change
852|complete()| set matches for Insert mode completion
Bram Moolenaar572cb562005-08-05 21:35:02 +0000853|complete_add()| add match for 'completefunc'
854|complete_check()| check for key pressed, for 'completefunc'
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000855|copy()| make a shallow copy of a List or Dictionary
856|count()| count nr of times a value is in a List or Dictionary
Bram Moolenaar8fd89f02006-03-02 22:51:05 +0000857|cursor()| also accepts an offset for 'virtualedit', and
858 the first argument can be a list: [lnum, col, off]
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000859|deepcopy()| make a full copy of a List or Dictionary
Bram Moolenaarbd404142006-03-25 22:05:04 +0000860|diff_filler()| returns number of filler lines above line {lnum}.
861|diff_hlID()| returns the highlight ID for diff mode
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000862|empty()| check if List or Dictionary is empty
Bram Moolenaarbd404142006-03-25 22:05:04 +0000863|eval()| evaluate {string} and return the result
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000864|extend()| append one List to another or add items from one
865 Dictionary to another
Bram Moolenaarf9393ef2006-04-24 19:47:27 +0000866|feedkeys()| put characters in the typeahead buffer
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000867|filter()| remove selected items from a List or Dictionary
Bram Moolenaar87b774d2005-07-20 22:04:36 +0000868|finddir()| find a directory in 'path'
869|findfile()| find a file in 'path' (Johannes Zellner)
Bram Moolenaarc9b4b052006-04-30 18:54:39 +0000870|foldtextresult()| the text displayed for a closed fold at line "lnum"
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000871|function()| make a Funcref out of a function name
Bram Moolenaarbd404142006-03-25 22:05:04 +0000872|garbagecollect()| cleanup unused |Lists| and |Dictionaries| with circular
873 references
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000874|get()| get an item from a List or Dictionary
Bram Moolenaar342337a2005-07-21 21:11:17 +0000875|getbufline()| get a list of lines from a specified buffer
Bram Moolenaar87b774d2005-07-20 22:04:36 +0000876 (Yegappan Lakshmanan)
Bram Moolenaarbfd8fc02005-09-20 23:22:24 +0000877|getcmdtype()| return the current command-line type
878 (Yegappan Lakshmanan)
Bram Moolenaarc9b4b052006-04-30 18:54:39 +0000879|getfontname()| get actual font name being used
Bram Moolenaar87b774d2005-07-20 22:04:36 +0000880|getfperm()| get file permission string (Nikolai Weibull)
881|getftype()| get type of file (Nikolai Weibull)
882|getline()| with second argument: get List with buffer lines
Bram Moolenaarbd404142006-03-25 22:05:04 +0000883|getloclist()| list of location list items (Yegappan Lakshmanan)
Bram Moolenaar8fd89f02006-03-02 22:51:05 +0000884|getpos()| return a list with the position of cursor, mark, etc.
Bram Moolenaarbd404142006-03-25 22:05:04 +0000885|getqflist()| list of quickfix errors (Yegappan Lakshmanan)
886|getreg()| get contents of a register
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000887|gettabwinvar()| get variable from window in specified tab page.
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000888|has_key()| check whether a key appears in a Dictionary
Bram Moolenaarc81e5e72007-05-05 18:24:42 +0000889|haslocaldir()| check if current window used |:lcd|
Bram Moolenaarbd404142006-03-25 22:05:04 +0000890|hasmapto()| check for a mapping to a string
Bram Moolenaarbd404142006-03-25 22:05:04 +0000891|index()| index of item in List
892|inputlist()| prompt the user to make a selection from a list
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000893|insert()| insert an item somewhere in a List
Bram Moolenaarbd404142006-03-25 22:05:04 +0000894|islocked()| check if a variable is locked
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000895|items()| get List of Dictionary key-value pairs
896|join()| join List items into a String
897|keys()| get List of Dictionary keys
898|len()| number of items in a List or Dictionary
899|map()| change each List or Dictionary item
Bram Moolenaarbd404142006-03-25 22:05:04 +0000900|maparg()| extra argument: use abbreviation
901|mapcheck()| extra argument: use abbreviation
902|match()| extra argument: count
Bram Moolenaar910f66f2006-04-05 20:41:53 +0000903|matcharg()| return arguments of |:match| command
Bram Moolenaarbd404142006-03-25 22:05:04 +0000904|matchend()| extra argument: count
Bram Moolenaar2a8d1f82005-02-05 21:43:56 +0000905|matchlist()| list with match and submatches of a pattern in a string
Bram Moolenaarbd404142006-03-25 22:05:04 +0000906|matchstr()| extra argument: count
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000907|max()| maximum value in a List or Dictionary
908|min()| minimum value in a List or Dictionary
Bram Moolenaar5313dcb2005-02-22 08:56:13 +0000909|mkdir()| create a directory
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000910|pathshorten()| reduce directory names to a single character
Bram Moolenaar4be06f92005-07-29 22:36:03 +0000911|printf()| format text
Bram Moolenaarbd404142006-03-25 22:05:04 +0000912|pumvisible()| check whether the popup menu is displayed
913|range()| generate a List with numbers
Bram Moolenaar2a8d1f82005-02-05 21:43:56 +0000914|readfile()| read a file into a list of lines
Bram Moolenaare580b0c2006-03-21 21:33:03 +0000915|reltime()| get time value, possibly relative
916|reltimestr()| turn a time value into a string
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000917|remove()| remove one or more items from a List or Dictionary
Bram Moolenaarc9b4b052006-04-30 18:54:39 +0000918|repeat()| repeat "expr" "count" times (Christophe Poucet)
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000919|reverse()| reverse the order of a List
Bram Moolenaarbd404142006-03-25 22:05:04 +0000920|search()| extra argument:
Bram Moolenaarf75a9632005-09-13 21:20:47 +0000921|searchdecl()| search for declaration of variable
Bram Moolenaarbd404142006-03-25 22:05:04 +0000922|searchpair()| extra argument: line to stop searching
Bram Moolenaar1d2ba7f2006-02-14 22:29:30 +0000923|searchpairpos()| return a List with the position of the match
Bram Moolenaarc9b4b052006-04-30 18:54:39 +0000924|searchpos()| return a List with the position of the match
Bram Moolenaar17c7c012006-01-26 22:25:15 +0000925|setloclist()| modify a location list (Yegappan Lakshmanan)
Bram Moolenaarbd404142006-03-25 22:05:04 +0000926|setpos()| set cursor or mark to a position
Bram Moolenaar17c7c012006-01-26 22:25:15 +0000927|setqflist()| modify a quickfix list (Yegappan Lakshmanan)
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000928|settabwinvar()| set variable in window of specified tab page
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000929|sort()| sort a List
Bram Moolenaar42eeac32005-06-29 22:40:58 +0000930|soundfold()| get the sound-a-like equivalent of a word
Bram Moolenaar42eeac32005-06-29 22:40:58 +0000931|spellbadword()| get a badly spelled word
932|spellsuggest()| get suggestions for correct spelling
Bram Moolenaarbd404142006-03-25 22:05:04 +0000933|split()| split a String into a List
Bram Moolenaar97b2ad32006-03-18 21:40:56 +0000934|str2nr()| convert a string to a number, base 8, 10 or 16
Bram Moolenaarbd404142006-03-25 22:05:04 +0000935|stridx()| extra argument: start position
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000936|strridx()| extra argument: start position
Bram Moolenaar87b774d2005-07-20 22:04:36 +0000937|string()| string representation of a List or Dictionary
Bram Moolenaarbd404142006-03-25 22:05:04 +0000938|system()| extra argument: filters {input} through a shell command
939|tabpagebuflist()| List of buffers in a tab page
940|tabpagenr()| number of current or last tab page
941|tabpagewinnr()| window number in a tab page
942|tagfiles()| List with tags file names
Bram Moolenaar87b774d2005-07-20 22:04:36 +0000943|taglist()| get list of matching tags (Yegappan Lakshmanan)
944|tr()| translate characters (Ron Aaron)
Bram Moolenaarbac234e2005-01-17 22:21:07 +0000945|values()| get List of Dictionary values
Bram Moolenaarbd404142006-03-25 22:05:04 +0000946|winnr()| takes an argument: what window to use
Bram Moolenaar768b8c42006-03-04 21:58:33 +0000947|winrestview()| restore the view of the current window
948|winsaveview()| save the view of the current window
Bram Moolenaar2a8d1f82005-02-05 21:43:56 +0000949|writefile()| write a list of lines into a file
Bram Moolenaar8299df92004-07-10 09:47:34 +0000950
Bram Moolenaarbee0c5b2005-02-07 22:03:36 +0000951User defined functions can now be loaded automatically from the "autoload"
952directory in 'runtimepath'. See |autoload-functions|.
953
Bram Moolenaar071d4272004-06-13 20:20:40 +0000954
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000955New Vim variables: ~
956
957|v:insertmode| used for |InsertEnter| and |InsertChange| autocommands
958|v:val| item value in a |map()| or |filter()| function
959|v:key| item key in a |map()| or |filter()| function
960|v:profiling| non-zero after a ":profile start" command
Bram Moolenaarc9b4b052006-04-30 18:54:39 +0000961|v:fcs_reason| the reason why |FileChangedShell| was triggered
962|v:fcs_choice| what should happen after |FileChangedShell|
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000963|v:beval_bufnr| buffer number for 'balloonexpr'
964|v:beval_winnr| window number for 'balloonexpr'
965|v:beval_lnum| line number for 'balloonexpr'
966|v:beval_col| column number for 'balloonexpr'
967|v:beval_text| text under the mouse pointer for 'balloonexpr'
968|v:scrollstart| what caused the screen to be scrolled up
969|v:swapname| name of the swap file for the |SwapExists| event
Bram Moolenaarc81e5e72007-05-05 18:24:42 +0000970|v:swapchoice| what to do for an existing swap file
Bram Moolenaarc93b83a2006-04-29 22:02:36 +0000971|v:swapcommand| command to be executed after handling |SwapExists|
972|v:char| argument for evaluating 'formatexpr'
973
974
Bram Moolenaar071d4272004-06-13 20:20:40 +0000975New autocommand events: ~
976
Bram Moolenaar8299df92004-07-10 09:47:34 +0000977|ColorScheme| after loading a color scheme
Bram Moolenaar1f35bf92006-03-07 22:38:47 +0000978
Bram Moolenaar3d0a6032006-02-09 23:54:54 +0000979|CursorHoldI| the user doesn't press a key for a while in Insert mode
980|CursorMoved| the cursor was moved in Normal mode
981|CursorMovedI| the cursor was moved in Insert mode
982
Bram Moolenaarbd404142006-03-25 22:05:04 +0000983|FileChangedShellPost| after handling a file changed outside of Vim
984
985|InsertEnter| starting Insert or Replace mode
986|InsertChange| going from Insert to Replace mode or back
987|InsertLeave| leaving Insert or Replace mode
988
989|MenuPopup| just before showing popup menu
990
991|QuickFixCmdPre| before :make, :grep et al. (Ciaran McCreesh)
992|QuickFixCmdPost| after :make, :grep et al. (Ciaran McCreesh)
993
994|SessionLoadPost| after loading a session file. (Yegappan Lakshmanan)
995
996|ShellCmdPost| after executing a shell command
997|ShellFilterPost| after filtering with a shell command
998
999|SourcePre| before sourcing a Vim script
1000
1001|SpellFileMissing| when a spell file can't be found
1002
1003|SwapExists| found existing swap file when editing a file
1004
1005|TabEnter| just after entering a tab page
1006|TabLeave| just before leaving a tab page
1007
1008|VimResized| after the Vim window size changed (Yakov Lerner)
1009
Bram Moolenaarcfbc5ee2004-07-02 15:38:35 +00001010
Bram Moolenaar96351572006-05-05 21:16:59 +00001011New highlight groups: ~
1012
1013Pmenu Popup menu: normal item |hl-Pmenu|
1014PmenuSel Popup menu: selected item |hl-PmenuSel|
1015PmenuThumb Popup menu: scrollbar |hl-PmenuThumb|
1016PmenuSbar Popup menu: Thumb of the scrollbar |hl-PmenuSbar|
1017
1018TabLine tab pages line, inactive label |hl-TabLine|
1019TabLineSel tab pages line, selected label |hl-TabLineSel|
1020TabLineFill tab pages line, filler |hl-TabLineFill|
1021
1022SpellBad badly spelled word |hl-SpellBad|
1023SpellCap word with wrong caps |hl-SpellCap|
1024SpellRare rare word |hl-SpellRare|
1025SpellLocal word only exists in other region |hl-SpellLocal|
1026
1027CursorColumn 'cursorcolumn' |hl-CursorColumn|
1028CursorLine 'cursorline' |hl-CursorLine|
1029
1030MatchParen matching parens |pi_paren.txt| |hl-MatchParen|
1031
1032
Bram Moolenaarc0197e22004-09-13 20:26:32 +00001033New items in search patterns: ~
1034|/\%d| \%d123 search for character with decimal number
Bram Moolenaar49325942007-05-10 19:19:59 +00001035|/\]| [\d123] idem, in a collection
Bram Moolenaarc0197e22004-09-13 20:26:32 +00001036|/\%o| \%o103 search for character with octal number
Bram Moolenaar49325942007-05-10 19:19:59 +00001037|/\]| [\o1o3] idem, in a collection
Bram Moolenaarc0197e22004-09-13 20:26:32 +00001038|/\%x| \%x1a search for character with 2 pos. hex number
Bram Moolenaar49325942007-05-10 19:19:59 +00001039|/\]| [\x1a] idem, in a collection
Bram Moolenaarc0197e22004-09-13 20:26:32 +00001040|/\%u| \%u12ab search for character with 4 pos. hex number
Bram Moolenaar49325942007-05-10 19:19:59 +00001041|/\]| [\u12ab] idem, in a collection
Bram Moolenaarc0197e22004-09-13 20:26:32 +00001042|/\%U| \%U1234abcd search for character with 8 pos. hex number
Bram Moolenaar49325942007-05-10 19:19:59 +00001043|/\]| [\U1234abcd] idem, in a collection
Bram Moolenaarc0197e22004-09-13 20:26:32 +00001044 (The above partly by Ciaran McCreesh)
Bram Moolenaar33aec762006-01-22 23:30:12 +00001045
Bram Moolenaar13fcaaf2005-04-15 21:13:42 +00001046|/[[=| [[=a=]] an equivalence class (only for latin1 characters)
1047|/[[.| [[.a.]] a collation element (only works with single char)
Bram Moolenaar5313dcb2005-02-22 08:56:13 +00001048
Bram Moolenaar33aec762006-01-22 23:30:12 +00001049|/\%'m| \%'m match at mark m
1050|/\%<'m| \%<'m match before mark m
1051|/\%>'m| \%>'m match after mark m
1052|/\%V| \%V match in Visual area
1053
Bram Moolenaar5313dcb2005-02-22 08:56:13 +00001054Nesting |/multi| items no longer is an error when an empty match is possible.
1055
1056It is now possible to use \{0}, it matches the preceding atom zero times. Not
1057useful, just for compatibility.
Bram Moolenaarc0197e22004-09-13 20:26:32 +00001058
1059
Bram Moolenaarcfbc5ee2004-07-02 15:38:35 +00001060New Syntax/Indent/FTplugin files: ~
1061
Bram Moolenaarb982ca52005-03-28 21:02:15 +00001062Moved all the indent settings from the filetype plugin to the indent file.
1063Implemented b:undo_indent to undo indent settings when setting 'filetype' to a
1064different value.
1065
Bram Moolenaarbd404142006-03-25 22:05:04 +00001066a2ps syntax and ftplugin file. (Nikolai Weibull)
1067ABAB/4 syntax file. (Marius van Wyk)
1068alsaconf ftplugin file. (Nikolai Weibull)
1069AppendMatchGroup ftplugin file. (Dave Silvia)
1070arch ftplugin file. (Nikolai Weibull)
1071asterisk and asteriskvm syntax file. (Tilghman Lesher)
1072BDF ftplugin file. (Nikolai Weibull)
1073BibTeX indent file. (Dorai Sitaram)
Bram Moolenaar437df8f2006-04-27 21:47:44 +00001074BibTeX Bibliography Style syntax file. (Tim Pope)
Bram Moolenaarbd404142006-03-25 22:05:04 +00001075BTM ftplugin file. (Bram Moolenaar)
1076calendar ftplugin file. (Nikolai Weibull)
1077Changelog indent file. (Nikolai Weibull)
Bram Moolenaar57657d82006-04-21 22:12:41 +00001078ChordPro syntax file. (Niels Bo Andersen)
Bram Moolenaarc1e37902006-04-18 21:55:01 +00001079Cmake indent and syntax file. (Andy Cedilnik)
Bram Moolenaarbd404142006-03-25 22:05:04 +00001080conf ftplugin file. (Nikolai Weibull)
1081context syntax and ftplugin file. (Nikolai Weibull)
1082CRM114 ftplugin file. (Nikolai Weibull)
1083cvs RC ftplugin file. (Nikolai Weibull)
1084D indent file. (Jason Mills)
Bram Moolenaard2cec5b2006-03-28 21:08:56 +00001085Debian Sources.list syntax file. (Matthijs Mohlmann)
Bram Moolenaarbd404142006-03-25 22:05:04 +00001086dictconf and dictdconf syntax, indent and ftplugin files. (Nikolai Weibull)
1087diff ftplugin file. (Bram Moolenaar)
1088dircolors ftplugin file. (Nikolai Weibull)
1089django and htmldjango syntax file. (Dave Hodder)
Bram Moolenaar8cacf352006-04-15 20:27:24 +00001090doxygen syntax file. (Michael Geddes)
Bram Moolenaarbd404142006-03-25 22:05:04 +00001091elinks ftplugin file. (Nikolai Weibull)
1092eterm ftplugin file. (Nikolai Weibull)
1093eviews syntax file. (Vaidotas Zemlys)
1094fetchmail RC ftplugin file. (Nikolai Weibull)
Bram Moolenaar437df8f2006-04-27 21:47:44 +00001095FlexWiki syntax and ftplugin file. (George Reilly)
Bram Moolenaarbd404142006-03-25 22:05:04 +00001096Generic indent file. (Dave Silvia)
1097gpg ftplugin file. (Nikolai Weibull)
1098gretl syntax file. (Vaidotas Zemlys)
1099groovy syntax file. (Alessio Pace)
1100group syntax and ftplugin file. (Nikolai Weibull)
1101grub ftplugin file. (Nikolai Weibull)
1102Haskell ftplugin file. (Nikolai Weibull)
1103help ftplugin file. (Nikolai Weibull)
1104indent ftplugin file. (Nikolai Weibull)
1105Javascript ftplugin file. (Bram Moolenaar)
Bram Moolenaar4c3f5362006-04-11 21:38:50 +00001106Kconfig ftplugin and syntax file. (Nikolai Weibull)
Bram Moolenaarbd404142006-03-25 22:05:04 +00001107ld syntax, indent and ftplugin file. (Nikolai Weibull)
1108lftp ftplugin file. (Nikolai Weibull)
1109libao config ftplugin file. (Nikolai Weibull)
1110limits syntax and ftplugin file. (Nikolai Weibull)
1111Lisp indent file. (Sergey Khorev)
1112loginaccess and logindefs syntax and ftplugin file. (Nikolai Weibull)
1113m4 ftplugin file. (Nikolai Weibull)
Bram Moolenaar899dddf2006-03-26 21:06:50 +00001114mailaliases syntax file. (Nikolai Weibull)
Bram Moolenaarbd404142006-03-25 22:05:04 +00001115mailcap ftplugin file. (Nikolai Weibull)
1116manconf syntax and ftplugin file. (Nikolai Weibull)
1117matlab ftplugin file. (Jake Wasserman)
Bram Moolenaar779b74b2006-04-10 14:55:34 +00001118Maxima syntax file. (Robert Dodier)
Bram Moolenaar2a3f7ee2006-02-23 21:34:44 +00001119MGL syntax file. (Gero Kuhlmann)
Bram Moolenaarbd404142006-03-25 22:05:04 +00001120modconf ftplugin file. (Nikolai Weibull)
1121mplayer config ftplugin file. (Nikolai Weibull)
Bram Moolenaar437df8f2006-04-27 21:47:44 +00001122Mrxvtrc syntax and ftplugin file. (Gautam Iyer)
Bram Moolenaarbd404142006-03-25 22:05:04 +00001123MuPAD source syntax, indent and ftplugin. (Dave Silvia)
1124mutt RC ftplugin file. (Nikolai Weibull)
1125nanorc syntax and ftplugin file. (Nikolai Weibull)
1126netrc ftplugin file. (Nikolai Weibull)
1127pamconf syntax and ftplugin file. (Nikolai Weibull)
1128Pascal indent file. (Neil Carter)
1129passwd syntax and ftplugin file. (Nikolai Weibull)
1130PHP compiler plugin. (Doug Kearns)
1131pinfo ftplugin file. (Nikolai Weibull)
Bram Moolenaard2cec5b2006-03-28 21:08:56 +00001132plaintex syntax and ftplugin files. (Nikolai Weibull, Benji Fisher)
Bram Moolenaarbd404142006-03-25 22:05:04 +00001133procmail ftplugin file. (Nikolai Weibull)
1134prolog ftplugin file. (Nikolai Weibull)
1135protocols syntax and ftplugin file. (Nikolai Weibull)
1136quake ftplugin file. (Nikolai Weibull)
1137racc syntax and ftplugin file. (Nikolai Weibull)
Bram Moolenaarbd404142006-03-25 22:05:04 +00001138readline ftplugin file. (Nikolai Weibull)
1139rhelp syntax file. (Johannes Ranke)
Bram Moolenaarc1e37902006-04-18 21:55:01 +00001140rnoweb syntax file. (Johannes Ranke)
Bram Moolenaarbd404142006-03-25 22:05:04 +00001141Relax NG compact ftplugin file. (Nikolai Weibull)
1142Scheme indent file. (Sergey Khorev)
1143screen ftplugin file. (Nikolai Weibull)
1144sensors syntax and ftplugin file. (Nikolai Weibull)
1145services syntax and ftplugin file. (Nikolai Weibull)
1146setserial syntax and ftplugin file. (Nikolai Weibull)
1147sieve syntax and ftplugin file. (Nikolai Weibull)
Bram Moolenaar61660ea2006-04-07 21:40:07 +00001148SiSU syntax file (Ralph Amissah)
Bram Moolenaarbd404142006-03-25 22:05:04 +00001149Sive syntax file. (Nikolai Weibull)
1150slp config, reg and spi syntax and ftplugin files. (Nikolai Weibull)
1151SML indent file. (Saikat Guha)
1152SQL anywhere syntax and indent file. (David Fishburn)
1153SQL indent file.
1154SQL-Informix syntax file. (Dean L Hill)
1155SQL: Handling of various variants. (David Fishburn)
1156sshconfig ftplugin file. (Nikolai Weibull)
Bram Moolenaar8cacf352006-04-15 20:27:24 +00001157Stata and SMCL syntax files. (Jeff Pitblado)
Bram Moolenaarbd404142006-03-25 22:05:04 +00001158sudoers ftplugin file. (Nikolai Weibull)
1159sysctl syntax and ftplugin file. (Nikolai Weibull)
1160terminfo ftplugin file. (Nikolai Weibull)
1161trustees syntax file. (Nima Talebi)
Bram Moolenaarc1e37902006-04-18 21:55:01 +00001162Vera syntax file. (David Eggum)
Bram Moolenaarbd404142006-03-25 22:05:04 +00001163udev config, permissions and rules syntax and ftplugin files. (Nikolai Weibull)
1164updatedb syntax and ftplugin file. (Nikolai Weibull)
1165VHDL indent file (Gerald Lai)
1166WSML syntax file. (Thomas Haselwanter)
1167Xdefaults ftplugin file. (Nikolai Weibull)
1168XFree86 config ftplugin file. (Nikolai Weibull)
1169xinetd syntax, indent and ftplugin file. (Nikolai Weibull)
1170xmodmap ftplugin file. (Nikolai Weibull)
1171Xquery syntax file. (Jean-Marc Vanel)
1172xsd (XML schema) indent file.
1173YAML ftplugin file. (Nikolai Weibull)
1174Zsh ftplugin file. (Nikolai Weibull)
1175
Bram Moolenaar261bfea2006-03-01 22:12:31 +00001176
Bram Moolenaar47136d72004-10-12 20:02:24 +00001177New Keymaps: ~
1178
1179Sinhala (Sri Lanka) (Harshula Jayasuriya)
Bram Moolenaar238a5642006-02-21 22:12:05 +00001180Tamil in TSCII encoding (Yegappan Lakshmanan)
Bram Moolenaarbd404142006-03-25 22:05:04 +00001181Greek in cp737 (Panagiotis Louridas)
1182Polish-slash (HS6_06)
1183Ukrainian-jcuken (Anatoli Sakhnik)
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00001184Kana (Edward L. Fox)
Bram Moolenaar238a5642006-02-21 22:12:05 +00001185
Bram Moolenaar47136d72004-10-12 20:02:24 +00001186
Bram Moolenaar15d0a8c2004-09-06 17:44:46 +00001187New message translations: ~
1188
Bram Moolenaar8c8de832008-06-24 22:58:06 +00001189The Ukrainian messages are now also available in cp1251.
Bram Moolenaar05159a02005-02-26 23:04:13 +00001190Vietnamese message translations and menu. (Phan Vinh Thinh)
1191
Bram Moolenaar071d4272004-06-13 20:20:40 +00001192
Bram Moolenaarf4b8e572004-06-24 15:53:16 +00001193Others: ~
1194
Bram Moolenaar910f66f2006-04-05 20:41:53 +00001195The |:read| command has the |++edit| argument. This means it will use the
1196detected 'fileformat', 'fileencoding' and other options for the buffer. This
1197also fixes the problem that editing a compressed file didn't set these
1198options.
1199
Bram Moolenaar1f35bf92006-03-07 22:38:47 +00001200The Netbeans interface was updated for Sun Studio 10. The protocol number
1201goes from 2.2 to 2.3. (Gordon Prieur)
1202
Bram Moolenaar1056d982006-03-09 22:37:52 +00001203Mac: When starting up Vim will load the $VIMRUNTIME/macmap.vim script to
Bram Moolenaar34e9e2f2006-03-14 23:07:19 +00001204define default command-key mappings. (mostly by Benji Fisher)
Bram Moolenaar1056d982006-03-09 22:37:52 +00001205
Bram Moolenaarf4b8e572004-06-24 15:53:16 +00001206Mac: Add the selection type to the clipboard, so that Block, line and
1207character selections can be used between two Vims. (Eckehard Berns)
1208Also fixes the problem that setting 'clipboard' to "unnamed" breaks using
1209"yyp".
Bram Moolenaar071d4272004-06-13 20:20:40 +00001210
Bram Moolenaara5792f52005-11-23 21:25:05 +00001211Mac: GUI font selector. (Peter Cucka)
Bram Moolenaar592e0a22004-07-03 16:05:59 +00001212
Bram Moolenaar5313dcb2005-02-22 08:56:13 +00001213Mac: support for multi-byte characters. (Da Woon Jung)
Bram Moolenaarf9393ef2006-04-24 19:47:27 +00001214This doesn't always work properly. If you see text drawing problems try
1215switching the 'macatsui' option off.
Bram Moolenaar5313dcb2005-02-22 08:56:13 +00001216
Bram Moolenaar900b4d72005-12-12 22:05:50 +00001217Mac: Support the xterm mouse in the non-GUI version.
Bram Moolenaar567e4de2004-12-31 21:01:02 +00001218
Bram Moolenaar46c9c732004-12-12 11:37:09 +00001219Mac: better integration with Xcode. Post a fake mouse-up event after the odoc
1220event and the drag receive handler to work around a stall after Vim loads a
1221file. Fixed an off-by-one line number error. (Da Woon Jung)
1222
Bram Moolenaard2cec5b2006-03-28 21:08:56 +00001223Mac: When started from Finder change directory to the file being edited or the
1224user home directory.
1225
Bram Moolenaar293ee4d2004-12-09 21:34:53 +00001226Added the t_SI and t_EI escape sequences for starting and ending Insert mode.
Bram Moolenaarc93b83a2006-04-29 22:02:36 +00001227To be used to set the cursor shape to a bar or a block. No default values,
1228they are not supported by termcap/terminfo.
1229
Bram Moolenaar900b4d72005-12-12 22:05:50 +00001230GUI font selector for Motif. (Marcin Dalecki)
1231
1232Nicer toolbar buttons for Motif. (Marcin Dalecki)
1233
1234Mnemonics for the Motif find/replace dialog. (Marcin Dalecki)
1235
Bram Moolenaarc93b83a2006-04-29 22:02:36 +00001236Included a few improvements for Motif from Marcin Dalecki. Draw label
1237contents ourselves to make them handle fonts in a way configurable by Vim and
1238a bit less dependent on the X11 font management.
Bram Moolenaar293ee4d2004-12-09 21:34:53 +00001239
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001240Autocommands can be defined local to a buffer. This means they will also work
1241when the buffer does not have a name or no specific name. See
1242|autocmd-buflocal|. (Yakov Lerner)
1243
Bram Moolenaar19a09a12005-03-04 23:39:37 +00001244For xterm most combinations of modifiers with function keys are recognized.
1245|xterm-modifier-keys|
1246
Bram Moolenaarae5bce12005-08-15 21:41:48 +00001247When 'verbose' is set the output of ":highlight" will show where a highlight
1248item was last set.
Bram Moolenaare344bea2005-09-01 20:46:49 +00001249When 'verbose' is set the output of the ":map", ":abbreviate", ":command",
1250":function" and ":autocmd" commands will show where it was last defined.
1251(Yegappan Lakshmanan)
Bram Moolenaarae5bce12005-08-15 21:41:48 +00001252
Bram Moolenaardd2436f2005-09-05 22:14:46 +00001253":function /pattern" lists functions matching the pattern.
1254
Bram Moolenaarf75a9632005-09-13 21:20:47 +00001255"1gd" can be used like "gd" but ignores matches in a {} block that ends before
1256the cursor position. Likewise for "1gD" and "gD".
1257
Bram Moolenaar4463f292005-09-25 22:20:24 +00001258'scrolljump' can be set to a negative number to scroll a percentage of the
1259window height.
1260
Bram Moolenaar06b5d512010-05-22 15:37:44 +02001261The |v:scrollstart| variable has been added to help find the location in
Bram Moolenaar07d4d732005-10-03 22:04:08 +00001262your script that causes the hit-enter prompt.
1263
Bram Moolenaar63a121b2005-12-11 21:36:39 +00001264To make it possible to handle the situation that a file is being edited that
1265is already being edited by another Vim instance, the |SwapExists| event has
1266been added. The |v:swapname|, |v:swapchoice| and |v:swapcommand| variables
1267can be used, for example to use the |client-server| functionality to bring the
1268other Vim to the foreground.
Bram Moolenaar146522e2005-12-16 21:55:46 +00001269When starting Vim with a "-t tag" argument, there is an existing swapfile and
1270the user selects "quit" or "abort" then exit Vim.
Bram Moolenaar63a121b2005-12-11 21:36:39 +00001271
Bram Moolenaareddf53b2006-02-27 00:11:10 +00001272Undo now also restores the '< and '> marks. "gv" selects the same area as
1273before the change and undo.
1274
Bram Moolenaarea0cd362006-03-16 21:46:52 +00001275When editing a search pattern for a "/" or "?" command and 'incsearch' is set
1276CTRL-L can be used to add a character from the current match. CTRL-R CTRL-W
1277will add a word, but exclude the part of the word that was already typed.
1278
Bram Moolenaar97b2ad32006-03-18 21:40:56 +00001279Ruby interface: add line number methods. (Ryan Paul)
1280
Bram Moolenaar910f66f2006-04-05 20:41:53 +00001281The $MYVIMRC environment variable is set to the first found vimrc file.
1282The $MYGVIMRC environment variable is set to the first found gvimrc file.
1283
Bram Moolenaar071d4272004-06-13 20:20:40 +00001284==============================================================================
1285IMPROVEMENTS *improvements-7*
1286
Bram Moolenaarf4b8e572004-06-24 15:53:16 +00001287":helpgrep" accepts a language specifier after the pattern: "pat@it".
1288
Bram Moolenaarc93b83a2006-04-29 22:02:36 +00001289Moved the help for printing to a separate help file. It's quite a lot now.
Bram Moolenaar8299df92004-07-10 09:47:34 +00001290
Bram Moolenaar1f35bf92006-03-07 22:38:47 +00001291When doing completion for ":!cmd", ":r !cmd" or ":w !cmd" executable files are
Bram Moolenaar551dbcc2006-04-25 22:13:59 +00001292found in $PATH instead of looking for ordinary files in the current directory.
Bram Moolenaar1f35bf92006-03-07 22:38:47 +00001293
Bram Moolenaara5792f52005-11-23 21:25:05 +00001294When ":silent" is used and a backwards range is given for an Ex command the
1295range is swapped automatically instead of asking if that is OK.
1296
Bram Moolenaar8bf59b92005-03-06 23:40:56 +00001297The pattern matching code was changed from a recursive function to an
1298iterative mechanism. This avoids out-of-stack errors. State is stored in
1299allocated memory, running out of memory can always be detected. Allows
1300matching more complex things, but Vim may seem to hang while doing that.
1301
Bram Moolenaarb71eaae2006-01-20 23:10:18 +00001302Previously some options were always evaluated in the |sandbox|. Now that only
1303happens when the option was set from a modeline or in secure mode. Applies to
1304'balloonexpr', 'foldexpr', 'foldtext' and 'includeexpr'. (Sumner Hayes)
1305
1306Some commands and expressions could have nasty side effects, such as using
1307CTRL-R = while editing a search pattern and the expression invokes a function
1308that jumps to another window. The |textlock| has been added to prevent this
1309from happening.
1310
Bram Moolenaarf4b8e572004-06-24 15:53:16 +00001311":breakadd here" and ":breakdel here" can be used to set or delete a
1312breakpoint at the cursor.
1313
Bram Moolenaar997fb4b2006-02-17 21:53:23 +00001314It is now possible to define a function with: >
1315 :exe "func Test()\n ...\n endfunc"
1316
Bram Moolenaarc93b83a2006-04-29 22:02:36 +00001317The tutor was updated to make it simpler to use and text was added to explain
1318a few more important commands. Used ideas from Gabriel Zachmann.
Bram Moolenaar071d4272004-06-13 20:20:40 +00001319
Bram Moolenaarcfbc5ee2004-07-02 15:38:35 +00001320Unix: When libcall() fails obtain an error message with dlerror() and display
1321it. (Johannes Zellner)
1322
Bram Moolenaarcc016f52005-12-10 20:23:46 +00001323Mac and Cygwin: When editing an existing file make the file name the same case
1324of the edited file. Thus when typing ":e os_UNIX.c" the file name becomes
1325"os_unix.c".
1326
Bram Moolenaar592e0a22004-07-03 16:05:59 +00001327Added "nbsp" in 'listchars'. (David Blanchet)
1328
Bram Moolenaar21cf8232004-07-16 20:18:37 +00001329Added the "acwrite" value for the 'buftype' option. This is for a buffer that
Bram Moolenaara5792f52005-11-23 21:25:05 +00001330does not have a name that refers to a file and is written with BufWriteCmd
Bram Moolenaar21cf8232004-07-16 20:18:37 +00001331autocommands.
1332
Bram Moolenaar325b7a22004-07-05 15:58:32 +00001333For lisp indenting and matching parenthesis: (Sergey Khorev)
1334- square brackets are recognized properly
1335- #\(, #\), #\[ and #\] are recognized as character literals
1336- Lisp line comments (delimited by semicolon) are recognized
1337
Bram Moolenaar89cb5e02004-07-19 20:55:54 +00001338Added the "count" argument to match(), matchend() and matchstr(). (Ilya Sher)
1339
Bram Moolenaarc93b83a2006-04-29 22:02:36 +00001340winnr() takes an optional "$" or "#" argument. (Nikolai Weibull, Yegappan
Bram Moolenaar5eb86f92004-07-26 12:53:41 +00001341Lakshmanan)
1342
Bram Moolenaar768b8c42006-03-04 21:58:33 +00001343Added 's' flag to search(): set ' mark if cursor moved. (Yegappan Lakshmanan)
Bram Moolenaar5eb86f92004-07-26 12:53:41 +00001344Added 'n' flag to search(): don't move the cursor. (Nikolai Weibull)
Bram Moolenaar768b8c42006-03-04 21:58:33 +00001345Added 'c' flag to search(): accept match at the cursor.
1346Added 'e' flag to search(): move to end of the match. (Benji Fisher)
1347Added 'p' flag to search(): return number of sub-pattern. (Benji Fisher)
1348These also apply to searchpos(), searchpair() and searchpairpos().
Bram Moolenaarc93b83a2006-04-29 22:02:36 +00001349
Bram Moolenaar768b8c42006-03-04 21:58:33 +00001350The search() and searchpair() functions have an extra argument to specify
1351where to stop searching. Speeds up searches that should not continue too far.
Bram Moolenaar5eb86f92004-07-26 12:53:41 +00001352
Bram Moolenaard4755bb2004-09-02 19:12:26 +00001353When uncompressing fails in the gzip plugin, give an error message but don't
1354delete the raw text. Helps if the file has a .gz extension but is not
1355actually compressed. (Andrew Pimlott)
1356
1357When C, C++ or IDL syntax is used, may additionally load doxygen syntax.
Bram Moolenaard4755bb2004-09-02 19:12:26 +00001358(Michael Geddes)
1359
Bram Moolenaar97b2ad32006-03-18 21:40:56 +00001360Support setting 'filetype' and 'syntax' to "aaa.bbb" for "aaa" plus "bbb"
1361filetype or syntax.
1362
Bram Moolenaard4755bb2004-09-02 19:12:26 +00001363The ":registers" command now displays multi-byte characters properly.
1364
1365VMS: In the usage message mention that a slash can be used to make a flag
1366upper case. Add color support to the builtin vt320 terminal codes.
1367(Zoltan Arpadffy)
1368
Bram Moolenaar15d0a8c2004-09-06 17:44:46 +00001369For the '%' item in 'viminfo', allow a number to set a maximum for the number
1370of buffers.
1371
Bram Moolenaarc93b83a2006-04-29 22:02:36 +00001372For recognizing the file type: When a file looks like a shell script, check
1373for an "exec" command that starts the tcl interpreter. (suggested by Alexios
1374Zavras)
Bram Moolenaar3fdfa4a2004-10-07 21:02:47 +00001375
1376Support conversion between utf-8 and latin9 (iso-8859-15) internally, so that
1377digraphs still work when iconv is not available.
1378
Bram Moolenaar293ee4d2004-12-09 21:34:53 +00001379When a session file is loaded while editing an unnamed, empty buffer that
1380buffer is wiped out. Avoids that there is an unused buffer in the buffer
1381list.
1382
1383Win32: When libintl.dll supports bind_textdomain_codeset(), use it.
1384(NAKADAIRA Yukihiro)
1385
Bram Moolenaare224ffa2006-03-01 00:01:28 +00001386Win32: Vim was not aware of hard links on NTFS file systems. These are
1387detected now for when 'backupcopy' is "auto". Also fixed a bogus "file has
1388been changed since reading it" error for links.
1389
Bram Moolenaar293ee4d2004-12-09 21:34:53 +00001390When foldtext() finds no text after removing the comment leader, use the
1391second line of the fold. Helps for C-style /* */ comments where the first
1392line is just "/*".
1393
Bram Moolenaar1cd871b2004-12-19 22:46:22 +00001394When editing the same file from two systems (e.g., Unix and MS-Windows) there
1395mostly was no warning for an existing swap file, because the name of the
1396edited file differs (e.g., y:\dir\file vs /home/me/dir/file). Added a flag to
1397the swap file to indicate it is in the same directory as the edited file. The
1398used path then doesn't matter and the check for editing the same file is much
1399more reliable.
1400
Bram Moolenaar900b4d72005-12-12 22:05:50 +00001401Unix: When editing a file through a symlink the swap file would use the name
1402of the symlink. Now use the name of the actual file, so that editing the same
1403file twice is detected. (suggestions by Stefano Zacchiroli and James Vega)
1404
Bram Moolenaar1cd871b2004-12-19 22:46:22 +00001405Client-server communication now supports 'encoding'. When setting 'encoding'
1406in a Vim server to "utf-8", and using "vim --remote fname" in a console,
1407"fname" is converted from the console encoding to utf-8. Also allows Vims
1408with different 'encoding' settings to exchange messages.
1409
Bram Moolenaar86b68352004-12-27 21:59:20 +00001410Internal: Changed ga_room into ga_maxlen, so that it doesn't need to be
1411incremented/decremented each time.
1412
Bram Moolenaar49cd9572005-01-03 21:06:01 +00001413When a register is empty it is not stored in the viminfo file.
1414
Bram Moolenaar8c711452005-01-14 21:53:12 +00001415Removed the tcltags script, it's obsolete.
1416
Bram Moolenaar67fe1a12005-05-22 22:12:58 +00001417":redir @*>>" and ":redir @+>>" append to the clipboard. Better check for
Bram Moolenaar5313dcb2005-02-22 08:56:13 +00001418invalid characters after the register name. |:redir|
1419
1420":redir => variable" and ":redir =>> variable" write or append to a variable.
1421(Yegappan Lakshmanan) |:redir|
Bram Moolenaardcaf10e2005-01-21 11:55:25 +00001422
Bram Moolenaar231334e2005-07-25 20:46:57 +00001423":redir @{a-z}>>" appends to register a to z. (Yegappan Lakshmanan)
Bram Moolenaar67fe1a12005-05-22 22:12:58 +00001424
Bram Moolenaar54ee7752005-05-31 22:22:17 +00001425The 'verbosefile' option can be used to log messages in a file. Verbose
1426messages are not displayed then. The "-V{filename}" argument can be used to
1427log startup messages.
1428
Bram Moolenaardcaf10e2005-01-21 11:55:25 +00001429":let g:" lists global variables.
1430":let b:" lists buffer-local variables.
1431":let w:" lists window-local variables.
1432":let v:" lists Vim variables.
1433
Bram Moolenaard438e912005-01-31 19:21:46 +00001434The stridx() and strridx() functions take a third argument, where to start
1435searching. (Yegappan Lakshmanan)
Bram Moolenaarb71ec9f2005-01-25 22:22:02 +00001436
Bram Moolenaar67fe1a12005-05-22 22:12:58 +00001437The getreg() function takes an extra argument to be able to get the expression
1438for the '=' register instead of the result of evaluating it.
1439
1440The setline() function can take a List argument to set multiple lines. When
1441the line number is just below the last line the line is appended.
1442
Bram Moolenaarbee0c5b2005-02-07 22:03:36 +00001443g CTRL-G also shows the number of characters if it differs from the number of
1444bytes.
1445
Bram Moolenaar5313dcb2005-02-22 08:56:13 +00001446Completion for ":debug" and entering an expression for the '=' register. Skip
1447":" between range and command name. (Peter winters)
1448
1449CTRL-Q in Insert mode now works like CTRL-V by default. Previously it was
1450ignored.
1451
1452When "beep" is included in 'debug' a function or script that causes a beep
1453will result in a message with the source of the error.
1454
Bram Moolenaar05159a02005-02-26 23:04:13 +00001455When completing buffer names, match with "\(^\|[\/]\)" instead of "^", so that
1456":buf stor<Tab>" finds both "include/storage.h" and "storage/main.c".
1457
1458To count items (pattern matches) without changing the buffer the 'n' flag has
1459been added to |:substitute|. See |count-items|.
1460
Bram Moolenaarea0cd362006-03-16 21:46:52 +00001461In a |:substitute| command the \u, \U, \l and \L items now also work for
1462multi-byte characters.
1463
Bram Moolenaar038eb0e2005-02-27 22:43:26 +00001464The "screen.linux" $TERM name is recognized to set the default for
Bram Moolenaar482aaeb2005-09-29 18:26:07 +00001465'background' to "dark". (Ciaran McCreesh) Also for "cygwin" and "putty".
Bram Moolenaar19a09a12005-03-04 23:39:37 +00001466
1467The |FileChangedShell| autocommand event can now use the |v:fcs_reason|
1468variable that specifies what triggered the event. |v:fcs_choice| can be used
1469to reload the buffer or ask the user what to do.
Bram Moolenaar038eb0e2005-02-27 22:43:26 +00001470
Bram Moolenaar8bf59b92005-03-06 23:40:56 +00001471Not all modifiers were recognized for xterm function keys. Added the
1472possibility in term codes to end in ";*X" or "O*X", where X is any character
1473and the * stands for the modifier code.
1474Added the <xUp>, <xDown>, <xLeft> and <xRight> keys, to be able to recognize
1475the two forms that xterm can send their codes in and still handle all possible
1476modifiers.
1477
Bram Moolenaarc0761132005-03-18 20:30:32 +00001478getwinvar() now also works to obtain a buffer-local option from the specified
1479window.
1480
Bram Moolenaarb982ca52005-03-28 21:02:15 +00001481Added the "%s" item to 'errorformat'. (Yegappan Lakshmanan)
Bram Moolenaarb3656ed2006-03-20 21:59:49 +00001482Added the "%>" item to 'errorformat'.
1483
1484For 'errorformat' it was not possible to have a file name that contains the
1485character that follows after "%f". For example, in "%f:%l:%m" the file name
1486could not contain ":". Now include the first ":" where the rest of the
1487pattern matches. In the example a ":" not followed by a line number is
1488included in the file name. (suggested by Emanuele Giaquinta)
Bram Moolenaarb982ca52005-03-28 21:02:15 +00001489
Bram Moolenaar34cdc3e2005-05-18 22:24:46 +00001490GTK GUI: use the GTK file dialog when it's available. Mix from patches by
1491Grahame Bowland and Evan Webb.
1492
Bram Moolenaar9ba0eb82005-06-13 22:28:56 +00001493Added ":scriptnames" to bugreport.vim, so that we can see what plugins were
1494used.
1495
Bram Moolenaar520470a2005-06-16 21:59:56 +00001496Win32: If the user changes the setting for the number of lines a scroll wheel
1497click scrolls it is now used immediately. Previously Vim would need to be
1498restarted.
1499
Bram Moolenaarb2ec3072005-06-17 22:02:20 +00001500When using @= in an expression the value is expression @= contains. ":let @=
1501= value" can be used to set the register contents.
1502
Bram Moolenaar51bab742005-07-08 22:31:03 +00001503A ! can be added to ":popup" to have the popup menu appear at the mouse
1504pointer position instead of the text cursor.
1505
Bram Moolenaard8e9bb22005-07-09 21:14:46 +00001506The table with encodings has been expanded with many MS-Windows codepages,
1507such as cp1250 and cp737, so that these can also be used on Unix without
1508prepending "8bit-".
Bram Moolenaarae5bce12005-08-15 21:41:48 +00001509When an encoding name starts with "microsoft-cp" ignore the "microsoft-" part.
Bram Moolenaard8e9bb22005-07-09 21:14:46 +00001510
1511Added the "customlist" completion argument to a user-defined command. The
1512user-defined completion function should return the completion candidates as a
Bram Moolenaar231334e2005-07-25 20:46:57 +00001513Vim List and the returned results are not filtered by Vim. (Yegappan
1514Lakshmanan)
Bram Moolenaard8e9bb22005-07-09 21:14:46 +00001515
Bram Moolenaar342337a2005-07-21 21:11:17 +00001516Win32: Balloons can have multiple lines if common controls supports it.
1517(Sergey Khorev)
1518
Bram Moolenaar90cfdbe2005-08-12 19:59:19 +00001519For command-line completion the matches for various types of arguments are now
1520sorted: user commands, variables, syntax names, etc.
1521
Bram Moolenaara2036d22005-08-23 21:04:20 +00001522When no locale is set, thus using the "C" locale, Vim will work with latin1
Bram Moolenaara5792f52005-11-23 21:25:05 +00001523characters, using its own isupper()/toupper()/etc. functions.
Bram Moolenaara2036d22005-08-23 21:04:20 +00001524
Bram Moolenaarac6e65f2005-08-29 22:25:38 +00001525When using an rxvt terminal emulator guess the value of 'background' using the
1526COLORFGBG environment variable. (Ciaran McCreesh)
1527
1528Also support t_SI and t_EI on Unix with normal features. (Ciaran McCreesh)
1529
Bram Moolenaardcca87b2005-09-10 19:24:59 +00001530When 'foldcolumn' is one then put as much info in it as possible. This allows
1531closing a fold with the mouse by clicking on the '-'.
1532
Bram Moolenaarbfd8fc02005-09-20 23:22:24 +00001533input() takes an optional completion argument to specify the type of
1534completion supported for the input. (Yegappan Lakshmanan)
1535
Bram Moolenaar4463f292005-09-25 22:20:24 +00001536"dp" works with more than two buffers in diff mode if there is only one where
1537'modifiable' is set.
1538
Bram Moolenaar27dc1952006-03-15 23:06:44 +00001539The 'diffopt' option has three new values: "horizontal", "vertical" and
1540"foldcolumn".
1541
Bram Moolenaar69e0ff92005-09-30 21:23:56 +00001542When the 'include' option contains \zs the file name found is what is being
1543matched from \zs to the end or \ze. Useful to pass more to 'includeexpr'.
1544
Bram Moolenaar07d4d732005-10-03 22:04:08 +00001545Loading plugins on startup now supports subdirectories in the plugin
1546directory. |load-plugins|
1547
Bram Moolenaard5cdbeb2005-10-10 20:59:28 +00001548In the foldcolumn always show the '+' for a closed fold, so that it can be
1549opened easily. It may overwrite another character, esp. if 'foldcolumn' is 1.
1550
1551It is now possible to get the W10 message again by setting 'readonly'. Useful
1552in the FileChangedRO autocommand when checking out the file fails.
1553
Bram Moolenaar784c6142005-10-11 20:34:58 +00001554Unix: When open() returns EFBIG give an appropriate message.
1555
Bram Moolenaar241a8aa2005-12-06 20:04:44 +00001556":mksession" sets the SessionLoad variable to notify plugins. A modeline is
1557added to the session file to set 'filetype' to "vim".
1558
Bram Moolenaard5bc83f2005-12-07 21:07:59 +00001559In the ATTENTION prompt put the "Delete it" choice before "Quit" to make it
1560more logical. (Robert Webb)
1561
Bram Moolenaar63a121b2005-12-11 21:36:39 +00001562When appending to a file while the buffer has no name the name of the appended
1563file would be used for the current buffer. But the buffer contents is
1564actually different from the file content. Don't set the file name, unless the
1565'P' flag is present in 'cpoptions'.
1566
Bram Moolenaar900b4d72005-12-12 22:05:50 +00001567When starting to edit a new file and the directory for the file doesn't exist
1568then Vim will report "[New DIRECTORY]" instead of "[New File] to give the user
1569a hint that something might be wrong.
1570
Bram Moolenaarbca84a12005-12-14 22:08:35 +00001571Win32: Preserve the hidden attribute of the viminfo file.
1572
Bram Moolenaar146522e2005-12-16 21:55:46 +00001573In Insert mode CTRL-A didn't keep the last inserted text when using CTRL-O and
1574then a cursor key. Now keep the previously inserted text if nothing is
1575inserted after the CTRL-O. Allows using CTRL-O commands to move the cursor
1576without losing the last inserted text.
Bram Moolenaarbca84a12005-12-14 22:08:35 +00001577
Bram Moolenaarf4cd3e82005-12-22 22:47:02 +00001578The exists() function now supports checking for autocmd group definition
Bram Moolenaarcc984262005-12-23 22:19:46 +00001579and for supported autocommand events. (Yegappan Lakshmanan)
Bram Moolenaara9b1e742005-12-19 22:14:58 +00001580
Bram Moolenaar4770d092006-01-12 23:22:24 +00001581Allow using ":global" in the sandbox, it doesn't do anything harmful by
1582itself.
1583
Bram Moolenaarb71eaae2006-01-20 23:10:18 +00001584":saveas asdf.c" will set 'filetype' to c when it's empty. Also for ":w
1585asdf.c" when it sets the filename for the buffer.
1586
Bram Moolenaar1d2ba7f2006-02-14 22:29:30 +00001587Insert mode completion for whole lines now also searches unloaded buffers.
Bram Moolenaarb71eaae2006-01-20 23:10:18 +00001588
Bram Moolenaarf740b292006-02-16 22:11:02 +00001589The colortest.vim script can now be invoked directly with ":source" or
Bram Moolenaarc93b83a2006-04-29 22:02:36 +00001590":runtime syntax/colortest.vim".
Bram Moolenaarf740b292006-02-16 22:11:02 +00001591
Bram Moolenaard1f56e62006-02-22 21:25:37 +00001592The 'statusline' option can be local to the window, so that each window can
1593have a different value. (partly by Yegappan Lakshmanan)
1594
Bram Moolenaar238a5642006-02-21 22:12:05 +00001595The 'statusline' option and other options that support the same format can now
1596use these new features:
1597- When it starts with "%!" the value is first evaluated as an expression
1598 before parsing the value.
1599- "%#HLname#" can be used to start highlighting with HLname.
1600
Bram Moolenaard1f56e62006-02-22 21:25:37 +00001601When 'statusline' is set to something that causes an error message then it is
1602made empty to avoid an endless redraw loop. Also for other options, such at
Bram Moolenaarea0cd362006-03-16 21:46:52 +00001603'tabline' and 'titlestring'. ":verbose set statusline" will mention that it
1604was set in an error handler.
Bram Moolenaard1f56e62006-02-22 21:25:37 +00001605
Bram Moolenaar32466aa2006-02-24 23:53:04 +00001606When there are several matching tags, the ":tag <name>" and CTRL-] commands
1607jump to the [count] matching tag. (Yegappan Lakshmanan)
1608
Bram Moolenaar97b2ad32006-03-18 21:40:56 +00001609Win32: In the batch files generated by the install program, use $VIMRUNTIME or
1610$VIM if it's set. Example provided by Mathias Michaelis.
1611Also create a vimtutor.bat batch file.
Bram Moolenaar32466aa2006-02-24 23:53:04 +00001612
Bram Moolenaarb3656ed2006-03-20 21:59:49 +00001613The 'balloonexpr' option is now |global-local|.
1614
Bram Moolenaare580b0c2006-03-21 21:33:03 +00001615The system() function now runs in cooked mode, thus can be interrupted by
1616CTRL-C.
1617
Bram Moolenaar071d4272004-06-13 20:20:40 +00001618==============================================================================
1619COMPILE TIME CHANGES *compile-changes-7*
1620
Bram Moolenaar2079a602005-01-04 21:43:22 +00001621Dropped the support for the BeOS and Amiga GUI. They were not maintained and
1622probably didn't work. If you want to work on this: get the Vim 6.x version
1623and merge it back in.
1624
Bram Moolenaar5313dcb2005-02-22 08:56:13 +00001625When running the tests and one of them fails to produce "test.out" the
1626following tests are still executed. This helps when running out of memory.
1627
Bram Moolenaarf461c8e2005-06-25 23:04:51 +00001628When compiling with EXITFREE defined and the ccmalloc library it is possible
1629to detect memory leaks. Some memory will always reported as leaked, such as
1630allocated by X11 library functions and the memory allocated in alloc_cmdbuff()
1631to store the ":quit" command.
1632
Bram Moolenaar231334e2005-07-25 20:46:57 +00001633Moved the code for printing to src/hardcopy.c.
1634
1635Moved some code from main() to separate functions to make it easier to see
Bram Moolenaarc93b83a2006-04-29 22:02:36 +00001636what is being done. Using a structure to avoid a lot of arguments to the
Bram Moolenaar231334e2005-07-25 20:46:57 +00001637functions.
1638
1639Moved unix_expandpath() to misc1.c, so that it can also be used by os_mac.c
1640without copying the code.
1641
Bram Moolenaar362e1a32006-03-06 23:29:24 +00001642--- Mac ---
1643
1644"make" now creates the Vim.app directory and "make install" copies it to its
1645final destination. (Raf)
1646
Bram Moolenaar27dc1952006-03-15 23:06:44 +00001647Put the runtime directory not directly in Vim.app but in
1648Vim.app/Contents/Resources/vim, so that it's according to Mac specs.
1649
Bram Moolenaar362e1a32006-03-06 23:29:24 +00001650Made it possible to compile with Motif, Athena or GTK without tricks and still
1651being able to use the MacRoman conversion. Added the os_mac_conv.c file.
1652
1653When running "make install" the runtime files are installed as for Unix.
Bram Moolenaare344bea2005-09-01 20:46:49 +00001654Avoids that too many files are copied. When running "make" a link to the
1655runtime files is created to avoid a recursive copy that takes much time.
1656
Bram Moolenaar362e1a32006-03-06 23:29:24 +00001657Configure will attempt to build Vim for both Intel and PowerPC. The
Bram Moolenaareddf53b2006-02-27 00:11:10 +00001658--with-mac-arch configure argument can change it.
1659
Bram Moolenaar362e1a32006-03-06 23:29:24 +00001660--- Win32 ---
1661
1662The Make_mvc.mak file was adjusted to work with the latest MS compilers,
1663including the free version of Visual Studio 2005. (George Reilly)
1664
1665INSTALLpc.txt was updated for the recent changes. (George Reilly)
1666
1667The distributed executable is now produced with the free Visual C++ Toolkit
16682003 and other free SDK chunks. msvcsetup.bat was added to support this.
1669
1670Also generate the .pdb file that can be used to generate a useful crash report
1671on MS-Windows. (George Reilly)
1672
Bram Moolenaar071d4272004-06-13 20:20:40 +00001673==============================================================================
1674BUG FIXES *bug-fixes-7*
1675
Bram Moolenaarf4b8e572004-06-24 15:53:16 +00001676When using PostScript printing on MS-DOS the default 'printexpr' used "lpr"
1677instead of "copy". When 'printdevice' was empty the copy command did not
1678work. Use "LPT1" then.
1679
1680The GTK font dialog uses a font size zero when the font name doesn't include a
1681size. Use a default size of 10.
1682
1683This example in the documentation didn't work:
Bram Moolenaar166af9b2010-11-16 20:34:40 +01001684 :e `=foo . ".c"`
Bram Moolenaarf4b8e572004-06-24 15:53:16 +00001685Skip over the expression in `=expr` when looking for comments, |, % and #.
1686
1687When ":helpgrep" doesn't find anything there is no error message.
1688
1689"L" and "H" did not take closed folds into account.
1690
1691Win32: The "-P title" argument stopped at the first title that matched, even
1692when it doesn't support MDI.
1693
1694Mac GUI: CTRL-^ and CTRL-@ did not work.
1695
1696"2daw" on "word." at the end of a line didn't include the preceding white
1697space.
1698
1699Win32: Using FindExecutable() doesn't work to find a program. Use
1700SearchPath() instead. For executable() use $PATHEXT when the program searched
1701for doesn't have an extension.
1702
1703When 'virtualedit' is set, moving the cursor up after appending a character
1704may move it to a different column. Was caused by auto-formatting moving the
1705cursor and not putting it back where it was.
1706
1707When indent was added automatically and then moving the cursor, the indent was
1708not deleted (like when pressing ESC). The "I" flag in 'cpoptions' can be used
1709to make it work the old way.
1710
Bram Moolenaarf4b8e572004-06-24 15:53:16 +00001711When opening a command-line window, 'textwidth' gets set to 78 by the Vim
1712filetype plugin. Reset 'textwidth' to 0 to avoid lines are broken.
1713
1714After using cursor(line, col) moving up/down doesn't keep the same column.
1715
1716Win32: Borland C before 5.5 requires using ".u." for LowPart and HighPart
1717fields. (Walter Briscoe)
Bram Moolenaar071d4272004-06-13 20:20:40 +00001718
Bram Moolenaar843ee412004-06-30 16:16:41 +00001719On Sinix SYS_NMLN isn't always defined. Define it ourselves. (Cristiano De
1720Michele)
1721
Bram Moolenaar325b7a22004-07-05 15:58:32 +00001722Printing with PostScript may keep the printer waiting for more. Append a
1723CTRL-D to the printer output. (Mike Williams)
1724
Bram Moolenaar2df6dcc2004-07-12 15:53:54 +00001725When converting a string with a hex or octal number the leading '-' was
1726ignored. ":echo '-05' + 0" resulted in 5 instead of -5.
1727
1728Using "@:" to repeat a command line didn't work when it contains control
Bram Moolenaar90cfdbe2005-08-12 19:59:19 +00001729characters. Also remove "'<,'>" when in Visual mode to avoid that it appears
1730twice.
Bram Moolenaar2df6dcc2004-07-12 15:53:54 +00001731
Bram Moolenaar21cf8232004-07-16 20:18:37 +00001732When using file completion for a user command, it would not expand environment
1733variables like for a regular command with a file argument.
1734
1735'cindent': When the argument of a #define looks like a C++ class the next line
1736is indented too much.
1737
1738When 'comments' includes multi-byte characters inserting the middle part and
1739alignment may go wrong. 'cindent' also suffers from this for right-aligned
1740items.
1741
Bram Moolenaar05159a02005-02-26 23:04:13 +00001742Win32: when 'encoding' is set to "utf-8" getenv() still returns strings in the
1743active codepage. Convert to utf-8. Also for $HOME.
1744
Bram Moolenaarab79bcb2004-07-18 21:34:53 +00001745The default for 'helplang' was "zh" for both "zh_cn" and "zh_tw". Now use
1746"cn" or "tw" as intended.
1747
Bram Moolenaar5eb86f92004-07-26 12:53:41 +00001748When 'bin' is set and 'eol' is not set then line2byte() added the line break
1749after the last line while it's not there.
1750
1751Using foldlevel() in a WinEnter autocommand may not work. Noticed when
1752resizing the GUI shell upon startup.
1753
1754Python: Using buffer.append(f.readlines()) didn't work. Allow appending a
1755string with a trailing newline. The newline is ignored.
1756
Bram Moolenaar269ec652004-07-29 08:43:53 +00001757When using the ":saveas f2" command for buffer "f1", the Buffers menu would
1758contain "f2" twice, one of them leading to "f1". Also trigger the BufFilePre
1759and BufFilePost events for the alternate buffer that gets the old name.
1760
Bram Moolenaard4755bb2004-09-02 19:12:26 +00001761strridx() did not work well when the needle is empty. (Ciaran McCreesh)
1762
1763GTK: Avoid a potential hang in gui_mch_wait_for_chars() when input arrives
1764just before it is invoked
1765
1766VMS: Occasionally CR characters were inserted in the file. Expansion of
1767environment variables was not correct. (Zoltan Arpadffy)
1768
1769UTF-8: When 'delcombine' is set "dw" only deleted the last combining character
1770from the first character of the word.
1771
1772When using ":sball" in an autocommand only the filetype in one buffer was
1773detected. Reset did_filetype in enter_buffer().
1774
1775When using ":argdo" and the window already was at the first argument index,
1776but not actually editing it, the current buffer would be used instead.
1777
Bram Moolenaar15d0a8c2004-09-06 17:44:46 +00001778When ":next dir/*" includes many matches, adding the names to the argument
1779list may take an awful lot of time and can't be interrupted. Allow
1780interrupting this.
1781
1782When editing a file that was already loaded in a buffer, modelines were not
1783used. Now window-local options in the modeline are set. Buffer-local options
1784and global options remain unmodified.
1785
1786Win32: When 'encoding' is set to "utf-8" in the vimrc file, files from the
1787command line with non-ASCII characters are not used correctly. Recode the
1788file names when 'encoding' is set, using the Unicode command line.
1789
Bram Moolenaarc0197e22004-09-13 20:26:32 +00001790Win32 console: When the default for 'encoding' ends up to be "latin1", the
1791default value of 'isprint' was wrong.
1792
1793When an error message is given while waiting for a character (e.g., when an
1794xterm reports the number of colors), the hit-enter prompt overwrote the last
1795line. Don't reset msg_didout in normal_cmd() for K_IGNORE.
1796
Bram Moolenaar3fdfa4a2004-10-07 21:02:47 +00001797Mac GUI: Shift-Tab didn't work.
1798
1799When defining tooltip text, don't translate terminal codes, since it's not
1800going to be used like a command.
1801
1802GTK 2: Check the tooltip text for valid utf-8 characters to avoid getting a
1803GTK error. Invalid characters may appear when 'encoding' is changed.
1804
1805GTK 2: Add a safety check for invalid utf-8 sequences, they can crash pango.
1806
1807Win32: When 'encoding' is changed while starting up, use the Unicode command
1808line to convert the file arguments to 'encoding'. Both for the GUI and the
1809console version.
1810
1811Win32 GUI: latin9 text (iso-8859-15) was not displayed correctly, because
1812there is no codepage for latin9. Do our own conversion from latin9 to UCS2.
1813
Bram Moolenaar7b0294c2004-10-11 10:16:09 +00001814When two versions of GTK+ 2 are installed it was possible to use the header
1815files from one and the library from the other. Use GTK_LIBDIR to put the
1816directory for the library early in the link flags.
1817
1818With the GUI find/replace dialog a replace only worked if the pattern was
1819literal text. Now it works for any pattern.
1820
Bram Moolenaar293ee4d2004-12-09 21:34:53 +00001821When 'equalalways' is set and 'eadirection' is "hor", ":quit" would still
1822cause equalizing window heights in the vertical direction.
1823
1824When ":emenu" is used in a startup script the command was put in the typeahead
1825buffer, causing a prompt for the crypt key to be messed up.
1826
1827Mac OS/X: The default for 'isprint' included characters 128-160, causes
1828problems for Terminal.app.
1829
1830When a syntax item with "containedin" is used, it may match in the start or
1831end of a region with a matchgroup, while this doesn't happen for a "contains"
1832argument.
1833
1834When a transparent syntax items matches in another item where the highlighting
1835has already stopped (because of a he= argument), the highlighting would come
1836back.
1837
1838When cscope is used to set the quickfix error list, it didn't get set if there
1839was only one match. (Sergey Khorev)
1840
1841When 'confirm' is set and using ":bdel" in a modified buffer, then selecting
1842"cancel", would still give an error message.
1843
1844The PopUp menu items that started Visual mode didn't work when not in Normal
1845mode. Switching between selecting a word and a line was not possible.
1846
1847Win32: The keypad decimal point always resulted in a '.', while on some
1848keyboards it's a ','. Use MapVirtualKey(VK_DECIMAL, 2).
1849
1850Removed unused function DisplayCompStringOpaque() from gui_w32.c
1851
1852In Visual mode there is not always an indication whether the line break is
1853selected or not. Highlight the character after the line when the line break
1854is included, e.g., after "v$o".
1855
1856GTK: The <F10> key can't be mapped, it selects the menu. Disable that with a
1857GTK setting and do select the menu when <F10> isn't mapped. (David Necas)
1858
1859After "Y" '[ and '] were not at start/end of the yanked text.
1860
1861When a telnet connection is dropped Vim preserves files and exits. While
Bram Moolenaar8ea91232006-04-28 22:41:43 +00001862doing that a SIGHUP may arrive and disturb us, thus ignore it. (Scott
Bram Moolenaar46c9c732004-12-12 11:37:09 +00001863Anderson) Also postpone SIGHUP, SIGQUIT and SIGTERM until it's safe to
1864handle. Added handle_signal().
1865
Bram Moolenaar1cd871b2004-12-19 22:46:22 +00001866When completing a file name on the command line backslashes are required for
1867white space. Was only done for a space, not for a Tab.
1868
1869When configure could not find a terminal library, compiling continued for a
1870long time before reporting the problem. Added a configure check for tgetent()
1871being found in a library.
1872
1873When the cursor is on the first char of the last line a ":g/pat/s///" command
1874may cause the cursor to be displayed below the text.
1875
1876Win32: Editing a file with non-ASCII characters doesn't work when 'encoding'
1877is "utf-8". use _wfullpath() instead of _fullpath(). (Yu-sung Moon)
1878
1879When recovering the 'fileformat' and 'fileencoding' were taken from the
1880original file instead of from the swapfile. When the file didn't exist, was
1881empty or the option was changed (e.g., with ":e ++fenc=cp123 file") it could
1882be wrong. Now store 'fileformat' and 'fileencoding' in the swapfile and use
1883the values when recovering.
1884
1885":bufdo g/something/p" overwrites each last printed text line with the file
1886message for the next buffer. Temporarily clear 'shortmess' to avoid that.
1887
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +00001888Win32: Cannot edit a file starting with # with --remote. Do escape % and #
1889when building the ":drop" command.
1890
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +01001891A comment or | just after an expression-backtick argument was not recognized.
Bram Moolenaar86b68352004-12-27 21:59:20 +00001892E.g. in :e `="foo"`"comment.
1893
Bram Moolenaar567e4de2004-12-31 21:01:02 +00001894"(" does not stop at an empty sentence (single dot and white space) while ")"
1895does. Also breaks "das" on that dot.
1896
1897When doing "yy" with the cursor on a TAB the ruler could be wrong and "k"
1898moved the cursor to another column.
1899
1900When 'commentstring' is '"%s' and there is a double quote in the line a double
1901quote before the fold marker isn't removed in the text displayed for a closed
1902fold.
1903
1904In Visual mode, when 'bin' and 'eol' set, g CTRL-G counted the last line
1905break, resulting in "selected 202 of 201 bytes".
1906
Bram Moolenaar2079a602005-01-04 21:43:22 +00001907Motif: fonts were not used for dialog components. (Marcin Dalecki)
Bram Moolenaar567e4de2004-12-31 21:01:02 +00001908
Bram Moolenaar49cd9572005-01-03 21:06:01 +00001909Motif: After using a toolbar button the keyboard focus would be on the toolbar
Bram Moolenaar2079a602005-01-04 21:43:22 +00001910(Lesstif problem). (Marcin Dalecki)
Bram Moolenaar49cd9572005-01-03 21:06:01 +00001911
Bram Moolenaar1c2fda22005-01-02 11:43:19 +00001912When using "y<C-V>`x" where mark x is in the first column, the last line was
1913not included.
1914
1915Not all test scripts work properly on MS-Windows when checked out from CVS.
1916Use a Vim command to fix all fileformats to dos before executing the tests.
1917
1918When using ":new" and the file fits in the window, lines could still be above
1919the window. Now remove empty lines instead of keeping the relative position.
1920
Bram Moolenaar3d60ec22005-01-05 22:19:46 +00001921Cmdline completion didn't work after ":let var1 var<Tab>".
1922
Bram Moolenaarb7d6e722005-01-09 21:22:45 +00001923When using ":startinsert" or ":startreplace" when already in Insert mode
1924(possible when using CTRL-R =), pressing Esc would directly restart Insert
1925mode. (Peter Winters)
1926
Bram Moolenaar31c67ef2005-01-11 21:34:41 +00001927"2daw" didn't work at end of file if the last word is a single character.
1928
Bram Moolenaar8c711452005-01-14 21:53:12 +00001929Completion for ":next a'<Tab>" put a backslash before single quote, but it was
1930not removed when editing a file. Now halve backslashes in save_patterns().
Bram Moolenaar798c5a72005-01-16 22:06:30 +00001931Also fix expanding a file name with the shell that contains "\'".
Bram Moolenaar8c711452005-01-14 21:53:12 +00001932
Bram Moolenaarb71ec9f2005-01-25 22:22:02 +00001933When doing "1,6d|put" only "fewer lines" was reported. Now a following "more
1934lines" overwrites the message.
1935
1936Configure could not handle "-Dfoo=long\ long" in the TCL config output.
1937
Bram Moolenaarb2956cd2005-01-27 14:42:53 +00001938When searching backwards, using a pattern that matches a newline and uses \zs
1939after that, didn't find a match. Could also get a hang or end up in the right
1940column in the wrong line.
1941
Bram Moolenaard438e912005-01-31 19:21:46 +00001942When $LANG is "sl" for slovenian, the slovak menu was used, since "slovak"
1943starts with "sl".
1944
1945When 'paste' is set in the GUI the Paste toolbar button doesn't work. Clear
1946'paste' when starting the GUI.
1947
Bram Moolenaarf5836682005-02-02 23:09:45 +00001948A message about a wrong viminfo line included the trailing NL.
1949
Bram Moolenaar2a8d1f82005-02-05 21:43:56 +00001950When 'paste' is set in the GUI the toolbar button doesn't work in Insert mode.
1951Use ":exe" in menu.vim to avoid duplicating the commands, instead of using a
1952mapping.
1953
1954Treat "mlterm" as an xterm-like terminal. (Seiichi Sato)
1955
1956":z.4" and ":z=4" didn't work Vi compatible.
1957
Bram Moolenaarbee0c5b2005-02-07 22:03:36 +00001958When sourcing a file, editing it and sourcing it again, it could appear twice
1959in ":scriptnames" and get a new <SID>, because the inode has changed.
1960
1961When $SHELL is set but empty the 'shell' option would be empty. Don't use an
1962empty $SHELL value.
1963
1964A command "w! file" in .vimrc or $EXINIT didn't work. Now it writes an empty
1965file.
1966
1967When a CTRL-F command at the end of the file failed, the cursor was still
1968moved to the start of the line. Now it remains where it is.
1969
1970When using ":s" or "&" to repeat the last substitute and "$" was used to put
1971the cursor in the last column, put the cursor in the last column again. This
1972is Vi compatible.
1973
Bram Moolenaar4399ef42005-02-12 14:29:27 +00001974Vim is not fully POSIX compliant but sticks with traditional Vi behavior.
1975Added a few flags in 'cpoptions' to behave the POSIX way when wanted. The
1976$VIM_POSIX environment variable is checked to set the default.
1977
1978Appending to a register didn't insert a line break like Vi. Added the '>'
1979flag to 'cpoptions' for this.
1980
1981Using "I" in a line with only blanks appended to the line. This is not Vi
1982compatible. Added the 'H' flag in 'coptions' for this.
1983
1984When joining multiple lines the cursor would be at the last joint, but Vi
1985leaves it at the position where "J" would put it. Added the 'q' flag in
1986'cpoptions' for this.
1987
1988Autoindent didn't work for ":insert" and ":append".
1989
1990Using ":append" in an empty buffer kept the dummy line. Now it's deleted to
1991be Vi compatible.
1992
1993When reading commands from a file and stdout goes to a terminal, would still
1994request the xterm version. Vim can't read it, thus the output went to the
1995shell and caused trouble there.
1996
Bram Moolenaar5313dcb2005-02-22 08:56:13 +00001997When redirecting to a register with an invalid name the redirection would
1998still be done (after an error message). Now reset "redir_reg". (Yegappan
1999Lakshmanan)
2000
2001It was not possible to use a NL after a backslash in Ex mode. This is
2002sometimes used to feed multiple lines to a shell command.
2003
Bram Moolenaar05159a02005-02-26 23:04:13 +00002004When 'cmdheight' is set to 2 in .vimrc and the GUI uses the number of lines
2005from the terminal we actually get 3 lines for the cmdline in gvim.
2006
2007When setting $HOME allocated memory would leak.
2008
Bram Moolenaar19a09a12005-03-04 23:39:37 +00002009Win32: bold characters may sometimes write in another character cell. Use
2010unicodepdy[] as for UTF-8. (Taro Muraoka)
2011
2012":w fname" didn't work for files with 'buftype' set to "nofile".
2013
Bram Moolenaare2ac10d2005-03-07 23:26:06 +00002014The method used to locate user commands for completion differed from when they
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00002015are executed. Ambiguous command names were not completed properly.
Bram Moolenaare2ac10d2005-03-07 23:26:06 +00002016
Bram Moolenaar9062a9d2005-03-08 22:46:26 +00002017Incremental search may cause a crash when there is a custom statusline that
2018indirectly invokes ":normal".
2019
2020Diff mode failed when $DIFF_OPTIONS was set in the environment. Unset it
2021before invoking "diff".
2022
Bram Moolenaar4ad237d2005-03-11 22:49:40 +00002023Completion didn't work after ":argdo", ":windo" and ":bufdo". Also for ":set
2024&l:opt" and ":set &g:opt". (Peter Winters)
2025
2026When setting 'ttymouse' to "dec" in an xterm that supports the DEC mouse
2027locator it doesn't work. Now switch off the mouse before selecting another
2028mouse model.
2029
Bram Moolenaarfb269802005-03-15 22:46:30 +00002030When the CursorHold event is triggered and the commands peek for typed
2031characters the typeahead buffer may be messed up, e.g., when a mouse-up event
2032is received. Avoid invoking the autocommands from the function waiting for a
2033character, let it put K_CURSORHOLD in the input buffer.
2034
2035Removed the "COUNT" flag from ":argadd", to avoid ":argadd 1*" to be used like
Bram Moolenaarc0761132005-03-18 20:30:32 +00002036":1argadd *". Same for ":argdelete" and ":argedit".
Bram Moolenaarfb269802005-03-15 22:46:30 +00002037
2038Avoid that $LANG is used for the menus when LC_MESSAGES is "en_US".
2039
Bram Moolenaarc0761132005-03-18 20:30:32 +00002040Added backslashes before dashes in the vim.1 manual page to make the appear as
2041real dashes. (Pierr Habouzit)
2042
2043Where "gq" left the cursor depended on the value of 'formatprg'. Now "gq"
2044always leaves the cursor at the last line of the formatted text.
2045
2046When editing a compressed file, such as "changelog.Debian.gz" file, filetype
2047detection may try to check the contents of the file while it's still
2048compressed. Skip setting 'filetype' for compressed files until they have been
2049decompressed. Required for patterns that end in a "*".
2050
2051Starting with an argument "+cmd" or "-S script" causes the cursor the be moved
2052to the first line. That breaks a BufReadPost autocommand that uses g`".
2053Don't move the cursor if it's somewhere past the first line.
2054
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00002055"gg=G" while 'modifiable' is off was uninterruptible.
Bram Moolenaarc0761132005-03-18 20:30:32 +00002056
Bram Moolenaar60c78922005-03-20 22:40:14 +00002057When 'encoding' is "sjis" inserting CTRL-V u d800 a few times causes a crash.
2058Don't insert a DBCS character with a NUL second byte.
2059
Bram Moolenaar2641f772005-03-25 21:58:17 +00002060In Insert mode CTRL-O <Home> didn't move the cursor. Made "ins_at_eol" global
2061and reset it in nv_home().
2062
Bram Moolenaarb982ca52005-03-28 21:02:15 +00002063Wildcard expansion failed: ":w /tmp/$$.`echo test`". Don't put quotes around
2064spaces inside backticks.
2065
Bram Moolenaar13fcaaf2005-04-15 21:13:42 +00002066After this sequence of commands: Y V p gv: the wrong line is selected. Now
2067let "gv" select the text that was put, since the original text is deleted.
2068This should be the most useful thing to do.
2069
2070":sleep 100u" sleeps for 100 seconds, not 100 usec as one might expect. Give
2071an error message when the argument isn't recognized.
2072
2073In gui_mch_draw_string() in gui_w32.c "unibuflen" wasn't static, resulting in
2074reallocating the buffer every time. (Alexei Alexandrov)
2075
Bram Moolenaar0e21a3f2005-04-17 20:28:32 +00002076When using a Python "atexit" function it was not invoked when Vim exits. Now
2077call Py_Finalize() for that. (Ugo Di Girolamo)
Bram Moolenaar9ba0eb82005-06-13 22:28:56 +00002078This breaks the thread stuff though, fixed by Ugo.
Bram Moolenaar0e21a3f2005-04-17 20:28:32 +00002079
Bram Moolenaardba8a912005-04-24 22:08:39 +00002080GTK GUI: using a .vimrc with "set cmdheight=2 lines=43" and ":split" right
2081after startup, the window layout is messed up. (Michael Schaap) Added
2082win_new_shellsize() call in gui_init() to fix the topframe size.
2083
2084Trick to get ...MOUSE_NM not used when there are vertical splits. Now pass
2085column -1 for the left most window and add MOUSE_COLOFF for others. Limits
2086mouse column to 10000.
2087
2088searchpair() may hang when the end pattern has "\zs" at the end. Check that
2089we find the same position again and advance one character.
2090
2091When in diff mode and making a change that causes the "changed" highlighting
2092to disappear or reappear, it was still highlighted in another window.
2093
Bram Moolenaar34cdc3e2005-05-18 22:24:46 +00002094When a ":next" command fails because the user selects "Abort" at the ATTENTION
2095prompt the argument index was advanced anyway.
2096
2097When "~" is in 'iskeyword' the "gd" doesn't work, it's used for the previous
2098substitute pattern. Put "\V" in the pattern to avoid that.
2099
Bram Moolenaar555b2802005-05-19 21:08:39 +00002100Use of sprintf() sometimes didn't check properly for buffer overflow. Also
2101when using smsg(). Included code for snprintf() to avoid having to do size
2102checks where invoking them
2103
Bram Moolenaarf4630b62005-05-20 21:31:17 +00002104":help \=<Tab>" didn't find "sub-replace-\=". Wild menu for help tags didn't
2105show backslashes. ":he :s\=" didn't work.
2106
2107When reading an errorfile "~/" in a file name was not expanded.
2108
2109GTK GUI: When adding a scrollbar (e.g. when using ":vsplit") in a script or
2110removing it the window size may change. GTK sends us resize events when we
2111change the window size ourselves, but they may come at an unexpected moment.
2112Peek for a character to get any window resize events and fix 'columns' and
2113'lines' to undo this.
2114
Bram Moolenaarb3656ed2006-03-20 21:59:49 +00002115When using the GTK plug mechanism, resizing and focus was not working
2116properly. (Neil Bird)
2117
Bram Moolenaar67fe1a12005-05-22 22:12:58 +00002118After deleting files from the argument list a session file generated with
2119":mksession" may contain invalid ":next" commands.
2120
2121When 'shortmess' is empty and 'keymap' set to accents, in Insert mode CTRL-N
2122may cause the hit-enter prompt. Typing 'a then didn't result in the accented
2123character. Put the character typed at the prompt back in the typeahead buffer
2124so that mapping is done in the right mode.
2125
Bram Moolenaarb2ec3072005-06-17 22:02:20 +00002126setbufvar() and setwinvar() did not give error messages.
2127
2128It was possible to set a variable with an illegal name, e.g. with setbufvar().
Bram Moolenaard857f0e2005-06-21 22:37:39 +00002129It was possible to define a function with illegal name, e.t. ":func F{-1}()"
2130
2131CTRL-W F and "gf" didn't use the same method to get the file name.
Bram Moolenaarb2ec3072005-06-17 22:02:20 +00002132
Bram Moolenaar42eeac32005-06-29 22:40:58 +00002133When reporting a conversion error the line number of the last error could be
2134given. Now report the first encountered error.
2135
2136When using ":e ++enc=name file" and iconv() was used for conversion an error
Bram Moolenaar63a121b2005-12-11 21:36:39 +00002137caused a fall-back to no conversion. Now replace a character with '?' and
Bram Moolenaar42eeac32005-06-29 22:40:58 +00002138continue.
2139
Bram Moolenaar51bab742005-07-08 22:31:03 +00002140When opening a new buffer the local value of 'bomb' was not initialized from
2141the global value.
2142
Bram Moolenaare759a7a2005-07-12 22:50:18 +00002143Win32: When using the "Edit with Vim" entry the file name was limited to about
2144200 characters.
2145
Bram Moolenaar342337a2005-07-21 21:11:17 +00002146When using command line completion for ":e *foo" and the file "+foo" exists
2147the resulting command ":e +foo" doesn't work. Now insert a backslash: ":e
2148\+foo".
2149
Bram Moolenaar87e25fd2005-07-27 21:13:01 +00002150When the translation of "-- More --" was not 10 characters long the following
2151message would be in the wrong position.
2152
2153At the more-prompt the last character in the last line wasn't drawn.
2154
2155When deleting non-existing text while 'virtualedit' is set the '[ and '] marks
2156were not set.
2157
Bram Moolenaar0be6e642005-08-04 21:32:22 +00002158Win32: Could not use "**/" in 'path', it had to be "**\".
2159
Bram Moolenaarae5bce12005-08-15 21:41:48 +00002160The search pattern "\n" did not match at the end of the last line.
2161
2162Searching for a pattern backwards, starting on the NUL at the end of the line
2163and 'encoding' is "utf-8" would match the pattern just before it incorrectly.
2164Affected searchpair('/\*', '', '\*/').
2165
Bram Moolenaar5b8d8fd2005-08-16 23:01:50 +00002166For the Find/Replace dialog it was possible that not finding the text resulted
2167in an error message while redrawing, which cleared the syntax highlighting
2168while it was being used, resulting in a crash. Now don't clear syntax
2169highlighting, disable it with b_syn_error.
2170
Bram Moolenaar6e7c7f32005-08-24 22:16:11 +00002171Win32: Combining UTF-8 characters were drawn on the previous character.
2172Could be noticed with a Thai font.
2173
Bram Moolenaarcafda4f2005-09-06 19:25:11 +00002174Output of ":function" could leave some of the typed text behind. (Yegappan
2175Lakshmanan)
2176
Bram Moolenaarcaa0fcf2005-09-07 21:21:14 +00002177When the command line history has only a few lines the command line window
2178would be opened with these lines above the first window line.
2179
2180When using a command line window for search strings ":qa" would result in
2181searching for "qa" instead of quitting all windows.
2182
Bram Moolenaardcca87b2005-09-10 19:24:59 +00002183GUI: When scrolling with the scrollbar and there is a line that doesn't fit
2184redrawing may fail. Make sure w_skipcol is valid before redrawing.
2185
Bram Moolenaar482aaeb2005-09-29 18:26:07 +00002186Limit the values of 'columns' and 'lines' to avoid an overflow in Rows *
2187Columns. Fixed bad effects when running out of memory (command line would be
2188reversed, ":qa!" resulted in ":!aq").
2189
Bram Moolenaara5792f52005-11-23 21:25:05 +00002190Motif: "gvim -iconic" opened the window anyway. (David Harrison)
2191
2192There is a tiny chance that a symlink gets created between checking for an
2193existing file and creating a file. Use the O_NOFOLLOW for open() if it's
2194available.
2195
2196In an empty line "ix<CTRL-O>0" moved the cursor to after the line instead of
2197sticking to the first column.
2198
Bram Moolenaar943d2b52005-12-02 00:50:49 +00002199When using ":wq" and a BufWriteCmd autocmd uses inputsecret() the text was
2200echoed anyway. Set terminal to raw mode in getcmdline().
2201
Bram Moolenaard5bc83f2005-12-07 21:07:59 +00002202Unix: ":w a;b~c" caused an error in expanding wildcards.
2203
Bram Moolenaar63a121b2005-12-11 21:36:39 +00002204When appending to a file with ":w >>fname" in a buffer without a name, causing
2205the buffer to use "fname", the modified flag was reset.
2206
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00002207When appending to the current file the "not edited" flag would be reset.
Bram Moolenaar63a121b2005-12-11 21:36:39 +00002208":w" would overwrite the file accidentally.
2209
Bram Moolenaar900b4d72005-12-12 22:05:50 +00002210Unix: When filtering text with an external command Vim would still read input,
2211causing text typed for the command (e.g., a password) to be eaten and echoed.
2212Don't read input when the terminal is in cooked mode.
2213
Bram Moolenaar146522e2005-12-16 21:55:46 +00002214The Cygwin version of xxd used CR/LF line separators. (Corinna Vinschen)
2215
2216Unix: When filtering text through a shell command some resulting text may be
2217dropped. Now after detecting that the child has exited try reading some more
2218of its output.
2219
Bram Moolenaar3b181812005-12-17 22:10:02 +00002220When inside input(), using "CTRL-R =" and the expression throws an exception
2221the command line was not abandoned but it wasn't used either. Now abandon
2222typing the command line.
2223
Bram Moolenaare3226be2005-12-18 22:10:00 +00002224'delcombine' was also used in Visual and Select mode and for commands like
2225"cl". That was illogical and has been disabled.
2226
2227When recording while a CursorHold autocommand was defined special keys would
2228appear in the register. Now the CursorHold event is not triggered while
2229recording.
2230
Bram Moolenaarf4cd3e82005-12-22 22:47:02 +00002231Unix: the src/configure script used ${srcdir-.}, not all shells understand
2232that. Use ${srcdir:-.} instead.
2233
Bram Moolenaarcc984262005-12-23 22:19:46 +00002234When editing file "a" which is a symlink to file "b" that doesn't exist,
2235writing file "a" to create "b" and then ":split b" resulted in two buffers on
2236the same file with two different swapfile names. Now set the inode in the
2237buffer when creating a new file.
2238
Bram Moolenaarebefac62005-12-28 22:39:57 +00002239When 'esckeys' is not set don't send the xterm code to request the version
2240string, because it may cause trouble in Insert mode.
2241
2242When evaluating an expression for CTRL-R = on the command line it was possible
Bram Moolenaar8ada17c2006-01-19 22:16:24 +00002243to call a function that opens a new window, resulting in errors for
Bram Moolenaarb71eaae2006-01-20 23:10:18 +00002244incremental search, and many other nasty things were possible. Now use the
2245|textlock| to disallow changing the buffer or jumping to another window
Bram Moolenaar4770d092006-01-12 23:22:24 +00002246to protect from unexpected behavior. Same for CTRL-\ e.
Bram Moolenaarebefac62005-12-28 22:39:57 +00002247
2248"d(" deleted the character under the cursor, while the documentation specified
2249an exclusive motion. Vi also doesn't delete the character under the cursor.
2250
2251Shift-Insert in Insert mode could put the cursor before the last character
2252when it just fits in the window. In coladvance() don't stop at the window
2253edge when filling with spaces and when in Insert mode. In mswin.vim avoid
2254getting a beep from the "l" command.
2255
Bram Moolenaar4770d092006-01-12 23:22:24 +00002256Win32 GUI: When Alt-F4 is used to close the window and Cancel is selected in
2257the dialog then Vim would insert <M-F4> in the text. Now it's ignored.
2258
2259When ":silent! {cmd}" caused the swap file dialog, which isn't displayed,
2260there would still be a hit-enter prompt.
2261
Bram Moolenaara40ceaf2006-01-13 22:35:40 +00002262Requesting the termresponse (|t_RV|) early may cause problems with "-c"
2263arguments that invoke an external command or even "-c quit". Postpone it
2264until after executing "-c" arguments.
2265
2266When typing in Insert mode so that a new line is started, using CTRL-G u to
2267break undo and start a new change, then joining the lines with <BS> caused
2268undo info to be missing. Now reset the insertion start point.
2269
2270Syntax HL: When a region start match has a matchgroup and an offset that
2271happens to be after the end of the line then it continued in the next line and
2272stopped at the region end match, making the region continue after that.
2273Now check for the column being past the end of the line in syn_add_end_off().
2274
Bram Moolenaarc32840f2006-01-14 21:23:38 +00002275When changing a file, setting 'swapfile' off and then on again, making another
2276change and killing Vim, then some blocks may be missing from the swapfile.
2277When 'swapfile' is switched back on mark all blocks in the swapfile as dirty.
2278Added mf_set_dirty().
2279
2280Expanding wildcards in a command like ":e aap;<>!" didn't work. Put
2281backslashes before characters that are special to the shell. (Adri Verhoef)
2282
Bram Moolenaar8ada17c2006-01-19 22:16:24 +00002283A CursorHold autocommand would cause a message to be cleared. Don't show the
2284special key for the event for 'showcmd'.
2285
2286When expanding a file name for a shell command, as in "!cmd foo<Tab>" or ":r
2287!cmd foo<Tab>" also escape characters that are special for the shell:
2288"!;&()<>".
2289
Bram Moolenaarb71eaae2006-01-20 23:10:18 +00002290When the name of the buffer was set by a ":r fname" command |cpo-f| no
2291autocommands were triggered to notify about the change in the buffer list.
2292
2293In the quickfix buffer 'bufhidden' was set to "delete", which caused closing
2294the quickfix window to leave an unlisted "No Name" buffer behind every time.
2295
Bram Moolenaar0ac93792006-01-21 22:16:51 +00002296Win32: when using two screens of different size, setting 'lines' to a large
2297value didn't fill the whole screen. (SungHyun Nam)
2298
Bram Moolenaar33aec762006-01-22 23:30:12 +00002299Win32 installer: The generated _vimrc contained an absolute path to diff.exe.
2300After upgrading it becomes invalid. Now use $VIMRUNTIME instead.
2301
Bram Moolenaard12f5c12006-01-25 22:10:52 +00002302The command line was cleared to often when 'showmode' was set and ":silent
2303normal vy" was used. Don't clear the command line unless the mode was
2304actually displayed. Added the "mode_displayed" variable.
2305
Bram Moolenaar280f1262006-01-30 00:14:18 +00002306The "load session" toolbar item could not handle a space or other special
2307characters in v:this_session.
2308
2309":set sta ts=8 sw=4 sts=2" deleted 4 spaces halfway a line instead of 2.
2310
Bram Moolenaar1ef15e32006-02-01 21:56:25 +00002311In a multi-byte file the foldmarker could be recognized in the trail byte.
2312(Taro Muraoka)
2313
Bram Moolenaar0e5bd962006-02-04 00:59:56 +00002314Pasting with CTRL-V and menu didn't work properly when some commands are
2315mapped. Use ":normal!" instead of ":normal". (Tony Apuzzo)
2316
2317Crashed when expanding a file name argument in backticks.
2318
Bram Moolenaarf52c7252006-02-10 23:23:57 +00002319In some situations the menu and scrollbar didn't work, when the value contains
2320a CSI byte. (Yukihiro Nakadaira)
2321
Bram Moolenaar1d2ba7f2006-02-14 22:29:30 +00002322GTK GUI: When drawing the balloon focus changes and we might get a key release
2323event that removed the balloon again. Ignore the key release event.
2324
2325'titleold' was included in ":mkexrc" and ":mksession" files.
2326
Bram Moolenaarf740b292006-02-16 22:11:02 +00002327":set background&" didn't use the same logic as was used when starting up.
2328
Bram Moolenaar997fb4b2006-02-17 21:53:23 +00002329When "umask" is set such that nothing is writable then the viminfo file would
2330be written without write permission. (Julian Bridle)
2331
Bram Moolenaar7e8fd632006-02-18 22:14:51 +00002332Motif: In diff mode dragging one scrollbar didn't update the scrollbar of the
2333other diff'ed window.
2334
Bram Moolenaar238a5642006-02-21 22:12:05 +00002335When editing in an xterm with a different number of colors than expected the
2336screen would be cleared and redrawn, causing the message about the edited file
2337to be cleared. Now set "keep_msg" to redraw the last message.
2338
Bram Moolenaard1f56e62006-02-22 21:25:37 +00002339For a color terminal: When the Normal HL uses bold, possibly to make the color
2340lighter, and another HL group specifies a color it might become light as well.
2341Now reset bold if a HL group doesn't specify bold itself.
2342
Bram Moolenaar32466aa2006-02-24 23:53:04 +00002343When using 256 color xterm the color 255 would show up as color 0. Use a
2344short instead of a char to store the color number.
2345
2346ml_get errors when searching for "\n\zs" in an empty file.
2347
Bram Moolenaara5621492006-02-25 21:55:24 +00002348When selecting a block and using "$" to select until the end of every line and
2349not highlighting the character under the cursor the first character of the
2350block could be unhighlighted.
2351
2352When counting words for the Visual block area and using "$" to select until
2353the end of every line only up to the length of the last line was counted.
2354
Bram Moolenaareddf53b2006-02-27 00:11:10 +00002355"dip" in trailing empty lines left one empty line behind.
2356
Bram Moolenaar5e3cb7e2006-02-27 23:58:35 +00002357The script ID was only remembered globally for each option. When a buffer- or
2358window-local option was set the same "last set" location was changed for all
2359buffers and windows. Now remember the script ID for each local option
2360separately.
2361
2362GUI: The "Replace All" button didn't handle backslashes in the replacement in
2363the same way as "Replace". Escape backslashes so that they are taken
2364literally.
2365
Bram Moolenaare224ffa2006-03-01 00:01:28 +00002366When using Select mode from Insert mode and typing a key, causing lines to be
2367deleted and a message displayed, delayed the effect of inserting the key.
2368Now overwrite the message without delay.
Bram Moolenaar5e3cb7e2006-02-27 23:58:35 +00002369
Bram Moolenaar362e1a32006-03-06 23:29:24 +00002370When 'whichwrap' includes "l" then "dl" and "yl" on a single letter line
2371worked differently. Now recognize all operators when using "l" at the end of
2372a line.
2373
2374GTK GUI: when the font selector returned a font name with a comma in it then
2375it would be handled like two font names. Now put a backslash before the
2376comma.
2377
2378MS-DOS, Win32: When 'encoding' defaults to "latin1" then the value for
2379'iskeyword' was still for CPxxx. And when 'nocompatible' was set 'isprint'
2380would also be the wrong value.
2381
Bram Moolenaar1f35bf92006-03-07 22:38:47 +00002382When a command was defined not to take arguments and no '|' no warning message
2383would be given for using a '|'. Also with ":loadkeymap".
2384
Bram Moolenaara3227e22006-03-08 21:32:40 +00002385Motif: When using a fontset and 'encoding' is "utf-8" and sizeof(wchar_t) !=
2386sizeof(XChar2b) then display was wrong. (Yukihiro Nakadaira)
2387
Bram Moolenaareb94e552006-03-11 21:35:11 +00002388":all" always set the current window to the first window, even when it
2389contains a buffer that is not in the argument list (can't be closed because it
2390is modified). Now go to the window that has the first item of the argument
2391list.
2392
Bram Moolenaar17be7e62006-03-12 22:13:45 +00002393GUI: To avoid left-over pixels from bold text all characters after a character
2394with special attributes were redrawn. Now only do this for characters that
2395actually are bold. Speeds up displaying considerably.
2396
2397When only highlighting changes and the text is scrolled at the same time
2398everything is redraw instead of using a scroll and updating the changed text.
2399E.g., when using ":match" to highlight a paren that the cursor landed on.
2400Added SOME_VALID: Redraw the whole window but also try to scroll to minimize
2401redrawing.
2402
Bram Moolenaarca003e12006-03-17 23:19:38 +00002403Win32: When using Korean IME making it active didn't work properly. (Moon,
2404Yu-sung, 2005 March 21)
2405
Bram Moolenaar97b2ad32006-03-18 21:40:56 +00002406Ruby interface: when inserting/deleting lines display wasn't updated. (Ryan
2407Paul)
Bram Moolenaarca003e12006-03-17 23:19:38 +00002408
Bram Moolenaar910f66f2006-04-05 20:41:53 +00002409--- fixes since Vim 7.0b ---
Bram Moolenaarbd404142006-03-25 22:05:04 +00002410
2411Getting the GCC version in configure didn't work with Solaris sed. First
2412strip any "darwin." and then get the version number.
2413
2414The "autoload" directory was missing from the self-installing executable for
2415MS-Windows.
2416
2417The MS-Windows install program would find "vimtutor.bat" in the install
2418directory. After changing to "c:" also change to "\" to avoid looking in the
2419install directory.
2420
2421To make the 16 bit DOS version compile exclude not used highlight
2422initializations and build a tiny instead of small version.
2423
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00002424finddir() and findfile() accept a negative count and return a List then.
Bram Moolenaar899dddf2006-03-26 21:06:50 +00002425
2426The Python indent file contained a few debugging statements, removed.
2427
2428Expanding {} for a function name, resulting in a name starting with "s:" was
2429not handled correctly.
2430
2431Spelling: renamed COMPOUNDMAX to COMPOUNDWORDMAX. Added several items to be
2432able to handle the new Hungarian dictionary.
2433
2434Mac: Default to building for the current platform only, that is much faster
2435than building a universal binary. Also, using Perl/Python/etc. only works for
2436the current platform.
2437
Bram Moolenaar3991dab2006-03-27 17:01:56 +00002438The time on undo messages disappeared for someone. Using %T for strftime()
2439apparently doesn't work everywhere. Use %H:%M:%S instead.
2440
2441Typing BS at the "z=" prompt removed the prompt.
Bram Moolenaar899dddf2006-03-26 21:06:50 +00002442
Bram Moolenaar779b74b2006-04-10 14:55:34 +00002443--- fixes and changes since Vim 7.0c ---
Bram Moolenaar04a9d452006-03-27 21:03:26 +00002444
2445When jumping to another tab page the Vim window size was always set, even when
2446nothing in the layout changed.
2447
2448Win32 GUI tab pages line wasn't always enabled. Do a proper check for the
2449compiler version.
2450
2451Win32: When switching between tab pages the Vim window was moved when part of
2452it was outside of the screen. Now only do that in the direction of a size
2453change.
2454
2455Win32: added menu to GUI tab pages line. (Yegappan Lakshmanan)
2456
Bram Moolenaard2cec5b2006-03-28 21:08:56 +00002457Mac: Added document icons. (Benji Fisher)
2458
2459Insert mode completion: Using Enter to accept the current match causes
2460confusion. Use CTRL-Y instead. Also, use CTRL-E to go back to the typed
2461text.
2462
Bram Moolenaarb2a460d2007-05-12 15:16:37 +00002463GUI: When there are left and right scrollbars, ":tabedit" kept them instead of
Bram Moolenaard2cec5b2006-03-28 21:08:56 +00002464using the one that isn't needed.
Bram Moolenaar04a9d452006-03-27 21:03:26 +00002465
Bram Moolenaare2f98b92006-03-29 21:18:24 +00002466Using "gP" to replace al the text could leave the cursor below the last line,
2467causing ml_get errors.
2468
2469When 'cursorline' is set don't use the highlighting when Visual mode is
2470active, otherwise it's difficult to see the selected area.
2471
2472The matchparen plugin restricts the search to 100 lines, to avoid a long delay
2473when there are closed folds.
2474
2475Sometimes using CTRL-X s to list spelling suggestions used text from another
2476line.
2477
2478Win32: Set the default for 'isprint' back to the wrong default "@,~-255",
2479because many people use Windows-1252 while 'encoding' is "latin1".
2480
Bram Moolenaar910f66f2006-04-05 20:41:53 +00002481GTK: Added a workaround for gvim crashing when used over an untrusted ssh
2482link, caused by GTK doing something nasty. (Ed Catmur)
2483
2484Win32: The font used for the tab page labels is too big. Use the system menu
2485font. (George Reilly)
2486
2487Win32: Adjusting the window position and size to keep it on the screen didn't
2488work properly when the taskbar is on the left or top of the screen.
2489
2490The installman.sh and installml.sh scripts use ${10}, that didn't work with
2491old shells. And use "test -f" instead of "test -e".
2492
2493Win32: When 'encoding' was set in the vimrc then a directory argument for diff
2494mode didn't work.
2495
2496GUI: at the inputlist() prompt the cursorshape was adjusted as if the windows
2497were still at their old position.
2498
2499The parenmatch plugin didn't remember the highlighting per window.
2500
2501Using ":bd" for a buffer that's the current window in another tab page caused
2502a crash.
2503
2504For a new tab page the 'scroll' option wasn't set to a good default.
2505
2506Using an end offset for a search "/pat/e" didn't work properly for multi-byte
2507text. (Yukihiro Nakadaira)
2508
2509":s/\n/,/" doubled the text when used on the last line.
2510
2511When "search" is in 'foldopen' "[s" and "]s" now open folds.
2512
2513When using a numbered function "dict" can be omitted, but "self" didn't work
2514then. Always add FC_DICT to the function flags when it's part of a
2515dictionary.
2516
2517When "--remote-tab" executes locally it left an empty tab page.
2518
2519"gvim -u NONE", ":set cursorcolumn", "C" in the second line didn't update
2520text. Do update further lines even though the "$" is displayed.
2521
2522VMS: Support GTK better, also enable +clientserver. (Zoltan Arpadffy)
2523
2524When highlighting of statusline or tabline is changed there was no redraw to
2525show the effect.
2526
2527Mac: Added "CFBundleIdentifier" to infplist.xml.
2528
2529Added tabpage-local variables t:var.
2530
2531Win32: Added double-click in tab pages line creates new tab. (Yegappan
2532Lakshmanan)
2533
2534Motif: Added GUI tab pages line. (Yegappan Lakshmanan)
2535
2536Fixed crash when 'lines' was set to 1000 in a modeline.
2537
2538When init_spellfile() finds a writable directory in 'runtimepath' but it
2539doesn't contain a "spell" directory, create one.
2540
2541Win32: executable() also finds "xxd" in the directory where Vim was started,
2542but "!xxd" doesn't work. Append the Vim starting directory to $PATH.
2543
2544The tab page labels are shortened, directory names are reduced to a single
2545letter by default. Added the pathshorten() function to allow a user to do the
2546same.
2547
2548":saveas" now resets 'readonly' if the file was successfully written.
2549
2550Set $MYVIMRC file to the first found .vimrc file.
2551Set $MYGVIMRC file to the first found .gvimrc file.
2552Added menu item "Startup Settings" that edits the $MYVIMRC file
2553
2554Added matcharg().
2555
2556Error message E745 appeared twice. Renamed one to E786.
2557
2558Fixed crash when using "au BufRead * Sexplore" and doing ":help". Was wiping
2559out a buffer that's still in a window.
2560
2561":hardcopy" resulted in an error message when 'encoding' is "utf-8" and
2562'printencoding' is empty. Now it assumes latin1. (Mike Williams)
2563
2564The check for the toolbar feature for Motif, depending on certain included
2565files, wasn't detailed enough, causing building to fail in gui_xmebw.c.
2566
2567Using CTRL-E in Insert mode completion after CTRL-P inserted the first match
2568instead of the original text.
2569
2570When displaying a UTF-8 character with a zero lower byte Vim might think the
2571previous character is double-wide.
2572
2573The "nbsp" item of 'listchars' didn't work when 'encoding' was utf-8.
2574
2575Motif: when Xm/xpm.h is missing gui_xmebw.c would not compile.
2576HAVE_XM_UNHIGHLIGHTT_H was missing a T.
2577
2578Mac: Moved the .icns files into src/os_mac_rsrc, so that they can all be
2579copied at once. Adjusted the Info.plist file for three icons.
2580
2581When Visual mode is active while switching to another tabpage could get ml_get
2582errors.
2583
2584When 'list' is set, 'nowrap' the $ in the first column caused 'cursorcolumn'
2585to move to the right.
2586
2587When a line wraps, 'cursorcolumn' was never displayed past the end of the
2588line.
2589
Bram Moolenaar7b89edc2006-04-06 20:21:51 +00002590'autochdir' was only available when compiled with NetBeans and GUI. Now it's
2591a separate feature, also available in the "big" version.
2592
2593Added CTRL-W gf: open file under cursor in new tab page.
2594
2595When using the menu in the tab pages line, "New Tab" opens the new tab before
2596where the click was. Beyond the labels the new tab appears at the end instead
2597of after the current tab page.
2598
Bram Moolenaar61660ea2006-04-07 21:40:07 +00002599Inside a mapping with an expression getchar() could not be used.
2600
2601When vgetc is used recursively vgetc_busy protects it from being used
2602recursively. But after a ":normal" command the protection was reset.
2603
2604":s/a/b/n" didn't work when 'modifiable' was off.
2605
2606When $VIMRUNTIME includes a multi-byte character then rgb.txt could not be
2607found. (Yukihiro Nakadaira)
2608
2609":mkspell" didn't work correctly for non-ASCII affix flags when conversion is
2610needed on the spell file.
2611
2612glob('/dir/\$ABC/*') didn't work.
2613
Bram Moolenaarc6fe9192006-04-09 21:54:49 +00002614When using several tab pages and changing 'cmdheight' the display could become
2615messed up. Now store the value of 'cmdheight' separately for each tab page.
2616
Bram Moolenaar779b74b2006-04-10 14:55:34 +00002617The user of the Enter key while the popup menu is visible was still confusing.
2618Now use Enter to select the match after using a cursor key.
2619
2620Added "usetab" to 'switchbuf'.
2621
Bram Moolenaar4c3f5362006-04-11 21:38:50 +00002622
2623--- fixes and changes since Vim 7.0d ---
2624
2625Added CTRL-W T: move a window to a new tab page.
2626
2627Using CTRL-X s in Insert mode to complete spelling suggestions and using BS
2628deleted characters before the bad word.
2629
2630A few small fixes for the VMS makefile. (Zoltan Arpadffy)
2631
2632With a window of 91 lines 45 cols, ":vsp" scrolled the window. Copy w_wrow
2633when splitting a window and skip setting the height when it's already at the
2634right value.
2635
2636Using <silent> in a mapping with a shell command and the GUI caused redraw
2637to use wrong attributes.
2638
2639Win32: Using MSVC 4.1 for install.exe resulted in the start menu items to be
2640created in the administrator directory instead of "All Users". Define the
2641CSIDL_ items if they are missing.
2642
Bram Moolenaar18144c82006-04-12 21:52:12 +00002643Motif: The GUI tabline did not use the space above the right scrollbar. Work
2644around a bug in the Motif library. (Yegappan Lakshmanan)
2645
2646The extra files for XML Omni completion are now also installed.
2647|xml-omni-datafile|
2648
2649GTK GUI: when 'm' is missing from 'guioptions' during startup and pressing
2650<F10> GTK produced error messages. Now do create the menu but disable it just
2651after the first gui_mch_update().
2652
2653":mkspell" doesn't work well with the Hungarian dictionary from the Hunspell
2654project. Back to the Myspell dictionary.
2655
2656In help files hide the | used around tags.
2657
2658Renamed pycomplete to pythoncomplete.
2659
2660Added "tabpages" to 'sessionoptions'.
2661
2662When 'guitablabel' is set the effect wasn't visible right away.
2663
2664Fixed a few 'cindent' errors.
2665
Bram Moolenaar7fc904b2006-04-13 20:37:35 +00002666When completing menu names, e.g., after ":emenu", don't sort the entries but
2667keep them in the original order.
2668
2669Fixed a crash when editing a directory in diff mode. Don't trigger
2670autocommands when executing the diff command.
2671
2672Getting a keystroke could get stuck if 'encoding' is a multi-byte encoding and
2673typing a special key.
2674
2675When 'foldignore' is set the folds were not updated right away.
Bram Moolenaar4c3f5362006-04-11 21:38:50 +00002676
Bram Moolenaar9e54a0e2006-04-14 20:42:25 +00002677When a list is indexed with [a : b] and b was greater than the length an error
Bram Moolenaarb21e5842006-04-16 18:30:08 +00002678message was given. Now silently truncate the result.
Bram Moolenaar9e54a0e2006-04-14 20:42:25 +00002679
2680When using BS during Insert mode completion go back to the original text, so
2681that CTRL-N selects the first matching entry.
2682
Bram Moolenaarb21e5842006-04-16 18:30:08 +00002683Added the 'M' flag to 'cinoptions'.
Bram Moolenaar9e54a0e2006-04-14 20:42:25 +00002684
2685Win32: Make the "gvim --help" window appear in the middle of the screen
2686instead of at an arbitrary position. (Randall W. Morris)
2687
Bram Moolenaar8cacf352006-04-15 20:27:24 +00002688Added gettabwinvar() and settabwinvar().
2689
2690Command line completion: pressing <Tab> after ":e /usr/*" expands the whole
2691tree, because it becomes ":e /usr/**". Don't add a star if there already is
2692one.
2693
Bram Moolenaarb21e5842006-04-16 18:30:08 +00002694Added grey10 to grey90 to all GUIs, so that they can all be used for
2695initializing highlighting. Use grey40 for CursorColumn and CursorLine when
2696'background' is "dark".
2697
2698When reading a file and using iconv for conversion, an incomplete byte
2699sequence at the end caused problems. (Yukihiro Nakadaira)
2700
2701
2702--- fixes and changes since Vim 7.0e ---
2703
2704Default color for MatchParen when 'background' is "dark" is now DarkCyan.
2705
2706":syn off" had to be used twice in a file that sets 'syntax' in a modeline.
2707(Michael Geddes)
2708
2709When using ":vsp" or ":sp" the available space wasn't used equally between
2710windows. (Servatius Brandt)
2711
Bram Moolenaara93fa7e2006-04-17 22:14:47 +00002712Expanding <cWORD> on a trailing blank resulted in the first word in the line
2713if 'encoding' is a multi-byte encoding.
2714
2715Spell checking: spellbadword() didn't see a missing capital in the first word
2716of a line. Popup menu now only suggest the capitalized word when appropriate.
2717
Bram Moolenaarf9393ef2006-04-24 19:47:27 +00002718When using whole line completion CTRL-L moves through the matches but it
Bram Moolenaarc1e37902006-04-18 21:55:01 +00002719didn't work when at the original text.
2720
2721When completion finds the longest match, don't go to the first match but stick
2722at the original text, so that CTRL-N selects the first one.
2723
2724Recognize "zsh-beta" like "zsh" for setting the 'shellpipe' default. (James
2725Vega)
2726
2727When using ":map <expr>" and the expression results in something with a
2728special byte (NUL or CSI) then it didn't work properly. Now escape special
2729bytes.
2730
2731The default Visual highlighting for a color xterm with 8 colors was a magenta
2732background, which made magenta text disappear. Now use reverse in this
2733specific situation.
2734
2735After completing the longest match "." didn't insert the same text. Repeating
2736also didn't work correctly for multi-byte text.
2737
2738When using Insert mode completion and BS the whole word that was completed
2739would result in all possible matches. Now stop completion. Also fixes that
2740for spell completion the previous word was deleted.
2741
2742GTK: When 'encoding' is "latin1" and using non-ASCII characters in a file name
2743the tab page label was wrong and an error message would be given.
2744
2745The taglist() function could hang on a tags line with a non-ASCII character.
2746
Bram Moolenaar8424a622006-04-19 21:23:36 +00002747Win32: When 'encoding' differs from the system encoding tab page labels with
2748non-ASCII characters looked wrong. (Yegappan Lakshmanan)
2749
Bram Moolenaarfc1421e2006-04-20 22:17:20 +00002750Motif: building failed when Xm/Notebook.h doesn't exist. Added a configure
2751check, disable GUI tabline when it's missing.
2752
2753Mac: When compiled without multi-byte feature the clipboard didn't work.
2754
2755It was possible to switch to another tab page when the cmdline window is open.
2756
2757Completion could hang when 'lines' is 6 and a preview window was opened.
2758
Bram Moolenaar57657d82006-04-21 22:12:41 +00002759Added CTRL-W gF: open file under cursor in new tab page and jump to the line
2760number following the file name.
Bram Moolenaareb3593b2006-04-22 22:33:57 +00002761Added 'guitabtooltip'. Implemented for Win32 (Yegappan Lakshmanan).
Bram Moolenaar57657d82006-04-21 22:12:41 +00002762
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00002763Added "throw" to 'debug' option: throw an exception for error messages even
Bram Moolenaar57657d82006-04-21 22:12:41 +00002764whey they would otherwise be ignored.
2765
2766When 'keymap' is set and a line contains an invalid entry could get a "No
2767mapping found" warning instead of a proper error message.
2768
2769Motif: default to using XpmAttributes instead of XpmAttributes_21.
2770
Bram Moolenaareb3593b2006-04-22 22:33:57 +00002771A few more changes for 64 bit MS-Windows. (George Reilly)
2772
2773Got ml_get errors when doing "o" and selecting in other window where there are
Bram Moolenaarfcb7ab62010-07-20 11:16:17 +02002774less lines shorter than the cursor position in the other window. ins_mouse()
Bram Moolenaareb3593b2006-04-22 22:33:57 +00002775was using position in wrong window.
2776
2777Win32 GUI: Crash when giving a lot of messages during startup. Allocate twice
2778as much memory for the dialog template.
2779
2780Fixed a few leaks and wrong pointer use reported by coverity.
2781
2782When showing menus the mode character was sometimes wrong.
Bram Moolenaarfc1421e2006-04-20 22:17:20 +00002783
Bram Moolenaarf9393ef2006-04-24 19:47:27 +00002784Added feedkeys(). (Yakov Lerner)
2785
2786Made matchlist() always return all submatches.
2787
2788Moved triggering QuickFixCmdPost to before jumping to the first location.
2789
2790Mac: Added the 'macatsui' option as a temporary work around for text drawing
2791problems.
2792
2793Line completion on "/**" gave error messages when scanning an unloaded buffer.
Bram Moolenaar4a85b412006-04-23 22:40:29 +00002794
Bram Moolenaar551dbcc2006-04-25 22:13:59 +00002795--- fixes and changes since Vim 7.0f ---
2796
2797Win32: The height of the tab page labels is now adjusted to the font height.
2798(Yegappan Lakshmanan)
2799
2800Win32: selecting the tab label was off by one. (Yegappan Lakshmanan)
Bram Moolenaar4a85b412006-04-23 22:40:29 +00002801
Bram Moolenaar437df8f2006-04-27 21:47:44 +00002802Added tooltips for Motif and GTK tab page labels. (Yegappan Lakshmanan)
Bram Moolenaarf193fff2006-04-27 00:02:13 +00002803
2804When 'encoding' is "utf-8" then ":help spell" would report an illegal byte and
2805the file was not converted from latin1 to utf-8. Now retry with latin1 if
2806reading the file as utf-8 results in illegal bytes.
2807
Bram Moolenaarc93b83a2006-04-29 22:02:36 +00002808Escape the argument of feedkeys() before putting it in the typeahead buffer.
Bram Moolenaarf193fff2006-04-27 00:02:13 +00002809(Yukihiro Nakadaira)
2810
Bram Moolenaarc93b83a2006-04-29 22:02:36 +00002811Added the v:char variable for evaluating 'formatexpr'. (Yukihiro Nakadaira)
Bram Moolenaarf193fff2006-04-27 00:02:13 +00002812
2813With 8 colors Search highlighting combined with Statement highlighted text
2814made the text disappear.
2815
2816VMS: avoid warnings for redefining MAX and MIN. (Zoltan Arpadffy)
2817
2818When 'virtualedit' includes "onemore", stopping Visual selection would still
2819move the cursor left.
2820
2821Prevent that using CTRL-R = in Insert mode can start Visual mode.
2822
Bram Moolenaar49325942007-05-10 19:19:59 +00002823Fixed a crash that occurred when in Insert mode with completion active and a
Bram Moolenaarf193fff2006-04-27 00:02:13 +00002824mapping caused edit() to be called recursively.
2825
2826When using CTRL-O in Insert mode just after the last character while
2827'virtualedit' is "all", then typing CR moved the last character to the next
2828line. Call coladvance() before starting the new line.
2829
Bram Moolenaarc93b83a2006-04-29 22:02:36 +00002830When using |:shell| ignore clicks on the tab page labels. Also when using the
2831command line window.
Bram Moolenaarf193fff2006-04-27 00:02:13 +00002832
Bram Moolenaarc93b83a2006-04-29 22:02:36 +00002833When 'eventignore' is "all" then adding more to ignoring some events, e.g.,
2834for ":vimgrep", would actually trigger more events.
Bram Moolenaarf193fff2006-04-27 00:02:13 +00002835
2836Win32: When a running Vim uses server name GVIM1 then "gvim --remote fname"
Bram Moolenaarc93b83a2006-04-29 22:02:36 +00002837didn't find it. When looking for a server name that doesn't end in a digit
2838and it is not found then use another server with that name and a number (just
2839like on Unix).
Bram Moolenaarf193fff2006-04-27 00:02:13 +00002840
2841When using "double" in 'spellsuggest' when the language doesn't support sound
2842folding resulted in too many suggestions.
2843
Bram Moolenaarb2a460d2007-05-12 15:16:37 +00002844Win32: Dropping a shortcut on the Vim icon didn't edit the referred file like
Bram Moolenaarf193fff2006-04-27 00:02:13 +00002845editing it in another way would. Use fname_expand() in buf_set_name() instead
2846of simply make the file name a full path.
2847
Bram Moolenaar437df8f2006-04-27 21:47:44 +00002848Using feedkeys() could cause Vim to hang.
2849
2850When closing another tab page from the tabline menu in Insert mode the tabline
2851was not updated right away.
2852
2853The syntax menu didn't work in compatible mode.
2854
Bram Moolenaarc93b83a2006-04-29 22:02:36 +00002855After using ":tag id" twice with the same "id", ":ts" and then ":pop" a ":ts"
Bram Moolenaar437df8f2006-04-27 21:47:44 +00002856reported no matching tag. Clear the cached tag name.
2857
2858In Insert mode the matchparen plugin highlighted the wrong paren when there is
2859a string just next to a paren.
2860
Bram Moolenaar8ea91232006-04-28 22:41:43 +00002861GTK: After opening a new tab page the text was sometimes not drawn correctly.
2862Flush output and catch up with events when updating the tab page labels.
2863
Bram Moolenaarc93b83a2006-04-29 22:02:36 +00002864In the GUI, using CTRL-W q to close the last window of a tab page could cause
2865a crash.
Bram Moolenaar8ea91232006-04-28 22:41:43 +00002866
2867GTK: The tab pages line menu was not converted from 'encoding' to utf-8.
2868
Bram Moolenaarc93b83a2006-04-29 22:02:36 +00002869Typing a multi-byte character or a special key at the hit-enter prompt did not
2870work.
2871
2872When 'virtualedit' contains "onemore" CTRL-O in Insert mode still moved the
2873cursor left when it was after the end of the line, even though it's allowed to
2874be there.
2875
Bram Moolenaarc9b4b052006-04-30 18:54:39 +00002876Added test for using tab pages.
2877
2878towupper() and towlower() were not used, because of checking for
2879__STDC__ISO_10646__ instead of __STDC_ISO_10646__. (sertacyildiz)
2880
2881For ":map <expr>" forbid changing the text, jumping to another buffer and
2882using ":normal" to avoid nasty side effects.
2883
Bram Moolenaard68071d2006-05-02 22:08:30 +00002884--- fixes and changes since Vim 7.0g ---
2885
2886Compilation error on HP-UX, use of "dlerr" must be inside a #ifdef.
2887(Gary Johnson)
2888
2889Report +reltime feature in ":version" output.
2890
2891The tar and zip plugins detect failure to get the contents of the archive and
2892edit the file as-is.
2893
2894When the result of 'guitablabel' is empty fall back to the default label.
2895
2896Fixed crash when using ":insert" in a while loop and missing "endwhile".
2897
2898"gt" and other commands could move to another window when |textlock| active
2899and when the command line window was open.
2900
2901Spell checking a file with syntax highlighting and a bad word at the end of
2902the line is ignored could make "]s" hang.
2903
2904Mac: inputdialog() didn't work when compiled with big features.
2905
2906Interrupting ":vimgrep" while it is busy loading a file left a modified and
2907hidden buffer behind. Use enter_cleanup() and leave_cleanup() around
2908wipe_buffer().
2909
2910When making 'keymap' empty the b:keymap_name variable wasn't deleted.
2911
2912Using CTRL-N that searches a long time, pressing space to interrupt the
2913searching and accept the first match, the popup menu was still displayed
2914briefly.
2915
2916When setting the Vim window height with -geometry the 'window' option could be
2917at a value that makes CTRL-F behave differently.
2918
Bram Moolenaar8b2d9c42006-05-03 21:28:47 +00002919When opening a quickfix window in two tabs they used different buffers,
2920causing redrawing problems later. Now use the same buffer for all quickfix
2921windows. (Yegappan Lakshmanan)
2922
2923When 'mousefocus' is set moving the mouse to the text tab pages line would
2924move focus to the first window. Also, the mouse pointer would jump to the
2925active window.
2926
2927In a session file, when an empty buffer is wiped out, do this silently.
2928
2929When one window has the cursor on the last line and another window is resized
2930to make that window smaller, the cursor line could go below the displayed
2931lines. In win_new_height() subtract one from the available space.
2932Also avoid that using "~" lines makes the window scroll down.
2933
2934Mac: When sourcing the "macmap.vim" script and then finding a .vimrc file the
2935'cpo' option isn't set properly, because it was already set and restored.
2936Added the <special> argument to ":map", so that 'cpo' doesn't need to be
2937changed to be able to use <> notation. Also do this for ":menu" for
2938consistency.
2939
2940When using "/encoding=abc" in a spell word list, only "bc" was used.
2941
Bram Moolenaar54a709e2006-05-04 21:57:11 +00002942When 'encoding' and 'printencoding' were both "utf-8" then ":hardcopy" didn't
2943work. (Mike Williams)
2944
2945Mac: When building with "--disable-gui" the install directory would still be
2946"/Applications" and Vim.app would be installed. Now install in /usr/local as
2947usual for a console application.
2948
2949GUI: when doing completion and there is one match and still searching for
2950another, the cursor was displayed at the end of the line instead of after the
2951match. Now show the cursor after the match while still searching for matches.
2952
2953GUI: The mouse shape changed on the statusline even when 'mouse' was empty and
Bram Moolenaarfcb7ab62010-07-20 11:16:17 +02002954they can't be dragged.
Bram Moolenaar54a709e2006-05-04 21:57:11 +00002955
2956GTK2: Selecting a button in the confirm() dialog with Tab or cursor keys and
2957hitting Enter didn't select that button. Removed GTK 1 specific code. (Neil
2958Bird)
2959
2960When evaluating 'balloonexpr' takes a long time it could be called
2961recursively, which could cause a crash.
2962
2963exists() could not be used to detect whether ":2match" is supported. Added a
2964check for it specifically.
2965
Bram Moolenaar96351572006-05-05 21:16:59 +00002966GTK1: Tab page labels didn't work. (Yegappan Lakshmanan)
2967
2968Insert mode completion: When finding matches use 'ignorecase', but when adding
2969matches to the list don't use it, so that all words with different case are
2970added, "word", "Word" and "WORD".
2971
2972When 'cursorline' and 'hlsearch' are set and the search pattern is "x\n"
2973the rest of the line was highlighted as a match.
2974
2975Cursor moved while evaluating 'balloonexpr' that invokes ":isearch" and
2976redirects the output. Don't move the cursor to the command line if msg_silent
2977is set.
2978
2979exists() ignored text after a function name and option name, which could
2980result in false positives.
2981
2982exists() ignored characters after the recognized word, which can be wrong when
2983using a name with non-keyword characters. Specifically, these calls no longer
2984allow characters after the name: exists('*funcname') exists('*funcname(...')
2985exists('&option') exists(':cmd') exists('g:name') exists('g:name[n]')
2986exists('g:name.n')
2987
Bram Moolenaar2f567ab2006-05-06 21:47:30 +00002988Trigger the TabEnter autocommand only after entering the current window of the
2989tab page, otherwise the commands are executed with an invalid current window.
2990
2991Win32: When using two monitors and Vim is on the second monitor, changing the
2992width of the Vim window could make it jump to the first monitor.
2993
2994When scrolling back at the more prompt and the quitting a line of text would
2995be left behind when 'cmdheight' is 2 or more.
2996
Bram Moolenaar1423b9d2006-05-07 15:16:06 +00002997Fixed a few things for Insert mode completion, especially when typing BS,
2998CTRL-N or a printable character while still searching for matches.
2999
Bram Moolenaarf193fff2006-04-27 00:02:13 +00003000
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00003001==============================================================================
Bram Moolenaar7a329912010-05-21 12:05:36 +02003002VERSION 7.1 *version-7.1* *version7.1*
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00003003
3004This section is about improvements made between version 7.0 and 7.1.
3005
3006This is a bug-fix release, there are no fancy new features.
3007
3008
3009Changed *changed-7.1*
3010-------
3011
3012Added setting 'mouse' in vimrc_example.vim.
3013
3014When building with MZscheme also look for include files in the "plt"
3015subdirectory. That's where they are for FreeBSD.
3016
Bram Moolenaar49325942007-05-10 19:19:59 +00003017The Ruby interface module is now called "Vim" instead of "VIM". But "VIM" is
3018an alias, so it's backwards compatible. (Tim Pope)
3019
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00003020
3021Added *added-7.1*
3022-----
3023
3024New syntax files:
Bram Moolenaar49325942007-05-10 19:19:59 +00003025 /var/log/messages (Yakov Lerner)
Bram Moolenaarb2a460d2007-05-12 15:16:37 +00003026 Autohotkey (Nikolai Weibull)
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00003027 AutoIt v3 (Jared Breland)
3028 Bazaar commit file "bzr". (Dmitry Vasiliev)
Bram Moolenaar49325942007-05-10 19:19:59 +00003029 Cdrdao TOC (Nikolai Weibull)
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00003030 Cmusrc (Nikolai Weibull)
Bram Moolenaarb2a460d2007-05-12 15:16:37 +00003031 Conary recipe (rPath Inc)
3032 Framescript (Nikolai Weibull)
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00003033 FreeBasic (Mark Manning)
3034 Hamster (David Fishburn)
3035 IBasic (Mark Manning)
Bram Moolenaarb2a460d2007-05-12 15:16:37 +00003036 Initng (Elan Ruusamae)
Bram Moolenaar49325942007-05-10 19:19:59 +00003037 Ldapconf (Nikolai Weibull)
3038 Litestep (Nikolai Weibull)
Bram Moolenaarb2a460d2007-05-12 15:16:37 +00003039 Privoxy actions file (Doug Kearns)
3040 Streaming Descriptors "sd" (Puria Nafisi Azizi)
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00003041
3042New tutor files:
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00003043 Czech (Lubos Turek)
Bram Moolenaarb2a460d2007-05-12 15:16:37 +00003044 Hungarian (Arpad Horvath)
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00003045 Turkish (Serkan kkk)
3046 utf-8 version of Greek tutor.
3047 utf-8 version of Russian tutor.
3048 utf-8 version of Slowak tutor.
3049
3050New filetype plugins:
3051 Bst (Tim Pope)
3052 Cobol (Tim Pope)
3053 Fvwm (Gautam Iyer)
3054 Hamster (David Fishburn)
3055 Django HTML template (Dave Hodder)
3056
3057New indent files:
3058 Bst (Tim Pope)
3059 Cobol (Tim Pope)
3060 Hamster (David Fishburn)
3061 Django HTML template (Dave Hodder)
3062 Javascript
3063 JSP (David Fishburn)
3064
3065New keymap files:
3066 Bulgarian (Boyko Bantchev)
3067 Mongolian (Natsagdorj Shagdar)
3068 Thaana (Ibrahim Fayaz)
3069 Vietnamese (Samuel Thibault)
3070
3071Other new runtime files:
3072 Ada support files. (Neil Bird, Martin Krischik)
3073 Slovenian menu translations (Mojca Miklavec)
3074 Mono C# compiler plugin (Jarek Sobiecki)
3075
3076
3077Fixed *fixed-7.1*
3078-----
3079
3080Could not build the Win32s version. Added a few structure definitions in
3081src/gui_w32.c
3082
3083
3084Patch 7.0.001
3085Problem: ":set spellsuggest+=10" does not work. (Suresh Govindachar)
3086Solution: Add P_COMMA to the 'spellsuggest' flags.
3087Files: src/option.c
3088
3089Patch 7.0.002
3090Problem: C omni completion has a problem with tags files with a path
3091 containing "#" or "%".
3092Solution: Escape these characters. (Sebastian Baberowski)
3093Files: runtime/autoload/ccomplete.vim
3094
3095Patch 7.0.003
3096Problem: GUI: clicking in the lower part of a label in the tab pages line
3097 while 'mousefocus' is set may warp the mouse pointer. (Robert
3098 Webb)
3099Solution: Check for a negative mouse position.
3100Files: src/gui.c
3101
3102Patch 7.0.004
3103Problem: Compiler warning for debug_saved used before set. (Todd Blumer)
3104Solution: Remove the "else" for calling save_dbg_stuff().
3105Files: src/ex_docmd.c
3106
3107Patch 7.0.005 (extra)
3108Problem: Win32: The installer doesn't remove the "autoload" and "spell"
3109 directories. (David Fishburn)
3110Solution: Add the directories to the list to be removed.
3111Files: nsis/gvim.nsi
3112
3113Patch 7.0.006
3114Problem: Mac: "make shadow" doesn't make a link for infplist.xml. (Axel
3115 Kielhorn)
3116Solution: Make the link.
3117Files: src/Makefile
3118
3119Patch 7.0.007
3120Problem: AIX: compiling fails for message.c. (Ruediger Hornig)
3121Solution: Move the #if outside of memchr().
3122Files: src/message.c
3123
3124Patch 7.0.008
3125Problem: Can't call a function that uses both <SID> and {expr}. (Thomas)
3126Solution: Check both the expanded and unexpanded name for <SID>.
3127Files: src/eval.c
3128
3129Patch 7.0.009
3130Problem: ml_get errors with both 'sidescroll' and 'spell' set.
3131Solution: Use ml_get_buf() instead of ml_get(), get the line from the right
3132 buffer, not the current one.
3133Files: src/spell.c
3134
3135Patch 7.0.010
3136Problem: The spellfile plugin required typing login name and password.
3137Solution: Use "anonymous" and "vim7user" by default. No need to setup a
3138 .netrc file.
3139Files: runtime/autoload/spellfile.vim
3140
3141Patch 7.0.011
3142Problem: Can't compile without the folding and with the eval feature.
3143Solution: Add an #ifdef. (Vallimar)
3144Files: src/option.c
3145
3146Patch 7.0.012
3147Problem: Using the matchparen plugin, moving the cursor in Insert mode to a
3148 shorter line that ends in a brace, changes the preferred column
3149Solution: Use winsaveview()/winrestview() instead of getpos()/setpos().
3150Files: runtime/plugin/matchparen.vim
3151
3152Patch 7.0.013
3153Problem: Insert mode completion: using CTRL-L to add an extra character
3154 also deselects the current match, making it impossible to use
3155 CTRL-L a second time.
3156Solution: Keep the current match. Also make CTRL-L work at the original
3157 text, using the first displayed match.
3158Files: src/edit.c
3159
3160Patch 7.0.014
3161Problem: Compiling gui_xmebw.c fails on Dec Alpha Tru64. (Rolfe)
3162Solution: Disable some code for Motif 1.2 and older.
3163Files: src/gui_xmebw.c
3164
3165Patch 7.0.015
3166Problem: Athena: compilation problems with modern compiler.
3167Solution: Avoid type casts for lvalue. (Alexey Froloff)
3168Files: src/gui_at_fs.c
3169
3170Patch 7.0.016
3171Problem: Printing doesn't work for "dec-mcs" encoding.
3172Solution: Add "dec-mcs", "mac-roman" and "hp-roman8" to the list of
3173 recognized 8-bit encodings. (Mike Williams)
3174Files: src/mbyte.c
3175
3176Patch 7.0.017 (after 7.0.014)
3177Problem: Linking gui_xmebw.c fails on Dec Alpha Tru64. (Rolfe)
3178Solution: Adjust defines for Motif 1.2 and older.
3179Files: src/gui_xmebw.c
3180
3181Patch 7.0.018
3182Problem: VMS: plugins are not loaded on startup.
3183Solution: Remove "**" from the path. (Zoltan Arpadffy)
3184Files: src/main.c
3185
3186Patch 7.0.019
3187Problem: Repeating "VjA789" may cause a crash. (James Vega)
3188Solution: Check the cursor column after moving it to another line.
3189Files: src/ops.c
3190
3191Patch 7.0.020
3192Problem: Crash when using 'mousefocus'. (William Fulton)
3193Solution: Make buffer for mouse coordinates 2 bytes longer. (Juergen Weigert)
3194Files: src/gui.c
3195
3196Patch 7.0.021
3197Problem: Crash when using "\\[" and "\\]" in 'errorformat'. (Marc Weber)
3198Solution: Check for valid submatches after matching the pattern.
3199Files: src/quickfix.c
3200
3201Patch 7.0.022
3202Problem: Using buffer.append() in Ruby may append the line to the wrong
3203 buffer. (Alex Norman)
3204Solution: Properly switch to the buffer to do the appending. Also for
3205 buffer.delete() and setting a buffer line.
3206Files: src/if_ruby.c
3207
3208Patch 7.0.023
3209Problem: Crash when doing spell completion in an empty line and pressing
3210 CTRL-E.
3211Solution: Check for a zero pointer. (James Vega)
3212 Also handle a situation without a matching pattern better, report
3213 "No matches" instead of remaining in undefined CTRL-X mode. And
3214 get out of CTRL-X mode when typing a letter.
3215Files: src/edit.c
3216
3217Patch 7.0.024
3218Problem: It is possible to set arbitrary "v:" variables.
3219Solution: Disallow setting "v:" variables that are not predefined.
3220Files: src/eval.c
3221
3222Patch 7.0.025
3223Problem: Crash when removing an element of a:000. (Nikolai Weibull)
3224Solution: Mark the a:000 list with VAR_FIXED.
3225Files: src/eval.c
3226
3227Patch 7.0.026
3228Problem: Using libcall() may show an old error.
3229Solution: Invoke dlerror() to clear a previous error. (Yukihiro Nakadaira)
3230Files: src/os_unix.c
3231
3232Patch 7.0.027 (extra)
3233Problem: Win32: When compiled with SNIFF gvim may hang on exit.
3234Solution: Translate and dispatch the WM_USER message. (Mathias Michaelis)
3235Files: src/gui_w48.c
3236
3237Patch 7.0.028 (extra)
3238Problem: OS/2: Vim doesn't compile with gcc 3.2.1.
3239Solution: Add argument to after_pathsep(), don't define vim_handle_signal(),
3240 define HAVE_STDARG_H. (David Sanders)
3241Files: src/os_unix.c, src/vim.h, src/os_os2_cfg.h
3242
3243Patch 7.0.029
3244Problem: getchar() may not position the cursor after a space.
3245Solution: Position the cursor explicitly.
3246Files: src/eval.c
3247
3248Patch 7.0.030
3249Problem: The ":compiler" command can't be used in a FileChangedRO event.
3250 (Hari Krishna Dara)
3251Solution: Add the CMDWIN flag to the ":compiler" command.
3252Files: src/ex_cmds.h
3253
3254Patch 7.0.031
3255Problem: When deleting a buffer the buffer-local mappings for Select mode
3256 remain.
3257Solution: Add the Select mode bit to MAP_ALL_MODES. (Edwin Steiner)
3258Files: src/vim.h
3259
3260Patch 7.0.032 (extra, after 7.0.027)
3261Problem: Missing semicolon.
3262Solution: Add the semicolon.
3263Files: src/gui_w48.c
3264
3265Patch 7.0.033
3266Problem: When pasting text, with the menu or CTRL-V, autoindent is removed.
3267Solution: Use "x<BS>" to avoid indent to be removed. (Benji Fisher)
3268Files: runtime/autoload/paste.vim
3269
3270Patch 7.0.034
3271Problem: After doing completion and typing more characters or using BS
3272 repeating with "." didn't work properly. (Martin Stubenschrott)
3273Solution: Don't put BS and other characters in the redo buffer right away,
3274 do this when finishing completion.
3275Files: src/edit.c
3276
3277Patch 7.0.035
3278Problem: Insert mode completion works when typed but not when replayed from
3279 a register. (Hari Krishna Dara)
3280 Also: Mappings for Insert mode completion don't always work.
3281Solution: When finding a non-completion key in the input don't interrupt
3282 completion when it wasn't typed.
3283 Do use mappings when checking for typeahead while still finding
3284 completions. Avoids that completion is interrupted too soon.
3285 Use "compl_pending" in a different way.
3286Files: src/edit.c
3287
3288Patch 7.0.036
3289Problem: Can't compile with small features and syntax highlighting or the
3290 diff feature.
3291Solution: Define LINE_ATTR whenever syntax highlighting or the diff feature
3292 is enabled.
3293Files: src/screen.c
3294
3295Patch 7.0.037
3296Problem: Crash when resizing the GUI window vertically when there is a line
3297 that doesn't fit.
3298Solution: Don't redraw while the screen data is invalid.
3299Files: src/screen.c
3300
3301Patch 7.0.038
3302Problem: When calling complete() from an Insert mode expression mapping
3303 text could be inserted in an improper way.
3304Solution: Make undo_allowed() global and use it in complete().
3305Files: src/undo.c, src/proto/undo.pro, src/eval.c
3306
3307Patch 7.0.039
3308Problem: Calling inputdialog() with a third argument in the console doesn't
3309 work.
3310Solution: Make a separate function for input() and inputdialog(). (Yegappan
3311 Lakshmanan)
3312Files: src/eval.c
3313
3314Patch 7.0.040
3315Problem: When 'cmdheight' is larger than 1 using inputlist() or selecting
3316 a spell suggestion with the mouse gets the wrong entry.
3317Solution: Start listing the first alternative on the last line of the screen.
3318Files: src/eval.c, src/spell.c
3319
3320Patch 7.0.041
3321Problem: cursor([1, 1]) doesn't work. (Peter Hodge)
3322Solution: Allow leaving out the third item of the list and use zero for the
3323 virtual column offset.
3324Files: src/eval.c
3325
3326Patch 7.0.042
3327Problem: When pasting a block of text in Insert mode Vim hangs or crashes.
3328 (Noam Halevy)
3329Solution: Avoid that the cursor is positioned past the NUL of a line.
3330Files: src/ops.c
3331
3332Patch 7.0.043
3333Problem: Using "%!" at the start of 'statusline' doesn't work.
3334Solution: Recognize the special item when the option is being set.
3335Files: src/option.c
3336
3337Patch 7.0.044
3338Problem: Perl: setting a buffer line in another buffer may result in
3339 changing the current buffer.
3340Solution: Properly change to the buffer to be changed.
3341Files: src/if_perl.xs
3342
3343Patch 7.0.045 (extra)
3344Problem: Win32: Warnings when compiling OLE version with MSVC 2005.
3345Solution: Move including vim.h to before windows.h. (Ilya Bobir)
3346Files: src/if_ole.cpp
3347
3348Patch 7.0.046
3349Problem: The matchparen plugin ignores parens in strings, but not in single
3350 quotes, often marked with "character".
3351Solution: Also ignore parens in syntax items matching "character".
3352Files: runtime/plugin/matchparen.vim
3353
3354Patch 7.0.047
3355Problem: When running configure the exit status is wrong.
3356Solution: Handle the exit status properly. (Matthew Woehlke)
3357Files: configure, src/configure
3358
3359Patch 7.0.048
3360Problem: Writing a compressed file fails when there are parens in the name.
3361 (Wang Jian)
3362Solution: Put quotes around the temp file name.
3363Files: runtime/autoload/gzip.vim
3364
3365Patch 7.0.049
3366Problem: Some TCL scripts are not recognized. (Steven Atkinson)
3367Solution: Check for "exec wish" in the file.
3368Files: runtime/scripts.vim
3369
3370Patch 7.0.050
3371Problem: After using the netbeans interface close command a stale pointer
3372 may be used.
3373Solution: Clear the pointer to the closed buffer. (Xaview de Gaye)
3374Files: src/netbeans.c
3375
3376Patch 7.0.051 (after 7.0.44)
3377Problem: The Perl interface doesn't compile or doesn't work properly.
3378Solution: Remove the spaces before #ifdef and avoid an empty line above it.
3379Files: src/if_perl.xs
3380
3381Patch 7.0.052
3382Problem: The user may not be aware that the Vim server allows others more
3383 functionality than desired.
3384Solution: When running Vim as root don't become a Vim server without an
3385 explicit --servername argument.
3386Files: src/main.c
3387
3388Patch 7.0.053
3389Problem: Shortening a directory name may fail when there are multi-byte
3390 characters.
3391Solution: Copy the correct bytes. (Titov Anatoly)
3392Files: src/misc1.c
3393
3394Patch 7.0.054
3395Problem: Mac: Using a menu name that only has a mnemonic or accelerator
3396 causes a crash. (Elliot Shank)
3397Solution: Check for an empty menu name. Also delete empty submenus that
3398 were created before detecting the error.
3399Files: src/menu.c
3400
3401Patch 7.0.055
3402Problem: ":startinsert" in a CmdwinEnter autocommand doesn't take immediate
3403 effect. (Bradley White)
3404Solution: Put a NOP key in the typeahead buffer. Also avoid that using
3405 CTRL-C to go back to the command line moves the cursor left.
3406Files: src/edit.c, src/ex_getln.c
3407
3408Patch 7.0.056
3409Problem: "#!something" gives an error message.
3410Solution: Ignore this line, so that it can be used in an executable Vim
3411 script.
3412Files: src/ex_docmd.c
3413
3414Patch 7.0.057 (extra, after 7.0.45)
3415Problem: Win32: Compilation problem with Borland C 5.5.
3416Solution: Include vim.h as before. (Mark S. Williams)
3417Files: src/if_ole.cpp
3418
3419Patch 7.0.058
Bram Moolenaarc236c162008-07-13 17:41:49 +00003420Problem: The gbk and gb18030 encodings are not recognized.
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00003421Solution: Add aliases to cp936. (Edward L. Fox)
3422Files: src/mbyte.c
3423
3424Patch 7.0.059
3425Problem: The Perl interface doesn't compile with ActiveState Perl 5.8.8.
3426Solution: Remove the __attribute__() items. (Liu Yubao)
3427Files: src/if_perl.xs
3428
3429Patch 7.0.060 (after 7.0.51)
3430Problem: Code for temporarily switching to another buffer is duplicated in
3431 quite a few places.
3432Solution: Use aucmd_prepbuf() and aucmd_restbuf() also when FEAT_AUTOCMD is
3433 not defined.
3434Files: src/buffer.c, src/eval.c, src/fileio.c, src/if_ruby.c,
3435 src/if_perl.xs, src/quickfix.c, src/structs.h
3436
3437Patch 7.0.061
3438Problem: Insert mode completion for Vim commands may crash if there is
3439 nothing to complete.
3440Solution: Instead of freeing the pattern make it empty, so that a "not
3441 found" error is given. (Yukihiro Nakadaira)
3442Files: src/edit.c
3443
3444Patch 7.0.062
3445Problem: Mac: Crash when using the popup menu for spell correction. The
3446 popup menu appears twice when letting go of the right mouse button
3447 early.
3448Solution: Don't show the popup menu on the release of the right mouse
3449 button. Also check that a menu pointer is actually valid.
3450Files: src/proto/menu.pro, src/menu.c, src/normal.c, src/term.c
3451
3452Patch 7.0.063
3453Problem: Tiny chance for a memory leak. (coverity)
3454Solution: Free pointer when next memory allocation fails.
3455Files: src/eval.c
3456
3457Patch 7.0.064
3458Problem: Using uninitialized variable. (Tony Mechelynck)
3459Solution: When not used set "temp" to zero. Also avoid a warning for
3460 "files" in ins_compl_dictionaries().
3461Files: src/edit.c
3462
3463Patch 7.0.065 (extra)
3464Problem: Mac: left-right movement of the scrollwheel causes up-down
3465 scrolling.
3466Solution: Ignore mouse wheel events that are not up-down. (Nicolas Weber)
3467Files: src/gui_mac.c
3468
3469Patch 7.0.066
3470Problem: After the popup menu for Insert mode completion overlaps the tab
3471 pages line it is not completely removed.
3472Solution: Redraw the tab pages line after removing the popup menu. (Ori
3473 Avtalion)
3474Files: src/popupmnu.c
3475
3476Patch 7.0.067
3477Problem: Undo doesn't always work properly when using "scim" input method.
3478 Undo is split up when using preediting.
3479Solution: Reset xim_has_preediting also when preedit_start_col is not
3480 MAXCOL. Don't split undo when <Left> is used while preediting.
3481 (Yukihiro Nakadaira)
3482Files: src/edit.c, src/mbyte.c
3483
3484Patch 7.0.068
3485Problem: When 'ignorecase' is set and using Insert mode completion,
3486 typing characters to change the list of matches, case is not
3487 ignored. (Hugo Ahlenius)
3488Solution: Store the 'ignorecase' flag with the matches where needed.
3489Files: src/edit.c, src/search.c, src/spell.c
3490
3491Patch 7.0.069
3492Problem: Setting 'guitablabel' to %!expand(\%) causes Vim to free an
3493 invalid pointer. (Kim Schulz)
3494Solution: Don't try freeing a constant string pointer.
3495Files: src/buffer.c
3496
3497Patch 7.0.070
3498Problem: Compiler warnings for shadowed variables and uninitialized
3499 variables.
3500Solution: Rename variables such as "index", "msg" and "dup". Initialize
3501 variables.
3502Files: src/edit.c, src/eval.c, src/ex_cmds.c, src/ex_cmds2.c,
3503 src/ex_docmd.c, src/gui_beval.c, src/gui_gtk.c, src/gui_gtk_x11.c,
3504 src/hardcopy.c, src/if_cscope.c, src/main.c, src/mbyte.c,
3505 src/memline.c, src/netbeans.c, src/normal.c, src/option.c,
3506 src/os_unix.c, src/quickfix.c, src/regexp.c, src/screen.c,
3507 src/search.c, src/spell.c, src/ui.c, src/undo.c, src/window.c,
3508 src/version.c
3509
3510Patch 7.0.071
3511Problem: Using an empty search pattern may cause a crash.
3512Solution: Avoid using a NULL pointer.
3513Files: src/search.c
3514
3515Patch 7.0.072
3516Problem: When starting the GUI fails there is no way to adjust settings or
3517 do something else.
3518Solution: Add the GUIFailed autocommand event.
3519Files: src/fileio.c, src/gui.c, src/vim.h
3520
3521Patch 7.0.073
3522Problem: Insert mode completion: Typing <CR> sometimes selects the original
3523 text instead of keeping what was typed. (Justin Constantino)
3524Solution: Don't let <CR> select the original text if there is no popup menu.
3525Files: src/edit.c
3526
3527Patch 7.0.074 (extra)
3528Problem: Win32: tooltips were not converted from 'encoding' to Unicode.
3529Solution: Set the tooltip to use Unicode and do the conversion. Also
3530 cleanup the code for the tab pages tooltips. (Yukihiro Nakadaira)
3531Files: src/gui_w32.c, src/gui_w48.c
3532
3533Patch 7.0.075
3534Problem: winsaveview() did not store the actual value of the desired cursor
3535 column. This could move the cursor in the matchparen plugin.
3536Solution: Call update_curswant() before using the value w_curswant.
3537Files: src/eval.c
3538
3539Patch 7.0.076 (after 7.0.010)
3540Problem: Automatic downloading of spell files only works for ftp.
3541Solution: Don't add login and password for non-ftp URLs. (Alexander Patrakov)
3542Files: runtime/autoload/spellfile.vim
3543
3544Patch 7.0.077
3545Problem: ":unlet v:this_session" causes a crash. (Marius Roets)
3546Solution: When trying to unlet a fixed variable give an error message.
3547Files: src/eval.c
3548
3549Patch 7.0.078
3550Problem: There are two error messages E46.
3551Solution: Change the number for the sandbox message to E794.
3552Files: src/globals.h
3553
3554Patch 7.0.079
3555Problem: Russian tutor doesn't work when 'encoding' is "utf-8".
3556Solution: Use tutor.ru.utf-8 as the master, and generate the other encodings
3557 from it. Select the right tutor depending on 'encoding'. (Alexey
3558 Froloff)
3559Files: runtime/tutor/Makefile, runtime/tutor/tutor.vim,
3560 runtime/tutor/tutor.ru.utf-8
3561
3562Patch 7.0.080
3563Problem: Generating auto/pathdef.c fails for CFLAGS with a backslash.
3564Solution: Double backslashes in the string. (Alexey Froloff)
3565Files: src/Makefile
3566
3567Patch 7.0.081
3568Problem: Command line completion doesn't work for a shell command with an
3569 absolute path.
3570Solution: Don't use $PATH when there is an absolute path.
3571Files: src/ex_getln.c
3572
3573Patch 7.0.082
3574Problem: Calling a function that waits for input may cause List and
3575 Dictionary arguments to be freed by the garbage collector.
3576Solution: Keep a list of all arguments to internal functions.
3577Files: src/eval.c
3578
3579Patch 7.0.083
3580Problem: Clicking with the mouse on an item for inputlist() doesn't work
3581 when 'compatible' is set and/or when 'cmdheight' is more than one.
3582 (Christian J. Robinson)
3583Solution: Also decrement "lines_left" when 'more' isn't set. Set
3584 "cmdline_row" to zero to get all mouse events.
3585Files: src/message.c, src/misc1.c
3586
3587Patch 7.0.084
3588Problem: The garbage collector may do its work while some Lists or
3589 Dictionaries are used internally, e.g., by ":echo" that runs into
3590 the more-prompt or ":echo [garbagecollect()]".
3591Solution: Only do garbage collection when waiting for a character at the
3592 toplevel. Let garbagecollect() set a flag that is handled at the
3593 toplevel before waiting for a character.
3594Files: src/eval.c, src/getchar.c, src/globals.h, src/main.c
3595
3596Patch 7.0.085
3597Problem: When doing "make test" the viminfo file is modified.
Bram Moolenaar9b451252012-08-15 17:43:31 +02003598Solution: Use another viminfo file after setting 'compatible'.
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00003599Files: src/testdir/test56.in
3600
3601Patch 7.0.086
3602Problem: getqflist() returns entries for pattern and text with the number
3603 zero. Passing these to setqflist() results in the string "0".
3604Solution: Use an empty string instead of the number zero.
3605Files: src/quickfix.c
3606
3607Patch 7.0.087
3608Problem: After ":file fname" and ":saveas fname" the 'autochdir' option
3609 does not take effect. (Yakov Lerner)
3610 Commands for handling 'autochdir' are repeated many times.
3611Solution: Add the DO_AUTOCHDIR macro and do_autochdir(). Use it for
3612 ":file fname" and ":saveas fname".
3613Files: src/proto/buffer.pro, src/buffer.c, src/ex_cmds.c, src/macros.h,
3614 src/netbeans.c, src/option.c, src/window.c
3615
3616Patch 7.0.088
3617Problem: When compiled with Perl the generated prototypes have "extern"
3618 unnecessarily added.
3619Solution: Remove the "-pipe" argument from PERL_CFLAGS.
3620Files: src/auto/configure, src/configure.in
3621
3622Patch 7.0.089
3623Problem: "ga" does not work properly for a non-Unicode multi-byte encoding.
3624Solution: Only check for composing chars for utf-8. (Taro Muraoka)
3625Files: src/ex_cmds.c
3626
3627Patch 7.0.090
3628Problem: Cancelling the conform() dialog on the console with Esc requires
3629 typing it twice. (Benji Fisher)
3630Solution: When the start of an escape sequence is found use 'timeoutlen' or
3631 'ttimeoutlen'.
3632Files: src/misc1.c
3633
3634Patch 7.0.091
3635Problem: Using winrestview() while 'showcmd' is set causes the cursor to be
3636 displayed in the wrong position. (Yakov Lerner)
3637Solution: Set the window topline properly.
3638Files: src/eval.c
3639
3640Patch 7.0.092 (after 7.0.082 and 7.0.084)
3641Problem: The list of internal function arguments is obsolete now that
3642 garbage collection is only done at the toplevel.
3643Solution: Remove the list of all arguments to internal functions.
3644Files: src/eval.c
3645
3646Patch 7.0.093
3647Problem: The matchparen plugin can't handle a 'matchpairs' value where a
3648 colon is matched.
3649Solution: Change the split() that is used to change 'matchpairs' into a
3650 List.
3651Files: runtime/plugin/matchparen.vim
3652
3653Patch 7.0.094
3654Problem: When a hidden buffer is made the current buffer and another file
3655 edited later, the file message will still be given. Using
3656 ":silent" also doesn't prevent the file message. (Marvin Renich)
3657Solution: Reset the need_fileinfo flag when reading a file. Don't set
3658 need_fileinfo when msg_silent is set.
3659Files: src/buffer.c, src/fileio.c
3660
3661Patch 7.0.095
3662Problem: The Greek tutor is not available in utf-8. "el" is used for the
3663 language, only "gr" for the country is recognized.
3664Solution: Add the utf-8 Greek tutor. Use it for conversion to iso-8859-7
3665 and cp737. (Lefteris Dimitroulakis)
3666Files: runtime/tutor/Makefile, runtime/tutor/tutor.gr.utf-8,
3667 runtime/tutor/tutor.vim
3668
3669Patch 7.0.096
3670Problem: taglist() returns the filename relative to the tags file, while
3671 the directory of the tags file is unknown. (Hari Krishna Dara)
3672Solution: Expand the file name. (Yegappan Lakshmanan)
3673Files: src/tag.c
3674
3675Patch 7.0.097
3676Problem: ":tabclose N" that closes another tab page does not remove the tab
3677 pages line. Same problem when using the mouse.
3678Solution: Adjust the tab pages line when needed in tabpage_close_other().
3679Files: src/ex_docmd.c
3680
3681Patch 7.0.098
3682Problem: Redirecting command output in a cmdline completion function
3683 doesn't work. (Hari Krishna Dara)
3684Solution: Enable redirection when redirection is started.
3685Files: src/ex_docmd.c, src/ex_getln.c
3686
3687Patch 7.0.099
3688Problem: GUI: When the popup menu is visible using the scrollbar messes up
3689 the display.
3690Solution: Disallow scrolling the current window. Redraw the popup menu
3691 after scrolling another window.
3692Files: src/gui.c
3693
3694Patch 7.0.100
3695Problem: "zug" may report the wrong filename. (Lawrence Kesteloot)
3696Solution: Call home_replace() to fill NameBuff[].
3697Files: src/spell.c
3698
3699Patch 7.0.101
3700Problem: When the "~/.vim/spell" directory does not exist "zg" may create
3701 a wrong directory. "zw" doesn't work.
3702Solution: Use the directory of the file name instead of NameBuff. For "zw"
3703 not only remove a good word but also add the word with "!".
3704Files: src/spell.c
3705
3706Patch 7.0.102
3707Problem: Redrawing cmdline is not correct when using SCIM.
3708Solution: Don't call im_get_status(). (Yukihiro Nakadaira)
3709Files: src/ex_getln.c
3710
3711Patch 7.0.103 (after 7.0.101)
3712Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
3713Solution: Init variable.
3714Files: src/spell.c
3715
3716Patch 7.0.104
3717Problem: The CursorHoldI event only triggers once in Insert mode. It also
3718 triggers after CTRL-V and other two-key commands.
3719Solution: Set "did_cursorhold" before getting a second key. Reset
3720 "did_cursorhold" after handling a command.
3721Files: src/edit.c, src/fileio.c
3722
3723Patch 7.0.105
3724Problem: When using incremental search the statusline ruler isn't updated.
3725 (Christoph Koegl)
3726Solution: Update the statusline when it contains the ruler.
3727Files: src/ex_getln.c
3728
3729Patch 7.0.106
3730Problem: The spell popup menu uses ":amenu", triggering mappings. Other
3731 PopupMenu autocommands are removed. (John Little)
3732Solution: Use ":anoremenu" and use an autocmd group.
3733Files: runtime/menu.vim
3734
3735Patch 7.0.107
3736Problem: Incremental search doesn't redraw the text tabline. (Ilya Bobir)
3737 Also happens in other situations with one window in a tab page.
3738Solution: Redraw the tabline after clearing the screen.
3739Files: src/screen.c
3740
3741Patch 7.0.108 (extra)
3742Problem: Amiga: Compilation problem.
3743Solution: Have mch_mkdir() return a failure flag. (Willy Catteau)
3744Files: src/os_amiga.c, src/proto/os_amiga.pro
3745
3746Patch 7.0.109
3747Problem: Lisp indenting is confused by escaped quotes in strings. (Dorai
3748 Sitaram)
3749Solution: Check for backslash inside strings. (Sergey Khorev)
3750Files: src/misc1.c
3751
3752Patch 7.0.110
3753Problem: Amiga: Compilation problems when not using libnix.
3754Solution: Change a few #ifdefs. (Willy Catteau)
3755Files: src/memfile.c
3756
3757Patch 7.0.111
3758Problem: The gzip plugin can't handle filenames with single quotes.
3759Solution: Add and use the shellescape() function. (partly by Alexey Froloff)
3760Files: runtime/autoload/gzip.vim, runtime/doc/eval.txt, src/eval.c,
3761 src/mbyte.c, src/misc2.c, src/proto/misc2.pro
3762
3763Patch 7.0.112
3764Problem: Python interface does not work with Python 2.5.
3765Solution: Change PyMem_DEL() to Py_DECREF(). (Sumner Hayes)
3766Files: src/if_python.c
3767
3768Patch 7.0.113
3769Problem: Using CTRL-L in Insert completion when there is no current match
3770 may cause a crash. (Yukihiro Nakadaira)
3771Solution: Check for compl_leader to be NULL
3772Files: src/edit.c
3773
3774Patch 7.0.114
3775Problem: When aborting an insert with CTRL-C an extra undo point is
3776 created in the GUI. (Yukihiro Nakadaira)
3777Solution: Call gotchars() only when advancing.
3778Files: src/getchar.c
3779
3780Patch 7.0.115
3781Problem: When 'ignorecase' is set, Insert mode completion only adds "foo"
3782 and not "Foo" when both are found.
3783 A found match isn't displayed right away when 'completeopt' does
3784 not have "menu" or "menuone".
3785Solution: Do not ignore case when checking if a completion match already
3786 exists. call ins_compl_check_keys() also when not using a popup
3787 menu. (Yukihiro Nakadaira)
3788Files: src/edit.c
3789
3790Patch 7.0.116
3791Problem: 64 bit Windows version reports "32 bit" in the ":version" output.
3792 (M. Veerman)
3793Solution: Change the text for Win64.
3794Files: src/version.c
3795
3796Patch 7.0.117
3797Problem: Using "extend" on a syntax item inside a region with "keepend", an
3798 intermediate item may be truncated.
3799 When applying the "keepend" and there is an offset to the end
3800 pattern the highlighting of a contained item isn't adjusted.
3801Solution: Use the seen_keepend flag to remember when to apply the "keepend"
3802 flag. Adjust the keepend highlighting properly. (Ilya Bobir)
3803Files: src/syntax.c
3804
3805Patch 7.0.118
3806Problem: printf() does not do zero padding for strings.
3807Solution: Do allow zero padding for strings.
3808Files: src/message.c
3809
3810Patch 7.0.119
3811Problem: When going back from Insert to Normal mode the CursorHold event
3812 doesn't trigger. (Yakov Lerner)
3813Solution: Reset "did_cursorhold" when leaving Insert mode.
3814Files: src/edit.c
3815
3816Patch 7.0.120
3817Problem: Crash when using CTRL-R = at the command line and entering
3818 "getreg('=')". (James Vega)
3819Solution: Avoid recursiveness of evaluating the = register.
3820Files: src/ops.c
3821
3822Patch 7.0.121
3823Problem: GUI: Dragging the last status line doesn't work when there is a
3824 text tabline. (Markus Wolf)
3825Solution: Take the text tabline into account when deciding to start modeless
3826 selection.
3827Files: src/gui.c
3828
3829Patch 7.0.122
3830Problem: GUI: When clearing after a bold, double-wide character half a
3831 character may be drawn.
3832Solution: Check for double-wide character and redraw it. (Yukihiro Nakadaira)
3833Files: src/screen.c
3834
3835Patch 7.0.123
3836Problem: On SCO Openserver configure selects the wrong terminal library.
3837Solution: Put terminfo before the other libraries. (Roger Cornelius)
3838 Also fix a small problem compiling on Mac without Darwin.
3839Files: src/configure.in, src/auto/configure
3840
3841Patch 7.0.124
3842Problem: getwinvar() obtains a dictionary with window-local variables, but
3843 it's always for the current window.
3844Solution: Get the variables of the specified window. (Geoff Reedy)
3845Files: src/eval.c
3846
3847Patch 7.0.125
3848Problem: When "autoselect" is in the 'clipboard' option then the '< and '>
3849 marks are set while Visual mode is still active.
3850Solution: Don't set the '< and '> marks when yanking the selected area for
3851 the clipboard.
3852Files: src/normal.c
3853
3854Patch 7.0.126
3855Problem: When 'formatexpr' uses setline() and later internal formatting is
3856 used undo information is not correct. (Jiri Cerny, Benji Fisher)
3857Solution: Set ins_need_undo after using 'formatexpr'.
3858Files: src/edit.c
3859
3860Patch 7.0.127
3861Problem: Crash when swap files has invalid timestamp.
3862Solution: Check return value of ctime() for being NULL.
3863Files: src/memline.c
3864
3865Patch 7.0.128
3866Problem: GUI: when closing gvim is cancelled because there is a changed
3867 buffer the screen isn't updated to show the changed buffer in the
3868 current window. (Krzysztof Kacprzak)
3869Solution: Redraw when closing gvim is cancelled.
3870Files: src/gui.c
3871
3872Patch 7.0.129
3873Problem: GTK GUI: the GTK file dialog can't handle a relative path.
3874Solution: Make the initial directory a full path before passing it to GTK.
3875 (James Vega) Also postpone adding the default file name until
3876 after setting the directory.
3877Files: src/gui_gtk.c
3878
3879Patch 7.0.130 (extra)
3880Problem: Win32: Trying to edit or write devices may cause Vim to get stuck.
3881Solution: Add the 'opendevice' option, default off. Disallow
3882 reading/writing from/to devices when it's off.
3883 Also detect more devices by the full name starting with "\\.\".
3884Files: runtime/doc/options.txt, src/fileio.c, src/option.c, src/option.h,
3885 src/os_win32.c
3886
3887Patch 7.0.131
3888Problem: Win32: "vim -r" does not list all the swap files.
3889Solution: Also check for swap files starting with a dot.
3890Files: src/memline.c
3891
3892Patch 7.0.132 (after 7.0.130)
3893Problem: Win32: Crash when Vim reads from stdin.
3894Solution: Only use mch_nodetype() when there is a file name.
3895Files: src/fileio.c
3896
3897Patch 7.0.133
3898Problem: When searching included files messages are added to the history.
3899Solution: Set msg_hist_off for messages about scanning included files.
3900 Set msg_silent to avoid message about wrapping around.
3901Files: src/edit.c, src/globals.h, src/message.c, src/search.c
3902
3903Patch 7.0.134
3904Problem: Crash when comparing a recursively looped List or Dictionary.
3905Solution: Limit recursiveness for comparing to 1000.
3906Files: src/eval.c
3907
3908Patch 7.0.135
3909Problem: Crash when garbage collecting list or dict with loop.
3910Solution: Don't use DEL_REFCOUNT but don't recurse into Lists and
3911 Dictionaries when freeing them in the garbage collector.
3912 Also add allocated Dictionaries to the list of Dictionaries to
3913 avoid leaking memory.
3914Files: src/eval.c, src/proto/eval.pro, src/tag.c
3915
3916Patch 7.0.136
3917Problem: Using "O" while matching parens are highlighted may not remove the
3918 highlighting. (Ilya Bobir)
3919Solution: Also trigger CursorMoved when a line is inserted under the cursor.
3920Files: src/misc1.c
3921
3922Patch 7.0.137
3923Problem: Configure check for big features is wrong.
3924Solution: Change "==" to "=". (Martti Kuparinen)
3925Files: src/auto/configure, src/configure.in
3926
3927Patch 7.0.138 (extra)
3928Problem: Mac: modifiers don't work with function keys.
3929Solution: Use GetEventParameter() to obtain modifiers. (Nicolas Weber)
3930Files: src/gui_mac.c
3931
3932Patch 7.0.139
3933Problem: Using CTRL-PageUp or CTRL-PageDown in Insert mode to go to another
3934 tab page does not prepare for undo properly. (Stefano Zacchiroli)
3935Solution: Call start_arrow() before switching tab page.
3936Files: src/edit.c
3937
3938Patch 7.0.140 (after 7.0.134)
3939Problem: Comparing recursively looped List or Dictionary doesn't work well.
3940Solution: Detect comparing a List or Dictionary with itself.
3941Files: src/eval.c
3942
3943Patch 7.0.141
3944Problem: When pasting a while line on the command line an extra CR is added
3945 literally.
3946Solution: Don't add the trailing CR when pasting with the mouse.
3947Files: src/ex_getln.c, src/proto/ops.pro, src/ops.c
3948
3949Patch 7.0.142
3950Problem: Using the middle mouse button in Select mode to paste text results
3951 in an extra "y". (Kriton Kyrimis)
3952Solution: Let the middle mouse button replace the selected text with the
3953 contents of the clipboard.
3954Files: src/normal.c
3955
3956Patch 7.0.143
3957Problem: Setting 'scroll' to its default value was not handled correctly.
3958Solution: Compare the right field to PV_SCROLL.
3959Files: src/option.c
3960
3961Patch 7.0.144
3962Problem: May compare two unrelated pointers when matching a pattern against
3963 a string. (Dominique Pelle)
3964Solution: Avoid calling reg_getline() when REG_MULTI is false.
3965Files: src/regexp.c
3966
3967Patch 7.0.145 (after 7.0.142)
3968Problem: Compiler warning.
3969Solution: Add type cast.
3970Files: src/normal.c
3971
3972Patch 7.0.146
3973Problem: When 'switchbuf' is set to "usetab" and the current tab has only a
3974 quickfix window, jumping to an error always opens a new window.
3975 Also, when the buffer is open in another tab page it's not found.
3976Solution: Check for the "split" value of 'switchbuf' properly. Search in
3977 other tab pages for the desired buffer. (Yegappan Lakshmanan)
3978Files: src/buffer.c, src/quickfix.c
3979
3980Patch 7.0.147
3981Problem: When creating a session file and there are several tab pages and
3982 some windows have a local directory a short file name may be used
3983 when it's not valid. (Marius Roets)
3984 A session with multiple tab pages may result in "No Name" buffers.
3985 (Bill McCarthy)
3986Solution: Don't enter tab pages when going through the list, only use a
3987 pointer to the first window in each tab page.
3988 Use "tabedit" instead of "tabnew | edit" when possible.
3989Files: src/ex_docmd.c
3990
3991Patch 7.0.148
3992Problem: When doing "call a.xyz()" and "xyz" does not exist in dictionary
3993 "a" there is no error message. (Yegappan Lakshmanan)
3994Solution: Add the error message.
3995Files: src/eval.c
3996
3997Patch 7.0.149
3998Problem: When resizing a window that shows "~" lines the text sometimes
3999 jumps down.
4000Solution: Remove code that uses "~" lines in some situations. Fix the
4001 computation of the screen line of the cursor. Also set w_skipcol
4002 to handle very long lines.
4003Files: src/misc1.c, src/window.c
4004
4005Patch 7.0.150
4006Problem: When resizing the Vim window scrollbinding doesn't work. (Yakov
4007 Lerner)
4008Solution: Do scrollbinding in set_shellsize().
4009Files: src/term.c
4010
4011Patch 7.0.151
4012Problem: Buttons in file dialog are not according to Gnome guidelines.
4013Solution: Swap Cancel and Open buttons. (Stefano Zacchiroli)
4014Files: src/gui_gtk.c
4015
4016Patch 7.0.152
4017Problem: Crash when using lesstif 2.
4018Solution: Fill in the extension field. (Ben Hutchings)
4019Files: src/gui_xmebw.c
4020
4021Patch 7.0.153
4022Problem: When using cscope and opening the temp file fails Vim crashes.
4023 (Kaya Bekiroglu)
4024Solution: Check for NULL pointer returned from mch_open().
4025Files: src/if_cscope.c
4026
4027Patch 7.0.154
4028Problem: When 'foldnextmax' is negative Vim can hang. (James Vega)
4029Solution: Avoid the fold level becoming negative.
4030Files: src/fold.c, src/syntax.c
4031
4032Patch 7.0.155
4033Problem: When getchar() returns a mouse button click there is no way to get
4034 the mouse coordinates.
4035Solution: Add v:mouse_win, v:mouse_lnum and v:mouse_col.
4036Files: runtime/doc/eval.txt, src/eval.c, src/vim.h
4037
4038Patch 7.0.156 (extra)
4039Problem: Vim doesn't compile for Amiga OS 4.
4040Solution: Various changes for Amiga OS4. (Peter Bengtsson)
4041Files: src/feature.h, src/mbyte.c, src/memfile.c, src/memline.c,
4042 src/os_amiga.c, src/os_amiga.h, src/pty.c
4043
4044Patch 7.0.157
4045Problem: When a function is used recursively the profiling information is
4046 invalid. (Mikolaj Machowski)
4047Solution: Put the start time on the stack instead of in the function.
4048Files: src/eval.c
4049
4050Patch 7.0.158
4051Problem: In a C file with ":set foldmethod=syntax", typing {<CR> on the
4052 last line results in the cursor being in a closed fold. (Gautam
4053 Iyer)
4054Solution: Open fold after inserting a new line.
4055Files: src/edit.c
4056
4057Patch 7.0.159
4058Problem: When there is an I/O error in the swap file the cause of the error
4059 cannot be seen.
4060Solution: Use PERROR() instead of EMSG() where possible.
4061Files: src/memfile.c
4062
4063Patch 7.0.160
4064Problem: ":@a" echoes the command, Vi doesn't do that.
4065Solution: Set the silent flag in the typeahead buffer to avoid echoing the
4066 command.
4067Files: src/ex_docmd.c, src/normal.c, src/ops.c, src/proto/ops.pro
4068
4069Patch 7.0.161
4070Problem: Win32: Tab pages line popup menu isn't using the right encoding.
4071 (Yongwei Wu)
4072Solution: Convert the text when necessary. Also fixes the Find/Replace
4073 dialog title. (Yegappan Lakshmanan)
4074Files: src/gui_w48.c
4075
4076Patch 7.0.162
4077Problem: "vim -o a b" when file "a" triggers the ATTENTION dialog,
4078 selecting "Quit" exits Vim instead of editing "b" only.
4079 When file "b" triggers the ATTENTION dialog selecting "Quit" or
4080 "Abort" results in editing file "a" in that window.
4081Solution: When selecting "Abort" exit Vim. When selecting "Quit" close the
4082 window. Also avoid hit-enter prompt when selecting Abort.
4083Files: src/buffer.c, src/main.c
4084
4085Patch 7.0.163
4086Problem: Can't retrieve the position of a sign after it was set.
4087Solution: Add the netbeans interface getAnno command. (Xavier de Gaye)
4088Files: runtime/doc/netbeans.txt, src/netbeans.c
4089
4090Patch 7.0.164
4091Problem: ":redir @+" doesn't work.
4092Solution: Accept "@+" just like "@*". (Yegappan Lakshmanan)
4093Files: src/ex_docmd.c
4094
4095Patch 7.0.165
4096Problem: Using CTRL-L at the search prompt adds a "/" and other characters
4097 without escaping, causing the pattern not to match.
4098Solution: Escape special characters with a backslash.
4099Files: src/ex_getln.c
4100
4101Patch 7.0.166
4102Problem: Crash in cscope code when connection could not be opened.
4103 (Kaya Bekiroglu)
4104Solution: Check for the file descriptor to be NULL.
4105Files: src/if_cscope.c
4106
4107Patch 7.0.167
4108Problem: ":function" redefining a dict function doesn't work properly.
4109 (Richard Emberson)
4110Solution: Allow a function name to be a number when it's a function
4111 reference.
4112Files: src/eval.c
4113
4114Patch 7.0.168
4115Problem: Using uninitialized memory and memory leak. (Dominique Pelle)
4116Solution: Use alloc_clear() instead of alloc() for w_lines. Free
4117 b_ml.ml_stack after recovery.
4118Files: src/memline.c, src/window.c
4119
4120Patch 7.0.169
4121Problem: With a Visual block selection, with the cursor in the left upper
4122 corner, pressing "I" doesn't remove the highlighting. (Guopeng
4123 Wen)
4124Solution: When checking if redrawing is needed also check if Visual
4125 selection is still active.
4126Files: src/screen.c
4127
4128Patch 7.0.170 (extra)
4129Problem: Win32: Using "gvim --remote-tab foo" when gvim is minimized while
4130 it previously was maximized, un-maximizing doesn't work properly.
4131 And the labels are not displayed properly when 'encoding' is
4132 utf-8.
4133Solution: When minimized check for SW_SHOWMINIMIZED. When updating the tab
4134 pages line use TCM_SETITEMW instead of TCM_INSERTITEMW. (Liu
4135 Yubao)
4136Files: src/gui_w48.c
4137
4138Patch 7.0.171 (extra)
4139Problem: VMS: A file name with multiple paths is written in the wrong file.
4140Solution: Get the actually used file name. (Zoltan Arpadffy)
4141 Also add info to the :version command about compilation.
4142Files: src/Make_vms.mms, src/buffer.c, src/os_unix.c, src/version.c
4143
4144Patch 7.0.172
4145Problem: Crash when recovering and quitting at the "press-enter" prompt.
4146Solution: Check for "msg_list" to be NULL. (Liu Yubao)
4147Files: src/ex_eval.c
4148
4149Patch 7.0.173
4150Problem: ":call f().TT()" doesn't work. (Richard Emberson)
4151Solution: When a function returns a Dictionary or another composite continue
4152 evaluating what follows.
4153Files: src/eval.c
4154
4155Patch 7.0.174
4156Problem: ":mksession" doesn't restore window layout correctly in tab pages
4157 other than the current one. (Zhibin He)
4158Solution: Use the correct topframe for producing the window layout commands.
4159Files: src/ex_docmd.c
4160
4161Patch 7.0.175
4162Problem: The result of tr() is missing the terminating NUL. (Ingo Karkat)
4163Solution: Add the NUL.
4164Files: src/eval.c
4165
4166Patch 7.0.176
4167Problem: ":emenu" isn't executed directly, causing the encryption key
4168 prompt to fail. (Life Jazzer)
4169Solution: Fix wrong #ifdef.
4170Files: src/menu.c
4171
4172Patch 7.0.177
4173Problem: When the press-enter prompt gets a character from a non-remappable
4174 mapping, it's put back in the typeahead buffer as remappable,
4175 which may cause an endless loop.
4176Solution: Restore the non-remappable flag and the silent flag when putting a
4177 char back in the typeahead buffer.
4178Files: src/getchar.c, src/message.c, src/normal.c
4179
4180Patch 7.0.178
4181Problem: When 'enc' is "utf-8" and 'ignorecase' is set the result of ":echo
4182 ("\xe4" == "\xe4")" varies.
4183Solution: In mb_strnicmp() avoid looking past NUL bytes.
4184Files: src/mbyte.c
4185
4186Patch 7.0.179
4187Problem: Using ":recover" or "vim -r" without a swapfile crashes Vim.
4188Solution: Check for "buf" to be unequal NULL. (Yukihiro Nakadaira)
4189Files: src/memline.c
4190
4191Patch 7.0.180 (extra, after 7.0.171)
4192Problem: VMS: build failed. Problem with swapfiles.
4193Solution: Add "compiled_arch". Always expand path and pass it to
4194 buf_modname(). (Zoltan Arpadffy)
4195Files: src/globals.h, src/memline.c, src/os_unix.c, runtime/menu.vim
4196
4197Patch 7.0.181
4198Problem: When reloading a file that starts with an empty line, the reloaded
4199 buffer has an extra empty line at the end. (Motty Lentzitzky)
4200Solution: Delete all lines, don't use bufempty().
4201Files: src/fileio.c
4202
4203Patch 7.0.182
4204Problem: When using a mix of undo and "g-" it may no longer be possible to
4205 go to every point in the undo tree. (Andy Wokula)
4206Solution: Correctly update pointers in the undo tree.
4207Files: src/undo.c
4208
4209Patch 7.0.183
4210Problem: Crash in ":let" when redirecting to a variable that's being
4211 displayed. (Thomas Link)
4212Solution: When redirecting to a variable only do the assignment when
4213 stopping redirection to avoid that setting the variable causes a
4214 freed string to be accessed.
4215Files: src/eval.c
4216
4217Patch 7.0.184
4218Problem: When the cscope program is called "mlcscope" the Cscope interface
4219 doesn't work.
4220Solution: Accept "\S*cscope:" instead of "cscope:". (Frodak D. Baksik)
4221Files: src/if_cscope.c
4222
4223Patch 7.0.185
4224Problem: Multi-byte characters in a message are displayed with attributes
4225 from what comes before it.
4226Solution: Don't use the attributes for a multi-byte character. Do use
4227 attributes for special characters. (Yukihiro Nakadaira)
4228Files: src/message.c
4229
4230Patch 7.0.186
4231Problem: Get an ml_get error when 'encoding' is "utf-8" and searching for
4232 "/\_s*/e" in an empty buffer. (Andrew Maykov)
4233Solution: Don't try getting the line just below the last line.
4234Files: src/search.c
4235
4236Patch 7.0.187
4237Problem: Can't source a remote script properly.
4238Solution: Add the SourceCmd event. (Charles Campbell)
4239Files: runtime/doc/autocmd.txt, src/ex_cmds2.c, src/fileio.c, src/vim.h
4240
4241Patch 7.0.188 (after 7.0.186)
4242Problem: Warning for wrong pointer type.
4243Solution: Add a type cast.
4244Files: src/search.c
4245
4246Patch 7.0.189
4247Problem: Translated message about finding matches is truncated. (Yukihiro
4248 Nakadaira)
4249Solution: Enlarge the buffer. Also use vim_snprintf().
4250Files: src/edit.c
4251
4252Patch 7.0.190
4253Problem: "syntax spell default" results in an error message.
4254Solution: Change 4 to 7 for STRNICMP(). (Raul Nunez de Arenas Coronado)
4255Files: src/syntax.c
4256
4257Patch 7.0.191
4258Problem: The items used by getqflist() and setqflist() don't match.
4259Solution: Support the "bufnum" item for setqflist(). (Yegappan Lakshmanan)
4260Files: runtime/doc/eval.txt, src/quickfix.c
4261
4262Patch 7.0.192
4263Problem: When 'swapfile' is switched off in an empty file it is possible
4264 that not all blocks are loaded into memory, causing ml_get errors
4265 later.
4266Solution: Rename "dont_release" to "mf_dont_release" and also use it to
4267 avoid using the cached line and locked block.
4268Files: src/globals.h, src/memfile.c, src/memline.c
4269
4270Patch 7.0.193
4271Problem: Using --remote or --remote-tab with an argument that matches
4272 'wildignore' causes a crash.
4273Solution: Check the argument count before using ARGLIST[0].
4274Files: src/ex_cmds.c
4275
4276Patch 7.0.194
4277Problem: Once an ml_get error is given redrawing part of the screen may
4278 cause it again, resulting in an endless loop.
4279Solution: Don't give the error message for a recursive call.
4280Files: src/memline.c
4281
4282Patch 7.0.195
4283Problem: When a buffer is modified and 'autowriteall' is set, ":quit"
4284 results in an endless loop when there is a conversion error while
4285 writing. (Nikolai Weibull)
4286Solution: Make autowrite() return FAIL if the buffer is still changed after
4287 writing it.
4288 /* put the cursor on the last char, for 'tw' formatting */
4289Files: src/ex_cmds2.c
4290
4291Patch 7.0.196
4292Problem: When using ":vert ball" the computation of the mouse pointer
4293 position may be off by one column. (Stefan Karlsson)
4294Solution: Recompute the frame width when moving the vertical separator from
4295 one window to another.
4296Files: src/window.c
4297
4298Patch 7.0.197 (extra)
4299Problem: Win32: Compiling with EXITFREE doesn't work.
4300Solution: Adjust a few #ifdefs. (Alexei Alexandrof)
4301Files: src/misc2.c, src/os_mswin.c
4302
4303Patch 7.0.198 (extra)
4304Problem: Win32: Compiler warnings. No need to generate gvim.exe.mnf.
4305Solution: Add type casts. Use "*" for processorArchitecture. (George Reilly)
4306Files: src/Make_mvc.mak, src/eval.c, src/gvim.exe.mnf, src/misc2.c
4307
4308Patch 7.0.199
4309Problem: When using multi-byte characters the combination of completion and
4310 formatting may result in a wrong cursor position.
4311Solution: Don't decrement the cursor column, use dec_cursor(). (Yukihiro
4312 Nakadaira) Also check for the column to be zero.
4313Files: src/edit.c
4314
4315Patch 7.0.200
4316Problem: Memory leaks when out of memory.
4317Solution: Free the memory.
4318Files: src/edit.c, src/diff.c
4319
4320Patch 7.0.201
4321Problem: Message for ":diffput" about buffer not being in diff mode may be
4322 wrong.
4323Solution: Check for buffer in diff mode but not modifiable.
4324Files: src/diff.c
4325
4326Patch 7.0.202
4327Problem: Problems on Tandem systems while compiling and at runtime.
4328Solution: Recognize root uid is 65535. Check select() return value for it
4329 not being supported. Avoid wrong function prototypes. Mention
4330 use of -lfloss. (Matthew Woehlke)
4331Files: src/Makefile, src/ex_cmds.c, src/fileio.c, src/main.c,
4332 src/osdef1.h.in, src/osdef2.h.in, src/os_unix.c, src/pty.c,
4333 src/vim.h
4334
4335Patch 7.0.203
4336Problem: 0x80 characters in a register are not handled correctly for the
4337 "@" command.
4338Solution: Escape CSI and 0x80 characters. (Yukihiro Nakadaira)
4339Files: src/ops.c
4340
4341Patch 7.0.204
4342Problem: Cscope: Parsing matches for listing isn't done properly.
4343Solution: Check for line number being found. (Yu Zhao)
4344Files: src/if_cscope.c
4345
4346Patch 7.0.205 (after 7.0.203)
4347Problem: Can't compile.
4348Solution: Always include the vim_strsave_escape_csi function.
4349Files: src/getchar.c
4350
4351Patch 7.0.206 (after 7.0.058)
4352Problem: Some characters of the "gb18030" encoding are not handled
4353 properly.
4354Solution: Do not use "cp936" as an alias for "gb18030" encoding. Instead
4355 initialize 'encoding' to "cp936".
4356Files: src/mbyte.c, src/option.c
4357
4358Patch 7.0.207
4359Problem: After patch 2.0.203 CSI and K_SPECIAL characters are escaped when
4360 recorded and then again when the register is executed.
4361Solution: Remove escaping before putting the recorded characters in a
4362 register. (Yukihiro Nakadaira)
4363Files: src/getchar.c, src/ops.c, src/proto/getchar.pro
4364
4365Patch 7.0.208 (after 7.0.171 and 7.0.180)
4366Problem: VMS: changes to path handling cause more trouble than they solve.
4367Solution: Revert changes.
4368Files: src/buffer.c, src/memline.c, src/os_unix.c
4369
4370Patch 7.0.209
4371Problem: When replacing a line through Python the cursor may end up beyond
4372 the end of the line.
4373Solution: Check the cursor column after replacing the line.
4374Files: src/if_python.c
4375
4376Patch 7.0.210
4377Problem: ":cbuffer" and ":lbuffer" always fail when the buffer is modified.
4378 (Gary Johnson)
4379Solution: Support adding a !. (Yegappan Lakshmanan)
4380Files: runtime/doc/quickfix.txt, src/ex_cmds.h
4381
4382Patch 7.0.211
4383Problem: With ":set cindent noai bs=0" using CTRL-U in Insert mode will
4384 delete auto-indent. After ":set ai" it doesn't.
4385Solution: Also check 'cindent' being set. (Ryan Lortie)
4386Files: src/edit.c
4387
4388Patch 7.0.212
4389Problem: The GUI can't be terminated with SIGTERM. (Mark Logan)
4390Solution: Use the signal protection in the GUI as in the console, allow
4391 signals when waiting for 100 msec or longer.
4392Files: src/ui.c
4393
4394Patch 7.0.213
4395Problem: When 'spellfile' has two regions that use the same sound folding
4396 using "z=" will cause memory to be freed twice. (Mark Woodward)
4397Solution: Clear the hashtable properly so that the items are only freed once.
4398Files: src/spell.c
4399
4400Patch 7.0.214
4401Problem: When using <f-args> in a user command it's not possible to have an
4402 argument end in '\ '.
4403Solution: Change the handling of backslashes. (Yakov Lerner)
4404Files: runtime/doc/map.txt, src/ex_docmd.c
4405
4406Patch 7.0.215 (extra)
4407Problem: Mac: Scrollbar size isn't set. Context menu has disabled useless
4408 Help entry. Call to MoreMasterPointers() is ignored.
4409Solution: Call SetControlViewSize() in gui_mch_set_scrollbar_thumb(). Use
4410 kCMHelpItemRemoveHelp for ContextualMenuSelect(). Remove call to
4411 MoreMasterPointers(). (Nicolas Weber)
4412Files: src/gui_mac.c
4413
4414Patch 7.0.216
4415Problem: ":tab wincmd ]" does not open a tab page. (Tony Mechelynck)
4416Solution: Copy the cmdmod.tab value to postponed_split_tab and use it.
4417Files: src/globals.h, src/ex_docmd.c, src/if_cscope.c, src/window.c
4418
4419Patch 7.0.217
4420Problem: This hangs when pressing "n": ":%s/\n/,\r/gc". (Ori Avtalion)
4421Solution: Set "skip_match" to advance to the next line.
4422Files: src/ex_cmds.c
4423
4424Patch 7.0.218
4425Problem: "%B" in 'statusline' always shows zero in Insert mode. (DervishD)
4426Solution: Remove the exception for Insert mode, check the column for being
4427 valid instead.
4428Files: src/buffer.c
4429
4430Patch 7.0.219
4431Problem: When using the 'editexisting.vim' script and a file is being
4432 edited in another tab page the window is split. The "+123"
4433 argument is not used.
4434Solution: Make the tab page with the file the current tab page. Set
4435 v:swapcommand when starting up to the first "+123" or "-c" command
4436 line argument.
4437Files: runtime/macros/editexisting.vim, src/main.c
4438
4439Patch 7.0.220
4440Problem: Crash when using winnr('#') in a new tab page. (Andy Wokula)
4441Solution: Check for not finding the window.
4442Files: src/eval.c
4443
4444Patch 7.0.221
4445Problem: finddir() uses 'path' by default, where "." means relative to the
4446 current file. But it works relative to the current directory.
4447 (Tye Zdrojewski)
4448Solution: Add the current buffer name to find_file_in_path_option() for the
4449 relative file name.
4450Files: runtime/doc/eval.txt, src/eval.c
4451
4452Patch 7.0.222
4453Problem: Perl indenting using 'cindent' works almost right.
4454Solution: Recognize '#' to start a comment. (Alex Manoussakis) Added '#'
4455 flag in 'cinoptions'.
4456Files: runtime/doc/indent.txt, src/misc1.c
4457
4458Patch 7.0.223
4459Problem: Unprintable characters in completion text mess up the popup menu.
4460 (Gombault Damien)
4461Solution: Use strtrans() to make the text printable.
4462Files: src/charset.c, src/popupmnu.c
4463
4464Patch 7.0.224
4465Problem: When expanding "##" spaces are escaped twice. (Pavol Juhas)
4466Solution: Don't escape the spaces that separate arguments.
4467Files: src/eval.c, src/ex_docmd.c, src/proto/ex_docmd.pro
4468
4469Patch 7.0.225
4470Problem: When using setline() in an InsertEnter autocommand and doing "A"
4471 the cursor ends up on the last byte in the line. (Yukihiro
4472 Nakadaira)
4473Solution: Only adjust the column when using setline() for the cursor line.
4474 Move it back to the head byte if necessary.
4475Files: src/eval.c, src/misc2.c
4476
4477Patch 7.0.226
4478Problem: Display flickering when updating signs through the netbeans
4479 interface. (Xavier de Gaye)
4480Solution: Remove the redraw_later(CLEAR) call.
4481Files: src/netbeans.c
4482
4483Patch 7.0.227
4484Problem: Crash when closing a window in the GUI. (Charles Campbell)
4485Solution: Don't call out_flush() from win_free().
4486Files: src/window.c
4487
4488Patch 7.0.228
4489Problem: Cygwin: problem with symlink to DOS style path.
4490Solution: Invoke cygwin_conv_to_posix_path(). (Luca Masini)
4491Files: src/os_unix.c
4492
4493Patch 7.0.229
4494Problem: When 'pastetoggle' starts with Esc then pressing Esc in Insert
4495 mode will not time out. (Jeffery Small)
4496Solution: Use KL_PART_KEY instead of KL_PART_MAP, so that 'ttimeout' applies
4497 to the 'pastetoggle' key.
4498Files: src/getchar.c
4499
4500Patch 7.0.230
4501Problem: After using ":lcd" a script doesn't know how to restore the
4502 current directory.
4503Solution: Add the haslocaldir() function. (Bob Hiestand)
4504Files: runtime/doc/usr_41.txt, runtime/doc/eval.txt, src/eval.c
4505
4506Patch 7.0.231
4507Problem: When recovering from a swap file the page size is likely to be
4508 different from the minimum. The block used for the first page
4509 then has a buffer of the wrong size, causing a crash when it's
4510 reused later. (Zephaniah Hull)
4511Solution: Reallocate the buffer when the page size changes. Also check that
4512 the page size is at least the minimum value.
4513Files: src/memline.c
4514
4515Patch 7.0.232 (extra)
4516Problem: Mac: doesn't support GUI tab page labels.
4517Solution: Add GUI tab page labels. (Nicolas Weber)
4518Files: src/feature.h, src/gui.c, src/gui.h, src/gui_mac.c,
4519 src/proto/gui_mac.pro
4520
4521Patch 7.0.233 (extra)
4522Problem: Mac: code formatted badly.
4523Solution: Fix code formatting
4524Files: src/gui_mac.c
4525
4526Patch 7.0.234
4527Problem: It's possible to use feedkeys() from a modeline. That is a
4528 security issue, can be used for a trojan horse.
4529Solution: Disallow using feedkeys() in the sandbox.
4530Files: src/eval.c
4531
4532Patch 7.0.235
4533Problem: It is possible to use writefile() in the sandbox.
4534Solution: Add a few more checks for the sandbox.
4535Files: src/eval.c
4536
4537Patch 7.0.236
4538Problem: Linux 2.4 uses sysinfo() with a mem_unit field, which is not
4539 backwards compatible.
4540Solution: Add an autoconf check for sysinfo.mem_unit. Let mch_total_mem()
4541 return Kbyte to avoid overflow.
4542Files: src/auto/configure, src/configure.in, src/config.h.in,
4543 src/option.c, src/os_unix.c
4544
4545Patch 7.0.237
4546Problem: For root it is recommended to not use 'modeline', but in
4547 not-compatible mode the default is on.
4548Solution: Let 'modeline' default to off for root.
4549Files: runtime/doc/options.txt, src/option.c
4550
4551Patch 7.0.238
4552Problem: Crash when ":match" pattern runs into 'maxmempattern'. (Yakov
4553 Lerner)
4554Solution: Don't free the regexp program of match_hl.
4555Files: src/screen.c
4556
4557Patch 7.0.239
4558Problem: When using local directories and tab pages ":mksession" uses a
4559 short file name when it shouldn't. Window-local options from a
4560 modeline may be applied to the wrong window. (Teemu Likonen)
4561Solution: Add the did_lcd flag, use the full path when it's set. Don't use
4562 window-local options from the modeline when using the current
4563 window for another buffer in ":doautoall".
4564Files: src/fileio.c, src/ex_docmd.c
4565
4566Patch 7.0.240
4567Problem: Crash when splitting a window in the GUI. (opposite of 7.0.227)
4568Solution: Don't call out_flush() from win_alloc(). Also avoid this for
4569 win_delete(). Also block autocommands while the window structure
4570 is invalid.
4571Files: src/window.c
4572
4573Patch 7.0.241
4574Problem: ":windo throw 'foo'" loops forever. (Andy Wokula)
4575Solution: Detect that win_goto() doesn't work.
4576Files: src/ex_cmds2.c
4577
4578Patch 7.0.242 (extra)
4579Problem: Win32: Using "-register" in a Vim that does not support OLE causes
4580 a crash.
4581Solution: Don't use EMSG() but mch_errmsg(). Check p_go for being NULL.
4582 (partly by Michael Wookey)
4583Files: src/gui_w32.c
4584
4585Patch 7.0.243 (extra)
4586Problem: Win32: When GvimExt is built with MSVC 2005 or later, the "Edit
4587 with vim" context menu doesn't appear in the Windows Explorer.
4588Solution: Embed the linker manifest file into the resources of GvimExt.dll.
4589 (Mathias Michaelis)
4590Files: src/GvimExt/Makefile
4591
4592
Bram Moolenaar49325942007-05-10 19:19:59 +00004593Fixes after Vim 7.1a BETA:
4594
4595The extra archive had CVS directories included below "farsi" and
4596"runtime/icons". CVS was missing the farsi icon files.
4597
4598Fix compiling with Gnome 2.18, undefine bind_textdomain_codeset. (Daniel
4599Drake)
4600
4601Mac: "make install" didn't copy rgb.txt.
4602
4603When editing a compressed file while there are folds caused "ml_get" errors
4604and some lines could be missing. When decompressing failed option values were
4605not restored.
4606
4607
4608Patch 7.1a.001
4609Problem: Crash when downloading a spell file. (Szabolcs Horvat)
4610Solution: Avoid that did_set_spelllang() is used recursively when a new
4611 window is opened for the download.
4612 Also avoid wiping out the wrong buffer.
4613Files: runtime/autoload/spellfile.vim, src/buffer.c, src/ex_cmds.c,
4614 src/spell.c
4615
4616Patch 7.1a.002 (extra)
4617Problem: Compilation error with MingW.
4618Solution: Check for LPTOOLTIPTEXT to be defined.
4619Files: src/gui_w32.c
4620
4621
Bram Moolenaarb2a460d2007-05-12 15:16:37 +00004622Fixes after Vim 7.1b BETA:
4623
4624Made the Mzscheme interface build both with old and new versions of Mzscheme,
4625using an #ifdef. (Sergey Khorev)
4626Mzscheme interface didn't link, missing function. Changed order of libraries
4627in the configure script.
4628
4629Ruby interface didn't compile on Mac. Changed #ifdef. (Kevin Ballard)
4630
4631Patch 7.1b.001 (extra)
4632Problem: Random text in a source file. No idea how it got there.
4633Solution: Delete the text.
4634Files: src/gui_w32.c
4635
4636Patch 7.1b.002
4637Problem: When 'maxmem' is large there can be an overflow in computations.
4638 (Thomas Wiegner)
4639Solution: Use the same mechanism as in mch_total_mem(): first reduce the
4640 multiplier as much as possible.
4641Files: src/memfile.c
4642
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004643==============================================================================
Bram Moolenaar7a329912010-05-21 12:05:36 +02004644VERSION 7.2 *version-7.2* *version7.2*
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004645
4646This section is about improvements made between version 7.1 and 7.2.
4647
4648This is mostly a bug-fix release. The main new feature is floating point
4649support. |Float|
4650
4651
4652Changed *changed-7.2*
4653-------
4654
4655Changed the command line buffer name from "command-line" to "[Command Line]".
4656
4657Removed optional ! for ":caddexpr", ":cgetexpr", ":cgetfile", ":laddexpr",
4658":lgetexpr" and ":lgetfile". They are not needed. (Yegappan Lakshmanan)
4659
4660An offset for syntax matches worked on bytes instead of characters. That is
4661inconsistent and can easily be done wrong. Use character offsets now.
4662(Yukihiro Nakadaira)
4663
4664The FileChangedShellPost event was also given when a file didn't change.
4665(John Little)
4666
4667When the current line is long (doesn't fit) the popup menu can't be seen.
4668Display it below the screen line instead of below the text line.
4669(Francois Ingelrest)
4670
4671Switched to autoconf version 2.62.
4672
4673Moved including fcntl.h to vim.h and removed it from all .c files.
4674
4675Introduce macro STRMOVE(d, s), like STRCPY() for overlapping strings.
4676Use it instead of mch_memmove(p, p + x, STRLEN(p + x) + 1).
4677
Bram Moolenaarc236c162008-07-13 17:41:49 +00004678Removed the bulgarian.vim keymap file, two more standard ones replace it.
4679(Boyko Bantchev)
4680
4681Increased the maximum number of tag matches for command line completion from
4682200 to 300.
4683
Bram Moolenaared39e1d2008-08-09 17:55:22 +00004684Renamed help file sql.txt to ft_sql.txt and ada.txt to ft_ada.txt.
4685
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004686
4687Added *added-7.2*
4688-----
4689
4690New syntax files:
Bram Moolenaarc236c162008-07-13 17:41:49 +00004691 CUDA (Timothy B. Terriberry)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004692 Cdrdao config (Nikolai Weibull)
4693 Coco/R (Ashish Shukla)
Bram Moolenaared39e1d2008-08-09 17:55:22 +00004694 Denyhosts config (Nikolai Weibull)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004695 Dtrace script (Nicolas Weber)
4696 Git output, commit, config, rebase, send-email (Tim Pope)
Bram Moolenaarc236c162008-07-13 17:41:49 +00004697 HASTE and HastePreProc (M. Tranchero)
4698 Haml (Tim Pope)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004699 Host conf (Nikolai Weibull)
4700 Linden script (Timo Frenay)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004701 MS messages (Kevin Locke)
4702 PDF (Tim Pope)
4703 ProMeLa (Maurizio Tranchero)
4704 Reva Foth (Ron Aaron)
Bram Moolenaarc236c162008-07-13 17:41:49 +00004705 Sass (Tim Pope)
4706 Symbian meta-makefile, MMP (Ron Aaron)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004707 VOS CM macro (Andrew McGill)
4708 XBL (Doug Kearns)
4709
4710New tutor files:
4711 Made UTF-8 versions of all the tutor files.
4712 Greek renamed from ".gr" to ".el" (Greek vs Greece).
4713 Esperanto (Dominique Pelle)
4714 Croatian (Paul B. Mahol)
4715
4716New filetype plugins:
4717 Cdrdao config (Nikolai Weibull)
4718 Debian control files (Debian Vim maintainers)
4719 Denyhosts (Nikolai Weibull)
4720 Dos .ini file (Nikolai Weibull)
4721 Dtrace script (Nicolas Weber)
Bram Moolenaared39e1d2008-08-09 17:55:22 +00004722 FnameScript (Nikolai Weibull)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004723 Git, Git config, Git commit, Git rebase, Git send-email (Tim Pope)
Bram Moolenaarc236c162008-07-13 17:41:49 +00004724 Haml (Tim Pope)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004725 Host conf (Nikolai Weibull)
Bram Moolenaared39e1d2008-08-09 17:55:22 +00004726 Host access (Nikolai Weibull)
Bram Moolenaarc236c162008-07-13 17:41:49 +00004727 Logtalk (Paulo Moura)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004728 MS messages (Kevin Locke)
Bram Moolenaared39e1d2008-08-09 17:55:22 +00004729 NSIS script (Nikolai Weibull)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004730 PDF (Tim Pope)
4731 Reva Forth (Ron Aaron)
Bram Moolenaarc236c162008-07-13 17:41:49 +00004732 Sass (Tim Pope)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004733
4734New indent files:
Bram Moolenaared39e1d2008-08-09 17:55:22 +00004735 DTD (Nikolai Weibull)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004736 Dtrace script (Nicolas Weber)
4737 Erlang (Csaba Hoch)
Bram Moolenaared39e1d2008-08-09 17:55:22 +00004738 FrameScript (Nikolai Weibull)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004739 Git config (Tim Pope)
Bram Moolenaarc236c162008-07-13 17:41:49 +00004740 Haml (Tim Pope)
4741 Logtalk (Paulo Moura)
4742 Sass (Tim Pope)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004743 Tiny Fugue (Christian J. Robinson)
4744
Bram Moolenaarc236c162008-07-13 17:41:49 +00004745New compiler plugins:
4746 RSpec (Tim Pope)
4747
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004748New keymap files:
4749 Croatian (Paul B. Mahol)
4750 Russian Dvorak (Serhiy Boiko)
4751 Ukrainian Dvorak (Serhiy Boiko)
Bram Moolenaarc236c162008-07-13 17:41:49 +00004752 Removed plain Bulgarian, "bds" and phonetic are sufficient.
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004753
4754Other new runtime files:
Bram Moolenaared39e1d2008-08-09 17:55:22 +00004755 Esperanto menu and message translations. (Dominique Pelle)
4756 Finnish menu and message translations. (Flammie Pirinen)
Bram Moolenaar6dfc28b2010-02-11 14:19:15 +01004757 Brazilian Portuguese message translations. (Eduardo Dobay)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004758
4759Added floating point support. |Float|
4760
4761Added argument to mode() to return a bit more detail about the current mode.
4762(Ben Schmidt)
4763
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +01004764Added support for BSD console mouse: |sysmouse|. (Paul B. Mahol)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004765
4766Added the "newtab" value for the 'switchbuf' option. (partly by Yegappan
4767Lakshmanan)
4768
4769Improved error messages for the netbeans interface. (Philippe Fremy)
4770
4771Added support for using xterm mouse codes for screen. (Micah Cowan)
4772
4773Added support for cross compiling:
4774Adjusted configure.in and added INSTALLcross.txt. (Marc Haisenko) Fixed
4775mistakes in configure.in after that.
4776Don't use /usr/local/include and /usr/local/lib in configure. (Philip
4777Prindeville)
4778For cross compiling the Cygwin version on Unix, change VIM.TLB to vim.tlb in
4779src/vim.rc. (Tsuneo Nakagawa)
4780
4781Added v:searchforward variable: What direction we're searching in. (Yakov
4782Lerner)
4783
4784
4785Fixed *fixed-7.2*
4786-----
4787
4788Patch 7.1.001
4789Problem: Still can't build with Gnome libraries.
4790Solution: Fix typo in bind_textdomain_codeset. (Mike Kelly)
4791Files: src/gui_gtk.c, src/gui_gtk_x11.c
4792
4793Patch 7.1.002
4794Problem: Oracle Pro*C/C++ files are not detected.
4795Solution: Add the missing star. (Micah J. Cowan)
4796Files: runtime/filetype.vim
4797
4798Patch 7.1.003 (extra)
4799Problem: The "Tear off this menu" message appears in the message history
4800 when using a menu. (Yongwei Wu)
4801Solution: Disable message history when displaying the menu tip.
4802Files: src/gui_w32.c
4803
4804Patch 7.1.004
4805Problem: Crash when doing ":next directory". (Raphael Finkel)
4806Solution: Do not use "buf", it may be invalid after autocommands.
4807Files: src/ex_cmds.c
4808
4809Patch 7.1.005
4810Problem: "cit" used on <foo></foo> deletes <foo>. Should not delete
4811 anything and start insertion, like "ci'" does on "". (Michal
4812 Bozon)
4813Solution: Handle an empty object specifically. Made it work consistent for
4814 various text objects.
4815Files: src/search.c
4816
4817Patch 7.1.006
4818Problem: Resetting 'modified' in a StdinReadPost autocommand doesn't work.
4819Solution: Set 'modified' before the autocommands instead of after it.
4820Files: src/buffer.c
4821
4822Patch 7.1.007 (extra)
4823Problem: Mac: Context menu doesn't work on Intel Macs.
4824 Scrollbars are not dimmed when Vim is not the active application.
4825Solution: Remove the test whether context menus are supported. They are
4826 always there in OS/X. Handle the dimming. (Nicolas Weber)
4827Files: src/gui_mac.c, src/gui.h
4828
4829Patch 7.1.008
4830Problem: getfsize() returns a negative number for very big files.
4831Solution: Check for overflow and return -2.
4832Files: runtime/doc/eval.txt, src/eval.c
4833
4834Patch 7.1.009
4835Problem: In diff mode, displaying the difference between a tab and spaces
4836 is not highlighted correctly.
4837Solution: Only change highlighting at the end of displaying a tab.
4838Files: src/screen.c
4839
4840Patch 7.1.010
4841Problem: The Gnome session file doesn't restore tab pages.
4842Solution: Add SSOP_TABPAGES to the session flags. (Matias D'Ambrosio)
4843Files: src/gui_gtk_x11.c
4844
4845Patch 7.1.011
4846Problem: Possible buffer overflow when $VIMRUNTIME is very long. (Victor
4847 Stinner)
4848Solution: Use vim_snprintf().
4849Files: src/main.c
4850
4851Patch 7.1.012
4852Problem: ":let &shiftwidth = 'asdf'" doesn't produce an error message.
4853Solution: Check for a string argument. (Chris Lubinski)
4854Files: src/option.c
4855
4856Patch 7.1.013
4857Problem: ":syn include" only loads the first file, while it is documented
4858 as doing the equivalent of ":runtime!".
4859Solution: Change the argument to source_runtime(). (James Vega)
4860Files: src/syntax.c
4861
4862Patch 7.1.014
4863Problem: Crash when doing C indenting. (Chris Monson)
4864Solution: Obtain the current line again after invoking cin_islabel().
4865Files: src/edit.c
4866
4867Patch 7.1.015
4868Problem: MzScheme interface: current-library-collection-paths produces no
4869 list. Interface doesn't build on a Mac.
4870Solution: Use a list instead of a pair. (Bernhard Fisseni) Use "-framework"
4871 argument for MZSCHEME_LIBS in configure.
4872Files: src/configure.in, src/if_mzsch.c, src/auto/configure
4873
4874Patch 7.1.016 (after patch 7.1.012)
4875Problem: Error message about setting 'diff' to a string.
4876Solution: Don't pass an empty string to set_option_value() when setting
4877 'diff'.
4878Files: src/quickfix.c, src/popupmnu.c
4879
4880Patch 7.1.017
4881Problem: ":confirm w" does give a prompt when 'readonly' is set, but not
4882 when the file permissions are read-only. (Michael Schaap)
4883Solution: Provide a dialog in both situations. (Chris Lubinski)
4884Files: src/ex_cmds.c, src/fileio.c, src/proto/fileio.pro
4885
4886Patch 7.1.018
4887Problem: When 'virtualedit' is set a "p" of a block just past the end of
4888 the line inserts before the cursor. (Engelke)
4889Solution: Check for the cursor being just after the line (Chris Lubinski)
4890Files: src/ops.c
4891
4892Patch 7.1.019
4893Problem: ":py" asks for an argument, ":py asd" then gives the error that
4894 ":py" isn't implemented. Should already happen for ":py".
4895Solution: Compare with ex_script_ni. (Chris Lubinski)
4896Files: src/ex_docmd.c
4897
4898Patch 7.1.020
4899Problem: Reading from uninitialized memory when using a dialog. (Dominique
4900 Pelle)
4901Solution: In msg_show_console_dialog() append a NUL after every appended
4902 character.
4903Files: src/message.c
4904
4905Patch 7.1.021 (after 7.1.015)
4906Problem: Mzscheme interface doesn't compile on Win32.
4907Solution: Fix the problem that 7.1.015 fixed in a better way. (Sergey Khorev)
4908Files: src/if_mzsch.c
4909
4910Patch 7.1.022
4911Problem: When setting 'keymap' twice the b:keymap_name variable isn't set.
4912 (Milan Berta)
4913Solution: Don't unlet b:keymap_name for ":loadkeymap". (Martin Toft)
4914Files: src/digraph.c
4915
4916Patch 7.1.023
4917Problem: "dw" in a line with one character deletes the line. Vi and nvi
4918 don't do this. (Kjell Arne Rekaa)
4919Solution: Check for one-character words especially.
4920Files: src/search.c
4921
4922Patch 7.1.024
4923Problem: Using a pointer that has become invalid. (Chris Monson)
4924Solution: Obtain the line pointer again after we looked at another line.
4925Files: src/search.c
4926
4927Patch 7.1.025
4928Problem: search() and searchpos() don't use match under cursor at start of
4929 line when using 'bc' flags. (Viktor Kojouharov)
4930Solution: Don't go to the previous line when the 'c' flag is present.
4931 Also fix that "j" doesn't move the cursor to the right column.
4932Files: src/eval.c, src/search.c
4933
4934Patch 7.1.026
4935Problem: "[p" doesn't work in Visual mode. (David Brown)
4936Solution: Use checkclearop() instead of checkclearopq().
4937Files: src/normal.c
4938
4939Patch 7.1.027
4940Problem: On Sun systems opening /dev/fd/N doesn't work, and they are used
4941 by process substitutions.
4942Solution: Allow opening specific character special files for Sun systems.
4943 (Gary Johnson)
4944Files: src/fileio.c, src/os_unix.h
4945
4946Patch 7.1.028
4947Problem: Can't use last search pattern for ":sort". (Brian McKee)
Bram Moolenaar6dfc28b2010-02-11 14:19:15 +01004948Solution: When the pattern is empty use the last search pattern. (Martin
Bram Moolenaar8c8de832008-06-24 22:58:06 +00004949 Toft)
4950Files: runtime/doc/change.txt, src/ex_cmds.c
4951
4952Patch 7.1.029 (after 7.1.019)
4953Problem: Can't compile when all interfaces are used. (Taylor Venable)
4954Solution: Only check for ex_script_ni when it's defined.
4955Files: src/ex_docmd.c
4956
4957Patch 7.1.030
4958Problem: The "vimtutor" shell script checks for "vim6" but not for "vim7".
4959 (Christian Robinson)
4960Solution: Check for more versions, but prefer using "vim".
4961Files: src/vimtutor
4962
4963Patch 7.1.031
4964Problem: virtcol([123, '$']) doesn't work. (Michael Schaap)
4965Solution: When '$' is used for the column number get the last column.
4966Files: runtime/doc/eval.txt, src/eval.c
4967
4968Patch 7.1.032
4969Problem: Potential crash when editing a command line. (Chris Monson)
4970Solution: Check the position to avoid access before the start of an array.
4971Files: src/ex_getln.c
4972
4973Patch 7.1.033
4974Problem: A buffer is marked modified when it was first deleted and then
4975 added again using a ":next" command. (John Mullin)
4976Solution: When checking if a buffer is modified use the BF_NEVERLOADED flag.
4977Files: src/option.c
4978
4979Patch 7.1.034
4980Problem: Win64: A few compiler warnings. Problems with optimizer.
4981Solution: Use int instead of size_t. Disable the optimizer in one function.
4982 (George V. Reilly)
4983Files: src/eval.c, src/spell.c
4984
4985Patch 7.1.035
4986Problem: After ":s/./&/#" all listed lines have a line number. (Yakov
4987 Lerner)
4988Solution: Reset the line number flag when not using the "&" flag.
4989Files: src/ex_cmds.c
4990
4991Patch 7.1.036
4992Problem: Completing ":echohl" argument should include "None". (Ori
4993 Avtalion) ":match" should have "none" too.
4994Solution: Add flags to use expand_highlight(). Also fix that when disabling
4995 FEAT_CMDL_COMPL compilation fails. (Chris Lubinski)
4996Files: src/eval.c, src/ex_docmd.c, src/ex_getln.c, src/proto/syntax.pro
4997 src/syntax.c
4998
4999Patch 7.1.037
5000Problem: strcpy() used for overlapping strings. (Chris Monson)
5001Solution: Use mch_memmove() instead.
5002Files: src/option.c
5003
5004Patch 7.1.038
5005Problem: When 'expandtab' is set then a Tab copied for 'copyindent' is
5006 expanded to spaces, even when 'preserveindent' is set. (Alexei
5007 Alexandrov)
5008Solution: Remove the check for 'expandtab'. Also fix that ">>" doesn't obey
5009 'preserveindent'. (Chris Lubinski)
5010Files: src/misc1.c
5011
5012Patch 7.1.039
5013Problem: A tag in a help file that starts with "help-tags" and contains a
5014 percent sign may make Vim crash. (Ulf Harnhammar)
5015Solution: Use puts() instead of fprintf().
5016Files: src/ex_cmds.c
5017
5018Patch 7.1.040
5019Problem: ":match" only supports three matches.
5020Solution: Add functions clearmatches(), getmatches(), matchadd(),
5021 matchdelete() and setmatches(). Changed the data structures for
5022 this. A small bug in syntax.c is fixed, so newly created
5023 highlight groups can have their name resolved correctly from their
5024 ID. (Martin Toft)
5025Files: runtime/doc/eval.txt, runtime/doc/pattern.txt,
5026 runtime/doc/usr_41.txt, src/eval.c, src/ex_docmd.c,
5027 src/proto/window.pro, src/screen.c, src/structs.h, src/syntax.c,
5028 src/testdir/Makefile, src/testdir/test63.in,
5029 src/testdir/test63.ok, src/window.c
5030
5031Patch 7.1.041 (extra, after 7.1.040)
5032Problem: Some changes for patch 7.1.040 are in extra files.
5033Solution: Update the extra files.
5034Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
5035 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms
5036
5037Patch 7.1.042 (after 7.1.040)
5038Problem: Internal error when using matchadd(). (David Larson)
5039Solution: Check the third argument to be present before using the fourth
5040 argument. (Martin Toft)
5041Files: src/eval.c
5042
5043Patch 7.1.043
5044Problem: In Ex mode using CTRL-D twice may cause a crash. Cursor isn't
5045 positioned properly after CTRL-D.
5046Solution: Set prev_char properly. Position the cursor correctly. (Antony
5047 Scriven)
5048Files: src/ex_getln.c
5049
5050Patch 7.1.044
5051Problem: In Insert mode 0 CTRL-T deletes all indent, it should add indent.
5052 (Gautam Iyer)
5053Solution: Check for CTRL-D typed.
5054Files: src/edit.c
5055
5056Patch 7.1.045
5057Problem: Unnecessary screen redrawing. (Jjgod Jiang)
5058Solution: Reset "must_redraw" after clearing the screen.
5059Files: src/screen.c
5060
5061Patch 7.1.046
5062Problem: ":s" command removes combining characters. (Ron Aaron)
5063Solution: Copy composing characters individually. (Chris Lubinski)
5064Files: src/regexp.c
5065
5066Patch 7.1.047
5067Problem: vim_regcomp() called with invalid argument. (Xiaozhou Liu)
5068Solution: Change TRUE to RE_MAGIC + RE_STRING.
5069Files: src/ex_eval.c
5070
5071Patch 7.1.048
5072Problem: The matchparen plugin doesn't update the match when scrolling with
5073 the mouse wheel. (Ilya Bobir)
5074Solution: Set the match highlighting for text that can be scrolled into the
5075 viewable area without moving the cursor. (Chris Lubinski)
5076Files: runtime/plugin/matchparen.vim
5077
5078Patch 7.1.049
5079Problem: Cannot compile GTK2 version with Hangul input feature.
5080Solution: Don't define FEAT_XFONTSET when using GTK2.
5081Files: src/feature.h
5082
5083Patch 7.1.050
5084Problem: Possible crash when using C++ indenting. (Chris Monson)
5085Solution: Keep the line pointer to the line to compare with. Avoid going
5086 past the end of line.
5087Files: src/misc1.c
5088
5089Patch 7.1.051
5090Problem: Accessing uninitialized memory when finding spell suggestions.
5091Solution: Don't try swapping characters at the end of a word.
5092Files: src/spell.c
5093
5094Patch 7.1.052
5095Problem: When creating a new match not all fields are initialized, which
5096 may lead to unpredictable results.
5097Solution: Initialise rmm_ic and rmm_maxcol.
5098Files: src/window.c
5099
5100Patch 7.1.053
5101Problem: Accessing uninitialized memory when giving a message.
5102Solution: Check going the length before checking for a NUL byte.
5103Files: src/message.c
5104
5105Patch 7.1.054
5106Problem: Accessing uninitialized memory when displaying the fold column.
5107Solution: Add a NUL to the extra array. (Dominique Pelle). Also do this in
5108 a couple of other situations.
5109Files: src/screen.c
5110
5111Patch 7.1.055
5112Problem: Using strcpy() with arguments that overlap.
5113Solution: Use mch_memmove() instead.
5114Files: src/buffer.c, src/charset.c, src/eval.c, src/ex_getln.c,
5115 src/misc1.c, src/regexp.c, src/termlib.c
5116
5117Patch 7.1.056
5118Problem: More prompt does not behave correctly after scrolling back.
5119 (Randall W. Morris)
5120Solution: Avoid lines_left becomes negative. (Chris Lubinski) Don't check
5121 mp_last when deciding to show the more prompt. (Martin Toft)
5122Files: src/message.c
5123
5124Patch 7.1.057
5125Problem: Problem with CursorHoldI when using "r" in Visual mode (Max
5126 Dyckhoff)
5127Solution: Ignore CursorHold(I) when getting a second character for a Normal
5128 mode command. Also abort the "r" command in Visual when a special
5129 key is typed.
5130Files: src/normal.c
5131
5132Patch 7.1.058
5133Problem: When 'rightleft' is set the completion menu is positioned wrong.
5134 (Baha-Eddine MOKADEM)
5135Solution: Fix the completion menu. (Martin Toft)
5136Files: src/popupmnu.c, src/proto/search.pro, src/search.c
5137
5138Patch 7.1.059
5139Problem: When in Ex mode and doing "g/^/vi" and then pressing CTRL-C Vim
5140 hangs and beeps. (Antony Scriven)
5141Solution: Clear "got_int" in the main loop to avoid the hang. When typing
5142 CTRL-C twice in a row abort the ":g" command. This is Vi
5143 compatible.
5144Files: src/main.c
5145
5146Patch 7.1.060
5147Problem: Splitting quickfix window messes up window layout. (Marius
5148 Gedminas)
5149Solution: Compute the window size in a smarter way. (Martin Toft)
5150Files: src/window.c
5151
5152Patch 7.1.061
5153Problem: Win32: When 'encoding' is "latin1" 'ignorecase' doesn't work for
5154 characters with umlaut. (Joachim Hofmann)
5155Solution: Do not use islower()/isupper()/tolower()/toupper() but our own
5156 functions. (Chris Lubinski)
5157Files: src/mbyte.c, src/regexp.c, src/vim.h
5158
5159Patch 7.1.062 (after 7.1.038)
5160Problem: Indents of C comments can be wrong. (John Mullin)
5161Solution: Adjust ind_len. (Chris Lubinski)
5162Files: src/misc1.c
5163
5164Patch 7.1.063 (after 7.1.040)
Bram Moolenaarc236c162008-07-13 17:41:49 +00005165Problem: Warning for uninitialized variable.
Bram Moolenaar8c8de832008-06-24 22:58:06 +00005166Solution: Initialise it to NULL.
5167Files: src/ex_docmd.c
5168
5169Patch 7.1.064
5170Problem: On Interix some files appear not to exist.
5171Solution: Remove the top bit from st_mode. (Ligesh)
5172Files: src/os_unix.c
5173
5174Patch 7.1.065 (extra)
5175Problem: Win32: Compilation problem for newer version of w32api.
5176Solution: Only define __IID_DEFINED__ when needed. (Chris Sutcliffe)
5177Files: src/Make_ming.mak, src/iid_ole.c
5178
5179Patch 7.1.066
5180Problem: When 'bomb' is set or reset the file should be considered
5181 modified. (Tony Mechelynck)
5182Solution: Handle like 'endofline'. (Martin Toft)
5183Files: src/buffer.c, src/fileio.c, src/option.c, src/structs.h
5184
5185Patch 7.1.067
5186Problem: 'thesaurus' doesn't work when 'infercase' is set. (Mohsin)
5187Solution: Don't copy the characters being completed but check the case and
5188 apply it to the suggested word. Also fix that the first word in
5189 the thesaurus line is not used. (Martin Toft)
5190Files: src/edit.c
5191
5192Patch 7.1.068
5193Problem: When 'equalalways' is set and splitting a window, it's possible
5194 that another small window gets bigger.
5195Solution: Only equalize window sizes when after a split the windows are
5196 smaller than another window. (Martin Toft)
5197Files: runtime/doc/options.txt, runtime/doc/windows.txt, src/window.c
5198
5199Patch 7.1.069
5200Problem: GTK GUI: When using confirm() without a default button there still
5201 is a default choice.
5202Solution: Ignore Enter and Space when there is no default button. (Chris
5203 Lubinski)
5204Files: src/gui_gtk.c
5205
5206Patch 7.1.070 (extra)
5207Problem: Win32 GUI: When using confirm() without a default button there
5208 still is a default choice.
5209Solution: Set focus on something else than a button. (Chris Lubinski)
5210Files: src/gui_w32.c
5211
5212Patch 7.1.071 (after 7.1.040)
5213Problem: Regexp patterns are not tested.
5214Solution: Add a basic test, to be expanded later.
5215 Also add (commented-out) support for valgrind.
5216Files: src/testdir/Makefile, src/testdir/test64.in, src/testdir/test64.ok
5217
5218Patch 7.1.072 (extra, after 7.1.041 and 7.1.071)
5219Problem: Some changes for patch 7.1.071 are in extra files.
5220Solution: Update the extra files. Also fix a few warnings from the DOS test
5221 makefile.
5222Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
5223 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms
5224
5225Patch 7.1.073 (after 7.1.062)
5226Problem: Wrong cursor position and crash when 'preserveindent' is set.
5227 (Charles Campbell)
5228Solution: Handle the situation that we start without indent. (Chris
5229 Lubinski)
5230Files: src/misc1.c
5231
5232Patch 7.1.074
Bram Moolenaarc236c162008-07-13 17:41:49 +00005233Problem: Crash when calling string() on a recursively nested List.
Bram Moolenaar8c8de832008-06-24 22:58:06 +00005234Solution: Check result value for being NULL. (Yukihiro Nakadaira)
5235Files: src/eval.c
5236
5237Patch 7.1.075
5238Problem: ":let v:statusmsg" reads memory already freed.
5239Solution: Don't set v:statusmsg when listing it.
5240Files: src/eval.c
5241
5242Patch 7.1.076
5243Problem: Another strcpy() with overlapping arguments.
5244Solution: Use mch_memmove(). (Dominique Pelle) And another one.
5245Files: src/ex_docmd.c, src/normal.c
5246
5247Patch 7.1.077
5248Problem: Using "can_spell" without initializing it. (Dominique Pelle)
5249Solution: Set a default for get_syntax_attr().
5250Files: src/syntax.c
5251
5252Patch 7.1.078
5253Problem: Dropping a file name on gvim that contains a CSI byte doesn't work
5254 when editing the command line.
5255Solution: Escape the CSI byte when inserting in the input buffer. (Yukihiro
5256 Nakadaira)
5257Files: src/gui.c, src/ui.c
5258
5259Patch 7.1.079
5260Problem: When the locale is "C" and 'encoding' is "latin1" then the "@"
5261 character in 'isfname', 'isprint', etc. doesn't pick up accented
5262 characters.
5263Solution: Instead of isalpha() use MB_ISLOWER() and MB_ISUPPER().
5264Files: src/charset.c, src/macros.h
5265
5266Patch 7.1.080 (extra)
5267Problem: Compiler warnings for using "const char *" for "char *".
5268Solution: Add type casts. (Chris Sutcliffe)
5269Files: src/GvimExt/gvimext.cpp
5270
5271Patch 7.1.081
5272Problem: Command line completion for a shell command: "cat </tmp/file<Tab>"
5273 doesn't work.
5274Solution: Start the file name at any character that can't be in a file name.
5275 (Martin Toft)
5276Files: src/ex_docmd.c
5277
5278Patch 7.1.082
5279Problem: After a ":split" the matchparen highlighting isn't there.
5280Solution: Install a WinEnter autocommand. Also fixes that after
5281 ":NoMatchParen" only the current window is updated. (Martin Toft)
5282Files: runtime/doc/pi_paren.txt, runtime/plugin/matchparen.vim
5283
5284Patch 7.1.083 (after 7.1.081)
5285Problem: Command line completion doesn't work with wildcards.
5286Solution: Add vim_isfilec_or_wc() and use it. (Martin Toft)
5287Files: src/charset.c, src/proto/charset.pro, src/ex_docmd.c
5288
5289Patch 7.1.084
5290Problem: Using the "-nb" argument twice causes netbeans not to get
5291 fileOpened events.
5292Solution: Change "&" to "&&". (Xavier de Gaye)
5293Files: src/ex_cmds.c
5294
5295Patch 7.1.085
5296Problem: ":e fold.c" then ":sp fold.c" results in folds of original window
5297 to disappear. (Akita Noek)
5298Solution: Invoke foldUpdateAll() for all windows of the changed buffer.
5299 (Martin Toft)
5300Files: src/ex_cmds.c
5301
5302Patch 7.1.086
5303Problem: Crash when using specific Python syntax highlighting. (Quirk)
5304Solution: Check for a negative index, coming from a keyword match at the
5305 start of a line from a saved state.
5306Files: src/syntax.c
5307
5308Patch 7.1.087
5309Problem: Reading past ":cscope find" command. Writing past end of a buffer.
5310Solution: Check length of the argument before using the pattern. Use
5311 vim_strncpy(). (Dominique Pelle)
5312Files: if_cscope.c
5313
5314Patch 7.1.088 (extra)
5315Problem: The coordinates used by ":winpos" differ from what getwinposx()
5316 and getwinposy() return.
5317Solution: Use MoveWindowStructure() instead of MoveWindow(). (Michael Henry)
5318Files: src/gui_mac.c
5319
5320Patch 7.1.089
5321Problem: ":let loaded_getscriptPlugin" doesn't clear to eol, result is
5322 "#1in".
5323Solution: Clear to the end of the screen after displaying the first variable
5324 value.
5325Files: src/eval.c
5326
5327Patch 7.1.090
5328Problem: Compiler warning on Mac OS X 10.5.
5329Solution: Don't redeclare sigaltstack(). (Hisashi T Fujinaka)
5330Files: src/os_unix.c
5331
5332Patch 7.1.091 (extra)
5333Problem: Win32: Can't embed Vim inside another application.
5334Solution: Add the --windowid argument. (Nageshwar)
5335Files: runtime/doc/gui_w32.txt, runtime/doc/starting.txt,
5336 runtime/doc/vi_diff.txt, src/globals.h, src/gui_w32.c, src/main.c
5337
5338Patch 7.1.092 (extra, after 7.1.088)
5339Problem: Wrong arguments for MoveWindowStructure().
5340Solution: Remove "TRUE". (Michael Henry)
5341Files: src/gui_mac.c
5342
5343Patch 7.1.093
5344Problem: Reading past end of a screen line when determining cell width.
5345 (Dominique Pelle)
5346Solution: Add an argument to mb_off2cells() for the maximum offset.
5347Files: src/globals.h, src/gui.c, src/mbyte.c, src/proto/mbyte.pro,
5348 src/screen.c
5349
5350Patch 7.1.094
5351Problem: When checking if syntax highlighting is present, looking in the
5352 current buffer instead of the specified one.
5353Solution: Use "buf" instead of "curbuf".
5354Files: src/syntax.c
5355
5356Patch 7.1.095
5357Problem: The FocusLost and FocusGained autocommands are triggered
5358 asynchronously in the GUI. This may cause arbitrary problems.
5359Solution: Put the focus event in the input buffer and handle it when ready
5360 for it.
5361Files: src/eval.c, src/getchar.c, src/gui.c, src/gui_gtk_x11.c,
5362 src/keymap.h
5363
5364Patch 7.1.096
5365Problem: Reading past end of a string when resizing Vim. (Dominique Pelle)
5366Solution: Check the string pointer before getting the char it points to.
5367Files: src/message.c
5368
5369Patch 7.1.097
5370Problem: ":setlocal stl=%!1+1" does not work.
5371Solution: Adjust check for pointer. (Politz)
5372Files: src/option.c
5373
5374Patch 7.1.098
5375Problem: ":call s:var()" doesn't work if "s:var" is a Funcref. (Andy Wokula)
5376Solution: Before converting "s:" into a script ID, check if it is a Funcref.
5377Files: src/eval.c
5378
5379Patch 7.1.099
5380Problem: When the 'keymap' and 'paste' options have a non-default value,
5381 ":mkexrc" and ":mksession" do not correctly set the options.
5382Solution: Set the options with side effects before other options.
5383Files: src/option.c
5384
5385Patch 7.1.100
5386Problem: Win32: Executing cscope doesn't always work properly.
5387Solution: Use another way to invoke cscope. (Mike Williams)
5388Files: src/if_cscope.c, src/if_cscope.h, src/main.c,
5389 src/proto/if_cscope.pro
5390
5391Patch 7.1.101
5392Problem: Ruby: The Buffer.line= method does not work.
5393Solution: Add the "self" argument to set_current_line(). (Jonathan Hankins)
5394Files: src/if_ruby.c
5395
5396Patch 7.1.102
5397Problem: Perl interface doesn't compile with new version of Perl.
5398Solution: Add two variables to the dynamic library loading. (Suresh
5399 Govindachar)
5400Files: src/if_perl.xs
5401
5402Patch 7.1.103
5403Problem: Using "dw" with the cursor past the end of the last line (using
5404 CTRL-\ CTRL-O from Insert mode) deletes a character. (Tim Chase)
5405Solution: Don't move the cursor back when the movement failed.
5406Files: src/normal.c
5407
5408Patch 7.1.104 (after 7.1.095)
5409Problem: When 'lazyredraw' is set a focus event causes redraw to be
5410 postponed until a key is pressed.
5411Solution: Instead of not returning from vgetc() when a focus event is
5412 encountered return K_IGNORE. Add plain_vgetc() for when the
5413 caller doesn't want to get K_IGNORE.
5414Files: src/digraph.c, src/edit.c, src/ex_cmds.c, src/ex_getln.c,
5415 src/getchar.c, src/normal.c, src/proto/getchar.pro, src/window.c
5416
5417Patch 7.1.105
5418Problem: Internal error when using "0 ? {'a': 1} : {}". (A.Politz)
5419Solution: When parsing a dictionary value without using the value, don't try
5420 obtaining the key name.
5421Files: src/eval.c
5422
5423Patch 7.1.106
5424Problem: ":messages" doesn't quit listing on ":".
5425Solution: Break the loop when "got_int" is set.
5426Files: src/message.c
5427
5428Patch 7.1.107
5429Problem: When doing a block selection and using "s" to change the text,
5430 while triggering auto-indenting, causes the wrong text to be
5431 repeated in other lines. (Adri Verhoef)
5432Solution: Compute the change of indent and compensate for that.
5433Files: src/ops.c
5434
5435Patch 7.1.108 (after 7.1.100)
5436Problem: Win32: Compilation problems in Cscope code. (Jeff Lanzarotta)
5437Solution: Use (long) instead of (intptr_t) when it's not defined.
5438Files: src/if_cscope.c
5439
5440Patch 7.1.109
5441Problem: GTK: when there are many tab pages, clicking on the arrow left of
5442 the labels moves to the next tab page on the right. (Simeon Bird)
5443Solution: Check the X coordinate of the click and pass -1 as value for the
5444 left arrow.
5445Files: src/gui_gtk_x11.c, src/term.c
5446
5447Patch 7.1.110 (after 7.1.102)
5448Problem: Win32: Still compilation problems with Perl.
5449Solution: Change the #ifdefs. (Suresh Govindachar)
5450Files: src/if_perl.xs
5451
5452Patch 7.1.111
5453Problem: When using ":vimgrep" with the "j" flag folds from another buffer
5454 may be displayed. (A.Politz)
5455Solution: When not jumping to another buffer update the folds.
5456Files: src/quickfix.c
5457
5458Patch 7.1.112
5459Problem: Using input() with a wrong argument may crash Vim. (A.Politz)
5460Solution: Init the input() return value to NULL.
5461Files: src/eval.c
5462
5463Patch 7.1.113
5464Problem: Using map() to go over an empty list causes memory to be freed
5465 twice. (A.Politz)
5466Solution: Don't clear the typeval in restore_vimvar().
5467Files: src/eval.c
5468
5469Patch 7.1.114
5470Problem: Memory leak in getmatches().
5471Solution: Don't increment the refcount twice.
5472Files: src/eval.c
5473
5474Patch 7.1.115 (after 7.1.105)
5475Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
5476Solution: Init variable to NULL.
5477Files: src/eval.c
5478
5479Patch 7.1.116
5480Problem: Cannot display Unicode characters above 0x10000.
5481Solution: Remove the replacement with a question mark when UNICODE16 is not
5482 defined. (partly by Nicolas Weber)
5483Files: src/screen.c
5484
5485Patch 7.1.117
Bram Moolenaar6dfc28b2010-02-11 14:19:15 +01005486Problem: Can't check whether Vim was compiled with Gnome. (Tony Mechelynck)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00005487Solution: Add gui_gnome to the has() list.
5488Files: src/eval.c
5489
5490Patch 7.1.118 (after 7.1.107)
5491Problem: Compiler warning for Visual C compiler.
5492Solution: Add typecast. (Mike Williams)
5493Files: src/ops.c
5494
5495Patch 7.1.119
5496Problem: Crash when 'cmdheight' set to very large value. (A.Politz)
5497Solution: Limit 'cmdheight' to 'lines' minus one. Store right value of
5498 'cmdheight' when running out of room.
5499Files: src/option.c, src/window.c
5500
5501Patch 7.1.120
5502Problem: Can't properly check memory leaks while running tests.
5503Solution: Add an argument to garbagecollect(). Delete functions and
5504 variables in the test scripts.
5505Files: runtime/doc/eval.txt src/eval.c, src/globals.h, src/main.c,
5506 src/testdir/Makefile, src/testdir/test14.in,
5507 src/testdir/test26.in, src/testdir/test34.in,
5508 src/testdir/test45.in, src/testdir/test47.in,
5509 src/testdir/test49.in, src/testdir/test55.in,
5510 src/testdir/test56.in, src/testdir/test58.in,
5511 src/testdir/test59.in, src/testdir/test60.in,
5512 src/testdir/test60.vim, src/testdir/test62.in,
5513 src/testdir/test63.in, src/testdir/test64.in,
5514
5515Patch 7.1.121
5516Problem: Using ":cd %:h" when editing a file in the current directory
5517 results in an error message for using an empty string.
5518Solution: When "%:h" results in an empty string use ".".
5519Files: src/eval.c
5520
5521Patch 7.1.122
5522Problem: Mac: building Vim.app fails. Using wrong architecture.
5523Solution: Use line continuation for the gui_bundle dependency. Detect the
5524 system architecture with "uname -a".
5525Files: src/main.aap
5526
5527Patch 7.1.123
5528Problem: Win32: ":edit foo ~ foo" expands "~".
5529Solution: Change the call to expand_env().
5530Files: src/ex_docmd.c, src/misc1.c, src/proto/misc1.pro, src/option.c
5531
5532Patch 7.1.124 (extra)
5533Problem: Mac: When dropping a file on Vim.app that is already in the buffer
5534 list (from .viminfo) results in editing an empty, unnamed buffer.
5535 (Axel Kielhorn) Also: warning for unused variable.
Bram Moolenaarc236c162008-07-13 17:41:49 +00005536Solution: Move to the buffer of the first argument. Delete unused variable.
Bram Moolenaar8c8de832008-06-24 22:58:06 +00005537Files: src/gui_mac.c
5538
5539Patch 7.1.125
5540Problem: The TermResponse autocommand event is not always triggered. (Aron
Bram Moolenaar8d9b40e2010-07-25 15:49:07 +02005541 Griffis)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00005542Solution: When unblocking autocommands check if v:termresponse changed and
5543 trigger the event then.
5544Files: src/buffer.c, src/diff.c, src/ex_getln.c, src/fileio.c,
5545 src/globals.h, src/misc2.c, src/proto/fileio.pro, src/window.c
5546
5547Patch 7.1.126 (extra)
5548Problem: ":vimgrep */*" fails when a BufRead autocommand changes directory.
5549 (Bernhard Kuhn)
5550Solution: Change back to the original directory after loading a file.
5551 Also: use shorten_fname1() to avoid duplicating code.
5552Files: src/buffer.c, src/ex_docmd.c, src/fileio.c, src/gui_gtk.c,
5553 src/gui_w48.c, src/proto/ex_docmd.pro, src/proto/fileio.pro,
5554 src/quickfix.c
5555
5556Patch 7.1.127
5557Problem: Memory leak when doing cmdline completion. (Dominique Pelle)
5558Solution: Free "orig" argument of ExpandOne() when it's not used.
5559Files: src/ex_getln.c
5560
5561Patch 7.1.128 (extra)
5562Problem: Build problems with new version of Cygwin.
5563Solution: Remove -D__IID_DEFINED__, like with MingW. (Guopeng Wen)
5564Files: src/Make_cyg.mak
5565
5566Patch 7.1.129 (extra)
5567Problem: Win32: Can't get the user name when it is longer than 15
5568 characters.
5569Solution: Use UNLEN instead of MAX_COMPUTERNAME_LENGTH. (Alexei Alexandrov)
5570Files: src/os_win32.c
5571
5572Patch 7.1.130
5573Problem: Crash with specific order of undo and redo. (A.Politz)
5574Solution: Clear and adjust pointers properly. Add u_check() for debugging.
5575Files: src/undo.c, src/structs.h
5576
5577Patch 7.1.131
5578Problem: ":mksession" always adds ":setlocal autoread". (Christian J.
5579 Robinson)
5580Solution: Skip boolean global/local option using global value.
5581Files: src/option.c
5582
5583Patch 7.1.132
5584Problem: getpos("'>") may return a negative column number for a Linewise
5585 selection. (A.Politz)
5586Solution: Don't add one to MAXCOL.
5587Files: src/eval.c
5588
5589Patch 7.1.133 (after 7.1.126)
5590Problem: shorten_fname1() linked when it's not needed.
5591Solution: Add #ifdef.
5592Files: src/fileio.c
5593
5594Patch 7.1.134 (extra)
5595Problem: Win32: Can't build with VC8
5596Solution: Detect the MSVC version instead of using NMAKE_VER.
5597 (Mike Williams)
5598Files: src/Make_mvc.mak
5599
5600Patch 7.1.135
5601Problem: Win32: When editing a file c:\tmp\foo and c:\tmp\\foo we have two
5602 buffers for the same file. (Suresh Govindachar)
5603Solution: Invoke FullName_save() when a path contains "//" or "\\".
5604Files: src/buffer.c
5605
5606Patch 7.1.136
5607Problem: Memory leak when using Ruby syntax highlighting. (Dominique Pelle)
5608Solution: Free the contained-in list.
5609Files: src/syntax.c
5610
5611Patch 7.1.137
5612Problem: Build failure when using EXITFREE. (Dominique Pelle)
5613Solution: Add an #ifdef around using clip_exclude_prog.
5614Files: src/misc2.c
5615
5616Patch 7.1.138
5617Problem: The Perl Msg() function doesn't stop when "q" is typed at the more
5618 prompt. (Hari Krishna Dara)
5619Solution: Check got_int.
5620Files: src/if_perl.xs
5621
5622Patch 7.1.139
5623Problem: When using marker folding and ending Insert mode with CTRL-C the
5624 current fold is truncated. (Fred Kater)
5625Solution: Ignore got_int while updating folds.
5626Files: src/fold.c
5627
5628Patch 7.1.140
5629Problem: v:count is set only after typing a non-digit, that makes it
5630 difficult to make a nice mapping.
5631Solution: Set v:count while still typing the count.
5632Files: src/normal.c
5633
5634Patch 7.1.141
5635Problem: GTK: -geom argument doesn't support a negative offset.
5636Solution: Compute position from the right/lower corner.
5637Files: src/gui_gtk_x11.c
5638
5639Patch 7.1.142
5640Problem: ":redir @A>" doesn't work.
5641Solution: Ignore the extra ">" also when appending. (James Vega)
5642Files: src/ex_docmd.c
5643
5644Patch 7.1.143
5645Problem: Uninitialized memory read when diffing three files. (Dominique
5646 Pelle)
5647Solution: Remove "+ !notset" so that we don't use fields that were not
5648 computed.
5649Files: src/diff.c
5650
5651Patch 7.1.144
5652Problem: After ":diffup" cursor can be in the wrong position.
5653Solution: Force recomputing the cursor position.
5654Files: src/diff.c
5655
5656Patch 7.1.145
5657Problem: Insert mode completion: When using the popup menu, after
5658 completing a word and typing a non-word character Vim is still
5659 completing the same word, following CTRL-N doesn't work.
5660 Insert mode Completion: When using CTRL-X O and there is only
5661 "struct." before the cursor, typing one char to reduce the
5662 matches, then BS completion stops.
5663Solution: When typing a character that is not part of the item being
5664 completed, stop complete mode. For whole line completion also
5665 accept a space. For file name completion stop at a path
5666 separator.
5667 For omni completion stay in completion mode even if completing
5668 with empty string.
5669Files: src/edit.c
5670
5671Patch 7.1.146 (extra)
5672Problem: VMS: Files with a very rare record organization (VFC) cannot be
5673 properly written by Vim.
5674 On older VAX systems mms runs into a syntax error.
5675Solution: Check for this special situation. Do not wrap a comment, make it
5676 one long line. (Zoltan Arpadffy)
5677Files: src/fileio.c, src/Make_vms.mms
5678
5679Patch 7.1.147 (after 7.1.127)
5680Problem: Freeing memory already freed when completing user name. (Meino
5681 Cramer)
5682Solution: Use a flag to remember if "orig" needs to be freed.
5683Files: src/ex_getln.c
5684
5685Patch 7.1.148
5686Problem: Some types are not found by configure.
5687Solution: Test for the sys/types.h header file. (Sean Boudreau)
5688Files: src/configure.in, src/auto/configure
5689
5690Patch 7.1.149
5691Problem: GTK GUI: When the completion popup menu is used scrolling another
5692 window by the scrollbar is OK, but using the scroll wheel it
5693 behaves line <Enter>.
5694Solution: Ignore K_MOUSEDOWN and K_MOUSEUP. Fix redrawing the popup menu.
5695Files: src/edit.c, src/gui.c
5696
5697Patch 7.1.150
5698Problem: When 'clipboard' has "unnamed" using "p" in Visual mode doesn't
5699 work correctly. (Jianrong Yu)
5700Solution: When 'clipboard' has "unnamed" also obtain the selection when
5701 getting the default register.
5702Files: src/ops.c
5703
5704Patch 7.1.151
5705Problem: Using whole line completion with 'ignorecase' and 'infercase' set
5706 and the line is empty get an lalloc(0) error.
5707Solution: Don't try changing case for an empty match. (Matthew Wozniski)
5708Files: src/edit.c
5709
5710Patch 7.1.152
5711Problem: Display problem when 'hls' and 'cursorcolumn' are set and
5712 searching for "$". (John Mullin) Also when scrolling
5713 horizontally when 'wrap' is off.
5714Solution: Keep track of the column where highlighting was set. Check the
5715 column offset when skipping characters.
5716Files: src/screen.c
5717
5718Patch 7.1.153
5719Problem: Compiler warnings on SGI. Undefined XpmAllocColor (Charles
5720 Campbell)
5721Solution: Add type casts. Init st_dev and st_ino separately. Don't use
5722 type casts for vim_snprintf() when HAVE_STDARG_H is defined.
5723 Define XpmAllocColor when needed.
5724Files: src/eval.c, src/ex_cmds.c, src/fileio.c, src/misc2.c,
5725 src/gui_xmebw.c
5726
5727Patch 7.1.154
5728Problem: Compiler warning for signed/unsigned compare.
5729Solution: Add type cast.
5730Files: src/screen.c
5731
5732Patch 7.1.155
5733Problem: Crash when 'undolevels' is 0 and repeating "udd". (James Vega)
5734Solution: When there is only one branch use u_freeheader() to delete it.
5735Files: src/undo.c
5736
5737Patch 7.1.156
5738Problem: Overlapping arguments for strcpy() when expanding command line
5739 variables.
5740Solution: Use mch_memmove() instead of STRCPY(). Also fix a few typos.
5741 (Dominique Pelle)
5742Files: src/ex_docmd.c
5743
5744Patch 7.1.157
5745Problem: In Ex mode, :" gives an error at end-of-file. (Michael Hordijk)
5746Solution: Only give an error for an empty line, not for a comment.
5747Files: src/ex_docmd.c
5748
5749Patch 7.1.158 (extra)
5750Problem: Win32 console: When 'encoding' is "utf-8" and typing Alt-y the
5751 result is wrong. Win32 GUI: Alt-y results in "u" when 'encoding'
5752 is "cp1250" (Lukas Cerman)
5753Solution: For utf-8 don't set the 7th bit in a byte, convert to the correct
5754 byte sequence. For cp1250, when conversion to 'encoding' results
5755 in the 7th bit not set, set the 7th bit after conversion.
5756Files: src/os_win32.c, src/gui_w48.c
5757
5758Patch 7.1.159
5759Problem: strcpy() has overlapping arguments.
5760Solution: Use mch_memmove() instead. (Dominique Pelle)
5761Files: src/ex_cmds.c
5762
5763Patch 7.1.160
5764Problem: When a focus autocommand is defined, getting or losing focus
5765 causes the hit-enter prompt to be redrawn. (Bjorn Winckler)
5766Solution: Overwrite the last line.
5767Files: src/message.c
5768
5769Patch 7.1.161
5770Problem: Compilation errors with tiny features and EXITFREE.
5771Solution: Add #ifdefs. (Dominique Pelle)
5772Files: src/edit.c, src/misc2.c
5773
5774Patch 7.1.162
5775Problem: Crash when using a modifier before "while" or "for". (A.Politz)
5776Solution: Skip modifiers when checking for a loop command.
5777Files: src/proto/ex_docmd.pro, src/ex_docmd.c, src/ex_eval.c
5778
5779Patch 7.1.163
5780Problem: Warning for the unknown option 'bufsecret'.
5781Solution: Remove the lines .vim that use this option. (Andy Wokula)
5782Files: runtime/menu.vim
5783
5784Patch 7.1.164
5785Problem: Reading past end of regexp pattern. (Dominique Pelle)
5786Solution: Use utf_ptr2len().
5787Files: src/regexp.c
5788
5789Patch 7.1.165
5790Problem: Crash related to getting X window ID. (Dominique Pelle)
5791Solution: Don't trust the window ID that we got in the past, check it every
5792 time.
5793Files: src/os_unix.c
5794
5795Patch 7.1.166
5796Problem: Memory leak for using "gp" in Visual mode.
5797Solution: Free memory in put_register(). (Dominique Pelle)
5798Files: src/ops.c
5799
5800Patch 7.1.167
5801Problem: Xxd crashes when using "xxd -b -c 110". (Debian bug 452789)
5802Solution: Allocate more memory. Fix check for maximum number of columns.
5803Files: src/xxd/xxd.c
5804
5805Patch 7.1.168 (extra)
5806Problem: Win32 GUI: Since patch 7.1.095, when the Vim window does not have
5807 focus, clicking in it doesn't position the cursor. (Juergen
5808 Kraemer)
5809Solution: Don't reset s_button_pending just after receiving focus.
5810Files: src/gui_w48.c
5811
5812Patch 7.1.169
5813Problem: Using uninitialized variable when system() fails. (Dominique
5814 Pelle)
5815Solution: Let system() return an empty string when it fails.
5816Files: src/eval.c
5817
5818Patch 7.1.170
5819Problem: Valgrind warning for overlapping arguments for strcpy().
5820Solution: Use mch_memmove() instead. (Dominique Pelle)
5821Files: src/getchar.c
5822
5823Patch 7.1.171
5824Problem: Reading one byte before allocated memory.
5825Solution: Check index not to become negative. (Dominique Pelle)
5826Files: src/ex_getln.c
5827
5828Patch 7.1.172
5829Problem: When 'buftype' is "acwrite" Vim still checks if the file or
5830 directory exists before overwriting.
5831Solution: Don't check for overwriting when the buffer name is not a file
5832 name.
5833Files: src/ex_cmds.c
5834
5835Patch 7.1.173
5836Problem: Accessing freed memory. (Dominique Pelle)
5837Solution: Don't call reg_getline() to check if a line is the first in the
5838 file.
5839Files: src/regexp.c
5840
5841Patch 7.1.174
5842Problem: Writing NUL past end of a buffer.
5843Solution: Copy one byte less when using strncat(). (Dominique Pelle)
5844Files: src/ex_cmds.c, src/ex_docmd.c,
5845
5846Patch 7.1.175
5847Problem: <BS> doesn't work with some combination of 'sts', 'linebreak' and
5848 'backspace'. (Francois Ingelrest)
5849Solution: When adding white space results in not moving back delete one
5850 character.
5851Files: src/edit.c
5852
5853Patch 7.1.176
5854Problem: Building with Aap fails when the "compiledby" argument contains
5855 '<' or '>' characters. (Alex Yeh)
5856Solution: Change how quoting is done in the Aap recipe.
5857Files: src/main.aap
5858
5859Patch 7.1.177
5860Problem: Freeing memory twice when in debug mode while reading a script.
5861Solution: Ignore script input while in debug mode.
5862Files: src/ex_cmds2.c, src/getchar.c, src/globals.h
5863
5864Patch 7.1.178
5865Problem: "%" doesn't work on "/* comment *//* comment */".
5866Solution: Don't handle the "//" in "*//*" as a C++ comment. (Markus
5867 Heidelberg)
5868Files: src/search.c
5869
5870Patch 7.1.179
5871Problem: Need to check for TCL 8.5.
5872Solution: Adjust configure script. (Alexey Froloff)
5873Files: src/configure.in, src/auto/configure
5874
5875Patch 7.1.180
5876Problem: Regexp patterns not tested sufficiently.
5877Solution: Add more checks to the regexp test.
5878Files: src/testdir/test64.in, src/testdir/test64.ok
5879
5880Patch 7.1.181
5881Problem: Accessing uninitialized memory in Farsi mode. (Dominique Pelle)
5882Solution: Only invoke lrF_sub() when there is something to do.
5883Files: src/ex_cmds.c
5884
5885Patch 7.1.182
5886Problem: When using tab pages and an argument list the session file may
5887 contain wrong "next" commands. (Alexander Bluem)
5888Solution: Use "argu" commands and only when needed.
5889Files: src/ex_docmd.c
5890
5891Patch 7.1.183
5892Problem: "Internal error" for ":echo matchstr('a', 'a\%[\&]')" (Mitanu
5893 Paul)
5894Solution: Inside "\%[]" detect \&, \| and \) as an error.
5895Files: src/regexp.c
5896
5897Patch 7.1.184
5898Problem: Crash when deleting backwards over a line break in Insert mode.
5899Solution: Don't advance the cursor when it's already on the NUL after a
5900 line. (Matthew Wozniski)
5901Files: src/normal.c
5902
5903Patch 7.1.185
5904Problem: Using "gR" with a multi-byte encoding and typing a CR pushes
5905 characters onto the replace stack incorrectly, resulting in BS
5906 putting back the wrong characters. (Paul B. Mahol)
5907Solution: Push multi-byte characters onto the replace stack in reverse byte
5908 order. Add replace_push_mb().
5909Files: src/edit.c, src/misc1.c, src/proto/edit.pro
5910
5911Patch 7.1.186
5912Problem: "expand('<afile>')" returns a bogus value after changing
5913 directory. (Dave Fishburn)
5914Solution: Copy "autocmd_fname" to allocated memory and expand to full
5915 filename. Shorten the path when expanding <afile>.
5916Files: src/ex_docmd.c, src/fileio.c
5917
5918Patch 7.1.187
5919Problem: Win32 GUI: Custom completion using system() no longer works
5920 after patch 7.1.104. (Erik Falor)
5921Solution: Loop when safe_vgetc() returns K_IGNORE.
5922Files: src/ex_getln.c
5923
5924Patch 7.1.188
5925Problem: When 'showmode' is off the message for changing a readonly file is
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +01005926 given in the second column instead of the first. (Payl B. Mahol)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00005927Solution: Put the W10 message in the first column.
5928Files: src/edit.c
5929
5930Patch 7.1.189 (after 7.1.104)
5931Problem: Patch 7.1.104 was incomplete.
5932Solution: Also call plain_vgetc() in ask_yesno().
5933Files: src/misc1.c
5934
5935Patch 7.1.190
5936Problem: Cursor after end-of-line: "iA sentence.<Esc>)"
5937Solution: Move cursor back and make motion inclusive.
5938Files: src/normal.c
5939
5940Patch 7.1.191
5941Problem: Win32 GUI: after patch 7.1.168 there is still a problem when
5942 clicking in a scrollbar. (Juergen Jottkaerr)
5943Solution: Don't check the input buffer when dragging the scrollbar.
5944Files: src/gui.c
5945
5946Patch 7.1.192
5947Problem: With Visual block selection, "s" and typing something, CTRL-C
5948 doesn't stop Vim from repeating the replacement in other lines,
5949 like happens for "I".
5950Solution: Check for "got_int" to be set.
5951Files: src/ops.c
5952
5953Patch 7.1.193
5954Problem: Some Vim 5.x digraphs are missing in Vim 7, even though the
5955 character pairs are not used. (Philippe de Muyter)
5956Solution: Add those Vim 5.x digraphs that don't conflict with others.
5957Files: src/digraph.c
5958
5959Patch 7.1.194
5960Problem: ":echo glob('~/{}')" results in /home/user//.
5961Solution: Don't add a slash if there already is one.
5962Files: src/os_unix.c
5963
5964Patch 7.1.195
5965Problem: '0 mark doesn't work for "~/foo ~ foo".
5966Solution: Don't expand the whole file name, only "~/".
5967Files: src/mark.c
5968
5969Patch 7.1.196 (extra)
5970Problem: Win32 GUI: "\n" in a tooltip doesn't cause a line break. (Erik
5971 Falor)
5972Solution: Use the TTM_SETMAXTIPWIDTH message.
5973Files: src/gui_w32.c
5974
5975Patch 7.1.197
5976Problem: Mac: "make install" doesn't work when prefix defined.
5977Solution: Pass different arguments to "make installruntime". (Jjgod Jiang)
5978Files: src/Makefile
5979
5980Patch 7.1.198
5981Problem: Hang when using ":s/\n//gn". (Burak Gorkemli)
5982Solution: Set "skip_match".
5983Files: src/ex_cmds.c
5984
5985Patch 7.1.199
5986Problem: Can't do command line completion for a specific file name
5987 extension.
5988Solution: When the pattern ends in "$" don't add a star for completion and
5989 remove the "$" before matching with file names.
5990Files: runtime/doc/cmdline.txt, src/ex_getln.c
5991
5992Patch 7.1.200 (after 7.1.177 and 7.1.182)
5993Problem: Compiler warnings for uninitialized variables.
5994Solution: Init variables.
5995Files: src/ex_cmds2.c, src/ex_docmd.c
5996
5997Patch 7.1.201
Bram Moolenaardd007ed2013-07-09 15:44:17 +02005998Problem: When reading stdin 'fenc' and 'ff' are not set.
Bram Moolenaar8c8de832008-06-24 22:58:06 +00005999Solution: Set the options after reading stdin. (Ben Schmidt)
6000Files: src/fileio.c
6001
6002Patch 7.1.202
6003Problem: Incomplete utf-8 byte sequence is not checked for validity.
6004Solution: Check the bytes that are present for being valid. (Ben Schmidt)
6005Files: src/mbyte.c
6006
6007Patch 7.1.203
6008Problem: When 'virtualedit' is "onemore" then "99|" works but ":normal 99|"
6009 doesn't. (Andy Wokula)
6010Solution: Check for "onemore" flag in check_cursor_col().
6011Files: src/misc2.c
6012
6013Patch 7.1.204 (extra)
6014Problem: Win32: Using the example at 'balloonexpr' the balloon disappears
6015 after four seconds and then comes back again. Also moves the
6016 mouse pointer a little bit. (Yongwei Wu)
6017Solution: Set the autopop time to 30 seconds (the max value). (Sergey
6018 Khorev) Move the mouse two pixels forward and one back to end up
6019 in the same position (really!).
6020Files: src/gui_w32.c
6021
6022Patch 7.1.205
6023Problem: Can't get the operator in an ":omap".
6024Solution: Add the "v:operator" variable. (Ben Schmidt)
6025Files: runtime/doc/eval.txt, src/eval.c, src/normal.c, src/vim.h
6026
6027Patch 7.1.206
6028Problem: Compiler warnings when using MODIFIED_BY.
6029Solution: Add type casts. (Ben Schmidt)
6030Files: src/version.c
6031
6032Patch 7.1.207
6033Problem: Netbeans: "remove" cannot delete one line.
6034Solution: Remove partial lines and whole lines properly. Avoid a memory
6035 leak. (Xavier de Gaye)
6036Files: src/netbeans.c
6037
6038Patch 7.1.208
6039Problem: On Alpha get an unaligned access error.
6040Solution: Store the dictitem pointer before using it. (Matthew Luckie)
6041Files: src/eval.c
6042
6043Patch 7.1.209
6044Problem: GTK: When using the netrw plugin and doing ":gui" Vim hangs.
6045Solution: Stop getting a selection after three seconds. This is a hack.
6046Files: src/gui_gtk_x11.c
6047
6048Patch 7.1.210
6049Problem: Listing mapping for 0xdb fails when 'encoding' is utf-8. (Tony
6050 Mechelynck)
6051Solution: Recognize K_SPECIAL KS_EXTRA KE_CSI as a CSI byte.
6052Files: src/mbyte.c
6053
6054Patch 7.1.211
6055Problem: The matchparen plugin may take an unexpected amount of time, so
6056 that it looks like Vim hangs.
6057Solution: Add a timeout to searchpair(), searchpairpos(), search() and
6058 searchpos(). Use half a second timeout in the plugin.
6059Files: runtime/doc/eval.txt, runtime/plugin/matchparen.vim, src/edit.c,
6060 src/eval.c, src/ex_cmds2.c, src/ex_docmd.c, src/normal.c,
6061 src/proto/eval.pro, src/proto/ex_cmds2.pro, src/proto/search.pro,
6062 src/search.c
6063
6064Patch 7.1.212
6065Problem: Accessing a byte before a line.
6066Solution: Check that the column is 1 or more. (Dominique Pelle)
6067Files: src/edit.c
6068
6069Patch 7.1.213
6070Problem: A ":tabedit" command that results in the "swap file exists" dialog
6071 and selecting "abort" doesn't close the new tab. (Al Budden)
6072Solution: Pass "old_curwin" to do_exedit().
6073Files: src/ex_docmd.c
6074
6075Patch 7.1.214
6076Problem: ":1s/g\n\zs1//" deletes characters from the first line. (A Politz)
6077Solution: Start replacing in the line where the match starts.
6078Files: src/ex_cmds.c
6079
6080Patch 7.1.215
6081Problem: It is difficult to figure out what syntax items are nested at a
6082 certain position.
6083Solution: Add the synstack() function.
6084Files: runtime/doc/eval.txt, src/eval.c, src/proto/syntax.pro,
6085 src/syntax.c
6086
6087Patch 7.1.216
6088Problem: Variants of --remote-tab are not mentioned for "vim --help".
6089Solution: Display optional -wait and -silent.
6090Files: src/main.c
6091
6092Patch 7.1.217
6093Problem: The "help-tags" tag may be missing from runtime/doc/tags when it
6094 was generated during "make install".
6095Solution: Add the "++t" argument to ":helptags" to force adding the tag.
6096Files: runtime/doc/Makefile, runtime/doc/various.txt, src/ex_cmds.c,
6097 src/ex_cmds.h
6098
6099Patch 7.1.218
6100Problem: A syntax region without a "keepend", containing a region with
6101 "extend" could be truncated at the end of the containing region.
6102Solution: Do not call syn_update_ends() when there are no keepend items.
6103Files: src/syntax.c
6104
6105Patch 7.1.219 (after 7.1.215)
6106Problem: synstack() returns situation after the current character, can't
6107 see the state for a one-character region.
6108Solution: Don't update ending states in the requested column.
6109Files: runtime/doc/eval.txt, src/eval.c, src/hardcopy.c,
6110 src/proto/syntax.pro, src/screen.c, src/spell.c, src/syntax.c
6111
6112Patch 7.1.220
6113Problem: When a ")" or word movement command moves the cursor back from the
6114 end of the line it may end up on the trail byte of a multi-byte
6115 character. It's also moved back when it isn't needed.
6116Solution: Add the adjust_cursor() function.
6117Files: src/normal.c
6118
6119Patch 7.1.221
6120Problem: When inserting a "(", triggering the matchparen plugin, the
6121 following highlighting may be messed up.
6122Solution: Before triggering the CursorMovedI autocommands update the display
6123 to update the stored syntax stacks for the change.
6124Files: src/edit.c
6125
6126Patch 7.1.222 (after 7.1.217)
6127Problem: Wildcards in argument of ":helptags" are not expanded. (Marcel
6128 Svitalsky)
6129Solution: Expand wildcards in the directory name.
6130Files: src/ex_cmds.c
6131
6132Patch 7.1.223
6133Problem: glob() doesn't work properly when 'shell' is "sh" or "bash" and
6134 the expanded name contains spaces, '~', single quotes and other
6135 special characters. (Adri Verhoef, Charles Campbell)
6136Solution: For Posix shells define a vimglob() function to list the matches
6137 instead of using "echo" directly.
6138Files: src/os_unix.c
6139
6140Patch 7.1.224
6141Problem: When using "vim -F -o file1 file2" only one window is
6142 right-to-left. Same for "-H". (Ben Schmidt)
6143Solution: use set_option_value() to set 'rightleft'.
6144Files: src/main.c
6145
6146Patch 7.1.225
Bram Moolenaarc236c162008-07-13 17:41:49 +00006147Problem: Using uninitialized value when XGetWMNormalHints() fails.
Bram Moolenaar8c8de832008-06-24 22:58:06 +00006148Solution: Check the return value. (Dominique Pelle)
6149Files: src/os_unix.c
6150
6151Patch 7.1.226
6152Problem: Command line completion doesn't work when a file name contains a
6153 '&' character.
6154Solution: Accept all characters in a file name, except ones that end a
6155 command or white space.
6156Files: src/ex_docmd.c
6157
6158Patch 7.1.227
6159Problem: Hang in syntax HL when moving over a ")". (Dominique Pelle)
6160Solution: Avoid storing a syntax state in the wrong position in the list of
6161 remembered states.
6162Files: src/syntax.c
6163
6164Patch 7.1.228
6165Problem: When 'foldmethod' is "indent" and a fold is created with ">>" it
6166 can't be closed with "zc". (Daniel Shahaf)
6167Solution: Reset the "small" flag of a fold when adding a line to it.
6168Files: src/fold.c
6169
6170Patch 7.1.229
6171Problem: A fold is closed when it shouldn't when 'foldmethod' is "indent"
6172 and backspacing a non-white character so that the indent increases.
6173Solution: Keep the fold open after backspacing a character.
6174Files: src/edit.c
6175
6176Patch 7.1.230
6177Problem: Memory leak when executing SourceCmd autocommands.
6178Solution: Free the memory. (Dominique Pelle)
6179Files: src/ex_cmds2.c
6180
6181Patch 7.1.231
6182Problem: When shifting lines the change is acted upon multiple times.
6183Solution: Don't have shift_line() call changed_bytes.
6184Files: src/edit.c, src/ops.c, src/proto/edit.pro, src/proto/ops.pro
6185
6186Patch 7.1.232 (after 7.1.207 and 7.1.211)
6187Problem: Compiler warnings with MSVC.
6188Solution: Add type casts. (Mike Williams)
6189Files: src/ex_cmds2.c, src/netbeans.c
6190
6191Patch 7.1.233
6192Problem: Crash when doing Insert mode completion for a user defined
6193 command. (Yegappan Lakshmanan)
6194Solution: Don't use the non-existing command line.
6195Files: src/ex_getln.c
6196
6197Patch 7.1.234
6198Problem: When diff'ing three files the third one isn't displayed correctly.
6199 (Gary Johnson)
6200Solution: Compute the size of diff blocks correctly when merging blocks.
6201 Compute filler lines correctly when scrolling.
6202Files: src/diff.c
6203
6204Patch 7.1.235
6205Problem: Pattern matching is slow when using a lot of simple patterns.
6206Solution: Avoid allocating memory by not freeing it when it's not so much.
6207 (Alexei Alexandrov)
6208Files: src/regexp.c
6209
6210Patch 7.1.236
6211Problem: When using 'incsearch' and 'hlsearch' a complicated pattern may
6212 make Vim hang until CTRL-C is pressed.
6213Solution: Add the 'redrawtime' option.
6214Files: runtime/doc/options.txt, src/ex_cmds.c, src/ex_docmd.c,
6215 src/ex_getln.c, src/gui.c, src/misc1.c, src/normal.c,
6216 src/option.c, src/quickfix.c, src/regexp.c, src/proto/regexp.pro,
6217 src/proto/search.pro, src/search.c, src/screen.c,
6218 src/option.h, src/spell.c, src/structs.h, src/syntax.c, src/tag.c,
6219 src/vim.h
6220
6221Patch 7.1.237
6222Problem: Compiler warning on an Alpha processor in Motif code.
6223Solution: Change a typecast. (Adri Verhoef)
6224Files: src/gui_motif.c
6225
6226Patch 7.1.238
6227Problem: Using the 'c' flag with searchpair() may cause it to fail. Using
6228 the 'r' flag doesn't work when 'wrapscan' is set. (A.Politz)
6229Solution: Only use the 'c' flag for the first search, not for repeating.
6230 When using 'r' imply 'W'. (Antony Scriven)
6231Files: src/eval.c
6232
6233Patch 7.1.239 (after 7.1.233)
6234Problem: Compiler warning for sprintf() argument.
6235Solution: Add a typecast. (Nico Weber)
6236Files: src/ex_getln.c
6237
6238Patch 7.1.240
6239Problem: When "gUe" turns a German sharp s into SS the operation stops
6240 before the end of the word. Latin2 has the same sharp s but it's
6241 not changed to SS there.
6242Solution: Make sure all the characters are operated upon. Detect the sharp
6243 s in latin2. Also fixes that changing case of a multi-byte
Bram Moolenaarc236c162008-07-13 17:41:49 +00006244 character that changes the byte count doesn't always work.
Bram Moolenaar8c8de832008-06-24 22:58:06 +00006245Files: src/ops.c
6246
6247Patch 7.1.241
6248Problem: Focus change events not always ignored. (Erik Falor)
6249Solution: Ignore K_IGNORE in Insert mode in a few more places.
6250Files: src/edit.c
6251
6252Patch 7.1.242 (after 7.1.005)
6253Problem: "cib" doesn't work properly on "(x)". (Tim Pope)
6254Solution: Use ltoreq() instead of lt(). Also fix "ciT" on "<a>x</a>".
6255Files: src/search.c
6256
6257Patch 7.1.243 (after 7.1.240)
6258Problem: "U" doesn't work on all text in Visual mode. (Adri Verhoef)
6259Solution: Loop over all the lines to be changed. Add tests for this.
6260Files: src/ops.c, src/testdir/test39.in, src/testdir/test39.ok
6261
6262Patch 7.1.244
6263Problem: GUI may have part of the command line cut off.
6264Solution: Don't round the number of lines up, always round down.
6265 (Tony Houghton, Scott Dillard)
6266Files: src/gui.c
6267
6268Patch 7.1.245
6269Problem: Pressing CTRL-\ three times causes Vim to quit. (Ranganath Rao).
6270 Also for f CTRL-\ CTRL-\.
6271Solution: When going to cooked mode in mch_delay() set a flag to ignore
6272 SIGQUIT.
6273Files: src/os_unix.c
6274
6275Patch 7.1.246
6276Problem: Configure hangs when the man pager is something strange. (lorien)
6277Solution: Set MANPAGER and PAGER to "cat". (Micah Cowan)
6278Files: src/auto/configure, src/configure.in
6279
6280Patch 7.1.247
6281Problem: When using Netbeans backspacing in Insert mode skips a character
6282 now and then. (Ankit Jain)
6283Solution: Avoid calling netbeans_removed(), it frees the line pointer.
6284 (partly by Dominique Pelle).
6285Files: src/misc1.c
6286
6287Patch 7.1.248
6288Problem: Can't set the '" mark. Can't know if setpos() was successful.
6289Solution: Allow setting the '" mark with setpos(). Have setpos() return a
6290 value indicating success/failure.
6291Files: runtime/doc/eval.txt, src/eval.c, src/mark.c
6292
6293Patch 7.1.249
6294Problem: After "U" the cursor can be past end of line. (Adri Verhoef)
6295Solution: Adjust the cursor position in u_undoline().
6296Files: src/undo.c
6297
6298Patch 7.1.250
6299Problem: ":setglobal fenc=anything" gives an error message in a buffer
6300 where 'modifiable' is off. (Ben Schmidt)
6301Solution: Don't give an error if 'modifiable' doesn't matter.
6302Files: src/option.c
6303
6304Patch 7.1.251
6305Problem: Using freed memory when spell checking enabled.
6306Solution: Obtain the current line again after calling spell_move_to().
6307 (Dominique Pelle)
6308Files: src/screen.c
6309
6310Patch 7.1.252 (after 7.1.243)
6311Problem: Test 39 fails when the environment has a utf-8 locale. (Dominique
6312 Pelle)
6313Solution: Force 'encoding' to be latin1.
6314Files: src/testdir/test39.in
6315
6316Patch 7.1.253
6317Problem: ":sort" doesn't work in a one line file. (Patrick Texier)
6318Solution: Don't sort if there is only one line. (Dominique Pelle)
6319Files: src/ex_cmds.c
6320
6321Patch 7.1.254
6322Problem: Tests 49 and 55 fail when the locale is French.
6323Solution: Using C messages for test 49. Filter the error message in test 55
6324 such that it works when the number is halfway the message.
6325Files: src/testdir/test49.in, src/testdir/test55.in
6326
6327Patch 7.1.255
6328Problem: Vim doesn't support utf-32. (Yongwei Wu)
6329Solution: Add aliases for utf-32, it's the same as ucs-4.
6330Files: src/mbyte.c
6331
6332Patch 7.1.256
6333Problem: findfile() also returns directories.
6334Solution: Cleanup the code for finding files and directories in a list of
6335 directories. Remove the ugly global ff_search_ctx.
6336Files: src/eval.c, src/misc2.c, src/vim.h, src/tag.c
6337
6338Patch 7.1.257
6339Problem: Configure can't always find the Tcl header files.
6340Solution: Also look in /usr/local/include/tcl$tclver and
6341 /usr/include/tcl$tclver (James Vega)
6342Files: src/auto/configure, src/configure.in
6343
6344Patch 7.1.258
6345Problem: Crash when doing "d/\n/e" and 'virtualedit' is "all". (Andy Wokula)
6346Solution: Avoid that the column becomes negative. Also fixes other problems
6347 with the end of a pattern match is in column zero. (A.Politz)
6348Files: src/search.c
6349
6350Patch 7.1.259
6351Problem: Cursor is in the wrong position when 'rightleft' is set,
6352 'encoding' is "utf-8" and on an illegal byte. (Dominique Pelle)
6353Solution: Only put the cursor in the first column when actually on a
6354 double-wide character. (Yukihiro Nakadaira)
6355Files: src/screen.c
6356
6357Patch 7.1.260
6358Problem: Cursor positioning problem after ^@ wrapping halfway when
6359 'encoding' is utf-8.
6360Solution: Only count a position for printable characters. (partly by
6361 Yukihiro Nakadaira)
6362Files: src/charset.c
6363
6364Patch 7.1.261
6365Problem: When a 2 byte BOM is detected Vim uses UCS-2, which doesn't work
6366 for UTF-16 text. (Tony Mechelynck)
6367Solution: Default to UTF-16.
6368Files: src/fileio.c, src/testdir/test42.ok
6369
6370Patch 7.1.262
6371Problem: Can't get the process ID of Vim.
6372Solution: Implement getpid().
6373Files: src/eval.c, runtime/doc/eval.txt
6374
6375Patch 7.1.263
6376Problem: The filetype can consist of two dot separated names. This works
6377 for syntax and ftplugin, but not for indent. (Brett Stahlman)
6378Solution: Use split() and loop over each dot separated name.
6379Files: runtime/indent.vim
6380
6381Patch 7.1.264
6382Problem: Crash when indenting lines. (Dominique Pelle)
6383Solution: Set the cursor column when changing the cursor line.
6384Files: src/ops.c, src/misc1.c
6385
6386Patch 7.1.265
6387Problem: When 'isfname' contains a space, cmdline completion can hang.
6388 (James Vega)
6389Solution: Reset the "len" variable.
6390Files: src/ex_docmd.c
6391
6392Patch 7.1.266
6393Problem: When the version string returned by the terminal contains
6394 unexpected characters, it is used as typed input. (James Vega)
6395Solution: Assume the escape sequence ends in a letter.
6396Files: src/term.c
6397
6398Patch 7.1.267
Bram Moolenaarc236c162008-07-13 17:41:49 +00006399Problem: When changing folds cursor may be positioned in the wrong place.
Bram Moolenaar8c8de832008-06-24 22:58:06 +00006400Solution: Call changed_window_setting_win() instead of
6401 changed_window_setting().
6402Files: src/fold.c
6403
6404Patch 7.1.268
6405Problem: Always shows "+" at end of screen line with: ":set
6406 listchars=eol:$,extends:+ nowrap list cursorline" (Gary Johnson)
6407Solution: Check for lcs_eol_one instead of lcs_eol.
6408Files: src/screen.c
6409
6410Patch 7.1.269
6411Problem: The matchparen plugin has an arbitrary limit for the number of
6412 lines to look for a match.
6413Solution: Rely on the searchpair() timeout.
6414Files: runtime/plugin/matchparen.vim
6415
6416Patch 7.1.270
6417Problem: ":?foo?" matches in current line since patch 7.1.025. (A.Politz)
6418Solution: Remove the SEARCH_START flag.
6419Files: src/ex_docmd.c, src/search.c
6420
6421Patch 7.1.271
6422Problem: In a Vim build without autocommands, checking a file that was
6423 changed externally causes the current buffer to be changed
6424 unexpectedly. (Karsten Hopp)
6425Solution: Store "curbuf" instead of "buf".
6426Files: src/fileio.c
6427
6428Patch 7.1.272
6429Problem: The special buffer name [Location List] is not used for a buffer
6430 displayed in another tab page.
6431Solution: Use FOR_ALL_TAB_WINDOWS instead of FOR_ALL_WINDOWS. (Hiroaki
6432 Nishihara)
6433Files: src/buffer.c
6434
6435Patch 7.1.273
6436Problem: When profiling on Linux Vim exits early. (Liu Yubao)
6437Solution: When profiling don't exit on SIGPROF.
6438Files: src/Makefile, src/os_unix.c
6439
6440Patch 7.1.274 (after 7.1.272)
6441Problem: Compiler warning for optimized build.
6442Solution: Init win to NULL.
6443Files: src/buffer.c
6444
6445Patch 7.1.275 (extra)
6446Problem: Mac: ATSUI and 'antialias' don't work properly together.
6447Solution: Fix this and the input method. (Jjgod Jiang)
6448Files: src/vim.h, src/gui_mac.c
6449
6450Patch 7.1.276
6451Problem: "gw" uses 'formatexpr', even though the docs say it doesn't.
6452Solution: Don't use 'formatexpr' for "gw".
6453Files: src/vim.h, src/edit.c, src/ops.c, src/proto/ops.pro
6454
6455Patch 7.1.277
6456Problem: Default for 'paragraphs' misses some items (Colin Watson)
6457Solution: Add TP, HP, Pp, Lp and It to 'paragraphs'. (James Vega)
6458Files: runtime/doc/options.txt, src/option.c
6459
6460Patch 7.1.278 (extra, after 7.1.275)
6461Problem: Build failure when USE_CARBONKEYHANDLER is not defined.
6462Solution: Remove #ifdef.
6463Files: src/gui_mac.c
6464
6465Patch 7.1.279
6466Problem: When using cscope temporary files are left behind.
6467Solution: Send the quit command to cscope and give it two seconds to exit
6468 nicely before killing it. (partly by Dominique Pelle)
6469Files: src/if_cscope.c
6470
6471Patch 7.1.280 (after 7.1.275)
6472Problem: Mac: build problems when not using multibyte feature. (Nicholas
6473 Stallard)
6474Solution: Don't define USE_IM_CONTROL when not using multibyte.
6475Files: src/vim.h
6476
6477Patch 7.1.281 (after 7.1.279)
6478Problem: sa.sa_mask is not initialized. Cscope may not exit.
6479Solution: Use sigemptyset(). Use SIGKILL instead of SIGTERM. (Dominique
6480 Pelle)
6481Files: src/if_cscope.c
6482
6483Patch 7.1.282 (extra)
6484Problem: Win64: Edit with Vim context menu isn't installed correctly.
6485 Compiler warnings and a few other things.
6486Solution: Add [ and ] to entry of class name. Use UINT_PTR instead of UINT.
6487 And a fixes for the other things. (George V. Reilly)
6488Files: src/GvimExt/Makefile, src/dosinst.c, src/if_ole.cpp, src/if_ole.h,
6489 src/if_ole.idl, src/INSTALLpc.txt, src/Make_mvc.mak,
6490 src/os_win32.c,
6491
6492Patch 7.1.283
6493Problem: Non-extra part for 7.1.282.
6494Solution: Various changes.
6495Files: src/ex_docmd.c, src/globals.h, src/if_cscope.c, src/main.c,
6496 src/mark.c, src/netbeans.c, src/popupmnu.c, src/vim.h,
6497 src/window.c
6498
6499Patch 7.1.284
6500Problem: Compiler warnings for functions without prototype.
6501Solution: Add the function prototypes. (Patrick Texier)
6502Files: src/eval.c, src/quickfix.c
6503
6504Patch 7.1.285 (extra)
6505Problem: Mac: dialog hotkeys don't work.
6506Solution: Add hotkey support. (Dan Sandler)
6507Files: src/gui_mac.c
6508
6509Patch 7.1.286 (after 7.1.103)
6510Problem: "w" at the end of the buffer moves the cursor past the end of the
6511 line. (Markus Heidelberg)
6512Solution: Move the cursor back from the NUL when it was moved forward.
6513Files: src/normal.c
6514
6515Patch 7.1.287
6516Problem: Crash when reversing a list after using it. (Andy Wokula)
6517Solution: Update the pointer to the last used element. (Dominique Pelle)
6518Files: src/eval.c
6519
6520Patch 7.1.288 (after 7.1.281)
6521Problem: Cscope still leaves behind temp files when using gvim.
6522Solution: When getting the ECHILD error loop for a while until cscope exits.
6523 (Dominique Pelle)
6524Files: if_cscope.c
6525
6526Patch 7.1.289
6527Problem: When EXITFREE is defined and 'acd' is set freed memory is used.
6528 (Dominique Pelle)
6529Solution: Reset p_acd before freeing all buffers.
6530Files: src/misc2.c
6531
6532Patch 7.1.290
6533Problem: Reading bytes that were not written when spell checking and a line
6534 has a very large indent.
6535Solution: Don't copy the start of the next line when it only contains
6536 spaces. (Dominique Pelle)
6537Files: src/spell.c
6538
6539Patch 7.1.291 (after 7.1.288)
6540Problem: Compiler warning.
6541Solution: Change 50 to 50L.
6542Files: src/if_cscope.c
6543
6544Patch 7.1.292
6545Problem: When using a pattern with "\@<=" the submatches can be wrong.
6546 (Brett Stahlman)
6547Solution: Save the submatches when attempting a look-behind match.
6548Files: src/regexp.c
6549
6550Patch 7.1.293
6551Problem: Spell checking considers super- and subscript characters as word
6552 characters.
6553Solution: Recognize the Unicode super and subscript characters.
6554Files: src/spell.c
6555
6556Patch 7.1.294
6557Problem: Leaking memory when executing a shell command.
6558Solution: Free memory when not able to save for undo. (Dominique Pelle)
6559Files: src/ex_cmds.c
6560
6561Patch 7.1.295
6562Problem: Vimtutor only works with vim, not gvim.
6563Solution: Add the -g flag to vimtutor. (Dominique Pelle) Add gvimtutor.
6564Files: src/Makefile, src/gvimtutor, src/vimtutor, runtime/doc/vimtutor.1
6565
6566Patch 7.1.296
6567Problem: SELinux is not supported.
6568Solution: Detect the selinux library and use mch_copy_sec(). (James Vega)
6569Files: src/auto/configure, src/config.h.in, src/configure.in,
6570 src/fileio.c, src/memfile.c, src/os_unix.c, src/proto/os_unix.pro
6571
6572Patch 7.1.297
6573Problem: When using the search/replace dialog the parenmatch highlighting
6574 can be wrong. (Tim Duncan)
6575Solution: In the GUI redraw function invoke the CursorMoved autocmd.
6576Files: src/gui.c
6577
6578Patch 7.1.298 (after 7.1.295)
6579Problem: src/gvimtutor is not distributed.
6580Solution: Add it to the list of distributed files.
6581Files: Filelist
6582
6583Patch 7.1.299
6584Problem: Filetype detection doesn't work properly for file names ending in
6585 a part that is ignored and contain a space or other special
6586 characters.
6587Solution: Escape the special characters using the new fnameescape function.
6588Files: runtime/doc/eval.txt, runtime/filetype.vim, src/eval.c,
6589 src/ex_getln.c, src/proto/ex_getln.pro, src/vim.h
6590
6591Patch 7.1.300
6592Problem: Value of asmsyntax argument isn't checked for valid characters.
6593Solution: Only accepts letters and digits.
6594Files: runtime/filetype.vim
6595
6596Patch 7.1.301
6597Problem: When the "File/Save" menu is used in Insert mode, a tab page label
6598 is not updated to remove the "+".
6599Solution: Call draw_tabline() from showruler(). (Bjorn Winckler)
6600Files: src/screen.c
6601
6602Patch 7.1.302 (after 7.1.299)
6603Problem: Compilation error on MS-Windows.
6604Solution: Don't use xp_shell when it's not defined.
6605Files: src/ex_getln.c
6606
6607Patch 7.1.303 (after 7.1.302)
6608Problem: Compilation error on MS-Windows, again.
6609Solution: Declare p.
6610Files: src/ex_getln.c
6611
6612Patch 7.1.304
6613Problem: Shortpath_for_invalid_fname() does not work correctly and is
6614 unnecessary complex.
6615Solution: Clean up shortpath_for_invalid_fname(). (mostly by Yegappan
6616 Lakshmanan)
6617Files: src/eval.c
6618
6619Patch 7.1.305
6620Problem: Editing a compressed file with special characters in the name
6621 doesn't work properly.
6622Solution: Escape special characters.
6623Files: runtime/autoload/gzip.vim
6624
6625Patch 7.1.306
6626Problem: Some Unicode characters are handled like word characters while
6627 they are symbols.
6628Solution: Adjust the table for Unicode classification.
6629Files: src/mbyte.c
6630
6631Patch 7.1.307
6632Problem: Many warnings when compiling with Python 2.5.
6633Solution: Use ssize_t instead of int for some types. (James Vega)
6634Files: src/if_python.c
6635
6636Patch 7.1.308
6637Problem: When in readonly mode ":options" produces an error.
6638Solution: Reset 'readonly'. (Gary Johnson)
6639Files: runtime/optwin.vim
6640
6641Patch 7.1.309
6642Problem: Installing and testing with a shadow directory doesn't work.
6643 (James Vega)
6644Solution: Add "po" to the list of directories to link. Also link the Vim
6645 scripts in testdir. And a few more small fixes.
6646Files: src/Makefile
6647
6648Patch 7.1.310
6649Problem: Incomplete utf-8 byte sequence at end of the file is not detected.
6650 Accessing memory that wasn't written.
6651Solution: Check the last bytes in the buffer for being a valid utf-8
6652 character. (mostly by Ben Schmidt)
6653 Also fix that the reported line number of the error was wrong.
6654Files: src/fileio.c
6655
6656Patch 7.1.311
6657Problem: Compiler warning for missing sentinel in X code.
6658Solution: Change 0 to NULL. (Markus Heidelberg)
6659Files: src/mbyte.c
6660
6661Patch 7.1.312
6662Problem: The .po files have mistakes in error numbers.
6663Solution: Search for these mistakes in the check script. (Dominique Pelle)
6664Files: src/po/check.vim
6665
6666Patch 7.1.313
6667Problem: When the netbeans interface setModified call is used the status
6668 lines and window title are not updated.
6669Solution: Redraw the status lines and title. (Philippe Fremy)
6670Files: src/netbeans.c
6671
6672Patch 7.1.314
6673Problem: The value of 'pastetoggle' is written to the session file without
6674 any escaping. (Randall Hansen)
6675Solution: Use put_escstr(). (Ben Schmidt)
6676Files: src/option.c
6677
6678Patch 7.1.315
6679Problem: Crash with specific search pattern using look-behind match.
6680 (Andreas Politz)
6681Solution: Also save the value of "need_clear_subexpr".
6682Files: src/regexp.c
6683
6684Patch 7.1.316
6685Problem: When 'cscopetag' is set ":tag" gives an error message instead of
6686 going to the next tag in the tag stack.
6687Solution: Don't call do_cstag() when there is no argument. (Mark Goldman)
6688Files: src/ex_docmd.c
6689
6690Patch 7.1.317
6691Problem: Compiler warnings in Motif calls.
6692Solution: Change zero to NULL. (Dominique Pelle)
6693Files: src/gui_motif.c
6694
6695Patch 7.1.318
6696Problem: Memory leak when closing xsmp connection. Crash on exit when
6697 using Lesstif.
6698Solution: Don't close the X display to work around a Lesstif bug. Free
6699 clientid. Also fix a leak for Motif and Athena. (Dominique Pelle)
6700Files: src/gui_x11.c, src/os_unix.c
6701
6702Patch 7.1.319
6703Problem: When a register has an illegal utf-8 sequence, pasting it on the
6704 command line causes an illegal memory access.
6705Solution: Use mb_cptr2char_adv(). (Dominique Pelle)
6706Files: src/ex_getln.c
6707
6708Patch 7.1.320 (extra)
6709Problem: Win64: Warnings while compiling Python interface.
6710Solution: Use PyInt in more places. Also update version message for the
6711 console. (George Reilly)
6712Files: src/if_python.c, src/version.c
6713
6714Patch 7.1.321 (extra)
6715Problem: Win32 / Win64: Install file is outdated.
6716Solution: Update the text for recent compiler. (George Reilly)
6717Files: src/INSTALLpc.txt
6718
6719Patch 7.1.322
6720Problem: Can't get start of Visual area in an <expr> mapping.
6721Solution: Add the 'v' argument to getpos().
6722Files: runtime/doc/eval.txt, src/eval.c
6723
6724Patch 7.1.323
Bram Moolenaarc236c162008-07-13 17:41:49 +00006725Problem: Test 19 fails with some termcaps. (Dominique Pelle)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00006726Solution: Set the t_kb and t_kD termcap values.
6727Files: src/testdir/test19.in, src/testdir/test38.in
6728
6729Patch 7.1.324
6730Problem: File name path length on Unix is limited to 1024.
6731Solution: Use PATH_MAX when it's more than 1000.
6732Files: src/os_unix.h
6733
6734Patch 7.1.325
6735Problem: When editing a command line that's longer than available space in
6736 the window, the characters at the end are in reverse order.
6737Solution: Increment the insert position even when the command line doesn't
6738 fit. (Ingo Karkat)
6739Files: src/ex_getln.c
6740
6741Patch 7.1.326
6742Problem: ":s!from!to!" works, but ":smagic!from!to!" doesn't. It sees the
Bram Moolenaar996343d2010-07-04 22:20:21 +02006743 "!" as a flag to the command. Same for ":snomagic". (Johan Spetz)
Bram Moolenaar8c8de832008-06-24 22:58:06 +00006744Solution: When checking for a forced command also ignore ":smagic" and
6745 ":snomagic". (Ian Kelling)
6746Files: src/ex_docmd.c
6747
6748Patch 7.1.327
6749Problem: The GUI tutor is installed when there is no GUI version.
6750Solution: Only install gvimtutor when building a GUI version.
6751Files: src/Makefile
6752
6753Patch 7.1.328
6754Problem: Crash when using Cygwin and non-posix path name in tags file.
6755Solution: Use separate buffer for posix path. (Ben Schmidt)
6756Files: src/os_unix.c
6757
6758Patch 7.1.329
6759Problem: When the popup menu is removed a column of cells, the right halve
6760 of double-wide characters, may not be redrawn.
6761Solution: Check if the right halve of a character needs to be redrawn.
6762 (Yukihiro Nakadaira)
6763Files: src/screen.c
6764
6765Patch 7.1.330
6766Problem: Reading uninitialized memory when using Del in replace mode.
6767Solution: Use utfc_ptr2len_len() instead of mb_ptr2len(). (Dominique Pelle)
6768Files: src/misc1.c
6769
6770
6771Warning for missing sentinel in gui_xmldlg.c. (Dominique Pelle)
6772
6773A search offset from the end of a match didn't work properly for multi-byte
6774characters. (Yukihiro Nakadaira)
6775
6776When displaying the value of 'key' don't show "*****" when the value is empty.
6777(Ben Schmidt)
6778
6779Internal error when compiled with EXITFREE and using the nerd_tree plugin.
6780Set last_msg_hist to NULL when history becomes empty. Call
6781free_all_functions() after garbage collection. (Dominique Pelle)
6782
6783GTK with XIM: <S-Space> does not work. (Yukihiro Nakadaira)
6784
6785Some shells do not support "echo -n", which breaks glob(). Use "echo" instead
6786of "echo -n $1; echo". (Gary Johnson)
6787
6788"echo 22,44" printed "22" on top of the command, the error messages caused
6789the rest not to be cleared. Added the need_clr_eos flag.
6790
6791Netbeans events are handled while updating the screen, causing a crash.
6792Change the moment when events are handled. Rename nb_parse_messages() to
6793netbeans_parse_messages(). (Xavier de Gaye)
6794
6795Test 11 was broken after patch 7.1.186 on Win32 console. (Daniel Shahaf)
6796Use shellescape() on the file name.
6797
6798IM was turned off in im_preedit_end_cb() for no good reason. (Takuhiro
6799Nishioka)
6800
6801A corrupted spell file could cause Vim to use lots of memory. Better
6802detection for running into the end of the file. (idea from James Vega)
6803
6804Mac: Included a patch to make it build with GTK. Moved language init to
6805mac_lang_init() function. (Ben Schmidt)
6806
6807Problem with 'wildmenu' after ":lcd", up/down arrows don't work. (Erik Falor)
6808
6809Fix configure.in to avoid "implicitly declared" warnings when running
6810configure.
6811
6812Fixed a memory leak when redefining a keymap. (Dominique Pelle)
6813
6814Setting 'pastetoggle' to "jj" didn't work.
6815
6816'ic' and 'smartcase' don't work properly when using \%V in a search pattern.
6817(Kana Natsuno)
Bram Moolenaarb2a460d2007-05-12 15:16:37 +00006818
Bram Moolenaarc236c162008-07-13 17:41:49 +00006819Patch 7.2a.001
6820Problem: On some systems X11/Xlib.h exists (from X11-dev package) but
6821 X11/Intrinsic.h does not (in Xt-dev package). This breaks the
6822 build. Also, on Solaris 9 sys/ptem.h isn't found.
6823Solution: Have configure only accept X11 when X11/Intrinsic.h exists.
6824 Check for sys/ptem.h while including sys/stream.h. (Vladimir
6825 Marek)
6826Files: src/auto/configure, src/configure.in
6827
6828Patch 7.2a.002
6829Problem: getbufvar(N, "") gets the dictionary of the current buffer instead
6830 of buffer N.
6831Solution: Set curbuf before calling find_var_in_ht(). (Kana Natsuno)
6832Files: src/eval.c
6833
6834Patch 7.2a.003
6835Problem: Leaking memory when using ":file name" and using access control
6836 lists.
6837Solution: Invoke mch_free_acl() in vim_rename(). (Dominique Pelle)
6838Files: src/fileio.c
6839
6840Patch 7.2a.004
6841Problem: Some systems can't get spell files by ftp.
6842Solution: Use http when it looks like it's possible. (James Vega)
6843Files: runtime/autoload/spellfile.vim
6844
6845Patch 7.2a.005
6846Problem: A few error messages use confusing names. Misspelling.
6847Solution: Change "dissallows" to "disallows". (Dominique Pelle) Change
6848 "number" to "Number".
6849Files: src/eval.c, src/fileio.c
6850
6851Patch 7.2a.006
6852Problem: Reading past NUL in a string.
6853Solution: Check for invalid utf-8 byte sequence. (Dominique Pelle)
6854Files: src/charset.c
6855
6856Patch 7.2a.007
6857Problem: ":let v = 1.2.3" was OK in Vim 7.1, now it gives an error.
6858Solution: Don't look for a floating point number after the "." operator.
6859Files: src/eval.c
6860
6861Patch 7.2a.008
6862Problem: printf("%g", 1) doesn't work.
6863Solution: Convert Number to Float when needed.
6864Files: src/message.c
6865
6866Patch 7.2a.009
6867Problem: cygwin_conv_to_posix_path() does not specify buffer size.
6868Solution: Use new Cygwin function: cygwin_conv_path(). (Corinna Vinschen)
6869Files: src/main.c, src/os_unix.c
6870
6871Patch 7.2a.010
6872Problem: When a file name has an illegal byte sequence Vim may read
6873 uninitialised memory.
6874Solution: Don't use UTF_COMPOSINGLIKE() on an illegal byte. In
6875 msg_outtrans_len_attr() use char2cells() instead of ptr2cells().
6876 In utf_ptr2char() don't check second byte when first byte is
Bram Moolenaare37d50a2008-08-06 17:06:04 +00006877 illegal. (Dominique Pelle)
Bram Moolenaarc236c162008-07-13 17:41:49 +00006878Files: src/mbyte.c, src/message.c
6879
6880Patch 7.2a.011
6881Problem: The Edit/Startup Settings menu doesn't work.
6882Solution: Expand environment variables. (Ben Schmidt)
6883Files: runtime/menu.vim
6884
6885Patch 7.2a.012
6886Problem: Compiler warnings for casting int to pointer.
6887Solution: Add cast to long in between. (Martin Toft)
6888Files: src/gui_gtk_x11.c
6889
6890Patch 7.2a.013
6891Problem: shellescape() does not escape "%" and "#" characters.
6892Solution: Add find_cmdline_var() and use it when the second argument to
6893 shellescape() is non-zero.
6894Files: runtime/doc/eval.txt, src/eval.c, src/ex_docmd.c,
6895 src/proto/ex_docmd.pro, src/proto/misc2.pro, src/misc2.c
6896
6897Patch 7.2a.014
6898Problem: Problem with % in message.
6899Solution: Put % in single quotes.
6900Files: src/eval.c
6901
6902Patch 7.2a.015 (after 7.2a.010)
6903Problem: Misaligned messages.
6904Solution: Compute length of unprintable chars correctly.
6905Files: src/message.c
6906
6907Patch 7.2a.016
6908Problem: Using CTRL-W v in the quickfix window results in two quickfix
6909 windows, which is not allowed. ":tab split" should be allowed to
6910 open a new quickfix window in another tab.
6911Solution: For CTRL-W v instead of splitting the window open a new one.
6912 When using ":tab" do allow splitting the quickfix window (was
6913 already included in patch 7.2a.013).
6914Files: src/window.c
6915
6916Patch 7.2a.017
6917Problem: ":doautoall" executes autocommands for all buffers instead of just
6918 for loaded buffers.
6919Solution: Change "curbuf" to "buf".
6920Files: src/fileio.c
6921
6922Patch 7.2a.018
6923Problem: Compiler warnings when compiling with Gnome. (Tony Mechelynck)
6924Solution: Add type casts.
6925Files: src/gui_gtk_x11.c
6926
6927Patch 7.2a.019
6928Problem: ":let &g:tw = 44" sets the local option value. (Cyril Slobin)
6929Solution: Use get_varp_scope() instead of get_varp(). (Ian Kelling)
6930Files: src/option.c
6931
6932There is no way to avoid adding /usr/local/{include|lib} to the build
6933commands. Add the --with-local-dir argument to configure. (Michael
6934Haubenwallner)
6935
6936When using CTRL-D after ":help", the number of matches could be thousands.
6937Restrict to TAG_MANY to avoid this taking too long. (Ian Kelling)
6938
6939The popup menu could be placed at a weird location. Caused by w_wcol computed
6940by curs_columns(). (Dominique Pelle)
6941
6942Overlapping STRCPY() arguments when using %r item in 'errorformat'. Use
6943STRMOVE() instead. (Ralf Wildenhues)
6944
6945Mac: On Leopard gvim, when using the mouse wheel nothing would happen until
Bram Moolenaare37d50a2008-08-06 17:06:04 +00006946another event occurs, such as moving the mouse. Then the recorded scrolling
Bram Moolenaarc236c162008-07-13 17:41:49 +00006947would take place all at once. (Eckehard Berns)
6948
6949Solution for cursor color not reflecting IM status for GTK 2. Add
6950preedit_is_active flag. (SungHyun Nam)
6951
6952filereadable() can hang on a FIFO on Linux. Use open() instead of fopen(),
6953with O_NONBLOCK. (suggested by Lars Kotthoff)
6954
6955Included patch to support Perl 5.10. (Yasuhiro Matsumoto)
6956
6957When files are dropped on gvim while the screen is being updated, ignore the
6958drop command to avoid freeing memory that is being used.
6959
6960In a terminal, when drawing the popup menu over double-wide characters, half
6961characters may not be cleared properly. (Yukihiro Nakadaira)
6962
6963The #ifdef for including "vimio.h" was inconsistent. In a few files it
6964depended on MSWIN, which isn't defined until later.
6965
Bram Moolenaare37d50a2008-08-06 17:06:04 +00006966Patch 7.2b.001
6967Problem: Compilation problem: mb_fix_col() missing with multi-byte feature
6968 but without GUI or clipboard.
6969Solution: Remove #ifdef.
6970Files: src/mbyte.c
6971
6972Patch 7.2b.002
6973Problem: Compiler warnings for signed/unsigned mismatch.
6974Solution: Add type casts.
6975Files: src/screen.c
6976
6977Patch 7.2b.003
6978Problem: Still a compilation problem, check_col() and check_row() missing.
6979Solution: Add FEAT_MBYTE to the #if.
6980Files: src/ui.c
6981
6982Patch 7.2b.004
6983Problem: Trying to free memory for a static string when using ":helpgrep".
6984 (George Reilly)
6985Solution: Set 'cpo' to empty_option instead of an empty string. Also for
6986 searchpair() and substitute().
6987Files: src/quickfix.c, src/eval.c
6988
6989Patch 7.2b.005
6990Problem: The special character "!" isn't handled properly in shellescape().
6991 (Jan Minar)
6992Solution: Escape "!" when using a "csh" like shell and with
6993 shellescape(s, 1). Twice for both. Also escape <NL>.
6994Files: src/misc2.c
6995
6996Patch 7.2b.006
6997Problem: Reading past end of string when reading info from tags line.
6998Solution: Break the loop when encountering a NUL. (Dominique Pelle)
6999Files: src/tag.c
7000
7001Patch 7.2b.007
7002Problem: Part of a message cannot be translated.
7003Solution: Put _() around the message.
7004Files: src/search.c
7005
7006Patch 7.2b.008
7007Problem: A few filetypes are not detected or not detected properly.
7008Solution: Add filetype detection patterns. (Nikolai Weibull)
7009Files: runtime/filetype.vim
7010
7011Patch 7.2b.009
7012Problem: Reading past end of screen line. (Epicurus)
7013Solution: Avoid going past the value of Columns.
7014Files: src/screen.c
7015
7016Patch 7.2b.010
7017Problem: ":mksession" doesn't work for ":map , foo", ":sunmap ,". (Ethan
7018 Mallove)
7019Solution: Check for "nxo", "nso" and other strange mapping combinations.
7020Files: src/getchar.c
7021
7022Patch 7.2b.011
7023Problem: Configure for TCL ends up with include file in compiler command.
7024 (Richard Hogg)
7025Solution: Delete items from $TCL_DEFS that do not start with a dash.
7026Files: src/auto/configure, src/configure.in
7027
7028Patch 7.2b.012
7029Problem: Build failure with +multi_byte but without +diff.
7030Solution: Add #ifdef. (Patrick Texier)
7031Files: src/main.c
7032
7033Patch 7.2b.013
7034Problem: Build fails with tiny features and Perl. (Dominique Pelle)
7035Solution: Define missing functions. Also when compiling Python.
7036Files: src/if_perl.xs, src/if_python.c
7037
7038Patch 7.2b.014
7039Problem: Configure uses an unsafe temp file to store commands.
7040Solution: Create the temp file in local directory.
7041Files: src/auto/configure, src/configure.in
7042
7043Patch 7.2b.015
7044Problem: Build fails on Mac when using Aap.
7045Solution: Fix typo in configure script.
7046Files: src/auto/configure, src/configure.in
7047
7048Patch 7.2b.016
7049Problem: Build fails with normal features but without +autocmd.
7050Solution: Fix #ifdefs. (Ian Kelling)
7051Files: src/eval.c, src/ex_cmds.c, src/quickfix.c, src/option.c,
7052 src/ex_docmd.c
7053
7054Patch 7.2b.017
7055Problem: "vim -O foo foo" results in only one window. (Zdenek Sekera)
7056Solution: Handle result of ATTENTION prompt properly. (Ian Kelling)
7057Files: src/main.c
7058
7059Patch 7.2b.018
7060Problem: When doing command line completion on a file name for a csh-like
7061 shell argument a '!' character isn't escaped properly.
7062Solution: Add another backslash.
7063Files: src/ex_getln.c, src/misc2.c, src/proto/misc2.pro, src/screen.c
7064
7065Patch 7.2b.019 (extra)
7066Problem: Win32: Various compiler warnings.
7067Solution: Use __w64 attribute. Comment-out unused parameters. Adjust a few
7068 #ifdefs. (George Reilly)
7069Files: src/gui_w48.c, src/GvimExt/gvimext.cpp, src/Make_mvc.mak,
7070 src/os_mswin.c, src/os_win32.c, src/vim.h
7071
7072Patch 7.2b.020
7073Problem: ":sort n" doesn't handle negative numbers. (James Vega)
7074Solution: Include '-' in the number.
7075Files: src/charset.c, src/ex_cmds.c
7076
7077Patch 7.2b.021
7078Problem: Reloading doesn't read the BOM correctly. (Steve Gardner)
7079Solution: Accept utf-8 BOM when specified file encoding is utf-8.
7080Files: src/fileio.c
7081
7082Patch 7.2b.022
7083Problem: When using ":normal" while updating the status line the count of
7084 an operator is lost. (Dominique Pelle)
7085Solution: Save and restore "opcount".
7086Files: src/ex_docmd.c, src/globals.h, src/normal.c
7087
7088Patch 7.2b.023
7089Problem: Crash when using the result of synstack(0,0). (Matt Wozniski)
7090Solution: Check for v_list to be NULL in a few more places.
7091Files: src/eval.c
7092
7093Patch 7.2b.024
7094Problem: Using ":gui" while the netrw plugin is active causes a delay in
7095 updating the display.
7096Solution: Don't check for terminal codes when starting the GUI.
7097Files: src/term.c
7098
7099Patch 7.2b.025
7100Problem: When the CursorHold event triggers a pending count is lost.
7101 (Juergen Kraemer)
7102Solution: Save the counts and restore them.
7103Files: src/normal.c, src/structs.h
7104
7105Patch 7.2b.026
7106Problem: The GTK 2 file chooser causes the ~/.recently-used.xbel file to be
7107 written over and over again. This may cause a significant
7108 slowdown. (Guido Berhoerster)
7109Solution: Don't use the GTK 2 file chooser.
7110Files: src/gui_gtk.c
7111
7112Patch 7.2b.027
7113Problem: Memory leak for Python, Perl, etc. script command with end marker.
7114Solution: Free the memory of the end marker. (Andy Kittner)
7115Files: src/ex_getln.c
7116
7117Patch 7.2b.028
7118Problem: Reading uninitialized memory when doing ":gui -f". (Dominique
7119 Pelle)
7120Solution: Don't position the cursor when the screen size is invalid.
7121Files: src/gui.c
7122
7123Patch 7.2b.029
7124Problem: ":help a" doesn't jump to "a" tag in docs. (Tony Mechelynck)
7125Solution: Get all tags and throw away more than TAG_MANY after sorting.
7126 When there is no argument find matches for "help" to avoid a long
7127 delay.
7128Files: src/ex_cmds.c, src/ex_getln.c
7129
7130Patch 7.2b.030
7131Problem: When changing the value of t_Co from 8 to 16 the Visual
7132 highlighting keeps both reverse and a background color.
7133Solution: Remove the attribute when setting the default highlight color.
7134 (Markus Heidelberg)
7135Files: src/syntax.c
7136
7137Error when cancelling completion menu and auto-formatting. (fixed by Ian
7138Kelling)
7139
Bram Moolenaared39e1d2008-08-09 17:55:22 +00007140Patch 7.2c.001
7141Problem: ":let x=[''] | let x += x" causes hang. (Matt Wozniski)
7142Solution: Only insert elements up to the original length of the List.
7143Files: runtime/doc/eval.txt, src/eval.c
7144
7145Patch 7.2c.002
7146Problem: fnameescape() doesn't handle a leading '+' or '>'. (Jan Minar)
7147Solution: Escape a leading '+' and '>'. And a single '-'.
7148Files: runtime/doc/eval.txt, src/ex_getln.c
7149
7150Patch 7.2c.003
7151Problem: Searching for "foo\%[bar]\+" gives a "Corrupted regexp program"
7152 error. (Joachim Hofmann)
7153Solution: Mark the \%[] item as not being simple.
7154Files: src/regexp.c
7155
7156On Vista access to system directories is virtualized. (Michael Mutschler)
7157Adjusted the manifest file to avoid this. (George Reilly)
7158
7159Memory leak when using CTRL-C to cancel listing the jump list. (Dominique
7160Pelle)
7161
7162Mac: Could not build with Perl interface.
7163
Bram Moolenaar00a927d2010-05-14 23:24:24 +02007164==============================================================================
Bram Moolenaar7a329912010-05-21 12:05:36 +02007165VERSION 7.3 *version-7.3* *version7.3*
Bram Moolenaar00a927d2010-05-14 23:24:24 +02007166
7167This section is about improvements made between version 7.2 and 7.3.
7168
Bram Moolenaar6fc45b52010-07-25 17:42:45 +02007169This release has hundreds of bug fixes and there are a few new features. The
7170most notable new features are:
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007171
7172
7173Persistent undo *new-persistent-undo*
7174---------------
7175
7176Store undo information in a file. Can undo to before when the file was read,
7177also for unloaded buffers. See |undo-persistence| (partly by Jordan Lewis)
Bram Moolenaar6fc45b52010-07-25 17:42:45 +02007178
7179Added the ":earlier 1f" and ":later 1f" commands.
7180Added file save counter to undo information.
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007181Added the |undotree()| and |undofile()| functions.
7182
Bram Moolenaar59f931e2010-07-24 20:27:03 +02007183Also added the 'undoreload' option. This makes it possible to save the
Bram Moolenaar6fc45b52010-07-25 17:42:45 +02007184current text when reloading the buffer, so that the reload can be undone.
Bram Moolenaar59f931e2010-07-24 20:27:03 +02007185
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007186
7187More encryption *new-more-encryption*
7188---------------
7189
7190Support for Blowfish encryption. Added the 'cryptmethod' option.
7191Mostly by Moshin Ahmed.
7192
7193Also encrypt the text in the swap file and the undo file.
7194
7195
7196Conceal text *new-conceal*
7197------------
7198
7199Added the |+conceal| feature. (Vince Negri)
7200This allows hiding stretches of text, based on syntax highlighting.
7201It also allows replacing a stretch of text by a character |:syn-cchar|.
Bram Moolenaar6fc45b52010-07-25 17:42:45 +02007202The 'conceallevel' option specifies what happens with text matching a syntax
7203item that has the conceal attribute.
7204The 'concealcursor' option specifies what happens in the cursor line.
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007205
7206The help files conceal characters used to mark tags and examples.
7207
Bram Moolenaar6fc45b52010-07-25 17:42:45 +02007208Added the |synconcealed()| function and use it for :TOhtml. (Benjamin Fritz)
7209
Bram Moolenaarabf39e82010-08-14 21:57:32 +02007210Added the 'cursorbind' option, keeps the cursor in two windows with the same
7211text in sync.
7212
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007213
7214Lua interface *new-lua*
7215-------------
7216
7217Added the |Lua| interface. (Luis Carvalho)
7218
7219
7220Python3 interface *new-python3*
7221-----------------
7222
7223Added the Python3 interface. It exists next to Python 2.x, both can be used
Bram Moolenaar755bd262010-08-14 17:46:20 +02007224at the same time. See |python3| (Roland Puntaier)
Bram Moolenaar00a927d2010-05-14 23:24:24 +02007225
7226
7227Changed *changed-7.3*
7228-------
7229
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007230The MS-Windows installer no longer requires the user to type anything in the
7231console windows. The installer now also works on 64 bit systems, including
7232the "Edit with Vim" context menu.
7233The gvim executable is 32 bits, the installed gvimext.dll is either a 32 or 64
7234bit version. (mostly by George Reilly)
7235Made the DOS installer work with more compilers.
Bram Moolenaar69154f22010-07-18 21:42:34 +02007236The MS-Windows big gvim is now built with Python 2.7 and 3.1.2, Perl 5.12 and
Bram Moolenaar44886d92010-08-01 19:06:10 +02007237Ruby 1.9.1. You need the matching .dll files to use them.
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007238
Bram Moolenaar00a927d2010-05-14 23:24:24 +02007239The extra and language files are no longer distributed separately.
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007240The source files for all systems are included in one distribution.
Bram Moolenaar00a927d2010-05-14 23:24:24 +02007241
Bram Moolenaarfc2d5bd2010-05-15 17:06:53 +02007242After using ":recover" or recovering a file in another way, ":x" and "ZZ"
Bram Moolenaar44886d92010-08-01 19:06:10 +02007243didn't save what you see. This could result in work being lost. Now the text
Bram Moolenaarfc2d5bd2010-05-15 17:06:53 +02007244after recovery is compared to the original file contents. When they differ
7245the buffer is marked as modified.
7246
Bram Moolenaar0e1e25f2010-05-28 21:07:08 +02007247When Vim is exiting because of a deadly signal, when v:dying is 2 or more,
7248VimLeavePre, VimLeave, BufWinLeave and BufUnload autocommands are not
7249executed.
7250
Bram Moolenaarccd9ccf2010-07-07 13:19:55 +02007251Removed support for GTK 1. It was no longer maintained and required a lot of
7252#ifdefs in the source code. GTK 2 should be available for every system.
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007253(James Vega)
Bram Moolenaarccd9ccf2010-07-07 13:19:55 +02007254
Bram Moolenaar0ba04292010-07-14 23:23:17 +02007255It is no longer allowed to set the 'encoding' option from a modeline. It
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007256would corrupt the text. (Patrick Texier)
7257
7258Renamed runtime/spell/fixdup to runtime/spell/fixdup.vim.
7259
7260Removed obsolete Mac code.
7261
7262Updated spell files for Ubuntu locale names.
7263
7264Switched from autoconf 2.63 to 2.65.
Bram Moolenaar0ba04292010-07-14 23:23:17 +02007265
Bram Moolenaar44886d92010-08-01 19:06:10 +02007266Removed Mupad indent and ftplugin files, they are not useful.
7267
Bram Moolenaarabf39e82010-08-14 21:57:32 +02007268The maximum number of messages remembered in the history is now 200 (was 100).
7269
Bram Moolenaar00a927d2010-05-14 23:24:24 +02007270
7271Added *added-7.3*
7272-----
7273
Bram Moolenaar67c53842010-05-22 18:28:27 +02007274Added the 'relativenumber' option. (Markus Heidelberg)
7275
Bram Moolenaar0ba04292010-07-14 23:23:17 +02007276Added the 'colorcolumn' option: highlight one or more columns in a window.
7277E.g. to highlight the column after 'textwidth'. (partly by Gregor Uhlenheuer)
7278
Bram Moolenaarb26e6322010-05-22 21:34:09 +02007279Added support for NetBeans in a terminal. Added |:nbstart| and |:nbclose|.
7280(Xavier de Gaye)
Bram Moolenaar67c53842010-05-22 18:28:27 +02007281
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007282More floating point functions: |acos()|, |asin()|, |atan2()|, |cosh()|,
7283|exp()|, |fmod()|, |log()|, |sinh()|, |tan()|, |tanh()|. (Bill McCarthy)
Bram Moolenaar67c53842010-05-22 18:28:27 +02007284
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007285Added the |gettabvar()| and |settabvar()| functions. (Yegappan Lakshmanan)
Bram Moolenaar67c53842010-05-22 18:28:27 +02007286
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007287Added the |strchars()|, |strwidth()| and |strdisplaywidth()| functions.
7288
7289Support GDK_SUPER_MASK for GTK on Mac. (Stephan Schulz)
7290
Bram Moolenaar49771f42010-07-20 17:32:38 +02007291Made CTRL and ALT modifier work for mouse wheel. (Benjamin Haskell)
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007292
Bram Moolenaar44886d92010-08-01 19:06:10 +02007293Added support for horizontal scroll wheel. (Bjorn Winckler)
7294
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007295When the buffer is in diff mode, have :TOhtml create HTML to show the diff
7296side-by-side. (Christian Brabandt)
7297
7298Various improvements to ":TOhtml" and the 2html.vim script. (Benjamin Fritz)
7299
7300Add the 'L' item to 'cinoptions'. (Manuel Konig)
7301
7302Improve Javascript indenting. Add "J" flag to 'cinoptions'. (Hari Kumar G)
7303
7304Mac: Support disabling antialias. (LC Mi)
7305
7306Mac: Add clipboard support in the Mac console. (Bjorn Winckler)
7307
7308Make it possible to drag a tab page label to another position. (Paul B. Mahol)
7309
7310Better implementation of creating the Color Scheme menu. (Juergen Kraemer)
7311
7312In Visual mode with 'showcmd' display the number of bytes and characters.
7313
Bram Moolenaar4421d6a2010-08-14 13:33:56 +02007314Allow synIDattr() getting GUI attributes when built without GUI. (Matt
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007315Wozniski)
7316
Bram Moolenaar5eba45c2010-08-08 21:15:53 +02007317Support completion for ":find". Added test 73. (Nazri Ramliy)
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007318
Bram Moolenaar44886d92010-08-01 19:06:10 +02007319Command line completion for :ownsyntax and :setfiletype. (Dominique Pelle)
7320
7321Command line completion for :lmap and :lunmap.
7322
7323Support syntax and filetype completion for user commands. (Christian Brabandt)
7324
Bram Moolenaar44886d92010-08-01 19:06:10 +02007325Avoid use of the GTK main_loop() so that the GtkFileChooser can be used.
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007326(James Vega)
7327
7328When 'formatexpr' evaluates to non-zero fall back to internal formatting, also
7329for "gq". (James Vega)
7330
7331Support :browse for commands that use an error file argument. (Lech Lorens)
7332
7333Support wide file names in gvimext. (Szabolcs Horvat)
7334
7335Improve test for joining lines. (Milan Vancura)
7336Make joining a range of lines much faster. (Milan Vancura)
7337
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007338Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
7339
7340Added the helphelp.txt file. Moved text from various.txt to it.
7341
Bram Moolenaar6fc45b52010-07-25 17:42:45 +02007342Added "q" item for 'statusline'. Added |w:quickfix_title|. (Lech Lorens)
7343
Bram Moolenaar44886d92010-08-01 19:06:10 +02007344Various improvements for VMS. (Zoltan Arpadffy)
Bram Moolenaar6fc45b52010-07-25 17:42:45 +02007345
7346
Bram Moolenaar44886d92010-08-01 19:06:10 +02007347New syntax files: ~
Bram Moolenaar69154f22010-07-18 21:42:34 +02007348Haskell Cabal build file (Vincent Berthoux)
7349ChaiScript (Jason Turner)
7350Cucumber (Tim Pope)
Bram Moolenaar90df5502010-08-01 21:48:21 +02007351Datascript (Dominique Pelle)
Bram Moolenaar69154f22010-07-18 21:42:34 +02007352Fantom (Kamil Toman)
7353Liquid (Tim Pope)
7354Markdown (Tim Pope)
7355wavefront's obj file (Vincent Berthoux)
7356Perl 6 (Andy Lester)
7357SDC - Synopsys Design Constraints (Maurizio Tranchero)
7358SVG - Scalable Vector Graphics (Vincent Berthoux)
7359task data (John Florian)
7360task 42 edit (John Florian)
Bram Moolenaar06b5d512010-05-22 15:37:44 +02007361
Bram Moolenaar44886d92010-08-01 19:06:10 +02007362New filetype plugins: ~
Bram Moolenaar69154f22010-07-18 21:42:34 +02007363Cucumber (Tim Pope)
7364Liquid (Tim Pope)
Bram Moolenaar755bd262010-08-14 17:46:20 +02007365Logcheck (Debian)
Bram Moolenaar69154f22010-07-18 21:42:34 +02007366Markdown (Tim Pope)
Bram Moolenaar755bd262010-08-14 17:46:20 +02007367Perl 6 (Andy Lester)
7368Quickfix window (Lech Lorens)
Bram Moolenaar69154f22010-07-18 21:42:34 +02007369Tcl (Robert L Hicks)
Bram Moolenaar00a927d2010-05-14 23:24:24 +02007370
Bram Moolenaar44886d92010-08-01 19:06:10 +02007371New indent plugins: ~
Bram Moolenaar755bd262010-08-14 17:46:20 +02007372CUDA (Bram Moolenaar)
Bram Moolenaar69154f22010-07-18 21:42:34 +02007373ChaiScript (Jason Turner)
7374Cucumber (Tim Pope)
Bram Moolenaar69154f22010-07-18 21:42:34 +02007375LifeLines (Patrick Texier)
7376Liquid (Tim Pope)
7377Mail (Bram Moolenaar)
7378Perl 6 (Andy Lester)
Bram Moolenaar00a927d2010-05-14 23:24:24 +02007379
Bram Moolenaar44886d92010-08-01 19:06:10 +02007380Other new runtime files: ~
Bram Moolenaar69154f22010-07-18 21:42:34 +02007381Breton spell file (Dominique Pelle)
Bram Moolenaar755bd262010-08-14 17:46:20 +02007382Dvorak keymap (Ashish Shukla)
7383Korean translations. (SungHyun Nam)
7384Python 3 completion (Aaron Griffin)
7385Serbian menu translations (Aleksandar Jelenak)
7386Tetum spell files
Bram Moolenaar69154f22010-07-18 21:42:34 +02007387Tutor Bairish (Sepp Hell)
7388Tutor in Esperanto. (Dominique Pellé)
Bram Moolenaarabf39e82010-08-14 21:57:32 +02007389Tutor in Portuguese.
7390Norwegian Tutor now also available as tutor.nb
Bram Moolenaar755bd262010-08-14 17:46:20 +02007391
7392Removed the Mupad runtime files, they were not maintained.
Bram Moolenaar06b5d512010-05-22 15:37:44 +02007393
Bram Moolenaar00a927d2010-05-14 23:24:24 +02007394
7395Fixed *fixed-7.3*
7396-----
7397
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007398Patch 7.2.001
7399Problem: Mac: pseudo-ttys don't work properly on Leopard, resulting in the
7400 shell not to have a prompt, CTRL-C not working, etc.
7401Solution: Don't use SVR4 compatible ptys, even though they are detected.
7402 (Ben Schmidt)
7403Files: src/pty.c
7404
7405Patch 7.2.002
7406Problem: Leaking memory when displaying menus.
7407Solution: Free allocated memory. (Dominique Pelle)
7408Files: src/menu.c
7409
7410Patch 7.2.003
7411Problem: Typo in translated message. Message not translated.
7412Solution: Correct spelling. Add _(). (Dominique Pelle)
7413Files: src/spell.c, src/version.c
7414
7415Patch 7.2.004
7416Problem: Cscope help message is not translated.
7417Solution: Put it in _(). (Dominique Pelle)
7418Files: src/if_cscope.c, src/if_cscope.h
7419
7420Patch 7.2.005
7421Problem: A few problems when profiling. Using flag pointer instead of flag
7422 value. Allocating zero bytes. Not freeing used memory.
7423Solution: Remove wrong '&' characters. Skip dumping when there is nothing
7424 to dump. Free used memory. (Dominique Pelle)
7425Files: src/eval.c
7426
7427Patch 7.2.006
7428Problem: HTML files are not recognized by contents.
7429Solution: Add a rule to the scripts file. (Nico Weber)
7430Files: runtime/scripts.vim
7431
7432Patch 7.2.007 (extra)
7433Problem: Minor issues for VMS.
7434Solution: Minor fixes for VMS. Add float support. (Zoltan Arpadffy)
7435Files: runtime/doc/os_vms.txt, src/os_vms_conf.h, src/Make_vms.mms,
7436 src/testdir/Make_vms.mms, src/testdir/test30.in,
7437 src/testdir/test54.in
7438
7439Patch 7.2.008
7440Problem: With a BufHidden autocommand that invokes ":bunload" the window
7441 count for a buffer can be wrong. (Bob Hiestand)
7442Solution: Don't call enter_buffer() when already in that buffer.
7443Files: src/buffer.c
7444
7445Patch 7.2.009
7446Problem: Can't compile with Perl 5.10 on MS-Windows. (Cesar Romani)
7447Solution: Add the Perl_sv_free2 function for dynamic loading. (Dan Sharp)
7448Files: src/if_perl.xs
7449
7450Patch 7.2.010
7451Problem: When using "K" in Visual mode not all characters are properly
7452 escaped. (Ben Schmidt)
7453Solution: Use a function with the functionality of shellescape(). (Jan
7454 Minar)
7455Files: src/mbyte.c, src/misc2.c, src/normal.c
7456
7457Patch 7.2.011
7458Problem: Get an error when inserting a float value from the expression
7459 register.
7460Solution: Convert the Float to a String automatically in the same place
7461 where a List would be converted to a String.
7462Files: src/eval.c
7463
7464Patch 7.2.012
7465Problem: Compiler warnings when building with startup timing.
7466Solution: Add type casts.
7467Files: src/ex_cmds2.c
7468
7469Patch 7.2.013
7470Problem: While waiting for the X selection Vim consumes a lot of CPU time
7471 and hangs until a response is received.
7472Solution: Sleep a bit when the selection event hasn't been received yet.
7473 Time out after a couple of seconds to avoid a hang when the
7474 selection owner isn't responding.
7475Files: src/ui.c
7476
7477Patch 7.2.014
Bram Moolenaarfcb7ab62010-07-20 11:16:17 +02007478Problem: synstack() doesn't work in an empty line.
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007479Solution: Accept column zero as a valid position.
7480Files: src/eval.c
7481
7482Patch 7.2.015
7483Problem: "make all test install" doesn't stop when the test fails. (Daniel
7484 Shahaf)
7485Solution: When test.log contains failures exit with non-zero status.
7486Files: src/testdir/Makefile
7487
7488Patch 7.2.016
7489Problem: The pattern being completed may be in freed memory when the
7490 command line is being reallocated. (Dominique Pelle)
7491Solution: Keep a pointer to the expand_T in the command line structure.
7492 Don't use <S-Tab> as CTRL-P when there are no results. Clear the
7493 completion when using a command line from the history.
7494Files: src/ex_getln.c
7495
7496Patch 7.2.017
7497Problem: strlen() used on text that may not end in a NUL. (Dominique Pelle)
7498 Pasting a very big selection doesn't work.
7499Solution: Use the length passed to the XtSelectionCallbackProc() function.
7500 After getting the SelectionNotify event continue dispatching
7501 events until the callback is actually called. Also dispatch the
7502 PropertyNotify event.
7503Files: src/ui.c
7504
7505Patch 7.2.018
7506Problem: Memory leak when substitute is aborted.
7507Solution: Free the buffer allocated for the new text. (Dominique Pelle)
7508Files: src/ex_cmds.c
7509
7510Patch 7.2.019
7511Problem: Completion of ":noautocmd" doesn't work and exists(":noautocmd")
7512 returns zero. (Ben Fritz)
7513Solution: Add "noautocmd" to the list of modifiers and commands.
7514Files: src/ex_cmds.h, src/ex_docmd.c
7515
7516Patch 7.2.020
7517Problem: Starting the GUI when the executable starts with 'k', but the KDE
7518 version no longer exists.
7519Solution: Don't have "kvim" start the GUI.
7520Files: src/main.c
7521
7522Patch 7.2.021
7523Problem: When executing autocommands getting the full file name may be
7524 slow. (David Kotchan)
7525Solution: Postpone calling FullName_save() until autocmd_fname is used.
7526Files: src/ex_docmd.c, src/fileio.c, src/globals.h
7527
7528Patch 7.2.022 (extra)
7529Problem: Testing is not possible when compiling with MingW.
7530Solution: Add a MingW specific test Makefile. (Bill McCarthy)
7531Files: Filelist, src/testdir/Make_ming.mak
7532
7533Patch 7.2.023
7534Problem: 'cursorcolumn' is in the wrong place in a closed fold when the
7535 display is shifted left. (Gary Johnson)
7536Solution: Subtract w_skipcol or w_leftcol when needed.
7537Files: src/screen.c
7538
7539Patch 7.2.024
7540Problem: It's possible to set 'history' to a negative value and that causes
7541 an out-of-memory error.
7542Solution: Check that 'history' has a positive value. (Doug Kearns)
7543Files: src/option.c
7544
7545Patch 7.2.025
7546Problem: When a CursorHold event invokes system() it is retriggered over
7547 and over again.
7548Solution: Don't reset did_cursorhold when getting K_IGNORE.
7549Files: src/normal.c
7550
7551Patch 7.2.026 (after 7.2.010)
7552Problem: "K" doesn't use the length of the identifier but uses the rest of
7553 the line.
7554Solution: Copy the desired number of characters first.
7555Files: src/normal.c
7556
7557Patch 7.2.027
7558Problem: Can use cscope commands in the sandbox.
7559Solution: Disallow them, they might not be safe.
7560Files: src/ex_cmds.h
7561
7562Patch 7.2.028
7563Problem: Confusing error message for missing ().
7564Solution: Change "braces" to "parentheses". (Gary Johnson)
7565Files: src/eval.c
7566
7567Patch 7.2.029
7568Problem: No completion for ":doautoall".
7569Solution: Complete ":doautoall" like ":doautocmd". (Doug Kearns)
7570Files: src/ex_docmd.c
7571
7572Patch 7.2.030 (after 7.2.027)
7573Problem: Can't compile.
7574Solution: Remove prematurely added ex_oldfiles.
7575Files: src/ex_cmds.h
7576
7577Patch 7.2.031
7578Problem: Information in the viminfo file about previously edited files is
7579 not available to the user. There is no way to get a complete list
7580 of files edited in previous Vim sessions.
7581Solution: Add v:oldfiles and fill it with the list of old file names when
7582 first reading the viminfo file. Add the ":oldfiles" command,
7583 ":browse oldfiles" and the "#<123" special file name. Increase
7584 the default value for 'viminfo' from '20 to '100.
7585Files: runtime/doc/cmdline.txt, runtime/doc/eval.txt,
7586 runtime/doc/starting.txt, runtime/doc/usr_21.txt, src/eval.c,
7587 src/ex_cmds.c, src/ex_cmds.h, src/ex_docmd.c, src/feature.h,
7588 src/fileio.c, src/main.c, src/mark.c, src/misc1.c,
7589 src/proto/eval.pro, src/proto/ex_cmds.pro, src/proto/mark.pro,
7590 src/option.c, src/structs.h, src/vim.h
7591
7592Patch 7.2.032 (after 7.2.031)
7593Problem: Can't build with EXITFREE defined. (Dominique Pelle)
7594Solution: Change vv_string to vv_str.
7595Files: src/eval.c
7596
7597Patch 7.2.033
7598Problem: When detecting a little endian BOM "ucs-2le" is used, but the text
7599 might be "utf-16le".
7600Solution: Default to "utf-16le", it also works for "ucs-2le". (Jia Yanwei)
7601Files: src/fileio.c, src/testdir/test42.ok
7602
7603Patch 7.2.034
7604Problem: Memory leak in spell info when deleting buffer.
7605Solution: Free the memory. (Dominique Pelle)
7606Files: src/buffer.c
7607
7608Patch 7.2.035
7609Problem: Mismatches between alloc/malloc, free/vim_free,
7610 realloc/vim_realloc.
7611Solution: Use the right function. (Dominique Pelle)
7612Files: src/gui_x11.c, src/mbyte.c, src/misc2.c, src/os_unix.c
7613
7614Patch 7.2.036 (extra)
7615Problem: Mismatches between alloc/malloc, free/vim_free,
7616 realloc/vim_realloc.
7617Solution: Use the right function. (Dominique Pelle)
7618Files: src/gui_riscos.c, src/gui_w48.c, src/mbyte.c, src/os_vms.c,
7619 src/os_w32exe.c, src/os_win16.c
7620
7621Patch 7.2.037
7622Problem: Double free with GTK 1 and compiled with EXITFREE.
7623Solution: Don't close display. (Dominique Pelle)
7624Files: src/os_unix.c
7625
7626Patch 7.2.038
7627Problem: Overlapping arguments to memcpy().
7628Solution: Use mch_memmove(). (Dominique Pelle)
7629Files: src/if_xcmdsrv.c
7630
7631Patch 7.2.039
7632Problem: Accessing freed memory on exit when EXITFREE is defined.
7633Solution: Call hash_init() on the v: hash table.
7634Files: src/eval.c
7635
7636Patch 7.2.040
7637Problem: When using ":e ++ff=dos fname" and the file contains a NL without
7638 a CR before it and 'ffs' contains "unix" then the fileformat
7639 becomes unix.
7640Solution: Ignore 'ffs' when using the ++ff argument. (Ben Schmidt)
7641 Also remove unreachable code.
7642Files: src/fileio.c
7643
7644Patch 7.2.041
7645Problem: In diff mode, when using two tabs, each with two diffed buffers,
7646 editing a buffer of the other tab messes up the diff. (Matt
7647 Mzyzik)
7648Solution: Only copy options from a window where the buffer was edited that
7649 doesn't have 'diff' set or is for the current tab page.
7650 Also fix that window options for a buffer are stored with the
7651 wrong window.
7652Files: src/buffer.c, src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c,
7653 src/ex_getln.c, src/if_sniff.c, src/main.c, src/netbeans.c,
7654 src/normal.c, src/popupmnu.c, src/proto/buffer.pro,
7655 src/proto/ex_cmds.pro src/quickfix.c, src/window.c
7656
7657Patch 7.2.042
7658Problem: When using winrestview() in a BufWinEnter autocommand the window
7659 is scrolled anyway. (Matt Zyzik)
7660Solution: Don't recompute topline when above 'scrolloff' from the bottom.
7661 Don't always put the cursor halfway when entering a buffer. Add
7662 "w_topline_was_set".
7663Files: src/buffer.c, src/move.c, src/structs.h
7664
7665Patch 7.2.043
7666Problem: VMS: Too many characters are escaped in filename and shell
7667 commands.
7668Solution: Escape fewer characters. (Zoltan Arpadffy)
7669Files: src/vim.h
7670
7671Patch 7.2.044
7672Problem: Crash because of STRCPY() being over protective of the destination
7673 size. (Dominique Pelle)
7674Solution: Add -D_FORTIFY_SOURCE=1 to CFLAGS. Use an intermediate variable
7675 for the pointer to avoid a warning.
7676Files: src/auto/configure, src/configure.in, src/eval.c
7677
7678Patch 7.2.045
7679Problem: The Python interface has an empty entry in sys.path.
7680Solution: Filter out the empty entry. (idea from James Vega)
7681Files: src/if_python.c
7682
7683Patch 7.2.046
7684Problem: Wrong check for filling buffer with encoding. (Danek Duvall)
7685Solution: Remove pointers. (Dominique Pelle)
7686Files: src/mbyte.c
7687
7688Patch 7.2.047
7689Problem: Starting Vim with the -nb argument while it's not supported causes
7690 the other side to hang.
7691Solution: When -nb is used while it's not supported exit Vim. (Xavier de
7692 Gaye)
7693Files: src/main.c, src/vim.h
7694
7695Patch 7.2.048
7696Problem: v:prevcount is changed too often. Counts are not multiplied when
7697 setting v:count.
7698Solution: Set v:prevcount properly. Multiply counts. (idea by Ben Schmidt)
7699Files: src/eval.c, src/normal.c, src/proto/eval.pro
7700
7701Patch 7.2.049 (extra)
7702Problem: Win32: the clipboard doesn't support UTF-16.
7703Solution: Change UCS-2 support to UTF-16 support. (Jia Yanwei)
7704Files: src/gui_w32.c, src/gui_w48.c, src/mbyte.c, src/misc1.c,
7705 src/os_mswin.c, src/os_win32.c, src/proto/os_mswin.pro
7706
7707Patch 7.2.050
7708Problem: Warnings for not checking return value of fwrite(). (Chip Campbell)
7709Solution: Use the return value.
7710Files: src/spell.c
7711
7712Patch 7.2.051
7713Problem: Can't avoid 'wildignore' and 'suffixes' for glob() and globpath().
7714Solution: Add an extra argument to these functions. (Ingo Karkat)
7715Files: src/eval.c, src/ex_getln.c, src/proto/ex_getln.pro,
7716 runtime/doc/eval.txt, runtime/doc/options.txt
7717
7718Patch 7.2.052
7719Problem: synIDattr() doesn't support "sp" for special color.
7720Solution: Recognize "sp" and "sp#". (Matt Wozniski)
7721Files: runtime/doc/eval.txt, src/eval.c
7722
7723Patch 7.2.053
7724Problem: Crash when using WorkShop command ":ws foo". (Dominique Pelle)
7725Solution: Avoid using a NULL pointer.
7726Files: src/workshop.c
7727
7728Patch 7.2.054
7729Problem: Compilation warnings for format in getchar.c.
7730Solution: Use fputs() instead of fprintf(). (Dominique Pelle)
7731Files: src/getchar.c
7732
7733Patch 7.2.055
7734Problem: Various compiler warnings with strict checking.
7735Solution: Avoid the warnings by using return values and renaming.
7736Files: src/diff.c, src/eval.c, src/ex_cmds.c, src/ex_docmd.c,
7737 src/fileio.c, src/fold.c, src/globals.h, src/gui.c,
7738 src/gui_at_sb.c, src/gui_gtk_x11.c, src/gui_xmdlg.c,
7739 src/gui_xmebw.c, src/main.c, src/mbyte.c, src/message.c,
7740 src/netbeans.c, src/option.c, src/os_unix.c, src/spell.c,
7741 src/ui.c, src/window.c
7742
7743Patch 7.2.056 (after 7.2.050)
7744Problem: Tests 58 and 59 fail.
7745Solution: Don't invoke fwrite() with a zero length. (Dominique Pelle)
7746Files: src/spell.c
7747
7748Patch 7.2.057 (after 7.2.056)
7749Problem: Combination of int and size_t may not work.
7750Solution: Use size_t for variable.
7751Files: src/spell.c
7752
7753Patch 7.2.058
7754Problem: Can't add a patch name to the ":version" output.
7755Solution: Add the extra_patches array.
7756Files: src/version.c
7757
7758Patch 7.2.059
7759Problem: Diff display is not always updated.
7760Solution: Update the display more often.
7761Files: src/diff.c
7762
7763Patch 7.2.060
7764Problem: When a spell files has many compound rules it may take a very long
7765 time making the list of suggestions. Displaying also can be slow
7766 when there are misspelled words.
7767 Can't parse some Hunspell .aff files.
7768Solution: Check if a compounding can possibly work before trying a
7769 combination, if the compound rules don't contain wildcards.
7770 Implement using CHECKCOMPOUNDPATTERN.
7771 Ignore COMPOUNDRULES. Ignore a comment after most items.
7772 Accept ONLYINCOMPOUND as an alias for NEEDCOMPOUND.
7773 Accept FORBIDDENWORD as an alias for BAD.
7774Files: runtime/doc/spell.txt, src/spell.c
7775
7776Patch 7.2.061
7777Problem: Can't create a funcref for an autoload function without loading
7778 the script first. (Marc Weber)
7779Solution: Accept autoload functions that don't exist yet in function().
7780Files: src/eval.c
7781
7782Patch 7.2.062
7783Problem: "[Scratch]" is not translated.
7784Solution: Mark the string for translation. (Dominique Pelle)
7785Files: src/buffer.c
7786
7787Patch 7.2.063
7788Problem: Warning for NULL argument of Perl_sys_init3().
7789Solution: Use Perl_sys_init() instead. (partly by Dominique Pelle)
7790Files: src/if_perl.xs
7791
7792Patch 7.2.064
7793Problem: Screen update bug when repeating "~" on a Visual block and the
7794 last line doesn't change.
7795Solution: Keep track of changes for all lines. (Moritz Orbach)
7796Files: src/ops.c
7797
7798Patch 7.2.065
7799Problem: GTK GUI: the cursor disappears when doing ":vsp" and the Vim
7800 window is maximized. (Dominique Pelle, Denis Smolyar)
7801Solution: Don't change "Columns" back to an old value at a wrong moment.
7802 Do change "Rows" when it should not be a problem.
7803Files: src/gui.c
7804
7805Patch 7.2.066
7806Problem: It's not easy to see whether 'encoding' is a multi-byte encoding.
7807Solution: Add has('multi_byte_encoding').
7808Files: runtime/doc/eval.txt, src/eval.c
7809
7810Patch 7.2.067
7811Problem: Session file can't load extra file when the path contains special
7812 characters.
7813Solution: Escape the file name. (Lech Lorens)
7814Files: src/ex_docmd.c
7815
7816Patch 7.2.068
7817Problem: Emacs tags file lines can be too long, resulting in an error
7818 message. (James Vega)
7819Solution: Ignore lines with errors if they are too long.
7820Files: src/tag.c
7821
7822Patch 7.2.069 (after 7.2.060)
7823Problem: Compiler warning for storing size_t in int.
7824Solution: Add type cast.
7825Files: src/spell.c
7826
7827Patch 7.2.070
Bram Moolenaarfcb7ab62010-07-20 11:16:17 +02007828Problem: Crash when a function returns a:000. (Matt Wozniski)
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007829Solution: Don't put the function struct on the stack, allocate it. Free it
7830 only when nothing in it is used.
7831Files: src/eval.c
7832
7833Patch 7.2.071 (extra)
7834Problem: Win32: Handling netbeans events while Vim is busy updating the
7835 screen may cause a crash.
7836Solution: Like with GTK, only handle netbeans messages in the main loop.
7837 (Xavier de Gaye)
7838Files: src/gui_w48.c, src/netbeans.c
7839
7840Patch 7.2.072 (extra)
7841Problem: Compiler warning in Sniff code.
7842Solution: Use return value of pipe(). (Dominique Pelle)
7843Files: src/if_sniff.c
7844
7845Patch 7.2.073
7846Problem: ":set <xHome>" has the same output as ":set <Home>". (Matt
7847 Wozniski)
7848Solution: Don't translate "x" keys to its alternative for ":set".
7849Files: src/gui_mac.c, src/misc2.c, src/option.c, src/proto/misc2.pro
7850
7851Patch 7.2.074 (extra, after 7.2.073)
7852Problem: ":set <xHome>" has the same output as ":set <Home>". (Matt
7853 Wozniski)
7854Solution: Don't translate "x" keys to its alternative for ":set".
7855Files: src/gui_mac.c
7856
7857Patch 7.2.075 (after 7.2.058)
7858Problem: Explanation about making a diff for extra_patches is unclear.
7859Solution: Adjust comment.
7860Files: src/version.c
7861
7862Patch 7.2.076
7863Problem: rename(from, to) deletes the file if "from" and "to" are not equal
7864 but still refer to the same file. E.g., on a FAT32 filesystem
7865 under Unix.
7866Solution: Go through another file name.
7867Files: src/fileio.c
7868
7869Patch 7.2.077 (after 7.2.076)
7870Problem: rename(from, to) doesn't work if "from" and "to" differ only in
7871 case on a system that ignores case in file names.
7872Solution: Go through another file name.
7873Files: src/fileio.c
7874
7875Patch 7.2.078
7876Problem: When deleting a fold that is specified with markers the cursor
7877 position may be wrong. Folds may not be displayed properly after
7878 a delete. Wrong fold may be deleted.
7879Solution: Fix the problems. (mostly by Lech Lorens)
7880Files: src/fold.c
7881
7882Patch 7.2.079
7883Problem: "killed" netbeans events are not handled correctly.
7884Solution: A "killed" netbeans event is sent when the buffer is deleted or
7885 wiped out (in this case, the netbeans annotations in this buffer
7886 have been removed). A user can still remove a sign with the
7887 command ":sign unplace" and this does not trigger a "killed"
7888 event. (Xavier de Gaye)
7889Files: runtime/doc/netbeans.txt, src/buffer.c, src/globals.h,
7890 src/netbeans.c, src/proto/netbeans.pro
7891
7892Patch 7.2.080
7893Problem: When typing a composing character just after starting completion
7894 may access memory before its allocation point. (Dominique Pelle)
7895Solution: Don't delete before the completion start column. Add extra checks
7896 for the offset not being negative.
7897Files: src/edit.c
7898
7899Patch 7.2.081
7900Problem: Compiler warning for floating point overflow on VAX.
7901Solution: For VAX use a smaller number. (Zoltan Arpadffy)
7902Files: src/message.c
7903
7904Patch 7.2.082
7905Problem: When 'ff' is "mac" then "ga" on a ^J shows 0x0d instead of 0x0a.
7906 (Andy Wokula)
7907Solution: Use NL for this situation. (Lech Lorens)
7908Files: src/ex_cmds.c
7909
7910Patch 7.2.083
7911Problem: ":tag" does not return to the right tag entry from the tag stack.
7912Solution: Don't change the current match when there is no argument.
7913 (Erik Falor)
7914Files: src/tag.c
7915
7916Patch 7.2.084
7917Problem: Recursive structures are not handled properly in Python
7918 vim.eval().
7919Solution: Keep track of references in a better way. (Yukihiro Nakadaira)
7920Files: src/if_python.c
7921
7922Patch 7.2.085
7923Problem: ":set <M-b>=<Esc>b" does not work when 'encoding' is utf-8.
7924Solution: Put the <M-b> character in the input buffer as valid utf-8.
Bram Moolenaarfcb7ab62010-07-20 11:16:17 +02007925 (partly by Matt Wozniski)
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007926Files: src/term.c
7927
7928Patch 7.2.086
7929Problem: Using ":diffget 1" in buffer 1 corrupts the text.
7930Solution: Don't do anything when source and destination of ":diffget" or
7931 ":diffput" is the same buffer. (Dominique Pelle)
7932Files: src/diff.c
7933
7934Patch 7.2.087
7935Problem: Adding URL to 'path' doesn't work to edit a file.
Bram Moolenaarfcb7ab62010-07-20 11:16:17 +02007936Solution: Skip simplify_filename() for URLs. (Matt Wozniski)
Bram Moolenaar6df6f472010-07-18 18:04:50 +02007937Files: src/misc2.c
7938
7939Patch 7.2.088 (extra)
7940Problem: OpenClipboard() may fail when another application is using the
7941 clipboard.
7942Solution: Retry OpenClipboard() a few times. (Jianrong Yu)
7943Files: src/os_mswin.c
7944
7945Patch 7.2.089 (extra)
7946Problem: Win32: crash when using Ultramon buttons.
7947Solution: Don't use a WM_OLE message of zero size. (Ray Megal)
7948Files: src/if_ole.cpp, src/gui_w48.c
7949
7950Patch 7.2.090
7951Problem: User command containing 0x80 in multi-byte character does not work
7952 properly. (Yasuhiro Matsumoto)
7953Solution: Undo replacement of K_SPECIAL and CSI characters when executing
7954 the command.
7955Files: src/ex_docmd.c
7956
7957Patch 7.2.091
7958Problem: ":cs help" output is not aligned for some languages.
7959Solution: Compute character size instead of byte size. (Dominique Pelle)
7960Files: src/if_cscope.c
7961
7962Patch 7.2.092
7963Problem: Some error messages are not translated.
7964Solution: Add _() around the messages. (Dominique Pelle)
7965Files: src/eval.c
7966
7967Patch 7.2.093 (extra)
7968Problem: Win32: inputdialog() and find/replace dialogs can't handle
7969 multi-byte text.
7970Solution: Use the wide version of dialog functions when available. (Yanwei
7971 Jia)
7972Files: src/gui_w32.c, src/gui_w48.c
7973
7974Patch 7.2.094
7975Problem: Compiler warning for signed/unsigned compare.
7976Solution: Add type cast. Also fix a few typos.
7977Files: src/edit.c
7978
7979Patch 7.2.095
7980Problem: With Visual selection, "r" and then CTRL-C Visual mode is stopped
7981 but the highlighting is not removed.
7982Solution: Call reset_VIsual().
7983Files: src/normal.c
7984
7985Patch 7.2.096
7986Problem: After ":number" the "Press Enter" message may be on the wrong
7987 screen, if switching screens for shell commands.
7988Solution: Reset info_message. (James Vega)
7989Files: src/ex_cmds.c
7990
7991Patch 7.2.097
7992Problem: "!xterm&" doesn't work when 'shell' is "bash".
7993Solution: Ignore SIGHUP after calling setsid(). (Simon Schubert)
7994Files: src/os_unix.c
7995
7996Patch 7.2.098
7997Problem: Warning for signed/unsigned pointer.
7998Solution: Add type cast.
7999Files: src/eval.c
8000
8001Patch 7.2.099
8002Problem: Changing GUI options causes an unnecessary redraw when the GUI
8003 isn't active.
8004Solution: Avoid the redraw. (Lech Lorens)
8005Files: src/option.c
8006
8007Patch 7.2.100
8008Problem: When using ":source" on a FIFO or something else that can't rewind
8009 the first three bytes are skipped.
8010Solution: Instead of rewinding read the first line and detect a BOM in that.
8011 (mostly by James Vega)
8012Files: src/ex_cmds2.c
8013
8014Patch 7.2.101 (extra)
8015Problem: MSVC version not recognized.
8016Solution: Add the version number to the list. (Zhong Zhang)
8017Files: src/Make_mvc.mak
8018
8019Patch 7.2.102 (after 7.2.100)
8020Problem: When 'encoding' is "utf-8" a BOM at the start of a Vim script is
8021 not removed. (Tony Mechelynck)
8022Solution: When no conversion is taking place make a copy of the line without
8023 the BOM.
8024Files: src/ex_cmds2.c
8025
8026Patch 7.2.103
8027Problem: When 'bomb' is changed the window title is updated to show/hide a
8028 "+", but the tab page label isn't. (Patrick Texier)
8029Solution: Set "redraw_tabline" in most places where "need_maketitle" is set.
8030 (partly by Lech Lorens)
8031Files: src/option.c
8032
8033Patch 7.2.104
8034Problem: When using ":saveas bar.c" the tab label isn't updated right away.
8035Solution: Set redraw_tabline. (Francois Ingelrest)
8036Files: src/ex_cmds.c
8037
8038Patch 7.2.105
8039Problem: Modeline setting for 'foldmethod' overrules diff options. (Ingo
8040 Karkat)
8041Solution: Don't set 'foldmethod' and 'wrap' from a modeline when 'diff' is
8042 on.
8043Files: src/option.c
8044
8045Patch 7.2.106
8046Problem: Endless loop when using "]s" in HTML when there are no
8047 misspellings. (Ingo Karkat)
8048Solution: Break the search loop. Also fix pointer alignment for systems
8049 with pointers larger than int.
8050Files: src/spell.c
8051
8052Patch 7.2.107
8053Problem: When using a GUI dialog and ":echo" commands the messages are
Bram Moolenaarfcb7ab62010-07-20 11:16:17 +02008054 deleted after the dialog. (Vincent Birebent)
Bram Moolenaar6df6f472010-07-18 18:04:50 +02008055Solution: Don't call msg_end_prompt() since there was no prompt.
8056Files: src/message.c
8057
8058Patch 7.2.108 (after 7.2.105)
8059Problem: Can't build without the diff feature.
8060Solution: Add #ifdef.
8061Files: src/option.c
8062
8063Patch 7.2.109
8064Problem: 'langmap' does not work for multi-byte characters.
8065Solution: Add a list of mapped multi-byte characters. (based on work by
8066 Konstantin Korikov, Agathoklis Hatzimanikas)
8067Files: runtime/doc/options.txt, src/edit.c, src/getchar.c, src/macros.h,
8068 src/normal.c, src/option.c, src/proto/option.pro, src/window.c
8069
8070Patch 7.2.110
8071Problem: Compiler warning for unused variable.
8072Solution: Init the variable.
8073Files: src/ex_docmd.c
8074
8075Patch 7.2.111
8076Problem: When using Visual block mode with 'cursorcolumn' it's unclear what
8077 is selected.
8078Solution: Don't use 'cursorcolumn' highlighting inside the Visual selection.
8079 (idea by Dominique Pelle)
8080Files: src/screen.c
8081
8082Patch 7.2.112
8083Problem: Cursor invisible in Visual mode when 'number' is set and cursor in
8084 first column. (Matti Niemenmaa, Renato Alves)
8085Solution: Check that vcol_prev is smaller than vcol.
8086Files: src/screen.c
8087
8088Patch 7.2.113
8089Problem: Crash for substitute() call using submatch(1) while there is no
8090 such submatch. (Yukihiro Nakadaira)
8091Solution: Also check the start of the submatch is set, it can be NULL when
8092 an attempted match didn't work out.
8093Files: src/regexp.c
8094
8095Patch 7.2.114
8096Problem: Using wrong printf format.
8097Solution: Use "%ld" instead of "%d". (Dominique Pelle)
8098Files: src/netbeans.c
8099
8100Patch 7.2.115
8101Problem: Some debugging code is never used.
8102Solution: Remove nbtrace() and nbprt(). (Dominique Pelle)
8103Files: src/nbdebug.c, src/nbdebug.h
8104
8105Patch 7.2.116
8106Problem: Not all memory is freed when EXITFREE is defined.
8107Solution: Free allocated memory on exit. (Dominique Pelle)
8108Files: src/ex_docmd.c, src/gui_gtk_x11.c, src/misc2.c, src/search.c,
8109 src/tag.c
8110
8111Patch 7.2.117
8112Problem: Location list incorrectly labelled "Quickfix List".
8113Solution: Break out of both loops for finding window for location list
8114 buffer. (Lech Lorens)
8115Files: src/buffer.c, src/quickfix.c, src/screen.c
8116
8117Patch 7.2.118
8118Problem: <PageUp> at the more prompt only does half a page.
8119Solution: Make <PageUp> go up a whole page. Also make 'f' go a page
8120 forward, but not quit the more prompt. (Markus Heidelberg)
8121Files: src/message.c
8122
8123Patch 7.2.119
8124Problem: Status line is redrawn too often.
8125Solution: Check ScreeenLinesUC[] properly. (Yukihiro Nakadaira)
8126Files: src/screen.c
8127
8128Patch 7.2.120
8129Problem: When opening the quickfix window or splitting the window and
8130 setting the location list, the location list is copied and then
8131 deleted, which is inefficient.
8132Solution: Don't copy the location list when not needed. (Lech Lorens)
8133Files: src/quickfix.c, src/vim.h, src/window.c
8134
8135Patch 7.2.121
8136Problem: In gvim "!grep a *.c" spews out a lot of text that can't be
8137 stopped with CTRL-C.
8138Solution: When looping to read and show text, do check for typed characters
8139 every two seconds.
8140Files: src/os_unix.c
8141
8142Patch 7.2.122
8143Problem: Invalid memory access when the VimResized autocommand changes
8144 'columns' and/or 'lines'.
8145Solution: After VimResized check for changed values. (Dominique Pelle)
8146Files: src/screen.c
8147
8148Patch 7.2.123
8149Problem: Typing 'q' at more prompt for ":map" output still displays another
8150 line, causing another more prompt. (Markus Heidelberg)
8151Solution: Quit listing maps when 'q' typed.
8152Files: src/getchar.c
8153
8154Patch 7.2.124
8155Problem: Typing 'q' at more prompt for ":tselect" output still displays
8156 more lines, causing another more prompt. (Markus Heidelberg)
8157Solution: Quit listing tags when 'q' typed.
8158Files: src/tag.c
8159
8160Patch 7.2.125
8161Problem: Leaking memory when reading XPM bitmap for a sign.
8162Solution: Don't allocate the memory twice. (Dominique Pelle)
8163Files: src/gui_x11.c
8164
8165Patch 7.2.126
8166Problem: When EXITFREE is defined signs are not freed.
8167Solution: Free all signs on exit. Also free keymaps. (Dominique Pelle)
8168Files: src/misc2.c, src/ex_cmds.c, src/proto/ex_cmds.pro
8169
8170Patch 7.2.127
8171Problem: When listing mappings and a wrapping line causes the more prompt,
8172 after typing 'q' there can be another more prompt. (Markus
8173 Heidelberg)
8174Solution: Set "lines_left" to allow more lines to be displayed.
8175Files: src/message.c
8176
8177Patch 7.2.128 (after 7.2.055)
8178Problem: Using ":lcd" makes session files not work.
8179Solution: Compare return value of mch_chdir() properly. (Andreas Bernauer)
8180Files: src/ex_docmd.c
8181
8182Patch 7.2.129
8183Problem: When opening a command window from input() it uses the search
8184 history.
8185Solution: Use get_cmdline_type(). (James Vega)
8186Files: src/ex_getln.c
8187
8188Patch 7.2.130
Bram Moolenaar483c5d82010-10-20 18:45:33 +02008189Problem: Vim may hang until CTRL-C is typed when using CTRL-Z.
Bram Moolenaar6df6f472010-07-18 18:04:50 +02008190Solution: Avoid using pause(). Also use "volatile" for variables used in
8191 signal functions. (Dominique Pelle)
8192Files: src/auto/configure, src/configure.in, src/config.h.in,
8193 src/globals.h, src/os_unix.c
8194
8195Patch 7.2.131
8196Problem: When 'keymap' is cleared may still use the cursor highlighting for
8197 when it's enabled.
8198Solution: Reset 'iminsert' and 'imsearch'. (partly by Dominique Pelle)
8199 Also avoid ":setlocal" for these options have a global effect.
8200Files: src/option.c
8201
8202Patch 7.2.132
8203Problem: When changing directory during a SwapExists autocmd freed memory
8204 may be accessed. (Dominique Pelle)
8205Solution: Add the allbuf_lock flag.
8206Files: src/ex_getln.c, src/globals.h, src/fileio.c,
8207 src/proto/ex_getln.pro
8208
8209Patch 7.2.133
8210Problem: ":diffoff!" changes settings in windows not in diff mode.
8211Solution: Only change settings in other windows when 'diff' is set, always
8212 do it for the current window. (Lech Lorens)
8213Files: src/diff.c
8214
8215Patch 7.2.134
8216Problem: Warning for discarding "const" from pointer.
8217Solution: Don't pass const pointer to mch_memmove().
8218Files: src/fileio.c
8219
8220Patch 7.2.135
8221Problem: Memory leak when redefining user command with complete argument.
8222Solution: Free the old complete argument. (Dominique Pelle)
8223Files: src/ex_docmd.c
8224
8225Patch 7.2.136 (after 7.2.132)
8226Problem: ":cd" is still possible in a SwapExists autocmd.
8227Solution: Check the allbuf_lock flag in ex_cd().
8228Files: src/ex_docmd.c
8229
8230Patch 7.2.137
8231Problem: When 'virtualedit' is set, a left shift of a blockwise selection
8232 that starts and ends inside a tab shifts too much. (Helmut
8233 Stiegler)
8234Solution: Redo the block left shift code. (Lech Lorens)
8235Files: src/ops.c, src/testdir/Makefile, src/testdir/test66.in,
8236 src/testdir/test66.ok
8237
8238Patch 7.2.138 (extra part of 7.2.137)
8239Problem: See 7.2.137.
8240Solution: See 7.2.137.
8241Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
8242 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
8243 src/testdir/Make_vms.mms
8244
8245Patch 7.2.139
8246Problem: Crash when 'virtualedit' is "all". (James Vega)
8247Solution: Avoid overflow when column is MAXCOL. (Dominique Pelle)
8248Files: src/misc2.c
8249
8250Patch 7.2.140
8251Problem: Diff highlighting isn't displayed before the Visual area if it
8252 starts at the cursor position. (Markus Heidelberg)
8253Solution: Also check fromcol_prev.
8254Files: src/screen.c
8255
8256Patch 7.2.141
8257Problem: When redrawing a character for bold spill this causes the next
8258 character to be redrawn as well.
8259Solution: Only redraw one extra character. (Yukihiro Nakadaira)
8260Files: src/screen.c
8261
8262Patch 7.2.142
8263Problem: Motif and Athena balloons don't use tooltip colors.
8264Solution: Set the colors. (Matt Wozniski)
8265Files: src/gui_beval.c
8266
8267Patch 7.2.143
8268Problem: No command line completion for ":cscope" command.
8269Solution: Add the completion for ":cscope". (Dominique Pelle)
8270Files: src/ex_docmd.c, src/ex_getln.c, src/if_cscope.c,
8271 src/proto/if_cscope.pro, src/vim.h
8272
8273Patch 7.2.144
8274Problem: When 't_Co' is set to the value it already had the color scheme is
8275 reloaded anyway.
8276Solution: Only load the colorscheme when the t_Co value changes. (Dominique
8277 Pelle)
8278Files: src/option.c
8279
8280Patch 7.2.145
8281Problem: White space in ":cscope find" is not ignored.
8282Solution: Ignore the white space, but not when the leading white space is
8283 useful for the argument.
8284Files: runtime/doc/if_scop.txt, src/if_cscope.c
8285
8286Patch 7.2.146
8287Problem: v:warningmsg isn't used for all warnings.
8288Solution: Set v:warningmsg for relevant warnings. (Ingo Karkat)
8289Files: src/fileio.c, src/misc1.c, src/option.c
8290
8291Patch 7.2.147
8292Problem: When compiled as small version and 'number' is on the cursor is
8293 displayed in the wrong position after a tab. (James Vega)
8294Solution: Don't increment vcol when still displaying the line number.
8295Files: src/screen.c
8296
8297Patch 7.2.148
8298Problem: When searching for "$" while 'hlsearch' is set, highlighting the
8299 character after the line does not work in the cursor column.
8300 Also highlighting for Visual mode after the line end when this
8301 isn't needed. (Markus Heidelberg)
8302Solution: Only compare the cursor column in the cursor line. Only highlight
8303 for Visual selection after the last character when it's needed to
8304 see where the Visual selection ends.
8305Files: src/screen.c
8306
8307Patch 7.2.149
8308Problem: Using return value of function that doesn't return a value results
8309 in reading uninitialized memory.
8310Solution: Set the default to return zero. Make cursor() return -1 on
8311 failure. Let complete() return an empty string in case of an
8312 error. (partly by Dominique Pelle)
8313Files: runtime/doc/eval.txt, src/eval.c
8314
8315Patch 7.2.150 (extra)
8316Problem: Can't use tab pages from VisVim.
8317Solution: Add tab page support to VisVim. (Adam Slater)
8318Files: src/VisVim/Commands.cpp, src/VisVim/Resource.h,
8319 src/VisVim/VisVim.rc
8320
8321Patch 7.2.151
8322Problem: ":hist a" doesn't work like ":hist all" as the docs suggest.
8323Solution: Make ":hist a" and ":hist al" work. (Dominique Pelle)
8324Files: src/ex_getln.c
8325
8326Patch 7.2.152
8327Problem: When using "silent echo x" inside ":redir" a next echo may start
8328 halfway the line. (Tony Mechelynck, Dennis Benzinger)
8329Solution: Reset msg_col after redirecting silently.
8330Files: src/ex_docmd.c, src/message.c, src/proto/message.pro
8331
8332Patch 7.2.153
8333Problem: Memory leak for ":recover empty_dir/".
8334Solution: Free files[] when it becomes empty. (Dominique Pelle)
8335Files: src/memline.c
8336
8337Patch 7.2.154 (after 7.2.132)
8338Problem: ":cd" is still possible in a SwapExists autocmd.
8339Solution: Set allbuf_lock in do_swapexists().
8340Files: src/memline.c
8341
8342Patch 7.2.155
8343Problem: Memory leak in ":function /pat".
8344Solution: Free the memory. (Dominique Pelle)
8345Files: src/eval.c
8346
8347Patch 7.2.156 (after 7.2.143)
8348Problem: No completion for :scscope and :lcscope commands.
8349Solution: Implement the completion. (Dominique Pelle)
8350Files: src/if_cscope.c, src/ex_docmd.c, src/proto/if_cscope.pro
8351
8352Patch 7.2.157
8353Problem: Illegal memory access when searching in path.
8354Solution: Avoid looking at a byte after end of a string. (Dominique Pelle)
8355Files: src/search.c
8356
8357Patch 7.2.158
8358Problem: Warnings from VisualC compiler.
8359Solution: Add type casts. (George Reilly)
8360Files: src/ops.c
8361
8362Patch 7.2.159
8363Problem: When $x_includes ends up being "NONE" configure fails.
8364Solution: Check for $x_includes not to be "NONE" (Rainer)
8365Files: src/auto/configure, src/configure.in
8366
8367Patch 7.2.160
8368Problem: Search pattern not freed on exit when 'rightleft' set.
8369Solution: Free mr_pattern_alloced.
8370Files: src/search.c
8371
8372Patch 7.2.161
8373Problem: Folds messed up in other tab page. (Vlad Irnov)
8374Solution: Instead of going over all windows in current tab page go over all
8375 windows in all tab pages. Also free memory for location lists in
8376 other tab pages when exiting. (Lech Lorens)
8377Files: src/fileio.c, src/mark.c, src/misc1.c, src/misc2.c
8378
8379Patch 7.2.162
8380Problem: The quickfix window may get wrong filetype.
8381Solution: Do not detect the filetype for the quickfix window. (Lech Lorens)
8382Files: src/quickfix.c
8383
8384Patch 7.2.163
8385Problem: The command line window may get folding.
8386Solution: Default to no/manual folding. (Lech Lorens)
8387Files: src/ex_getln.c
8388
8389Patch 7.2.164
8390Problem: When 'showbreak' is set the size of the Visual block may be
8391 reported wrong. (Eduardo Daudt Flach)
8392Solution: Temporarily make 'sbr' empty.
8393Files: src/normal.c, src/ops.c
8394
8395Patch 7.2.165
8396Problem: The argument for the FuncUndefined autocmd event is expanded like
8397 a file name.
8398Solution: Don't try expanding it. (Wang Xu)
8399Files: src/fileio.c
8400
8401Patch 7.2.166
8402Problem: No completion for ":sign" command.
8403Solution: Add ":sign" completion. (Dominique Pelle)
8404Files: src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c, src/vim.h,
8405 src/proto/ex_cmds.pro
8406
8407Patch 7.2.167
8408Problem: Splint doesn't work well for checking the code.
8409Solution: Add splint arguments in the Makefile. Exclude some code from
8410 splint that it can't handle. Tune splint arguments to give
8411 reasonable errors. Add a filter for removing false warnings from
8412 splint output. Many small changes to avoid warnings. More to
8413 follow...
8414Files: Filelist, src/Makefile, src/buffer.c, src/charset.c,
8415 src/cleanlint.vim, src/digraph.c, src/edit.c, src/ex_cmds.c,
8416 src/globals.h, src/ops.c, src/os_unix.c, src/os_unix.h,
8417 src/proto/buffer.pro, src/proto/edit.pro, src/screen.c,
8418 src/structs.h
8419
8420Patch 7.2.168
8421Problem: When no ctags program can be found, "make tags" attempts to
8422 execute the first C file.
8423Solution: Default to "ctags" when no ctags program can be found.
8424Files: src/configure.in, src/auto/configure
8425
8426Patch 7.2.169
8427Problem: Splint complains about a lot of things.
8428Solution: Add type casts, #ifdefs and other changes to avoid warnings.
8429 Change colnr_T from unsigned to int. Avoids mistakes with
8430 subtracting columns.
8431Files: src/cleanlint.vim, src/diff.c, src/edit.c, src/ex_cmds.c,
8432 src/ex_cmds2.c, src/ex_docmd.c, src/proto/ex_cmds.pro,
8433 src/proto/spell.pro, src/quickfix.c, src/spell.c, src/structs.h,
8434 src/term.h, src/vim.h
8435
8436Patch 7.2.170
8437Problem: Using b_dev while it was not set. (Dominique Pelle)
8438Solution: Add the b_dev_valid flag.
8439Files: src/buffer.c, src/fileio.c, src/structs.h
8440
8441Patch 7.2.171 (after 7.2.169)
8442Problem: Compiler warnings. (Tony Mechelynck)
8443Solution: Add function prototype. (Patrick Texier) Init variable.
8444Files: src/ex_cmds.c
8445
8446Patch 7.2.172 (extra)
8447Problem: Compiler warning.
8448Solution: Adjust function prototype. (Patrick Texier)
8449Files: src/os_mswin.c
8450
8451Patch 7.2.173
8452Problem: Without lint there is no check for unused function arguments.
8453Solution: Use gcc -Wunused-parameter instead of lint. For a few files add
8454 attributes to arguments that are known not to be used.
8455Files: src/auto/configure, src/buffer.c, src/charset.c, src/diff.c,
8456 src/configure.in, src/config.h.in, src/edit.c, src/ex_cmds.c,
8457 src/ex_cmds2.c, src/version.c, src/vim.h
8458
8459Patch 7.2.174
8460Problem: Too many warnings from gcc -Wextra.
8461Solution: Change initializer. Add UNUSED. Add type casts.
8462Files: src/edit.c, src/eval.c, src/ex_cmds.c, src/ex_docmd.c,
8463 src/ex_getln.c, src/fileio.c, getchar.c, globals.h, main.c,
8464 memline.c, message.c, src/misc1.c, src/move.c, src/normal.c,
8465 src/option.c, src/os_unix.c, src/os_unix.h, src/regexp.c,
8466 src/search.c, src/tag.c
8467
8468Patch 7.2.175
8469Problem: Compiler warning in OpenBSD.
8470Solution: Add type cast for NULL. (Dasn)
8471Files: src/if_cscope.c
8472
8473Patch 7.2.176
8474Problem: Exceptions for splint are not useful.
8475Solution: Remove the S_SPLINT_S ifdefs.
8476Files: src/edit.c, src/ex_cmds.c, src/ex_docmd.c, src/os_unix.c,
8477 src/os_unix.h, src/os_unixx.h, src/structs.h, src/term.h
8478
8479Patch 7.2.177
8480Problem: Compiler warnings when using -Wextra
8481Solution: Add UNUSED and type casts.
8482Files: src/eval.c, src/ex_docmd.c, src/ex_eval.c, src/ex_getln.c,
8483 src/fileio.c, src/hardcopy.c, src/if_cscope.c, src/if_xcmdsrv.c,
8484 src/farsi.c, src/mark.c, src/menu.c
8485
8486Patch 7.2.178
8487Problem: Using negative value for device number might not work.
8488Solution: Use a separate flag for whether ffv_dev was set.
8489Files: src/misc2.c
8490
8491Patch 7.2.179
8492Problem: Using negative value for device number might not work.
8493Solution: Use a separate flag for whether sn_dev was set.
8494Files: src/ex_cmds2.c
8495
8496Patch 7.2.180
8497Problem: Some more compiler warnings when using gcc -Wextra.
8498Solution: Add UNUSED and type casts.
8499Files: src/buffer.c, src/ex_cmds.c, src/macros.h, src/main.c,
8500 src/menu.c, src/message.c, src/misc1.c, src/mbyte.c,
8501 src/normal.c, src/option.c, src/os_unix.c, src/quickfix.c,
8502 src/screen.c, src/search.c, src/spell.c, src/syntax.c, src/tag.c,
8503 src/term.c, src/ui.c
8504
8505Patch 7.2.181
8506Problem: Some more compiler warnings when using gcc -Wextra.
8507Solution: Add UNUSED and type casts.
8508Files: src/if_mzsch.c, src/gui.c, src/gui_gtk.c, src/gui_gtk_x11.c,
8509 src/gui_gtk_f.c, src/gui_beval.c, src/netbeans.c
8510
8511Patch 7.2.182 (after 7.2.181)
8512Problem: Compilation problems after previous patch for Motif. Gvim with
8513 GTK crashes on startup.
8514Solution: Add comma. Init form structure to zeroes.
8515Files: src/netbeans.c, src/gui_gtk_f.c
8516
8517Patch 7.2.183
8518Problem: Configure problem for sys/sysctl.h on OpenBSD. (Dasn)
8519Solution: Add separate check for this header file. Also switch to newer
8520 version of autoconf.
8521Files: src/auto/configure, src/configure.in
8522
8523Patch 7.2.184
8524Problem: Some more compiler warnings when using gcc -Wextra.
8525Solution: Add UNUSED and type casts. Autoconf check for wchar_t.
8526Files: src/auto/configure, src/config.h.in, src/configure.in,
8527 src/gui_athena.c, src/gui_x11.c, src/gui.c, src/gui_beval.c,
8528 src/gui_at_sb.c, src/gui_at_fs.c, src/gui_motif.c,
8529 src/gui_xmdlg.c, src/gui_xmebw.c, src/if_python.c, src/window.c,
8530 src/workshop.c
8531
8532Patch 7.2.185
8533Problem: Some more compiler warnings when using gcc -Wextra.
8534Solution: Add UNUSED and type casts.
8535Files: src/Makefile, src/if_tlc.c, src/if_ruby.c
8536
8537Patch 7.2.186
8538Problem: Some more compiler warnings when using gcc -Wextra.
8539Solution: Now with the intended if_tcl.c changes.
8540Files: src/if_tcl.c
8541
8542Patch 7.2.187 (after 7.2.186)
8543Problem: Doesn't build with older versions of TCL. (Yongwei Wu)
8544Solution: Add #ifdefs. (Dominique Pelle)
8545Files: src/if_tcl.c
8546
8547Patch 7.2.188
8548Problem: Crash with specific use of function calls. (Meikel Brandmeyer)
8549Solution: Make sure the items referenced by a function call are not freed
8550 twice. (based on patch from Nico Weber)
8551Files: src/eval.c
8552
8553Patch 7.2.189
8554Problem: Possible hang for deleting auto-indent. (Dominique Pelle)
8555Solution: Make sure the position is not beyond the end of the line.
8556Files: src/edit.c
8557
8558Patch 7.2.190
8559Problem: The register executed by @@ isn't restored.
8560Solution: Mark the executable register in the viminfo file.
8561Files: src/ops.c
8562
8563Patch 7.2.191
8564Problem: Mzscheme interface doesn't work on Ubuntu.
8565Solution: Change autoconf rules. Define missing macro. Some changes to
8566 avoid gcc warnings. Remove per-buffer namespace. (Sergey Khorev)
8567Files: runtime/doc/if_mzsch.txt, src/Makefile, src/Make_ming.mak,
8568 src/Make_mvc.mak, src/auto/configure, src/configure.in,
8569 src/config.mk.in, src/eval.c, src/if_mzsch.c, src/if_mzsch.h,
8570 src/main.c, src/proto/if_mzsch.pro
8571
8572Patch 7.2.192 (after 7.2.188)
8573Problem: Still a crash in the garbage collector for a very rare situation.
8574Solution: Make sure current_copyID is always incremented correctly. (Kent
8575 Sibilev)
8576Files: src/eval.c
8577
8578Patch 7.2.193
8579Problem: Warning for uninitialized values.
8580Solution: Initialize all the struct items.
8581Files: src/eval.c
8582
8583Patch 7.2.194 (extra)
8584Problem: MSVC: rem commands are echoed.
8585Solution: Add commands to switch off echo. (Wang Xu)
8586Files: src/msvc2008.bat
8587
8588Patch 7.2.195
8589Problem: Leaking memory for the command Vim was started with.
8590Solution: Remember the pointer and free it.
8591Files: src/gui_gtk_x11.c
8592
8593Patch 7.2.196 (after 7.2.167)
8594Problem: Turns out splint doesn't work well enough to be usable.
8595Solution: Remove splint support.
8596Files: Filelist, src/cleanlint.vim
8597
8598Patch 7.2.197
8599Problem: Warning for uninitialized values.
8600Solution: Initialize all the struct items of typebuf.
8601Files: src/globals.h
8602
8603Patch 7.2.198
8604Problem: Size of buffer used for tgetent() may be too small.
8605Solution: Use the largest known size everywhere.
8606Files: src/vim.h
8607
8608Patch 7.2.199
8609Problem: Strange character in comment.
8610Solution: Change to "message". (Yongwei Wu)
8611Files: src/term.c
8612
8613Patch 7.2.200
8614Problem: Reading past end of string when navigating the menu bar or
8615 resizing the window.
8616Solution: Add and use mb_ptr2len_len(). (partly by Dominique Pelle)
8617 Also add mb_ptr2cells_len() to prevent more trouble.
8618Files: src/gui_gtk_x11.c, src/os_unix.c, src/globals.h, src/mbyte.c,
8619 src/proto/mbyte.pro
8620
8621Patch 7.2.201
8622Problem: Cannot copy/paste HTML to/from Firefox via the clipboard.
8623Solution: Implement this for GTK. Add the "html" value to 'clipboard'.
8624Files: runtime/doc/options.txt, src/globals.h, src/gui_gtk_x11.c,
8625 src/mbyte.c, src/proto/mbyte.pro, src/option.c
8626
8627Patch 7.2.202
8628Problem: BufWipeout autocommand that edits another buffer causes problems.
8629Solution: Check for the situation, give an error and quit the operation.
8630Files: src/fileio.c
8631
8632Patch 7.2.203
8633Problem: When reloading a buffer or doing anything else with a buffer that
8634 is not displayed in a visible window, autocommands may be applied
8635 to the current window, folds messed up, etc.
8636Solution: Instead of using the current window for the hidden buffer use a
8637 special window, splitting the current one temporarily.
8638Files: src/fileio.c, src/globals.h, src/gui.c, src/if_perl.xs,
8639 src/progo/gui.pro, src/proto/window.pro, src/screen.c,
8640 src/structs.h, src/window.c
8641
8642Patch 7.2.204 (extra)
8643Problem: Win32: Can't build with Visual Studio 2010 beta 1.
8644Solution: Fix the makefile. (George Reilly)
8645Files: src/Make_mvc.mak
8646
8647Patch 7.2.205 (extra)
Bram Moolenaarfcb7ab62010-07-20 11:16:17 +02008648Problem: Win32: No support for High DPI awareness.
Bram Moolenaar6df6f472010-07-18 18:04:50 +02008649Solution: Fix the manifest file. (George Reilly)
8650Files: src/Make_mvc.mak, src/gvim.exe.mnf
8651
8652Patch 7.2.206
8653Problem: Win32: Can't build netbeans interface with Visual Studio 2010.
8654Solution: Undefine ECONNREFUSED. (George Reilly)
8655Files: src/netbeans.c
8656
8657Patch 7.2.207
8658Problem: Using freed memory with ":redrawstatus" when it works recursively.
8659Solution: Prevent recursively updating the status line. (partly by Dominique
8660 Pelle)
8661Files: src/screen.c
8662
8663Patch 7.2.208
8664Problem: "set novice" gives an error message, it should be ignored.
8665Solution: Don't see "no" in "novice" as unsetting an option. (Patrick
8666 Texier)
8667Files: src/option.c
8668
8669Patch 7.2.209
8670Problem: For xxd setmode() is undefined on Cygwin.
8671Solution: Include io.h. (Dominique Pelle)
8672Files: src/xxd/xxd.c
8673
8674Patch 7.2.210
8675Problem: When a file that is being edited has its timestamp updated outside
8676 of Vim and ":checktime" is used still get a warning when writing
8677 the file. (Matt Mueller)
8678Solution: Store the timestamp in b_mtime_read when the timestamp is the only
8679 thing that changed.
8680Files: src/fileio.c
8681
8682Patch 7.2.211
8683Problem: Memory leak when expanding a series of file names.
8684Solution: Use ga_clear_strings() instead of ga_clear().
8685Files: src/misc1.c
8686
8687Patch 7.2.212 (extra)
8688Problem: Warnings for redefining SIG macros.
8689Solution: Don't define them if already defined. (Bjorn Winckler)
8690Files: src/os_mac.h
8691
8692Patch 7.2.213
8693Problem: Warning for using vsprintf().
8694Solution: Use vim_vsnprintf().
8695Files: src/netbeans.c
8696
8697Patch 7.2.214
8698Problem: Crash with complete function for user command. (Andy Wokula)
8699Solution: Avoid using a NULL pointer (Dominique Pelle)
8700Files: src/ex_getln.c
8701
8702Patch 7.2.215
8703Problem: ml_get error when using ":vimgrep".
8704Solution: Load the memfile for the hidden buffer before putting it in a
8705 window. Correct the order of splitting the window and filling
8706 the window and buffer with data.
8707Files: src/fileio.c, src/proto/window.pro, src/quickfix.c, src/window.c
8708
8709Patch 7.2.216
8710Problem: Two error messages have the same number E812.
8711Solution: Give one message a different number.
8712Files: runtime/doc/autocmd.txt, runtime/doc/if_mzsch.txt, src/if_mzsch.c
8713
8714Patch 7.2.217
8715Problem: Running tests with valgrind doesn't work as advertised.
8716Solution: Fix the line in the Makefile.
8717Files: src/testdir/Makefile
8718
8719Patch 7.2.218
8720Problem: Cannot build GTK with hangul_input feature. (Dominique Pelle)
Bram Moolenaar8d9b40e2010-07-25 15:49:07 +02008721Solution: Adjust #ifdef. (SungHyun Nam)
Bram Moolenaar6df6f472010-07-18 18:04:50 +02008722Files: src/gui.c
8723
8724Patch 7.2.219 (extra)
8725Problem: Photon GUI is outdated.
8726Solution: Updates for QNX 6.4.0. (Sean Boudreau)
8727Files: src/gui_photon.c
8728
8729Patch 7.2.220 (after 7.2.215)
8730Problem: a BufEnter autocommand that changes directory causes problems.
8731 (Ajit Thakkar)
8732Solution: Disable autocommands when opening a hidden buffer in a window.
8733Files: src/fileio.c
8734
8735Patch 7.2.221
8736Problem: X cut_buffer0 text is used as-is, it may be in the wrong encoding.
8737Solution: Convert between 'enc' and latin1. (James Vega)
8738Files: src/gui_gtk_x11.c, src/message.c, src/ops.c, src/proto/ui.pro,
8739 src/ui.c
8740
8741Patch 7.2.222
8742Problem: ":mksession" doesn't work properly with 'acd' set.
8743Solution: Make it work. (Yakov Lerner)
8744Files: src/ex_docmd.c
8745
8746Patch 7.2.223
8747Problem: When a script is run with ":silent" it is not able to give warning
8748 messages.
8749Solution: Add the ":unsilent" command.
8750Files: runtime/doc/various.txt, src/ex_cmds.h, src/ex_docmd.c
8751
8752Patch 7.2.224
8753Problem: Crash when using 'completefunc'. (Ingo Karkat)
8754Solution: Disallow entering edit() recursively when doing completion.
8755Files: src/edit.c
8756
8757Patch 7.2.225
8758Problem: When using ":normal" a saved character may be executed.
8759Solution: Also store old_char when saving typeahead.
8760Files: src/getchar.c, src/structs.h
8761
8762Patch 7.2.226
8763Problem: ml_get error after deleting the last line. (Xavier de Gaye)
8764Solution: When adjusting marks a callback may be invoked. Adjust the cursor
8765 position before invoking deleted_lines_mark().
8766Files: src/ex_cmds.c, src/ex_docmd.c, src/if_mzsch.c, src/if_python.c,
8767 src/if_perl.xs, src/misc1.c
8768
8769Patch 7.2.227
8770Problem: When using ":cd" in a script there is no way to track this.
8771Solution: Display the directory when 'verbose' is 5 or higher.
8772Files: src/ex_docmd.c
8773
8774Patch 7.2.228
8775Problem: Cscope is limited to 8 connections.
8776Solution: Allocated the connection array to handle any number of
8777 connections. (Dominique Pelle)
8778Files: runtime/doc/if_cscop.txt, src/if_cscope.h, src/if_cscope.c
8779
8780Patch 7.2.229
8781Problem: Warning for shadowed variable.
8782Solution: Rename "wait" to "wait_time".
8783Files: src/os_unix.c
8784
8785Patch 7.2.230
8786Problem: A few old lint-style ARGUSED comments.
8787Solution: Change to the new UNUSED style.
8788Files: src/getchar.c
8789
8790Patch 7.2.231
Bram Moolenaardd007ed2013-07-09 15:44:17 +02008791Problem: Warning for unreachable code.
Bram Moolenaar6df6f472010-07-18 18:04:50 +02008792Solution: Add #ifdef.
8793Files: src/if_perl.xs
8794
8795Patch 7.2.232
8796Problem: Cannot debug problems with being in a wrong directory.
8797Solution: When 'verbose' is 5 or higher report directory changes.
8798Files: src/os_unix.c, src/os_unix.h, src/proto/os_unix.pro
8799
8800Patch 7.2.233 (extra part of 7.2.232)
8801Problem: Cannot debug problems with being in a wrong directory.
8802Solution: When 'verbose' is 5 or higher report directory changes.
8803Files: src/os_msdos.c, src/os_mswin.c, src/os_riscos.c, src/os_mac.h
8804
8805Patch 7.2.234
8806Problem: It is not possible to ignore file names without a suffix.
8807Solution: Use an empty entry in 'suffixes' for file names without a dot.
8808Files: runtime/doc/cmdline.txt, src/misc1.c
8809
8810Patch 7.2.235
8811Problem: Using CTRL-O z= in Insert mode has a delay before redrawing.
8812Solution: Reset msg_didout and msg_scroll.
8813Files: src/misc1.c, src/spell.c
8814
8815Patch 7.2.236
8816Problem: Mac: Compiling with Ruby doesn't always work.
8817Solution: In configure filter out the --arch argument (Bjorn Winckler)
8818Files: src/configure.in, src/auto/configure
8819
8820Patch 7.2.237
8821Problem: Crash on exit when window icon not set.
8822Solution: Copy terminal name when using it for the icon name.
8823Files: src/os_unix.c
8824
8825Patch 7.2.238
8826Problem: Leaking memory when setting term to "builtin_dumb".
8827Solution: Free memory when resetting term option t_Co.
8828Files: src/option.c, src/proto/option.pro, src/term.c
8829
8830Patch 7.2.239
8831Problem: Using :diffpatch twice or when patching fails causes memory
8832 corruption and/or a crash. (Bryan Venteicher)
8833Solution: Detect missing output file. Avoid using non-existing buffer.
8834Files: src/diff.c
8835
8836Patch 7.2.240
8837Problem: Crash when using find/replace dialog repeatedly. (Michiel
8838 Hartsuiker)
8839Solution: Avoid doing the operation while busy or recursively. Also refuse
8840 replace when text is locked.
8841Files: src/gui.c
8842
8843Patch 7.2.241
8844Problem: When using a combination of ":bufdo" and "doautoall" we may end up
8845 in the wrong directory. (Ajit Thakkar)
8846 Crash when triggering an autocommand in ":vimgrep". (Yukihiro
8847 Nakadaira)
8848Solution: Clear w_localdir and globaldir when using the aucmd_win.
8849 Use a separate flag to decide aucmd_win needs to be restored.
8850Files: src/fileio.c, src/globals.h, src/structs.h
8851
8852Patch 7.2.242
8853Problem: Setting 'lazyredraw' causes the cursor column to be recomputed.
8854 (Tom Link)
8855Solution: Only recompute the cursor column for a boolean option if changes
8856 the cursor position.
8857Files: src/option.c
8858
8859Patch 7.2.243
8860Problem: Memory leak when using :vimgrep and resizing. (Dominique Pelle)
8861Solution: Free memory for aucmd_win when resizing and don't allocate it
8862 twice.
8863Files: src/screen.c
8864
8865Patch 7.2.244
8866Problem: When 'enc' is utf-8 and 'fenc' is latin1, writing a non-latin1
8867 character gives a conversion error without any hint what is wrong.
8868Solution: When known add the line number to the error message.
8869Files: src/fileio.c
8870
8871Patch 7.2.245
8872Problem: When 'enc' is "utf-16" and 'fenc' is "utf-8" writing a file does
8873 conversion while none should be done. (Yukihiro Nakadaira) When
8874 'fenc' is empty the file is written as utf-8 instead of utf-16.
8875Solution: Do proper comparison of encodings, taking into account that all
8876 Unicode values for 'enc' use utf-8 internally.
8877Files: src/fileio.c
8878
8879Patch 7.2.246
8880Problem: Cscope home page link is wrong.
8881Solution: Update the URL. (Sergey Khorev)
8882Files: runtime/doc/if_cscop.txt
8883
8884Patch 7.2.247
8885Problem: Mzscheme interface minor problem.
8886Solution: Better error message when build fails. (Sergey Khorev)
8887Files: src/if_mzsch.c
8888
8889Patch 7.2.248 (extra)
8890Problem: Mzscheme interface building minor problems.
8891Solution: Update Win32 makefiles. (Sergey Khorev)
8892Files: src/Make_cyg.mak, src/Make_ming.mak, src/Make_mvc.mak
8893
8894Patch 7.2.249
8895Problem: The script to check .po files can't handle '%' in plural forms.
8896Solution: Remove "Plural-Forms:" from the checked string.
8897Files: src/po/check.vim
8898
8899Patch 7.2.250 (extra)
8900Problem: Possible buffer overflow.
8901Solution: Compute the remaining space. (Dominique Pelle)
8902Files: src/GvimExt/gvimext.cpp
8903
8904Patch 7.2.251 (after 7.2.044)
8905Problem: Compiler adds invalid memory bounds check.
8906Solution: Remove _FORTIFY_SOURCE=2 from CFLAGS. (Dominique Pelle)
8907Files: src/auto/configure, src/configure.in
8908
8909Patch 7.2.252
8910Problem: When using a multi-byte 'enc' the 'iskeyword' option cannot
8911 contain characters above 128.
8912Solution: Use mb_ptr2char_adv().
8913Files: src/charset.c
8914
8915Patch 7.2.253
8916Problem: Netbeans interface: getLength always uses current buffer.
8917Solution: Use ml_get_buf() instead of ml_get(). (Xavier de Gaye)
8918Files: src/netbeans.c
8919
8920Patch 7.2.254
8921Problem: Compiler warning for assigning size_t to int.
8922Solution: Use size_t for the variable. (George Reilly)
8923Files: src/fileio.c
8924
8925Patch 7.2.255 (after 7.2.242)
8926Problem: Setting 'rightleft', 'linebreak' and 'wrap' may cause cursor to be
8927 in wrong place.
8928Solution: Recompute the cursor column for these options.
8929Files: src/option.c
8930
8931Patch 7.2.256
8932Problem: When 'guifont' was not set GTK font dialog doesn't have a default.
8933 (Andreas Metzler)
8934Solution: Set default to DEFAULT_FONT. (James Vega)
8935Files: src/gui_gtk_x11.c
8936
8937Patch 7.2.257
8938Problem: With GTK 2.17 lots of assertion error messages.
8939Solution: Remove check for static gravity. (Sebastian Droege)
8940Files: src/gui_gtk_f.c
8941
8942Patch 7.2.258
8943Problem: v:beval_col and b:beval_text are wrong in UTF-8 text. (Tony
8944 Mechelynck)
8945Solution: Use byte number instead of character number for the column.
8946Files: src/ui.c
8947
8948Patch 7.2.259
8949Problem: exists() doesn't work properly for an empty aucmd group.
8950Solution: Change how au_exists() handles a missing pattern. Also add a
8951 test for this. (Bob Hiestand)
8952Files: src/fileio.c, src/testdir/Makefile, src/testdir/test67.in,
8953 src/testdir/test67.ok
8954
8955Patch 7.2.260 (extra part of 7.2.259)
8956Problem: exists() doesn't work properly for empty aucmd group.
8957Solution: Change how au_exists() handles a missing pattern. Also add a
8958 test for this. (Bob Hiestand)
8959Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
8960 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
8961 src/testdir/Make_vms.mms
8962
8963Patch 7.2.261
8964Problem: When deleting lines with a specific folding configuration E38 may
8965 appear. (Shahaf)
8966Solution: When adjusting nested folds for deleted lines take into account
8967 that they don't start at the top of the enclosing fold.
8968Files: src/fold.c
8969
8970Patch 7.2.262
8971Problem: When using custom completion for a user command the pattern string
8972 goes beyond the cursor position. (Hari Krishna Dara)
8973Solution: Truncate the string at the cursor position.
8974Files: src/ex_getln.c, src/structs.h
8975
8976Patch 7.2.263
8977Problem: GTK2: when using the -geom argument with an offset from the right
8978 edge and the size is smaller than the default, the Vim window is
8979 not positioned properly.
8980Solution: Use another function to set the size. (Vitaly Minko)
8981Files: src/gui_gtk_x11.c
8982
8983Patch 7.2.264
8984Problem: GTK2: When the Vim window is maximized setting 'columns' or
8985 'lines' doesn't work.
8986Solution: Unmaximize the window before setting the size. (Vitaly Minko)
8987Files: src/gui.c, src/gui_gtk_x11.c, src/proto/gui_gtk_x11.pro
8988
8989Patch 7.2.265
8990Problem: When using ":silent broken" inside try/catch silency may persist.
8991 (dr-dr xp)
8992Solution: Set msg_silent when there is an error and it's bigger than the
8993 saved value.
8994Files: src/ex_docmd.c
8995
8996Patch 7.2.266
8997Problem: When an expression abbreviation is triggered, the typed character
8998 is unknown.
8999Solution: Make the typed character available in v:char.
9000Files: runtime/doc/map.txt, src/eval.c, src/getchar.c, src/ops.c,
9001 src/proto/eval.pro
9002
9003Patch 7.2.267
9004Problem: Crash for narrow window and double-width character.
9005Solution: Check for zero width. (Taro Muraoka)
9006Files: src/charset.c
9007
9008Patch 7.2.268
9009Problem: Crash when using Python to set cursor beyond end of line.
9010 (winterTTr)
9011Solution: Check the column to be valid.
9012Files: src/if_python.c
9013
9014Patch 7.2.269
9015Problem: Many people struggle to find out why Vim startup is slow.
9016Solution: Add the --startuptime command line flag.
9017Files: runtime/doc/starting.txt, src/globals.h, src/feature.h,
9018 src/main.c, src/macros.h
9019
9020Patch 7.2.270
9021Problem: Using ":@c" when the c register contains a CR causes the rest to
9022 be executed later. (Dexter Douglas)
9023Solution: Don't check for typeahead to start with ':', keep executing
9024 commands until all added typeahead has been used.
9025Files: src/ex_docmd.c
9026
9027Patch 7.2.271
9028Problem: Using freed memory in Motif GUI version when making a choice.
9029Solution: Free memory only after using it. (Dominique Pelle)
9030Files: src/gui_xmdlg.c
9031
9032Patch 7.2.272
9033Problem: "_.svz" is not recognized as a swap file. (David M. Besonen)
9034Solution: Accept .s[uvw][a-z] as a swap file name extension.
9035Files: src/memline.c
9036
9037Patch 7.2.273
9038Problem: Crash with redir to unknown array. (Christian Brabandt)
9039Solution: Don't assign the redir result when there was an error.
9040Files: src/eval.c
9041
9042Patch 7.2.274
9043Problem: Syntax folding doesn't work properly when adding a comment.
9044Solution: Fix it and add a test. (Lech Lorens)
9045Files: src/fold.c, src/testdir/test45.in, src/testdir/test45.ok
9046
9047Patch 7.2.275
9048Problem: Warning for unused argument and comparing signed and unsigned.
9049Solution: Add type cast.
9050Files: src/memline.c
9051
9052Patch 7.2.276
9053Problem: Crash when setting 'isprint' to a small bullet. (Raul Coronado)
9054Solution: Check for the character to be < 256. Also make it possible to
9055 specify a range of multi-byte characters. (Lech Lorens)
9056Files: src/charset.c
9057
9058Patch 7.2.277
9059Problem: CTRL-Y in a diff'ed window may move the cursor outside of the
9060 window. (Lech Lorens)
9061Solution: Limit the number of filler lines to the height of the window.
9062 Don't reset filler lines to zero for an empty buffer.
9063Files: src/move.c
9064
9065Patch 7.2.278
9066Problem: Using magic number in the folding code.
9067Solution: Use the defined MAX_LEVEL.
9068Files: src/fold.c
9069
9070Patch 7.2.279
9071Problem: Invalid memory read with visual mode "r". (Dominique Pelle)
9072Solution: Make sure the cursor position is valid. Don't check the cursor
9073 position but the position being used. And make sure we get the
9074 right line.
9075Files: src/misc2.c, src/ops.c
9076
9077Patch 7.2.280
9078Problem: A redraw in a custom statusline with %! may cause a crash.
9079 (Yukihiro Nakadaira)
9080Solution: Make a copy of 'statusline'. Also fix typo in function name
Bram Moolenaarc8734422012-06-01 22:38:45 +02009081 redraw_custom_statusline. (partly by Dominique Pelle)
Bram Moolenaar6df6f472010-07-18 18:04:50 +02009082Files: src/screen.c
9083
9084Patch 7.2.281
9085Problem: 'cursorcolumn' highlighting is wrong in diff mode.
9086Solution: Adjust the column computation. (Lech Lorens)
9087Files: src/screen.c
9088
9089Patch 7.2.282
9090Problem: A fold can't be closed.
9091Solution: Initialize fd_small to MAYBE. (Lech Lorens)
9092Files: src/fold.c
9093
9094Patch 7.2.283
9095Problem: Changing font while the window is maximized doesn't keep the
9096 window maximized.
9097Solution: Recompute number of lines and columns after changing font. (James
9098 Vega)
9099Files: src/gui_gtk_x11.c
9100
9101Patch 7.2.284
9102Problem: When editing the same buffer in two windows, one with folding,
9103 display may be wrong after changes.
9104Solution: Call set_topline() to take care of side effects. (Lech Lorens)
9105Files: src/misc1.c
9106
9107Patch 7.2.285 (after 7.2.169)
9108Problem: CTRL-U in Insert mode also deletes indent. (Andrey Voropaev)
9109Solution: Fix mistake made in patch 7.2.169.
9110Files: src/edit.c
9111
9112Patch 7.2.286 (after 7.2.269)
9113Problem: The "--startuptime=<file>" argument is not consistent with other
9114 arguments.
9115Solution: Use "--startuptime <file>". Added the +startuptime feature.
9116Files: runtime/doc/eval.txt, runtime/doc/starting.txt,
9117 runtime/doc/various.txt, src/eval.c, src/main.c, src/version.c
9118
9119Patch 7.2.287
9120Problem: Warning from gcc 3.4 about uninitialized variable.
9121Solution: Move assignment outside of #ifdef.
9122Files: src/if_perl.xs
9123
9124Patch 7.2.288
9125Problem: Python 2.6 pyconfig.h redefines macros.
9126Solution: Undefine the macros before including pyconfig.h.
9127Files: src/if_python.c
9128
9129Patch 7.2.289
9130Problem: Checking wrong struct member.
9131Solution: Change tb_buf to tb_noremap. (Dominique Pelle)
9132Files: src/getchar.c
9133
9134Patch 7.2.290
9135Problem: Not freeing memory from ":lmap", ":xmap" and ":menutranslate".
9136Solution: Free the memory when exiting. (Dominique Pelle)
9137Files: src/misc2.c
9138
9139Patch 7.2.291
9140Problem: Reading uninitialised memory in arabic mode.
9141Solution: Use utfc_ptr2char_len() rather than utfc_ptr2char(). (Dominique
9142 Pelle)
9143Files: src/screen.c
9144
9145Patch 7.2.292
9146Problem: Block right-shift doesn't work properly with multi-byte encoding
9147 and 'list' set.
9148Solution: Add the missing "else". (Lech Lorens)
9149Files: src/ops.c
9150
9151Patch 7.2.293
9152Problem: When setting 'comments' option it may be used in a wrong way.
9153Solution: Don't increment after skipping over digets. (Yukihiro Nakadaira)
9154Files: src/misc1.c
9155
9156Patch 7.2.294
9157Problem: When using TEMPDIRS dir name could get too long.
9158Solution: Overwrite tail instead of appending each time. Use mkdtemp() when
9159 available. (James Vega)
9160Files: src/auto/configure, src/config.h.in, src/configure.in, src/fileio.c
9161
9162Patch 7.2.295
9163Problem: When using map() on a List the index is not known.
9164Solution: Set v:key to the index. (Hari Krishna Dara)
9165Files: runtime/doc/eval.txt, src/eval.c
9166
9167Patch 7.2.296
9168Problem: Help message about startuptime is wrong. (Dominique Pelle)
9169Solution: Remove the equal sign.
9170Files: src/main.c
9171
9172Patch 7.2.297
9173Problem: Reading freed memory when writing ":reg" output to a register.
9174 (Dominique Pelle)
9175Solution: Skip the register being written to.
9176Files: src/ops.c
9177
9178Patch 7.2.298
9179Problem: ":vimgrep" crashes when there is an autocommand that sets a
9180 window-local variable.
9181Solution: Initialize the w: hashtab for re-use. (Yukihiro Nakadaira)
9182Files: src/fileio.c
9183
9184Patch 7.2.299
9185Problem: Crash when comment middle is longer than start.
9186Solution: Fix size computation. (Lech Lorens)
9187Files: src/misc1.c
9188
9189Patch 7.2.300
9190Problem: Vim doesn't close file descriptors when forking and executing
9191 another command, e.g., ":shell".
9192Solution: Use FD_CLOEXEC when available. (James Vega)
9193Files: auto/configure, src/config.h.in, src/configure.in,
9194 src/ex_cmdds2.c, src/fileio.c, src/memfile.c, src/memline.c
9195
9196Patch 7.2.301
9197Problem: Formatting is wrong when 'tw' is set to a small value.
9198Solution: Fix it and add tests. Also fix behavior of "1" in 'fo'. (Yukihiro
9199 Nakadaira)
9200Files: src/edit.c, src/testdir/Makefile, src/testdir/test68.in,
9201 src/testdir/test68.ok, src/testdir/test69.in,
9202 src/testdir/test69,ok
9203
9204Patch 7.2.302 (extra part of 7.2.301)
9205Problem: Formatting wrong with small 'tw' value.
9206Solution: Add build rules for tests.
9207Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
9208 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
9209 src/testdir/Make_vms.mms
9210
9211Patch 7.2.303 (after 7.2.294)
9212Problem: Can't build on MS-Windows.
9213Solution: Add #ifdef around vim_settempdir(). (James Vega)
9214Files: src/fileio.c
9215
9216Patch 7.2.304
9217Problem: Compiler warning for bad pointer cast.
9218Solution: Use another variable for int pointer.
9219Files: src/ops.c
9220
9221Patch 7.2.305
9222Problem: Recursively redrawing causes a memory leak. (Dominique Pelle)
9223Solution: Disallow recursive screen updating.
9224Files: src/screen.c
9225
9226Patch 7.2.306
9227Problem: shellescape("10%%", 1) only escapes first %. (Christian Brabandt)
9228Solution: Don't copy the character after the escaped one.
9229Files: src/misc2.c
9230
9231Patch 7.2.307
9232Problem: Crash with a very long syntax match statement. (Guy Gur Ari)
9233Solution: When the offset does not fit in the two bytes available give an
9234 error instead of continuing with invalid pointers.
9235Files: src/regexp.c
9236
9237Patch 7.2.308
9238Problem: When using a regexp in the "\=" expression of a substitute
9239 command, submatch() returns empty strings for further lines.
9240 (Clockwork Jam)
9241Solution: Save and restore the line number and line count when calling
9242 reg_getline().
9243Files: src/regexp.c
9244
9245Patch 7.2.309 (after 7.2.308)
9246Problem: Warning for missing function prototype. (Patrick Texier)
9247Solution: Add the prototype.
9248Files: src/regexp.c
9249
9250Patch 7.2.310
9251Problem: When a filetype plugin in ~/.vim/ftdetect uses ":setfiletype" and
9252 the file starts with a "# comment" it gets "conf" filetype.
9253Solution: Check for "conf" filetype after using ftdetect plugins.
9254Files: runtime/filetype.vim
9255
9256Patch 7.2.311
9257Problem: Can't compile with FreeMiNT.
9258Solution: Change #ifdef for limits.h. (Alan Hourihane)
9259Files: src/fileio.c
9260
9261Patch 7.2.312
9262Problem: iconv() returns an invalid character sequence when conversion
9263 fails. It should return an empty string. (Yongwei Wu)
9264Solution: Be more strict about invalid characters in the input.
9265Files: src/mbyte.c
9266
9267Patch 7.2.313
9268Problem: Command line completion doesn't work after "%:h" and similar.
9269Solution: Expand these items before doing the completion.
9270Files: src/ex_getln.c, src/misc1.c, src/proto/misc1.pro
9271
9272Patch 7.2.314
9273Problem: Missing function in small build.
9274Solution: Always include concat_str.
9275Files: src/misc1.c
9276
9277Patch 7.2.315
9278Problem: Python libs can't be found on 64 bit system.
9279Solution: Add lib64 to the list of directories. (Michael Henry)
9280Files: src/auto/configure, src/configure.in
9281
9282Patch 7.2.316
9283Problem: May get multiple _FORTIFY_SOURCE arguments. (Tony Mechelynck)
9284Solution: First remove all these arguments and then add the one we want.
9285 (Dominique Pelle)
9286Files: src/auto/configure, src/configure.in
9287
9288Patch 7.2.317
9289Problem: Memory leak when adding a highlight group with unprintable
9290 characters, resulting in E669.
9291Solution: Free the memory. And fix a few typos. (Dominique Pelle)
9292Files: src/syntax.c
9293
9294Patch 7.2.318
9295Problem: Wrong locale value breaks floating point numbers for gvim.
9296Solution: Set the locale again after doing GUI inits. (Dominique Pelle)
9297Files: src/main.c
9298
9299Patch 7.2.319
9300Problem: Motif: accessing freed memory when cancelling font dialog.
9301Solution: Destroy the widget only after accessing it. (Dominique Pelle)
9302Files: src/gui_xmdlg.c
9303
9304Patch 7.2.320
9305Problem: Unused function in Mzscheme interface.
9306Solution: Remove the function and what depends on it. (Dominique Pelle)
9307Files: src/if_mzsch.c, src/proto/if_mzsch.pro
9308
9309Patch 7.2.321
9310Problem: histadd() and searching with "*" fails to add entry to history
9311 when it is empty.
9312Solution: Initialize the history. (Lech Lorens)
9313Files: src/eval.c, src/normal.c
9314
9315Patch 7.2.322
9316Problem: Wrong indenting in virtual replace mode with CTRL-Y below a short
9317 line.
9318Solution: Check for character to be NUL. (suggested by Lech Lorens)
9319Files: src/edit.c
9320
9321Patch 7.2.323 (extra)
9322Problem: Balloon evaluation crashes on Win64.
9323Solution: Change pointer types. (Sergey Khorev)
9324Files: src/gui_w32.c
9325
9326Patch 7.2.324
9327Problem: A negative column argument in setpos() may cause a crash.
9328Solution: Check for invalid column number. (James Vega)
9329Files: src/eval.c, src/misc2.c
9330
9331Patch 7.2.325
9332Problem: A stray "w" in the startup vimrc file causes the edited file to be
9333 replaced with an empty file. (Stone Kang).
9334Solution: Do not write a buffer when it has never been loaded.
9335Files: src/fileio.c
9336
9337Patch 7.2.326
9338Problem: Win32: $HOME doesn't work when %HOMEPATH% is not defined.
9339Solution: Use "\" for %HOMEPATH% when it is not defined.
9340Files: src/misc1.c
9341
9342Patch 7.2.327
9343Problem: Unused functions in Workshop.
9344Solution: Add "#if 0" and minor cleanup. (Dominique Pelle)
Bram Moolenaarfcb7ab62010-07-20 11:16:17 +02009345Files: src/workshop.c, src/integration.c, src/integration.h
Bram Moolenaar6df6f472010-07-18 18:04:50 +02009346
9347Patch 7.2.328
9348Problem: has("win64") does not return 1 on 64 bit MS-Windows version.
9349Solution: Also check for _WIN64 besides WIN64.
9350Files: src/eval.c
9351
9352Patch 7.2.329
9353Problem: "g_" doesn't position cursor correctly when in Visual mode and
9354 'selection' is "exclusive". (Ben Fritz)
9355Solution: Call adjust_for_sel().
9356Files: src/normal.c
9357
9358Patch 7.2.330
9359Problem: Tables for Unicode case operators are outdated.
9360Solution: Add a Vim script for generating the tables. Include tables for
9361 Unicode 5.2.
9362Files: runtime/tools/README.txt, runtime/tools/unicode.vim, src/mbyte.c
9363
9364Patch 7.2.331
9365Problem: Can't interrupt "echo list" for a very long list.
9366Solution: Call line_breakcheck() in list_join().
9367Files: src/eval.c
9368
9369Patch 7.2.332
9370Problem: Crash when spell correcting triggers an autocommand that reloads
9371 the buffer.
9372Solution: Make a copy of the line to be modified. (Dominique Pelle)
9373Files: src/spell.c
9374
9375Patch 7.2.333
9376Problem: Warnings from static code analysis.
9377Solution: Small changes to various lines. (Dominique Pelle)
9378Files: src/buffer.c, src/edit.c, src/ex_getln.c, src/fileio.c,
9379 src/if_cscope.c, src/netbeans.c, src/ops.c, src/quickfix.c,
9380 src/syntax.c, src/ui.c
9381
9382Patch 7.2.334
9383Problem: Postponing keys in Netbeans interface does not work properly.
9384Solution: Store the key string instead of the number. Avoid an infinite
9385 loop. (Mostly by Xavier de Gaye)
9386Files: src/netbeans.c, src/proto/netbeans.pro
9387
9388Patch 7.2.335
9389Problem: The CTRL-] command escapes too many characters.
9390Solution: Use a different list of characters to be escaped. (Sergey Khorev)
9391Files: src/normal.c
9392
9393Patch 7.2.336
9394Problem: MzScheme interface can't evaluate an expression.
9395Solution: Add mzeval(). (Sergey Khorev)
9396Files: runtime/doc/eval.txt, runtime/doc/if_mzsch.txt,
9397 runtime/doc/usr_41.txt, src/eval.c, src/if_mzsch.c,
9398 src/proto/eval.pro, src/proto/if_mzsch.pro,
9399 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
9400 src/testdir/Makefile, src/testdir/main.aap, src/testdir/test1.in,
9401 src/testdir/test70.in, src/testdir/test70.ok
9402
9403Patch 7.2.337
9404Problem: The :compiler command doesn't function properly when invoked in a
9405 function.
9406Solution: Add "g:" before "current_compiler". (Yukihiro Nakadaira)
9407Files: src/ex_cmds2.c
9408
9409Patch 7.2.338 (after 7.2.300)
9410Problem: Part of FD_CLOEXEC change is missing.
9411Solution: Include source file skipped because of typo.
9412Files: src/ex_cmds2.c
9413
9414Patch 7.2.339 (after 7.2.269)
9415Problem: Part of --startuptime patch is missing.
9416Solution: Add check for time_fd.
9417Files: src/ex_cmds2.c
9418
9419Patch 7.2.340
9420Problem: Gcc warning for condition that can never be true. (James Vega)
9421Solution: Use start_lvl instead flp->lvl.
9422Files: src/fold.c
9423
9424Patch 7.2.341
9425Problem: Popup menu wraps to next line when double-wide character doesn't
9426 fit. (Jiang Ma)
9427Solution: Display a ">" instead. (Dominique Pelle)
9428Files: src/screen.c
9429
9430Patch 7.2.342
9431Problem: Popup menu displayed wrong in 'rightleft' mode when there are
9432 multi-byte characters.
9433Solution: Adjust the column computations. (Dominique Pelle)
9434Files: src/popupmnu.c
9435
9436Patch 7.2.343 (after 7.2.338)
9437Problem: Can't compile on Win32.
9438Solution: Insert the missing '|'.
9439Files: src/ex_cmds2.c
9440
9441Patch 7.2.344 (after 7.2.343)
9442Problem: Can't compile on some systems
9443Solution: Move the #ifdef outside of the mch_open macro. (Patrick Texier)
9444Files: src/ex_cmds2.c
9445
9446Patch 7.2.345
9447Problem: Tab line is not updated when the value of 'bt' is changed.
9448Solution: Call redraw_titles(). (Lech Lorens)
9449Files: src/option.c
9450
9451Patch 7.2.346
9452Problem: Repeating a command with @: causes a mapping to be applied twice.
9453Solution: Do not remap characters inserted in the typeahead buffer. (Kana
9454 Natsuno)
9455Files: src/ops.c
9456
9457Patch 7.2.347
9458Problem: Crash when executing <expr> mapping redefines that same mapping.
9459Solution: Save the values used before evaluating the expression.
9460Files: src/getchar.c
9461
9462Patch 7.2.348 (after 7.2.330)
9463Problem: Unicode double-width characters are not up-to date.
9464Solution: Produce the double-width table like the others.
9465Files: runtime/tools/unicode.vim, src/mbyte.c
9466
9467Patch 7.2.349
9468Problem: CTRL-W gf doesn't put the new tab in the same place as "tab split"
9469 and "gf". (Tony Mechelynck)
9470Solution: Store the tab number in cmdmod.tab.
9471Files: src/window.c
9472
9473Patch 7.2.350
9474Problem: Win32: When changing font the window may jump from the secondary
9475 to the primary screen. (Michael Wookey)
9476Solution: When the screen position was negative don't correct it to zero.
9477Files: src/gui.c
9478
9479Patch 7.2.351 (after 7.2.347)
9480Problem: Can't build with some compilers.
9481Solution: Move the #ifdef outside of a macro. Cleanup the code.
9482Files: src/getchar.c
9483
9484Patch 7.2.352 (extra)
9485Problem: Win64: Vim doesn't work when cross-compiled with MingW libraries.
9486Solution: Always return TRUE for the WM_NCCREATE message. (Andy Kittner)
9487Files: src/gui_w48.c
9488
9489Patch 7.2.353
9490Problem: No command line completion for ":profile".
9491Solution: Complete the subcommand and file name.
9492Files: src/ex_docmd.c, src/ex_cmds2.c, src/ex_getln.c,
9493 src/proto/ex_cmds2.pro, src/vim.h
9494
9495Patch 7.2.354
9496Problem: Japanese single-width double-byte characters not handled correctly.
9497Solution: Put 0x8e in ScreenLines[] and the second byte in ScreenLines2[].
9498 (partly by Kikuchan)
9499Files: src/screen.c
9500
9501Patch 7.2.355
9502Problem: Computing the cursor column in validate_cursor_col() is wrong when
9503 line numbers are used and 'n' is not in 'cpoptions', causing the
9504 popup menu to be positioned wrong.
9505Solution: Correctly use the offset. (partly by Dominique Pelle)
9506Files: src/move.c
9507
9508Patch 7.2.356
9509Problem: When 'foldmethod' is changed not all folds are closed as expected.
9510Solution: In foldUpdate() correct the start position and reset fd_flags when
9511 w_foldinvalid is set. (Lech Lorens)
9512Files: src/fold.c
9513
9514Patch 7.2.357
9515Problem: When changing 'fileformat' from/to "mac" and there is a CR in the
9516 text the display is wrong.
9517Solution: Redraw the text when 'fileformat' is changed. (Ben Schmidt)
9518Files: src/option.c
9519
9520Patch 7.2.358
9521Problem: Compiler warnings on VMS. (Zoltan Arpadffy)
9522Solution: Pass array itself instead its address. Return a value.
9523Files: src/gui_gtk_x11.c, src/os_unix.c
9524
9525Patch 7.2.359
9526Problem: Crash when using the Netbeans join command.
9527Solution: Make sure the ml_flush_line() function is not used recursively.
9528 (Xavier de Gaye)
9529Files: src/memline.c
9530
9531Patch 7.2.360
9532Problem: Ruby on MS-Windows: can't use sockets.
9533Solution: Call NtInitialize() during initialization. (Ariya Mizutani)
9534Files: src/if_ruby.c
9535
9536Patch 7.2.361
9537Problem: Ruby 1.9 is not supported.
9538Solution: Add Ruby 1.9 support. (Masaki Suketa)
9539Files: src/Makefile, src/auto/configure, src/configure.in, src/if_ruby.c
9540
9541Patch 7.2.362 (extra, after 7.2.352)
9542Problem: Win64: Vim doesn't work when cross-compiled with MingW libraries.
9543Solution: Instead of handling WM_NCCREATE, create wide text area window
9544 class if the parent window iw side. (Sergey Khorev)
9545Files: src/gui_w32.c, src/gui_w48.c
9546
9547Patch 7.2.363
9548Problem: Can't dynamically load Perl 5.10.
9549Solution: Add the function Perl_croak_xs_usage. (Sergey Khorev)
9550Files: src/if_perl.xs
9551
9552Patch 7.2.364 (extra)
9553Problem: Can't build gvimext.dll on Win 7 x64 using MinGW (John Marriott)
9554Solution: Check if _MSC_VER is defined. (Andy Kittner)
9555Files: src/GvimExt/gvimext.h
9556
9557Patch 7.2.365 (extra)
9558Problem: MS-Windows with MingW: "File->Save As" does not work. (John
9559 Marriott)
9560Solution: Correctly fill in structure size. (Andy Kittner)
9561Files: src/gui_w48.c
9562
9563Patch 7.2.366
9564Problem: CTRL-B doesn't go back to the first line of the buffer.
9565Solution: Avoid an overflow when adding MAXCOL.
9566Files: src/move.c
9567
9568Patch 7.2.367
9569Problem: "xxd -r -p" doesn't work as documented.
9570Solution: Skip white space. (James Vega)
9571Files: src/xxd/xxd.c
9572
9573Patch 7.2.368 (after 7.2.361)
9574Problem: Ruby interface: Appending line doesn't work. (Michael Henry)
9575Solution: Reverse check for NULL line. (James Vega)
9576Files: src/if_ruby.c
9577
9578Patch 7.2.369
9579Problem: Error message is not easy to understand.
9580Solution: Add quotes. (SungHyun Nam)
9581Files: src/ex_cmds2.c
9582
9583Patch 7.2.370 (after 7.2.356)
9584Problem: A redraw may cause folds to be closed.
9585Solution: Revert part of the previous patch. Add a test. (Lech Lorens)
9586Files: src/diff.c, src/fold.c, src/option.c, src/testdir/test45.in,
9587 src/testdir/test45.ok
9588
9589Patch 7.2.371
9590Problem: Build problems on Tandem NonStop.
9591Solution: A few changes to #ifdefs (Joachim Schmitz)
9592Files: src/auto/configure, src/configure.in, src/config.h.in, src/vim.h,
9593 src/if_cscope.c, src/osdef1.h.in, src/tag.c
9594
9595Patch 7.2.372 (extra)
9596Problem: Cross-compiling GvimExt and xxd doesn't work.
9597Solution: Change the build files. (Markus Heidelberg)
9598Files: src/INSTALLpc.txt, src/GvimExt/Make_ming.mak, src/Make_cyg.mak,
9599 src/Make_ming.mak, src/xxd/Make_cyg.mak
9600
9601Patch 7.2.373
9602Problem: Gcc 4.5 adds more error messages. (Chris Indy)
9603Solution: Update default 'errorformat'.
9604Files: src/option.h
9605
9606Patch 7.2.374
9607Problem: Ruby eval() doesn't understand Vim types.
9608Solution: Add the vim_to_ruby() function. (George Gensure)
9609Files: src/eval.c, src/if_ruby.c
9610
9611Patch 7.2.375
9612Problem: ml_get errors when using ":bprevious" in a BufEnter autocmd.
9613 (Dominique Pelle)
9614Solution: Clear w_valid when entering another buffer.
9615Files: src/buffer.c
9616
9617Patch 7.2.376
9618Problem: ml_get error when using SiSU syntax. (Nathan Thomas)
9619Solution: If the match ends below the last line move it to the end of the
9620 last line.
9621Files: src/syntax.c
9622
9623Patch 7.2.377 (extra, after 7.2.372)
9624Problem: Misplaced assignment. Duplicate build line for gvimext.dll.
9625Solution: Move setting CROSS_COMPILE to before ifneq. Remove the wrong
9626 build line. (Markus Heidelberg)
9627Files: src/Make_ming.mak
9628
9629Patch 7.2.378
9630Problem: C function declaration indented too much. (Rui)
9631Solution: Don't see a line containing { or } as a type. (Matt Wozniski)
9632Files: src/misc1.c
9633
9634Patch 7.2.379
9635Problem: 'eventignore' is set to an invalid value inside ":doau". (Antony
9636 Scriven)
9637Solution: Don't include the leading comma when the option was empty.
9638Files: src/fileio.c
9639
9640Patch 7.2.380 (after 7.2.363)
9641Problem: Perl interface builds with 5.10.1 but not with 5.10.0.
9642Solution: Change the #ifdefs. (Sergey Khorev)
9643Files: src/if_perl.xs
9644
9645Patch 7.2.381
9646Problem: No completion for :behave.
9647Solution: Add :behave completion. Minor related fixes. (Dominique Pelle)
9648Files: src/ex_docmd.c, src/ex_getln.c, src/proto/ex_docmd.pro, src/vim.h
9649
9650Patch 7.2.382
9651Problem: Accessing freed memory when closing the cmdline window when
9652 'bufhide' is set to "wipe".
9653Solution: Check if the buffer still exists before invoking close_buffer()
9654 (Dominique Pelle)
9655Files: src/ex_getln.c
9656
9657Patch 7.2.383
9658Problem: Vim doesn't build cleanly with MSVC 2010.
9659Solution: Change a few types. (George Reilly)
9660Files: src/ex_cmds2.c, src/if_python.c, src/syntax.c
9661
9662Patch 7.2.384 (extra)
9663Problem: Vim doesn't build properly with MSVC 2010.
9664Solution: Add the nmake version to the build file. (George Reilly)
9665Files: src/Make_mvc.mak, src/testdir/Make_dos.mak
9666
9667Patch 7.2.385
9668Problem: When in the command line window dragging status line only works
9669 for last-but-one window. (Jean Johner)
9670Solution: Remove the code that disallows this.
9671Files: src/ui.c
9672
9673Patch 7.2.386
9674Problem: Focus hack for KDE 3.1 causes problems for other window managers.
9675Solution: Remove the hack. (forwarded by Joel Bradshaw)
9676Files: src/gui_gtk.c
9677
9678Patch 7.2.387
9679Problem: Ruby with MingW still doesn't build all versions.
9680Solution: More #ifdefs for the Ruby code. (Sergey Khorev)
9681Files: src/if_ruby.c
9682
9683Patch 7.2.388 (extra part of 7.2.387)
9684Problem: Ruby with MingW still doesn't build all versions.
9685Solution: Different approach to build file. (Sergey Khorev)
9686Files: src/Make_ming.mak
9687
9688Patch 7.2.389
9689Problem: synIDattr() cannot return the font.
9690Solution: Support the "font" argument. (Christian Brabandt)
9691Files: runtime/doc/eval.txt, src/eval.c, src/syntax.c
9692
9693Patch 7.2.390
9694Problem: In some situations the popup menu can be displayed wrong.
9695Solution: Remove the popup menu if the cursor moved. (Lech Lorens)
9696Files: src/edit.c
9697
9698Patch 7.2.391
9699Problem: Internal alloc(0) error when doing "CTRL-V $ c". (Martti Kuparinen)
9700Solution: Fix computations in getvcol(). (partly by Lech Lorens)
9701Files: src/charset.c, src/memline.c
9702
9703Patch 7.2.392
9704Problem: Netbeans hangs reading from a socket at the maximum block size.
9705Solution: Use select() or poll(). (Xavier de Gaye)
9706Files: src/vim.h, src/os_unixx.h, src/if_xcmdsrv.c, src/netbeans.c
9707
9708Patch 7.2.393
9709Problem: Mac: Can't build with different Xcode developer tools directory.
9710Solution: make "Developer" directory name configurable. (Rainer Muller)
9711Files: src/configure.in, src/auto/configure
9712
9713Patch 7.2.394
9714Problem: .lzma and .xz files are not supported.
9715Solution: Recognize .lzma and .xz files so that they can be edited.
9716Files: runtime/plugin/gzip.vim
9717
9718Patch 7.2.395
9719Problem: In help CTRL=] on g?g? escapes the ?, causing it to fail. (Tony
9720 Mechelynck)
9721Solution: Don't escape ? for a help command. (Sergey Khorev)
9722Files: src/normal.c
9723
9724Patch 7.2.396
9725Problem: Get E38 errors. (Dasn)
9726Solution: Set cursor to line 1 instead of 0. (Dominique Pelle)
9727Files: src/popupmnu.c
9728
9729Patch 7.2.397
9730Problem: Redundant check for w_lines_valid.
9731Solution: Remove the if. (Lech Lorens)
9732Files: src/fold.c
9733
9734Patch 7.2.398
9735Problem: When moving windows the cursor ends up in the wrong line.
9736Solution: Set the window width and height properly. (Lech Lorens)
9737Files: src/window.c
9738
9739Patch 7.2.399 (extra, after 7.2.388)
9740Problem: Cannot compile on MingW.
9741Solution: Move ifneq to separate line. (Vlad Sandrini, Dominique Pelle)
9742Files: src/Make_ming.mak
9743
9744Patch 7.2.400 (after 7.2.387)
9745Problem: Dynamic Ruby is not initialised properly for version 1.9.1.
9746 Ruby cannot create strings from NULL.
9747Solution: Cleanup #ifdefs. Handle NULL like an empty string. Add
9748 ruby_init_stack. (Sergey Khorev)
9749Files: src/if_ruby.c
9750
9751Patch 7.2.401
9752Problem: ":e dir<Tab>" with 'wildmode' set to "list" doesn't highlight
9753 directory names with a space. (Alexandre Provencio)
9754Solution: Remove the backslash before checking if the name is a directory.
9755 (Dominique Pelle)
9756Files: src/ex_getln.c
9757
9758Patch 7.2.402
9759Problem: This gives a #705 error: let X = function('haslocaldir')
9760 let X = function('getcwd')
9761Solution: Don't give E705 when the name is found in the hashtab. (Sergey
9762 Khorev)
9763Files: src/eval.c
9764
9765Patch 7.2.403 (after 7.2.400)
9766Problem: Compiler warning for pointer type. (Tony Mechelynck)
9767Solution: Move type cast to the right place.
9768Files: src/if_ruby.c
9769
9770Patch 7.2.404
9771Problem: Pointers for composing characters are not properly initialized.
9772Solution: Compute the size of the pointer, not what it points to. (Yukihiro
9773 Nakadaira)
9774Files: src/screen.c
9775
9776Patch 7.2.405
9777Problem: When built with small features the matching text is not
9778 highlighted for ":s/pat/repl/c".
9779Solution: Remove the #ifdef for IncSearch. (James Vega)
9780Files: src/syntax.c
9781
9782Patch 7.2.406
9783Problem: Patch 7.2.119 introduces uninit mem read. (Dominique Pelle)
9784Solution: Only used ScreeenLinesC when ScreeenLinesUC is not zero. (Yukihiro
9785 Nakadaira) Also clear ScreeenLinesC when allocating.
9786Files: src/screen.c
9787
9788Patch 7.2.407
9789Problem: When using an expression in ":s" backslashes in the result are
9790 dropped. (Sergey Goldgaber, Christian Brabandt)
9791Solution: Double backslashes.
9792Files: src/regexp.c
9793
9794Patch 7.2.408
9795Problem: With ":g/the/s/foo/bar/" the '[ and '] marks can be set to a line
9796 that was not changed.
9797Solution: Only set '[ and '] marks when a substitution was done.
9798Files: src/ex_cmds.c
9799
9800Patch 7.2.409
9801Problem: Summary of number of substitutes is incorrect for ":folddo". (Jean
9802 Johner)
9803Solution: Reset sub_nsubs and sub_nlines in global_exe().
9804Files: src/ex_cmds.c
9805
9806Patch 7.2.410
9807Problem: Highlighting directories for completion doesn't work properly.
Bram Moolenaarfcb7ab62010-07-20 11:16:17 +02009808Solution: Don't halve backslashes when not needed, expanded "~/".
Bram Moolenaar6df6f472010-07-18 18:04:50 +02009809 (Dominique Pelle)
9810Files: src/ex_getln.c
9811
9812Patch 7.2.411
9813Problem: When parsing 'cino' a comma isn't skipped properly.
9814Solution: Skip the comma. (Lech Lorens)
9815Files: src/misc1.c
9816
9817Patch 7.2.412
9818Problem: [ or ] followed by mouse click doesn't work.
9819Solution: Reverse check for key being a mouse event. (Dominique Pelle)
9820Files: src/normal.c
9821
9822Patch 7.2.413
9823Problem: Large file support is incorrect.
9824Solution: Add AC_SYS_LARGEFILE to configure. (James Vega)
9825Files: src/configure.in, src/config.h.in, src/auto/configure
9826
9827Patch 7.2.414
9828Problem: CTRK-K <space> <space> does not produce 0xa0 as expected. (Tony
9829 Mechelynck)
9830Solution: Remove the Unicode range 0xe000 - 0xefff from digraphs, these are
9831 not valid characters.
9832Files: src/digraph.c
9833
9834Patch 7.2.415
9835Problem: Win32: Can't open a remote file when starting Vim.
9836Solution: Don't invoke cygwin_conv_path() for URLs. (Tomoya Adachi)
9837Files: src/main.c
9838
9839Patch 7.2.416
9840Problem: Logtalk.dict is not installed.
9841Solution: Add it to the install target. (Markus Heidelberg)
9842Files: src/Makefile
9843
9844Patch 7.2.417
9845Problem: When 'shell' has an argument with a slash then 'shellpipe' is not
9846 set properly. (Britton Kerin)
9847Solution: Assume there are no spaces in the path, arguments follow.
9848Files: src/option.c
9849
9850Patch 7.2.418
9851Problem: Vim tries to set the background or foreground color in a terminal
9852 to -1. (Graywh) Happens with ":hi Normal ctermbg=NONE".
9853Solution: When resetting the foreground or background color don't set the
9854 color, let the clear screen code do that.
9855Files: src/syntax.c
9856
9857Patch 7.2.419
9858Problem: Memory leak in Motif when clicking on "Search Vim Help".
9859Solution: Free string returned by XmTextGetString(). (Dominique Pelle)
9860Files: src/gui_motif.c
9861
9862Patch 7.2.420
9863Problem: ":argedit" does not accept "++enc=utf8" as documented. (Dominique
9864 Pelle)
9865Solution: Add the ARGOPT flag to ":argedit".
9866Files: src/ex_cmds.h
9867
9868Patch 7.2.421
9869Problem: Folds are sometimes not updated properly and there is no way to
9870 force an update.
9871Solution: Make "zx" and "zX" recompute folds (suggested by Christian
9872 Brabandt)
9873Files: src/normal.c
9874
9875Patch 7.2.422
9876Problem: May get E763 when using spell dictionaries.
9877Solution: Avoid utf-8 case folded character to be truncated to 8 bits and
9878 differ from latin1. (Dominique Pelle)
9879Files: src/spell.c
9880
9881Patch 7.2.423
9882Problem: Crash when assigning s: to variable. (Yukihiro Nakadaira)
9883Solution: Make ga_scripts contain pointer to scriptvar_T instead of
9884 scriptvar_T itself. (Dominique Pelle)
9885Files: src/eval.c
9886
9887Patch 7.2.424
9888Problem: ":colorscheme" without an argument doesn't do anything.
9889Solution: Make it echo the current color scheme name. (partly by Christian
9890 Brabandt)
9891Files: runtime/doc/syntax.txt, src/ex_cmds.h, src/ex_docmd.c
9892
9893Patch 7.2.425
9894Problem: Some compilers complain about fourth EX() argument.
9895Solution: Add cast to long_u.
9896Files: src/ex_cmds.h
9897
9898Patch 7.2.426
9899Problem: Commas in 'langmap' are not always handled correctly.
9900Solution: Require commas to be backslash escaped. (James Vega)
9901Files: src/option.c
9902
9903Patch 7.2.427
9904Problem: The swapfile is created using the destination of a symlink, but
9905 recovery doesn't follow symlinks.
9906Solution: When recovering, resolve symlinks. (James Vega)
9907Files: src/memline.c
9908
9909Patch 7.2.428
9910Problem: Using setqflist([]) to clear the error list doesn't work properly.
9911Solution: Set qf_nonevalid to TRUE when appropriate. (Christian Brabandt)
9912Files: src/quickfix.c
9913
9914Patch 7.2.429
9915Problem: A file that exists but access is denied may result in a "new file"
9916 message. E.g. when its directory is unreadable.
9917Solution: Specifically check for ENOENT to decide a file doesn't exist.
9918 (partly by James Vega)
9919Files: src/fileio.c
9920
9921Patch 7.2.430
9922Problem: The ++bad argument is handled wrong, resulting in an invalid
9923 memory access.
9924Solution: Use the bad_char field only for the replacement character, add
9925 bad_char_idx to store the position. (Dominique Pelle)
9926Files: src/eval.c, src/ex_cmds.h, src/ex_docmd.c
9927
9928Patch 7.2.431
9929Problem: ":amenu" moves the cursor when in Insert mode.
9930Solution: Use CTRL-\ CTRL-O instead of CTRL-O. (Christian Brabandt)
9931Files: src/menu.c
9932
9933Patch 7.2.432
9934Problem: When menus are translated they can only be found by the translated
9935 name. That makes ":emenu" difficult to use.
9936Solution: Store the untranslated name and use it for completion and :emenu.
9937 (Liang Peng (Bezetek James), Edward L. Fox)
9938Files: src/menu.c, src/structs.h
9939
9940Patch 7.2.433
9941Problem: Can't use cscope with QuickFixCmdPre and QuickFixCmdPost.
9942Solution: Add cscope support for these autocmd events. (Bryan Venteicher)
9943Files: runtime/doc/autocmd.txt, src/if_cscope.c
9944
9945Patch 7.2.434 (after 7.2.432)
9946Problem: Compilation fails without the multi-lang feature.
Bram Moolenaar8d9b40e2010-07-25 15:49:07 +02009947Solution: Add #ifdefs. (John Marriott)
Bram Moolenaar6df6f472010-07-18 18:04:50 +02009948Files: src/menu.c
9949
9950Patch 7.2.435 (after 7.2.430)
9951Problem: Crash when using bad_char_idx uninitialized. (Patrick Texier)
9952Solution: Don't use bad_char_idx, reproduce the ++bad argument from bad_char.
9953Files: src/eval.c, src/ex_cmds.h, src/ex_docmd.c
9954
9955Patch 7.2.436
9956Problem: Reproducible crash in syntax HL. (George Reilly, Dominique Pelle)
9957Solution: Make sst_stacksize an int instead of short. (Dominique Pelle)
9958Files: src/structs.h
9959
9960Patch 7.2.437 (after 7.2.407)
9961Problem: When "\\\n" appears in the expression result the \n doesn't result
9962 in a line break. (Andy Wokula)
9963Solution: Also replace a \n after a backslash into \r.
9964Files: src/regexp.c
9965
9966Patch 7.2.438 (after 7.2.427)
9967Problem: "vim -r" crashes.
9968Solution: Don't use NULL pointer argument.
9969Files: src/memline.c
9970
9971Patch 7.2.439
9972Problem: Invalid memory access when doing thesaurus completion and
9973 'infercase' is set.
9974Solution: Use the minimal length of completed word and replacement.
9975 (Dominique Pelle)
9976Files: src/edit.c
9977
9978Patch 7.2.440
9979Problem: Calling a function through a funcref, where the function deletes
9980 the funcref, leads to an invalid memory access.
9981Solution: Make a copy of the function name. (Lech Lorens)
9982Files: src/eval.c, src/testdir/test34.in, src/testdir/test34.ok
9983
9984Patch 7.2.441
9985Problem: When using ":earlier" undo information may be wrong.
9986Solution: When changing alternate branches also adjust b_u_oldhead.
9987Files: src/undo.c
9988
9989Patch 7.2.442 (after 7.2.201)
9990Problem: Copy/paste with OpenOffice doesn't work.
9991Solution: Do not offer the HTML target when it is not supported. (James
9992 Vega)
9993Files: src/gui_gtk_x11.c, src/option.c, src/proto/gui_gtk_x11.pro
9994
9995Patch 7.2.443
9996Problem: Using taglist() on a tag file with duplicate fields generates an
9997 internal error. (Peter Odding)
9998Solution: Check for duplicate field names.
9999Files: src/eval.c, src/proto/eval.pro, src/tag.c
10000
10001Patch 7.2.444 (after 7.2.442)
10002Problem: Can't build with GTK 1, gtk_selection_clear_targets() is not
10003 available. (Patrick Texier)
10004Solution: Don't change the targets for GTK 1, set them once.
10005Files: src/gui_gtk_x11.c, src/option.c
10006
10007Patch 7.2.445
10008Problem: Crash when using undo/redo and a FileChangedRO autocmd event that
10009 reloads the buffer. (Dominique Pelle)
10010Solution: Do not allow autocommands while performing and undo or redo.
10011Files: src/misc1.c, src/undo.c
10012
10013Patch 7.2.446
10014Problem: Crash in GUI when closing the last window in a tabpage. (ryo7000)
10015Solution: Remove the tabpage from the list before freeing the window.
10016Files: src/window.c
10017
Bram Moolenaar7a329912010-05-21 12:05:36 +020010018When writing a file, switching tab pages and selecting a word the file write
Bram Moolenaar6df6f472010-07-18 18:04:50 +020010019message would be displayed again. This happened in Insert mode and with
10020'cmdheight' set to 2.
Bram Moolenaar7a329912010-05-21 12:05:36 +020010021
10022When using ":lang" to set a locale that uses a comma for decimal separator and
10023using GTK floating point numbers stop working. Use gtk_disable_setlocale().
10024(James Vega)
Bram Moolenaar00a927d2010-05-14 23:24:24 +020010025
Bram Moolenaarb382ad12010-05-21 15:46:35 +020010026"g8" didn't produce the right value on a NUL. (Dominique Pelle)
10027
Bram Moolenaar06b5d512010-05-22 15:37:44 +020010028Use BASEMODLIBS instead of MODLIBS for Python configuration to pick up the
10029right compiler flags. (Michael Bienia)
10030
Bram Moolenaar6df6f472010-07-18 18:04:50 +020010031Window title was not updated after dropping a file on Vim. (Hari G)
Bram Moolenaarab8205e2010-07-07 15:14:03 +020010032
Bram Moolenaar0bc380a2010-07-10 13:52:13 +020010033synstack() did not return anything when just past the end of the line. Useful
10034when using the cursor position in Insert mode.
10035
Bram Moolenaar6df6f472010-07-18 18:04:50 +020010036When entering a digraph or special character after a line that fits the window
10037the '?' or '^' on the next line is not redrawn. (Ian Kelling)
10038
10039Composing characters in |:s| substitute text were dropped.
10040
10041|exists()| was causing an autoload script to be loaded.
10042
10043Filter out -pthread for cproto.
10044
10045Make CTRL-L in command line mode respect 'ignorecase' and 'smartcase'. (Martin
10046Toft)
10047
10048Spell menu moved the cursor, causing Copy not to work. Spell replacement
10049didn't work in 'compatible' mode.
10050
10051Various small fixes from Dominique Pelle.
10052
10053Fix that :mksession may generate "2argu" even though there is no such
10054argument. (Peter Odding)
10055
10056Fixes for time in clipboard request. Also fix ownership. (David Fries)
10057
10058Fixed completion of file names with '%' and '*'.
10059
10060Fixed MSVC makefile use of /Wp64 flag.
10061
10062Correct use of long instead of off_t for file size. (James Vega)
10063
Bram Moolenaarfcb7ab62010-07-20 11:16:17 +020010064Add a few #ifdefs to exclude functions that are not used. (Dominique Pelle)
Bram Moolenaar6df6f472010-07-18 18:04:50 +020010065
10066Remove old and unused method to allocate memory for undo.
10067
10068Fix definition of UINT_PTR for 64 bit systems.
10069
10070Some versions of Ruby redefine rb_str_new2 to rb_str_new_cstr.
10071
10072Window title not updated after file dropped.
10073
Bram Moolenaar49771f42010-07-20 17:32:38 +020010074Fixed crash for ":find" completion, might also happen in other path expansion
10075usage.
10076
Bram Moolenaar8d9b40e2010-07-25 15:49:07 +020010077When 'searchhl' causes a hang make CTRL-C disable 'searchhl'.
Bram Moolenaar49771f42010-07-20 17:32:38 +020010078
Bram Moolenaar6fc45b52010-07-25 17:42:45 +020010079When resetting both 'title' and 'icon' the title would be set after a shell
10080command.
10081
10082Reset 'title' and 'icon' in test47 to avoid the xterm title getting messed up.
10083
10084Fix for compiler warning about function prototype in pty.c.
10085
10086Added 'window' to the options window.
10087
10088Fixed: errors for allocating zero bytes when profiling an empty function.
10089
10090Remove -arch flag from build flags for Perl. (Bjorn Wickler)
10091
10092Fix 'autochdir' not showing up in :options window. (Dominique Pelle)
10093
Bram Moolenaar44886d92010-08-01 19:06:10 +020010094Fix: test 69 didn't work on MS-Windows. Test 72 beeped too often.
10095
10096Avoid illegal memory access in spell suggestion. (Dominique Pelle)
10097Fix: crash in spell checking with a 0x300 character.
10098
10099Avoid that running tests changes viminfo.
10100
10101Fix: changing case of a character removed combining characters.
10102Fixed: CTRL-R in Insert mode doesn't insert composing characters.
10103
10104Added the WOW64 flag to OLE registration, for 64 bit Windows systems.
10105
10106Various fixes for coverity warnings.
10107
10108Fix compile warnings, esp. for 64-bit systems. (Mike Williams)
10109
10110Fix: :redir to a dictionary that is changed before ":redir END" causes a
10111memory access error.
10112
10113Fix: terminal title not properly restored when there are multi-byte
10114characters. (partly by James Vega)
Bram Moolenaar6fc45b52010-07-25 17:42:45 +020010115
Bram Moolenaar1affd722010-08-04 17:49:30 +020010116Set 'wrapscan' when checking the .po files. (Mike Williams)
10117
10118Win32: Put quotes around the gvim.exe path for the "Open with" menu entry.
10119
Bram Moolenaar5eba45c2010-08-08 21:15:53 +020010120On MS-Windows sometimes files with number 4913 or higher are left behind.
10121
10122'suffixesadd' was used for finding tags file.
10123
10124Removed unused code.
10125
10126Improved positioning of combining characters in GTK.
10127
10128Made test 11 pass when there is no gzip program. (John Beckett)
10129
10130Changed readfile() to ignore byte order marks, unless in binary mode.
10131
10132On MS-Windows completion of shell commands didn't work.
10133
10134An unprintable multi-byte character at the start of the screen line caused the
10135following text to be drawn at the wrong position.
10136
10137Got ml_get errors when using undo with 'virtualedit'.
10138
10139Call gui_mch_update() before triggering GuiEnter autocmd. (Ron Aaron)
10140
10141Unix "make install" installed a few Amiga .info files.
10142
10143Disallow setting 'ambiwidth' to "double" when 'listchars' or 'fillchars'
10144contains a character that would become double width.
10145
10146Set 'wrapscan' when checking the .po files. (Mike Williams)
10147
Bram Moolenaarbfc8b972010-08-13 22:05:54 +020010148Fixed: using expression in command line may cause a crash.
10149
10150Avoid warnings from the clang compiler. (Dominique Pelle)
10151
10152Fix: Include wchar.h in charset.c for towupper().
10153
Bram Moolenaar755bd262010-08-14 17:46:20 +020010154Fixed: Using ":read file" in an empty buffer when 'compatible' is set caused
Bram Moolenaarabf39e82010-08-14 21:57:32 +020010155an error. Was caused by patch 7.2.132.
Bram Moolenaar755bd262010-08-14 17:46:20 +020010156
Bram Moolenaar7f036442010-08-15 15:24:20 +020010157Make the references to features in the help more consistent. (Sylvain Hitier)
10158
Bram Moolenaar913df812013-07-06 15:44:11 +020010159==============================================================================
10160VERSION 7.4 *version-7.4* *version7.4*
10161
10162This section is about improvements made between version 7.3 and 7.4.
10163
10164This release has hundreds of bug fixes and there are a few new features. The
10165most notable new features are:
10166
Bram Moolenaar9ba7e172013-07-17 22:37:26 +020010167- New regexp engine |new-regexp-engine|
10168- A more pythonic Python interface |better-python-interface|
10169
Bram Moolenaar913df812013-07-06 15:44:11 +020010170
10171New regexp engine *new-regexp-engine*
10172-----------------
10173
10174What is now called the "old" regexp engine uses a backtracking algorithm. It
10175tries to match the pattern with the text in one way, and when that fails it
10176goes back and tries another way. This works fine for simple patterns, but
10177complex patterns can be very slow on longer text.
10178
10179The new engine uses a state machine. It tries all possible alternatives at
10180the current character and stores the possible states of the pattern. This is
10181a bit slower for simple patterns, but much faster for complex patterns and
10182long text.
10183
10184Most notably, syntax highlighting for Javascript and XML files with long lines
10185is now working fine. Previously Vim could get stuck.
10186
10187More information here: |two-engines|
10188
10189
Bram Moolenaar9ba7e172013-07-17 22:37:26 +020010190Better Python interface *better-python-interface*
10191-----------------------
10192
10193Added |python-bindeval| function. Unlike |python-eval| this one returns
10194|python-Dictionary|, |python-List| and |python-Function| objects for
10195dictionaries lists and functions respectively in place of their python
10196built-in equivalents (or None if we are talking about function references).
10197 For simple types this function returns python built-in types and not only
10198python `str()` like |python-eval| does. On python 3 it will return `bytes()`
10199objects in place of `str()` ones avoiding possibility of UnicodeDecodeError.
10200 Interface of new objects mimics standard python `dict()` and `list()`
10201interfaces to some extent. Extent will be improved in the future.
10202
10203Added special |python-vars| objects also available for |python-buffer| and
10204|python-window|. They ease access to VimL variables from python.
10205
10206Now you no longer need to alter `sys.path` to import your module: special
10207hooks are responsible for importing from {rtp}/python2, {rtp}/python3 and
10208{rtp}/pythonx directories (for python 2, python 3 and both respectively).
10209See |python-special-path|.
10210
10211Added possibility to work with |tabpage|s through |python-tabpage| object.
10212
10213Added automatic conversion of vim errors and exceptions to python
10214exceptions.
10215
10216Changed the behavior of |python-buffers| object: it now uses buffer numbers
10217as keys in place of the index of the buffer in the internal buffer list.
10218This should not break anything as the only way to get this index was
10219iterating over |python-buffers|.
10220
10221Added |:pydo| and |:py3do| commands.
10222
10223Added |pyeval()| and |py3eval()| functions.
10224
10225Now in all places which previously accepted `str()` objects in both python
10226version both `str()` and `unicode()` (python 2) or `bytes()` and `str()`
10227(python 3) are accepted.
10228
10229|python-window| has gained `.col` and `.row` attributes that are currently
10230the only way to get internal window positions.
10231
10232Added or fixed support for `dir()` in vim python objects.
10233
10234Old python versions (≤2.2) are no longer supported. Building with them did
10235not work anyway.
10236
10237
Bram Moolenaar913df812013-07-06 15:44:11 +020010238Changed *changed-7.4*
10239-------
10240
Bram Moolenaar9ba7e172013-07-17 22:37:26 +020010241Functions:
10242 Added ability to use |Dictionary-function|s for |sort()|ing, via
10243 optional third argument. (Nikolay Pavlov)
Bram Moolenaar913df812013-07-06 15:44:11 +020010244
Bram Moolenaar9ba7e172013-07-17 22:37:26 +020010245 Added special |expand()| argument that expands to the current line
10246 number.
10247
10248 Made it possible to force |char2nr()| always give unicode codepoints
10249 regardless of current encoding. (Yasuhiro Matsumoto)
10250
10251 Made it possible for functions generating file list generate |List|
10252 and not NL-separated string. (e.g. |glob()|, |expand()|) (Christian
10253 Brabandt)
10254
10255 Functions that obtain variables from the specific window, tabpage or
10256 buffer scope dictionary can now return specified default value in
10257 place of empty string in case variable is not found. (|gettabvar()|,
10258 |getwinvar()|, |getbufvar()|) (Shougo Matsushita, Hirohito Higashi)
10259
10260Options:
10261 Added ability to automatically save selection into the system
10262 clipboard when using non-GUI version of vim (autoselectplus in
10263 'clipboard'). Also added ability to use system clipboard as default
10264 register (previously only primary selection could be used). (Ivan
10265 Krasilnikov, Christian Brabandt, Bram Moolenaar)
10266
10267 Added special 'shiftwidth' value that makes 'sw' follow 'tabstop'. As
10268 indenting via 'indentexpr' became tricky |shiftwidth()| function was
10269 added. Also added equivalent special value to 'softtabstop' option.
10270 (Christian Brabandt, so8res)
10271
10272 Added ability to delete comment leader when using |J| by `j` flag in
10273 'formatoptions' (|fo-table|). (Lech Lorens)
10274
10275 Added ability to control indentation inside namespaces: |cino-N|.
10276 (Konstantin Lepa)
10277
10278 Added ability to control alignment inside `if` condition separately
10279 from alignment inside function arguments: |cino-k|. (Lech Lorens)
10280
10281 Added ability to show absolute number in number column when
10282 'relativenumber' option is on. (Christian Brabandt)
10283
10284Comands:
10285 Made it possible to remove all signs from the current buffer using
10286 |:sign-unplace|. (Christian Brabandt)
10287
10288 Added |:language| autocompletion. (Dominique Pelle)
10289
10290 |:diffoff| now saves the local values of some settings and restores
10291 them in place of blindly resetting them to the defaults. (Christian
10292 Brabandt)
10293
10294 Added |:map-nowait| creating mapping which when having lhs that is the
10295 prefix of another mapping’s lhs will not allow vim to wait for user to
10296 type more characters to resolve ambiguity, forcing vim to take the
10297 shorter alternative: one with <nowait>.
10298
10299 Added more |:command-complete| completion types: |:behave| suboptions,
10300 color schemes, compilers, |:cscope| suboptions, files from 'path',
10301 |:history| suboptions, locale names, |:syntime| suboptions, user
10302 names. (Dominique Pelle)
10303
10304Other:
10305 Improved support for cmd.exe. (Ben Fritz, Bram Moolenaar)
10306
10307 Added |v:windowid| variable containing current window number in GUI
10308 vim. (Christian J. Robinson, Lech Lorens)
10309
10310 Lua interface now also uses userdata binded to vim structures. (Taro
10311 Muraoka, Luis Carvalho)
10312
10313 Added rxvt-unicode and >xterm-277 mouse support. (Yiding Jia, Hayaki
10314 Saito)
Bram Moolenaar913df812013-07-06 15:44:11 +020010315
10316Added *added-7.4*
10317-----
10318
Bram Moolenaar9ba7e172013-07-17 22:37:26 +020010319Added support for |Lists| and |Dictionaries| in |viminfo|. (Christian
10320Brabandt)
10321
10322Functions:
10323 Bitwise functions: |and()|, |or()|, |invert()|, |xor()|.
10324
10325 Added |luaeval()| function. (Taro Muraoka, Luis Carvalho)
10326
10327 Added |sha256()| function. (Tyru, Hirohito Higashi)
10328
10329 Added |wildmenumode()| function. (Christian Brabandt)
10330
10331 Debugging functions: |screenattr()|, |screenchar()|, |screencol()|,
10332 |screenrow()|. (Simon Ruderich, Bram Moolenaar)
10333
10334Autocommands:
10335 Added |InsertCharPre| event launched before inserting character.
10336 (Jakson A. Aquino)
10337
10338 Added |CompleteDone| event launched after finishing completion in
10339 insert mode. (idea by Florian Klein)
10340
10341 Added |QuitPre| event launched when commands that can either close vim
10342 or only some window(s) are launched.
10343
10344 Added |TextChanged| and |TextChangedI| events launched when text is
10345 changed.
10346
10347Commands:
10348 |:syntime| command useful for debugging.
10349
10350Options:
10351 Made it possible to ignore case when completing: 'wildignorecase'.
10352
Bram Moolenaar913df812013-07-06 15:44:11 +020010353Various syntax, indent and other plugins were added.
10354
10355
10356Fixed *fixed-7.4*
10357-----
10358
10359Patch 7.3.001
10360Problem: When editing "src/main.c" and 'path' set to "./proto",
10361 ":find e<C-D" shows ./proto/eval.pro instead of eval.pro.
10362Solution: Check for path separator when comparing names. (Nazri Ramliy)
10363Files: src/misc1.c
10364
10365Patch 7.3.002
10366Problem: ":find" completion doesn't work when halfway an environment
10367 variable. (Dominique Pelle)
10368Solution: Only use in-path completion when expanding file names. (Nazri
10369 Ramliy)
10370Files: src/ex_docmd.c
10371
10372Patch 7.3.003
10373Problem: Crash with specific BufWritePost autocmd. (Peter Odding)
10374Solution: Don't free the quickfix title twice. (Lech Lorens)
10375Files: src/quickfix.c
10376
10377Patch 7.3.004
10378Problem: Crash when using very long regexp. (Peter Odding)
10379Solution: Reset reg_toolong. (Carlo Teubner)
10380Files: src/regexp.c
10381
10382Patch 7.3.005
10383Problem: Crash when using undotree(). (Christian Brabandt)
10384Solution: Increase the list reference count. Add a test for undotree()
10385 (Lech Lorens)
10386Files: src/eval.c, src/testdir/Makefile, src/testdir/test61.in
10387
10388Patch 7.3.006
10389Problem: Can't build some multi-byte code with C89.
10390Solution: Move code to after declarations. (Joachim Schmitz)
10391Files: src/mbyte.c, src/spell.c
10392
10393Patch 7.3.007
10394Problem: Python code defines global "buffer". Re-implements a grow-array.
10395Solution: Use a grow-array instead of coding the same functionality. Handle
10396 out-of-memory situation properly.
10397Files: src/if_py_both.h
10398
10399Patch 7.3.008
10400Problem: 'cursorbind' is kept in places where 'scrollbind' is reset.
10401Solution: Reset 'cursorbind'.
10402Files: src/buffer.c, src/diff.c, src/ex_cmds.c, src/ex_cmds2.c,
10403 src/ex_docmd.c, src/ex_getln.c, src/if_cscope.c, src/macros.h,
10404 src/quickfix.c, src/search.c, src/tag.c, src/window.c
10405
10406Patch 7.3.009
10407Problem: Win32: Crash on Windows when using a bad argument for strftime().
10408 (Christian Brabandt)
10409Solution: Use the bad_param_handler(). (Mike Williams)
10410Files: src/os_win32.c
10411
10412Patch 7.3.010
10413Problem: Mac GUI: Missing break statements.
10414Solution: Add the break statements. (Dominique Pelle)
10415Files: src/gui_mac.c
10416
10417Patch 7.3.011
10418Problem: X11 clipboard doesn't work in Athena/Motif GUI. First selection
10419 after a shell command doesn't work.
10420Solution: When using the GUI use XtLastTimestampProcessed() instead of
10421 changing a property. (partly by Toni Ronkko)
10422 When executing a shell command disown the selection.
10423Files: src/ui.c, src/os_unix.c
10424
10425Patch 7.3.012
10426Problem: Problems building with MingW.
10427Solution: Adjust the MingW makefiles. (Jon Maken)
10428Files: src/Make_ming.mak, src/GvimExt/Make_ming.mak
10429
10430Patch 7.3.013
10431Problem: Dynamic loading with Ruby doesn't work for 1.9.2.
10432Solution: Handle rb_str2cstr differently. Also support dynamic loading on
10433 Unix. (Jon Maken)
10434Files: src/if_ruby.c
10435
10436Patch 7.3.014
10437Problem: Ending a line in a backslash inside an ":append" or ":insert"
10438 command in Ex mode doesn't work properly. (Ray Frush)
10439Solution: Halve the number of backslashes, only insert a NUL after an odd
10440 number of backslashes.
10441Files: src/ex_getln.c
10442
10443Patch 7.3.015
10444Problem: Test is using error message that no longer exists.
10445Solution: Change E106 to E121. (Dominique Pelle)
10446Files: src/testdir/test49.vim
10447
10448Patch 7.3.016
10449Problem: Netbeans doesn't work under Athena.
10450Solution: Support Athena, just like Motif. (Xavier de Gaye)
10451Files: runtime/doc/netbeans.txt, src/gui.c, src/main.c, src/netbeans.c
10452
10453Patch 7.3.017
10454Problem: smatch reports errors.
10455Solution: Fix the reported errors. (Dominique Pelle)
10456Files: src/spell.c, src/syntax.c
10457
10458Patch 7.3.018 (after 7.3.012)
10459Problem: Missing argument to windres in MingW makefiles.
10460Solution: Add the argument that was wrapped in the patch. (Jon Maken)
10461Files: src/Make_ming.mak, src/GvimExt/Make_ming.mak
10462
10463Patch 7.3.019
10464Problem: ":nbstart" can fail silently.
10465Solution: Give an error when netbeans is not supported by the GUI. (Xavier
10466 de Gaye)
10467Files: src/netbeans.c
10468
10469Patch 7.3.020
10470Problem: Cursor position wrong when joining multiple lines and
10471 'formatoptions' contains "a". (Moshe Kamensky)
10472Solution: Adjust cursor position for skipped indent. (Carlo Teubner)
10473Files: src/ops.c, src/testdir/test68.in, src/testdir/test68.ok
10474
10475Patch 7.3.021
10476Problem: Conflict for defining Boolean in Mac header files.
10477Solution: Define NO_X11_INCLUDES. (Rainer Muller)
10478Files: src/os_macosx.m, src/vim.h
10479
10480Patch 7.3.022
10481Problem: When opening a new window the 'spellcapcheck' option is cleared.
10482Solution: Copy the correct option value. (Christian Brabandt)
10483Files: src/option.c
10484
10485Patch 7.3.023
10486Problem: External program may hang when it tries to write to the tty.
10487Solution: Don't close the slave tty until after the child exits. (Nikola
10488 Knezevic)
10489Files: src/os_unix.c
10490
10491Patch 7.3.024
10492Problem: Named signs do not use a negative number as intended.
10493Solution: Fix the numbering of named signs. (Xavier de Gaye)
10494Files: src/ex_cmds.c
10495
10496Patch 7.3.025
10497Problem: ":mksession" does not square brackets escape file name properly.
Bram Moolenaardd007ed2013-07-09 15:44:17 +020010498Solution: Improve escaping of file names. (partly by Peter Odding)
Bram Moolenaar913df812013-07-06 15:44:11 +020010499Files: src/ex_docmd.c
10500
10501Patch 7.3.026
10502Problem: CTRL-] in a help file doesn't always work. (Tony Mechelynck)
10503Solution: Don't escape special characters. (Carlo Teubner)
10504Files: src/normal.c
10505
10506Patch 7.3.027
10507Problem: Opening a file on a network share is very slow.
10508Solution: When fixing file name case append "\*" to directory, server and
10509 network share names. (David Anderson, John Beckett)
10510Files: src/os_win32.c
10511
10512Patch 7.3.028 (after 7.3.024)
10513Problem: Signs don't show up. (Charles Campbell)
10514Solution: Don't use negative numbers. Also assign a number to signs that
10515 have a name of all digits to avoid using a sign number twice.
10516Files: src/ex_cmds.c
10517
10518Patch 7.3.029
10519Problem: ":sort n" sorts lines without a number as number zero. (Beeyawned)
10520Solution: Make lines without a number sort before lines with a number. Also
10521 fix sorting negative numbers.
10522Files: src/ex_cmds.c, src/testdir/test57.in, src/testdir/test57.ok
10523
10524Patch 7.3.030
10525Problem: Cannot store Dict and List in viminfo file.
10526Solution: Add support for this. (Christian Brabandt)
10527Files: runtime/doc/options.txt, src/eval.c, src/testdir/Make_amiga.mak,
10528 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
10529 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms,
10530 src/testdir/Makefile, src/testdir/main.aap, src/testdir/test74.in,
10531 src/testdir/test74.ok
10532
10533Patch 7.3.031
10534Problem: Can't pass the X window ID to another application.
10535Solution: Add v:windowid. (Christian J. Robinson, Lech Lorens)
10536Files: runtime/doc/eval.txt, src/eval.c, src/gui.c, src/vim.h,
10537 src/os_unix.c
10538
10539Patch 7.3.032
10540Problem: maparg() doesn't return the flags, such as <buffer>, <script>,
10541 <silent>. These are needed to save and restore a mapping.
10542Solution: Improve maparg(). (also by Christian Brabandt)
10543Files: runtime/doc/eval.txt, src/eval.c, src/getchar.c, src/gui_w48.c,
10544 src/message.c, src/proto/getchar.pro, src/proto/message.pro,
10545 src/structs.h src/testdir/test75.in, src/testdir/test75.ok
10546
10547Patch 7.3.033 (after 7.3.032)
10548Problem: Can't build without FEAT_LOCALMAP.
10549Solution: Add an #ifdef. (John Marriott)
10550Files: src/getchar.c
10551
10552Patch 7.3.034
10553Problem: Win32: may be loading .dll from the wrong directory.
10554Solution: Go to the Vim executable directory when opening a library.
10555Files: src/gui_w32.c, src/if_lua.c, src/if_mzsch.c, src/if_perl.xs,
10556 src/if_python.c, src/if_python3.c, src/if_ruby.c, src/mbyte.c,
10557 src/os_mswin.c, src/os_win32.c, src/proto/os_win32.pro
10558
10559Patch 7.3.035 (after 7.3.034)
10560Problem: Stray semicolon after if statement. (Hari G)
10561Solution: Remove the semicolon.
10562Files: src/os_win32.c
10563
10564Patch 7.3.036
10565Problem: Win32 GUI: When building without menus, the font for dialogs and
10566 tab page headers also changes.
10567Solution: Define USE_SYSMENU_FONT always. (Harig G.)
10568Files: src/gui_w32.c
10569
10570Patch 7.3.037
10571Problem: Compiler warnings for loss of data. (Mike Williams)
10572Solution: Add type casts.
10573Files: src/if_py_both.h, src/getchar.c, src/os_win32.c
10574
10575Patch 7.3.038
10576Problem: v:windowid isn't set on MS-Windows.
10577Solution: Set it to the window handle. (Chris Sutcliffe)
10578Files: runtime/doc/eval.txt, src/gui_w32.c
10579
10580Patch 7.3.039
10581Problem: Crash when using skk.vim plugin.
10582Solution: Get length of expression evaluation result only after checking for
10583 NULL. (Noriaki Yagi, Dominique Pelle)
10584Files: src/ex_getln.c
10585
10586Patch 7.3.040
10587Problem: Comparing strings while ignoring case goes beyond end of the
10588 string when there are illegal bytes. (Dominique Pelle)
10589Solution: Explicitly check for illegal bytes.
10590Files: src/mbyte.c
10591
10592Patch 7.3.041
10593Problem: Compiler warning for accessing mediumVersion. (Tony Mechelynck)
10594Solution: Use the pointer instead of the array itself. (Dominique Pelle)
10595Files: src/version.c
10596
10597Patch 7.3.042
10598Problem: No spell highlighting when re-using an empty buffer.
10599Solution: Clear the spell checking info only when clearing the options for a
10600 buffer. (James Vega)
10601Files: src/buffer.c
10602
10603Patch 7.3.043
10604Problem: Can't load Ruby dynamically on Unix.
10605Solution: Adjust the configure script. (James Vega)
10606Files: src/Makefile, src/config.h.in, src/configure.in,
10607 src/auto/configure, src/if_ruby.c
10608
10609Patch 7.3.044
10610Problem: The preview window opened by the popup menu is larger than
10611 specified with 'previewheight'. (Benjamin Haskell)
10612Solution: Use 'previewheight' if it's set and smaller.
10613Files: src/popupmnu.c
10614
10615Patch 7.3.045
10616Problem: Compiler warning for uninitialized variable.
10617Solution: Initialize the variable always.
10618Files: src/getchar.c
10619
10620Patch 7.3.046 (after 7.3.043)
10621Problem: Can't build Ruby on MS-Windows.
10622Solution: Add #ifdef, don't use WIN3264 before including vim.h.
10623Files: src/if_ruby.c
10624
10625Patch 7.3.047 (after 7.3.032)
10626Problem: Missing makefile updates for test 75.
10627Solution: Update the makefiles.
10628Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
10629 src/testdir/Makefile, src/testdir/Make_ming.mak,
10630 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms
10631
10632Patch 7.3.048
10633Problem: ":earlier 1f" doesn't work after loading undo file.
10634Solution: Set b_u_save_nr_cur when loading an undo file. (Christian
10635 Brabandt)
10636 Fix only showing time in ":undolist"
10637Files: src/undo.c
10638
10639Patch 7.3.049
10640Problem: PLT has rebranded their Scheme to Racket.
10641Solution: Add support for Racket 5.x. (Sergey Khorev)
10642Files: src/Make_cyg.mak, src/Make_ming.mak, src/Make_mvc.mak,
10643 src/auto/configure, src/configure.in, src/if_mzsch.c
10644
10645Patch 7.3.050
10646Problem: The link script is clumsy.
10647Solution: Use the --as-needed linker option if available. (Kirill A.
10648 Shutemov)
10649Files: src/Makefile, src/auto/configure, src/config.mk.in,
10650 src/configure.in, src/link.sh
10651
10652Patch 7.3.051
10653Problem: Crash when $PATH is empty.
10654Solution: Check for vim_getenv() returning NULL. (Yasuhiro Matsumoto)
10655Files: src/ex_getln.c, src/os_win32.c
10656
10657Patch 7.3.052
10658Problem: When 'completefunc' opens a new window all kinds of errors follow.
10659 (Xavier Deguillard)
10660Solution: When 'completefunc' goes to another window or buffer and when it
10661 deletes text abort completion. Add a test for 'completefunc'.
10662Files: src/edit.c, src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
10663 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
10664 src/testdir/Make_vms.mms, src/testdir/Makefile,
10665 src/testdir/test76.in, src/testdir/test76.ok
10666
10667Patch 7.3.053
10668Problem: complete() function doesn't reset complete direction. Can't use
10669 an empty string in the list of matches.
10670Solution: Set compl_direction to FORWARD. Add "empty" key to allow empty
10671 words. (Kikuchan)
10672Files: src/edit.c
10673
10674Patch 7.3.054
10675Problem: Can define a user command for :Print, but it doesn't work. (Aaron
10676 Thoma)
10677Solution: Let user command :Print overrule the builtin command (Christian
10678 Brabandt) Disallow :X and :Next as a user defined command.
10679Files: src/ex_docmd.c
10680
10681Patch 7.3.055
10682Problem: Recursively nested lists and dictionaries cause a near-endless
10683 loop when comparing them with a copy. (ZyX)
10684Solution: Limit recursiveness in a way that non-recursive structures can
10685 still be nested very deep.
10686Files: src/eval.c, src/testdir/test55.in, src/testdir/test55.ok
10687
10688Patch 7.3.056
10689Problem: "getline" argument in do_cmdline() shadows global.
10690Solution: Rename the argument.
10691Files: src/ex_docmd.c
10692
10693Patch 7.3.057
10694Problem: Segfault with command line abbreviation. (Randy Morris)
10695Solution: Don't retrigger the abbreviation when abandoning the command line.
10696 Continue editing the command line after the error.
10697Files: src/ex_getln.c
10698
10699Patch 7.3.058
10700Problem: Error "code converter not found" when loading Ruby script.
10701Solution: Load Gem module. (Yasuhiro Matsumoto)
10702Files: src/if_ruby.c
10703
10704Patch 7.3.059
10705Problem: Netbeans: Problem with recursively handling messages for Athena
10706 and Motif.
10707Solution: Call netbeans_parse_messages() in the main loop, like it's done
10708 for GTK. (Xavier de Gaye)
10709Files: src/gui_x11.c, src/netbeans.c
10710
10711Patch 7.3.060
10712Problem: Netbeans: crash when socket is disconnected unexpectedly.
10713Solution: Don't cleanup when a read fails, put a message in the queue and
10714 disconnect later. (Xavier de Gaye)
10715Files: src/netbeans.c
10716
10717Patch 7.3.061
10718Problem: Remote ":drop" does not respect 'autochdir'. (Peter Odding)
10719Solution: Don't restore the directory when 'autochdir' is set. (Benjamin
10720 Fritz)
10721Files: src/main.c
10722
10723Patch 7.3.062
10724Problem: Python doesn't work properly when installed in another directory
10725 than expected.
10726Solution: Figure out home directory in configure and use Py_SetPythonHome()
10727 at runtime. (Roland Puntaier)
10728Files: src/configure.in, src/auto/configure, src/if_python.c,
10729 src/if_python3.c
10730
10731Patch 7.3.063
10732Problem: Win32: Running a filter command makes Vim lose focus.
10733Solution: Use SW_SHOWMINNOACTIVE instead of SW_SHOWMINIMIZED. (Hong Xu)
10734Files: src/os_win32.c
10735
10736Patch 7.3.064
10737Problem: Win32: ":dis +" shows nothing, but "+p does insert text.
10738Solution: Display the * register, since that's what will be inserted.
10739 (Christian Brabandt)
10740Files: src/globals.h, src/ops.c
10741
10742Patch 7.3.065
10743Problem: Can't get current line number in a source file.
10744Solution: Add the <slnum> item, similar to <sfile>.
10745Files: src/ex_docmd.c
10746
10747Patch 7.3.066
10748Problem: Crash when changing to another window while in a :vimgrep command.
10749 (Christian Brabandt)
10750Solution: When wiping out the dummy before, remove it from aucmd_win.
10751Files: src/quickfix.c
10752
10753Patch 7.3.067 (after 7.3.058)
10754Problem: Ruby: Init_prelude is not always available.
10755Solution: Remove use of Init_prelude. (Yasuhiro Matsumoto)
10756Files: src/if_ruby.c
10757
10758Patch 7.3.068
10759Problem: Using freed memory when doing ":saveas" and an autocommand sets
10760 'autochdir'. (Kevin Klement)
10761Solution: Get the value of fname again after executing autocommands.
10762Files: src/ex_cmds.c
10763
10764Patch 7.3.069
10765Problem: GTK: pressing Enter in inputdialog() doesn't work like clicking OK
10766 as documented.
10767Solution: call gtk_entry_set_activates_default(). (Britton Kerin)
10768Files: src/gui_gtk.c
10769
10770Patch 7.3.070
10771Problem: Can set environment variables in the sandbox, could be abused.
10772Solution: Disallow it.
10773Files: src/eval.c
10774
10775Patch 7.3.071
10776Problem: Editing a file in a window that's in diff mode resets 'diff'
10777 but not cursor binding.
10778Solution: Reset cursor binding in two more places.
10779Files: src/quickfix.c, src/option.c
10780
10781Patch 7.3.072
10782Problem: Can't complete file names while ignoring case.
10783Solution: Add 'wildignorecase'.
10784Files: src/ex_docmd.c, src/ex_getln.c, src/misc1.c, src/option.c,
10785 src/option.h, src/vim.h, src/runtime/options.txt
10786
10787Patch 7.3.073
10788Problem: Double free memory when netbeans command follows DETACH.
10789Solution: Only free the node when owned. (Xavier de Gaye)
10790Files: src/netbeans.c
10791
10792Patch 7.3.074
10793Problem: Can't use the "+ register like "* for yank and put.
10794Solution: Add "unnamedplus" to the 'clipboard' option. (Ivan Krasilnikov)
10795Files: runtime/doc/options.txt, src/eval.c, src/globals.h, src/ops.c,
10796 src/option.c
10797
10798Patch 7.3.075 (after 7.3.072)
10799Problem: Missing part of 'wildignorecase'
10800Solution: Also adjust expand()
10801Files: src/eval.c
10802
10803Patch 7.3.076
10804Problem: Clang warnings for dead code.
10805Solution: Remove it. (Carlo Teubner)
10806Files: src/gui_gtk.c, src/if_ruby.c, src/misc2.c, src/netbeans.c,
10807 src/spell.c
10808
10809Patch 7.3.077
10810Problem: When updating crypt of swapfile fails there is no error message.
10811 (Carlo Teubner)
10812Solution: Add the error message.
10813Files: src/memline.c
10814
10815Patch 7.3.078
10816Problem: Warning for unused variable.
Bram Moolenaardd007ed2013-07-09 15:44:17 +020010817Solution: Adjust #ifdefs.
Bram Moolenaar913df812013-07-06 15:44:11 +020010818Files: src/ops.c
10819
10820Patch 7.3.079
10821Problem: Duplicate lines in makefile.
10822Solution: Remove the lines. (Hong Xu)
10823Files: src/Make_mvc.mak
10824
10825Patch 7.3.080
10826Problem: Spell doesn't work on VMS.
10827Solution: Use different file names. (Zoltan Bartos, Zoltan Arpadffy)
10828Files: src/spell.c
10829
10830Patch 7.3.081
10831Problem: Non-printable characters in 'statusline' cause trouble. (ZyX)
10832Solution: Use transstr(). (partly by Caio Ariede)
10833Files: src/screen.c
10834
10835Patch 7.3.082
10836Problem: Leaking file descriptor when hostname doesn't exist.
10837Solution: Remove old debugging lines.
10838Files: src/netbeans.c
10839
10840Patch 7.3.083
10841Problem: When a read() or write() is interrupted by a signal it fails.
10842Solution: Add read_eintr() and write_eintr().
10843Files: src/fileio.c, src/proto/fileio.pro, src/memfile.c, src/memline.c,
10844 src/os_unix.c, src/undo.c, src/vim.h
10845
10846Patch 7.3.084
10847Problem: When splitting the window, the new one scrolls with the cursor at
10848 the top.
10849Solution: Compute w_fraction before setting the new height.
10850Files: src/window.c
10851
10852Patch 7.3.085 (after 7.3.083)
10853Problem: Inconsistency with preproc symbols. void * computation.
10854Solution: Include vimio.h from vim.h. Add type cast.
10855Files: src/eval.c, src/ex_cmds.c, src/ex_cmds2.c, src/fileio.c,
10856 src/if_cscope.c, src/if_sniff.c, src/main.c, src/memfile.c,
10857 src/memline.c, src/netbeans.c, src/os_msdos.c, src/os_mswin.c,
10858 src/os_win16.c, src/os_win32.c, src/spell.c, src/tag.c,
10859 src/undo.c, src/vim.h
10860
10861Patch 7.3.086
10862Problem: When using a mapping with an expression and there was no count,
10863 v:count has the value of the previous command. (ZyX)
10864Solution: Also set v:count and v:count1 before getting the character that
10865 could be a command or a count.
10866Files: src/normal.c
10867
10868Patch 7.3.087
10869Problem: EINTR is not always defined.
10870Solution: Include errno.h in vim.h.
10871Files: src/if_cscope.c, src/if_tcl.c, src/integration.c, src/memline.c,
10872 src/os_mswin.c, src/os_win16.c, src/os_win32.c, src/vim.h,
10873 src/workshop.c
10874
10875Patch 7.3.088
10876Problem: Ruby can't load Gems sometimes, may cause a crash.
10877Solution: Undefine off_t. Use ruby_process_options(). (Yasuhiro Matsumoto)
10878Files: src/if_ruby.c
10879
10880Patch 7.3.089
10881Problem: Compiler warning on 64 bit MS-Windows.
10882Solution: Add type cast. (Mike Williams)
10883Files: src/netbeans.c
10884
10885Patch 7.3.090
10886Problem: Wrong help text for Cscope.
10887Solution: Adjust the help text for "t". (Dominique Pelle)
10888Files: src/if_cscope.c
10889
10890Patch 7.3.091
10891Problem: "vim -w foo" writes special key codes for removed escape
10892 sequences. (Josh Triplett)
10893Solution: Don't write K_IGNORE codes.
10894Files: src/getchar.c, src/misc1.c, src/term.c, src/vim.h
10895
10896Patch 7.3.092
10897Problem: Resizing the window when exiting.
10898Solution: Don't resize when exiting.
10899Files: src/term.c
10900
10901Patch 7.3.093
10902Problem: New DLL dependencies in MingW with gcc 4.5.0.
10903Solution: Add STATIC_STDCPLUS, LDFLAGS and split up WINDRES. (Guopeng Wen)
10904Files: src/GvimExt/Make_ming.mak, src/Make_ming.mak
10905
10906Patch 7.3.094
10907Problem: Using abs() requires type cast to int.
10908Solution: Use labs() so that the value remains long. (Hong Xu)
10909Files: src/screen.c
10910
10911Patch 7.3.095
10912Problem: Win32: In Chinese tear-off menu doesn't work. (Weasley)
10913Solution: Use menu_name_equal(). (Alex Jakushev)
10914Files: src/menu.c
10915
10916Patch 7.3.096
Bram Moolenaardd007ed2013-07-09 15:44:17 +020010917Problem: "gvim -nb" is not interruptible. Leaking file descriptor on
Bram Moolenaar913df812013-07-06 15:44:11 +020010918 netbeans connection error.
10919Solution: Check for CTRL-C typed. Free file descriptor. (Xavier de Gaye)
10920Files: src/netbeans.c
10921
10922Patch 7.3.097
10923Problem: Using ":call" inside "if 0" does not see that a function returns a
10924 Dict and gives error for "." as string concatenation.
10925Solution: Use eval0() to skip over the expression. (Yasuhiro Matsumoto)
10926Files: src/eval.c
10927
10928Patch 7.3.098
10929Problem: Function that ignores error still causes called_emsg to be set.
10930 E.g. when expand() fails the status line is disabled.
10931Solution: Move check for emsg_not_now() up. (James Vega)
10932Files: src/message.c
10933
10934Patch 7.3.099
10935Problem: Crash when splitting a window with zero height. (Yukihiro
10936 Nakadaira)
10937Solution: Don't set the fraction in a window with zero height.
10938Files: src/window.c
10939
10940Patch 7.3.100
10941Problem: When using :normal v:count isn't set.
10942Solution: Call normal_cmd() with toplevel set to TRUE.
10943Files: src/ex_docmd.c
10944
10945Patch 7.3.101
10946Problem: ino_t defined with wrong size.
10947Solution: Move including auto/config.h before other includes. (Marius
10948 Geminas)
10949Files: src/if_ruby.c, src/if_lua.c
10950
10951Patch 7.3.102
10952Problem: When using ":make", typing the next command and then getting the
10953 "reload" prompt the next command is (partly) eaten by the reload
10954 prompt.
10955Solution: Accept ':' as a special character at the reload prompt to accept
10956 the default choice and execute the command.
10957Files: src/eval.c, src/fileio.c, src/gui.c, src/gui_xmdlg.c,
10958 src/memline.c, src/message.c, src/proto/message.pro,
10959 src/gui_athena.c, src/gui_gtk.c, src/gui_mac.c, src/gui_motif.c,
10960 src/gui_photon.c, src/gui_w16.c, src/gui_w32.c, src/os_mswin.c
10961 src/proto/gui_athena.pro, src/proto/gui_gtk.pro,
10962 src/proto/gui_mac.pro, src/proto/gui_motif.pro,
10963 src/proto/gui_photon.pro, src/proto/gui_w16.pro,
10964 src/proto/gui_w32.pro
10965
10966Patch 7.3.103
10967Problem: Changing 'fileformat' and then using ":w" in an empty file sets
10968 the 'modified' option.
10969Solution: In unchanged() don't ignore 'ff' for an empty file.
10970Files: src/misc1.c, src/option.c, src/proto/option.pro, src/undo.c
10971
10972Patch 7.3.104
10973Problem: Conceal: using Tab for cchar causes problems. (ZyX)
10974Solution: Do not accept a control character for cchar.
10975Files: src/syntax.c
10976
10977Patch 7.3.105
10978Problem: Can't get the value of "b:changedtick" with getbufvar().
10979Solution: Make it work. (Christian Brabandt)
10980Files: src/eval.c
10981
10982Patch 7.3.106
10983Problem: When 'cursorbind' is set another window may scroll unexpectedly
10984 when 'scrollbind' is also set. (Xavier Wang)
10985Solution: Don't call update_topline() if 'scrollbind' is set.
10986Files: src/move.c
10987
10988Patch 7.3.107
10989Problem: Year number for :undolist can be confused with month or day.
10990Solution: Change "%y" to "%Y".
10991Files: src/undo.c
10992
10993Patch 7.3.108
10994Problem: Useless check for NULL when calling vim_free().
10995Solution: Remove the check. (Dominique Pelle)
10996Files: src/eval.c, src/ex_cmds.c, src/os_win32.c
10997
10998Patch 7.3.109
10999Problem: Processing new Esperanto spell file fails and crashes Vim.
11000 (Dominique Pelle)
11001Solution: When running out of memory give an error. Handle '?' in
11002 COMPOUNDRULE properly.
11003Files: src/spell.c
11004
11005Patch 7.3.110
11006Problem: The "nbsp" item in 'listchars' isn't used for ":list".
11007Solution: Make it work. (Christian Brabandt)
11008Files: src/message.c
11009
11010Patch 7.3.111 (after 7.3.100)
11011Problem: Executing a :normal command in 'statusline' evaluation causes the
11012 cursor to move. (Dominique Pelle)
11013Solution: When updating the cursor for 'cursorbind' allow the cursor beyond
11014 the end of the line. When evaluating 'statusline' temporarily
11015 reset 'cursorbind'.
11016Files: src/move.c, src/screen.c
11017
11018Patch 7.3.112
11019Problem: Setting 'statusline' to "%!'asdf%' reads uninitialized memory.
11020Solution: Check for NUL after %.
11021Files: src/buffer.c
11022
11023Patch 7.3.113
11024Problem: Windows: Fall back directory for creating temp file is wrong.
11025Solution: Use "." instead of empty string. (Hong Xu)
11026Files: src/fileio.c
11027
11028Patch 7.3.114
11029Problem: Potential problem in initialization when giving an error message
11030 early.
11031Solution: Initialize 'verbosefile' empty. (Ben Schmidt)
11032Files: src/option.h
11033
11034Patch 7.3.115
11035Problem: Vim can crash when tmpnam() returns NULL.
11036Solution: Check for NULL. (Hong Xu)
11037Files: src/fileio.c
11038
11039Patch 7.3.116
11040Problem: 'cursorline' is displayed too short when there are concealed
11041 characters and 'list' is set. (Dennis Preiser)
11042Solution: Check for 'cursorline' when 'list' is set. (Christian Brabandt)
11043Files: src/screen.c
11044
11045Patch 7.3.117
11046Problem: On some systems --as-needed does not work, because the "tinfo"
11047 library is included indirectly from "ncurses". (Charles Campbell)
11048Solution: In configure prefer using "tinfo" instead of "ncurses".
11049Files: src/configure.in, src/auto/configure
11050
11051Patch 7.3.118
11052Problem: Ruby uses SIGVTALARM which makes Vim exit. (Alec Tica)
11053Solution: Ignore SIGVTALARM. (Dominique Pelle)
11054Files: src/os_unix.c
11055
11056Patch 7.3.119
11057Problem: Build problem on Mac. (Nicholas Stallard)
11058Solution: Use "extern" instead of "EXTERN" for p_vfile.
11059Files: src/option.h
11060
11061Patch 7.3.120
11062Problem: The message for an existing swap file is too long to fit in a 25
11063 line terminal.
11064Solution: Make the message shorter. (Chad Miller)
11065Files: src/memline.c
11066
11067Patch 7.3.121
11068Problem: Complicated 'statusline' causes a crash. (Christian Brabandt)
11069Solution: Check that the number of items is not too big.
11070Files: src/buffer.c
11071
11072Patch 7.3.122
11073Problem: Having auto/config.mk in the repository causes problems.
11074Solution: Remove auto/config.mk from the distribution. In the toplevel
11075 Makefile copy it from the "dist" file.
11076Files: Makefile, src/Makefile, src/auto/config.mk
11077
11078Patch 7.3.123
11079Problem: ml_get error when executing register being recorded into, deleting
11080 lines and 'conceallevel' is set. (ZyX)
11081Solution: Don't redraw a line for concealing when it doesn't exist.
11082Files: src/main.c
11083
11084Patch 7.3.124
11085Problem: When writing a file in binary mode it may be missing the final EOL
11086 if a file previously read was missing the EOL. (Kevin Goodsell)
11087Solution: Move the write_no_eol_lnum into the buffer struct.
11088Files: src/structs.h, src/fileio.c, src/globals.h, src/os_unix.c
11089
11090Patch 7.3.125
11091Problem: MSVC: Problem with quotes in link argument.
11092Solution: Escape backslashes and quotes. (Weasley)
11093Files: src/Make_mvc.mak
11094
11095Patch 7.3.126
11096Problem: Compiler warning for signed pointer.
11097Solution: Use unsigned int argument for sscanf().
11098Files: src/blowfish.c
11099
11100Patch 7.3.127
11101Problem: Compiler complains about comma.
11102Solution: Remove comma after last enum element.
11103Files: src/ex_cmds2.c
11104
11105Patch 7.3.128
11106Problem: Another compiler warning for signed pointer.
11107Solution: Use unsigned int argument for sscanf().
11108Files: src/mark.c
11109
11110Patch 7.3.129
11111Problem: Using integer like a boolean.
11112Solution: Nicer check for integer being non-zero.
11113Files: src/tag.c
11114
11115Patch 7.3.130
11116Problem: Variable misplaced in #ifdef.
11117Solution: Move clipboard_event_time outside of #ifdef.
11118Files: src/gui_gtk_x11.c
11119
11120Patch 7.3.131
11121Problem: Including errno.h too often.
11122Solution: Don't include errno.h in Unix header file.
11123Files: src/os_unix.h
11124
11125Patch 7.3.132
11126Problem: C++ style comments.
11127Solution: Change to C comments.
11128Files: src/if_python3.c
11129
11130Patch 7.3.133
11131Problem: When using encryption it's not clear what method was used.
11132Solution: In the file message show "blowfish" when using blowfish.
11133Files: src/fileio.c
11134
11135Patch 7.3.134
11136Problem: Drag-n-drop doesn't work in KDE Dolphin.
11137Solution: Add GDK_ACTION_MOVE flag. (Florian Degner)
11138Files: src/gui_gtk_x11.c
11139
11140Patch 7.3.135
11141Problem: When there is no previous substitute pattern, the previous search
11142 pattern is used. The other way around doesn't work.
11143Solution: When there is no previous search pattern, use the previous
11144 substitute pattern if possible. (Christian Brabandt)
11145Files: src/search.c
11146
11147Patch 7.3.136
11148Problem: Duplicate include of assert.h.
11149Solution: Remove it.
11150Files: src/if_cscope.c
11151
11152Patch 7.3.137 (after 7.3.091)
11153Problem: When 'lazyredraw' is set the screen may not be updated. (Ivan
11154 Krasilnikov)
11155Solution: Call update_screen() before waiting for input.
11156Files: src/misc1.c, src/getchar.c
11157
11158Patch 7.3.138
11159Problem: ":com" changes the multi-byte text of :echo. (Dimitar Dimitrov)
11160Solution: Search for K_SPECIAL as a byte, not a character. (Ben Schmidt)
11161Files: src/ex_docmd.c
11162
11163Patch 7.3.139 (after 7.3.137)
11164Problem: When 'lazyredraw' is set ":ver" output can't be read.
11165Solution: Don't redraw the screen when at a prompt or command line.
11166Files: src/getchar.c, src/message.c, src/misc1.c
11167
11168Patch 7.3.140
11169Problem: Crash when drawing the "$" at end-of-line for list mode just after
11170 the window border and 'cursorline' is set.
11171Solution: Don't check for 'cursorline'. (Quentin Carbonneaux)
11172Files: src/screen.c
11173
11174Patch 7.3.141
11175Problem: When a key code is not set get a confusing error message.
11176Solution: Change the error message to say the key code is not set.
11177Files: src/option.c, runtime/doc/options.txt
11178
11179Patch 7.3.142
11180Problem: Python stdout doesn't have a flush() method, causing an import to
11181 fail.
11182Solution: Add a dummy flush() method. (Tobias Columbus)
11183Files: src/if_py_both.h
11184
11185Patch 7.3.143
11186Problem: Memfile is not tested sufficiently. Looking up blocks in a
11187 memfile is slow when there are many blocks.
11188Solution: Add high level test and unittest. Adjust the number of hash
11189 buckets to the number of blocks. (Ivan Krasilnikov)
11190Files: Filelist, src/Makefile, src/main.c, src/memfile.c,
11191 src/memfile_test.c src/structs.h src/testdir/Make_amiga.mak,
11192 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
11193 src/testdir/Make_os2.mak, src/testdir/Make_vms.mak,
11194 src/testdir/Makefile, src/testdir/test77.in, src/testdir/test77.ok
11195
11196Patch 7.3.144
11197Problem: Crash with ":python help(dir)". (Kearn Holliday)
11198Solution: Fix the way the type is set on objects. (Tobias Columbus)
11199Files: src/if_python.c
11200
11201Patch 7.3.145 (after 7.3.144)
11202Problem: Can't build with Python dynamically loading.
11203Solution: Add dll_PyType_Ready.
11204Files: src/if_python.c
11205
11206Patch 7.3.146
11207Problem: It's possible to assign to a read-only member of a dict.
11208 It's possible to create a global variable "0". (ZyX)
11209 It's possible to add a v: variable with ":let v:.name = 1".
11210Solution: Add check for dict item being read-only.
11211 Check the name of g: variables.
11212 Disallow adding v: variables.
11213Files: src/eval.c
11214
11215Patch 7.3.147 (after 7.3.143)
11216Problem: Can't build on HP-UX.
11217Solution: Remove an unnecessary backslash. (John Marriott)
11218Files: src/Makefile
11219
11220Patch 7.3.148
11221Problem: A syntax file with a huge number of items or clusters causes weird
11222 behavior, a hang or a crash. (Yukihiro Nakadaira)
11223Solution: Check running out of IDs. (partly by Ben Schmidt)
11224Files: src/syntax.c
11225
11226Patch 7.3.149
11227Problem: The cursor disappears after the processing of the 'setDot'
11228 netbeans command when vim runs in a terminal.
Bram Moolenaardd007ed2013-07-09 15:44:17 +020011229Solution: Show the cursor after a screen update. (Xavier de Gaye)
Bram Moolenaar913df812013-07-06 15:44:11 +020011230Files: src/netbeans.c
11231
11232Patch 7.3.150
11233Problem: readline() does not return the last line when the NL is missing.
11234 (Hong Xu)
11235Solution: When at the end of the file Also check for a previous line.
11236Files: src/eval.c
11237
11238Patch 7.3.151 (after 7.3.074)
11239Problem: When "unnamedplus" is in 'clipboard' the selection is sometimes
11240 also copied to the star register.
11241Solution: Avoid copy to the star register when undesired. (James Vega)
11242Files: src/ops.c
11243
11244Patch 7.3.152
11245Problem: Xxd does not check for errors from library functions.
11246Solution: Add error checks. (Florian Zumbiehl)
11247Files: src/xxd/xxd.c
11248
11249Patch 7.3.153 (after 7.3.152)
11250Problem: Compiler warning for ambiguous else, missing prototype.
11251Solution: Add braces. (Dominique Pelle) Add prototype for die().
11252Files: src/xxd/xxd.c
11253
11254Patch 7.3.154 (after 7.3.148)
11255Problem: Can't compile with tiny features. (Tony Mechelynck)
11256Solution: Move #define outside of #ifdef.
11257Files: src/syntax.c
11258
11259Patch 7.3.155
11260Problem: Crash when using map(), filter() and remove() on v:. (ZyX)
11261 Also for extend(). (Yukihiro Nakadaira)
11262Solution: Mark v: as locked. Also correct locking error messages.
11263Files: src/eval.c
11264
11265Patch 7.3.156
11266Problem: Tty names possibly left unterminated.
11267Solution: Use vim_strncpy() instead of strncpy().
11268Files: src/pty.c
11269
11270Patch 7.3.157
11271Problem: Superfluous assignment.
11272Solution: Remove assignment.
11273Files: src/misc1.c
11274
11275Patch 7.3.158
11276Problem: Might use uninitialized memory in C indenting.
11277Solution: Init arrays to empty.
11278Files: src/misc1.c
11279
11280Patch 7.3.159
11281Problem: Using uninitialized pointer when out of memory.
11282Solution: Check for NULL return value.
11283Files: src/mbyte.c
11284
11285Patch 7.3.160
11286Problem: Unsafe string copying.
11287Solution: Use vim_strncpy() instead of strcpy(). Use vim_strcat() instead
11288 of strcat().
11289Files: src/buffer.c, src/ex_docmd.c, src/hardcopy.c, src/menu.c,
11290 src/misc1.c, src/misc2.c, src/proto/misc2.pro, src/netbeans.c,
11291 src/os_unix.c, src/spell.c, src/syntax.c, src/tag.c
11292
11293Patch 7.3.161
11294Problem: Items on the stack may be too big.
11295Solution: Make items static or allocate them.
11296Files: src/eval.c, src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c,
11297 src/fileio.c, src/hardcopy.c, src/quickfix.c, src/main.c,
11298 src/netbeans.c, src/spell.c, src/tag.c, src/vim.h, src/xxd/xxd.c
11299
11300Patch 7.3.162
11301Problem: No error message when assigning to a list with an index out of
11302 range. (Yukihiro Nakadaira)
11303Solution: Add the error message.
11304Files: src/eval.c
11305
11306Patch 7.3.163
11307Problem: For the default of 'shellpipe' "mksh" and "pdksh" are not
11308 recognized.
11309Solution: Recognize these shell names.
11310Files: src/option.c
11311
11312Patch 7.3.164
11313Problem: C-indenting: a preprocessor statement confuses detection of a
Bram Moolenaardd007ed2013-07-09 15:44:17 +020011314 function declaration.
Bram Moolenaar913df812013-07-06 15:44:11 +020011315Solution: Ignore preprocessor lines. (Lech Lorens) Also recognize the style
11316 to put a comma before the argument name.
11317Files: src/misc1.c, testdir/test3.in, testdir/test3.ok
11318
11319Patch 7.3.165
11320Problem: ":find" completion does not escape spaces in a directory name.
11321 (Isz)
11322Solution: Add backslashes for EXPAND_FILES_IN_PATH. (Carlo Teubner)
11323Files: src/ex_getln.c
11324
11325Patch 7.3.166
11326Problem: Buffer on the stack may be too big
11327Solution: Allocate the space.
11328Files: src/option.c
11329
11330Patch 7.3.167
11331Problem: When using the internal grep QuickFixCmdPost is not triggered.
11332 (Yukihiro Nakadaira)
11333Solution: Change the place where autocommands are triggered.
11334Files: src/quickfix.c
11335
11336Patch 7.3.168
11337Problem: When the second argument of input() contains a CR the text up to
11338 that is used without asking the user. (Yasuhiro Matsumoto)
11339Solution: Change CR, NL and ESC in the text to a space.
11340Files: src/getchar.c
11341
11342Patch 7.3.169
11343Problem: Freeing memory already freed, warning from static code analyzer.
11344Solution: Initialize pointers to NULL, correct use of "mustfree". (partly by
11345 Dominique Pelle)
11346Files: src/mis1.c
11347
11348Patch 7.3.170
11349Problem: VMS Makefile for testing was not updated for test77.
11350Solution: Add test77 to the Makefile.
11351Files: src/testdir/Make_vms.mms
11352
11353Patch 7.3.171
11354Problem: When the clipboard isn't supported: ":yank*" gives a confusing
11355 error message.
11356Solution: Specifically mention that the register name is invalid.
11357 (Jean-Rene David)
11358Files: runtime/doc/change.txt, src/ex_docmd.c, src/globals.h
11359
11360Patch 7.3.172
11361Problem: MS-Windows: rename() might delete the file if the name differs but
11362 it's actually the same file.
11363Solution: Use the file handle to check if it's the same file. (Yukihiro
11364 Nakadaira)
11365Files: src/if_cscope.c, src/fileio.c, src/os_win32.c,
11366 src/proto/os_win32.pro, src/vim.h
11367
11368Patch 7.3.173
11369Problem: After using setqflist() to make the quickfix list empty ":cwindow"
11370 may open the window anyway. Also after ":vimgrep".
11371Solution: Correctly check whether the list is empty. (Ingo Karkat)
11372Files: src/quickfix.c
11373
11374Patch 7.3.174
11375Problem: When Exuberant ctags binary is exctags it's not found.
11376Solution: Add configure check for exctags. (Hong Xu)
11377Files: src/configure.in, src/auto/configure
11378
11379Patch 7.3.175
11380Problem: When 'colorcolumn' is set locally to a window, ":new" opens a
11381 window with the same highlighting but 'colorcolumn' is empty.
11382 (Tyru)
11383Solution: Call check_colorcolumn() after clearing and copying options.
11384 (Christian Brabandt)
11385Files: src/buffer.c
11386
11387Patch 7.3.176
11388Problem: Ruby linking doesn't work properly on Mac OS X.
11389Solution: Fix the configure check for Ruby. (Bjorn Winckler)
11390Files: src/configure.in, src/auto/configure
11391
11392Patch 7.3.177
11393Problem: MS-Windows: mkdir() doesn't work properly when 'encoding' is
11394 "utf-8".
11395Solution: Convert to utf-16. (Yukihiro Nakadaira)
11396Files: src/os_win32.c, src/os_win32.h, src/proto/os_win32.pro
11397
11398Patch 7.3.178
11399Problem: C-indent doesn't handle code right after { correctly.
11400Solution: Fix detecting unterminated line. (Lech Lorens)
11401Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
11402
11403Patch 7.3.179
11404Problem: C-indent doesn't handle colon in string correctly.
11405Solution: Skip the string. (Lech Lorens)
11406Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
11407
11408Patch 7.3.180
11409Problem: When both a middle part of 'comments' matches and an end part, the
Bram Moolenaardd007ed2013-07-09 15:44:17 +020011410 middle part was used erroneously.
Bram Moolenaar913df812013-07-06 15:44:11 +020011411Solution: After finding the middle part match continue looking for a better
11412 end part match. (partly by Lech Lorens)
11413Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
11414
11415Patch 7.3.181
11416Problem: When repeating the insert of CTRL-V or a digraph the display may
11417 not be updated correctly.
11418Solution: Only call edit_unputchar() after edit_putchar(). (Lech Lorens)
11419Files: src/edit.c
11420
11421Patch 7.3.182 (after 7.3.180)
11422Problem: Compiler warning for uninitialized variable.
11423Solution: Add dummy initializer.
11424Files: src/misc1.c
11425
11426Patch 7.3.183 (after 7.3.174)
11427Problem: When Exuberant ctags binary is exuberant-ctags it's not found.
11428Solution: Add configure check for exuberant-ctags.
11429Files: src/configure.in, src/auto/configure
11430
11431Patch 7.3.184
11432Problem: Static code analysis errors in riscOS.
11433Solution: Make buffer size bigger. (Dominique Pelle)
11434Files: src/gui_riscos.c
11435
11436Patch 7.3.185
11437Problem: ":windo g/pattern/q" closes windows and reports "N more lines".
11438 (Tim Chase)
11439Solution: Remember what buffer ":global" started in. (Jean-Rene David)
11440Files: src/ex_cmds.c
11441
11442Patch 7.3.186
11443Problem: When 'clipboard' contains "unnamed" or "unnamedplus" the value of
11444 v:register is wrong for operators without a specific register.
11445Solution: Adjust the register according to 'clipboard'. (Ingo Karkat)
11446Files: src/normal.c
11447
11448Patch 7.3.187
11449Problem: The RISC OS port has obvious errors and is not being maintained.
11450Solution: Remove the RISC OS files and code.
11451Files: src/ascii.h, src/eval.c, src/ex_cmds.c, src/ex_cmds2.c,
11452 src/ex_docmd.c, src/fileio.c, src/globals.h, src/gui.c, src/gui.h,
11453 src/main.c, src/memfile.c, src/memline.c, src/misc1.c,
11454 src/proto.h, src/quickfix.c, src/search.c, src/structs.h,
11455 src/term.c, src/termlib.c, src/version.c, src/vim.h,
11456 src/gui_riscos.h, src/os_riscos.h, src/gui_riscos.c,
11457 src/os_riscos.c, runtime/doc/os_risc.txt
11458
11459Patch 7.3.188
11460Problem: More RISC OS files to remove.
11461Solution: Remove them. Update the file list.
11462Files: src/proto/gui_riscos.pro, src/proto/os_riscos.pro, Filelist
11463
11464Patch 7.3.189 (after 7.3.186)
11465Problem: Can't build without +clipboard feature. (Christian Ebert)
11466Solution: Add the missing #ifdef.
11467Files: src/normal.c
11468
11469Patch 7.3.190
11470Problem: When there is a "containedin" syntax argument highlighting may be
11471 wrong. (Radek)
11472Solution: Reset current_next_list. (Ben Schmidt)
11473Files: src/syntax.c
11474
11475Patch 7.3.191
11476Problem: Still some RISC OS stuff to remove.
11477Solution: Remove files and lines. (Hong Xu)
11478 Remove the 'osfiletype' option code.
11479Files: README_extra.txt, src/Make_ro.mak, src/INSTALL, src/Makefile,
11480 src/buffer.c, src/eval.c, src/feature.h, src/option.c,
11481 src/option.h, src/structs.h, src/version.c, src/pty.c, Filelist
11482
11483Patch 7.3.192
11484Problem: Ex command ":s/ \?/ /g" splits multi-byte characters into bytes.
11485 (Dominique Pelle)
11486Solution: Advance over whole character instead of one byte.
11487Files: src/ex_cmds.c
11488
11489Patch 7.3.193
11490Problem: In the command line window ":close" doesn't work properly. (Tony
11491 Mechelynck)
11492Solution: Use Ctrl_C instead of K_IGNORE for cmdwin_result. (Jean-Rene
11493 David)
11494Files: src/ex_docmd.c, src/ex_getln.c
11495
11496Patch 7.3.194
11497Problem: When "b" is a symlink to directory "a", resolve("b/") doesn't
11498 result in "a/". (ZyX)
11499Solution: Remove the trailing slash. (Jean-Rene David)
11500Files: src/eval.c
11501
11502Patch 7.3.195
11503Problem: "} else" causes following lines to be indented too much. (Rouben
11504 Rostamian)
11505Solution: Better detection for the "else". (Lech Lorens)
11506Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
11507
11508Patch 7.3.196
11509Problem: Can't intercept a character that is going to be inserted.
11510Solution: Add the InsertCharPre autocommand event. (Jakson A. Aquino)
11511Files: runtime/doc/autocmd.txt, runtime/doc/eval.txt,
11512 runtime/doc/map.txt, src/edit.c, src/eval.c, src/fileio.c,
11513 src/vim.h
11514
11515Patch 7.3.197
11516Problem: When a QuickfixCmdPost event removes all errors, Vim still tries
11517 to jump to the first error, resulting in E42.
11518Solution: Get the number of error after the autocmd event. (Mike Lundy)
11519Files: src/quickfix.c
11520
11521Patch 7.3.198
11522Problem: No completion for ":lang".
11523Solution: Get locales to complete from. (Dominique Pelle)
11524Files: src/eval.c, src/ex_cmds2.c, src/ex_getln.c,
11525 src/proto/ex_cmds2.pro, src/proto/ex_getln.pro, src/vim.h
11526
11527Patch 7.3.199
11528Problem: MS-Windows: Compilation problem of OLE with MingW compiler.
11529Solution: Put #ifdef around declarations. (Guopeng Wen)
11530Files: src/if_ole.h
11531
11532Patch 7.3.200 (after 7.3.198)
11533Problem: CTRL-D doesn't complete :lang.
11534Solution: Add the missing part of the change. (Dominique Pelle)
11535Files: src/ex_docmd.c
11536
11537Patch 7.3.201 (after 7.3.195)
11538Problem: "} else" still causes following lines to be indented too much.
11539Solution: Better detection for the "else" block. (Lech Lorens)
11540Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
11541
11542Patch 7.3.202
11543Problem: Cannot influence the indent inside a namespace.
11544Solution: Add the "N" 'cino' parameter. (Konstantin Lepa)
11545Files: runtime/doc/indent.txt, src/misc1.c, src/testdir/test3.in,
11546 src/testdir/test3.ok
11547
11548Patch 7.3.203
11549Problem: MS-Windows: Can't run an external command without a console window.
11550Solution: Support ":!start /b cmd". (Xaizek)
11551Files: runtime/doc/os_win32.txt, src/os_win32.c
11552
11553Patch 7.3.204 (after 7.3.201)
11554Problem: Compiler warning.
11555Solution: Add type cast. (Mike Williams)
11556Files: src/misc1.c
11557
11558Patch 7.3.205
11559Problem: Syntax "extend" doesn't work correctly.
11560Solution: Avoid calling check_state_ends() recursively (Ben Schmidt)
11561Files: src/syntax.c
11562
11563Patch 7.3.206
11564Problem: 64bit MS-Windows compiler warning.
11565Solution: Use HandleToLong() instead of type cast. (Mike Williams)
11566Files: src/gui_w32.c
11567
11568Patch 7.3.207
11569Problem: Can't compile with MSVC with pentium4 and 64 bit.
11570Solution: Only use SSE2 for 32 bit. (Mike Williams)
11571Files: src/Make_mvc.mak
11572
11573Patch 7.3.208
11574Problem: Early terminated if statement.
11575Solution: Remove the semicolon. (Lech Lorens)
11576Files: src/gui_mac.c
11577
11578Patch 7.3.209
11579Problem: MSVC Install instructions point to wrong batch file.
11580Solution: Add a batch file for use with MSVC 10.
11581Files: src/msvc2010.bat, src/INSTALLpc.txt, Filelist
11582
11583Patch 7.3.210
11584Problem: Can't always find the file when using cscope.
11585Solution: Add the 'cscoperelative' option. (Raghavendra D Prabhu)
11586Files: runtime/doc/if_cscop.txt, runtime/doc/options.txt,
11587 src/if_cscope.c
11588
11589Patch 7.3.211 (after 7.3.210)
11590Problem: Compiler warning.
11591Solution: Add type cast.
11592Files: src/if_cscope.c
11593
11594Patch 7.3.212
11595Problem: With Python 3.2 ":py3" fails.
11596Solution: Move PyEval_InitThreads() to after Py_Initialize(). (Roland
11597 Puntaier) Check abiflags in configure. (Andreas Behr)
11598Files: src/if_python3.c, src/auto/configure, src/configure.in
11599
11600Patch 7.3.213
11601Problem: Javascript object literal is not indented correctly.
11602Solution: Make a special case for when "J1" is in 'cino'. (Luc Deschenaux)
11603Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
11604
11605Patch 7.3.214
11606Problem: The text displayed by ":z-" isn't exactly like old Vi.
11607Solution: Add one to the start line number. (ChangZhuo Chen)
11608Files: src/ex_cmds.c
11609
11610Patch 7.3.215 (after 7.3.210)
11611Problem: Wrong file names in previous patch. (Toothpik)
11612Solution: Include the option changes.
11613Files: src/option.c, src/option.h
11614
11615Patch 7.3.216
11616Problem: When recovering a file a range of lines is missing. (Charles Jie)
11617Solution: Reset the index when advancing to the next pointer block. Add a
11618 test to verify recovery works.
11619Files: src/memline.c, src/testdir/test78.in, src/testdir/test78.ok,
11620 src/testdir/Makefile, src/testdir/Make_amiga.mak,
11621 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
11622 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms
11623
11624Patch 7.3.217
11625Problem: Inside an "if" a ":wincmd" causes problems.
11626Solution: When skipping commands let ":wincmd" skip over its argument.
11627Files: src/ex_docmd.c
11628
11629Patch 7.3.218 (after 7.3.212)
11630Problem: Tiny configuration problem with Python 3.
11631Solution: Add abiflags in one more place. (Andreas Behr)
11632Files: src/auto/configure, src/configure.in
11633
11634Patch 7.3.219
11635Problem: Can't compile with GTK on Mac.
11636Solution: Add some #ifdef trickery. (Ben Schmidt)
11637Files: src/os_mac_conv.c, src/os_macosx.m, src/vim.h
11638
11639Patch 7.3.220
11640Problem: Python 3: vim.error is a 'str' instead of an 'Exception' object,
11641 so 'except' or 'raise' it causes a 'SystemError' exception.
11642 Buffer objects do not support slice assignment.
11643 When exchanging text between Vim and Python, multibyte texts become
Bram Moolenaardd007ed2013-07-09 15:44:17 +020011644 garbage or cause Unicode Exceptions, etc.
Bram Moolenaar913df812013-07-06 15:44:11 +020011645 'py3file' tries to read in the file as Unicode, sometimes causes
11646 UnicodeDecodeException
11647Solution: Fix the problems. (lilydjwg)
11648Files: src/if_py_both.h, src/if_python.c, src/if_python3.c
11649
11650Patch 7.3.221
11651Problem: Text from the clipboard is sometimes handled as linewise, but not
11652 consistently.
11653Solution: Assume the text is linewise when it ends in a CR or NL.
11654Files: src/gui_gtk_x11.c, src/gui_mac.c, src/ops.c, src/os_msdos.c,
11655 src/os_mswin.c, src/os_qnx.c, src/ui.c
11656
11657Patch 7.3.222
11658Problem: Warning for building GvimExt.
11659Solution: Comment-out the DESCRIPTION line. (Mike Williams)
11660Files: src/GvimExt/gvimext.def, src/GvimExt/gvimext_ming.def
11661
11662Patch 7.3.223
11663Problem: MingW cross compilation doesn't work with tiny features.
11664Solution: Move acp_to_enc(), enc_to_utf16() and utf16_to_enc() outside of
11665 "#ifdef CLIPBOARD". Fix typo in makefile.
11666Files: src/Make_ming.mak, src/os_mswin.c
11667
11668Patch 7.3.224
11669Problem: Can't pass dict to sort function.
11670Solution: Add the optional {dict} argument to sort(). (ZyX)
11671Files: runtime/doc/eval.txt, src/eval.c
11672
11673Patch 7.3.225
11674Problem: Using "\n" in a substitute inside ":s" does not result in a line
11675 break.
11676Solution: Change behavior inside vim_regexec_nl(). Add tests. (Motoya
11677 Kurotsu)
11678Files: src/regexp.c, src/testdir/test79.in, src/testdir/test79.ok,
11679 src/testdir/test80.in, src/testdir/test80.ok,
11680 src/testdir/Makefile, src/testdir/Make_amiga.mak,
11681 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
11682 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms
11683
11684Patch 7.3.226
11685Problem: On a 64 bit system "syn sync fromstart" is very slow. (Bjorn
11686 Steinbrink)
11687Solution: Store the state when starting to parse from the first line.
11688Files: src/syntax.c
11689
11690Patch 7.3.227 (after 7.3.221)
11691Problem: Mac OS doesn't have the linewise clipboard fix.
11692Solution: Also change the Mac OS file. (Bjorn Winckler)
11693Files: src/os_macosx.m
11694
11695Patch 7.3.228
11696Problem: "2gj" does not always move to the correct position.
11697Solution: Get length of line after moving to a next line. (James Vega)
11698Files: src/normal.c
11699
11700Patch 7.3.229
11701Problem: Using fork() makes gvim crash on Mac when build with
11702 CoreFoundation.
11703Solution: Disallow fork() when __APPLE__ is defined. (Hisashi T Fujinaka)
11704Files: src/gui.c
11705
11706Patch 7.3.230
11707Problem: ":wundo" and ":rundo" don't unescape their argument. (Aaron
11708 Thoma)
11709Solution: Use FILE1 instead of XFILE.
11710Files: src/ex_cmds.h
11711
11712Patch 7.3.231
11713Problem: Runtime file patches failed.
11714Solution: Redo the patches made against the patched files instead of the
11715 files in the mercurial repository.
11716Files: runtime/doc/indent.txt, runtime/doc/os_win32.txt
11717
11718Patch 7.3.232
11719Problem: Python doesn't compile without +multi_byte
11720Solution: Use "latin1" when MULTI_BYTE is not defined.
11721Files: src/if_py_both.h
11722
11723Patch 7.3.233
11724Problem: ":scriptnames" and ":breaklist" show long file names.
11725Solution: Shorten to use "~/" when possible. (Jean-Rene David)
11726Files: src/ex_cmds2.c
11727
11728Patch 7.3.234
11729Problem: With GTK menu may be popping down.
11730Solution: Use event time instead of GDK_CURRENT_TIME. (Hong Xu)
11731Files: src/gui.c, src/gui.h, src/gui_gtk.c, src/gui_gtk_x11.c
11732
11733Patch 7.3.235
11734Problem: ";" gets stuck on a "t" command, it's not useful.
11735Solution: Add the ';' flag in 'cpo'. (Christian Brabandt)
11736Files: runtime/doc/motion.txt, runtime/doc/options.txt, src/option.h,
11737 src/search.c src/testdir/test81.in, src/testdir/test81.ok,
11738 src/testdir/Makefile, src/testdir/Make_amiga.mak,
11739 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
11740 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms
11741
11742Patch 7.3.236 (after 7.3.232)
11743Problem: Python 3 doesn't compile without +multi_byte
11744Solution: Use "latin1" when MULTI_BYTE is not defined. (lilydjwg)
11745Files: src/if_python3.c
11746
11747Patch 7.3.237
11748Problem: "filetype" completion doesn't work on Windows. (Yue Wu)
11749Solution: Don't use a glob pattern for the directories, use a list of
11750 directories. (Dominique Pelle)
11751Files: src/ex_getln.c
11752
11753Patch 7.3.238
11754Problem: Compiler warning for conversion.
11755Solution: Add type cast. (Mike Williams)
11756Files: src/ex_getln.c
11757
11758Patch 7.3.239
11759Problem: Python corrects the cursor column without taking 'virtualedit'
11760 into account. (lilydjwg)
11761Solution: Call check_cursor_col_win().
11762Files: src/if_py_both.h, src/mbyte.c, src/misc2.c, src/normal.c,
11763 src/proto/mbyte.pro, src/proto/misc2.pro
11764
11765Patch 7.3.240
11766Problem: External commands can't use pipes on MS-Windows.
11767Solution: Implement pipes and use them when 'shelltemp' isn't set. (Vincent
11768 Berthoux)
11769Files: src/eval.c, src/ex_cmds.c, src/misc2.c, src/os_unix.c,
11770 src/os_win32.c, src/proto/misc2.pro, src/ui.c
11771
11772Patch 7.3.241
11773Problem: Using CTRL-R CTRL-W on the command line may insert only part of
11774 the word.
11775Solution: Use the cursor position instead of assuming it is at the end of
11776 the command. (Tyru)
11777Files: src/ex_getln.c
11778
11779Patch 7.3.242
11780Problem: Illegal memory access in after_pathsep().
11781Solution: Check that the pointer is not at the start of the file name.
11782 (Dominique Pelle)
11783Files: src/misc2.c
11784
11785Patch 7.3.243
11786Problem: Illegal memory access in readline().
11787Solution: Swap the conditions. (Dominique Pelle)
11788Files: src/eval.c
11789
11790Patch 7.3.244
11791Problem: MS-Windows: Build problem with old compiler. (John Beckett)
11792Solution: Only use HandleToLong() when available. (Mike Williams)
11793Files: src/gui_w32.c
11794
11795Patch 7.3.245
11796Problem: Python 3.2 libraries not correctly detected.
11797Solution: Add the suffix to the library name. (Niclas Zeising)
11798Files: src/auto/configure, src/configure.in
11799
11800Patch 7.3.246 (after 7.3.235)
11801Problem: Repeating "f4" in "4444" skips one 4.
11802Solution: Check the t_cmd flag. (Christian Brabandt)
11803Files: src/search.c
11804
11805Patch 7.3.247
11806Problem: Running tests changes the users viminfo file. Test for patch
11807 7.3.246 missing.
11808Solution: Add "nviminfo" to the 'viminfo' option. Include the test.
11809Files: src/testdir/test78.in, src/testdir/test81.in
11810
11811Patch 7.3.248
11812Problem: PC Install instructions missing install instructions.
11813Solution: Step-by-step explanation. (Michael Soyka)
11814Files: src/INSTALLpc.txt
11815
11816Patch 7.3.249
11817Problem: Wrong indenting for array initializer.
11818Solution: Detect '}' in a better way. (Lech Lorens)
11819Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
11820
11821Patch 7.3.250
11822Problem: Python: Errors in Unicode characters not handled nicely.
11823Solution: Add the surrogateescape error handler. (lilydjwg)
11824Files: src/if_python3.c
11825
11826Patch 7.3.251
11827Problem: "gH<Del>" deletes the current line, except when it's the last
11828 line.
11829Solution: Set the "include" flag to indicate the last line is to be deleted.
11830Files: src/normal.c, src/ops.c
11831
11832Patch 7.3.252 (after 7.3.247)
11833Problem: Tests fail. (David Northfield)
11834Solution: Add missing update for .ok file.
11835Files: src/testdir/test81.ok
11836
11837Patch 7.3.253
11838Problem: "echo 'abc' > ''" returns 0 or 1, depending on 'ignorecase'.
11839 Checks in mb_strnicmp() for illegal and truncated bytes are
11840 wrong. Should not assume that byte length is equal before case
11841 folding.
11842Solution: Add utf_safe_read_char_adv() and utf_strnicmp(). Add a test for
11843 this. (Ivan Krasilnikov)
11844Files: src/mbyte.c src/testdir/test82.in, src/testdir/test82.ok,
11845 src/testdir/Makefile, src/testdir/Make_amiga.mak,
11846 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
11847 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms
11848
11849Patch 7.3.254
11850Problem: The coladd field is not reset when setting the line number for a
11851 ":call" command.
11852Solution: Reset it.
11853Files: src/eval.c
11854
11855Patch 7.3.255
11856Problem: When editing a file such as "File[2010-08-15].vim" an E16 error is
11857 given. (Manuel Stol)
11858Solution: Don't give an error for failing to compile the regexp.
11859Files: src/ex_docmd.c, src/misc1.c, src/vim.h
11860
11861Patch 7.3.256
11862Problem: Javascript indenting not sufficiently tested.
11863Solution: Add more tests. (Luc Deschenaux) Mark the lines that are indented
11864 wrong.
11865Files: src/testdir/test3.in, src/testdir/test3.ok
11866
11867Patch 7.3.257
11868Problem: Not all completions are available to user commands.
11869Solution: Add "color", "compiler", "file_in_path" and "locale". (Dominique
11870 Pelle)
11871Files: src/ex_docmd.c, runtime/doc/map.txt
11872
11873Patch 7.3.258
11874Problem: MS-Windows: The edit with existing vim context menu entries can be
11875 unwanted.
11876Solution: Let a registry entry disable them. (Jerome Vuarand)
11877Files: src/GvimExt/gvimext.cpp
11878
11879Patch 7.3.259
11880Problem: Equivalence classes only work for latin characters.
11881Solution: Add the Unicode equivalence characters. (Dominique Pelle)
11882Files: runtime/doc/pattern.txt, src/regexp.c, src/testdir/test44.in,
11883 src/testdir/test44.ok
11884
11885Patch 7.3.260
11886Problem: CursorHold triggers on an incomplete mapping. (Will Gray)
11887Solution: Don't trigger CursorHold when there is typeahead.
11888Files: src/fileio.c
11889
11890Patch 7.3.261
Bram Moolenaar9ba7e172013-07-17 22:37:26 +020011891Problem: G++ error message erroneously recognized as error.
Bram Moolenaar913df812013-07-06 15:44:11 +020011892Solution: Ignore "In file included from" line also when it ends in a colon.
11893 (Fernando Castillo)
11894Files: src/option.h
11895
11896Patch 7.3.262
11897Problem: Photon code style doesn't match Vim style.
11898Solution: Clean up some of it. (Elias Diem)
11899Files: src/gui_photon.c
11900
11901Patch 7.3.263
11902Problem: Perl and Tcl have a few code style problems.
11903Solution: Clean it up. (Elias Diem)
11904Files: src/if_perl.xs, src/if_tcl.c
11905
11906Patch 7.3.264
11907Problem: When the current directory name contains wildcard characters, such
11908 as "foo[with]bar", the tags file can't be found. (Jeremy
11909 Erickson)
11910Solution: When searching for matching files also match without expanding
11911 wildcards. This is a bit of a hack.
11912Files: src/vim.h, src/misc1.c, src/misc2.c
11913
11914Patch 7.3.265
11915Problem: When storing a pattern in search history there is no proper check
11916 for the separator character.
11917Solution: Pass the separator character to in_history(). (Taro Muraoka)
11918Files: src/ex_getln.c
11919
11920Patch 7.3.266
11921Problem: In Gvim with iBus typing space in Insert mode doesn't work.
11922Solution: Clear xim_expected_char after checking it.
11923Files: src/mbyte.c
11924
11925Patch 7.3.267
11926Problem: Ruby on Mac OS X 10.7 may crash.
11927Solution: Avoid alloc(0). (Bjorn Winckler)
11928Files: src/if_ruby.c
11929
11930Patch 7.3.268
11931Problem: Vim freezes when executing an external command with zsh.
11932Solution: Use O_NOCTTY both in the master and slave. (Bjorn Winckler)
11933Files: src/os_unix.c
11934
11935Patch 7.3.269
11936Problem: 'shellcmdflag' only works with one flag.
11937Solution: Split into multiple arguments. (Gary Johnson)
11938Files: src/os_unix.c
11939
11940Patch 7.3.270
11941Problem: Illegal memory access.
11942Solution: Swap conditions. (Dominique Pelle)
11943Files: src/ops.c
11944
11945Patch 7.3.271
11946Problem: Code not following Vim coding style.
11947Solution: Fix the style. (Elias Diem)
11948Files: src/gui_photon.c
11949
11950Patch 7.3.272
11951Problem: ":put =list" does not add an empty line for a trailing empty
11952 item.
11953Solution: Add a trailing NL when turning a list into a string.
11954Files: src/eval.c
11955
11956Patch 7.3.273
11957Problem: A BOM in an error file is seen as text. (Aleksey Baibarin)
11958Solution: Remove the BOM from the text before evaluating. (idea by Christian
11959 Brabandt)
11960Files: src/quickfix.c, src/mbyte.c, src/proto/mbyte.pro,
11961 src/testdir/test10.in
11962
11963Patch 7.3.274
11964Problem: With concealed characters tabs do not have the right size.
11965Solution: Use VCOL_HLC instead of vcol. (Eiichi Sato)
11966Files: src/screen.c
11967
11968Patch 7.3.275
11969Problem: MS-Windows: When using a black background some screen updates
11970 cause the window to flicker.
11971Solution: Add WS_CLIPCHILDREN to CreateWindow(). (René Aguirre)
11972Files: src/gui_w32.c
11973
11974Patch 7.3.276
11975Problem: GvimExt sets $LANG in the wrong way.
11976Solution: Save the environment and use it for gvim. (Yasuhiro Matsumoto)
11977Files: src/GvimExt/gvimext.cpp
11978
11979Patch 7.3.277
11980Problem: MS-Windows: some characters do not show in dialogs.
11981Solution: Use the wide methods when available. (Yanwei Jia)
11982Files: src/gui_w32.c, src/gui_w48.c, src/os_mswin.c, src/os_win32.c,
11983 src/os_win32.h
11984
11985Patch 7.3.278
11986Problem: Passing the file name to open in VisVim doesn't work.
11987Solution: Adjust the index and check for end of buffer. (Jiri Sedlak)
11988Files: src/VisVim/Commands.cpp
11989
11990Patch 7.3.279
11991Problem: With GTK, when gvim is full-screen and a tab is opened and using a
11992 specific monitor configuration the window is too big.
11993Solution: Adjust the window size like on MS-Windows. (Yukihiro Nakadaira)
11994Files: src/gui.c, src/gui_gtk_x11.c, src/proto/gui_gtk_x11.pro
11995
11996Patch 7.3.280
11997Problem: ":lmake" does not update the quickfix window title.
11998Solution: Update the title. (Lech Lorens)
11999Files: src/quickfix.c, src/testdir/test10.in, src/testdir/test10.ok
12000
12001Patch 7.3.281
12002Problem: After using "expand('%:8')" the buffer name is changed.
12003Solution: Make a copy of the file name before shortening it.
12004Files: src/eval.c
12005
12006Patch 7.3.282
12007Problem: When using input() and :echo in a loop the displayed text is
12008 incorrect. (Benjamin Fritz)
12009Solution: Only restore the cursor position when there is a command line.
12010 (Ben Schmidt)
12011Files: src/ex_getln.c
12012
12013Patch 7.3.283
12014Problem: An expression mapping with a multi-byte character containing a
12015 0x80 byte gets messed up. (ZyX)
12016Solution: Unescape the expression before evaluating it (Yukihiro Nakadaira)
12017Files: src/getchar.c
12018
12019Patch 7.3.284
12020Problem: The str2special() function doesn't handle multi-byte characters
12021 properly.
12022Solution: Recognize multi-byte characters. (partly by Vladimir Vichniakov)
12023Files: src/getchar.c, src/message.c, src/misc2.c
12024
12025Patch 7.3.285 (after 7.3.284)
12026Problem: Mapping <Char-123> no longer works.
12027Solution: Properly check for "char-". Add a test for it.
12028Files: src/misc2.c, src/testdir/test75.in, src/testdir/test75.ok
12029
12030Patch 7.3.286
12031Problem: Crash when using "zd" on a large number of folds. (Sam King)
12032Solution: Recompute pointer after reallocating array. Move fewer entries
12033 when making room.
12034Files: src/fold.c
12035
12036Patch 7.3.287
12037Problem: Can't compile with MSVC and tiny options.
12038Solution: Move variables and #ifdefs. (Sergey Khorev)
12039Files: src/os_win32.c
12040
12041Patch 7.3.288
12042Problem: has('python') may give an error message for not being able to load
12043 the library after using python3.
12044Solution: Only give the error when the verbose argument is true.
12045Files: src/if_python.c, src/if_python3.c
12046
12047Patch 7.3.289
12048Problem: Complete function isn't called when the leader changed.
12049Solution: Call ins_compl_restart() when the leader changed. (Taro Muraoka)
12050Files: src/edit.c
12051
12052Patch 7.3.290
12053Problem: When a BufWriteCmd autocommand resets 'modified' this doesn't
12054 change older buffer states to be marked as 'modified' like
12055 ":write" does. (Yukihiro Nakadaira)
12056Solution: When the BufWriteCmd resets 'modified' then adjust the undo
12057 information like ":write" does.
12058Files: src/fileio.c
12059
12060Patch 7.3.291
12061Problem: Configure doesn't work properly with Python3.
12062Solution: Put -ldl before $LDFLAGS. Add PY3_NO_RTLD_GLOBAL. (Roland
12063 Puntaier)
12064Files: src/config.h.in, src/auto/configure, src/configure.in
12065
12066Patch 7.3.292
12067Problem: Crash when using fold markers and selecting a visual block that
12068 includes a folded line and goes to end of line. (Sam Lidder)
12069Solution: Check for the column to be MAXCOL. (James Vega)
12070Files: src/screen.c
12071
12072Patch 7.3.293
12073Problem: MSVC compiler has a problem with non-ASCII characters.
12074Solution: Avoid non-ASCII characters. (Hong Xu)
12075Files: src/ascii.h, src/spell.c
12076
12077Patch 7.3.294 (after 7.3.289)
12078Problem: Patch 289 causes more problems than it solves.
Bram Moolenaardd007ed2013-07-09 15:44:17 +020012079Solution: Revert the patch until a better solution is found.
Bram Moolenaar913df812013-07-06 15:44:11 +020012080Files: src/edit.c
12081
12082Patch 7.3.295
12083Problem: When filtering text with an external command Vim may not read all
12084 the output.
12085Solution: When select() is interrupted loop and try again. (James Vega)
12086Files: src/os_unix.c
12087
12088Patch 7.3.296
12089Problem: When writing to an external command a zombie process may be left
12090 behind.
12091Solution: Wait on the process. (James Vega)
12092Files: src/os_unix.c
12093
12094Patch 7.3.297
12095Problem: Can't load Perl 5.14 dynamically.
12096Solution: Add code in #ifdefs. (Charles Cooper)
12097Files: if_perl.xs
12098
12099Patch 7.3.298
12100Problem: Built-in colors are different from rgb.txt.
12101Solution: Adjust the color values. (Benjamin Haskell)
12102Files: src/gui_photon.c, src/gui_w48.c
12103
12104Patch 7.3.299
12105Problem: Source code not in Vim style.
12106Solution: Adjust the style. (Elias Diem)
12107Files: src/gui_photon.c
12108
12109Patch 7.3.300
12110Problem: Python doesn't parse multi-byte argument correctly.
12111Solution: Use "t" instead of "s". (lilydjwg)
12112Files: src/if_py_both.h
12113
12114Patch 7.3.301
12115Problem: When 'smartindent' and 'copyindent' are set a Tab is used even
12116 though 'expandtab' is set.
12117Solution: Do not insert Tabs. Add a test. (Christian Brabandt)
12118Files: src/misc1.c, src/testdir/test19.in, src/testdir/test19.ok
12119
12120Patch 7.3.302 (after 7.3.301)
12121Problem: Test 19 fails without 'smartindent' and +eval.
12122Solution: Don't use ":exe". Source small.vim.
12123Files: src/testdir/test19.in
12124
12125Patch 7.3.303 (after 7.3.296)
12126Problem: Compilation error.
12127Solution: Correct return type from int to pid_t. (Danek Duvall)
12128Files: src/os_unix.c
12129
12130Patch 7.3.304
12131Problem: Strawberry Perl doesn't work on MS-Windows.
12132Solution: Use xsubpp if needed. (Yasuhiro Matsumoto)
12133Files: src/Make_ming.mak, src/Make_mvc.mak
12134
12135Patch 7.3.305
12136Problem: Auto-loading a function while editing the command line causes
12137 scrolling up the display.
12138Solution: Don't set msg_scroll when defining a function and the user is not
12139 typing. (Yasuhiro Matsumoto)
12140Files: src/eval.c
12141
12142Patch 7.3.306
12143Problem: When closing a window there is a chance that deleting a scrollbar
12144 triggers a GUI resize, which uses the window while it is not in a
12145 valid state.
12146Solution: Set the buffer pointer to NULL to be able to detect the invalid
12147 situation. Fix a few places that used the buffer pointer
12148 incorrectly.
12149Files: src/buffer.c, src/ex_cmds.c, src/term.c, src/window.c
12150
12151Patch 7.3.307
12152Problem: Python 3 doesn't support slice assignment.
12153Solution: Implement slices. (Brett Overesch, Roland Puntaier)
12154Files: src/if_python3.c
12155
12156Patch 7.3.308
12157Problem: Writing to 'verbosefile' has problems, e.g. for :highlight.
12158Solution: Do not use a separate verbose_write() function but write with the
12159 same code that does redirecting. (Yasuhiro Matsumoto)
12160Files: src/message.c
12161
12162Patch 7.3.309 (after 7.3.307)
12163Problem: Warnings for pointer types.
12164Solution: Change PySliceObject to PyObject.
12165Files: src/if_python3.c
12166
12167Patch 7.3.310
12168Problem: Code not following Vim style.
12169Solution: Fix the style. (Elias Diem)
12170Files: src/gui_photon.c
12171
12172Patch 7.3.311 (replaces 7.3.289)
12173Problem: Complete function isn't called when the leader changed.
12174Solution: Allow the complete function to return a dictionary with a flag
12175 that indicates ins_compl_restart() is to be called when the leader
12176 changes. (Taro Muraoka)
12177Files: runtime/insert.txt, src/edit.c, src/eval.c, src/proto/eval.pro
12178
12179Patch 7.3.312 (after 7.3.306)
12180Problem: Can't compile with tiny features.
12181Solution: Add #ifdef around win_valid().
12182Files: src/buffer.c
12183
12184Patch 7.3.313 after 7.3.307)
12185Problem: One more warning when compiling with dynamic Python 3.
12186Solution: Change PySliceObject to PyObject.
12187Files: src/if_python3.c
12188
12189Patch 7.3.314 (after 7.3.304)
12190Problem: Missing parenthesis.
12191Solution: Add it. (Benjamin R. Haskell)
12192Files: src/Make_mvc.mak
12193
12194Patch 7.3.315
12195Problem: Opening a window before forking causes problems for GTK.
12196Solution: Fork first, create the window in the child and report back to the
12197 parent process whether it worked. If successful the parent exits,
12198 if unsuccessful the child exits and the parent continues in the
12199 terminal. (Tim Starling)
12200Files: src/gui.c
12201
12202Patch 7.3.316 (after 7.3.306)
12203Problem: Crash when 'colorcolumn' is set and closing buffer.
12204Solution: Check for w_buffer to be NULL. (Yasuhiro Matsumoto)
12205Files: src/option.c
12206
12207Patch 7.3.317
12208Problem: Calling debug.debug() in Lua may cause Vim to hang.
12209Solution: Add a better debug method. (Rob Hoelz, Luis Carvalho)
12210Files: src/if_lua.c
12211
12212Patch 7.3.318
12213Problem: "C" on the last line deletes that line if it's blank.
12214Solution: Only delete the last line for a delete operation. (James Vega)
12215Files: src/ops.c
12216
12217Patch 7.3.319 (after 7.3.311)
12218Problem: Redobuff doesn't always include changes of the completion leader.
12219Solution: Insert backspaces as needed. (idea by Taro Muraoka)
12220Files: src/edit.c
12221
12222Patch 7.3.320
12223Problem: When a 0xa0 character is in a sourced file the error message for
12224 unrecognized command does not show the problem.
12225Solution: Display 0xa0 as <a0>.
12226Files: src/ex_docmd.c
12227
12228Patch 7.3.321
12229Problem: Code not following Vim style.
12230Solution: Fix the style. (Elias Diem)
12231Files: src/os_qnx.c
12232
12233Patch 7.3.322
12234Problem: #ifdef for PDP_RETVAL doesn't work, INT_PTR can be a typedef.
12235Solution: Check the MSC version and 64 bit flags. (Sergiu Dotenco)
12236Files: src/os_mswin.c
12237
12238Patch 7.3.323
12239Problem: The default 'errorformat' does not ignore some "included from"
12240 lines.
12241Solution: Add a few more patterns. (Ben Boeckel)
12242Files: src/option.h
12243
12244Patch 7.3.324 (after 7.3.237)
12245Problem: Completion for ":compiler" shows color scheme names.
12246Solution: Fix the directory name. (James Vega)
12247Files: src/ex_getln.c
12248
12249Patch 7.3.325
12250Problem: A duplicated function argument gives an internal error.
12251Solution: Give a proper error message. (based on patch by Tyru)
12252Files: src/eval.c
12253
12254Patch 7.3.326
12255Problem: MingW 4.6 no longer supports the -mno-cygwin option.
12256Solution: Split the Cygwin and MingW makefiles. (Matsushita Shougo)
12257Files: src/GvimExt/Make_cyg.mak, src/GvimExt/Make_ming.mak,
12258 src/Make_cyg.mak, src/Make_ming.mak, src/xxd/Make_ming.mak,
12259 Filelist
12260
12261Patch 7.3.327
12262Problem: When jumping to a help tag a closed fold doesn't open.
12263Solution: Save and restore KeyTyped. (Yasuhiro Matsumoto)
12264Files: src/ex_cmds.c
12265
12266Patch 7.3.328
12267Problem: When command line wraps the cursor may be displayed wrong when
12268 there are multi-byte characters.
12269Solution: Position the cursor before drawing the text. (Yasuhiro Matsumoto)
12270Files: src/ex_getln.c
12271
12272Patch 7.3.329
12273Problem: When skipping over code from ":for" to ":endfor" get an error for
12274 calling a dict function. (Yasuhiro Matsumoto)
12275Solution: Ignore errors when skipping over :call command.
12276Files: src/ex_docmd.c, src/eval.c
12277
12278Patch 7.3.330
12279Problem: When longjmp() is invoked if the X server gives an error the state
12280 is not properly restored.
12281Solution: Reset vgetc_busy. (Yukihiro Nakadaira)
12282Files: src/main.c
12283
12284Patch 7.3.331
12285Problem: "vit" selects wrong text when a tag name starts with the same text
12286 as an outer tag name. (Ben Fritz)
12287Solution: Add "\>" to the pattern to check for word boundary.
12288Files: src/search.c
12289
12290Patch 7.3.332 (after 7.3.202)
12291Problem: Indent after "public:" is not increased in C++ code. (Lech Lorens)
12292Solution: Check for namespace after the regular checks. (partly by Martin
12293 Gieseking)
12294Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
12295
12296Patch 7.3.333
12297Problem: Using "." to repeat a Visual delete counts the size in bytes, not
12298 characters. (Connor Lane Smith)
12299Solution: Store the virtual column numbers instead of byte positions.
12300Files: src/normal.c
12301
12302Patch 7.3.334
12303Problem: Latest MingW about XSUBPP referencing itself. (Gongqian Li)
12304Solution: Rename the first use to XSUBPPTRY.
12305Files: src/Make_ming.mak
12306
12307Patch 7.3.335
12308Problem: When 'imdisable' is reset from an autocommand in Insert mode it
12309 doesn't take effect.
12310Solution: Call im_set_active() in Insert mode. (Taro Muraoka)
12311Files: src/option.c
12312
12313Patch 7.3.336
12314Problem: When a tags file specifies an encoding different from 'enc' it
12315 may hang and using a pattern doesn't work.
12316Solution: Convert the whole line. Continue reading the header after the
12317 SORT tag. Add test83. (Yukihiro Nakadaira)
12318Files: src/tag.c, src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
12319 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
12320 src/testdir/Make_vms.mms, src/testdir/Makefile,
12321 src/testdir/test83-tags2, src/testdir/test83-tags3,
12322 src/testdir/test83.in, src/testdir/test83.ok
12323
12324Patch 7.3.337 (after 7.3.295)
12325Problem: Screen doesn't update after resizing the xterm until a character
12326 is typed.
12327Solution: When the select call is interrupted check do_resize. (Taylor
12328 Hedberg)
12329Files: src/os_unix.c
12330
12331Patch 7.3.338
12332Problem: Using getchar() in an expression mapping doesn't work well.
12333Solution: Don't save and restore the typeahead. (James Vega)
12334Files: src/getchar.c, src/testdir/test34.ok
12335
12336Patch 7.3.339
12337Problem: "make shadow" doesn't link all test files.
12338Solution: Add a line in Makefile and Filelist.
12339Files: src/Makefile, Filelist
12340
12341Patch 7.3.340
12342Problem: When 'verbosefile' is set ftplugof.vim can give an error.
12343Solution: Only remove filetypeplugin autocommands when they exist. (Yasuhiro
12344 Matsumoto)
12345Files: runtime/ftplugof.vim
12346
12347Patch 7.3.341
12348Problem: Local help files are only listed in help.txt, not in translated
12349 help files.
12350Solution: Also find translated help files. (Yasuhiro Matsumoto)
12351Files: src/ex_cmds.c
12352
12353Patch 7.3.342
12354Problem: Code not in Vim style.
12355Solution: Fix the style. (Elias Diem)
12356Files: src/os_amiga.c, src/os_mac_conv.c, src/os_win16.c
12357
12358Patch 7.3.343
12359Problem: No mouse support for urxvt.
12360Solution: Implement urxvt mouse support, also for > 252 columns. (Yiding
12361 Jia)
12362Files: src/feature.h, src/keymap.h, src/option.h, src/os_unix.c,
12363 src/term.c, src/version.c
12364
12365Patch 7.3.344
12366Problem: Problem with GUI startup related to XInitThreads.
12367Solution: Use read() and write() instead of fputs() and fread(). (James
12368 Vega)
12369Files: src/gui.c
12370
12371Patch 7.3.345
12372Problem: When switching language with ":lang" the window title doesn't
12373 change until later.
12374Solution: Update the window title right away. (Dominique Pelle)
12375Files: src/ex_cmds2.c
12376
12377Patch 7.3.346
12378Problem: It's hard to test netbeans commands.
12379Solution: Process netbeans commands after :sleep. (Xavier de Gaye)
12380Files: runtime/doc/netbeans.txt, src/ex_docmd.c, src/netbeans.c
12381
12382Patch 7.3.347
12383Problem: When dropping text from a browser on Vim it receives HTML even
12384 though "html" is excluded from 'clipboard'. (Andrei Avk)
12385Solution: Fix the condition for TARGET_HTML.
12386Files: src/gui_gtk_x11.c
12387
12388Patch 7.3.348
12389Problem: "call range(1, 947948399)" causes a crash. (ZyX)
12390Solution: Avoid a loop in the out of memory message.
12391Files: src/misc2.c
12392
12393Patch 7.3.349
12394Problem: When running out of memory during startup trying to open a
12395 swapfile will loop forever.
12396Solution: Let findswapname() set dirp to NULL if out of memory.
12397Files: src/memline.c
12398
12399Patch 7.3.350
12400Problem: Block of code after ":lua << EOF" may not work. (Paul Isambert)
12401Solution: Recognize the ":lua" command, skip to EOF.
12402Files: src/eval.c
12403
12404Patch 7.3.351
12405Problem: Text formatting uses start of insert position when it should not.
12406 (Peter Wagenaar)
12407Solution: Do not use Insstart when intentionally formatting.
12408Files: src/edit.c
12409
12410Patch 7.3.352
12411Problem: When completing methods dict functions and script-local functions
12412 get in the way.
12413Solution: Sort function names starting with "<" to the end. (Yasuhiro
12414 Matsumoto)
12415Files: src/ex_getln.c
12416
12417Patch 7.3.353 (after 7.3.343)
12418Problem: Missing part of the urxvt patch.
12419Solution: Add the change in term.c
12420Files: src/term.c
12421
12422Patch 7.3.354
12423Problem: ":set backspace+=eol" doesn't work when 'backspace' has a
12424 backwards compatible value of 2.
12425Solution: Convert the number to a string. (Hirohito Higashi)
12426Files: src/option.c
12427
12428Patch 7.3.355
12429Problem: GTK warnings when using netrw.vim. (Ivan Krasilnikov)
12430Solution: Do not remove the beval event handler twice.
12431Files: src/option.c
12432
12433Patch 7.3.356
12434Problem: Using "o" with 'cindent' set may freeze Vim. (lolilolicon)
12435Solution: Skip over {} correctly. (Hari G)
12436Files: src/misc1.c
12437
12438Patch 7.3.357
12439Problem: Compiler warning in MS-Windows console build.
12440Solution: Adjust return type of PrintHookProc(). (Mike Williams)
12441Files: src/os_mswin.c
12442
12443Patch 7.3.358 (after 7.3.353)
12444Problem: Mouse support doesn't work properly.
12445Solution: Add HMT_URXVT. (lilydjwg, James McCoy)
12446Files: src/term.c
12447
12448Patch 7.3.359
12449Problem: Command line completion shows dict functions.
12450Solution: Skip dict functions for completion. (Yasuhiro Matsumoto)
12451Files: src/eval.c
12452
12453Patch 7.3.360
12454Problem: Interrupting the load of an autoload function may cause a crash.
12455Solution: Do not use the hashitem when not valid. (Yukihiro Nakadaira)
12456Files: src/eval.c
12457
12458Patch 7.3.361
12459Problem: Accessing memory after it is freed when EXITFREE is defined.
12460Solution: Don't access curwin when firstwin is NULL. (Dominique Pelle)
12461Files: src/buffer.c
12462
12463Patch 7.3.362
12464Problem: ml_get error when using ":g" with folded lines.
12465Solution: Adjust the line number for changed_lines(). (Christian Brabandt)
12466Files: src/ex_cmds.c
12467
12468Patch 7.3.363
12469Problem: C indenting is wrong after #endif followed by a semicolon.
12470Solution: Add special handling for a semicolon in a line by itself. (Lech
12471 Lorens)
12472Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
12473
12474Patch 7.3.364 (after 7.3.353)
12475Problem: Can't compile on HP-UX. (John Marriott)
12476Solution: Only use TTYM_URXVT when it is defined.
12477Files: src/term.c
12478
12479Patch 7.3.365
12480Problem: Crash when using a large Unicode character in a file that has
12481 syntax highlighting. (ngollan)
12482Solution: Check for going past the end of the utf tables. (Dominique Pelle)
12483Files: src/mbyte.c
12484
12485Patch 7.3.366
12486Problem: A tags file with an extremely long name causes errors.
12487Solution: Ignore tags that are too long. (Arno Renevier)
12488Files: src/tag.c
12489
12490Patch 7.3.367
12491Problem: :wundo and :rundo use a wrong checksum.
12492Solution: Include the last line when computing the hash. (Christian Brabandt)
12493Files: src/undo.c
12494
12495Patch 7.3.368
12496Problem: Gcc complains about redefining _FORTIFY_SOURCE.
12497Solution: Undefine it before redefining it.
12498Files: src/Makefile, src/configure.in, src/auto/configure
12499
12500Patch 7.3.369
12501Problem: When compiled with Gnome get an error message when using --help.
12502Solution: Don't fork. (Ivan Krasilnikov)
12503Files: src/main.c
12504
12505Patch 7.3.370
12506Problem: Compiler warns for unused variable in Lua interface.
12507Solution: Remove the variable.
12508Files: src/if_lua.c
12509
12510Patch 7.3.371
12511Problem: Crash in autocomplete. (Greg Weber)
12512Solution: Check not going over allocated buffer size.
12513Files: src/misc2.c
12514
12515Patch 7.3.372
12516Problem: When using a command line mapping to <Up> with file name
12517 completion to go one directory up, 'wildchar' is inserted.
12518 (Yasuhiro Matsumoto)
12519Solution: Set the KeyTyped flag.
12520Files: src/ex_getln.c
12521
12522Patch 7.3.373 (after 7.3.366)
12523Problem: A tags file with an extremely long name may cause an infinite loop.
12524Solution: When encountering a long name switch to linear search.
12525Files: src/tag.c
12526
12527Patch 7.3.374
12528Problem: ++encoding does not work properly.
12529Solution: Recognize ++encoding before ++enc. (Charles Cooper)
12530Files: src/ex_docmd.c
12531
12532Patch 7.3.375
12533Problem: Duplicate return statement.
12534Solution: Remove the superfluous one. (Dominique Pelle)
12535Files: src/gui_mac.c
12536
12537Patch 7.3.376
12538Problem: Win32: Toolbar repainting does not work when the mouse pointer
12539 hovers over a button.
12540Solution: Call DefWindowProc() when not handling an event. (Sergiu Dotenco)
12541Files: src/gui_w32.c
12542
12543Patch 7.3.377
12544Problem: No support for bitwise AND, OR, XOR and invert.
12545Solution: Add and(), or(), invert() and xor() functions.
12546Files: src/eval.c, src/testdir/test49.in, src/testdir/test65.in,
12547 src/testdir/test65.ok, runtime/doc/eval.txt
12548
12549Patch 7.3.378
12550Problem: When cross-compiling the check for uint32_t fails.
12551Solution: Only give a warning message. (Maksim Melnikau)
12552Files: src/configure.in, src/auto/configure
12553
12554Patch 7.3.379
12555Problem: C-indenting wrong for static enum.
12556Solution: Skip over "static". (Lech Lorens)
12557Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
12558
12559Patch 7.3.380
12560Problem: C-indenting wrong for a function header.
12561Solution: Skip to the start paren. (Lech Lorens)
12562Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
12563
12564Patch 7.3.381
12565Problem: Configure silently skips interfaces that won't work.
12566Solution: Add the --enable-fail_if_missing argument. (Shlomi Fish)
12567Files: src/Makefile, src/configure.in, src/auto/configure
12568
12569Patch 7.3.382 (after 7.3.376)
12570Problem: IME characters are inserted twice.
12571Solution: Do not call DefWindowProc() if the event was handled. (Yasuhiro
12572 Matsumoto)
12573Files: src/gui_w32.c
12574
12575Patch 7.3.383
12576Problem: For EBCDIC pound sign is defined as 't'.
12577Solution: Correctly define POUND.
12578Files: src/ascii.h
12579
12580Patch 7.3.384
12581Problem: Mapping CTRL-K in Insert mode breaks CTRL-X CTRL-K for dictionary
12582 completion.
12583Solution: Add CTRL-K to the list of recognized keys. (James McCoy)
12584Files: src/edit.c
12585
12586Patch 7.3.385
12587Problem: When using an expression mapping on the command line the cursor
12588 ends up in the wrong place. (Yasuhiro Matsumoto)
12589Solution: Save and restore msg_col and msg_row when evaluating the
12590 expression.
12591Files: src/getchar.
12592
12593Patch 7.3.386
12594Problem: Test 83 fails when iconv does not support cp932. (raf)
12595Solution: Test if conversion works. (Yukihiro Nakadaira)
12596Files: src/testdir/test83.in
12597
12598Patch 7.3.387 (after 7.3.386)
12599Problem: Test 83 may fail for some encodings.
12600Solution: Set 'encoding' to utf-8 earlier.
12601Files: src/testdir/test83.in
12602
12603Patch 7.3.388
12604Problem: Crash on exit when EXITFREE is defined and using tiny features.
12605Solution: Check for NULL window pointer. (Dominique Pelle)
12606Files: src/buffer.c
12607
12608Patch 7.3.389
12609Problem: After typing at a prompt the "MORE" message appears too soon.
12610Solution: reset lines_left in msg_end_prompt(). (Eswald)
12611Files: src/message.c
12612
12613Patch 7.3.390
12614Problem: Using NULL buffer pointer in a window.
12615Solution: Check for w_buffer being NULL in more places. (Bjorn Winckler)
12616Files: src/ex_cmds.c, src/quickfix.c, src/window.c
12617
12618Patch 7.3.391
12619Problem: Can't check if the XPM_W32 feature is enabled.
12620Solution: Add xpm_w32 to the list of features. (kat)
12621Files: src/eval.c
12622
12623Patch 7.3.392
12624Problem: When setting 'undofile' while the file is already loaded but
12625 unchanged, try reading the undo file. (Andy Wokula)
12626Solution: Compute a checksum of the text when 'undofile' is set. (Christian
12627 Brabandt)
12628Files: src/option.c, src/testdir/test72.in, src/testdir/test72.ok
12629
12630Patch 7.3.393
12631Problem: Win32: When resizing Vim it is always moved to the primary monitor
12632 if the secondary monitor is on the left.
12633Solution: Use the nearest monitor. (Yukihiro Nakadaira)
12634Files: src/gui_w32.c
12635
12636Patch 7.3.394
12637Problem: When placing a mark while starting up a screen redraw messes up
12638 the screen. (lith)
12639Solution: Don't redraw while still starting up. (Christian Brabandt)
12640Files: src/screen.c
12641
12642Patch 7.3.395 (after 7.3.251)
12643Problem: "dv?bar" in the last line deletes too much and breaks undo.
12644Solution: Only adjust the cursor position when it's after the last line of
12645 the buffer. Add a test. (Christian Brabandt)
12646Files: src/ops.c, src/testdir/test43.in, src/testdir/test43.ok
12647
12648Patch 7.3.396
12649Problem: After forcing an operator to be characterwise it can still become
12650 linewise when spanning whole lines.
12651Solution: Don't make the operator linewise when motion_force was set.
12652 (Christian Brabandt)
12653Files: src/ops.c
12654
12655Patch 7.3.397
12656Problem: ":helpgrep" does not work properly when 'encoding' is not utf-8 or
12657 latin1.
12658Solution: Convert non-ascii lines to 'encoding'. (Yasuhiro Matsumoto)
12659Files: src/quickfix.c, src/spell.c, src/misc2.c, src/proto/misc2.pro
12660
12661Patch 7.3.398
12662Problem: When creating more than 10 location lists and adding items one by
12663 one a previous location may be used. (Audrius Kažukauskas)
12664Solution: Clear the location list completely when adding the tenth one.
12665Files: src/quickfix.c
12666
12667Patch 7.3.399
12668Problem: ":cd" doesn't work when the path contains wildcards. (Yukihiro
12669 Nakadaira)
12670Solution: Ignore wildcard errors when the EW_NOTWILD flag is used.
12671Files: src/misc1.c
12672
12673Patch 7.3.400
12674Problem: Compiler warnings for shadowed variables.
12675Solution: Remove or rename the variables.
12676Files: src/charset.c, src/digraph.c, src/edit.c, src/eval.c, src/fold.c,
12677 src/getchar.c, src/message.c, src/misc2.c, src/move.c,
12678 src/netbeans.c, src/option.c, src/os_unix.c, src/screen.c,
12679 src/search.c, src/spell.c, src/syntax.c, src/tag.c, src/window.c
12680
12681Patch 7.3.401
12682Problem: A couple more shadowed variables.
12683Solution: Rename the variables.
12684Files: src/netbeans.c
12685
12686Patch 7.3.402
12687Problem: When jumping to the first error a line of the buffer is sometimes
12688 redrawn on top of the list of errors.
12689Solution: Do not call update_topline_redraw() if the display was scrolled
12690 up.
12691Files: src/quickfix.c
12692
12693Patch 7.3.403
12694Problem: ":helpgrep" does not trigger QuickFixCmd* autocommands.
12695Solution: Trigger the autocommands. (Christian Brabandt)
12696Files: src/quickfix.c
12697
12698Patch 7.3.404
12699Problem: When a complete function uses refresh "always" redo will not work
12700 properly.
12701Solution: Do not reset compl_leader when compl_opt_refresh_always is set.
12702 (Yasuhiro Matsumoto)
12703Files: src/edit.c
12704
12705Patch 7.3.405
12706Problem: When xterm gets back the function keys it may delete the urxvt
12707 mouse termcap code.
12708Solution: Check for the whole code, not just the start. (Egmont Koblinger)
12709Files: src/keymap.h, src/misc2.c, src/term.c
12710
12711Patch 7.3.406
12712Problem: Multi-byte characters in b:browsefilter are not handled correctly.
12713Solution: First use convert_filter() normally and then convert to wide
12714 characters. (Taro Muraoka)
12715Files: src/gui_w48.c
12716
12717Patch 7.3.407
12718Problem: ":12verbose call F()" may duplicate text while trying to truncate.
12719 (Thinca)
12720Solution: Only truncate when there is not enough room. Also check the byte
12721 length of the buffer.
12722Files: src/buffer.c, src/eval.c, src/ex_getln.c, src/message.c,
12723 src/proto/message.pro
12724
12725Patch 7.3.408 (after 7.3.406)
12726Problem: Missing declaration.
12727Solution: Add the declaration. (John Marriott)
12728Files: src/gui_w48.c
12729
12730Patch 7.3.409
12731Problem: The license in pty.c is unclear.
12732Solution: Add a comment about the license.
12733Files: src/pty.c
12734
12735Patch 7.3.410
12736Problem: Compiler error for // comment. (Joachim Schmitz)
12737Solution: Turn into /* comment */.
12738Files: src/message.c
12739
12740Patch 7.3.411
12741Problem: Pasting in Visual mode using the "" register does not work. (John
12742 Beckett)
12743Solution: Detect that the write is overwriting the pasted register.
12744 (Christian Brabandt)
12745Files: src/normal.c
12746
12747Patch 7.3.412
12748Problem: Storing a float in a session file has an additional '&'.
12749Solution: Remove the '&'. (Yasuhiro Matsumoto)
12750Files: src/eval.c
12751
12752Patch 7.3.413
12753Problem: Build warnings on MS-Windows.
12754Solution: Add type casts. (Mike Williams)
12755Files: src/ex_getln.c, src/message.c, src/term.c
12756
12757Patch 7.3.414
12758Problem: Using CTRL-A on "000" drops the leading zero, while on "001" it
12759 doesn't.
12760Solution: Detect "000" as an octal number. (James McCoy)
12761Files: src/charset.c
12762
12763Patch 7.3.415 (after 7.3.359)
12764Problem: Completion of functions stops once a dictionary is encountered.
12765 (James McCoy)
12766Solution: Return an empty string instead of NULL.
12767Files: src/eval.c
12768
12769Patch 7.3.416 (after 7.3.415)
12770Problem: Compiler warning for wrong pointer.
12771Solution: Add type cast.
12772Files: src/eval.c
12773
12774Patch 7.3.417 (after 7.3.395)
12775Problem: Test 43 fails with a tiny build.
12776Solution: Only run test 43 with at least a small build.
12777Files: src/testdir/test43.in
12778
12779Patch 7.3.418
12780Problem: When a user complete function returns -1 an error message is
12781 given.
12782Solution: When -2 is returned stop completion silently. (Yasuhiro Matsumoto)
12783Files: src/edit.
12784
12785Patch 7.3.419
12786Problem: DBCS encoding in a user command does not always work.
12787Solution: Skip over DBCS characters. (Yasuhiro Matsumoto)
12788Files: src/ex_docmd.c
12789
12790Patch 7.3.420
12791Problem: "it" and "at" don't work properly with a dash in the tag name.
12792Solution: Require a space to match the tag name. (Christian Brabandt)
12793Files: src/search.c
12794
12795Patch 7.3.421
12796Problem: Get E832 when setting 'undofile' in vimrc and there is a file to
12797 be edited on the command line. (Toothpik)
12798Solution: Do not try reading the undo file for a file that wasn't loaded.
12799Files: src/option.c
12800
12801Patch 7.3.422
12802Problem: Python 3 does not have __members__.
12803Solution: Add "name" and "number" in another way. (lilydjwg)
12804Files: src/if_py_both.h, src/if_python3.c
12805
12806Patch 7.3.423
12807Problem: Small mistakes in comments, proto and indent.
12808Solution: Fix the mistakes.
12809Files: src/ex_cmds2.c, src/structs.h, src/ui.c, src/proto/ex_docmd.pro
12810
12811Patch 7.3.424
12812Problem: Win16 version missing some functions.
12813Solution: Add #defines for the functions.
12814Files: src/gui_w16.c
12815
12816Patch 7.3.425 (after 7.3.265)
12817Problem: Search history lines are duplicated. (Edwin Steiner)
12818Solution: Convert separator character from space to NUL.
12819Files: src/ex_getln.c
12820
12821Patch 7.3.426
12822Problem: With '$' in 'cpoptions' the $ is not displayed in the first
12823 column.
12824Solution: Use -1 instead of 0 as a special value. (Hideki Eiraku and
12825 Hirohito Higashi)
12826Files: src/edit.c, src/globals.h, src/move.c, src/screen.c, src/search.c
12827
12828Patch 7.3.427
12829Problem: readfile() can be slow with long lines.
12830Solution: Use realloc() instead of alloc(). (John Little)
12831Files: src/eval.c
12832
12833Patch 7.3.428
12834Problem: Win32: an xpm file without a mask crashes Vim.
12835Solution: Fail when the mask is missing. (Dave Bodenstab)
12836Files: src/xpm_w32.c
12837
12838Patch 7.3.429
12839Problem: When 'cpoptions' includes "E" "c0" in the first column is an
Bram Moolenaardd007ed2013-07-09 15:44:17 +020012840 error. The redo register is then set to the erroneous command.
Bram Moolenaar913df812013-07-06 15:44:11 +020012841Solution: Do not set the redo register if the command fails because of an
12842 empty region. (Hideki Eiraku)
12843Files: src/getchar.c, src/normal.c, src/proto/getchar.pro
12844
12845Patch 7.3.430
12846Problem: When a custom filetype detection uses "augroup END" the conf
12847 fileytpe detection does not have the filetypedetect group.
12848Solution: Always end the group and include filetypedetect in the conf
12849 autocommand. (Lech Lorens)
12850Files: runtime/filetype.vim
12851
12852Patch 7.3.431
12853Problem: Fetching a key at a prompt may be confused by escape sequences.
12854 Especially when getting a prompt at a VimEnter autocommand.
12855 (Alex Efros)
12856Solution: Properly handle escape sequences deleted by check_termcode().
12857Files: src/getchar.c, src/misc1.c, src/term.c, src/proto/term.pro
12858
12859Patch 7.3.432
12860Problem: ACLs are not supported for ZFS or NFSv4 on Solaris.
12861Solution: Add configure check and code. (Danek Duvall)
12862Files: src/configure.in, src/auto/configure, src/config.h.in,
12863 src/os_unix.c
12864
12865Patch 7.3.433
12866Problem: Using continued lines in a Vim script can be slow.
12867Solution: Instead of reallocating for every line use a growarray. (Yasuhiro
12868 Matsumoto)
12869Files: src/ex_cmds2.c
12870
12871Patch 7.3.434
12872Problem: Using join() can be slow.
12873Solution: Compute the size of the result before allocation to avoid a lot of
12874 allocations and copies. (Taro Muraoka)
12875Files: src/eval.c
12876
12877Patch 7.3.435
12878Problem: Compiler warning for unused variable.
12879Solution: Move the variable inside #ifdef.
12880Files: src/ex_cmds2.c
12881
12882Patch 7.3.436
12883Problem: Compiler warnings for types on Windows.
12884Solution: Add type casts. (Mike Williams)
12885Files: src/eval.c
12886
12887Patch 7.3.437
12888Problem: Continue looping inside FOR_ALL_TAB_WINDOWS even when already done.
12889Solution: Use goto instead of break. (Hirohito Higashi)
12890Files: src/fileio.c, src/globals.h
12891
12892Patch 7.3.438
12893Problem: There is no way to avoid ":doautoall" reading modelines.
12894Solution: Add the <nomodeline> argument. Adjust documentation.
12895Files: src/fileio.c, runtime/doc/autocmd.txt
12896
12897Patch 7.3.439
12898Problem: Compiler warnings to size casts in Perl interface.
12899Solution: Use XS macros. (James McCoy)
12900Files: src/if_perl.xs, src/typemap
12901
12902Patch 7.3.440
12903Problem: Vim does not support UTF8_STRING for the X selection.
12904Solution: Add UTF8_STRING atom support. (Alex Efros) Use it only when
12905 'encoding' is set to Unicode.
12906Files: src/ui.c
12907
12908Patch 7.3.441
12909Problem: Newer versions of MzScheme (Racket) require earlier (trampolined)
12910 initialisation.
12911Solution: Call mzscheme_main() early in main(). (Sergey Khorev)
12912Files: src/Make_mvc.mak, src/if_mzsch.c, src/main.c,
12913 src/proto/if_mzsch.pro
12914
12915Patch 7.3.442 (after 7.3.438)
12916Problem: Still read modelines for ":doautocmd".
12917Solution: Move check for <nomodeline> to separate function.
12918Files: src/fileio.c, src/ex_docmd.c, src/proto/fileio.pro,
12919 runtime/doc/autocmd.txt
12920
12921Patch 7.3.443
12922Problem: MS-Windows: 'shcf' and 'shellxquote' defaults are not very good.
12923Solution: Make a better guess when 'shell' is set to "cmd.exe". (Ben Fritz)
12924Files: src/option.c, runtime/doc/options.txt
12925
12926Patch 7.3.444
12927Problem: ":all!" and ":sall!" give error E477, even though the
12928 documentation says these are valid commands.
12929Solution: Support the exclamation mark. (Hirohito Higashi)
12930Files: src/ex_cmds.h, src/testdir/test31.in, src/testdir/test31.ok
12931
12932Patch 7.3.445 (after 7.3.443)
12933Problem: Can't properly escape commands for cmd.exe.
12934Solution: Default 'shellxquote' to '('. Append ')' to make '(command)'.
12935 No need to use "/s" for 'shellcmdflag'.
12936Files: src/misc2.c, src/option.c, src/os_win32.c
12937
12938Patch 7.3.446 (after 7.3.445)
12939Problem: Win32: External commands with special characters don't work.
12940Solution: Add the 'shellxescape' option.
12941Files: src/misc2.c, src/option.c, src/option.h, runtime/doc/options.txt
12942
12943Patch 7.3.447 (after 7.3.446)
12944Problem: Win32: External commands with "start" do not work.
12945Solution: Unescape part of the command. (Yasuhiro Matsumoto)
12946Files: src/os_win32.c
12947
12948Patch 7.3.448 (after 7.3.447)
12949Problem: Win32: Still a problem with "!start /b".
12950Solution: Escape only '|'. (Yasuhiro Matsumoto)
12951Files: src/os_win32.c
12952
12953Patch 7.3.449
12954Problem: Crash when a BufWinLeave autocommand closes the only other window.
12955 (Daniel Hunt)
12956Solution: Abort closing a buffer when it becomes the only one.
12957Files: src/buffer.c, src/proto/buffer.pro, src/ex_cmds.c, src/ex_getln.c,
12958 src/misc2.c, src/quickfix.c, src/window.c, src/proto/window.pro
12959
12960Patch 7.3.450 (after 7.3.448)
12961Problem: Win32: Still a problem with "!start /b".
12962Solution: Fix pointer use. (Yasuhiro Matsumoto)
12963Files: src/os_win32.c
12964
12965Patch 7.3.451
12966Problem: Tcl doesn't work on 64 MS-Windows.
12967Solution: Make it work. (Dave Bodenstab)
12968Files: src/Make_mvc.mak, src/if_tcl.c
12969
12970Patch 7.3.452
12971Problem: Undo broken when pasting close to the last line. (Andrey Radev)
12972Solution: Use a flag to remember if the deleted included the last line.
12973 (Christian Brabandt)
12974Files: src/ops.c
12975
12976Patch 7.3.453
12977Problem: Pasting in the command line is slow.
12978Solution: Don't redraw if there is another character to read. (Dominique
12979 Pelle)
12980Files: src/ex_getln.c
12981
12982Patch 7.3.454
12983Problem: Re-allocating memory slows Vim down.
12984Solution: Use realloc() in ga_grow(). (Dominique Pelle)
12985Files: src/misc2.c
12986
12987Patch 7.3.455
12988Problem: Using many continuation lines can be slow.
12989Solution: Adjust the reallocation size to the current length.
12990Files: src/ex_cmds2.c
12991
12992Patch 7.3.456
12993Problem: ":tab drop file" has several problems, including moving the
12994 current window and opening a new tab for a file that already has a
12995 window.
12996Solution: Refactor ":tab drop" handling. (Hirohito Higashi)
12997Files: src/buffer.c, src/testdir/test62.in, src/testdir/test62.ok
12998
12999Patch 7.3.457
13000Problem: When setting $VIMRUNTIME later the directory for fetching
13001 translated messages is not adjusted.
13002Solution: Put bindtextdomain() in vim_setenv().
13003Files: src/misc1.c
13004
13005Patch 7.3.458
13006Problem: Crash when calling smsg() during startup.
13007Solution: Don't use 'shortmess' when it is not set yet.
13008Files: src/option.c
13009
13010Patch 7.3.459
13011Problem: Win32: Warnings for type conversion.
13012Solution: Add type casts. (Mike Williams)
13013Files: src/misc2.c, src/os_win32.c
13014
13015Patch 7.3.460
13016Problem: Win32: UPX does not compress 64 bit binaries.
13017Solution: Mention and add the alternative: mpress. (Dave Bodenstab)
13018Files: src/INSTALLpc.txt, src/Make_ming.mak
13019
13020Patch 7.3.461
13021Problem: The InsertCharPre autocommand event is not triggered during
13022 completion and when typing several characters quickly.
13023Solution: Also trigger InsertCharPre during completion. Do not read ahead
13024 when an InsertCharPre autocommand is defined. (Yasuhiro Matsumoto)
13025Files: src/edit.c, src/fileio.c, src/proto/fileio.pro
13026
13027Patch 7.3.462
13028Problem: When using ":loadview" folds may be closed unexpectedly.
13029Solution: Take into account foldlevel. (Xavier de Gaye)
13030Files: src/fold.c
13031
13032Patch 7.3.463
13033Problem: When using ":s///c" the cursor is moved away from the match.
13034 (Lawman)
13035Solution: Don't move the cursor when do_ask is set. (Christian Brabandt)
13036Files: src/ex_cmds.c
13037
13038Patch 7.3.464
13039Problem: Compiler warning for sprintf.
13040Solution: Put the length in a variable. (Dominique Pelle)
13041Files: src/version.c
13042
13043Patch 7.3.465
13044Problem: Cannot get file name with newline from glob().
13045Solution: Add argument to glob() and expand() to indicate they must return a
13046 list. (Christian Brabandt)
13047Files: runtime/doc/eval.txt, src/eval.c, src/ex_getln.c, src/vim.h
13048
13049Patch 7.3.466
13050Problem: Get ml_get error hen ":behave mswin" was used and selecting
13051 several lines. (A. Sinan Unur)
13052Solution: Adjust the end of the operation. (Christian Brabandt)
13053Files: src/ops.c
13054
13055Patch 7.3.467
13056Problem: Cursor positioned wrong at the command line when regaining focus
13057 and using some input method.
13058Solution: Do not position the cursor in command line mode.
13059Files: src/mbyte.c
13060
13061Patch 7.3.468
13062Problem: For some compilers the error file is not easily readable.
13063Solution: Use QuickFixCmdPre for more commands. (Marcin Szamotulski)
13064Files: runtime/doc/autocmd.txt, src/quickfix.c
13065
13066Patch 7.3.469
13067Problem: Compiler warning for unused argument without some features.
13068Solution: Add UNUSED.
13069Files: src/buffer.c
13070
13071Patch 7.3.470
13072Problem: Test 62 fails when compiled without GUI and X11.
13073Solution: Don't test :drop when it is not supported.
13074Files: src/testdir/test62.in
13075
13076Patch 7.3.471
13077Problem: Can't abort listing placed signs.
13078Solution: Check "got_int". (Christian Brabandt)
13079Files: src/buffer.c, src/ex_cmds.c
13080
13081Patch 7.3.472
13082Problem: Crash when using ":redraw" in a BufEnter autocommand and
13083 switching to another tab. (驼峰)
Bram Moolenaardd007ed2013-07-09 15:44:17 +020013084Solution: Move triggering the autocommands to after correcting the
Bram Moolenaar913df812013-07-06 15:44:11 +020013085 option values. Also check the row value to be out of bounds.
13086 (Christian Brabandt, Sergey Khorev)
13087Files: src/screen.c, src/window.c
13088
13089Patch 7.3.473
13090Problem: 'cursorbind' does not work correctly in combination with
13091 'virtualedit' set to "all".
13092Solution: Copy coladd. (Gary Johnson)
13093Files: src/move.c
13094
13095Patch 7.3.474
13096Problem: Perl build with gcc 4 fails.
13097Solution: Remove XS() statements. (Yasuhiro Matsumoto)
13098Files: src/if_perl.xs
13099
13100Patch 7.3.475
13101Problem: In a terminal with few colors the omnicomplete menu may be hard to
13102 see when using the default colors.
13103Solution: Use more explicit colors. (suggested by Alex Henrie)
13104Files: src/syntax.c
13105
13106Patch 7.3.476
13107Problem: When selecting a block, using "$" to include the end of each line
13108 and using "A" and typing a backspace strange things happen.
13109 (Yuangchen Xie)
13110Solution: Avoid using a negative length. (Christian Brabandt)
13111Files: src/ops.c
13112
13113Patch 7.3.477
13114Problem: Using ":echo" to output enough lines to scroll, then using "j" and
13115 "k" at the more prompt, displays the command on top of the output.
13116 (Marcin Szamotulski)
13117Solution: Put the output below the command. (Christian Brabandt)
13118Files: src/eval.c
13119
13120Patch 7.3.478
13121Problem: Memory leak using the ':rv!' command when reading dictionary or
13122 list global variables i.e. with 'viminfo' containing !.
13123Solution: Free the typeval. (Dominique Pelle)
13124Files: src/eval.c
13125
13126Patch 7.3.479
13127Problem: When 'cursorline' is set the line number highlighting can't be set
13128 separately.
13129Solution: Add "CursorLineNr". (Howard Buchholz)
13130Files: src/option.c, src/screen.c, src/syntax.c, src/vim.h
13131
13132Patch 7.3.480
13133Problem: When using ":qa" and there is a changed buffer picking the buffer
13134 to jump to is not very good.
13135Solution: Consider current and other tab pages. (Hirohito Higashi)
13136Files: src/ex_cmds2.c
13137
13138Patch 7.3.481
13139Problem: Changing 'virtualedit' in an operator function to "all" does not
13140 have the desired effect. (Aaron Bohannon)
13141Solution: Save, reset and restore virtual_op when executing an operator
13142 function.
13143Files: src/normal.c
13144
13145Patch 7.3.482
13146Problem: With 'cursorbind' set moving up/down does not always keep the same
13147 column.
13148Solution: Set curswant appropriately. (Gary Johnson)
13149Files: src/move.c
13150
13151Patch 7.3.483 (after 7.3.477)
13152Problem: More prompt shows up too often.
13153Solution: Instead of adding a line break, only start a new line in the
13154 message history. (Christian Brabandt)
13155Files: src/eval.c, src/message.c, src/proto/message.pro
13156
13157Patch 7.3.484
13158Problem: The -E and --echo-wid command line arguments are not mentioned in
13159 "vim --help".
13160Solution: Add the help lines. (Dominique Pelle)
13161Files: src/main.c
13162
13163Patch 7.3.485
13164Problem: When building Vim LDFLAGS isn't passed on to building xxd.
13165Solution: Pass the LDFLAGS value. (James McCoy)
13166Files: src/Makefile
13167
13168Patch 7.3.486
13169Problem: Build error with mingw64 on Windows 7.
13170Solution: Avoid the step of going through vimres.res. (Guopeng Wen)
13171Files: src/Make_ming.mak
13172
13173Patch 7.3.487
13174Problem: When setting 'timeoutlen' or 'ttimeoutlen' the column for vertical
13175 movement is reset unnecessarily.
13176Solution: Do not set w_set_curswant for every option. Add a test for this.
13177 (Kana Natsuno) Add the P_CURSWANT flag for options.
13178Files: src/option.c, src/testdir/test84.in, src/testdir/test84.ok,
13179 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
13180 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
13181 src/testdir/Make_vms.mms, src/testdir/Makefile
13182
13183Patch 7.3.488
13184Problem: ":help!" in a help file does not work as documented.
13185Solution: When in a help file don't give an error message. (thinca)
13186Files: src/ex_cmds.c
13187
13188Patch 7.3.489
13189Problem: CTRL-] in Insert mode does not expand abbreviation when used in a
13190 mapping. (Yichao Zhou)
13191Solution: Special case using CTRL-]. (Christian Brabandt)
13192Files: src/getchar.c, src/edit.c
13193
13194Patch 7.3.490
13195Problem: Member confusion in Lua interface.
13196Solution: Fix it. Add luaeval(). (Taro Muraoka, Luis Carvalho)
13197Files: runtime/doc/if_lua.txt, src/eval.c, src/if_lua.c,
13198 src/proto/if_lua.pro
13199
13200Patch 7.3.491
13201Problem: No tests for Lua.
13202Solution: Add some simple tests for Lua. (Luis Carvalho)
13203Files: src/testdir/test1.in, src/testdir/test85.in, src/testdir/test85.ok
13204 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
13205 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
13206 src/testdir/Make_vms.mms, src/testdir/Makefile
13207
13208Patch 7.3.492
13209Problem: Can't indent conditions separately from function arguments.
Bram Moolenaardd007ed2013-07-09 15:44:17 +020013210Solution: Add the 'k' flag in 'cino'. (Lech Lorens)
Bram Moolenaar913df812013-07-06 15:44:11 +020013211Files: runtime/doc/indent.txt, src/misc1.c, src/testdir/test3.in,
13212 src/testdir/test3.ok
13213
13214Patch 7.3.493 (after 7.3.492)
13215Problem: Two unused variables.
13216Solution: Remove them. (Hong Xu)
13217Files: src/misc1.c
13218
13219Patch 7.3.494 (after 7.3.491)
Bram Moolenaardd007ed2013-07-09 15:44:17 +020013220Problem: Can't compile with Lua 5.1 or dynamic Lua.
Bram Moolenaar913df812013-07-06 15:44:11 +020013221Solution: Fix dll_ methods. Fix luado(). (Muraoka Taro, Luis Carvalho)
13222Files: src/if_lua.c
13223
13224Patch 7.3.495 (after 7.3.492)
13225Problem: Compiler warnings.
13226Solution: Add function declaration. Remove "offset" argument.
13227Files: src/misc1.c
13228
13229Patch 7.3.496
13230Problem: MS-DOS: When "diff" trips over difference in line separators some
13231 tests fail.
13232Solution: Make some .ok files use unix line separators. (David Pope)
13233Files: src/testdir/Make_dos.mak, src/testdir/Make_ming.mak
13234
13235Patch 7.3.497
13236Problem: Crash when doing ":python print" and compiled with gcc and
13237 the optimizer enabled.
13238Solution: Avoid the crash, doesn't really fix the problem. (Christian
13239 Brabandt)
13240Files: src/if_py_both.h
13241
13242Patch 7.3.498
13243Problem: The behavior of the "- register changes depending on value of
13244 the 'clipboard' option. (Szamotulski)
13245Solution: Also set the "- register when the register is "*" or "+".
13246 (Christian Brabandt)
13247Files: src/ops.c
13248
13249Patch 7.3.499
13250Problem: When using any interface language when Vim is waiting for a child
13251 process it gets confused by a child process started through the
13252 interface.
13253Solution: Always used waitpid() instead of wait(). (Yasuhiro Matsumoto)
13254Files: src/os_unix.c
13255
13256Patch 7.3.500
13257Problem: Ming makefile unconditionally sets WINVER.
13258Solution: Only defined when not already defined. (Yasuhiro Matsumoto)
13259Files: src/Make_ming.mak
13260
13261Patch 7.3.501
13262Problem: Error for "flush" not being defined when using Ruby command.
13263Solution: Defined "flush" as a no-op method. (Kent Sibilev)
13264Files: src/if_ruby.c
13265
13266Patch 7.3.502
13267Problem: Netbeans insert halfway a line actually appends to the line.
13268Solution: Insert halfway the line. (Brian Victor)
13269Files: src/netbeans.c
13270
13271Patch 7.3.503 (after 7.3.501)
13272Problem: Warning for unused argument.
13273Solution: Add UNUSED.
13274Files: src/if_ruby.c
13275
13276Patch 7.3.504
13277Problem: Commands in help files are not highlighted.
13278Solution: Allow for commands in backticks. Adjust CTRL-] to remove the
13279 backticks.
13280Files: src/ex_cmds.c
13281
13282Patch 7.3.505
13283Problem: Test 11 fails on MS-Windows in some versions.
13284Solution: Fix #ifdefs for whether filtering through a pipe is possible. Move
13285 setting b_no_eol_lnum back to where it was before patch 7.3.124.
13286 (David Pope)
13287Files: src/feature.h, src/eval.c, src/ex_cmds.c, src/fileio.c
13288
13289Patch 7.3.506
13290Problem: GTK gives an error when selecting a non-existent file.
13291Solution: Add a handler to avoid the error. (Christian Brabandt)
13292Files: src/gui_gtk.c
13293
13294Patch 7.3.507
13295Problem: When exiting with unsaved changes, selecting an existing file in
13296 the file dialog, there is no dialog to ask whether the existing
13297 file should be overwritten. (Felipe G. Nievinski)
13298Solution: Call check_overwrite() before writing. (Christian Brabandt)
13299Files: src/ex_cmds.c, src/ex_cmds2.c, src/proto/ex_cmds.pro
13300
13301Patch 7.3.508
13302Problem: Default for v:register is not set.
13303Solution: Init v:register in eval_init(). Correct for 'clipboard' before the
13304 main loop. (Ingo Karkat)
13305Files: src/eval.c, src/main.c
13306
13307Patch 7.3.509
13308Problem: ":vimgrep" fails when 'autochdir' is set.
13309Solution: A more generic solution for changing directory. (Ben Fritz)
13310Files: src/quickfix.c
13311
13312Patch 7.3.510
13313Problem: Test 77 fails on Solaris 7. (Michael Soyka)
13314Solution: Replace any tabs with spaces.
13315Files: src/testdir/test77.in
13316
13317Patch 7.3.511
13318Problem: Using a FileReadCmd autocommand that does ":e! {file}" may cause a
13319 crash. (Christian Brabandt)
13320Solution: Properly restore curwin->w_s.
13321Files: src/fileio.c
13322
13323Patch 7.3.512
13324Problem: undofile() returns a useless name when passed an empty string.
13325Solution: Return an empty string. (Christian Brabandt)
13326Files: src/eval.c
13327
13328Patch 7.3.513
13329Problem: Cannot use CTRL-E and CTRL-Y with "r".
13330Solution: Make CTRL-E and CTRL-Y work like in Insert mode. (Christian
13331 Brabandt)
13332Files: src/edit.c, src/normal.c, src/proto/edit.pro
13333
13334Patch 7.3.514
13335Problem: No completion for :history command.
13336Solution: Add the completion and update the docs. Also fix ":behave"
13337 completion. (Dominique Pelle)
13338Files: runtime/doc/cmdline.txt, runtime/doc/map.txt, src/ex_docmd.c,
13339 src/ex_getln.c, src/vim.h
13340
13341Patch 7.3.515
13342Problem: 'wildignorecase' only applies to the last part of the path.
13343Solution: Also ignore case for letters earlier in the path.
13344Files: src/misc1.c
13345
13346Patch 7.3.516
13347Problem: extend(o, o) may crash Vim.
13348Solution: Fix crash and add test. (Thinca and Hirohito Higashi)
13349Files: src/eval.c, src/testdir/test55.in, src/testdir/test55.ok
13350
13351Patch 7.3.517
13352Problem: Crash when using "vipvv". (Alexandre Provencio)
13353Solution: Don't let the text length become negative.
13354Files: src/ops.c
13355
13356Patch 7.3.518
13357Problem: When 'encoding' is a double-byte encoding ":helptags" may not find
13358 tags correctly.
13359Solution: Use vim_strbyte() instead of vim_strchr(). (Yasuhiro Matsumoto)
13360Files: src/ex_cmds.c
13361
13362Patch 7.3.519
13363Problem: When completefunction returns it cannot indicate end of completion
13364 mode.
13365Solution: Recognize completefunction returning -3. (Matsushita Shougo)
13366Files: src/edit.c
13367
13368Patch 7.3.520
Bram Moolenaardd007ed2013-07-09 15:44:17 +020013369Problem: Gvim starts up slow on Ubuntu 12.04.
Bram Moolenaar913df812013-07-06 15:44:11 +020013370Solution: Move the call to gui_mch_init_check() to after fork(). (Yasuhiro
13371 Matsumoto) Do check $DISPLAY being set.
13372Files: src/gui.c, src/gui_gtk_x11.c, src/proto/gui_gtk_x11.pro
13373
13374Patch 7.3.521
13375Problem: Using "z=" on a multi-byte character may cause a crash.
13376Solution: Don't use strlen() on an int pointer.
13377Files: src/spell.c
13378
13379Patch 7.3.522
13380Problem: Crash in vim_realloc() when using MEM_PROFILE.
13381Solution: Avoid using a NULL argument. (Dominique Pelle)
13382Files: src/eval.c
13383
13384Patch 7.3.523
13385Problem: ":diffupdate" doesn't check for files changed elsewhere.
13386Solution: Add the ! flag. (Christian Brabandt)
13387Files: runtime/doc/diff.txt, src/diff.c, src/ex_cmds.h
13388
13389Patch 7.3.524 (after 7.3.523)
13390Problem: Missing comma.
13391Solution: Add the comma.
13392Files: src/version.c
13393
13394Patch 7.3.525
13395Problem: Compiler warning on 64 bit MS-Windows.
13396Solution: Add type cast. (Mike Williams)
13397Files: src/ex_getln.c
13398
13399Patch 7.3.526
13400Problem: Confusing indenting for #ifdef.
13401Solution: Remove and add indent. (Elias Diem)
13402Files: src/normal.c
13403
13404Patch 7.3.527
13405Problem: Clang complains about non-ASCII characters in a string.
13406Solution: Change to \x88 form. (Dominique Pelle)
13407Files: src/charset.c
13408
13409Patch 7.3.528
13410Problem: Crash when closing last window in a tab. (Alex Efros)
13411Solution: Use common code in close_last_window_tabpage(). (Christian
13412 Brabandt)
13413Files: src/window.c
13414
13415Patch 7.3.529
13416Problem: Using a count before "v" and "V" does not work (Kikyous)
13417Solution: Make the count select that many characters or lines. (Christian
13418 Brabandt)
13419Files: src/normal.c
13420
13421Patch 7.3.530 (after 7.3.520)
13422Problem: Gvim does not work when 'guioptions' includes "f". (Davido)
13423Solution: Call gui_mch_init_check() when running GUI in the foreground.
13424 (Yasuhiro Matsumoto)
13425Files: src/gui.c
13426
13427Patch 7.3.531 (after 7.3.530)
13428Problem: GUI does not work on MS-Windows.
13429Solution: Add the missing #ifdef. (Patrick Avery)
13430Files: src/gui.c
13431
13432Patch 7.3.532
13433Problem: Compiler warning from Clang.
13434Solution: Use a different way to point inside a string. (Dominique Pelle)
13435Files: src/syntax.c
13436
13437Patch 7.3.533
13438Problem: Memory leak when writing undo file.
13439Solution: Free the ACL. (Dominique Pelle)
13440Files: src/undo.c
13441
13442Patch 7.3.534 (after 7.3.461)
13443Problem: When using an InsertCharPre autocommand autoindent fails.
13444Solution: Proper handling of v:char. (Alexey Radkov)
13445Files: src/edit.c
13446
13447Patch 7.3.535
13448Problem: Many #ifdefs for MB_MAXBYTES.
13449Solution: Also define MB_MAXBYTES without the +multi_byte feature. Fix
13450 places where the buffer didn't include space for a NUL byte.
13451Files: src/arabic.c, src/edit.c, src/eval.c, src/getchar.c, src/mbyte.c,
13452 src/misc1.c, src/screen.c, src/spell.c, src/vim.h
13453
13454Patch 7.3.536
13455Problem: When spell checking the German sharp s is not seen as a word
13456 character. (Aexl Bender)
13457Solution: In utf_islower() return true for the sharp s. Note: also need
13458 updated spell file for this to take effect.
13459Files: src/mbyte.c
13460
13461Patch 7.3.537
Bram Moolenaardd007ed2013-07-09 15:44:17 +020013462Problem: Unnecessary call to init_spell_chartab().
Bram Moolenaar913df812013-07-06 15:44:11 +020013463Solution: Delete the call.
13464Files: src/spell.c
13465
13466Patch 7.3.538
13467Problem: 'efm' does not handle Tabs in pointer lines.
13468Solution: Add Tab support. Improve tests. (Lech Lorens)
13469Files: src/quickfix.c, src/testdir/test10.in, src/testdir/test10.ok
13470
13471Patch 7.3.539
13472Problem: Redrawing a character on the command line does not work properly
Bram Moolenaardd007ed2013-07-09 15:44:17 +020013473 for multi-byte characters.
Bram Moolenaar913df812013-07-06 15:44:11 +020013474Solution: Count the number of bytes in a character. (Yukihiro Nakadaira)
13475Files: src/ex_getln.c
13476
13477Patch 7.3.540
13478Problem: Cursor is left on the text instead of the command line.
13479Solution: Don't call setcursor() in command line mode.
13480Files: src/getchar.c
13481
13482Patch 7.3.541
13483Problem: When joining lines comment leaders need to be removed manually.
13484Solution: Add the 'j' flag to 'formatoptions'. (Lech Lorens)
13485Files: runtime/doc/change.txt, src/edit.c, src/ex_docmd.c, src/misc1.c,
13486 src/normal.c, src/ops.c, src/option.h, src/proto/misc1.pro,
13487 src/proto/ops.pro, src/search.c, src/testdir/test29.in,
13488 src/testdir/test29.ok
13489
13490Patch 7.3.542 (after 7.3.506)
13491Problem: Function is sometimes unused.
13492Solution: Add #ifdef.
13493Files: src/gui_gtk.c
13494
13495Patch 7.3.543
13496Problem: The cursor is in the wrong line after using ":copen". (John
13497 Beckett)
13498Solution: Invoke more drastic redraw method.
13499Files: src/eval.c
13500
13501Patch 7.3.544
13502Problem: There is no good way to close a quickfix window when closing the
13503 last ordinary window.
13504Solution: Add the QuitPre autocommand.
13505Files: src/ex_docmd.c, src/fileio.c, src/vim.h
13506
13507Patch 7.3.545
13508Problem: When closing a window or buffer autocommands may close it too,
13509 causing problems for where the autocommand was invoked from.
13510Solution: Add the w_closing and b_closing flags. When set disallow ":q" and
13511 ":close" to prevent recursive closing.
13512Files: src/structs.h, src/buffer.c, src/ex_docmd.c, src/window.c
13513
13514Patch 7.3.546
13515Problem: Bogus line break.
13516Solution: Remove the line break.
13517Files: src/screen.c
13518
13519Patch 7.3.547 (after 7.3.541)
13520Problem: Compiler warning for uninitialized variable.
13521Solution: Initialize it.
13522Files: src/ops.c
13523
13524Patch 7.3.548
13525Problem: Compiler warning on 64 bit Windows.
13526Solution: Add type cast. (Mike Williams)
13527Files: src/ops.c
13528
13529Patch 7.3.549
13530Problem: In 'cinoptions' "0s" is interpreted as one shiftwidth. (David
13531 Pineau)
13532Solution: Use the zero as zero. (Lech Lorens)
13533Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
13534
13535Patch 7.3.550 (after 7.3.541)
13536Problem: With "j" in 'formatoptions' a list leader is not removed. (Gary
13537 Johnson)
13538Solution: Don't ignore the start of a three part comment. (Lech Lorens)
13539Files: src/ops.c, src/testdir/test29.in, src/testdir/test29.ok
13540
13541Patch 7.3.551
13542Problem: When using :tablose a TabEnter autocommand is triggered too early.
13543 (Karthick)
13544Solution: Don't trigger *Enter autocommands before closing the tab.
13545 (Christian Brabandt)
13546Files: src/buffer.c, src/eval.c, src/ex_cmds2.c, src/fileio.c,
13547 src/proto/window.pro, src/window.c
13548
13549Patch 7.3.552
13550Problem: Formatting inside comments does not use the "2" flag in
13551 'formatoptions'.
13552Solution: Support the "2" flag. (Tor Perkins)
13553Files: src/vim.h, src/ops.c, src/edit.c, src/misc1.c,
13554 src/testdir/test68.in, src/testdir/test68.ok
13555
13556Patch 7.3.553
13557Problem: With double-width characters and 'listchars' containing "precedes"
13558 the text is displayed one cell off.
13559Solution: Check for double-width character being overwritten by the
13560 "precedes" character. (Yasuhiro Matsumoto)
13561Files: src/screen.c
13562
13563Patch 7.3.554 (after 7.3.551)
13564Problem: Compiler warning for unused argument.
13565Solution: Add UNUSED.
13566Files: src/window.c
13567
13568Patch 7.3.555
13569Problem: Building on IBM z/OS fails.
13570Solution: Adjust configure. Use the QUOTESED value from config.mk instead of
13571 the hard coded one in Makefile. (Stephen Bovy)
13572Files: src/configure.in, src/auto/configure, src/Makefile
13573
13574Patch 7.3.556
13575Problem: Compiler warnings on 64 bit Windows.
13576Solution: Add type casts. (Mike Williams)
13577Files: src/misc1.c
13578
13579Patch 7.3.557
13580Problem: Crash when an autocommand wipes out a buffer when it is hidden.
13581Solution: Restore the current window when needed. (Christian Brabandt)
13582Files: src/buffer.c
13583
13584Patch 7.3.558
13585Problem: Memory access error. (Gary Johnson)
13586Solution: Allocate one more byte. (Dominique Pelle)
13587Files: src/misc1.c
13588
13589Patch 7.3.559
13590Problem: home_replace() does not work with 8.3 filename.
13591Solution: Make ":p" expand 8.3 name to full path. (Yasuhiro Matsumoto)
13592Files: src/eval.c, src/misc1.c
13593
13594Patch 7.3.560
13595Problem: Get an error for a locked argument in extend().
13596Solution: Initialize the lock flag for a dictionary. (Yukihiro Nakadaira)
13597Files: src/eval.c
13598
13599Patch 7.3.561
13600Problem: Using refresh: always in a complete function breaks the "."
13601 command. (Val Markovic)
13602Solution: Add match leader to the redo buffer. (Yasuhiro Matsumoto)
13603Files: src/edit.c
13604
13605Patch 7.3.562
13606Problem: ":profdel" should not work when the +profile feature is disabled.
13607Solution: Call ex_ni(). (Yasuhiro Matsumoto)
13608Files: src/ex_cmds2.c
13609
13610Patch 7.3.563 (after 7.3.557)
13611Problem: Can't build with tiny features.
13612Solution: Add #ifdef.
13613Files: src/buffer.c
13614
13615Patch 7.3.564 (after 7.3.559)
13616Problem: Warning for pointer conversion.
13617Solution: Add type cast.
13618Files: src/misc1.c
13619
13620Patch 7.3.565
13621Problem: Can't generate proto file for Python 3.
13622Solution: Add PYTHON3_CFLAGS to LINT_CFLAGS.
13623Files: src/Makefile
13624
13625Patch 7.3.566 (after 7.3.561)
13626Problem: Redo after completion does not work correctly when refresh: always
13627 is not used. (Raymond Ko)
13628Solution: Check the compl_opt_refresh_always flag. (Christian Brabandt)
13629Files: src/edit.c
13630
13631Patch 7.3.567
13632Problem: Missing copyright notice.
13633Solution: Add Vim copyright notice. (Taro Muraoka)
13634Files: src/dehqx.py
13635
13636Patch 7.3.568
13637Problem: Bad indents for #ifdefs.
13638Solution: Add and remove spaces. (Elias Diem)
13639Files: src/globals.h
13640
13641Patch 7.3.569
13642Problem: Evaluating Vim expression in Python is insufficient.
13643Solution: Add vim.bindeval(). Also add pyeval() and py3eval(). (ZyX)
13644Files: runtime/doc/eval.txt, runtime/doc/if_pyth.txt, src/eval.c,
13645 src/if_lua.c, src/if_py_both.h, src/if_python.c, src/if_python3.c,
13646 src/proto/eval.pro, src/proto/if_python.pro,
13647 src/proto/if_python3.pro, src/testdir/Make_amiga.mak,
13648 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
13649 src/testdir/Make_os2.mak, src/testdir/Makefile,
13650 src/testdir/test86.in, src/testdir/test86.ok,
13651 src/testdir/test87.in, src/testdir/test87.ok
13652
13653Patch 7.3.570
13654Problem: ":vimgrep" does not obey 'wildignore'.
13655Solution: Apply 'wildignore' and 'suffixes' to ":vimgrep". (Ingo Karkat)
13656Files: src/ex_cmds2.c, src/proto/ex_cmds2.pro, src/quickfix.c, src/spell.c
13657
13658Patch 7.3.571
13659Problem: Duplicated condition.
13660Solution: Remove one. (Dominique Pelle)
13661Files: src/os_win32.c
13662
13663Patch 7.3.572
13664Problem: Duplicate statement in if and else. (Dominique Pelle)
13665Solution: Remove the condition and add a TODO.
13666Files: src/gui_xmebw.c
13667
13668Patch 7.3.573
13669Problem: Using array index before bounds checking.
13670Solution: Swap the parts of the condition. (Dominique Pelle)
13671Files: src/ops.c
13672
13673Patch 7.3.574
13674Problem: When pasting a register in the search command line a CTRL-L
13675 character is not pasted. (Dominique Pelle)
13676Solution: Escape the CTRL-L. (Christian Brabandt)
13677Files: src/ex_getln.c
13678
13679Patch 7.3.575
13680Problem: "ygt" tries to yank instead of giving an error. (Daniel Mueller)
13681Solution: Check for a pending operator.
13682Files: src/normal.c
13683
13684Patch 7.3.576
13685Problem: Formatting of lists inside comments is not right yet.
13686Solution: Use another solution and add a test. (Tor Perkins)
13687Files: src/edit.c, src/misc1.c, src/testdir/test68.in,
13688 src/testdir/test69.ok
13689
13690Patch 7.3.577
13691Problem: Size of memory does not fit in 32 bit unsigned.
13692Solution: Use Kbyte instead of byte. Call GlobalMemoryStatusEx() instead of
13693 GlobalMemoryStatus() when available.
13694Files: src/misc2.c, src/option.c, src/os_amiga.c, src/os_msdos.c,
13695 src/os_win16.c, src/os_win32.c
13696
13697Patch 7.3.578
13698Problem: Misplaced declaration.
13699Solution: Move declaration to start of block.
13700Files: src/if_py_both.h
13701
13702Patch 7.3.579 (after 7.3.569)
13703Problem: Can't compile with Python 2.5.
13704Solution: Use PyCObject when Capsules are not available.
13705Files: src/if_py_both.h, src/if_python.c, src/if_python3.c
13706
13707Patch 7.3.580
13708Problem: Warning on 64 bit MS-Windows.
13709Solution: Add type cast. (Mike Williams)
13710Files: src/if_py_both.h
13711
13712Patch 7.3.581
13713Problem: Problems compiling with Python.
13714Solution: Pick UCS2 or UCS4 function at runtime. (lilydjwg)
13715Files: src/if_python.c
13716
13717Patch 7.3.582 (after 7.3.576)
13718Problem: Missing parts of the test OK file.
13719Solution: Add the missing parts.
13720Files: src/testdir/test68.ok
13721
13722Patch 7.3.583
13723Problem: PyObject_NextNotImplemented is not defined before Python 2.7.
13724 (Danek Duvall)
13725Solution: Add #ifdefs.
13726Files: src/if_python.c
13727
13728Patch 7.3.584
13729Problem: PyCObject is not always defined.
13730Solution: Use PyObject instead.
13731Files: src/if_py_both.h, src/if_python.c
13732
13733Patch 7.3.585
13734Problem: Calling changed_bytes() too often.
13735Solution: Move changed_bytes() out of a loop. (Tor Perkins)
13736Files: src/edit.c
13737
13738Patch 7.3.586
13739Problem: When compiling with Cygwin or MingW MEMORYSTATUSEX is not defined.
13740Solution: Set the default for WINVER to 0x0500.
13741Files: src/Make_ming.mak, src/Make_cyg.mak
13742
13743Patch 7.3.587
13744Problem: Compiler warning for local var shadowing global var.
13745Solution: Rename the var and move it to an inner block. (Christian Brabandt)
13746Files: src/buffer.c
13747
13748Patch 7.3.588
13749Problem: Crash on NULL pointer.
13750Solution: Fix the immediate problem by checking for NULL. (Lech Lorens)
13751Files: src/window.c
13752
13753Patch 7.3.589
13754Problem: Crash when $HOME is not set.
13755Solution: Check for a NULL pointer. (Chris Webb)
13756Files: src/misc1.c
13757
13758Patch 7.3.590
13759Problem: The '< and '> marks cannot be set directly.
13760Solution: Allow setting '< and '>. (Christian Brabandt)
13761Files: src/mark.c
13762
13763Patch 7.3.591
13764Problem: Can only move to a tab by absolute number.
13765Solution: Move a number of tabs to the left or the right. (Lech Lorens)
13766Files: runtime/doc/tabpage.txt, src/ex_cmds.h, src/ex_docmd.c,
13767 src/testdir/test62.in, src/testdir/test62.ok, src/window.c
13768
13769Patch 7.3.592
13770Problem: Vim on GTK does not support g:browsefilter.
13771Solution: Add a GtkFileFilter to the file chooser. (Christian Brabandt)
13772Files: src/gui_gtk.c
13773
13774Patch 7.3.593
13775Problem: No easy way to decide if b:browsefilter will work.
13776Solution: Add the browsefilter feature.
13777Files: src/gui_gtk.c, src/eval.c, src/vim.h
13778
13779Patch 7.3.594
13780Problem: The X command server doesn't work perfectly. It sends an empty
13781 reply for as-keys requests.
13782Solution: Remove duplicate ga_init2(). Do not send a reply for as-keys
13783 requests. (Brian Burns)
13784Files: src/if_xcmdsrv.c
13785
13786Patch 7.3.595
13787Problem: The X command server responds slowly
13788Solution: Change the loop that waits for replies. (Brian Burns)
13789Files: src/if_xcmdsrv.c
13790
13791Patch 7.3.596
13792Problem: Can't remove all signs for a file or buffer.
13793Solution: Support "*" for the sign id. (Christian Brabandt)
13794Files: runtime/doc/sign.txt, src/buffer.c, src/ex_cmds.c,
13795 src/proto/buffer.pro
13796
13797Patch 7.3.597
13798Problem: 'clipboard' "autoselect" only applies to the * register. (Sergey
13799 Vakulenko)
Bram Moolenaardd007ed2013-07-09 15:44:17 +020013800Solution: Make 'autoselect' work for the + register. (Christian Brabandt)
Bram Moolenaar913df812013-07-06 15:44:11 +020013801 Add the "autoselectplus" option in 'clipboard' and the "P" flag in
13802 'guioptions'.
13803Files: runtime/doc/options.txt, src/normal.c, src/ops.c, src/screen.c,
13804 src/ui.c, src/globals.h, src/proto/ui.pro, src/option.h, src/gui.c
13805
13806Patch 7.3.598
13807Problem: Cannot act upon end of completion. (Taro Muraoka)
13808Solution: Add an autocommand event that is triggered when completion has
13809 finished. (Idea by Florian Klein)
13810Files: src/edit.c, src/fileio.c, src/vim.h
13811
13812Patch 7.3.599 (after 7.3.597)
13813Problem: Missing change in one file.
13814Solution: Patch for changed clip_autoselect().
13815Files: src/option.c
13816
13817Patch 7.3.600
13818Problem: <f-args> is not expanded properly with DBCS encoding.
13819Solution: Skip over character instead of byte. (Yukihiro Nakadaira)
13820Files: src/ex_docmd.c
13821
13822Patch 7.3.601
13823Problem: Bad code style.
13824Solution: Insert space, remove parens.
13825Files: src/farsi.c
13826
13827Patch 7.3.602
13828Problem: Missing files in distribution.
13829Solution: Update the list of files.
13830Files: Filelist
13831
13832Patch 7.3.603
13833Problem: It is possible to add replace builtin functions by calling
13834 extend() on g:.
13835Solution: Add a flag to a dict to indicate it is a scope. Check for
13836 existing functions. (ZyX)
13837Files: src/buffer.c, src/eval.c, src/proto/eval.pro, src/structs.h,
13838 src/testdir/test34.in, src/testdir/test34.ok, src/window.c
13839
13840Patch 7.3.604
13841Problem: inputdialog() doesn't use the cancel argument in the console.
13842 (David Fishburn)
Bram Moolenaar9ba7e172013-07-17 22:37:26 +020013843Solution: Use the third argument. (Christian Brabandt)
Bram Moolenaar913df812013-07-06 15:44:11 +020013844Files: src/eval.c
13845
13846Patch 7.3.605 (after 7.3.577)
13847Problem: MS-Windows: Can't compile with older compilers. (Titov Anatoly)
13848Solution: Add #ifdef for MEMORYSTATUSEX.
13849Files: src/os_win32.c
13850
13851Patch 7.3.606
13852Problem: CTRL-P completion has a problem with multi-byte characters.
13853Solution: Check for next character being NUL properly. (Yasuhiro Matsumoto)
13854Files: src/search.c, src/macros.h
13855
13856Patch 7.3.607
13857Problem: With an 8 color terminal the selected menu item is black on black,
13858 because darkGrey as bg is the same as black.
13859Solution: Swap fg and bg colors. (James McCoy)
13860Files: src/syntax.c
13861
13862Patch 7.3.608
13863Problem: winrestview() does not always restore the view correctly.
13864Solution: Call win_new_height() and win_new_width(). (Lech Lorens)
13865Files: src/eval.c, src/proto/window.pro, src/window.c
13866
13867Patch 7.3.609
13868Problem: File names in :checkpath! output are garbled.
13869Solution: Check for \zs in the pattern. (Lech Lorens)
13870Files: src/search.c, src/testdir/test17.in, src/testdir/test17.ok
13871
13872Patch 7.3.610
13873Problem: Cannot operate on the text that a search pattern matches.
13874Solution: Add the "gn" and "gN" commands. (Christian Brabandt)
13875Files: runtime/doc/index.txt, runtime/doc/visual.txt, src/normal.c,
13876 src/proto/search.pro, src/search.c, src/testdir/test53.in,
13877 src/testdir/test53.ok
13878
13879Patch 7.3.611
13880Problem: Can't use Vim dictionary as self argument in Python.
13881Solution: Fix the check for the "self" argument. (ZyX)
13882Files: src/if_py_both.h
13883
13884Patch 7.3.612
13885Problem: Auto formatting messes up text when 'fo' contains "2". (ZyX)
13886Solution: Decrement "less_cols". (Tor Perkins)
13887Files: src/misc1.c, src/testdir/test68.in, src/testdir/test68.ok
13888
13889Patch 7.3.613
13890Problem: Including Python's config.c in the build causes trouble. It is
13891 not clear why it was there.
13892Solution: Omit the config file. (James McCoy)
13893Files: src/Makefile, src/auto/configure, src/configure.in
13894
13895Patch 7.3.614
13896Problem: Number argument gets turned into a number while it should be a
13897 string.
13898Solution: Add flag to the call_vim_function() call. (Yasuhiro Matsumoto)
13899Files: src/edit.c, src/eval.c, src/proto/eval.pro
13900
13901Patch 7.3.615
13902Problem: Completion for a user command does not recognize backslash before
13903 a space.
13904Solution: Recognize escaped characters. (Yasuhiro Matsumoto)
13905Files: src/ex_docmd.c
13906
13907Patch 7.3.616 (after 7.3.610)
13908Problem: Can't compile without +visual.
13909Solution: Add #ifdef.
13910Files: src/normal.c
13911
13912Patch 7.3.617 (after 7.3.615)
13913Problem: Hang on completion.
13914Solution: Skip over the space. (Yasuhiro Matsumoto)
13915Files: src/ex_docmd.c
13916
13917Patch 7.3.618 (after 7.3.616)
13918Problem: Still doesn't compile with small features.
13919Solution: Move current_search() out of #ifdef. (Dominique Pelle)
13920Files: src/normal.c, src/search.c
13921
13922Patch 7.3.619
13923Problem: When executing a shell command Vim may become slow to respond.
13924Solution: Don't wait after every processed message. (idea by Yasuhiro
13925 Matsumoto)
13926Files: src/os_win32.c
13927
13928Patch 7.3.620
13929Problem: Building with recent Ruby on Win32 doesn't work.
13930Solution: Add a separate argument for the API version. (Yasuhiro Matsumoto)
13931Files: src/Make_ming.mak, src/Make_mvc.mak
13932
13933Patch 7.3.621
13934Problem: Compiler warnings on 64 bit windows.
13935Solution: Add type casts. (Mike Williams)
13936Files: src/ex_docmd.c, src/search.c
13937
13938Patch 7.3.622
13939Problem: XPM library for Win32 can't be found.
13940Solution: Suggest using the one from the Vim ftp site.
13941Files: src/Make_mvc.mak
13942
13943Patch 7.3.623
13944Problem: Perl 5.14 commands crash Vim on MS-Windows.
13945Solution: Use perl_get_sv() instead of GvSV(). (Raymond Ko)
13946Files: src/if_perl.xs
13947
13948Patch 7.3.624
13949Problem: When cancelling input() it returns the third argument. That should
13950 only happen for inputdialog().
13951Solution: Check if inputdialog() was used. (Hirohito Higashi)
13952Files: src/eval.c
13953
13954Patch 7.3.625
13955Problem: "gn" does not handle zero-width matches correctly.
13956Solution: Handle zero-width patterns specially. (Christian Brabandt)
13957Files: src/search.c
13958
13959Patch 7.3.626
13960Problem: Python interface doesn't build with Python 2.4 or older.
13961Solution: Define Py_ssize_t. (Benjamin Bannier)
13962Files: src/if_py_both.h
13963
13964Patch 7.3.627
13965Problem: When using the "n" flag with the ":s" command a \= substitution
13966 will not be evaluated.
13967Solution: Do perform the evaluation, so that a function can be invoked at
13968 every matching position without changing the text. (Christian
13969 Brabandt)
13970Files: src/ex_cmds.c
13971
13972Patch 7.3.628
13973Problem: ":open" does not allow for a !, which results in a confusing error
13974 message. (Shawn Wilson)
13975Solution: Allow ! on ":open". (Christian Brabandt)
13976Files: src/ex_cmds.h
13977
13978Patch 7.3.629
13979Problem: There is no way to make 'shiftwidth' follow 'tabstop'.
13980Solution: When 'shiftwidth' is zero use the value of 'tabstop'. (Christian
13981 Brabandt)
13982Files: src/edit.c, src/ex_getln.c, src/fold.c, src/misc1.c, src/ops.c,
13983 src/option.c, src/proto/option.pro
13984
13985Patch 7.3.630
13986Problem: "|" does not behave correctly when 'virtualedit' is set.
13987Solution: Call validate_virtcol(). (David Bürgin)
13988Files: src/normal.c
13989
13990Patch 7.3.631
13991Problem: Cannot complete user names.
13992Solution: Add user name completion. (Dominique Pelle)
13993Files: runtime/doc/map.txt, src/auto/configure, src/config.h.in,
13994 src/configure.in, src/ex_docmd.c, src/ex_getln.c, src/misc1.c,
13995 src/misc2.c, src/proto/misc1.pro, src/vim.h
13996
13997Patch 7.3.632
13998Problem: Cannot select beyond 222 columns with the mouse in xterm.
13999Solution: Add support for SGR mouse tracking. (Hayaki Saito)
14000Files: runtime/doc/options.txt, src/feature.h, src/keymap.h, src/misc2.c,
14001 src/option.h, src/os_unix.c, src/term.c, src/version.c
14002
14003Patch 7.3.633
14004Problem: Selection remains displayed as selected after selecting another
14005 text.
14006Solution: Call xterm_update() before select(). (Andrew Pimlott)
14007Files: src/os_unix.c
14008
14009Patch 7.3.634
14010Problem: Month/Day format for undo is confusing. (Marcin Szamotulski)
14011Solution: Always use Year/Month/Day, should work for everybody.
14012Files: src/undo.c
14013
14014Patch 7.3.635
14015Problem: Issue 21: System call during startup sets 'lines' to a wrong
14016 value. (Karl Yngve)
14017Solution: Don't set the shell size while the GUI is still starting up.
14018 (Christian Brabandt)
14019Files: src/ui.c
14020
14021Patch 7.3.636 (after 7.3.625)
14022Problem: Not all zero-width matches handled correctly for "gn".
14023Solution: Move zero-width detection to a separate function. (Christian
14024 Brabandt)
14025Files: src/search.c
14026
14027Patch 7.3.637
14028Problem: Cannot catch the error caused by a foldopen when there is no fold.
14029 (ZyX, Issue 48)
14030Solution: Do not break out of the loop early when inside try/catch.
14031 (Christian Brabandt) Except when there is a syntax error.
14032Files: src/ex_docmd.c, src/globals.h
14033
14034Patch 7.3.638
Bram Moolenaardd007ed2013-07-09 15:44:17 +020014035Problem: Unnecessary redraw of the previous character.
Bram Moolenaar913df812013-07-06 15:44:11 +020014036Solution: Check if the character is double-width. (Jon Long)
14037Files: src/screen.c
14038
14039Patch 7.3.639
14040Problem: It's not easy to build Vim on Windows with XPM support.
14041Solution: Include the required files, they are quite small. Update the
14042 MSVC makefile to use them. Binary files are in the next patch.
14043 (Sergey Khorev)
14044Files: src/xpm/COPYRIGHT, src/xpm/README.txt, src/xpm/include/simx.h,
14045 src/xpm/include/xpm.h, src/Make_mvc.mak, src/bigvim.bat,
14046 src/bigvim64.bat, Filelist
14047
14048Patch 7.3.640
14049Problem: It's not easy to build Vim on Windows with XPM support.
14050Solution: Binary files for 7.3.639. (Sergey Khorev)
14051Files: src/xpm/x64/lib/libXpm.lib, src/xpm/x86/lib/libXpm.a,
14052 src/xpm/x86/lib/libXpm.lib
14053
14054Patch 7.3.641
14055Problem: ":mkview" uses ":normal" instead of ":normal!" for folds. (Dan)
14056Solution: Add the bang. (Christian Brabandt)
14057Files: src/fold.c
14058
14059Patch 7.3.642
14060Problem: Segfault with specific autocommands. Was OK after 7.3.449 and
14061 before 7.3.545. (Richard Brown)
14062Solution: Pass TRUE for abort_if_last in the call to close_buffer().
14063 (Christian Brabandt)
14064Files: src/window.c
14065
14066Patch 7.3.643 (after 7.3.635)
14067Problem: MS-Windows: When starting gvim maximized 'lines' and 'columns' are
14068 wrong. (Christian Robinson)
14069Solution: Move the check for gui.starting from ui_get_shellsize() to
14070 check_shellsize().
14071Files: src/ui.c, src/term.c
14072
14073Patch 7.3.644
14074Problem: Dead code for BeOS GUI.
14075Solution: Remove unused __BEOS__ stuff.
14076Files: src/gui.c
14077
14078Patch 7.3.645
14079Problem: No tests for patch 7.3.625 and 7.3.637.
14080Solution: Add more tests for the "gn" command and try/catch. (Christian
14081 Brabandt)
14082Files: src/testdir/test53.in, src/testdir/test53.ok,
14083 src/testdir/test55.in, src/testdir/test55.ok
14084
14085Patch 7.3.646
14086Problem: When reloading a buffer the undo file becomes unusable unless ":w"
14087 is executed. (Dmitri Frank)
14088Solution: After reloading the buffer write the undo file. (Christian
14089 Brabandt)
14090Files: src/fileio.c
14091
14092Patch 7.3.647
14093Problem: "gnd" doesn't work correctly in Visual mode.
14094Solution: Handle Visual mode differently in "gn". (Christian Brabandt)
14095Files: src/search.c, src/testdir/test53.in, src/testdir/test53.ok
14096
14097Patch 7.3.648
14098Problem: Crash when using a very long file name. (ZyX)
14099Solution: Properly check length of buffer space.
14100Files: src/buffer.c
14101
14102Patch 7.3.649
14103Problem: When 'clipboard' is set to "unnamed" small deletes end up in the
14104 numbered registers. (Ingo Karkat)
14105Solution: Use the original register name to decide whether to put a delete
14106 in a numbered register. (Christian Brabandt)
14107Files: src/ops.c
14108
14109Patch 7.3.650
14110Problem: Completion after ":help \{-" gives an error message and messes up
14111 the command line.
14112Solution: Cancel the tag search if the pattern can't be compiled. (Yasuhiro
14113 Matsumoto)
14114Files: src/tag.c
14115
14116Patch 7.3.651
14117Problem: Completion after ":help \{-" gives an error message.
14118Solution: Prepend a backslash.
14119Files: src/ex_cmds.c
14120
14121Patch 7.3.652
14122Problem: Workaround for Python crash isn't perfect.
14123Solution: Change the type of the length argument. (Sean Estabrooks)
14124Files: src/if_py_both.h
14125
14126Patch 7.3.653
14127Problem: MingW needs build rule for included XPM files. Object directory
14128 for 32 and 64 builds is the same, also for MSVC.
14129Solution: Add MingW build rule to use included XPM files. Add the CPU or
14130 architecture to the object directory name. (Sergey Khorev)
14131Files: src/Make_ming.mak, src/Make_mvc.mak, src/xpm/README.txt
14132
14133Patch 7.3.654
14134Problem: When creating a Vim dictionary from Python objects an empty key
14135 might be used.
14136Solution: Do not use empty keys, throw an IndexError. (ZyX)
14137Files: src/if_py_both.h
14138
14139Patch 7.3.655
14140Problem: 64 bit MingW xpm .a file is missing.
14141Solution: Add the file. (Sergey Khorev)
14142Files: src/xpm/x64/lib/libXpm.a
14143
14144Patch 7.3.656
14145Problem: Internal error in :pyeval.
14146Solution: Handle failed object conversion. (ZyX)
14147Files: src/if_python.c, src/if_python3.c
14148
14149Patch 7.3.657
14150Problem: Python bindings silently truncate string values containing NUL.
14151Solution: Fail when a string contains NUL. (ZyX)
14152Files: src/if_python.c, src/if_python3.c
14153
14154Patch 7.3.658
14155Problem: NUL bytes truncate strings when converted from Python.
14156Solution: Handle truncation as an error. (ZyX)
14157Files: src/if_py_both.h, src/if_python3.c
14158
14159Patch 7.3.659
14160Problem: Recent Python changes are not tested.
14161Solution: Add tests for Python bindings. (ZyX)
14162Files: src/testdir/test86.in, src/testdir/test86.ok,
14163 src/testdir/test87.in, src/testdir/test87.ok
14164
14165Patch 7.3.660
14166Problem: ":help !" jumps to help for ":!".
14167Solution: Adjust check for tag header line. (Andy Wokula)
14168Files: src/tag.c
14169
14170Patch 7.3.661 (after 7.3.652)
14171Problem: SEGV in Python code.
14172Solution: Initialize len to zero. Use the right function depending on
14173 version. (Maxim Philippov)
14174Files: src/if_py_both.h, src/if_python.c, src/if_python3.c
14175
14176Patch 7.3.662
14177Problem: Can't build Ruby interface with Ruby 1.9.3.
14178Solution: Add missing functions. (V. Ondruch)
14179Files: src/if_ruby.c
14180
14181Patch 7.3.663
14182Problem: End of color scheme name not clear in E185. (Aaron Lewis)
14183Solution: Put the name in single quotes.
14184Files: src/ex_docmd.c
14185
14186Patch 7.3.664
14187Problem: Buffer overflow in unescaping text. (Raymond Ko)
14188Solution: Limit check for multi-byte character to 4 bytes.
14189Files: src/mbyte.c
14190
14191Patch 7.3.665
14192Problem: MSVC 11 is not supported. (Raymond Ko)
14193Solution: Recognize MSVC 11. (Gary Willoughby)
14194Files: src/Make_mvc.mak
14195
14196Patch 7.3.666
14197Problem: With MSVC 11 Win32.mak is not found.
14198Solution: Add the SDK_INCLUDE_DIR variable. (Raymond Ko)
14199Files: src/Make_mvc.mak
14200
14201Patch 7.3.667
14202Problem: Unused variables in Perl interface.
14203Solution: Adjust #ifdefs.
14204Files: src/if_perl.xs
14205
14206Patch 7.3.668
14207Problem: Building with Perl loaded dynamically still uses static library.
14208Solution: Adjust use of PL_thr_key. (Ken Takata)
14209Files: src/if_perl.xs
14210
14211Patch 7.3.669
14212Problem: When building with Cygwin loading Python dynamically fails.
14213Solution: Use DLLLIBRARY instead of INSTSONAME. (Ken Takata)
14214Files: src/configure.in, src/auto/configure
14215
14216Patch 7.3.670
14217Problem: Python: memory leaks when there are exceptions.
14218Solution: Add DICTKEY_UNREF in the right places. (ZyX)
14219Files: src/if_py_both.h
14220
14221Patch 7.3.671
14222Problem: More Python code can be shared between Python 2 and 3.
14223Solution: Move code to if_py_both.h. (ZyX)
14224Files: src/if_py_both.h, src/if_python.c, src/if_python3.c
14225
14226Patch 7.3.672
14227Problem: Not possible to lock/unlock lists in Python interface.
14228Solution: Add .locked and .scope attributes. (ZyX)
14229Files: runtime/doc/if_pyth.txt, src/if_py_both.h, src/if_python.c,
14230 src/if_python3.c, src/testdir/test86.in, src/testdir/test86.ok,
14231 src/testdir/test87.in, src/testdir/test87.ok
14232
14233Patch 7.3.673
14234Problem: Using "gN" while 'selection' is "exclusive" misses one character.
14235 (Ben Fritz)
14236Solution: Check the direction when compensating for exclusive selection.
14237 (Christian Brabandt)
14238Files: src/search.c
14239
14240Patch 7.3.674
14241Problem: Can't compile with Lua/dyn on Cygwin.
14242Solution: Adjust configure to use the right library name. (Ken Takata)
14243Files: src/configure.in, src/auto/configure
14244
14245Patch 7.3.675
14246Problem: Using uninitialized memory with very long file name.
14247Solution: Put NUL after text when it is truncated. (ZyX)
14248Files: src/buffer.c
14249
14250Patch 7.3.676
14251Problem: Ruby compilation on Windows 32 bit doesn't work.
14252Solution: Only use some functions for 64 bit. (Ken Takata)
14253Files: src/if_ruby.c
14254
14255Patch 7.3.677
14256Problem: buf_spname() is used inconsistently.
14257Solution: Make the return type a char_u pointer. Check the size of the
14258 returned string.
14259Files: src/buffer.c, src/proto/buffer.pro, src/ex_cmds2.c,
14260 src/ex_docmd.c, src/memline.c, src/screen.c
14261
14262Patch 7.3.678
14263Problem: Ruby .so name may not be correct.
14264Solution: Use the LIBRUBY_SO entry from the config. (Vit Ondruch)
14265Files: src/configure.in, src/auto/configure
14266
14267Patch 7.3.679
14268Problem: Ruby detection uses Config, newer Ruby versions use RbConfig.
14269Solution: Detect the need to use RbConfig. (Vit Ondruch)
14270Files: src/configure.in, src/auto/configure
14271
14272Patch 7.3.680
14273Problem: Some files missing in the list of distributed files.
14274Solution: Add lines for new files.
14275Files: Filelist
14276
14277Patch 7.3.681 (after 7.3.680)
14278Problem: List of distributed files picks up backup files.
14279Solution: Make tutor patterns more specific.
14280Files: Filelist
14281
14282Patch 7.3.682 (after 7.3.677)
14283Problem: Compiler complains about incompatible types.
14284Solution: Remove type casts. (hint by Danek Duvall)
14285Files: src/edit.c
14286
14287Patch 7.3.683
14288Problem: ":python" may crash when vimbindeval() returns None.
14289Solution: Check for v_string to be NULL. (Yukihiro Nakadaira)
14290Files: src/if_py_both.h
14291
14292Patch 7.3.684
14293Problem: "make test" does not delete lua.vim.
14294Solution: Add lua.vim to the clean target. (Simon Ruderich)
14295Files: src/testdir/Makefile, src/testdir/Make_dos.mak,
14296 src/testdir/Make_ming.mak, src/testdir/Make_vms.mms
14297
14298Patch 7.3.685
14299Problem: No test for what patch 7.3.673 fixes.
14300Solution: Add a test. (Christian Brabandt)
14301Files: src/testdir/test53.in, src/testdir/test53.ok
14302
14303Patch 7.3.686
14304Problem: Using CTRL-\ e mappings is useful also when entering an
14305 expression, but it doesn't work. (Marcin Szamotulski)
14306Solution: Allow using CTRL-\ e when entering an expression if it was not
14307 typed.
14308Files: src/ex_getln.c
14309
14310Patch 7.3.687
14311Problem: Test 16 fails when $DISPLAY is not set.
14312Solution: Skip the test when $DISPLAY is not set.
14313Files: src/testdir/test16.in
14314
14315Patch 7.3.688
14316Problem: Python 3.3 is not supported.
14317Solution: Add Python 3.3 support (Ken Takata)
14318Files: src/if_python3.c
14319
14320Patch 7.3.689
14321Problem: MzScheme and Lua may use a NULL string.
14322Solution: Use an empty string instead of NULL. (Yukihiro Nakadaira)
14323Files: src/if_lua.c, src/if_mzsch.c
14324
14325Patch 7.3.690
14326Problem: When the current directory name is exactly the maximum path length
14327 Vim may crash.
14328Solution: Only add "/" when there is room. (Danek Duvall)
14329Files: src/os_unix.c
14330
14331Patch 7.3.691
14332Problem: State specific to the Python thread is discarded.
14333Solution: Keep state between threads. (Paul)
14334Files: src/if_python.c
14335
14336Patch 7.3.692
14337Problem: Can't build GTK version with GTK 2.0.
14338Solution: Put GtkFileFilter declaration in the right place. (Yegappan
14339 Lakshmanan)
14340Files: src/gui_gtk.c
14341
14342Patch 7.3.693
14343Problem: Can't make 'softtabstop' follow 'shiftwidth'.
14344Solution: When 'softtabstop' is negative use the value of 'shiftwidth'.
14345 (so8res)
14346Files: src/edit.c, src/option.c, src/proto/option.pro
14347
14348Patch 7.3.694
14349Problem: Now that 'shiftwidth' may use the value of 'tabstop' it is not so
14350 easy to use in indent files.
14351Solution: Add the shiftwidth() function. (so8res)
14352Files: runtime/doc/eval.txt, src/eval.c
14353
14354Patch 7.3.695
14355Problem: Balloon cannot show multi-byte text.
14356Solution: Properly deal with multi-byte characters. (Dominique Pelle)
14357Files: src/gui_beval.c, src/ui.c
14358
14359Patch 7.3.696
14360Problem: Message about added spell language can be wrong.
14361Solution: Give correct message. Add g:menutrans_set_lang_to to allow for
14362 translation. (Jiri Sedlak)
14363Files: runtime/menu.vim
14364
14365Patch 7.3.697
14366Problem: Leaking resources when setting GUI font.
14367Solution: Free the font. (Ken Takata)
14368Files: src/syntax.c
14369
14370Patch 7.3.698
Bram Moolenaardd007ed2013-07-09 15:44:17 +020014371Problem: Python 3 does not preserve state between commands.
Bram Moolenaar913df812013-07-06 15:44:11 +020014372Solution: Preserve the state. (Paul Ollis)
14373Files: src/if_python.c, src/if_python3.c
14374
14375Patch 7.3.699
14376Problem: When 'ttymouse' is set to "sgr" manually, it is overruled by
14377 automatic detection.
14378Solution: Do not use automatic detection when 'ttymouse' was set manually.
14379 (Hayaki Saito)
14380Files: src/term.c
14381
14382Patch 7.3.700
14383Problem: Cannot detect URXVT and SGR mouse support.
14384Solution: add +mouse_urxvt and +mouse_sgr. (Hayaki Saito)
14385Files: src/feature.h, src/eval.c
14386
14387Patch 7.3.701
14388Problem: MS-Windows: Crash with stack overflow when setting 'encoding'.
14389Solution: Handle that loading the iconv library may be called recursively.
14390 (Jiri Sedlak)
14391Files: src/os_win32.c
14392
14393Patch 7.3.702
14394Problem: Nmake from VS6 service pack 6 is not recognized.
14395Solution: Detect the version number. (Jiri Sedlak)
14396Files: src/Make_mvc.mak
14397
14398Patch 7.3.703
14399Problem: When 'undofile' is reset the hash is computed unnecessarily.
14400Solution: Only compute the hash when the option was set. (Christian Brabandt)
14401Files: src/option.c
14402
14403Patch 7.3.704
14404Problem: Repeating "cgn" does not always work correctly.
14405Solution: Also fetch the operator character. (Christian Brabandt)
14406Files: src/normal.c
14407
14408Patch 7.3.705
14409Problem: Mouse features are not sorted properly. (Tony Mechelynck)
14410Solution: Put the mouse features in alphabetical order.
14411Files: src/version.c
14412
14413Patch 7.3.706 (after 7.3.697)
14414Problem: Can't build Motif version.
14415Solution: Fix wrongly named variable. (Ike Devolder)
14416Files: src/syntax.c
14417
14418Patch 7.3.707 (after 7.3.701)
14419Problem: Problems loading a library for a file name with non-latin
14420 characters.
14421Solution: Use wide system functions when possible. (Ken Takata)
14422Files: src/os_win32.c, src/os_win32.h
14423
14424Patch 7.3.708
14425Problem: Filler lines above the first line may be hidden when opening Vim.
14426Solution: Change how topfill is computed. (Christian Brabandt)
14427Files: src/diff.c, src/testdir/test47.in, src/testdir/test47.ok
14428
14429Patch 7.3.709
14430Problem: Compiler warning for unused argument.
14431Solution: Add UNUSED.
14432Files: src/eval.c
14433
14434Patch 7.3.710 (after 7.3.704)
14435Problem: Patch 7.3.704 breaks "fn".
14436Solution: Add check for ca.cmdchar. (Christian Brabandt)
14437Files: src/normal.c
14438
14439Patch 7.3.711 (after 7.3.688)
14440Problem: vim.current.buffer is not available. (lilydjwg)
14441Solution: Use py3_PyUnicode_AsUTF8 instead of py3_PyUnicode_AsUTF8String.
14442 (Ken Takata)
14443Files: src/if_python3.c
14444
14445Patch 7.3.712
14446Problem: Nmake from VS2010 SP1 is not recognized.
14447Solution: Add the version number. (Ken Takata)
14448Files: src/Make_mvc.mak
14449
14450Patch 7.3.713
14451Problem: printf() can only align to bytes, not characters.
14452Solution: Add the "S" item. (Christian Brabandt)
14453Files: runtime/doc/eval.txt, src/message.c
14454
14455Patch 7.3.714
14456Problem: Inconsistency: :set can be used in the sandbox, but :setlocal and
14457 :setglobal cannot. (Michael Henry)
14458Solution: Fix the flags for :setlocal and :setglobal. (Christian Brabandt)
14459Files: src/ex_cmds.h
14460
14461Patch 7.3.715
14462Problem: Crash when calling setloclist() in BufUnload autocmd. (Marcin
14463 Szamotulski)
14464Solution: Set w_llist to NULL when it was freed. Also add a test.
14465 (Christian Brabandt)
14466Files: src/quickfix.c, src/testdir/test49.ok, src/testdir/test49.vim
14467
14468Patch 7.3.716
14469Problem: Error on exit when using Python 3.
14470Solution: Remove PythonIO_Fini(). (Roland Puntaier)
14471Files: src/if_python3.c
14472
14473Patch 7.3.717
14474Problem: When changing the font size, only MS-Windows limits the window
14475 size.
14476Solution: Also limit the window size on other systems. (Roland Puntaier)
14477Files: src/gui.c
14478
14479Patch 7.3.718
14480Problem: When re-using the current buffer the buffer-local options stay.
14481Solution: Re-initialize the buffer-local options. (Christian Brabandt)
14482Files: src/buffer.c
14483
14484Patch 7.3.719
14485Problem: Cannot run new version of cproto, it fails on missing include
14486 files.
14487Solution: Add lots of #ifndef PROTO
14488Files: src/os_amiga.c, src/os_amiga.h, src/gui_w16.c, src/gui_w48.c,
14489 src/gui_w32.c, src/vimio.h, src/os_msdos.c, src/os_msdos.h,
14490 src/os_win16.h, src/os_win16.c, src/os_win32.h, src/os_win32.c,
14491 src/os_mswin.c, src/gui_photon.c, src/os_unix.h, src/os_beos.c,
14492 src/os_beos.h
14493
14494Patch 7.3.720
14495Problem: Proto files are outdated.
14496Solution: Update the newly generated proto files.
14497Files: src/proto/digraph.pro, src/proto/fold.pro, src/proto/misc1.pro,
14498 src/proto/move.pro, src/proto/screen.pro, src/proto/search.pro,
14499 src/proto/os_win32.pro, src/proto/os_mswin.pro,
14500 src/proto/os_beos.pro
14501
14502Patch 7.3.721
14503Problem: Ruby interface defines local functions globally.
14504Solution: Make the functions static.
14505Files: src/if_ruby.c
14506
14507Patch 7.3.722
14508Problem: Perl flags may contain "-g", which breaks "make proto".
14509Solution: Filter out the "-g" flag for cproto. (Ken Takata)
14510Files: src/Makefile
14511
14512Patch 7.3.723
14513Problem: Various tiny problems.
14514Solution: Various tiny fixes.
14515Files: src/gui_mac.c, src/xpm_w32.c, src/netbeans.c, src/sha256.c,
14516 src/if_sniff.c, README.txt
14517
14518Patch 7.3.724
14519Problem: Building with Ruby and Tcl on MS-Windows 64 bit does not work.
14520Solution: Remove Ruby and Tcl from the big MS-Windows build.
14521Files: src/bigvim64.bat
14522
14523Patch 7.3.725
14524Problem: :aboveleft and :belowright have no effect on :copen.
14525Solution: Check for cmdmod.split. (Christian Brabandt)
14526Files: src/quickfix.c
14527
14528Patch 7.3.726
14529Problem: Typos and duplicate info in README.
14530Solution: Fix the text.
14531Files: README.txt
14532
14533Patch 7.3.727
14534Problem: Can't always find Win32.mak when building GvimExt.
14535Solution: Use same mechanism as in Make_mvc.mak. (Cade Foster)
14536Files: src/GvimExt/Makefile
14537
14538Patch 7.3.728
14539Problem: Cannot compile with MzScheme interface on Ubuntu 12.10.
14540Solution: Find the collects directory under /usr/share.
14541Files: src/configure.in, src/auto/configure
14542
14543Patch 7.3.729
14544Problem: Building with Ruby fails on some systems.
14545Solution: Remove "static" and add #ifndef PROTO. (Ken Takata)
14546Files: src/if_ruby.c
14547
14548Patch 7.3.730
14549Problem: Crash in PHP file when using syntastic. (Ike Devolder)
14550Solution: Avoid using NULL pointer. (Christian Brabandt)
14551Files: src/quickfix.c
14552
14553Patch 7.3.731
Bram Moolenaardd007ed2013-07-09 15:44:17 +020014554Problem: Py3Init_vim() is exported unnecessarily.
Bram Moolenaar913df812013-07-06 15:44:11 +020014555Solution: Make it static. (Ken Takata)
14556Files: src/if_python3.c
14557
14558Patch 7.3.732
14559Problem: Compiler warnings for function arguments.
14560Solution: Use inteptr_t instead of long.
14561Files: src/if_mzsch.c, src/main.c
14562
14563Patch 7.3.733
14564Problem: Tests fail when including MzScheme.
14565Solution: Change #ifdefs for vim_main2().
14566Files: src/main.c
14567
14568Patch 7.3.734
14569Problem: Cannot put help files in a sub-directory.
14570Solution: Make :helptags work for sub-directories. (Charles Campbell)
14571Files: src/ex_cmds.c
14572
14573Patch 7.3.735
14574Problem: Cannot build Ruby 1.9 with MingW or Cygwin.
14575Solution: Add another include directory. (Ken Takata)
14576Files: src/Make_cyg.mak, src/Make_ming.mak
14577
14578Patch 7.3.736
14579Problem: File name completion in input() escapes white space. (Frederic
14580 Hardy)
14581Solution: Do not escape white space. (Christian Brabandt)
14582Files: src/ex_getln.c
14583
14584Patch 7.3.737
14585Problem: When using do_cmdline() recursively did_endif is not reset,
14586 causing messages to be overwritten.
14587Solution: Reset did_endif. (Christian Brabandt)
14588Files: src/ex_docmd.c
14589
14590Patch 7.3.738 (after 7.3.730)
14591Problem: Unused function argument.
14592Solution: Remove it. (Christian Brabandt)
14593Files: src/quickfix.c
14594
14595Patch 7.3.739
14596Problem: Computing number of lines may have an integer overflow.
14597Solution: Check for MAXCOL explicitly. (Dominique Pelle)
14598Files: src/move.c
14599
14600Patch 7.3.740
14601Problem: IOC tool complains about undefined behavior for int.
14602Solution: Change to unsigned int. (Dominique Pelle)
14603Files: src/hashtab.c, src/misc2.c
14604
14605Patch 7.3.741 (after 7.3.737)
14606Problem: Tiny build fails.
14607Solution: Move #ifdef. (Ike Devolder)
14608Files: src/ex_docmd.c
14609
14610Patch 7.3.742
14611Problem: Leaking memory when :vimgrep restores the directory.
14612Solution: Free the allocated memory. (Christian Brabandt)
14613Files: src/quickfix.c
14614
14615Patch 7.3.743 (after 7.3.741)
14616Problem: Tiny build still fails.
14617Solution: Add #else in the right place.
14618Files: src/ex_docmd.c
14619
14620Patch 7.3.744
14621Problem: 64 bit compiler warning.
14622Solution: Add type cast. (Mike Williams)
14623Files: src/ex_cmds.c
14624
14625Patch 7.3.745
14626Problem: Automatically setting 'ttymouse' doesn't work.
14627Solution: Reset the "option was set" flag when using the default.
14628Files: src/option.c, src/proto/option.pro, src/term.c
14629
14630Patch 7.3.746
14631Problem: Memory leaks when using location lists.
14632Solution: Set qf_title to something. (Christian Brabandt)
14633Files: src/eval.c, src/quickfix.c
14634
14635Patch 7.3.747
14636Problem: When characters are concealed text aligned with tabs are no longer
14637 aligned, e.g. at ":help :index".
14638Solution: Compensate space for tabs for concealed characters. (Dominique
14639 Pelle)
14640Files: src/screen.c
14641
14642Patch 7.3.748
14643Problem: Cannot properly test conceal mode.
14644Solution: Add the screencol() and screenrow() functions. Use them in
14645 test88. (Simon Ruderich)
14646Files: runtime/doc/eval.txt, src/eval.c, src/proto/screen.pro,
14647 src/screen.c, src/testdir/Make_amiga.mak,
14648 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
14649 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms
14650 src/testdir/Makefile, src/testdir/test88.in,
14651 src/testdir/test88.ok,
14652
14653Patch 7.3.749
14654Problem: Python interface doesn't build without the multi-byte feature.
14655Solution: Add #ifdef. (Ken Takata)
14656Files: src/if_py_both.h
14657
14658Patch 7.3.750
14659Problem: The justify macro does not always work correctly.
14660Solution: Fix off-by-one error (James McCoy)
14661Files: runtime/macros/justify.vim
14662
14663Patch 7.3.751
14664Problem: Test 61 is flaky, it fails once in a while.
14665Solution: When it fails retry once.
14666Files: src/testdir/Makefile
14667
14668Patch 7.3.752
14669Problem: Test 49 script file doesn't fold properly.
14670Solution: Add a colon.
14671Files: src/testdir/test49.vim
14672
14673Patch 7.3.753
14674Problem: When there is a QuitPre autocommand using ":q" twice does not work
14675 for exiting when there are more files to edit.
14676Solution: Do not decrement quitmore in an autocommand. (Techlive Zheng)
14677Files: src/ex_docmd.c, src/fileio.c, src/proto/fileio.pro
14678
14679Patch 7.3.754
14680Problem: Latest nmake is not recognized.
14681Solution: Add nmake version 11.00.51106.1. (Raymond Ko)
14682Files: src/Make_mvc.mak
14683
14684Patch 7.3.755
14685Problem: Autoconf doesn't find Python 3 if it's called "python".
14686Solution: Search for "python2" and "python3" first, then "python".
14687Files: src/configure.in, src/auto/configure
14688
14689Patch 7.3.756
14690Problem: A location list can get a wrong count in :lvimgrep.
14691Solution: Check if the list was changed by autocommands. (mostly by
14692 Christian Brabandt)
Bram Moolenaardd007ed2013-07-09 15:44:17 +020014693Files: src/quickfix.c
Bram Moolenaar913df812013-07-06 15:44:11 +020014694
14695Patch 7.3.757
14696Problem: Issue 96: May access freed memory when a put command triggers
14697 autocommands. (Dominique Pelle)
14698Solution: Call u_save() before getting y_array.
14699Files: src/ops.c
14700
14701Patch 7.3.758
14702Problem: Matchit plugin does not handle space in #ifdef.
14703Solution: Change matching pattern to allow spaces. (Mike Morearty)
14704Files: runtime/macros/matchit.vim
14705
14706Patch 7.3.759
14707Problem: MS-Windows: Updating the tabline is slow when there are many tabs.
14708Solution: Disable redrawing while performing the update. (Arseny Kapoulkine)
14709Files: src/gui_w48.c
14710
14711Patch 7.3.760
14712Problem: dv_ deletes the white space before the line.
14713Solution: Move the cursor to the first non-white. (Christian Brabandt)
14714Files: src/normal.c, src/testdir/test19.in, src/testdir/test19.ok
14715
14716Patch 7.3.761
14717Problem: In Visual mode a "-p does not work. (Marcin Szamotulski)
14718Solution: Avoid writing to "- before putting it. (Christian Brabandt)
14719Files: src/normal.c, src/testdir/test48.in, src/testdir/test48.ok
14720
14721Patch 7.3.762 (after 7.3.759)
14722Problem: On some systems the tabline is not redrawn.
14723Solution: Call RedrawWindow(). (Charles Peacech)
14724Files: src/gui_w48.c
14725
14726Patch 7.3.763
14727Problem: Jumping to a mark does not open a fold if it is in the same line.
14728 (Wiktor Ruben)
14729Solution: Also compare the column after the jump. (Christian Brabandt)
14730Files: src/normal.c
14731
14732Patch 7.3.764
14733Problem: Not all message translation files are installed.
14734Solution: Also install the converted files.
14735Files: src/po/Makefile
14736
14737Patch 7.3.765
14738Problem: Segfault when doing "cclose" on BufUnload in a python function.
14739 (Sean Reifschneider)
14740Solution: Skip window with NULL buffer. (Christian Brabandt)
14741Files: src/main.c, src/window.c
14742
14743Patch 7.3.766
14744Problem: ":help cpo-*" jumps to the wrong place.
14745Solution: Make it equivalent to ":help cpo-star".
14746Files: src/ex_cmds.c
14747
14748Patch 7.3.767
14749Problem: (Win32) The _errno used for iconv may be the wrong one.
14750Solution: Use the _errno from iconv.dll. (Ken Takata)
14751Files: src/mbyte.c
14752
14753Patch 7.3.768
14754Problem: settabvar() and setwinvar() may move the cursor.
14755Solution: Save and restore the cursor position when appropriate. (idea by
14756 Yasuhiro Matsumoto)
14757Files: src/edit.c
14758
14759Patch 7.3.769
14760Problem: 'matchpairs' does not work with multi-byte characters.
14761Solution: Make it work. (Christian Brabandt)
14762Files: src/misc1.c, src/option.c, src/proto/option.pro, src/search.c,
14763 src/testdir/test69.in, src/testdir/test69.ok
14764
14765Patch 7.3.770
14766Problem: Vim.h indentation is inconsistent.
14767Solution: Adjust the indentation. (Elias Diem)
14768Files: src/vim.h
14769
14770Patch 7.3.771 (after 7.3.769)
14771Problem: Uninitialized variable. (Yasuhiro Matsumoto)
14772Solution: Set x2 to -1.
14773Files: src/option.c
14774
14775Patch 7.3.772
14776Problem: Cursor is at the wrong location and below the end of the file
14777 after doing substitutions with confirm flag: %s/x/y/c
14778 (Dominique Pelle)
14779Solution: Update the cursor position. (Christian Brabandt & Dominique)
14780Files: src/ex_cmds.c
14781
14782Patch 7.3.773 (after 7.3.767)
14783Problem: Crash when OriginalFirstThunk is zero.
14784Solution: Skip items with OriginalFirstThunk not set. (Ken Takata)
14785Files: src/mbyte.c
14786
14787Patch 7.3.774
14788Problem: Tiny GUI version misses console dialog feature.
Bram Moolenaardd007ed2013-07-09 15:44:17 +020014789Solution: Define FEAT_CON_DIALOG when appropriate. (Christian Brabandt)
Bram Moolenaar913df812013-07-06 15:44:11 +020014790Files: src/feature.h, src/gui.h
14791
14792Patch 7.3.775
14793Problem: Cygwin and Mingw builds miss dependency on gui_w48.c.
14794Solution: Add a build rule. (Ken Takata)
14795Files: src/Make_cyg.mak, src/Make_ming.mak
14796
14797Patch 7.3.776
14798Problem: ml_get error when searching, caused by curwin not matching curbuf.
14799Solution: Avoid changing curbuf. (Lech Lorens)
14800Files: src/charset.c, src/eval.c, src/mark.c, src/proto/charset.pro,
14801 src/proto/mark.pro, src/regexp.c, src/syntax.c,
14802
14803Patch 7.3.777
14804Problem: When building with Gnome locale gets reset.
14805Solution: Set locale after gnome_program_init(). (Christian Brabandt)
14806Files: src/gui_gtk_x11.c
14807
14808Patch 7.3.778
14809Problem: Compiler error for adding up two pointers. (Titov Anatoly)
14810Solution: Add a type cast. (Ken Takata)
14811Files: src/mbyte.c
14812
14813Patch 7.3.779
14814Problem: Backwards search lands in wrong place when started on a multibyte
14815 character.
14816Solution: Do not set extra_col for a backwards search. (Sung Pae)
14817Files: src/search.c, src/testdir/test44.in, src/testdir/test44.ok
14818
14819Patch 7.3.780
14820Problem: char2nr() and nr2char() always use 'encoding'.
14821Solution: Add argument to use utf-8 characters. (Yasuhiro Matsumoto)
14822Files: runtime/doc/eval.txt, src/eval.c
14823
14824Patch 7.3.781
14825Problem: Drawing with 'guifontwide' can be slow.
14826Solution: Draw multiple characters at a time. (Taro Muraoka)
14827Files: src/gui.c
14828
14829Patch 7.3.782
14830Problem: Windows: IME composition may use a wrong font.
14831Solution: Use 'guifontwide' for IME when it is set. (Taro Muraoka)
14832Files: runtime/doc/options.txt, src/gui.c, src/gui_w48.c,
14833 src/proto/gui_w16.pro, src/proto/gui_w32.pro
14834
14835Patch 7.3.783
14836Problem: Crash when mark is not set. (Dominique Pelle)
14837Solution: Check for NULL.
14838Files: src/normal.c
14839
14840Patch 7.3.784 (after 7.3.781)
14841Problem: Error when 'guifontwide' has a comma.
14842Solution: Use gui.wide_font. (Taro Muraoka)
14843Files: src/gui_w48.c
14844
14845Patch 7.3.785 (after 7.3.776)
14846Problem: Crash with specific use of search pattern.
14847Solution: Initialize reg_buf to curbuf.
14848Files: src/regexp.c
14849
14850Patch 7.3.786
14851Problem: Python threads don't run in the background (issue 103).
14852Solution: Move the statements to manipulate thread state.
14853Files: src/if_python.c
14854
14855Patch 7.3.787
14856Problem: With 'relativenumber' set it is not possible to see the absolute
14857 line number.
14858Solution: For the cursor line show the absolute line number instead of a
14859 zero. (Nazri Ramliy)
14860Files: src/screen.c
14861
14862Patch 7.3.788
14863Problem: When only using patches build fails on missing nl.po.
14864Solution: Create an empty nl.po file.
14865Files: src/po/Makefile
14866
14867Patch 7.3.789 (after 7.3.776)
14868Problem: "\k" in regexp does not work in other window.
14869Solution: Use the right buffer. (Yukihiro Nakadaira)
14870Files: src/mbyte.c, src/proto/mbyte.pro, src/regexp.c
14871
14872Patch 7.3.790
14873Problem: After reloading a buffer the modelines are not processed.
14874Solution: call do_modelines(). (Ken Takata)
14875Files: src/fileio.c
14876
14877Patch 7.3.791
Bram Moolenaardd007ed2013-07-09 15:44:17 +020014878Problem: MzScheme interface doesn't work properly.
Bram Moolenaar913df812013-07-06 15:44:11 +020014879Solution: Make it work better. (Sergey Khorev)
14880Files: runtime/doc/if_mzsch.txt, src/configure.in, src/auto/configure,
14881 src/eval.c, src/if_mzsch.c, src/if_mzsch.h, src/Make_ming.mak,
14882 src/Make_mvc.mak, src/os_unix.c, src/proto/eval.pro,
14883 src/testdir/test70.in, src/testdir/test70.ok
14884
14885Patch 7.3.792
14886Problem: ":substitute" works differently without confirmation.
14887Solution: Do not change the text when asking for confirmation, only display
14888 it.
14889Files: src/ex_cmds.c
14890
14891Patch 7.3.793 (after 7.3.792)
Bram Moolenaardd007ed2013-07-09 15:44:17 +020014892Problem: New interactive :substitute behavior is not tested.
Bram Moolenaar913df812013-07-06 15:44:11 +020014893Solution: Add tests. (Christian Brabandt)
14894Files: src/testdir/test80.in, src/testdir/test80.ok
14895
14896Patch 7.3.794
14897Problem: Tiny build fails. (Tony Mechelynck)
14898Solution: Adjust #ifdefs.
14899Files: src/charset.c
14900
14901Patch 7.3.795
14902Problem: MzScheme does not build with tiny features.
14903Solution: Add #ifdefs. Also add UNUSED to avoid warnings. And change
14904 library ordering.
14905Files: src/if_mzsch.c, src/Makefile
14906
14907Patch 7.3.796
14908Problem: "/[^\n]" does match at a line break.
14909Solution: Make it do the same as "/.". (Christian Brabandt)
14910Files: src/regexp.c, src/testdir/test79.in, src/testdir/test79.ok
14911
14912Patch 7.3.797 (after 7.3.792)
14913Problem: Compiler warning for size_t to int conversion. (Skeept)
14914Solution: Add type casts.
14915Files: src/ex_cmds.c
14916
14917Patch 7.3.798 (after 7.3.791)
14918Problem: MzScheme: circular list does not work correctly.
14919Solution: Separate Mac-specific code from generic code. (Sergey Khorev)
14920Files: src/if_mzsch.c, src/testdir/test70.in
14921
14922Patch 7.3.799
14923Problem: The color column is not correct when entering a buffer. (Ben
14924 Fritz)
14925Solution: Call check_colorcolumn() if 'textwidth' changed. (Christian
14926 Brabandt)
14927Files: src/buffer.c
14928
14929Patch 7.3.800
14930Problem: The " mark is not adjusted when inserting lines. (Roland Eggner)
14931Solution: Adjust the line number. (Christian Brabandt)
14932Files: src/mark.c
14933
14934Patch 7.3.801
14935Problem: ":window set nu?" displays the cursor line. (Nazri Ramliy)
14936Solution: Do not update the cursor line when conceallevel is zero or the
14937 screen has scrolled. (partly by Christian Brabandt)
14938Files: src/window.c
14939
14940Patch 7.3.802
14941Problem: After setting 'isk' to a value ending in a comma appending to the
14942 option fails.
14943Solution: Disallow a trailing comma for 'isk' and similar options.
14944Files: src/charset.c
14945
14946Patch 7.3.803 (after 7.3.792)
14947Problem: Substitute with confirmation and then "q" does not replace
14948 anything. (John McGowan)
14949Solution: Do not break the loop, skip to the end.
14950Files: src/ex_cmds.c, src/testdir/test80.in, src/testdir/test80.ok
14951
14952Patch 7.3.804 (after 7.3.799)
14953Problem: Compiler warning for tiny build. (Tony Mechelynck)
14954Solution: Add #ifdefs around variable.
14955Files: src/buffer.c
14956
14957Patch 7.3.805
14958Problem: Lua version 5.2 is not detected properly on Arch Linux.
14959Solution: Adjust autoconf. (lilydjwg)
14960Files: src/configure.in, src/auto/configure
14961
14962Patch 7.3.806
14963Problem: Compiler warnings in Perl code when building with Visual studio
14964 2012. (skeept)
14965Solution: Add type casts. (Christian Brabandt, 2013 Jan 30)
14966Files: src/if_perl.xs
14967
14968Patch 7.3.807
14969Problem: Popup menu does not work properly with the preview window, folds
14970 and 'cursorcolumn'.
14971Solution: Redraw the popup menu after redrawing windows. (Christian
14972 Brabandt)
14973Files: src/screen.c
14974
14975Patch 7.3.808
14976Problem: Python threads still do not work properly.
14977Solution: Fix both Python 2 and 3. Add tests. (Ken Takata)
14978Files: src/if_python.c, src/if_python3.c, src/testdir/test86.in,
14979 src/testdir/test86.ok, src/testdir/test87.in,
14980 src/testdir/test87.ok
14981
14982Patch 7.3.809
14983Problem: The dosinst.c program has a buffer overflow. (Thomas Gwae)
14984Solution: Ignore $VIMRUNTIME if it is too long.
14985Files: src/dosinst.c
14986
14987Patch 7.3.810
Bram Moolenaardd007ed2013-07-09 15:44:17 +020014988Problem: 'relativenumber' is reset unexpectedly. (François Ingelrest)
Bram Moolenaar913df812013-07-06 15:44:11 +020014989Solution: After an option was reset also reset the global value. Add a test.
14990 (Christian Brabandt)
14991Files: src/option.c, src/testdir/Make_amiga.mak,
14992 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
14993 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms,
14994 src/testdir/Makefile, src/testdir/test89.in,
14995 src/testdir/test89.ok
14996
14997Patch 7.3.811
14998Problem: Useless termresponse parsing for SGR mouse.
14999Solution: Skip the parsing. (Hayaki Saito)
15000Files: src/term.c
15001
15002Patch 7.3.812
15003Problem: When 'indentexpr' moves the cursor "curswant" not restored.
15004Solution: Restore "curswant". (Sung Pae)
15005Files: src/misc1.c
15006
15007Patch 7.3.813
15008Problem: The CompleteDone event is not triggered when there are no pattern
15009 matches. (Jianjun Mao)
15010Solution: Trigger the event. (Christian Brabandt)
15011Files: src/edit.c
15012
15013Patch 7.3.814
15014Problem: Can't input multibyte characters on Win32 console if 'encoding' is
15015 different from current codepage.
15016Solution: Use convert_input_safe() instead of convert_input(). Make
15017 string_convert_ext() return an error for incomplete input. (Ken
15018 Takata)
15019Files: src/mbyte.c, src/os_win32.c
15020
15021Patch 7.3.815
15022Problem: Building with Cygwin and Ruby doesn't work.
15023Solution: Copy some things from the MingW build file. (Ken Takata)
15024Files: src/Make_cyg.mak
15025
15026Patch 7.3.816
15027Problem: Can't compute a hash.
15028Solution: Add the sha256() function. (Tyru, Hirohito Higashi)
15029Files: runtime/doc/eval.txt, src/eval.c, src/proto/sha256.pro,
15030 src/sha256.c, src/testdir/test90.in, src/testdir/test90.ok,
15031 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
15032 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
15033 src/testdir/Make_vms.mms, src/testdir/Makefile
15034
15035Patch 7.3.817
15036Problem: Test 89 fails with tiny and small features.
15037Solution: Add sourcing small.vim.
15038Files: src/testdir/test89.in
15039
15040Patch 7.3.818
15041Problem: When test 40 fails because of a bad build it may leave files
15042 behind that cause it to fail later.
15043Solution: Let the file names start with "X".
15044Files: src/testdir/test40.in
15045
15046Patch 7.3.819
15047Problem: Compiling without +eval and with Python isn't working.
15048Solution: Add the eval feature when building with Python.
15049Files: src/if_py_both.h, src/feature.h, src/eval.c, src/ex_docmd.c,
15050 src/normal.c, src/ex_docmd.c, src/gui_gtk_x11.c
15051
15052Patch 7.3.820
15053Problem: Build errors and warnings when building with small features and
15054 Lua, Perl or Ruby.
15055Solution: Add #ifdefs and UNUSED.
15056Files: src/if_perl.xs, src/if_lua.c, src/if_ruby.c
15057
15058Patch 7.3.821
15059Problem: Build with OLE and Cygwin is broken. (Steve Hall)
15060Solution: Select static or shared stdc library. (Ken Takata)
15061Files: src/Make_cyg.mak
15062
15063Patch 7.3.822 (after 7.3.799)
15064Problem: Crash when accessing freed buffer.
15065Solution: Get 'textwidth' in caller of enter_buffer(). (Christian Brabandt)
15066Files: src/buffer.c
15067
15068Patch 7.3.823 (after 7.3.821)
15069Problem: Building with Cygwin: '-lsupc++' is not needed.
15070Solution: Remove it. (Ken Takata)
15071Files: src/Make_cyg.mak
15072
15073Patch 7.3.824
15074Problem: Can redefine builtin functions. (ZyX)
15075Solution: Disallow adding a function to g:.
15076Files: src/eval.c
15077
15078Patch 7.3.825
15079Problem: With Python errors are not always clear.
15080Solution: Print the stack trace, unless :silent is used. (ZyX)
15081Files: src/if_python3.c, src/if_python.c
15082
15083Patch 7.3.826
15084Problem: List of features in :version output is hard to read.
15085Solution: Make columns. (Nazri Ramliy)
15086Files: src/version.c
15087
15088Patch 7.3.827 (after 7.3.825)
15089Problem: Python tests fail.
15090Solution: Adjust the output for the stack trace.
15091Files: src/testdir/test86.in, src/testdir/test86.ok,
15092 src/testdir/test87.ok
15093
15094Patch 7.3.828
15095Problem: Mappings are not aware of wildmenu mode.
15096Solution: Add wildmenumode(). (Christian Brabandt)
15097Files: src/eval.c, runtime/doc/eval.txt
15098
15099Patch 7.3.829
15100Problem: When compiled with the +rightleft feature 'showmatch' also shows a
15101 match for the opening paren. When 'revins' is set the screen may
15102 scroll.
15103Solution: Only check the opening paren when the +rightleft feature was
15104 enabled. Do not show a match that is not visible. (partly by
15105 Christian Brabandt)
15106Files: src/search.c
15107
15108Patch 7.3.830
15109Problem: :mksession confuses bytes, columns and characters when positioning
15110 the cursor.
15111Solution: Use w_virtcol with "|" instead of w_cursor.col with "l".
15112Files: src/ex_docmd.c
15113
15114Patch 7.3.831
15115Problem: Clumsy to handle the situation that a variable does not exist.
15116Solution: Add default value to getbufvar() et al. (Shougo Matsushita,
15117 Hirohito Higashi)
15118Files: runtime/doc/eval.txt, src/eval.c src/testdir/test91.in,
15119 src/testdir/test91.ok, src/testdir/Make_amiga.mak,
15120 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
15121 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms,
15122 src/testdir/Makefile
15123
15124Patch 7.3.832
15125Problem: Compiler warning.
15126Solution: Add type cast. (Mike Williams)
15127Files: src/version.c
15128
15129Patch 7.3.833
15130Problem: In the terminal the scroll wheel always scrolls the active window.
15131Solution: Scroll the window under the mouse pointer, like in the GUI.
15132 (Bradie Rao)
15133Files: src/edit.c, src/normal.c
15134
15135Patch 7.3.834
15136Problem: Ruby 2.0 has a few API changes.
15137Solution: Add handling of Ruby 2.0. (Yasuhiro Matsumoto)
15138Files: src/if_ruby.c
15139
15140Patch 7.3.835
15141Problem: "xxd -i" fails on an empty file.
15142Solution: Do output the closing } for an empty file. (partly by Lawrence
15143 Woodman)
15144Files: src/xxd/xxd.c
15145
15146Patch 7.3.836
15147Problem: Clipboard does not work on Win32 when compiled with Cygwin.
15148Solution: Move the Win32 clipboard code to a separate file and use it when
15149 building with os_unix.c. (Frodak Baksik, Ken Takata)
15150Files: src/Make_bc5.mak, src/Make_cyg.mak, src/Make_ivc.mak,
15151 src/Make_ming.mak, src/Make_mvc.mak, src/Make_w16.mak,
15152 src/Makefile, src/config.h.in, src/configure.in,
15153 src/auto/configure, src/feature.h, src/globals.h, src/mbyte.c,
15154 src/os_mswin.c, src/os_unix.c, src/os_win32.c, src/proto.h,
15155 src/proto/os_mswin.pro, src/proto/winclip.pro, src/term.c,
15156 src/vim.h, src/winclip.c
15157
15158Patch 7.3.837 (after 7.3.826)
15159Problem: Empty lines in :version output when 'columns' is 320.
15160Solution: Simplify the logic of making columns. (Nazri Ramliy, Roland
15161 Eggner)
15162Files: src/version.c
15163
15164Patch 7.3.838 (after 7.3.830)
15165Problem: Insufficient testing for mksession.
15166Solution: Add tests. (mostly by Roland Eggner)
15167Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
15168 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
15169 src/testdir/Make_vms.mms, src/testdir/Makefile,
15170 src/testdir/test92.in, src/testdir/test92.ok,
15171 src/testdir/test93.in, src/testdir/test93.ok,
15172 src/ex_docmd.c
15173
15174Patch 7.3.839
15175Problem: Some files missing in the list of distributed files.
15176Solution: Add lines for new files.
15177Files: Filelist
15178
15179Patch 7.3.840
15180Problem: "\@<!" in regexp does not work correctly with multi-byte
15181 characters, especially cp932.
15182Solution: Move column to start of multi-byte character. (Yasuhiro Matsumoto)
15183Files: src/regexp.c
15184
15185Patch 7.3.841
15186Problem: When a "cond ? one : two" expression has a subscript it is not
15187 parsed correctly. (Andy Wokula)
15188Solution: Handle a subscript also when the type is unknown. (Christian
15189 Brabandt)
15190Files: src/eval.c
15191
15192Patch 7.3.842
15193Problem: Compiler warning for signed/unsigned pointer.
15194Solution: Add type cast. (Christian Brabandt)
15195Files: src/eval.c
15196
15197Patch 7.3.843 (after 7.3.841)
15198Problem: Missing test file changes.
15199Solution: Change the tests.
15200Files: src/testdir/test49.vim, src/testdir/test49.ok
15201
15202Patch 7.3.844
15203Problem: Enum is not indented correctly with "public" etc.
15204Solution: Skip "public", "private" and "protected". (Hong Xu)
15205Files: src/misc1.c
15206
15207Patch 7.3.845 (after 7.3.844)
15208Problem: Enum indenting is not tested.
15209Solution: Add tests. (Hong Xu)
15210Files: src/testdir/test3.in, src/testdir/test3.ok
15211
15212Patch 7.3.846
15213Problem: Missing proto files.
15214Solution: Add the files.
15215Files: Filelist, src/proto/os_beos.pro
15216
15217Patch 7.3.847
15218Problem: Test 55 fails when messages are translated.
15219Solution: Set language to C. (Ken Takata)
15220Files: src/testdir/test55.in
15221
15222Patch 7.3.848
15223Problem: Can't build with Ruby 2.0 when using MinGW x64 or MSVC10.
15224Solution: Fix it. Also detect RUBY_PLATFORM and RUBY_INSTALL_NAME for x64.
15225 (Ken Takata)
15226Files: src/Make_cyg.mak, src/Make_ming.mak, src/if_ruby.c
15227
15228Patch 7.3.849
15229Problem: ":g//" gives "Pattern not found error" with E486. Should not use
15230 the error number, it's not a regular error message.
15231Solution: Use a normal message. (David Bürgin)
15232Files: src/ex_cmds.c
15233
15234Patch 7.3.850
15235Problem: ":vimgrep //" matches everywhere.
15236Solution: Make it use the previous search pattern. (David Bürgin)
15237Files: runtime/doc/quickfix.txt, src/quickfix.c
15238
15239Patch 7.3.851
15240Problem: Using an empty pattern with :sort silently continues when there is
15241 no previous search pattern.
15242Solution: Give an error message. (David Bürgin)
15243Files: src/ex_cmds.c
15244
15245Patch 7.3.852
15246Problem: system() breaks clipboard text. (Yukihiro Nakadaira)
15247Solution: Use Xutf8TextPropertyToTextList(). (Christian Brabandt)
15248 Also do not put the text in the clip buffer if conversion fails.
15249Files: src/ui.c, src/ops.c
15250
15251Patch 7.3.853
15252Problem: Using "ra" in multiple lines on multi-byte characters leaves a few
15253 characters not replaced.
15254Solution: Adjust the end column only in the last line. (Yasuhiro Matsumoto)
15255Files: src/testdir/test69.in, src/testdir/test69.ok, src/ops.c
15256
15257Patch 7.3.854
15258Problem: After using backspace in insert mode completion, CTRL-N and CTRL-P
15259 do not highlight the right entry. (Olivier Teuliere)
15260Solution: Set the current item to the shown item after using backspace.
15261Files: src/edit.c
15262
15263Patch 7.3.855
15264Problem: Compiler warnings.
15265Solution: Add type casts. (Mike Williams)
15266Files: src/misc1.c
15267
15268Patch 7.3.856
15269Problem: When calling system() multi-byte clipboard contents is garbled.
15270Solution: Save and restore the clipboard contents. (Yukihiro Nakadaira)
15271Files: src/gui_gtk_x11.c, src/proto/gui_gtk_x11.pro, src/ops.c,
15272 src/proto/ops.pro, src/os_unix.c, src/proto/ui.pro, src/ui.c
15273
15274Patch 7.3.857
15275Problem: The QuitPre autocommand event does not trigger for :qa and :wq.
15276Solution: Trigger the event. (Tatsuro Fujii)
15277Files: src/ex_docmd.c
15278
15279Patch 7.3.858
15280Problem: "gv" selects the wrong area after some operators.
15281Solution: Save and restore the type of selection. (Christian Brabandt)
15282Files: src/testdir/test66.in, src/testdir/test66.ok, src/normal.c
15283
15284Patch 7.3.859
15285Problem: 'ambiwidth' must be set by the user.
15286Solution: Detects East Asian ambiguous width (UAX #11) state of the terminal
15287 at the start-up time and 'ambiwidth' accordingly. (Hayaki Saito)
15288Files: src/main.c, src/option.c, src/term.c, src/term.h,
15289 src/proto/term.pro
15290
15291Patch 7.3.860
15292Problem: When using --remote-expr try/catch does not work. (Andrey Radev)
15293Solution: Set emsg_silent instead of emsg_skip.
15294Files: src/main.c
15295
15296Patch 7.3.861
15297Problem: ":setlocal number" clears global value of 'relativenumber'.
15298Solution: Do it properly. (Markus Heidelberg)
15299Files: src/testdir/test89.in, src/testdir/test89.ok, src/option.c
15300
15301Patch 7.3.862
15302Problem: Dragging the status line can be slow.
15303Solution: Look ahead and drop the drag event if there is a next one.
15304Files: src/eval.c, src/misc1.c, src/proto/misc1.pro, src/normal.c
15305
15306Patch 7.3.863 (after 7.3.859)
15307Problem: Problem with 'ambiwidth' detection for ANSI terminal.
15308Solution: Work around not recognizing a term response. (Hayaki Saito)
15309Files: src/term.c
15310
15311Patch 7.3.864 (after 7.3.862)
15312Problem: Can't build without the mouse feature.
15313Solution: Add an #ifdef. (Ike Devolder)
15314Files: src/misc1.c
15315
15316Patch 7.3.865 (after 7.3.862)
15317Problem: Mouse position may be wrong.
15318Solution: Let vungetc() restore the mouse position.
15319Files: src/getchar.c
15320
15321Patch 7.3.866
15322Problem: Not serving the X selection during system() isn't nice.
15323Solution: When using fork() do not loose the selection, keep serving it.
15324 Add a loop similar to handling I/O. (Yukihiro Nakadaira)
15325Files: src/os_unix.c
15326
15327Patch 7.3.867
15328Problem: Matchparen does not update match when using auto-indenting.
15329 (Marc Aldorasi)
15330Solution: Add the TextChanged and TextChangedI autocommand events.
15331Files: runtime/plugin/matchparen.vim, src/main.c, src/edit.c,
15332 src/globals.h, src/vim.h, src/fileio.c, src/proto/fileio.pro,
15333 runtime/doc/autocmd.txt
15334
15335Patch 7.3.868
15336Problem: When at the hit-return prompt and using "k" while no text has
15337 scrolled off screen, then using "j", an empty line is displayed.
15338Solution: Only act on "k" when text scrolled off screen. Also accept
15339 page-up and page-down. (cptstubing)
15340Files: src/message.c
15341
15342Patch 7.3.869
15343Problem: bufwinnr() matches buffers in other tabs.
15344Solution: For bufwinnr() and ? only match buffers in the current tab.
15345 (Alexey Radkov)
15346Files: src/buffer.c, src/diff.c, src/eval.c, src/ex_docmd.c,
15347 src/if_perl.xs, src/proto/buffer.pro
15348
15349Patch 7.3.870
15350Problem: Compiler warnings when using MingW 4.5.3.
15351Solution: Do not use MAKEINTRESOURCE. Adjust #if. (Ken Takata)
15352Files: src/gui_w32.c, src/gui_w48.c, src/os_mswin.c, src/os_win32.c,
15353 src/os_win32.h
15354
15355Patch 7.3.871
15356Problem: search('^$', 'c') does not use the empty match under the cursor.
15357Solution: Special handling of the 'c' flag. (Christian Brabandt)
15358 Add tests.
15359Files: src/search.c, src/testdir/test14.in, src/testdir/test14.ok
15360
15361Patch 7.3.872
15362Problem: On some systems case of file names is always ignored, on others
15363 never.
15364Solution: Add the 'fileignorecase' option to control this at runtime.
15365 Implies 'wildignorecase'.
15366Files: src/buffer.c, src/edit.c, src/ex_cmds2.c, src/ex_getln.c,
15367 src/fileio.c, src/misc1.c, src/misc2.c, src/option.c,
15368 src/option.h, src/vim.h, runtime/doc/options.txt
15369
15370Patch 7.3.873
15371Problem: Cannot easily use :s to make title case.
15372Solution: Have "\L\u" result in title case. (James McCoy)
15373Files: src/regexp.c, src/testdir/test79.in, src/testdir/test79.ok,
15374 src/testdir/test80.in, src/testdir/test80.ok
15375
15376Patch 7.3.874
15377Problem: Comparing file names does not handle multi-byte characters
15378 properly.
15379Solution: Implement multi-byte handling.
15380Files: src/misc1.c, src/misc2.c
15381
15382Patch 7.3.875 (after 7.3.866)
15383Problem: Build problem with some combination of features.
15384Solution: Use FEAT_XCLIPBOARD instead of FEAT_CLIPBOARD.
15385Files: src/os_unix.c
15386
15387Patch 7.3.876
15388Problem: #if indents are off.
15389Solution: Insert a space where appropriate. (Taro Muraoka)
15390Files: src/gui.c
15391
15392Patch 7.3.877 (after 7.3.871)
15393Problem: Forward searching with search() is broken.
15394Solution: Fix it and add tests. (Sung Pae)
15395Files: src/search.c, src/testdir/test14.in, src/testdir/test14.ok
15396
15397Patch 7.3.878
15398Problem: 'fileignorecase' is missing in options window and quickref.
15399Solution: Add the option.
15400Files: runtime/optwin.vim, runtime/doc/quickref.txt
15401
15402Patch 7.3.879
15403Problem: When using an ex command in operator pending mode, using Esc to
15404 abort the command still executes the operator. (David Bürgin)
15405Solution: Clear the operator when the ex command fails. (Christian Brabandt)
15406Files: src/normal.c
15407
15408Patch 7.3.880
15409Problem: When writing viminfo, old history lines may replace lines written
15410 more recently by another Vim instance.
15411Solution: Mark history entries that were read from viminfo and overwrite
15412 them when merging with the current viminfo.
15413Files: src/ex_getln.c
15414
15415Patch 7.3.881
15416Problem: Python list does not work correctly.
15417Solution: Fix it and add a test. (Yukihiro Nakadaira)
15418Files: src/testdir/test86.in, src/testdir/test86.ok, src/if_py_both.h
15419
15420Patch 7.3.882
15421Problem: CursorHold may trigger after receiving the termresponse.
15422Solution: Set the did_cursorhold flag. (Hayaki Saito)
15423Files: src/term.c
15424
15425Patch 7.3.883 (after 7.3.880)
15426Problem: Can't build with some combination of features.
15427Solution: Adjust #ifdefs.
15428Files: src/ex_getln.c
15429
15430Patch 7.3.884
15431Problem: Compiler warning for variable shadowing another. (John Little)
15432Solution: Rename the variable. (Christian Brabandt)
15433Files: src/term.c
15434
15435Patch 7.3.885
15436Problem: Double free for list and dict in Lua. (Shougo Matsu)
15437Solution: Do not unref list and dict. (Yasuhiro Matsumoto)
15438Files: src/if_lua.c
15439
15440Patch 7.3.886
15441Problem: Can't build with multi-byte on Solaris 10.
15442Solution: Add #ifdef X_HAVE_UTF8_STRING. (Laurent Blume)
15443Files: src/ui.c
15444
15445Patch 7.3.887
15446Problem: No tests for Visual mode operators, what 7.3.879 fixes.
15447Solution: Add a new test file. (David Bürgin)
15448Files: src/testdir/test94.in, src/testdir/test94.ok,
15449 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
15450 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
15451 src/testdir/Make_vms.mms, src/testdir/Makefile
15452
15453Patch 7.3.888
15454Problem: Filename completion with 'fileignorecase' does not work for
15455 multi-byte characters.
15456Solution: Make 'fileignorecase' work properly. (Hirohito Higashi)
15457Files: src/misc2.c
15458
15459Patch 7.3.889
15460Problem: Can't build with Ruby 2.0 on a 64 bit system.
15461Solution: Define rb_fix2int and rb_num2int. (Kohei Suzuki)
15462Files: src/if_ruby.c
15463
15464Patch 7.3.890
15465Problem: Test 79 fails on Windows. (Michael Soyka)
15466Solution: Add comment below line causing an error.
15467Files: src/testdir/test79.in
15468
15469Patch 7.3.891
15470Problem: Merging viminfo history doesn't work well.
15471Solution: Don't stop when one type of history is empty. Don't merge history
15472 when writing viminfo.
15473Files: src/ex_getln.c
15474
15475Patch 7.3.892 (after 7.3.891)
15476Problem: Still merging problems for viminfo history.
15477Solution: Do not merge lines when writing, don't write old viminfo lines.
15478Files: src/ex_getln.c, src/ex_cmds.c, src/proto/ex_getln.pro
15479
15480Patch 7.3.893
15481Problem: Crash when using b:, w: or t: after closing the buffer, window or
15482 tabpage.
15483Solution: Allocate the dictionary instead of having it part of the
15484 buffer/window/tabpage struct. (Yukihiro Nakadaira)
15485Files: src/buffer.c, src/eval.c, src/fileio.c, src/structs.h,
15486 src/window.c, src/proto/eval.pro
15487
15488Patch 7.3.894
15489Problem: Using wrong RUBY_VER causing Ruby build to break.
15490Solution: Correct the RUBY_VER value. (Yongwei Wu)
15491Files: src/bigvim.bat
15492
15493Patch 7.3.895
15494Problem: Valgrind error in test 91. (Issue 128)
15495Solution: Pass scope name to find_var_in_ht().
15496Files: src/eval.c
15497
15498Patch 7.3.896
15499Problem: Memory leaks in Lua interface.
15500Solution: Fix the leaks, add tests. (Yukihiro Nakadaira)
15501Files: src/testdir/test85.in, src/testdir/test85.ok, src/if_lua.c
15502
15503Patch 7.3.897
15504Problem: Configure doesn't always find the shared library.
15505Solution: Change the configure script. (Ken Takata)
15506Files: src/configure.in, src/auto/configure
15507
15508Patch 7.3.898
15509Problem: Memory leak reported by valgrind in test 91.
15510Solution: Only use default argument when needed.
15511Files: src/eval.c, src/testdir/test91.in, src/testdir/test91.ok
15512
15513Patch 7.3.899
15514Problem: #if indents are off.
15515Solution: Fix the indents.
15516Files: src/os_unix.c
15517
15518Patch 7.3.900
15519Problem: Not obvious that some mouse features are mutual-exclusive.
15520Solution: Add a comment.
15521Files: src/feature.h
15522
15523Patch 7.3.901
15524Problem: Outdated comment, ugly condition.
15525Solution: Update a few comments, break line.
15526Files: src/getchar.c, src/misc1.c, src/undo.c
15527
15528Patch 7.3.902
15529Problem: When deleting last buffer in other tab the tabline is not updated.
15530Solution: Set the redraw_tabline flag. (Yukihiro Nakadaira)
15531Files: src/window.c
15532
15533Patch 7.3.903 (after 7.3.892)
15534Problem: Crash on exit writing viminfo. (Ron Aaron)
15535Solution: Check for the history to be empty.
15536Files: src/ex_getln.c
15537
15538Patch 7.3.904 (after 7.3.893)
15539Problem: Using memory freed by the garbage collector.
15540Solution: Mark items in aucmd_win as used.
15541Files: src/eval.c
15542
15543Patch 7.3.905 (after 7.3.903)
15544Problem: Crash when writing viminfo. (Ron Aaron)
15545Solution: Prevent freed history info to be used.
15546Files: src/ex_getln.c
15547
15548Patch 7.3.906
15549Problem: The "sleep .2" for running tests does not work on Solaris.
15550Solution: Fall back to using "sleep 1". (Laurent Blume)
15551Files: src/testdir/Makefile
15552
15553Patch 7.3.907
15554Problem: Python uses IndexError when a dict key is not found.
15555Solution: Use KeyError instead. (ZyX)
15556Files: src/if_py_both.h, src/if_python3.c, src/if_python.c,
15557 src/testdir/test86.ok, src/testdir/test87.ok
15558
15559Patch 7.3.908
15560Problem: Possible crash when using a list in Python.
15561Solution: Return early if the list is NULL. (ZyX)
15562Files: src/if_py_both.h
15563
15564Patch 7.3.909
15565Problem: Duplicate Python code.
15566Solution: Move more items to if_py_both.h. (ZyX) Also avoid compiler
15567 warnings for missing initializers.
15568Files: src/if_py_both.h, src/if_python3.c, src/if_python.c
15569
15570Patch 7.3.910
15571Problem: Python code in #ifdef branches with only minor differences.
15572Solution: Merge the #ifdef branches. (ZyX)
15573Files: src/if_py_both.h, src/if_python.c
15574
15575Patch 7.3.911
15576Problem: Python: Access to Vim variables is not so easy.
15577Solution: Define vim.vars and vim.vvars. (ZyX)
15578Files: runtime/doc/if_pyth.txt, src/eval.c, src/globals.h,
15579 src/if_py_both.h, src/if_python3.c, src/if_python.c,
15580 src/testdir/test86.in, src/testdir/test86.ok,
15581 src/testdir/test87.in, src/testdir/test87.ok
15582
15583Patch 7.3.912
15584Problem: Typing a ":" command at the hit-enter dialog does not work if the
15585 "file changed" dialog happens next.
15586Solution: Check for changed files before giving the hit-enter dialog.
15587Files: src/message.c
15588
15589Patch 7.3.913 (after 7.3.905)
15590Problem: Still a crash when writing viminfo.
15591Solution: Add checks for NULL pointers. (Ron Aaron)
15592Files: src/ex_getln.c
15593
15594Patch 7.3.914
15595Problem: ~/.viminfo is messed up when running tests.
15596Solution: Set the viminfo filename.
15597Files: src/testdir/test89.in, src/testdir/test94.in
15598
15599Patch 7.3.915
15600Problem: When reading a file with encoding conversion fails at the end the
15601 next encoding in 'fencs' is not used.
15602Solution: Retry with another encoding when possible. (Taro Muraoka)
15603Files: src/fileio.c
15604
15605Patch 7.3.916
15606Problem: Using freed memory when pasting with the mouse (Issue 130).
15607Solution: Get the byte value early. (hint by Dominique Pelle)
15608Files: src/buffer.c
15609
15610Patch 7.3.917
15611Problem: When a path ends in a backslash appending a comma has the wrong
15612 effect.
15613Solution: Replace a trailing backslash with a slash. (Nazri Ramliy)
15614Files: src/misc1.c, src/testdir/test73.in, src/testdir/test73.ok
15615
15616Patch 7.3.918
15617Problem: Repeating an Ex command after using a Visual motion does not work.
15618Solution: Check for an Ex command being used. (David Bürgin)
15619Files: src/normal.c
15620
15621Patch 7.3.919 (after 7.3.788)
15622Problem: An empty nl.po file does not work with an old msgfmt.
15623Solution: Put a single # in the file. (Laurent Blume)
15624Files: src/po/Makefile
15625
15626Patch 7.3.920
15627Problem: Compiler warning for size_t to int.
15628Solution: Add a type cast. (Mike Williams)
15629Files: src/misc1.c
15630
15631Patch 7.3.921 (after 7.3.697)
15632Problem: Trying to create a fontset handle when 'guifontset' is not set.
15633Solution: Add curly braces around the code block. (Max Kirillov)
15634Files: src/syntax.c
15635
15636Patch 7.3.922
15637Problem: No test for what 7.3.918 fixes.
15638Solution: Add a test. (David Bürgin)
15639Files: src/testdir/test94.in, src/testdir/test94.ok
15640
15641Patch 7.3.923
15642Problem: Check for X11 header files fails on Solaris.
15643Solution: Only use -Werror for gcc. (Laurent Blume)
15644Files: src/configure.in, src/auto/configure
15645
15646Patch 7.3.924
15647Problem: Python interface can't easily access options.
15648Solution: Add vim.options, vim.window.options and vim.buffer.options. (ZyX)
15649Files: runtime/doc/if_pyth.txt, src/eval.c, src/if_py_both.h,
15650 src/if_python.c, src/if_python3.c, src/option.c,
15651 src/proto/eval.pro, src/proto/option.pro, src/testdir/test86.in,
15652 src/testdir/test86.ok, src/testdir/test87.in,
15653 src/testdir/test87.ok, src/vim.h
15654
15655Patch 7.3.925
15656Problem: Typos in source files.
15657Solution: Fix the typos. (Ken Takata)
15658Files: runtime/plugin/matchparen.vim, runtime/tools/vim_vs_net.cmd,
15659 src/GvimExt/gvimext.cpp, src/INSTALLvms.txt, src/Make_cyg.mak,
15660 src/Make_mvc.mak, src/Make_sas.mak, src/Make_vms.mms,
15661 src/Make_w16.mak, src/Makefile, src/VisVim/OleAut.cpp,
15662 src/VisVim/README_VisVim.txt, src/auto/configure, src/buffer.c,
15663 src/configure.in, src/diff.c, src/dosinst.c, src/edit.c,
15664 src/eval.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_eval.c,
15665 src/farsi.c, src/feature.h, src/fileio.c, src/glbl_ime.cpp,
15666 src/gui.c, src/gui_athena.c, src/gui_beval.c, src/gui_gtk_x11.c,
15667 src/gui_mac.c, src/gui_motif.c, src/gui_photon.c, src/gui_w16.c,
15668 src/gui_w32.c, src/gui_w48.c, src/gui_xmebw.c, src/gui_xmebwp.h,
15669 src/hardcopy.c, src/if_cscope.c, src/if_mzsch.c, src/if_ole.cpp,
15670 src/if_perl.xs, src/if_py_both.h, src/if_python.c,
15671 src/if_python3.c, src/if_ruby.c, src/main.aap, src/mbyte.c,
15672 src/memfile.c, src/memline.c, src/misc1.c, src/misc2.c,
15673 src/nbdebug.c, src/normal.c, src/ops.c, src/os_amiga.c,
15674 src/os_mac.h, src/os_msdos.c, src/os_mswin.c, src/os_win16.h,
15675 src/os_win32.c, src/os_win32.h, src/quickfix.c, src/screen.c,
15676 src/search.c, src/spell.c, src/structs.h, src/syntax.c,
15677 src/window.c, vimtutor.com
15678
15679
15680Patch 7.3.926
15681Problem: Autocommands are triggered by setwinvar() et al. Missing BufEnter
15682 on :tabclose. Duplicate WinEnter on :tabclose. Wrong order of
15683 events for :tablose and :tabnew.
Bram Moolenaar9ba7e172013-07-17 22:37:26 +020015684Solution: Fix these autocommand events. (ZyX)
Bram Moolenaar913df812013-07-06 15:44:11 +020015685Files: runtime/doc/eval.txt, src/buffer.c, src/eval.c, src/ex_cmds2.c,
15686 src/fileio.c, src/proto/window.pro, src/testdir/test62.in,
15687 src/testdir/test62.ok, src/window.c
15688
15689Patch 7.3.927
15690Problem: Missing combining characters when putting text in a register.
15691Solution: Include combining characters. (David Bürgin)
15692Files: src/getchar.c, src/testdir/test44.in, src/testdir/test44.ok
15693
15694Patch 7.3.928 (after 7.3.924)
15695Problem: Can't build with strict C compiler.
15696Solution: Move declaration to start of block. (Taro Muraoka)
15697Files: src/if_py_both.h
15698
15699Patch 7.3.929 (after 7.3.924)
15700Problem: Compiler warning for unused variable. Not freeing unused string.
15701Solution: Remove the variable. Clear the options.
15702Files: src/option.c
15703
15704Patch 7.3.930
15705Problem: MSVC 2012 update is not recognized.
15706Solution: Update the version in the makefile. (Raymond Ko)
15707Files: src/Make_mvc.mak
15708
15709Patch 7.3.931
15710Problem: No completion for :xmap and :smap. (Yukihiro Nakadaira)
15711Solution: Add the case statements. (Christian Brabandt)
15712Files: src/ex_docmd.c
15713
15714Patch 7.3.932
15715Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
15716Solution: Initialize the variable.
15717Files: src/option.c
15718
15719Patch 7.3.933
15720Problem: Ruby on Mac crashes due to GC failure.
15721Solution: Init the stack from main(). (Hiroshi Shirosaki)
15722Files: src/main.c, src/if_ruby.c, src/proto/if_ruby.pro
15723
15724Patch 7.3.934
15725Problem: E381 and E380 make the user think nothing happened.
15726Solution: Display the message indicating what error list is now active.
15727 (Christian Brabandt)
15728Files: src/quickfix.c
15729
15730Patch 7.3.935 (after 7.3.933)
15731Problem: Ruby: Init stack works differently on 64 bit systems.
15732Solution: Handle 64 bit systems and also static library. (Yukihiro
15733 Nakadaira)
15734Files: src/if_ruby.c
15735
15736Patch 7.3.936 (after 7.3.935)
15737Problem: Ruby 1.8: Missing piece for static linking on 64 bit systems.
15738Solution: Define ruby_init_stack() (Hiroshi Shirosaki)
15739 Also fix preprocessor indents.
15740Files: src/if_ruby.c
15741
15742Patch 7.3.937
15743Problem: More can be shared between Python 2 and 3.
15744Solution: Move code to if_py_both.h. (ZyX)
15745Files: src/if_python.c, src/if_python3.c, src/if_py_both.h
15746
15747Patch 7.3.938
15748Problem: Python: not easy to get to window number.
15749Solution: Add vim.window.number. (ZyX)
15750Files: runtime/doc/if_pyth.txt, src/if_py_both.h, src/proto/window.pro,
15751 src/window.c
15752
15753Patch 7.3.939
15754Problem: Using Py_BuildValue is inefficient sometimes.
15755Solution: Use PyLong_FromLong(). (ZyX)
15756Files: src/if_py_both.h
15757
15758Patch 7.3.940
15759Problem: Python: Can't get position of window.
15760Solution: Add window.row and window.col. (ZyX)
15761Files: runtime/doc/if_pyth.txt, src/if_py_both.h
15762
15763Patch 7.3.941
15764Problem: Stuff in if_py_both.h is ordered badly.
15765Solution: Reorder by type. (ZyX)
15766Files: src/if_py_both.h, src/if_python.c
15767
15768Patch 7.3.942
15769Problem: Python: SEGV in Buffer functions.
15770Solution: Call CheckBuffer() at the right time. (ZyX)
15771Files: src/if_py_both.h, src/if_python.c, src/if_python3.c
15772
15773Patch 7.3.943
15774Problem: Python: Negative indices were failing.
15775Solution: Fix negative indices. Add tests. (ZyX)
15776Files: src/if_py_both.h, src/if_python3.c, src/testdir/test86.in,
15777 src/testdir/test86.ok, src/testdir/test87.in,
15778 src/testdir/test87.ok
15779
15780Patch 7.3.944
15781Problem: External program receives the termrespone.
15782Solution: Insert a delay and discard input. (Hayaki Saito)
15783Files: src/term.c
15784
15785Patch 7.3.945
15786Problem: Python: List of buffers is not very useful.
15787Solution: Make vim.buffers a map. No iterator yet. (ZyX)
15788Files: runtime/doc/if_pyth.txt, src/if_py_both.h, src/if_python3.c,
15789 src/if_python.c, src/testdir/test86.ok, src/testdir/test87.ok
15790
15791Patch 7.3.946
15792Problem: Sometimes get stuck in waiting for cursor position report,
15793 resulting in keys starting with <Esc>[ not working.
15794Solution: Only wait for more characters after <Esc>[ if followed by '?', '>'
15795 or a digit.
15796Files: src/term.c
15797
15798Patch 7.3.947
15799Problem: Python: No iterator for vim.list and vim.bufferlist.
15800Solution: Add the iterators. Also fix name of FunctionType. Add tests for
15801 vim.buffers. (ZyX)
15802Files: runtime/doc/if_pyth.txt, src/eval.c, src/if_py_both.h,
15803 src/if_python3.c, src/if_python.c, src/proto/eval.pro,
15804 src/testdir/test86.in, src/testdir/test86.ok,
15805 src/testdir/test87.in, src/testdir/test87.ok
15806
15807Patch 7.3.948
15808Problem: Cannot build with Python 2.2
15809Solution: Make Python interface work with Python 2.2
15810 Make 2.2 the first supported version. (ZyX)
15811Files: src/if_py_both.h, src/if_python3.c, src/if_python.c,
15812 src/testdir/test86.in, src/testdir/test86.ok,
15813 src/testdir/test87.ok, src/configure.in, src/auto/configure
15814
15815Patch 7.3.949
15816Problem: Python: no easy access to tabpages.
15817Solution: Add vim.tabpages and vim.current.tabpage. (ZyX)
15818Files: runtime/doc/if_pyth.txt, src/if_py_both.h, src/if_python3.c,
15819 src/if_python.c, src/proto/if_python3.pro,
15820 src/proto/if_python.pro, src/proto/window.pro, src/structs.h,
15821 src/window.c
15822
15823Patch 7.3.950
15824Problem: Python: Stack trace printer can't handle messages.
15825Solution: Make KeyErrors use PyErr_SetObject. (ZyX)
15826Files: src/if_py_both.h, src/if_python3.c, src/if_python.c
15827
15828Patch 7.3.951
15829Problem: Python exceptions have problems.
15830Solution: Change some IndexErrors to TypeErrors. Make “line number out of
15831 range” an IndexError. Make “unable to get option value” a
15832 RuntimeError. Make all PyErr_SetString messages start with
15833 lowercase letter and use _(). (ZyX)
15834Files: src/if_py_both.h, src/if_python3.c, src/if_python.c,
15835 src/testdir/test86.ok, src/testdir/test87.ok
15836
15837Patch 7.3.952
15838Problem: Python: It's not easy to change window/buffer/tabpage.
15839Solution: Add ability to assign to vim.current.{tabpage,buffer,window}.
15840 (ZyX)
15841Files: runtime/doc/if_pyth.txt, src/if_py_both.h
15842
15843Patch 7.3.953
15844Problem: Python: string exceptions are deprecated.
15845Solution: Make vim.error an Exception subclass. (ZyX)
15846Files: src/if_python.c, src/if_python3.c
15847
15848Patch 7.3.954
15849Problem: No check if PyObject_IsTrue fails.
15850Solution: Add a check for -1 value. (ZyX)
15851Files: src/if_py_both.h
15852
15853Patch 7.3.955
15854Problem: Python: Not enough tests.
15855Solution: Add tests for vim.{current,window*,tabpage*}. (ZyX)
15856Files: src/testdir/test86.in, src/testdir/test86.ok,
15857 src/testdir/test87.in, src/testdir/test87.ok
15858
15859Patch 7.3.956
15860Problem: Python vim.bindeval() causes SIGABRT.
15861Solution: Make pygilstate a local variable. (Yukihiro Nakadaira)
15862Files: src/if_py_both.h, src/if_python.c, src/if_python3.c
15863
15864Patch 7.3.957
15865Problem: Python does not have a "do" command like Perl or Lua.
15866Solution: Add the ":py3do" command. (Lilydjwg)
15867Files: runtime/doc/if_pyth.txt, src/ex_cmds.h, src/ex_docmd.c,
15868 src/if_python3.c, src/proto/if_python3.pro
15869
15870Patch 7.3.958
15871Problem: Python: Iteration destructor not set.
15872Solution: Put IterDestructor to use. (ZyX)
15873Files: src/if_py_both.c
15874
15875Patch 7.3.959 (after 7.3.957)
15876Problem: Missing error number.
15877Solution: Assign an error number.
15878Files: src/if_python3.c
15879
15880Patch 7.3.960
15881Problem: Compiler warning for unused variable.
15882Solution: Put declaration in #ifdef.
15883Files: src/window.c
15884
15885Patch 7.3.961
15886Problem: Tests 86 and 87 fail when using another language than English.
15887Solution: Set the language to C in the test. (Dominique Pelle)
15888Files: src/testdir/test86.in, src/testdir/test87.in,
15889 src/testdir/test87.ok
15890
15891Patch 7.3.962
15892Problem: Python tests are not portable.
15893Solution: Use shiftwidth instead of iminsert. (ZyX)
15894Files: src/testdir/test86.in, src/testdir/test86.ok,
15895 src/testdir/test87.in, src/testdir/test87.ok
15896
15897Patch 7.3.963
15898Problem: Setting curbuf without curwin causes trouble.
15899Solution: Add switch_buffer() and restore_buffer(). Block autocommands to
15900 avoid trouble.
15901Files: src/eval.c, src/proto/eval.pro, src/proto/window.pro,
15902 src/if_py_both.h, src/window.c, src/testdir/test86.ok
15903
15904Patch 7.3.964
15905Problem: Python: not so easy to access tab pages.
15906Solution: Add window.tabpage, make window.number work with non-current tab
15907 pages. (ZyX)
15908Files: runtime/doc/if_pyth.txt, src/if_py_both.h, src/if_python3.c,
15909 src/if_python.c, src/testdir/test86.ok, src/testdir/test87.ok
15910
15911Patch 7.3.965
15912Problem: Python garbage collection not working properly.
15913Solution: Add support for garbage collection. (ZyX)
15914Files: src/if_py_both.h
15915
15916Patch 7.3.966
15917Problem: There is ":py3do" but no ":pydo".
15918Solution: Add the ":pydo" command. (Lilydjwg)
15919Files: runtime/doc/if_pyth.txt, src/ex_cmds.h, src/ex_docmd.c,
15920 src/if_py_both.h, src/if_python.c, src/if_python3.c,
15921 src/proto/if_python.pro
15922
15923Patch 7.3.967 (after 7.3.965)
15924Problem: Build fails on Mac OSX. (Greg Novack)
15925Solution: Undefine clear().
15926Files: src/if_py_both.h
15927
15928Patch 7.3.968
15929Problem: Multi-byte support is only available when compiled with "big"
15930 features.
15931Solution: Include multi-byte by default, with "normal" features.
15932Files: src/feature.h
15933
15934Patch 7.3.969
Bram Moolenaardd007ed2013-07-09 15:44:17 +020015935Problem: Can't build with Python 3 and without Python 2.
Bram Moolenaar913df812013-07-06 15:44:11 +020015936Solution: Adjust #ifdef. (Xavier de Gaye)
15937Files: src/window.c
15938
15939Patch 7.3.970
15940Problem: Syntax highlighting can be slow.
15941Solution: Include the NFA regexp engine. Add the 'regexpengine' option to
15942 select which one is used. (various authors, including Ken Takata,
15943 Andrei Aiordachioaie, Russ Cox, Xiaozhou Liua, Ian Young)
15944Files: src/Make_cyg.mak, src/Make_ming.mak, src/Make_mvc.mak,
15945 src/Makefile, src/regexp.c, src/regexp.h, src/regexp_nfa.c,
15946 src/structs.h, src/testdir/Makefile, src/testdir/test64.in,
15947 src/testdir/test64.ok, Filelist, runtime/doc/pattern.txt,
15948 runtime/doc/option.txt, src/option.c, src/option.h,
15949 src/testdir/test95.in, src/testdir/test95.ok,
15950 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
15951 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
15952 src/testdir/Make_vms.mms, src/testdir/Makefile
15953
15954Patch 7.3.971
15955Problem: No support for VS2012 static code analysis.
15956Solution: Add the ANALYZE option. (Mike Williams)
15957Files: src/Make_mvc.mak
15958
15959Patch 7.3.972
15960Problem: Cursor not restored after InsertEnter autocommand if it moved to
15961 another line.
15962Solution: Also restore if the saved line number is still valid. Allow
15963 setting v:char to skip restoring.
15964Files: src/edit.c, runtime/doc/autocmd.txt
15965
15966Patch 7.3.973
15967Problem: Compiler warnings. Crash on startup. (Tony Mechelynck)
15968Solution: Change EMSG2 to EMSGN. Make array one character longer.
15969Files: src/regexp_nfa.c
15970
15971Patch 7.3.974
15972Problem: Can't build with ruby 1.8.5.
15973Solution: Only use ruby_init_stack() when RUBY_INIT_STACK is defined.
15974 (Yukihiro Nakadaira)
15975Files: src/if_ruby.c
15976
15977Patch 7.3.975
15978Problem: Crash in regexp parsing.
15979Solution: Correctly compute the end of allocated memory.
15980Files: src/regexp_nfa.c
15981
15982Patch 7.3.976
15983Problem: Can't build on HP-UX.
15984Solution: Remove modern initialization. (John Marriott)
15985Files: src/regexp_nfa.c
15986
15987Patch 7.3.977
15988Problem: Compiler warnings on 64 bit Windows.
15989Solution: Add type casts. (Mike Williams) Also fix some white space and
15990 uncomment what was commented-out for testing.
15991Files: src/regexp_nfa.c
15992
15993Patch 7.3.978
15994Problem: Regexp debug logs don't have a good name.
15995Solution: Use clear names and make it possible to write logs for the old and
15996 new engines separately. (Taro Muraoka)
15997Files: src/regexp.c, src/regexp_nfa.c
15998
15999Patch 7.3.979
16000Problem: Complex NFA regexp doesn't work.
16001Solution: Set actual state stack end instead of using an arbitrary number.
16002 (Yasuhiro Matsumoto)
16003Files: src/regexp_nfa.c
16004
16005Patch 7.3.980
16006Problem: Regexp logs may contain garbage. Character classes don't work
16007 correctly for multi-byte characters.
16008Solution: Check for end of post list. Only use "is" functions for
16009 characters up to 255. (Ken Takata)
16010Files: src/regexp_nfa.c
16011
16012Patch 7.3.981
16013Problem: In the old regexp engine \i, \I, \f and \F don't work on
16014 multi-byte characters.
16015Solution: Dereference pointer properly.
16016Files: src/regexp.c, src/testdir/test64.in, src/testdir/test64.ok
16017
16018Patch 7.3.982
16019Problem: In the new regexp engine \p does not work on multi-byte
16020 characters.
16021Solution: Don't point to an integer but the characters.
16022Files: src/regexp_nfa.c, src/testdir/test95.in, src/testdir/test95.ok
16023
16024Patch 7.3.983
Bram Moolenaardd007ed2013-07-09 15:44:17 +020016025Problem: Unnecessary temp variable.
Bram Moolenaar913df812013-07-06 15:44:11 +020016026Solution: Remove the variable.
16027Files: src/regexp_nfa.c
16028
16029Patch 7.3.984
16030Problem: A Visual mapping that uses CTRL-G works differently when started
16031 from Insert mode. (Ein Brown)
16032Solution: Reset old_mapped_len when handling typed text in Select mode.
16033Files: src/normal.c
16034
16035Patch 7.3.985
16036Problem: GTK vim not started as gvim doesn't set WM_CLASS property to a
16037 useful value.
16038Solution: Call g_set_prgname() on startup. (James McCoy)
16039Files: src/gui_gtk_x11.c
16040
16041Patch 7.3.986
16042Problem: Test 95 doesn't pass when 'encoding' isn't utf-8. (Yasuhiro
16043 Matsumoto)
16044Solution: Force 'encoding' to be utf-8.
16045Files: src/testdir/test95.in
16046
16047Patch 7.3.987
16048Problem: No easy to run an individual test. Tests 64 fails when
16049 'encoding' is not utf-8.
16050Solution: Add individual test targets to the Makefile. Move some lines from
16051 test 64 to 95.
16052Files: src/Makefile, src/testdir/test64.in, src/testdir/test64.ok,
16053 src/testdir/test95.in, src/testdir/test95.ok
16054
16055Patch 7.3.988
16056Problem: New regexp engine is slow.
16057Solution: Break out of the loop when the state list is empty.
16058Files: src/regexp_nfa.c
16059
16060Patch 7.3.989
16061Problem: New regexp engine compares negative numbers to character.
16062Solution: Add missing case statements.
16063Files: src/regexp_nfa.c
16064
16065Patch 7.3.990
16066Problem: Memory leak in new regexp engine.
16067Solution: Jump to end of function to free memory. (Dominique Pelle)
16068Files: src/regexp_nfa.c
16069
16070Patch 7.3.991
16071Problem: More can be shared by Python 2 and 3.
16072Solution: Move more stuff to if_py_both. (ZyX)
16073Files: src/if_py_both.h, src/if_python3.c, src/if_python.c,
16074 src/testdir/test87.ok
16075
16076Patch 7.3.992
16077Problem: Python: Too many type casts.
16078Solution: Change argument types. (ZyX)
16079Files: src/if_py_both.h, src/if_python3.c, src/if_python.c
16080
16081Patch 7.3.993
16082Problem: Python: Later patch does things slightly differently.
16083Solution: Adjusted argument type changes. (ZyX)
16084Files: src/if_py_both.h, src/if_python3.c, src/if_python.c
16085
16086Patch 7.3.994
16087Problem: Python: using magic constants.
16088Solution: Use descriptive values for ml_flags. (ZyX)
16089Files: src/if_py_both.h, src/if_python3.c
16090
16091Patch 7.3.995
16092Problem: Python: Module initialization is duplicated.
16093Solution: Move to shared file. (ZyX)
16094Files: src/if_py_both.h, src/if_python3.c, src/if_python.c
16095
16096Patch 7.3.996
16097Problem: Python: Can't check types of what is returned by bindeval().
16098Solution: Add vim.List, vim.Dictionary and vim.Function types. (ZyX)
16099Files: runtime/doc/if_pyth.txt, src/if_py_both.h, src/testdir/test86.in,
16100 src/testdir/test86.ok, src/testdir/test87.in,
16101 src/testdir/test87.ok
16102
16103Patch 7.3.997
16104Problem: Vim and Python exceptions are different.
16105Solution: Make Vim exceptions be Python exceptions. (ZyX)
16106Files: src/if_py_both.h, src/testdir/test86.in, src/testdir/test86.ok,
16107 src/testdir/test87.in, src/testdir/test87.ok
16108
16109Patch 7.3.998
16110Problem: Python: garbage collection issues.
16111Solution: Fix the GC issues: Use proper DESTRUCTOR_FINISH: avoids negative
16112 refcounts, use PyObject_GC_* for objects with tp_traverse and
16113 tp_clear, add RangeTraverse and RangeClear, use Py_XDECREF in some
16114 places. (ZyX)
16115Files: src/if_py_both.h, src/if_python3.c, src/if_python.c
16116
16117Patch 7.3.999
16118Problem: New regexp engine sets curbuf temporarily.
16119Solution: Use reg_buf instead, like the old engine.
16120Files: src/regexp_nfa.c
16121
16122Patch 7.3.1000 (whoa!)
16123Problem: Typo in char value causes out of bounds access.
16124Solution: Fix character value. (Klemens Baum)
16125Files: src/regexp.c
16126
16127Patch 7.3.1001
16128Problem: Duplicate condition in if.
16129Solution: Remove one condition.
16130Files: src/regexp_nfa.c
16131
16132Patch 7.3.1002
16133Problem: Valgrind errors for Python interface.
16134Solution: Fix memory leaks when running tests. (ZyX)
16135Files: src/if_py_both.h
16136
16137Patch 7.3.1003
16138Problem: Python interface does not compile with Python 2.2
16139Solution: Fix thread issues and True/False. (ZyX)
16140Files: src/if_py_both.h, src/if_python3.c, src/if_python.c,
16141 src/testdir/test86.in, src/testdir/test86.ok,
16142 src/testdir/test87.in, src/testdir/test87.ok
16143
16144Patch 7.3.1004
16145Problem: No error when option could not be set.
16146Solution: Report an error. (ZyX)
16147Files: src/if_py_both.h, src/option.c, src/proto/option.pro,
16148 src/testdir/test86.ok, src/testdir/test87.ok
16149
16150Patch 7.3.1005
16151Problem: Get stuck on regexp "\n*" and on "%s/^\n\+/\r".
16152Solution: Fix handling of matching a line break. (idea by Hirohito Higashi)
16153Files: src/regexp_nfa.c
16154
16155Patch 7.3.1006
16156Problem: NFA engine not used for "\_[0-9]".
16157Solution: Enable this, fixed in patch 1005.
16158Files: src/regexp_nfa.c
16159
16160Patch 7.3.1007
16161Problem: Can't build on Minix 3.2.1.
16162Solution: Add a condition to an #ifdef. (Gautam Tirumala)
16163Files: src/memfile.c
16164
16165Patch 7.3.1008
16166Problem: Test 95 fails on MS-Windows.
16167Solution: Set 'nomore'. Change \i to \f. Change multi-byte character to
16168 something that is not matching \i. (Ken Takata)
16169Files: src/testdir/test95.in, src/testdir/test95.ok
16170
16171Patch 7.3.1009
16172Problem: Compiler warning for ambiguous else.
16173Solution: Add curly braces.
16174Files: src/if_py_both.h
16175
16176Patch 7.3.1010
16177Problem: New regexp: adding \Z makes every character match.
16178Solution: Only apply ireg_icombine for composing characters.
Bram Moolenaardd007ed2013-07-09 15:44:17 +020016179 Also add missing change from patch 1008. (Ken Takata)
Bram Moolenaar913df812013-07-06 15:44:11 +020016180Files: src/regexp_nfa.c, src/testdir/test95.in, src/testdir/test95.ok
16181
16182Patch 7.3.1011
16183Problem: New regexp engine is inefficient with multi-byte characters.
16184Solution: Handle a character at a time instead of a byte at a time. Also
16185 make \Z partly work.
16186Files: src/regexp_nfa.c, src/testdir/test95.in, src/testdir/test95.ok
16187
16188Patch 7.3.1012
16189Problem: \Z does not work properly with the new regexp engine.
16190Solution: Make \Z work. Add tests.
16191Files: src/regexp_nfa.c, src/testdir/test95.in, src/testdir/test95.ok
16192
16193Patch 7.3.1013
16194Problem: New regexp logging is a bit messy.
16195Solution: Consistently use #defines, add explanatory comment. (Taro Muraoka)
16196Files: src/regexp_nfa.c
16197
16198Patch 7.3.1014
16199Problem: New regexp state dump is hard to read.
16200Solution: Make the state dump more pretty. (Taro Muraoka)
16201Files: src/regexp_nfa.c
16202
16203Patch 7.3.1015
16204Problem: New regexp engine: Matching composing characters is wrong.
16205Solution: Fix matching composing characters.
16206Files: src/regexp_nfa.c, src/testdir/test95.in, src/testdir/test95.ok
16207
16208Patch 7.3.1016
16209Problem: Unused field in nfa_state.
16210Solution: Remove lastthread.
16211Files: src/regexp.h, src/regexp_nfa.c
16212
16213Patch 7.3.1017
16214Problem: Zero width match changes length of match.
16215Solution: For a zero width match put new states in the current position in
16216 the state list.
16217Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok,
16218 src/regexp.h
16219
16220Patch 7.3.1018
16221Problem: New regexp engine wastes memory.
16222Solution: Allocate prog with actual number of states, not estimated maximum
16223 number of sates.
16224Files: src/regexp_nfa.c
16225
16226Patch 7.3.1019
16227Problem: These do not work with the new regexp engine: \%o123, \%x123,
16228 \%d123, \%u123 and \%U123.
16229Solution: Implement these items.
16230Files: src/regexp_nfa.c
16231
16232Patch 7.3.1020
16233Problem: Not all patterns are tested with auto / old / new engine.
16234Solution: Test patterns with three values of 'regexpengine'.
16235Files: src/testdir/test64.in, src/testdir/test64.ok,
16236 src/testdir/test95.in, src/testdir/test95.ok
16237
16238Patch 7.3.1021
16239Problem: New regexp engine does not ignore order of composing chars.
16240Solution: Ignore composing chars order.
16241Files: src/regexp_nfa.c, src/testdir/test95.in, src/testdir/test95.ok
16242
16243Patch 7.3.1022
16244Problem: Compiler warning for shadowed variable. (John Little)
16245Solution: Move declaration, rename variables.
16246Files: src/regexp_nfa.c
16247
16248Patch 7.3.1023
16249Problem: Searching for composing char only and using \Z has different
16250 results.
16251Solution: Make it match the composing char, matching everything is not
16252 useful.
16253Files: src/regexp_nfa.c, src/testdir/test95.in, src/testdir/test95.ok
16254
16255Patch 7.3.1024
16256Problem: New regexp: End of matching pattern not set correctly. (Cesar
16257 Romani)
16258Solution: Quit the loop after finding the match. Store nfa_has_zend in the
16259 program.
16260Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok,
16261 src/regexp.h
16262
16263Patch 7.3.1025
16264Problem: New regexp: not matching newline in string. (Marc Weber)
16265Solution: Check for "\n" character.
16266Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
16267
16268Patch 7.3.1026
Bram Moolenaardd007ed2013-07-09 15:44:17 +020016269Problem: New regexp: pattern that includes a new-line matches too early.
Bram Moolenaar913df812013-07-06 15:44:11 +020016270 (john McGowan)
16271Solution: Do not start searching in the second line.
16272Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
16273
16274Patch 7.3.1027
16275Problem: New regexp performance: Calling no_Magic() very often.
16276Solution: Remove magicness inline.
16277Files: src/regexp_nfa.c
16278
16279Patch 7.3.1028
16280Problem: New regexp performance: Copying a lot of position state.
16281Solution: Only copy the sub-expressions that are being used.
16282Files: src/regexp_nfa.c, src/regexp.h
16283
16284Patch 7.3.1029
16285Problem: New regexp performance: Unused position state being copied.
16286Solution: Keep track of which positions are actually valid.
16287Files: src/regexp_nfa.c
16288
16289Patch 7.3.1030 (after 7.3.1028)
16290Problem: Can't build for debugging.
16291Solution: Fix struct member names.
16292Files: src/regexp_nfa.c
16293
16294Patch 7.3.1031
16295Problem: Compiler warnings for shadowed variable. (John Little)
16296Solution: Move the variable declarations to the scope where they are used.
16297Files: src/regexp_nfa.c
16298
16299Patch 7.3.1032
16300Problem: "\ze" is not supported by the new regexp engine.
16301Solution: Make "\ze" work.
16302Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
16303
16304Patch 7.3.1033
16305Problem: "\1" .. "\9" are not supported in the new regexp engine.
16306Solution: Implement them. Add a few more tests.
16307Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok,
16308 src/regexp.h
16309
16310Patch 7.3.1034
16311Problem: New regexp code using strange multi-byte code.
16312Solution: Use the normal code to advance and backup pointers.
16313Files: src/regexp_nfa.c
16314
16315Patch 7.3.1035
16316Problem: Compiler warning on 64 bit windows.
16317Solution: Add type cast. (Mike Williams)
16318Files: src/if_py_both.h
16319
16320Patch 7.3.1036
16321Problem: Can't build on HP-UX.
16322Solution: Give the union a name. (John Marriott)
16323Files: src/regexp_nfa.c
16324
16325Patch 7.3.1037
16326Problem: Look-behind matching is very slow on long lines.
16327Solution: Add a byte limit to how far back an attempt is made.
16328Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test64.in,
16329 src/testdir/test64.ok
16330
16331Patch 7.3.1038
16332Problem: Crash when using Cscope.
16333Solution: Avoid negative argument to vim_strncpy(). (Narendran
16334 Gopalakrishnan)
16335Files: src/if_cscope.c
16336
16337Patch 7.3.1039
16338Problem: New regexp engine does not support \%23c, \%<23c and the like.
16339Solution: Implement them. (partly by Yasuhiro Matsumoto)
16340Files: src/regexp.h, src/regexp_nfa.c, src/testdir/test64.in,
16341 src/testdir/test64.ok
16342
16343Patch 7.3.1040
16344Problem: Python: Problems with debugging dynamic build.
16345Solution: Python patch 1. (ZyX)
16346Files: src/if_python.c, src/if_python3.c
16347
16348Patch 7.3.1041
16349Problem: Python: Invalid read valgrind errors.
16350Solution: Python patch 2: defer DICTKEY_UNREF until key is no longer needed.
16351 (ZyX)
16352Files: src/if_py_both.h
16353
16354Patch 7.3.1042
16355Problem: Python: can't assign to vim.Buffer.name.
16356Solution: Python patch 3. (ZyX)
16357Files: runtime/doc/if_pyth.txt, src/ex_cmds.c, src/if_py_both.h,
16358 src/if_python3.c, src/if_python.c, src/proto/ex_cmds.pro,
16359 src/testdir/test86.in, src/testdir/test86.ok,
16360 src/testdir/test87.in, src/testdir/test87.ok
16361
16362Patch 7.3.1043
16363Problem: Python: Dynamic compilation with 2.3 fails.
16364Solution: Python patch 4. (ZyX)
16365Files: src/if_python.c
16366
16367Patch 7.3.1044
16368Problem: Python: No {Buffer,TabPage,Window}.valid attributes.
16369Solution: Python patch 5: add .valid (ZyX)
16370Files: src/if_py_both.h, src/if_python3.c, src/if_python.c,
16371 src/testdir/test86.in, src/testdir/test86.ok,
16372 src/testdir/test87.in, src/testdir/test87.ok
16373
16374Patch 7.3.1045
16375Problem: Python: No error handling for VimToPython function.
16376Solution: Python patch 6. (ZyX)
16377Files: src/if_py_both.h
16378
16379Patch 7.3.1046
16380Problem: Python: Using Py_BuildValue for building strings.
16381Solution: Python patch 7 and 7.5: Replace Py_BuildValue with
16382 PyString_FromString. (ZyX)
16383Files: src/if_py_both.h
16384
16385Patch 7.3.1047
16386Problem: Python: dir() does not work properly.
16387Solution: Python patch 8. Add __dir__ method to all objects with custom
16388 tp_getattr supplemented by __members__ attribute for at least
16389 python-2* versions. __members__ is not mentioned in python-3*
16390 dir() output even if it is accessible. (ZyX)
16391Files: src/if_py_both.h, src/if_python3.c, src/if_python.c,
16392 src/testdir/test86.in, src/testdir/test86.ok,
16393 src/testdir/test87.in, src/testdir/test87.ok
16394
16395Patch 7.3.1048
16396Problem: Python: no consistent naming.
16397Solution: Python patch 9: Rename d to dict and lookupDict to lookup_dict.
16398 (ZyX)
16399Files: src/if_py_both.h
16400
16401Patch 7.3.1049
16402Problem: Python: no consistent naming
16403Solution: Python patch 10: Rename DICTKEY_GET_NOTEMPTY to DICTKEY_GET. (ZyX)
16404Files: src/if_py_both.h
16405
16406Patch 7.3.1050
16407Problem: Python: Typo in pyiter_to_tv.
16408Solution: Python patch 11. (ZyX)
16409Files: src/if_py_both.h
16410
16411Patch 7.3.1051
16412Problem: Python: possible memory leaks.
16413Solution: Python patch 12: fix the leaks (ZyX)
16414Files: src/if_py_both.h
16415
16416Patch 7.3.1052
16417Problem: Python: possible SEGV and negative refcount.
16418Solution: Python patch 13: Fix IterIter function. (ZyX)
16419Files: src/if_py_both.h
16420
16421Patch 7.3.1053
16422Problem: Python: no flag for types with tp_traverse+tp_clear.
16423Solution: Python patch 14: Add Py_TPFLAGS_HAVE_GC. (ZyX)
16424Files: src/if_py_both.h
16425
16426Patch 7.3.1054 (after 7.3.1042)
16427Problem: Can't build without the +autocmd feature. (Elimar Riesebieter)
16428Solution: Fix use of buf and curbuf.
16429Files: src/ex_cmds.c, src/testdir/test86.ok, src/testdir/test87.ok
16430
16431Patch 7.3.1055
16432Problem: Negated collection does not match newline.
16433Solution: Handle newline differently. (Hiroshi Shirosaki)
16434Files: src/regexp_nfa.c, src/testdir/test64.ok, src/testdir/test64.in
16435
16436Patch 7.3.1056
16437Problem: Python: possible memory leaks.
16438Solution: Python patch 15. (ZyX) Fix will follow later.
16439Files: src/eval.c, src/if_py_both.h, src/proto/eval.pro
16440
16441Patch 7.3.1057
Bram Moolenaardd007ed2013-07-09 15:44:17 +020016442Problem: Python: not enough compatibility.
Bram Moolenaar913df812013-07-06 15:44:11 +020016443Solution: Python patch 16: Make OutputWritelines support any sequence object
16444 (ZyX) Note: tests fail
16445Files: src/if_py_both.h, src/testdir/test86.in, src/testdir/test86.ok,
16446 src/testdir/test87.in, src/testdir/test87.ok
16447
16448Patch 7.3.1058
16449Problem: Call of funcref does not succeed in other script.
16450Solution: Python patch 17: add get_expanded_name(). (ZyX)
16451Files: src/eval.c, src/proto/eval.pro
16452
16453Patch 7.3.1059
16454Problem: Python: Using fixed size buffers.
16455Solution: Python patch 18: Use python's own formatter. (ZyX)
16456Files: src/if_py_both.h, src/if_python3.c, src/if_python.c
16457
16458Patch 7.3.1060
16459Problem: Python: can't repr() a function.
16460Solution: Python patch 19: add FunctionRepr(). (ZyX)
16461Files: src/if_py_both.h
16462
16463Patch 7.3.1061
16464Problem: Python: Dictionary is not standard.
16465Solution: Python patch 20: Add standard methods and fields. (ZyX)
16466Files: runtime/doc/if_pyth.txt, src/eval.c, src/if_py_both.h,
16467 src/if_python3.c, src/if_python.c, src/proto/eval.pro,
16468 src/testdir/test86.in, src/testdir/test86.ok,
16469 src/testdir/test87.in, src/testdir/test87.ok
16470
16471Patch 7.3.1062
16472Problem: Python: List is not standard.
16473Solution: Python patch 21: Add standard methods and fields. (ZyX)
16474Files: src/if_py_both.h, src/testdir/test86.in, src/testdir/test86.ok,
16475 src/testdir/test87.in, src/testdir/test87.ok
16476
16477Patch 7.3.1063
16478Problem: Python: Function is not standard.
16479Solution: Python patch 22: make Function subclassable. (ZyX)
16480Files: src/eval.c, src/if_py_both.h, src/proto/eval.pro,
16481 src/testdir/test86.in, src/testdir/test86.ok,
16482 src/testdir/test87.in, src/testdir/test87.ok
16483
16484Patch 7.3.1064
16485Problem: Python: insufficient error checking.
16486Solution: Python patch 23. (ZyX)
16487Files: src/if_py_both.h
16488
16489Patch 7.3.1065
16490Problem: Python: key mapping is not standard.
Bram Moolenaardd007ed2013-07-09 15:44:17 +020016491Solution: Python patch 24: use PyMapping_Keys. (ZyX)
Bram Moolenaar913df812013-07-06 15:44:11 +020016492Files: src/if_py_both.h, src/if_python3.c, src/if_python.c
16493
16494Patch 7.3.1066
16495Problem: Python: Insufficient exception and error testing.
16496Solution: Python patch 25. (ZyX)
16497Files: src/testdir/test86.in, src/testdir/test86.ok,
16498 src/testdir/test87.in, src/testdir/test87.ok
16499
16500Patch 7.3.1067
16501Problem: Python: documentation lags behind.
16502Solution: Python patch 26. (ZyX)
16503Files: runtime/doc/if_pyth.txt
16504
16505Patch 7.3.1068
16506Problem: Python: Script is auto-loaded on function creation.
16507Solution: Python patch 27. (ZyX)
16508Files: src/eval.c, src/if_py_both.h, src/proto/eval.pro,
16509 src/testdir/test86.ok, src/testdir/test87.ok, src/vim.h
16510
16511Patch 7.3.1069
16512Problem: Python: memory leaks.
16513Solution: Python patch 28: Purge out DICTKEY_CHECK_EMPTY macros. (ZyX)
16514Files: src/if_py_both.h
16515
16516Patch 7.3.1070
16517Problem: Vim crashes in Python tests. Compiler warning for unused function.
16518Solution: Disable the tests for now. Move the function.
16519Files: src/if_py_both.h, src/if_python.c, src/testdir/test86.in,
16520 src/testdir/test87.in
16521
16522Patch 7.3.1071
16523Problem: New regexp engine: backreferences don't work correctly.
16524Solution: Add every possible start/end position on the state stack.
16525Files: src/regexp_nfa.c, src/regexp.h, src/testdir/test64.in,
16526 src/testdir/test64.ok
16527
16528Patch 7.3.1072
Bram Moolenaardd007ed2013-07-09 15:44:17 +020016529Problem: Compiler warning for uninitialized variable.
Bram Moolenaar913df812013-07-06 15:44:11 +020016530Solution: Initialize it.
16531Files: src/regexp_nfa.c
16532
16533Patch 7.3.1073
16534Problem: New regexp engine may run out of states.
16535Solution: Allocate states dynamically. Also make the test report errors.
16536Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok,
16537 src/testdir/test95.in
16538
16539Patch 7.3.1074
16540Problem: Compiler warning for printf format. (Manuel Ortega)
16541Solution: Add type casts.
16542Files: src/if_py_both.h
16543
16544Patch 7.3.1075
16545Problem: Compiler warning for storing a long_u in an int.
16546Solution: Declare the number as an int. (Mike Williams)
16547Files: src/regexp_nfa.c
16548
16549Patch 7.3.1076
16550Problem: New regexp engine: \@= and \& don't work.
16551Solution: Make these items work. Add column info to logging.
16552Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
16553
16554Patch 7.3.1077
16555Problem: Python: Allocating dict the wrong way, causing a crash.
16556Solution: Use py_dict_alloc(). Fix some exception problems. (ZyX)
16557Files: src/if_py_both.h
16558
16559Patch 7.3.1078
16560Problem: New regexp engine: \@! doesn't work.
16561Solution: Implement the negated version of \@=.
16562Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
16563
16564Patch 7.3.1079
16565Problem: Test 87 fails.
16566Solution: Fix the test for Python 3.3. (ZyX) Make it pass on 32 bit systems.
16567Files: src/testdir/test87.in, src/testdir/test87.ok
16568
16569Patch 7.3.1080
16570Problem: Test 86 fails.
16571Solution: Comment out the parts that don't work. Make it pass on 32 bit
16572 systems.
16573Files: src/testdir/test86.in, src/testdir/test86.ok
16574
16575Patch 7.3.1081
16576Problem: Compiler warnings on 64-bit Windows.
16577Solution: Change variable types. (Mike Williams)
16578Files: src/if_py_both.h, src/regexp_nfa.c
16579
16580Patch 7.3.1082
16581Problem: New regexp engine: Problem with \@= matching.
16582Solution: Save and restore nfa_match.
16583Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
16584
16585Patch 7.3.1083
16586Problem: New regexp engine: Does not support \%^ and \%$.
16587Solution: Support matching start and end of file.
16588Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
16589
16590Patch 7.3.1084
16591Problem: New regexp engine: only accepts up to \{,10}.
16592Solution: Remove upper limit. Remove dead code with NFA_PLUS.
16593Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
16594
16595Patch 7.3.1085
16596Problem: New regexp engine: Non-greedy multi doesn't work.
16597Solution: Implement \{-}.
16598Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
16599
16600Patch 7.3.1086
16601Problem: Old regexp engine accepts illegal range, new one doesn't.
16602Solution: Also accept the illegal range with the new engine.
16603Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
16604
16605Patch 7.3.1087
16606Problem: A leading star is not seen as a normal char when \{} follows.
16607Solution: Save and restore the parse state properly.
16608Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test64.in,
16609 src/testdir/test64.ok
16610
16611Patch 7.3.1088
16612Problem: New regexp engine: \@<= and \@<! are not implemented.
16613Solution: Implement look-behind matching. Fix off-by-one error in old
16614 regexp engine.
16615Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test64.in,
16616 src/testdir/test64.ok
16617
16618Patch 7.3.1089
16619Problem: Tests 86 and 87 fail on MS-Windows. (Ken Takata)
16620Solution: Fix platform-specific stuff. (ZyX)
16621Files: src/testdir/test86.in, src/testdir/test86.ok,
16622 src/testdir/test87.in, src/testdir/test87.ok
16623
16624Patch 7.3.1090
16625Problem: New regexp engine does not support \z1 .. \z9 and \z(.
16626Solution: Implement the syntax submatches.
16627Files: src/regexp.h, src/regexp_nfa.c
16628
16629Patch 7.3.1091
16630Problem: New regexp engine: no error when using \z1 or \z( where it does
16631 not work.
16632Solution: Give an error message.
16633Files: src/regexp.c, src/regexp_nfa.c
16634
16635Patch 7.3.1092
16636Problem: Can't build with regexp debugging. NFA debug output shows wrong
16637 pattern.
16638Solution: Fix debugging code for recent changes. Add the pattern to the
16639 program.
16640Files: src/regexp_nfa.c, src/regexp.h
16641
16642Patch 7.3.1093
16643Problem: New regexp engine: When a sub expression is empty \1 skips a
16644 character.
Bram Moolenaardd007ed2013-07-09 15:44:17 +020016645Solution: Make \1 try the current position when the match is empty.
Bram Moolenaar913df812013-07-06 15:44:11 +020016646Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
16647
16648Patch 7.3.1094
16649Problem: New regexp engine: Attempts to match "^" at every character.
16650Solution: Only try "^" at the start of a line.
16651Files: src/regexp_nfa.c
16652
16653Patch 7.3.1095
16654Problem: Compiler warnings for shadowed variables. (Christian Brabandt)
16655Solution: Rename new_state() to alloc_state(). Remove unnecessary
16656 declaration.
16657Files: src/regexp_nfa.c
16658
16659Patch 7.3.1096
16660Problem: Python: popitem() was not defined in a standard way.
16661Solution: Remove the argument from popitem(). (ZyX)
16662Files: runtime/doc/if_pyth.txt, src/if_py_both.h, src/testdir/test86.in,
16663 src/testdir/test86.ok, src/testdir/test87.in,
16664 src/testdir/test87.ok
16665
16666Patch 7.3.1097
16667Problem: Python: a few recently added items are not documented.
16668Solution: Update the documentation. (ZyX)
16669Files: runtime/doc/if_pyth.txt
16670
16671Patch 7.3.1098
16672Problem: Python: Possible memory leaks
16673Solution: Add Py_XDECREF() calls. (ZyX)
16674Files: src/if_py_both.h
16675
16676Patch 7.3.1099
16677Problem: Python: Changing directory with os.chdir() causes problems for
16678 Vim's notion of directories.
16679Solution: Add vim.chdir() and vim.fchdir(). (ZyX)
16680Files: runtime/doc/if_pyth.txt, src/ex_docmd.c, src/if_py_both.h,
16681 src/if_python3.c, src/if_python.c, src/proto/ex_docmd.pro,
16682 src/testdir/test86.in, src/testdir/test86.ok,
16683 src/testdir/test87.in, src/testdir/test87.ok
16684
16685Patch 7.3.1100
16686Problem: Python: a few more memory problems.
16687Solution: Add and remove Py_XDECREF(). (ZyX)
16688Files: src/if_py_both.h, src/testdir/test86.in, src/testdir/test86.ok,
16689 src/testdir/test87.in, src/testdir/test87.ok
16690
16691Patch 7.3.1101
16692Problem: Configure doesn't find Python 3 on Ubuntu 13.04.
16693Solution: First try distutils.sysconfig. Also fix some indents. (Ken
16694 Takata)
16695Files: src/configure.in, src/auto/configure
16696
16697Patch 7.3.1102
16698Problem: Completion of ":py3do" and ":py3file" does not work after ":py3".
16699Solution: Make completion work. (Taro Muraoka)
16700Files: src/ex_docmd.c
16701
16702Patch 7.3.1103
16703Problem: New regexp engine: overhead in saving and restoring.
16704Solution: Make saving and restoring list IDs faster. Don't copy or check \z
16705 subexpressions when they are not used.
16706Files: src/regexp_nfa.c
16707
16708Patch 7.3.1104
16709Problem: New regexp engine does not handle "~".
16710Solution: Add support for "~".
16711Files: src/regexp_nfa.c, src/testdir/test24.in, src/testdir/test24.ok
16712
16713Patch 7.3.1105
16714Problem: New regexp engine: too much code in one function. Dead code.
16715Solution: Move the recursive nfa_regmatch call to a separate function.
16716 Remove the dead code.
16717Files: src/regexp_nfa.c
16718
16719Patch 7.3.1106
16720Problem: New regexp engine: saving and restoring lastlist in the states
16721 takes a lot of time.
16722Solution: Use a second lastlist value for the first recursive call.
16723Files: src/regexp.h, src/regexp_nfa.c
16724
16725Patch 7.3.1107
16726Problem: Compiler warnings for unused variables.
16727Solution: Put the variables inside #ifdef.
16728Files: src/regexp.c, src/regexp_nfa.c
16729
16730Patch 7.3.1108
16731Problem: Error message for os.fchdir() (Charles Peacech)
16732Solution: Clear the error. (ZyX)
16733Files: src/if_py_both.h
16734
16735Patch 7.3.1109
16736Problem: Building on MS-Windows doesn't see changes in if_py_both.h.
16737Solution: Add a dependency. (Ken Takata)
16738Files: src/Make_bc5.mak, src/Make_cyg.mak, src/Make_ming.mak,
16739 src/Make_mvc.mak
16740
16741Patch 7.3.1110
16742Problem: New regexp matching: Using \@= and the like can be slow.
Bram Moolenaardd007ed2013-07-09 15:44:17 +020016743Solution: Decide whether to first try matching the zero-width part or what
Bram Moolenaar913df812013-07-06 15:44:11 +020016744 follows, whatever is more likely to fail.
16745Files: src/regexp_nfa.c
16746
16747Patch 7.3.1111
16748Problem: nfa_recognize_char_class() implementation is inefficient.
16749Solution: Use bits in an int instead of chars in a string. (Dominique Pelle)
16750Files: src/regexp_nfa.c, src/testdir/test36.in, src/testdir/test36.ok
16751
16752Patch 7.3.1112
16753Problem: New regexp engine: \%V not supported.
16754Solution: Implement \%V. Add tests.
16755Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test64.in,
16756 src/testdir/test64.ok
16757
16758Patch 7.3.1113
16759Problem: New regexp engine: \%'m not supported.
16760Solution: Implement \%'m. Add tests.
16761Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test64.in,
16762 src/testdir/test64.ok
16763
16764Patch 7.3.1114 (after 7.3.1110)
16765Problem: Can't build without the syntax feature.
16766Solution: Add #ifdefs. (Erik Falor)
16767Files: src/regexp_nfa.c
16768
16769Patch 7.3.1115
16770Problem: Many users don't like the cursor line number when 'relativenumber'
16771 is set.
16772Solution: Have four combinations with 'number' and 'relativenumber'.
16773 (Christian Brabandt)
16774Files: runtime/doc/options.txt, src/option.c, src/screen.c,
16775 src/testdir/test89.in, src/testdir/test89.ok
16776
16777Patch 7.3.1116
16778Problem: Can't build without Visual mode.
16779Solution: Add #ifdefs.
16780Files: src/regexp_nfa.c
16781
16782Patch 7.3.1117
16783Problem: New regexp engine: \%[abc] not supported.
16784Solution: Implement \%[abc]. Add tests.
16785Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
16786
16787Patch 7.3.1118
16788Problem: Match failure rate is not very specific.
16789Solution: Tune the failure rate for match items.
16790Files: src/regexp_nfa.c
16791
16792Patch 7.3.1119
16793Problem: Flags in 'cpo' are search for several times.
16794Solution: Store the result and re-use the flags.
16795Files: src/regexp.c, src/regexp_nfa.c
16796
16797Patch 7.3.1120
16798Problem: Crash when regexp logging is enabled.
16799Solution: Avoid using NULL pointers. Advance over count argument.
16800Files: src/regexp.c, src/regexp_nfa.c
16801
16802Patch 7.3.1121
16803Problem: New regexp engine: adding states that are not used.
16804Solution: Don't add the states.
16805Files: src/regexp_nfa.c
16806
16807Patch 7.3.1122
16808Problem: New regexp engine: \@> not supported.
16809Solution: Implement \%>.
16810Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
16811
16812Patch 7.3.1123
16813Problem: Can't build tiny Vim on MS-Windows.
16814Solution: Adjust #ifdef around using modif_fname(). (Mike Williams)
16815Files: src/misc1.c
16816
16817Patch 7.3.1124
16818Problem: Python: Crash on MS-Windows when os.fchdir() is not available.
16819Solution: Check for _chdir to be NULL. (Ken Takata)
16820Files: src/if_py_both.h
16821
16822Patch 7.3.1125
16823Problem: Error for using \%V in a pattern in tiny Vim.
16824Solution: Allow using \%V but never match. (Dominique Pelle)
16825Files: src/regexp_nfa.c
16826
16827Patch 7.3.1126
Bram Moolenaardd007ed2013-07-09 15:44:17 +020016828Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
Bram Moolenaar913df812013-07-06 15:44:11 +020016829Solution: Assign something to the variable.
16830Files: src/regexp_nfa.c
16831
16832Patch 7.3.1127
16833Problem: No error for using empty \%[].
16834Solution: Give error message.
16835Files: src/regexp.c, src/regexp_nfa.c
16836
16837Patch 7.3.1128
16838Problem: Now that the NFA engine handles everything every failure is a
16839 syntax error.
16840Solution: Remove the syntax_error flag.
16841Files: src/regexp.c, src/regexp_nfa.c
16842
16843Patch 7.3.1129
16844Problem: Can't see what pattern in syntax highlighting is slow.
16845Solution: Add the ":syntime" command.
16846Files: src/structs.h, src/syntax.c, src/ex_cmds.h, src/ex_docmd.c,
16847 src/proto/syntax.pro, src/ex_cmds2.c, src/proto/ex_cmds2.pro,
16848 runtime/doc/syntax.txt
16849
16850Patch 7.3.1130 (after 7.3.1129)
16851Problem: Can't build with anything but huge features.
16852Solution: Check for FEAT_PROFILE. (Yasuhiro Matsumoto)
16853Files: src/ex_docmd.c, src/structs.h, src/syntax.c
16854
16855Patch 7.3.1131
16856Problem: New regexp engine is a bit slow.
16857Solution: Do not clear the state list. Don't copy syntax submatches when
16858 not used.
16859Files: src/regexp_nfa.c
16860
16861Patch 7.3.1132
16862Problem: Crash when debugging regexp.
16863Solution: Do not try to dump subexpr that were not set. Skip over count of
16864 \% items.
16865Files: src/regexp.c, src/regexp_nfa.c
16866
16867Patch 7.3.1133
16868Problem: New regexp engine is a bit slow.
16869Solution: Skip ahead to a character that must match. Don't try matching a
16870 "^" patter past the start of line.
16871Files: src/regexp_nfa.c, src/regexp.h
16872
16873Patch 7.3.1134
16874Problem: Running test 49 takes a long time.
16875Solution: Don't have it grep all files.
16876Files: src/testdir/test49.vim
16877
16878Patch 7.3.1135
16879Problem: Compiler warning for unused argument.
16880Solution: Add UNUSED.
16881Files: src/syntax.c
16882
16883Patch 7.3.1136
16884Problem: ":func Foo" does not show attributes.
16885Solution: Add "abort", "dict" and "range". (Yasuhiro Matsumoto)
16886Files: src/eval.c
16887
16888Patch 7.3.1137
16889Problem: New regexp engine: collections are slow.
16890Solution: Handle all characters in one go.
16891Files: src/regexp_nfa.c
16892
16893Patch 7.3.1138
16894Problem: New regexp engine: neglist no longer used.
16895Solution: Remove the now unused neglist.
16896Files: src/regexp_nfa.c
16897
16898Patch 7.3.1139
16899Problem: New regexp engine: negated flag is hardly used.
16900Solution: Add separate _NEG states, remove negated flag.
16901Files: src/regexp_nfa.c, src/regexp.h
16902
16903Patch 7.3.1140
16904Problem: New regexp engine: trying expensive match while the result is not
16905 going to be used.
16906Solution: Check for output state already being in the state list.
16907Files: src/regexp_nfa.c
16908
16909Patch 7.3.1141
16910Problem: Win32: Check for available memory is not reliable and adds
16911 overhead.
16912Solution: Remove mch_avail_mem(). (Mike Williams)
16913Files: src/os_win32.c, src/os_win32.h
16914
16915Patch 7.3.1142
16916Problem: Memory leak in ":syntime report".
16917Solution: Clear the grow array. (Dominique Pelle)
16918Files: src/syntax.c
16919
16920Patch 7.3.1143
16921Problem: When mapping NUL it is displayed as an X.
16922Solution: Check for KS_ZERO instead of K_ZERO. (Yasuhiro Matsumoto)
16923Files: src/message.c
16924
16925Patch 7.3.1144
16926Problem: "RO" is not translated everywhere.
16927Solution: Put inside _(). (Sergey Alyoshin)
16928Files: src/buffer.c, src/screen.c
16929
16930Patch 7.3.1145
16931Problem: New regexp engine: addstate() is called very often.
16932Solution: Optimize adding the start state.
16933Files: src/regexp_nfa.c
16934
16935Patch 7.3.1146
16936Problem: New regexp engine: look-behind match not checked when followed by
16937 zero-width match.
16938Solution: Do the look-behind match before adding the zero-width state.
16939Files: src/regexp_nfa.c
16940
16941Patch 7.3.1147
16942Problem: New regexp engine: regstart is only used to find the first match.
16943Solution: Use regstart whenever adding the start state.
16944Files: src/regexp_nfa.c
16945
16946Patch 7.3.1148
16947Problem: No command line completion for ":syntime".
16948Solution: Implement the completion. (Dominique Pelle)
16949Files: runtime/doc/map.txt, src/ex_cmds.h, src/ex_docmd.c,
16950 src/ex_getln.c, src/proto/syntax.pro, src/syntax.c, src/vim.h
16951
16952Patch 7.3.1149
16953Problem: New regexp engine: Matching plain text could be faster.
16954Solution: Detect a plain text match and handle it specifically. Add
16955 vim_regfree().
16956Files: src/regexp.c, src/regexp.h, src/regexp_nfa.c,
16957 src/proto/regexp.pro, src/buffer.c, src/edit.c, src/eval.c,
16958 src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_eval.c,
16959 src/ex_getln.c, src/fileio.c, src/gui.c, src/misc1.c, src/misc2.c,
16960 src/option.c, src/syntax.c, src/quickfix.c, src/search.c,
16961 src/spell.c, src/tag.c, src/window.c, src/screen.c, src/macros.h,
16962 src/testdir/test64.in, src/testdir/test64.ok
16963
16964Patch 7.3.1150
16965Problem: New regexp engine: Slow when a look-behind match does not have a
16966 width specified.
16967Solution: Try to compute the maximum width.
16968Files: src/regexp_nfa.c
16969
16970Patch 7.3.1151
16971Problem: New regexp engine: Slow when a look-behind match is followed by a
16972 zero-width match.
16973Solution: Postpone the look-behind match more often.
16974Files: src/regexp_nfa.c
16975
16976Patch 7.3.1152
16977Problem: In tiny build ireg_icombine is undefined. (Tony Mechelynck)
16978Solution: Add #ifdef.
16979Files: src/regexp_nfa.c
16980
16981Patch 7.3.1153
16982Problem: New regexp engine: Some look-behind matches are very expensive.
Bram Moolenaardd007ed2013-07-09 15:44:17 +020016983Solution: Postpone invisible matches further, until a match is almost found.
Bram Moolenaar913df812013-07-06 15:44:11 +020016984Files: src/regexp_nfa.c
16985
16986Patch 7.3.1154
Bram Moolenaardd007ed2013-07-09 15:44:17 +020016987Problem: New regexp_nfa engine: Unnecessary code.
16988Solution: Remove unnecessary code.
Bram Moolenaar913df812013-07-06 15:44:11 +020016989Files: src/regexp_nfa.c
16990
16991Patch 7.3.1155
16992Problem: MS-DOS: "make test" uses external rmdir command.
16993Solution: Rename "rmdir" to "rd". (Taro Muraoka)
16994Files: src/testdir/Make_dos.mak
16995
16996Patch 7.3.1156
16997Problem: Compiler warnings. (dv1445)
16998Solution: Initialize variables, even when the value isn't really used.
16999Files: src/regexp_nfa.c, src/eval.c
17000
17001Patch 7.3.1157
17002Problem: New regexp engine fails on "\(\<command\)\@<=.*"
17003Solution: Fix rule for postponing match. Further tune estimating whether
17004 postponing works better. Add test.
17005Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
17006
17007Patch 7.3.1158
17008Problem: Crash when running test 86. (Jun Takimoto)
17009Solution: Define PY_SSIZE_T_CLEAN early. (Elimar Riesebieter)
17010Files: src/if_python.c, src/if_python3.c
17011
17012Patch 7.3.1159
17013Problem: The round() function is not always available. (Christ van
17014 Willegen)
17015Solution: Use the solution from f_round().
17016Files: src/ex_cmds2.c, src/eval.c, src/proto/eval.pro
17017
17018Patch 7.3.1160
17019Problem: Mixing long and pointer doesn't always work.
17020Solution: Avoid cast to pointer.
17021Files: src/undo.c
17022
17023Patch 7.3.1161
17024Problem: Python: PyList_SetItem() is inefficient.
17025Solution: Use PyList_SET_ITEM() (ZyX)
17026Files: src/if_py_both.h
17027
17028Patch 7.3.1162
17029Problem: Python: Memory leaks
17030Solution: Add more Py_DECREF(). (ZyX)
17031Files: src/if_py_both.h, src/if_python.c
17032
17033Patch 7.3.1163
17034Problem: Not easy to load Python modules.
17035Solution: Search "python2", "python3" and "pythonx" directories in
17036 'runtimepath' for Python modules. (ZyX)
17037Files: runtime/doc/if_pyth.txt, src/configure.in, src/ex_cmds2.c,
17038 src/if_py_both.h, src/if_python.c, src/if_python3.c,
17039 src/testdir/test86.in, src/testdir/test87.in, src/auto/configure
17040
17041Patch 7.3.1164
17042Problem: Can't test what is actually displayed on screen.
17043Solution: Add the screenchar() and screenattr() functions.
17044Files: src/eval.c, runtime/doc/eval.txt
17045
17046Patch 7.3.1165
17047Problem: HP-UX compiler can't handle zero size array. (Charles Cooper)
17048Solution: Make the array one item big.
17049Files: src/regexp.h, src/regexp_nfa.c
17050
17051Patch 7.3.1166
17052Problem: Loading Python modules is not tested.
17053Solution: Enable commented-out tests, add missing files. (ZyX)
17054Files: src/testdir/test86.in, src/testdir/test86.ok,
17055 src/testdir/test87.in, src/testdir/test87.ok,
17056 src/testdir/python2/module.py, src/testdir/python3/module.py,
17057 src/testdir/pythonx/module.py, src/testdir/pythonx/modulex.py,
17058 Filelist
17059
17060Patch 7.3.1167
17061Problem: Python configure check doesn't reject Python 2 when requesting
17062 Python 3. Some systems need -pthreads instead of -pthread.
17063Solution: Adjust configure accordingly. (Andrei Olsen)
17064Files: src/configure.in, src/auto/configure
17065
17066Patch 7.3.1168
17067Problem: Python "sane" configure checks give a warning message.
Bram Moolenaardd007ed2013-07-09 15:44:17 +020017068Solution: Use single quotes instead of escaped double quotes. (Ben Fritz)
Bram Moolenaar913df812013-07-06 15:44:11 +020017069Files: src/configure.in, src/auto/configure
17070
17071Patch 7.3.1169
17072Problem: New regexp engine: some work is done while executing a pattern,
17073 even though the result is predictable.
17074Solution: Do the work while compiling the pattern.
17075Files: src/regexp_nfa.c
17076
17077Patch 7.3.1170
17078Problem: Patch 7.3.1058 breaks backwards compatibility, not possible to use
17079 a function reference as a string. (lilydjwg)
17080Solution: Instead of translating the function name only translate "s:".
17081Files: src/eval.c
17082
17083Patch 7.3.1171
17084Problem: Check for digits and ascii letters can be faster.
17085Solution: Use a trick with one comparison. (Dominique Pelle)
17086Files: src/macros.h
17087
17088Patch 7.3.1172
17089Problem: Python 2: loading modules doesn't work well.
17090Solution: Fix the code. Add more tests. (ZyX)
17091Files: runtime/doc/if_pyth.txt, src/if_py_both.h, src/if_python.c,
17092 src/testdir/python2/module.py, src/testdir/python3/module.py,
17093 src/testdir/python_after/after.py,
17094 src/testdir/python_before/before.py, src/testdir/test86.in,
17095 src/testdir/test86.ok, src/testdir/test87.in,
17096 src/testdir/test87.ok, Filelist
17097
17098Patch 7.3.1173
17099Problem: Python 2 tests don't have the same output everywhere.
17100Solution: Make the Python 2 tests more portable. (ZyX)
17101Files: src/testdir/test86.in, src/testdir/test86.ok
17102
17103Patch 7.3.1174
17104Problem: Python 2 and 3 use different ways to load modules.
17105Solution: Use the same method. (ZyX)
17106Files: runtime/doc/if_pyth.txt, src/if_py_both.h, src/if_python3.c,
17107 src/if_python.c
17108
17109Patch 7.3.1175
17110Problem: Using isalpha() and isalnum() can be slow.
17111Solution: Use range checks. (Mike Williams)
17112Files: src/ex_docmd.c, src/macros.h
17113
17114Patch 7.3.1176
17115Problem: Compiler warnings on 64 bit system.
17116Solution: Add type casts. (Mike Williams)
17117Files: src/eval.c, src/if_py_both.h
17118
17119Patch 7.3.1177
17120Problem: Wasting memory on padding.
17121Solution: Reorder struct fields. (Dominique Pelle)
17122Files: src/structs.h, src/fileio.c
17123
17124Patch 7.3.1178
17125Problem: Can't put all Vim config files together in one directory.
17126Solution: Load ~/.vim/vimrc if ~/.vimrc does not exist. (Lech Lorens)
17127Files: runtime/doc/gui.txt, runtime/doc/starting.txt, src/gui.c,
17128 src/main.c, src/os_amiga.h, src/os_dos.h, src/os_unix.h
17129
17130Patch 7.3.1179
17131Problem: When a global mapping starts with the same characters as a
17132 buffer-local mapping Vim waits for a character to be typed to find
17133 out whether the global mapping is to be used. (Andy Wokula)
17134Solution: Use the local mapping without waiting. (Michael Henry)
17135Files: runtime/doc/map.txt, src/getchar.c
17136
17137Patch 7.3.1180
17138Problem: When current directory changes, path from cscope may no longer be
17139 valid. (AS Budden)
17140Solution: Always store the absolute path. (Christian Brabandt)
17141Files: src/if_cscope.c
17142
17143Patch 7.3.1181
17144Problem: Wrong error message for 1.0[0].
17145Solution: Check for funcref and float separately. (Yasuhiro Matsumoto)
17146Files: src/eval.c
17147
17148Patch 7.3.1182
17149Problem: 'backupcopy' default on MS-Windows does not work for hard and soft
17150 links.
17151Solution: Check for links. (David Pope, Ken Takata)
17152Files: src/fileio.c, src/os_win32.c, src/proto/os_win32.pro
17153
17154Patch 7.3.1183
17155Problem: Python tests 86 and 87 fail.
17156Solution: Add "empty" files. (ZyX)
17157Files: src/testdir/python_before/before_1.py,
17158 src/testdir/python_before/before_2.py
17159
17160Patch 7.3.1184
17161Problem: Highlighting is sometimes wrong. (Axel Bender)
17162Solution: Fetch regline again when returning from recursive regmatch.
17163Files: src/regexp_nfa.c
17164
17165Patch 7.3.1185
17166Problem: New regexp engine: no match with ^ after \n. (SungHyun Nam)
17167Solution: Fix it, add a test.
17168Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
17169
17170Patch 7.3.1186
17171Problem: Python 3: test 87 may crash.
17172Solution: Use _PyArg_Parse_SizeT instead of PyArg_Parse. (Jun Takimoto)
17173Files: src/if_python3.c
17174
17175Patch 7.3.1187 (after 7.3.1170)
17176Problem: "s:" is recognized but "<SID>" is not. (ZyX)
17177Solution: Translate "<SID>" like "s:".
17178Files: src/eval.c
17179
17180Patch 7.3.1188
17181Problem: Newline characters messing up error message.
17182Solution: Remove the newlines. (Kazunobu Kuriyama)
17183Files: src/gui_x11.c
17184
17185Patch 7.3.1189 (after 7.3.1185)
17186Problem: Highlighting is still wrong sometimes. (Dominique Pelle)
17187Solution: Also restore reginput properly.
17188Files: src/regexp_nfa.c
17189
17190Patch 7.3.1190
17191Problem: Compiler warning for parentheses. (Christian Wellenbrock)
17192Solution: Change #ifdef.
17193Files: src/ex_docmd.c
17194
17195Patch 7.3.1191
17196Problem: Backreference to previous line doesn't work. (Lech Lorens)
17197Solution: Implement looking in another line.
17198Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test64.in,
17199 src/testdir/test64.ok
17200
17201Patch 7.3.1192
17202Problem: Valgrind reports errors when using backreferences. (Dominique
17203 Pelle)
17204Solution: Do not check the end of submatches.
17205Files: src/regexp_nfa.c
17206
17207Patch 7.3.1193
17208Problem: fail_if_missing not used for Python 3.
17209Solution: Give an error when Python 3 can't be configured. (Andrei Olsen)
17210Files: src/configure.in, src/auto/configure
17211
17212Patch 7.3.1194
17213Problem: Yaml highlighting is slow.
17214Solution: Tune the estimation of pattern failure chance.
17215Files: src/regexp_nfa.c
17216
17217Patch 7.3.1195
Bram Moolenaardd007ed2013-07-09 15:44:17 +020017218Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
Bram Moolenaar913df812013-07-06 15:44:11 +020017219Solution: Set the length to the matching backref.
17220Files: src/regexp.c
17221
17222Patch 7.3.1196
17223Problem: Old regexp engine does not match pattern with backref correctly.
17224 (Dominique Pelle)
17225Solution: Fix setting status. Test multi-line patterns better.
17226Files: src/regexp.c, src/testdir/test64.in, src/testdir/test64.ok
17227
17228Patch 7.3.1197
17229Problem: ":wviminfo!" does not write history previously read from a viminfo
17230 file. (Roland Eggner)
17231Solution: When not merging history write all entries.
17232Files: src/ex_cmds.c, src/ex_getln.c, src/proto/ex_getln.pro
17233
17234Patch 7.3.1198
17235Problem: Build error when using Perl 5.18.0 and dynamic loading.
17236Solution: Change #ifdefs for Perl_croak_xs_usage. (Ike Devolder)
17237Files: src/if_perl.xs
17238
17239Patch 7.3.1199
17240Problem: When evaluating 'foldexpr' causes an error this is silently
17241 ignored and evaluation is retried every time.
17242Solution: Set emsg_silent instead of emsg_off. Stop evaluating 'foldexpr' is
17243 it is causing errors. (Christian Brabandt)
17244Files: src/fold.c
17245
17246Patch 7.3.1200
17247Problem: When calling setline() from Insert mode, using CTRL-R =, undo does
17248 not work properly. (Israel Chauca)
17249Solution: Sync undo after evaluating the expression. (Christian Brabandt)
17250Files: src/edit.c, src/testdir/test61.in, src/testdir/test61.ok
17251
17252Patch 7.3.1201
17253Problem: When a startup script creates a preview window, it probably
17254 becomes the current window.
17255Solution: Make another window the current one. (Christian Brabandt)
17256Files: src/main.c
17257
17258Patch 7.3.1202 (after 7.3.660)
17259Problem: Tags are not found in case-folded tags file. (Darren cole, Issue
17260 90)
17261Solution: Take into account that when case folding was used for the tags
17262 file "!rm" sorts before the "!_TAG" header lines.
17263Files: src/tag.c
17264
17265Patch 7.3.1203
17266Problem: Matches from matchadd() might be highlighted incorrectly when they
17267 are at a fixed position and inserting lines. (John Szakmeister)
17268Solution: Redraw all lines below a change if there are highlighted matches.
17269 (idea by Christian Brabandt)
17270Files: src/screen.c
17271
17272Patch 7.3.1204
17273Problem: Calling gettabwinvar() in 'tabline' cancels Visual mode. (Hirohito
17274 Higashi)
17275Solution: Don't always use goto_tabpage_tp().
17276Files: src/window.c, src/proto/window.pro, src/eval.c, src/if_py_both.h
17277
17278Patch 7.3.1205
17279Problem: logtalk.dict is not removed on uninstall.
17280Solution: Remove the file. (Kazunobu Kuriyama)
17281Files: src/Makefile
17282
17283Patch 7.3.1206
17284Problem: Inconsistent function argument declarations.
17285Solution: Use ANSI style.
17286Files: src/if_py_both.h
17287
17288Patch 7.3.1207
17289Problem: New regexp engine: no match found on "#if FOO". (Lech Lorens)
17290Solution: When adding a state gets skipped don't adjust the index.
17291Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
17292
17293Patch 7.3.1208
17294Problem: Compiler warnings on MS-Windows.
17295Solution: Add type cast. Move variable declaration. (Mike Williams)
17296Files: src/option.c, src/os_mswin.c
17297
17298Patch 7.3.1209
17299Problem: No completion for ":tabdo".
17300Solution: Add tabdo to the list of modifiers. (Dominique Pelle)
17301Files: src/ex_docmd.c
17302
17303Patch 7.3.1210 (after 7.3.1182)
17304Problem: 'backupcopy' default on MS-Windows is wrong when 'encoding' equals
17305 the current codepage.
17306Solution: Change the #else block. (Ken Takata)
17307Files: src/os_win32.c
17308
17309Patch 7.3.1211
17310Problem: MS-Windows: When 'encoding' differs from the current codepage
17311 ":hardcopy" does not work properly.
17312Solution: Use TextOutW() and SetDlgItemTextW(). (Ken Takata)
17313Files: src/os_mswin.c, src/vim.rc
17314
17315Patch 7.3.1212
17316Problem: "make test" on MS-Windows does not report failure like Unix does.
17317Solution: Make it work like on Unix. (Taro Muraoka)
17318Files: src/testdir/Make_dos.mak
17319
17320Patch 7.3.1213
17321Problem: Can't build with small features and Python.
17322Solution: Adjust #ifdefs.
17323Files: src/eval.c, src/buffer.c, src/eval.c, src/window.c
17324
17325Patch 7.3.1214
17326Problem: Missing declaration for init_users() and realloc_post_list().
17327 (Salman Halim)
17328Solution: Add the declarations.
17329Files: src/misc1.c, src/regexp_nfa.c
17330
17331Patch 7.3.1215
17332Problem: Compiler warning for function not defined.
17333Solution: Add #ifdef.
17334Files: src/misc1.c
17335
17336Patch 7.3.1216
17337Problem: Configure can't find Motif on Ubuntu.
17338Solution: Search for libXm in /usr/lib/*-linux-gnu.
17339Files: src/configure.in, src/auto/configure
17340
17341Patch 7.3.1217
17342Problem: New regexp engine: Can't handle \%[[ao]]. (Yukihiro Nakadaira)
17343Solution: Support nested atoms inside \%[].
17344Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
17345
17346Patch 7.3.1218
17347Problem: "make test" on MS-Windows does not clean all temporary files and
Bram Moolenaardd007ed2013-07-09 15:44:17 +020017348 gives some unnecessary message.
Bram Moolenaar913df812013-07-06 15:44:11 +020017349Solution: Clean the right files. Create .failed files. (Ken Takata)
17350Files: src/testdir/Make_dos.mak
17351
17352Patch 7.3.1219
17353Problem: No test for using []] inside \%[].
17354Solution: Add a test.
17355Files: src/testdir/test64.in, src/testdir/test64.ok
17356
17357Patch 7.3.1220
17358Problem: MS-Windows: When using wide font italic and bold are not included.
17359Solution: Support wide-bold, wide-italic and wide-bold-italic. (Ken Takata,
17360 Taro Muraoka)
17361Files: src/gui.c, src/gui.h, src/gui_w48.c
17362
17363Patch 7.3.1221
17364Problem: When build flags change "make distclean" run into a configure
17365 error.
17366Solution: When CFLAGS changes delete auto/config.cache. Also avoid adding
Bram Moolenaardd007ed2013-07-09 15:44:17 +020017367 duplicate text to flags. (Ken Takata)
Bram Moolenaar913df812013-07-06 15:44:11 +020017368Files: src/Makefile, src/configure.in, src/auto/configure
17369
17370Patch 7.3.1222
17371Problem: Cannot execute some tests from the src directly.
17372Solution: Add missing targets.
17373Files: src/Makefile
17374
17375Patch 7.3.1223
17376Problem: Tests fail on MS-Windows.
17377Solution: Avoid depending on OS version. Use DOS commands instead of Unix
17378 commands. (Taro Muraoka, Ken Takata)
17379Files: src/testdir/test17.in, src/testdir/test50.in,
17380 src/testdir/test71.in, src/testdir/test77.in
17381
17382Patch 7.3.1224
17383Problem: Clang gives warnings on xxd.
17384Solution: Change how to use part of a string. (Dominique Pelle) Also avoid
17385 warning for return not reached.
17386Files: src/xxd/xxd.c, src/regexp_nfa.c
17387
17388Patch 7.3.1225
17389Problem: Compiler warnings when building with Motif.
17390Solution: Change set_label() argument. (Kazunobu Kuriyama)
17391Files: src/gui_motif.c
17392
17393Patch 7.3.1226
17394Problem: Python: duplicate code.
17395Solution: Share code between OutputWrite() and OutputWritelines(). (ZyX)
17396Files: src/if_py_both.h, src/testdir/test86.ok, src/testdir/test87.ok
17397
17398Patch 7.3.1227
17399Problem: Inconsistent string conversion.
17400Solution: Use 'encoding' instead of utf-8. Use METH_O in place of
17401 METH_VARARGS where appropriate. (ZyX)
17402Files: src/if_py_both.h, src/testdir/test86.ok, src/testdir/test87.ok
17403
17404Patch 7.3.1228
17405Problem: Python: various inconsistencies and problems.
17406Solution: StringToLine now supports both bytes() and unicode() objects.
Bram Moolenaardd007ed2013-07-09 15:44:17 +020017407 Make function names consistent. Fix memory leak fixed in
Bram Moolenaar913df812013-07-06 15:44:11 +020017408 StringToLine. (ZyX)
17409Files: src/if_py_both.h, src/if_python3.c, src/if_python.c
17410
17411Patch 7.3.1229
17412Problem: Python: not so easy to delete/restore translating.
17413Solution: Make macros do translation of exception messages. (ZyX)
17414 Note: this breaks translations!
17415Files: src/if_py_both.h, src/if_python3.c
17416
17417Patch 7.3.1230
17418Problem: Python: Exception messages are not clear.
17419Solution: Make exception messages more verbose. (ZyX)
17420Files: src/if_py_both.h, src/if_python3.c, src/if_python.c,
17421 src/testdir/test86.ok, src/testdir/test87.ok
17422
17423Patch 7.3.1231
17424Problem: Python: use of numbers not consistent.
17425Solution: Add support for Number protocol. (ZyX)
17426Files: src/if_py_both.h, src/if_python3.c, src/if_python.c,
17427 src/testdir/test86.ok, src/testdir/test87.ok
17428
17429Patch 7.3.1232
17430Problem: Python: inconsistencies in variable names.
17431Solution: Rename variables. (ZyX)
17432Files: src/eval.c, src/if_py_both.h
17433
17434Patch 7.3.1233
17435Problem: Various Python problems.
17436Solution: Fix VimTryEnd. Crash with debug build and PYTHONDUMPREFS=1. Memory
17437 leaks in StringToLine(), BufferMark() and convert_dl. (ZyX)
17438Files: src/if_py_both.h, src/testdir/test86.in, src/testdir/test86.ok,
17439 src/testdir/test87.in, src/testdir/test87.ok
17440
17441Patch 7.3.1234 (after 7.3.1229)
17442Problem: Python: Strings are not marked for translation.
17443Solution: Add N_() where appropriate. (ZyX)
17444Files: src/if_py_both.h
17445
17446Patch 7.3.1235
17447Problem: In insert mode CTRL-] is not inserted, on the command-line it is.
17448Solution: Don't insert CTRL-] on the command line. (Yukihiro Nakadaira)
17449Files: src/ex_getln.c
17450
17451Patch 7.3.1236
17452Problem: Python: WindowSetattr() missing support for NUMBER_UNSIGNED.
17453Solution: Add NUMBER_UNSIGNED, add more tests. Various fixes. (ZyX)
17454Files: src/if_py_both.h, src/if_python3.c, src/if_python.c,
17455 src/testdir/pythonx/failing.py,
17456 src/testdir/pythonx/failing_import.py, src/testdir/test86.in,
17457 src/testdir/test86.ok, src/testdir/test87.in,
17458 src/testdir/test87.ok, src/testdir/pythonx/topmodule/__init__.py,
17459 src/testdir/pythonx/topmodule/submodule/__init__.py,
17460 src/testdir/pythonx/topmodule/submodule/subsubmodule/__init__.py,
17461 src/testdir/pythonx/topmodule/submodule/subsubmodule/subsubsubmodule.py
17462
17463Patch 7.3.1237
17464Problem: Python: non-import errors not handled correctly.
17465Solution: Let non-ImportError exceptions pass the finder. (ZyX)
17466Files: src/if_py_both.h, src/testdir/test86.ok, src/testdir/test87.ok
17467
17468Patch 7.3.1238
17469Problem: Crash in Python interface on 64 bit machines.
17470Solution: Change argument type of PyString_AsStringAndSize. (Taro Muraoka,
17471 Jun Takimoto)
17472Files: src/if_python.c
17473
17474Patch 7.3.1239
17475Problem: Can't build with Python and MSVC10.
17476Solution: Move #if outside of macro. (Taro Muraoka)
17477Files: src/if_py_both.h
17478
17479Patch 7.3.1240
17480Problem: Memory leak in findfile().
17481Solution: Free the memory. (Christian Brabandt)
17482Files: src/eval.c
17483
17484Patch 7.3.1241 (after 7.3.1236)
17485Problem: Some test files missing from the distribution.
17486Solution: Update the list of files.
17487Files: Filelist
17488
17489Patch 7.3.1242
17490Problem: No failure when trying to use a number as a string.
17491Solution: Give an error when StringToLine() is called with an instance of
17492 the wrong type. (Jun Takimoto)
17493Files: src/if_py_both.h
17494
17495Patch 7.3.1243
17496Problem: New regexp engine: back references in look-behind match don't
17497 work. (Lech Lorens)
17498Solution: Copy the submatches before a recursive match. Also fix function
17499 prototypes.
17500Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
17501
17502Patch 7.3.1244
17503Problem: MS-Windows: confirm() dialog text may not fit.
17504Solution: Use GetTextWidthEnc() instead of GetTextWidth(). (Yasuhiro
17505 Matsumoto)
17506Files: src/gui_w32.c
17507
17508Patch 7.3.1245
17509Problem: MS-Windows: confirm() dialog text may still not fit.
17510Solution: Use GetTextWidthEnc() instead of GetTextWidth() in two more
17511 places. (Yasuhiro Matsumoto)
17512Files: src/gui_w32.c
17513
17514Patch 7.3.1246
17515Problem: When setting 'winfixheight' and resizing the window causes the
17516 window layout to be wrong.
17517Solution: Add frame_check_height() and frame_check_width() (Yukihiro
17518 Nakadaira)
17519Files: src/window.c
17520
17521Patch 7.3.1247
17522Problem: New regexp engine: '[ ]\@!\p\%([ ]\@!\p\)*:' does not always match.
17523Solution: When there is a PIM add a duplicate state that starts at another
17524 position.
17525Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
17526
17527Patch 7.3.1248
17528Problem: Still have old hacking code for Input Method.
17529Solution: Add 'imactivatefunc' and 'imstatusfunc' as a generic solution to
17530 Input Method activation. (Yukihiro Nakadaira)
17531Files: runtime/doc/options.txt, src/fileio.c, src/mbyte.c, src/option.c,
17532 src/option.h, src/proto/fileio.pro
17533
17534Patch 7.3.1249
17535Problem: Modeline not recognized when using "Vim" instead of "vim".
17536Solution: Also accept "Vim".
17537Files: src/buffer.c
17538
17539Patch 7.3.1250
17540Problem: Python tests fail on MS-Windows.
17541Solution: Change backslashes to slashes. (Taro Muraoka)
17542Files: src/testdir/test86.in, src/testdir/test87.in
17543
17544Patch 7.3.1251
17545Problem: Test 61 messes up viminfo.
17546Solution: Specify a separate viminfo file.
17547Files: src/testdir/test61.in
17548
17549Patch 7.3.1252
17550Problem: Gvim does not find the toolbar bitmap files in ~/vimfiles/bitmaps
17551 if the corresponding menu command contains additional characters
17552 like the shortcut marker '&' or if you use a non-english locale.
17553Solution: Use menu->en_dname or menu->dname. (Martin Gieseking)
17554Files: src/gui_w32.c
17555
17556Patch 7.3.1253 (after 7.3.1200)
17557Problem: Still undo problem after using CTRL-R = setline(). (Hirohito
17558 Higashi)
17559Solution: Set the ins_need_undo flag.
17560Files: src/edit.c
17561
17562Patch 7.3.1254 (after 7.3.1252)
17563Problem: Can't build without the multi-lang feature. (John Marriott)
17564Solution: Add #ifdef.
17565Files: src/gui_w32.c
17566
17567Patch 7.3.1255
17568Problem: Clang warnings when building with Athena.
17569Solution: Add type casts. (Dominique Pelle)
17570Files: src/gui_at_fs.c
17571
17572Patch 7.3.1256
17573Problem: Can't build without eval or autocmd feature.
17574Solution: Add #ifdefs.
17575Files: src/mbyte.c, src/window.c
17576
17577Patch 7.3.1257
17578Problem: With GNU gettext() ":lang de_DE.utf8" does not always result in
17579 German messages.
17580Solution: Clear the $LANGUAGE environment variable.
17581Files: src/ex_cmds2.c
17582
17583Patch 7.3.1258
17584Problem: Using submatch() may crash Vim. (Ingo Karkat)
17585Solution: Restore the number of subexpressions used.
17586Files: src/regexp_nfa.c
17587
17588Patch 7.3.1259
17589Problem: No test for patch 7.3.1258
17590Solution: Add a test entry.
17591Files: src/testdir/test64.in, src/testdir/test64.ok
17592
17593Patch 7.3.1260
17594Problem: User completion does not get the whole command line in the command
17595 line window.
17596Solution: Pass on the whole command line. (Daniel Thau)
17597Files: src/ex_getln.c, src/structs.h
17598
17599Patch 7.3.1261 (after patch 7.3.1179)
17600Problem: A buffer-local language mapping from a keymap stops a global
17601 insert mode mapping from working. (Ron Aaron)
17602Solution: Do not wait for more characters to be typed only when the mapping
17603 was defined with <nowait>.
17604Files: runtime/doc/map.txt, src/eval.c, src/getchar.c,
17605 src/testdir/test75.in, src/testdir/test75.ok
17606
17607Patch 7.3.1262
17608Problem: Crash and compilation warnings with Cygwin.
17609Solution: Check return value of XmbTextListToTextProperty(). Add type casts.
17610 Adjust #ifdefs. (Lech Lorens)
17611Files: src/main.c, src/os_unix.c, src/ui.c
17612
17613Patch 7.3.1263
17614Problem: Typo in short option name.
17615Solution: Change "imse" to "imsf".
17616Files: src/option.c
17617
17618Patch 7.3.1264 (after 7.3.1261)
17619Problem: Missing m_nowait.
17620Solution: Include missing part of the patch.
17621Files: src/structs.h
17622
17623Patch 7.3.1265 (after 7.3.1249)
17624Problem: Accepting "Vim:" for a modeline causes errors too often.
17625Solution: Require "Vim:" to be followed by "set".
17626Files: src/buffer.c
17627
17628Patch 7.3.1266
17629Problem: QNX: GUI fails to start.
17630Solution: Remove the QNX-specific #ifdef. (Sean Boudreau)
17631Files: src/gui.c
17632
17633Patch 7.3.1267
17634Problem: MS-Windows ACL support doesn't work well.
17635Solution: Implement more ACL support. (Ken Takata)
17636Files: src/os_win32.c
17637
17638Patch 7.3.1268
Bram Moolenaardd007ed2013-07-09 15:44:17 +020017639Problem: ACL support doesn't work when compiled with MingW.
Bram Moolenaar913df812013-07-06 15:44:11 +020017640Solution: Support ACL on MingW. (Ken Takata)
17641Files: src/os_win32.c, src/os_win32.h
17642
17643Patch 7.3.1269
17644Problem: Insert completion keeps entry selected even though the list has
17645 changed. (Olivier Teuliere)
17646Solution: Reset compl_shown_match and compl_curr_match. (Christian Brabandt)
17647Files: src/edit.c
17648
17649Patch 7.3.1270
17650Problem: Using "Vp" in an empty buffer can't be undone. (Hauke Petersen)
17651Solution: Save one line in an empty buffer. (Christian Brabandt)
17652Files: src/ops.c
17653
17654Patch 7.3.1271 (after 7.3.1260)
17655Problem: Command line completion does not work.
17656Solution: Move setting xp_line down. (Daniel Thau)
17657Files: src/ex_getln.c
17658
17659Patch 7.3.1272
17660Problem: Crash when editing Ruby file. (Aliaksandr Rahalevich)
17661Solution: Reallocate the state list when necessary.
17662Files: src/regexp_nfa.c
17663
17664Patch 7.3.1273
17665Problem: When copying a location list the index might be wrong.
17666Solution: Set the index to one when using the first entry. (Lech Lorens)
17667Files: src/quickfix.c
17668
17669Patch 7.3.1274
17670Problem: When selecting an entry from a location list it may pick an
17671 arbitrary window or open a new one.
17672Solution: Prefer using a window related to the location list. (Lech Lorens)
17673Files: src/quickfix.c
17674
17675Patch 7.3.1275
17676Problem: "gn" does not work when the match is a single character.
17677Solution: Fix it, add a test. (Christian Brabandt)
17678Files: src/search.c, src/testdir/test53.in, src/testdir/test53.ok
17679
17680Patch 7.3.1276
17681Problem: When using a cscope connection resizing the window may send
17682 SIGWINCH to cscope and it quits.
17683Solution: Call setpgid(0, 0) in the child process. (Narendran Gopalakrishnan)
17684Files: src/if_cscope.c
17685
17686Patch 7.3.1277
17687Problem: In diff mode 'cursorline' also draws in the non-active window.
17688 When 'nu' and 'sbr' are set the 'sbr' string is not underlined.
17689Solution: Only draw the cursor line in the current window. Combine the
17690 'cursorline' and other highlighting attributes. (Christian
17691 Brabandt)
17692Files: src/screen.c
17693
17694Patch 7.3.1278
17695Problem: When someone sets the screen size to a huge value with "stty" Vim
17696 runs out of memory before reducing the size.
17697Solution: Limit Rows and Columns in more places.
17698Files: src/gui.c, src/gui_gtk_x11.c, src/option.c, src/os_unix.c,
17699 src/proto/term.pro, src/term.c
17700
17701Patch 7.3.1279
17702Problem: Compiler warning for variable uninitialized. (Tony Mechelynck)
17703Solution: Add an init.
17704Files: src/ex_getln.c
17705
17706Patch 7.3.1280
17707Problem: Reading memory already freed since patch 7.3.1247. (Simon
17708 Ruderich, Dominique Pelle)
17709Solution: Copy submatches before reallocating the state list.
17710Files: src/regexp_nfa.c
17711
17712Patch 7.3.1281
17713Problem: When 'ttymouse' is set to "xterm2" clicking in column 123 moves
17714 the cursor to column 96. (Kevin Goodsell)
17715Solution: Decode KE_CSI.
17716Files: src/term.c
17717
17718Patch 7.3.1282 (after 7.3.1277)
17719Problem: 'cursorline' not drawn in any other window. (Charles Campbell)
17720Solution: Do draw the cursor line in other windows.
17721Files: src/screen.c
17722
17723Patch 7.3.1283
17724Problem: Test 71 fails on MS-Windows.
17725Solution: Put the binary data in a separate file. (Ken Takata)
17726Files: src/testdir/test71.in, src/testdir/test71a.in
17727
17728Patch 7.3.1284
17729Problem: Compiler warnings in MS-Windows clipboard handling.
17730Solution: Add type casts. (Ken Takata)
17731Files: src/winclip.c
17732
17733Patch 7.3.1285
17734Problem: No tests for picking a window when selecting an entry in a
17735 location list. Not picking the right window sometimes.
17736Solution: Add test 96. Set usable_win appropriately. (Lech Lorens)
17737Files: src/quickfix.c, src/testdir/Makefile, src/testdir/test96.in,
17738 src/testdir/test96.ok, src/testdir/Make_amiga.mak,
17739 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
17740 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms
17741
17742Patch 7.3.1286
17743Problem: Check for screen size missing for Athena and Motif.
17744Solution: Add call to limit_screen_size().
17745Files: src/gui_x11.c
17746
17747Patch 7.3.1287
17748Problem: Python SystemExit exception is not handled properly.
17749Solution: Catch the exception and give an error. (Yasuhiro Matsumoto, Ken
17750 Takata)
17751Files: runtime/doc/if_pyth.txt, src/if_py_both.h, src/if_python.c,
17752 src/if_python3.c
17753
17754Patch 7.3.1288
17755Problem: The first ":echo 'hello'" command output doesn't show. Mapping
17756 for <S-F3> gets triggered during startup.
17757Solution: Add debugging code for the termresponse. When receiving the "Co"
17758 entry and when setting 'ambiwidth' redraw right away if possible.
17759 Add redraw_asap(). Don't set 'ambiwidth' if it already had the
17760 right value. Do the 'ambiwidth' check in the second row to avoid
17761 confusion with <S-F3>.
17762Files: src/term.c, src/screen.c, src/proto/screen.pro
17763
17764Patch 7.3.1289
17765Problem: Get GLIB warning when removing a menu item.
17766Solution: Reference menu-id and also call gtk_container_remove(). (Ivan
17767 Krasilnikov)
17768Files: src/gui_gtk.c
17769
17770Patch 7.3.1290 (after 7.3.1253)
17771Problem: CTRL-R = in Insert mode changes the start of the insert position.
17772 (Ingo Karkat)
17773Solution: Only break undo, don't start a new insert.
17774Files: src/edit.c
17775
17776Patch 7.3.1291 (after 7.3.1288)
17777Problem: Compiler warnings for uninitialized variables. (Tony Mechelynck)
17778Solution: Initialize the variables.
17779Files: src/screen.c
17780
17781Patch 7.3.1292
Bram Moolenaardd007ed2013-07-09 15:44:17 +020017782Problem: Possibly using invalid pointer when searching for window. (Raichoo)
Bram Moolenaar913df812013-07-06 15:44:11 +020017783Solution: Use "firstwin" instead of "tp_firstwin" for current tab.
17784Files: src/window.c
17785
17786Patch 7.3.1293
17787Problem: Put in empty buffer cannot be undone.
17788Solution: Save one more line for undo. (Ozaki)
17789Files: src/ops.c
17790
17791Patch 7.3.1294
17792Problem: ":diffoff" resets options.
17793Solution: Save and restore option values. (Christian Brabandt)
17794Files: src/diff.c, src/structs.h, src/option.c
17795
17796Patch 7.3.1295
17797Problem: glob() and globpath() do not handle escaped special characters
17798 properly.
17799Solution: Handle escaped characters differently. (Adnan Zafar)
17800Files: src/testdir/Makefile, src/testdir/test97.in,
17801 src/testdir/test97.ok, src/testdir/Make_amiga.mak,
17802 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
17803 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms, src/fileio.c,
17804 src/misc1.c
17805
17806Patch 7.3.1296
17807Problem: Only MS-Windows limits the GUI window size to what fits on the
17808 monitor.
17809Solution: Limit the size for all systems. (Daniel Harding)
17810Files: src/ui.c
17811
17812Patch 7.3.1297
17813Problem: findfile() directory matching does not work when a star follows
17814 text. (Markus Braun)
17815Solution: Make a wildcard work properly. (Christian Brabandt)
17816Files: src/misc2.c, src/testdir/test89.in, src/testdir/test89.ok
17817
17818Patch 7.3.1298 (after 7.3.1297)
17819Problem: Crash.
17820Solution: Use STRCPY() instead of STRCAT() and allocate one more byte.
17821Files: src/misc2.c
17822
17823Patch 7.3.1299
17824Problem: Errors when doing "make proto". Didn't do "make depend" for a
17825 while.
17826Solution: Add #ifdefs. Update dependencies. Update proto files.
17827Files: src/if_python3.c, src/os_win32.c, src/Makefile,
17828 src/proto/ex_docmd.pro, src/proto/if_python.pro,
17829 src/proto/if_python3.pro, src/proto/gui_w16.pro,
17830 src/proto/gui_w32.pro, src/proto/os_win32.pro
17831
17832Patch 7.3.1300
17833Problem: Mac: tiny and small build fails.
17834Solution: Don't include os_macosx.m in tiny build. Include mouse support in
17835 small build. (Kazunobu Kuriyama)
17836Files: src/configure.in, src/auto/configure, src/vim.h
17837
17838Patch 7.3.1301
17839Problem: Some tests fail on MS-Windows.
17840Solution: Fix path separators in test 89 and 96. Omit test 97, escaping
17841 works differently. Make findfile() work on MS-Windows.
17842Files: src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
17843 src/testdir/Make_os2.mak, src/testdir/test89.in,
17844 src/testdir/test96.in, src/misc2.c
17845
17846Patch 7.3.1302
17847Problem: Test 17 fails on MS-Windows. Includes line break in file name
17848 everywhere.
17849Solution: Fix 'fileformat'. Omit CR-LF from a line read from an included
17850 file.
17851Files: src/search.c, src/testdir/test17.in, src/testdir/test17.ok
17852
17853Patch 7.3.1303 (after 7.3.1290)
17854Problem: Undo is synced whenever CTRL-R = is called, breaking some plugins.
17855Solution: Only break undo when calling setline() or append().
17856Files: src/globals.h, src/eval.c, src/edit.c, src/testdir/test61.in,
17857 src/testdir/test61.ok
17858
17859Patch 7.3.1304
17860Problem: Test 89 still fails on MS-Windows.
17861Solution: Set 'shellslash'. (Taro Muraoka)
17862Files: src/testdir/test89.in
17863
17864Patch 7.3.1305
17865Problem: Warnings from 64 bit compiler.
17866Solution: Add type casts.
17867Files: src/misc2.c
17868
17869Patch 7.3.1306
17870Problem: When redrawing the screen during startup the intro message may be
17871 cleared.
17872Solution: Redisplay the intro message when appropriate.
17873Files: src/screen.c, src/version.c, src/proto/version.pro
17874
17875Patch 7.3.1307
17876Problem: MS-Windows build instructions are outdated.
17877Solution: Adjust for building on Windows 7. Drop Windows 95/98/ME support.
17878Files: Makefile, nsis/gvim.nsi
17879
17880Patch 7.3.1308
17881Problem: Typos in MS-Windows build settings and README.
17882Solution: Minor changes to MS-Windows files.
17883Files: src/msvc2008.bat, src/msvc2010.bat, src/VisVim/README_VisVim.txt
17884
17885Patch 7.3.1309
17886Problem: When a script defines a function the flag to wait for the user to
17887 hit enter is reset.
17888Solution: Restore the flag. (Yasuhiro Matsumoto) Except when the user was
17889 typing the function.
17890Files: src/eval.c
17891
17892Patch 7.3.1310
17893Problem: Typos in nsis script. Can use better compression.
17894Solution: Fix typos. Use lzma compression. (Ken Takata)
17895Files: nsis/gvim.nsi
17896
17897Patch 7.3.1311
17898Problem: Compiler warnings on Cygwin.
17899Solution: Add type casts. Add windows include files. (Ken Takata)
17900Files: src/mbyte.c, src/ui.c
17901
17902Patch 7.3.1312 (after 7.3.1287)
17903Problem: Not giving correct error messages for SystemExit().
17904Solution: Move E858 into an else. (Ken Takata)
17905Files: src/if_py_both.h
17906
17907Patch 7.3.1313
17908Problem: :py and :py3 don't work when compiled with Cygwin or MingW with 64
17909 bit.
17910Solution: Add -DMS_WIN64 to the build command. (Ken Takata)
17911Files: src/Make_cyg.mak, src/Make_ming.mak
17912
17913Patch 7.3.1314
17914Problem: Test 87 fails with Python 3.3.
17915Solution: Filter the error messages. (Taro Muraoka)
17916Files: src/testdir/test87.in
17917
17918
17919
17920Vim:set sts=4 sw=4 tw=78 fo+=t:
Bram Moolenaar49325942007-05-10 19:19:59 +000017921
Bram Moolenaar071d4272004-06-13 20:20:40 +000017922 vim:tw=78:ts=8:ft=help:norl: