blob: 37054001a499c602b312b34921fc91a9041457ad [file] [log] [blame]
Bram Moolenaare1dc76f2022-06-25 18:01:32 +01001*version9.txt* For Vim version 8.2. Last change: 2022 Jun 24
Bram Moolenaarc51cf032022-02-26 12:25:45 +00002
3
4 VIM REFERENCE MANUAL by Bram Moolenaar
5
6
7 *vim-9.0* *vim-9* *version-9.0* *version9.0*
8Welcome to Vim 9! Several years have passed since the previous release.
9A large number of bugs have been fixed, many nice features have been added
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010010and the Vim9 script syntax is here! This file mentions all the new things and
11changes to existing features since Vim 8.2.0. The patches up to Vim 8.2 can be
12found here: |vim-8.2|.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013
14Use this command to see the full version and features information of the Vim
15program you are using: >
16 :version
17
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010018NEW FEATURES |new-9|
19 Vim script enhancements |new-vim-script-9|
20 Command line completion in a popup menu |new-popup-compl|
21 Updated colorschemes |new-colorschemes-9|
22 Various new items |new-items-9|
Bram Moolenaarc51cf032022-02-26 12:25:45 +000023
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010024INCOMPATIBLE CHANGES |incompatible-9|
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010026IMPROVEMENTS |improvements-9|
Bram Moolenaarc51cf032022-02-26 12:25:45 +000027
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010028COMPILE TIME CHANGES |compile-changes-9|
Bram Moolenaarc51cf032022-02-26 12:25:45 +000029
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010030PATCHES |patches-9|
Bram Moolenaarc51cf032022-02-26 12:25:45 +000031
32
33See |vi_diff.txt| for an overview of differences between Vi and Vim 9.0.
34See |version4.txt|, |version5.txt|, |version6.txt|, |version7.txt| and
35|version8.txt| for differences between Vim versions.
36
37You can find an overview of the most important changes (according to Martin
38Tournoij) on this site: https://www.arp242.net/vimlog/
39
Bram Moolenaard799daa2022-06-20 11:17:32 +010040 *Sven-Guckes*
Bram Moolenaarc51cf032022-02-26 12:25:45 +000041Vim version 9.0 is dedicated to Sven Guckes, who passed away in February 2022
42when the release was being prepared. Sven was a long time supporter of Vim.
43He registered the vim.org domain and created the first Vim website. We will
44remember him!
45
46==============================================================================
47NEW FEATURES *new-9*
48
49First an overview of the more interesting new features. A comprehensive list
50is below.
51
52
53Vim9 script ~
54 *new-vim-script-9*
55The Vim script language has been changed step by step over many years,
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010056preserving backwards compatibility. Several choices made in the early days
57got in the way of making it work better. At the same time, Vim script is
58being used much more often, since there are so many plugins being used.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000059
60Vim9 script provides a syntax that is much more similar to other languages.
61In other words: "less weird". Compiled functions are introduced which allow
62for a large speed improvement. You can expect around ten times faster
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010063execution, or even more. The price to pay is that Vim9 script is not
64backwards compatible. But don't worry, you can still use your old scripts,
65the new script language is added, it does not replace the legacy script.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000066
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010067Information about Vim9 script can be found in the |Vim9| help file.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000068
69
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010070Command line completion in a popup menu ~
71 *new-popup-compl*
72Before there was the 'wildmenu' option, which uses the space of one line above
73the statusline to show matches. Only a few matches fit there.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000074
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010075Now a popup menu can be used by setting "wildoptions' to "pum". This allows
76for showing many more matches. This requires redrawing more of the display,
77but since computers are fast enough that is not a problem.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000078
79
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010080Updated colorschemes ~
81 *new-colorschemes-9*
82Colorschemes from https://github.com/vim/colorschemes have been included.
83They were made to work consistently across many types of terminals. Although
84generally an improvement, a lot of personal preference is involved. You can
85always get the old version if you prefer it, look here:
86https://github.com/vim/colorschemes/blob/master/legacy_colors/
87
88
89Various new items ~
90 *new-items-9*
Bram Moolenaar1588bc82022-03-08 21:35:07 +000091Options: ~
92
93'autoshelldir' change directory to the shell's current directory
94'cdhome' change directory to the home directory by ":cd"
Bram Moolenaard799daa2022-06-20 11:17:32 +010095'cinscopedecls' words that are recognized by 'cino-g'
Bram Moolenaar1588bc82022-03-08 21:35:07 +000096'guiligatures' GTK GUI: ASCII characters that can form shapes
Bram Moolenaard799daa2022-06-20 11:17:32 +010097'mousemoveevent' report mouse moves with <MouseMove>
Bram Moolenaar1588bc82022-03-08 21:35:07 +000098'quickfixtextfunc' function for the text in the quickfix window
99'spelloptions' options for spell checking
100'thesaurusfunc' function to be used for thesaurus completion
101'xtermcodes' request terminal codes from an xterm
102
103
104Ex commands: ~
105
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100106|:abstract| (reserved for future use)
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000107|:argdedupe| remove duplicates from the argument list
108|:balt| like ":badd" but also set the alternate file
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100109|:class| (reserved for future use)
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000110|:def| define a Vim9 user function
111|:defcompile| compile Vim9 user functions in current script
112|:disassemble| disassemble Vim9 user function
113|:echoconsole| like :echomsg but write to stdout
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100114|:endinterface| (reserved for future use)
115|:endclass| (reserved for future use)
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000116|:enddef| end of a user function started with :def
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100117|:endenum| (reserved for future use)
118|:enum| (reserved for future use)
119|:eval| evaluate an expression and discard the result
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000120|:export| Vim9: export an item from a script
121|:final| declare an immutable variable in Vim9
122|:import| Vim9: import an item from another script
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100123|:interface| (reserved for future use)
124|:static| (reserved for future use)
125|:type| (reserved for future use)
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000126|:var| variable declaration in Vim9
127|:vim9script| indicates Vim9 script file
128
129
130Ex command modifiers: ~
131
132|:legacy| make following command use legacy script syntax
133|:vim9cmd| make following command use Vim9 script syntax
134
135
136New and extended functions: ~
137
138|assert_nobeep()| assert that a command does not cause a beep
Bram Moolenaard799daa2022-06-20 11:17:32 +0100139|autocmd_add()| add a list of autocmds and groups
140|autocmd_delete()| delete a list of autocmds and groups
141|autocmd_get()| return a list of autocmds
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000142|blob2list()| get a list of numbers from a blob
143|charclass()| class of a character
144|charcol()| character number of the cursor or a mark
145|charidx()| character index of a byte in a string
146|digraph_get()| get digraph
147|digraph_getlist()| get all digraphs
148|digraph_set()| register digraph
149|digraph_setlist()| register multiple digraphs
150|echoraw()| output characters as-is
151|exists_compiled()| like exists() but check at compile time
152|extendnew()| make a new Dictionary and append items
153|flatten()| flatten a List
154|flattennew()| flatten a copy of a List
155|fullcommand()| get full command name
156|getcharpos()| get character position of cursor, mark, etc.
157|getcharstr()| get a character from the user as a string
Bram Moolenaard799daa2022-06-20 11:17:32 +0100158|getcmdcompltype()| return current cmdline completion type
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100159|getcmdscreenpos()| return the current cursor position in the cmdline
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000160|getcursorcharpos()| get character position of the cursor
161|getmarklist()| list of global/local marks
162|getreginfo()| get information about a register
163|gettext()| lookup message translation
164|hlget()| get highlight group attributes
165|hlset()| set highlight group attributes
Bram Moolenaard799daa2022-06-20 11:17:32 +0100166|isabsolutepath()| check if a path is absolute
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000167|list2blob()| get a blob from a list of numbers
Bram Moolenaard799daa2022-06-20 11:17:32 +0100168|maplist()| list of all mappings, a dict for each
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000169|mapnew()| make a new List with changed items
170|mapset()| restore a mapping
171|matchfuzzy()| fuzzy matches a string in a list of strings
172|matchfuzzypos()| fuzzy matches a string in a list of strings
173|menu_info()| get information about a menu item
174|popup_list()| get list of all popup window IDs
175|prompt_getprompt()| get the effective prompt text for a buffer
176|prop_add_list()| attach a property at multiple positions
177|prop_find()| search for a property
178|readblob()| read a file into a Blob
179|readdirex()| get a List of file information in a directory
180|reduce()| reduce a List to a value
181|searchcount()| get number of matches before/after the cursor
182|setcellwidths()| set character cell width overrides
183|setcharpos()| set character position of cursor, mark, etc.
184|setcursorcharpos()| set character position of the cursor
185|slice()| take a slice of a List
186|strcharlen()| length of a string in characters
187|terminalprops()| properties of the terminal
188|test_gui_event()| generate a GUI event for testing
189|test_null_function()| return a null Funcref
190|test_srand_seed()| set the seed value for srand()
191|test_unknown()| return a value with unknown type
192|test_void()| return a value with void type
193|typename()| type of a variable as text
Bram Moolenaard799daa2022-06-20 11:17:32 +0100194|virtcol2col()| byte index of a character on screen
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000195|win_gettype()| get type of window
196|win_move_separator()| move window vertical separator
197|win_move_statusline()| move window status line
198|windowsversion()| get MS-Windows version
199
200
201New Vim variables: ~
202
203|v:numbermax| maximum value of a number
204|v:numbermin| minimum value of a number (negative)
205|v:numbersize| number of bits in a Number
206|v:collate| current locale setting for collation order
207|v:exiting| vim exit code
208|v:colornames| dictionary that maps color names to hex color strings
209|v:sizeofint| number of bytes in an int
210|v:sizeoflong| number of bytes in a long
211|v:sizeofpointer| number of bytes in a pointer
212|v:maxcol| maximum line length
213
214
215New autocommand events: ~
216
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100217|CompleteDonePre| after Insert mode completion done, before clearing info
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000218|DirChangedPre| before the working directory will change
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100219|InsertLeavePre| just before leaving Insert mode
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000220|ModeChanged| after changing the mode
221|SigUSR1| after the SIGUSR1 signal has been detected
222|WinClosed| after closing a window
Bram Moolenaard799daa2022-06-20 11:17:32 +0100223|WinScrolled| after scrolling or resizing a window
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000224|VimSuspend| when suspending Vim
225|VimResume| when Vim is resumed after being suspended
Bram Moolenaarc51cf032022-02-26 12:25:45 +0000226
227
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100228New operators: ~
Bram Moolenaard799daa2022-06-20 11:17:32 +0100229
230|>>| bitwise right shift
231|<<| bitwise left shift
232|??| falsy operator
233
Bram Moolenaarc51cf032022-02-26 12:25:45 +0000234New runtime files: ~
235
236Too many to list here.
237
238==============================================================================
239INCOMPATIBLE CHANGES *incompatible-9*
240
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100241There is only one change that is incompatible with previous releases:
Bram Moolenaarc51cf032022-02-26 12:25:45 +0000242
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100243- Lua arrays are now one-based, they used to be zero-based.
244
245Note that when using |Vim9| script several things work differently, see
246|vim9-differences|.
Bram Moolenaarc51cf032022-02-26 12:25:45 +0000247
248==============================================================================
249IMPROVEMENTS *improvements-9*
250
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100251Various small and useful improvements have been made since Vim 8.2, here is a
252summary.
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000253
Bram Moolenaard799daa2022-06-20 11:17:32 +0100254Many memory leaks, invalid memory accesses and crashes have been fixed.
255See the list of patches below: |bug-fixes-9|.
256
257Support for Vim expression evaluation in a string. |interp-string|
258Support for evaluating Vim expressions in a heredoc. |:let-heredoc|
259
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100260Support for fuzzy matching:
261- a string in a List of strings. |fuzzy-matching|
262- completion support for command line completion using 'wildoptions'
263- for |:vimgrep|.
Bram Moolenaard799daa2022-06-20 11:17:32 +0100264
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100265Added support for the |Haiku| OS.
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100266
Bram Moolenaard799daa2022-06-20 11:17:32 +0100267Support for "lsp" channel mode to simplify LSP server RPC communication
Bram Moolenaara57b5532022-06-24 11:48:03 +0100268|language-server-protocol|. Support for using a Unix domain socket with a
269|channel|. IPv6 support in channels |channel-address|.
Bram Moolenaard799daa2022-06-20 11:17:32 +0100270
271Support for sourcing lines from the current buffer. |:source-range|
272
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100273Terminal window improvements:
274- Support for opening a terminal in a popup window. |popup-terminal|
275- Allow setting underline color in terminal.
276- Detect focus events in terminal (|FocusGained| and |FocusLost|).
277- Add bell support for the terminal window. ('belloff')
278- Support mouse left-right scrolling in a terminal window.
Bram Moolenaara57b5532022-06-24 11:48:03 +0100279
Bram Moolenaard799daa2022-06-20 11:17:32 +0100280Support for stopping profiling a Vim script: `:profile stop` and dumping the
281report to a file: `:profile dump` . |:profile|
282
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100283Completion improvements:
284- Argument completion support for the |:breakadd|, |:breakdel|, |:diffget|,
285 |:diffput|, |:profile|, |:profdel| and |:scriptnames| commands.
286- Support using any Vim type for user_data with the completion functions
287 (|complete-items|).
288- Stop insert mode completion without changing text (|i_CTRL-X_CTRL-Z|).
289- Add the "cmdline" option to |getcompletion()| to return the command line
290 arguments.
Bram Moolenaard799daa2022-06-20 11:17:32 +0100291
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100292Support for setting the 'foldtext', 'completefunc', 'omnifunc',
293'operatorfunc', 'thesaurusfunc', 'quickfixtextfunc', 'tagfunc',
294'imactivatefunc' and 'imstatusfunc' options to a function reference or a
295lambda function or a script-local function.
Bram Moolenaard799daa2022-06-20 11:17:32 +0100296
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100297Support directly setting the 'balloonexpr', 'charconvert' 'foldexpr',
298'formatexpr', 'includeexpr', 'printexpr', 'patchexpr', 'indentexpr',
299'modelineexpr', 'diffexpr' and 'printexpr' options to a script-local function.
Bram Moolenaard799daa2022-06-20 11:17:32 +0100300
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100301Improvements in 'fillchars':
302- Support for configuring the character used to mark the beginning of a fold,
303 show a closed fold and show a fold separator using "foldopen", "foldclose"
304 and "foldsep" respectively in 'fillchars'.
305- Support for configuring the character displayed in non existing lines using
306 "eob" in 'fillchars'.
307- Support for using multibyte items with the "stl", "stlnc", "foldopen",
308 "foldclose" and "foldsep" items in the 'fillchars' option.
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100309
310Support for the XChaCha20 encryption method. 'cryptmethod'
Bram Moolenaard799daa2022-06-20 11:17:32 +0100311
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100312Spell checking:
313- Spell check current word with |z=| even when 'spell' is off.
314- Add "timeout" to 'spellsuggest' to limit the searching time for spell
315 suggestions.
316- Add support for spell checking CamelCased words by adding "camel" to
317 'spelloptions'.
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100318
Bram Moolenaard799daa2022-06-20 11:17:32 +0100319Support for executing Ex commands in a map without changing the current mode
320|<Cmd>| and |<ScriptCmd>|.
321
Bram Moolenaard799daa2022-06-20 11:17:32 +0100322Add optional error code to |:cquit|.
323
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100324Recognize numbers as unsigned when "unsigned" is set in 'nrformats'.
Bram Moolenaard799daa2022-06-20 11:17:32 +0100325
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100326Expand script ID using expand('<SID>') and script name using
327expand('<script>'). |expand()|
Bram Moolenaard799daa2022-06-20 11:17:32 +0100328
Bram Moolenaara57b5532022-06-24 11:48:03 +0100329Jump to the last accessed tab page using |g<Tab>| and support using the
330last accessed tab page in |:tabnext| et al.
Bram Moolenaard799daa2022-06-20 11:17:32 +0100331
332Locale aware sorting using |:sort| and |sort()|.
333
334Hide cursor when sleeping using |:sleep!|.
335
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100336Add "multispace" to 'listchars' to show two or more spaces no matter where
337they appear. Add "leadmultispace" to 'listchars' to show two or more leading
338spaces. Add "lead" to 'listchars' to set the character used to show leading
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100339spaces. Support specifying a character using the hexdecimal notation in
340'listchars' (\x, \u and \U).
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100341
342Make 'listchars', 'virtualedit' and 'thesaurusfunc' global-local options.
Bram Moolenaard799daa2022-06-20 11:17:32 +0100343
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100344Support for looping over a string using `:for`.
Bram Moolenaard799daa2022-06-20 11:17:32 +0100345
346Don't reset 'wrap' for diff windows when "followwrap" is set in 'diffopt'.
347
348Support for re-evaluating the 'statusline' expression as a statusline format
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100349string (%{% expr %})
Bram Moolenaard799daa2022-06-20 11:17:32 +0100350
351Add |zp| and |zP| to paste in block mode without adding trailing white space.
352Add |zy| to yank without trailing white space in block mode.
353
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100354Add the 'P' command in visual mode to paste text in Visual mode without
355yanking the deleted text to the unnamed register. |put-Visual-mode|
356
Bram Moolenaard799daa2022-06-20 11:17:32 +0100357Add \%.l, \%<.l and \%>.l atoms to match the line the cursor is currently on.
358See |/\%l| for more information.
359
360Add "list" to 'breakindentopt' to add additional indent for lines that match
361a numbered or bulleted list. Add "column" to 'breakindentopt' to indent
362soft-wrapped lines at a specific column.
363
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100364Add the |hl-CursorLineSign| and |hl-CursorLineFold| default highlight groups to
Bram Moolenaard799daa2022-06-20 11:17:32 +0100365adjust sign highlighting for 'cursorline'.
366
367Add the |hl-CurSearch| default highlight group for the current search match.
368
Bram Moolenaard799daa2022-06-20 11:17:32 +0100369Add support for logging on Vim startup (|--log|).
370
Bram Moolenaara57b5532022-06-24 11:48:03 +0100371Add support for customizing the quickfix buffer contents using
372'quickfixtextfunc'. Support for the "note" error type (%t) in |errorformat|.
373Add support for parsing the end line number (%e) and end column number (%k)
374using 'errorformat'.
375
376Support truncating the tag stack using |settagstack()|.
377
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100378Display every option in a separate line when "!" is used with |:set|.
379
380Add "nostop" to 'backspace' to allow backspacing over the start of insert for
381|CTRL-W| and |CTRL-U| also.
382
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100383Sync the undo file if 'fsync' is set.
384
385Support excluding the 'runtimepath' and 'packpath' options from a session file
386using "skiprtp" in 'sessionoptions'.
387
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100388Support for getting the number of lines (line count) in a buffer using
Bram Moolenaara57b5532022-06-24 11:48:03 +0100389|getbufinfo()|.
390
391Support |filter()| and |map()| for blob and string types.
392
393Support for using a multi-byte character for the tag kind. |tags-file-format|
394
395Add support for checking whether a function name is valid using |exists()|.
396
397Update xdiff to version 2.33. Update libvterm to revision 789.
398
Bram Moolenaara57b5532022-06-24 11:48:03 +0100399Support 'trim' for Python/Lua/Perl/Tcl/Ruby/MzScheme interface heredoc.
400
401Add the |t_AU| and |t_8u| termap codes for underline and undercurl. Add the
402t_fd and t_fe termcap codes for detecting focus events.
403
404Support for indenting C pragmas like normal code. (|cino-P|)
405
406Add support for defining the syntax fold level (|:syn-foldlevel|)
407
408Add support for using \<*xxx> in a string to prepend a modifier to a
409character. (|expr-quote|).
410
411Add support trimming characters at the beginning or end of a string using
412|trim()|.
413
414Make ":verbose pwd" show the scope of the directory. |:pwd-verbose|
415
416Add the "0o" notation for specifying octal numbers |scriptversion-4|
417
418Support for changing to the previous tab-local and window-local directories
419using the "tcd -" and "lcd -" commands. (|:tcd-| and |:lcd-|)
420
421Add support for skipping an expression using |search()|.
422
Bram Moolenaara57b5532022-06-24 11:48:03 +0100423Add support for sorting the directory contents returned by the |readdir()|
424and |readdirex()| functions by case.
425
426Add support for executing (|:@|) a register containing line continuation.
427
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100428Lua support:
429- Call Vim functions from Lua (vim.call() and vim.fn()).
430- Convert a Lua function and a closure to a Vim funcref so that it can be
431 accessed in a Vimscript (|lua-funcref|).
432- Not backwards compatible: Make Lua arrays one based.
433- Add support for using table.insert() and table.remove() functions with Vim
434 lists.
435- Support for running multiple Ex-mode commands using vim.command().
436- Add vim.lua_version to get the Lua version.
437- Add support for accessing Vim namespace dictionaries from Lua
438 (|lua-vim-variables|).
Bram Moolenaara57b5532022-06-24 11:48:03 +0100439
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100440Support for new UTF-8 characters from Unicode release 13.
Bram Moolenaara57b5532022-06-24 11:48:03 +0100441
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100442Support for using a command block (|:command-repl|) when defining a |:command|
443or an |:autocmd|.
444
445Support for using |:z!| to use the Vim display height instead of the current
446window height.
447
448Support for deleting a buffer-local command using ":delcommand -buffer {cmd}".
449
450When formatting a // comment after a statement, find the start of the line
451comment, insert the comment leader and indent the comment properly (|fo-/|).
452
453Add the "numhl" argument to `:sign define` to use a separate highlight group
454for the line number on a line where a sign is placed. |:sign-define|
455
456When $SHELL ends in "nologin" or "false", start Vim in restricted mode.
Bram Moolenaara57b5532022-06-24 11:48:03 +0100457
458TermDebug enhancements:
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100459- Support for showing the disassembled code in a separate window.
460- Support for the GDB until command.
461- Use a separate group for the signs.
462
463xxd: Support for showing offset as a decimal number (-d).
Bram Moolenaara57b5532022-06-24 11:48:03 +0100464
465A large number of tests have been added to verify the Vim functionality. Most
466of the old style tests have been converted to new style tests using the new
467style assert_* functions.
468
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100469Many Coverity static analysis warnings have been fixed.
Bram Moolenaarc51cf032022-02-26 12:25:45 +0000470
471==============================================================================
472COMPILE TIME CHANGES *compile-changes-9*
473
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100474The following features are now enabled in all the builds:
475 |+cindent|
476 |+jumplist|
477 |+lispindent|
478 |+num64|
479 |+smartindent|
480 |+tag_binary|
481 |+title|
482
483The following features have been removed. They are either obsolete or didn't
484work properly:
Bram Moolenaara57b5532022-06-24 11:48:03 +0100485 - Athena and neXTaw GUI support (use Motif instead)
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100486 - EBCDIC support
Bram Moolenaara57b5532022-06-24 11:48:03 +0100487 - Atari MiNT and BeOS
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100488 - Mac Carbon GUI (use MacVim instead)
489
490The rgb.txt file is no longer included, use colors/lists/default.vim instead.
491
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100492Several large source files were split, mainly to make it easier to inspect
493code coverage information. Source files have also been refactored for
494maintainability.
Bram Moolenaarc51cf032022-02-26 12:25:45 +0000495
Bram Moolenaara57b5532022-06-24 11:48:03 +0100496Support for building Vim with Mingw64 clang compiler on MS-Windows.
497
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100498Support for building Vim with Python 3.10, Lua 5.4.4, Perl 5.34 and
499Ruby 3.1.0.
500
Bram Moolenaarc51cf032022-02-26 12:25:45 +0000501==============================================================================
502PATCHES *patches-9* *bug-fixes-9*
503 *patches-after-8.2*
504
505The list of patches that got included since 8.2.0. This includes all the new
506features, but does not include runtime file changes (syntax, indent, help,
507etc.)
508
509Patch 8.2.0001
510Problem: #endif comments do not reflect corresponding #ifdef.
511Solution: Update the comments. (Rene Nyffenegger, closes #5351)
512Files: src/ui.c
513
514Patch 8.2.0002
515Problem: "dj" only deletes first line of closed fold.
516Solution: Adjust last line of operator for linewise motion. (closes #5354)
517Files: src/ops.c, src/testdir/test_fold.vim
518
519Patch 8.2.0003
520Problem: Build file dependencies are incomplete.
521Solution: Fix the dependencies. (Ken Takata, closes #5356)
522Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Make_vms.mms,
523 src/Makefile
524
525Patch 8.2.0004
526Problem: Get E685 and E931 if buffer reload is interrupted.
527Solution: Do not abort deleting a dummy buffer. (closes #5361)
528Files: src/buffer.c, src/proto/buffer.pro, src/testdir/test_trycatch.vim,
529 src/ex_cmds.c, src/ex_getln.c, src/misc2.c, src/quickfix.c,
530 src/window.c, src/vim.h
531
532Patch 8.2.0005
533Problem: Duplication in version info.
534Solution: Use preprocessor string concatenation. (Ken Takata, closes #5357)
535Files: src/version.h
536
537Patch 8.2.0006
538Problem: Test using long file name may fail. (Vladimir Lomov)
539Solution: Limit the name length. (Christian Brabandt, closes #5358)
540Files: src/testdir/test_display.vim
541
542Patch 8.2.0007
543Problem: Popup menu positioned wrong with folding in two tabs.
544Solution: Update the cursor line height. (closes #5353)
545Files: src/move.c, src/proto/move.pro, src/popupmenu.c,
546 src/testdir/test_ins_complete.vim,
547 src/testdir/dumps/Test_pum_with_folds_two_tabs.dump
548
549Patch 8.2.0008
550Problem: Test72 is old style.
551Solution: Convert to new style test. (Yegappan Lakshmanan, closes #5362)
552Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
553 src/testdir/test72.in, src/testdir/test72.ok,
554 src/testdir/test_undo.vim
555
556Patch 8.2.0009
557Problem: VMS: terminal version doesn't build.
558Solution: Move MIN definition. Adjust #ifdefs. (Zoltan Arpadffy)
559Files: src/bufwrite.c, src/fileio.c, src/ui.c, src/xxd/Make_vms.mms
560
561Patch 8.2.0010
562Problem: Test64 is old style.
563Solution: Convert to new style test. (Yegappan Lakshmanan, closes #5363)
564Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
565 src/testdir/test64.in, src/testdir/test64.ok,
566 src/testdir/test95.in, src/testdir/test_regexp_latin.vim
567
568Patch 8.2.0011
569Problem: Screen updating wrong when opening preview window.
570Solution: Redraw the window when the preview window opens.
571Files: src/popupmenu.c, src/testdir/test_ins_complete.vim,
572 src/testdir/dumps/Test_pum_with_preview_win.dump
573
574Patch 8.2.0012
575Problem: Some undo functionality is not tested.
576Solution: Add a few more test cases. (Dominique Pellé, closes #5364)
577Files: src/testdir/test_undo.vim
578
579Patch 8.2.0013
580Problem: Not using a typedef for condstack.
581Solution: Add a typedef.
582Files: src/structs.h, src/ex_docmd.c, src/ex_eval.c, src/userfunc.c,
583 src/ex_cmds.h, src/proto/ex_eval.pro
584
585Patch 8.2.0014
586Problem: Test69 and test95 are old style.
587Solution: Convert to new style tests. (Yegappan Lakshmanan, closes #5365)
588Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
589 src/testdir/test69.in, src/testdir/test69.ok,
590 src/testdir/test95.in, src/testdir/test95.ok,
591 src/testdir/test_regexp_utf8.vim, src/testdir/test_textformat.vim
592
593Patch 8.2.0015
594Problem: Not all modeline variants are tested.
595Solution: Add modeline tests. (Dominique Pellé, closes #5369)
596Files: src/testdir/test_modeline.vim
597
598Patch 8.2.0016
599Problem: Test name used twice, option not restored properly.
600Solution: Rename function, restore option with "&".
601Files: src/testdir/test_textformat.vim
602
603Patch 8.2.0017
604Problem: OS/2 and MS-DOS are still mentioned, even though support was
605 removed long ago.
606Solution: Update documentation. (Yegappan Lakshmanan, closes #5368)
607Files: runtime/doc/autocmd.txt, runtime/doc/change.txt,
608 runtime/doc/cmdline.txt, runtime/doc/editing.txt,
609 runtime/doc/eval.txt, runtime/doc/gui.txt, runtime/doc/insert.txt,
610 runtime/doc/options.txt, runtime/doc/print.txt,
611 runtime/doc/quickfix.txt, runtime/doc/repeat.txt,
612 runtime/doc/starting.txt, runtime/doc/usr_01.txt,
613 runtime/doc/usr_05.txt, runtime/doc/usr_41.txt,
614 runtime/doc/vi_diff.txt, runtime/gvimrc_example.vim,
615 runtime/tools/README.txt, runtime/vimrc_example.vim, src/feature.h
616
617Patch 8.2.0018
618Problem: :join does not add white space where it should. (Zdenek Dohnal)
619Solution: Handle joining multiple lines properly.
620Files: src/ops.c, src/testdir/test_join.vim
621
622Patch 8.2.0019
623Problem: Cannot get number of lines of another buffer.
624Solution: Add "linecount" to getbufinfo(). (Yasuhiro Matsumoto,
625 closes #5370)
626Files: src/evalbuffer.c, src/testdir/test_bufwintabinfo.vim,
627 runtime/doc/eval.txt
628
629Patch 8.2.0020
630Problem: Mouse clicks in the command line not tested.
631Solution: Add tests. (Dominique Pellé, closes #5366)
632Files: src/testdir/test_termcodes.vim
633
634Patch 8.2.0021
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000635Problem: Timer test fails too often on Travis with macOS.
Bram Moolenaarc51cf032022-02-26 12:25:45 +0000636Solution: Be less strict with the time.
637Files: src/testdir/test_timers.vim
638
639Patch 8.2.0022
640Problem: Click in popup window doesn't close it in the GUI. (Sergey Vlasov)
641Solution: When processing the selection also send a button release event.
642 (closes #5367)
643Files: src/gui.c
644
645Patch 8.2.0023
646Problem: Command line editing not sufficiently tested.
647Solution: Add more tests. (Dominique Pellé, closes #5374)
648Files: src/testdir/Make_all.mak, src/testdir/test_alot.vim,
649 src/testdir/test_cmdline.vim, src/testdir/test_ex_mode.vim
650
651Patch 8.2.0024
652Problem: Filetype Rego not recognized.
653Solution: Add *.rego. (Matt Dunford, closes #5376)
654Files: runtime/filetype.vim, src/testdir/test_filetype.vim
655
656Patch 8.2.0025
657Problem: Repeated word in comment.
658Solution: Remove one. (Rene Nyffenegger, closes #5384)
659Files: src/structs.h
660
661Patch 8.2.0026
662Problem: Still some /* */ comments.
663Solution: Convert to // comments.
664Files: src/message.c, src/message_test.c, src/misc1.c, src/misc2.c,
665 src/move.c
666
667Patch 8.2.0027
668Problem: Still some /* */ comments.
669Solution: Convert to // comments.
670Files: src/iid_ole.c, src/indent.c, src/insexpand.c, src/iscygpty.c,
671 src/version.c
672
673Patch 8.2.0028
674Problem: Searchpairpos() is not tested.
675Solution: Add tests. Also improve searchpair() testing. (Dominique Pellé,
676 closes #5388)
677Files: src/testdir/test_search.vim
678
679Patch 8.2.0029
680Problem: MS-Windows: crash with empty job command.
681Solution: Check for NULL result. (Yasuhiro Matsumoto, closes #5390)
682Files: src/channel.c, src/testdir/test_channel.vim
683
684Patch 8.2.0030
685Problem: "gF" does not work on output of "verbose command".
686Solution: Recognize " line " and translations. (closes #5391)
687Files: src/globals.h, src/eval.c, src/findfile.c, src/testdir/test_gf.vim
688
689Patch 8.2.0031 (after 8.2.0029)
690Problem: MS-Windows: test for empty job fails
691Solution: Check for error message, make it also fail on Unix.
692Files: src/channel.c, src/testdir/test_channel.vim
693
694Patch 8.2.0032 (after 8.2.0031)
695Problem: MS-Windows: test for blank job fails
696Solution: Check before escaping.
697Files: src/channel.c, src/testdir/test_channel.vim
698
699Patch 8.2.0033
700Problem: Crash when make_extmatch() runs out of memory.
701Solution: Check for NULL. (Dominique Pellé, closes #5392)
702Files: src/regexp_bt.c, src/regexp_nfa.c
703
704Patch 8.2.0034
705Problem: Missing check for out of memory.
706Solution: Check for NULL after vim_strsave(). (Dominique Pellé,
707 closes #5393)
708Files: src/filepath.c
709
710Patch 8.2.0035
711Problem: Saving and restoring called_emsg is clumsy.
712Solution: Count the number of error messages.
713Files: src/message.c, src/buffer.c, src/channel.c, src/drawscreen.c,
714 src/ex_cmds2.c, src/gui.c, src/highlight.c, src/main.c,
715 src/regexp.c, src/search.c, src/testing.c, src/globals.h
716
717Patch 8.2.0036
718Problem: Not enough test coverage for match functions.
719Solution: Add a few more test cases. (Dominique Pellé, closes #5394)
720 Add error number.
721Files: src/testdir/test_match.vim
722
723Patch 8.2.0037
724Problem: Missing renamed message.
725Solution: Now really add the error number.
726Files: src/highlight.c
727
728Patch 8.2.0038
729Problem: Spell suggestions insufficiently tested.
730Solution: Add spell suggestion tests. (Dominique Pellé, closes #5398)
731Files: src/testdir/test_spell.vim
732
733Patch 8.2.0039
734Problem: Memory access error when "z=" has no suggestions.
735Solution: Check for negative index.
736Files: src/testdir/test_spell.vim, src/spellsuggest.c
737
738Patch 8.2.0040
739Problem: Timers test is still flaky on Travis for Mac.
740Solution: Run separately instead of as part of test_alot.
741Files: src/testdir/Make_all.mak, src/testdir/test_alot.vim
742
743Patch 8.2.0041
744Problem: Leaking memory when selecting spell suggestion.
745Solution: Free previous value at the right time.
746Files: src/spellsuggest.c
747
748Patch 8.2.0042
749Problem: Clearing funccal values twice.
750Solution: Remove clearing individual fields.
751Files: src/userfunc.c
752
753Patch 8.2.0043
754Problem: Timers test is still flaky on Travis for Mac.
755Solution: Increase maximum expected time.
756Files: src/testdir/test_timers.vim
757
758Patch 8.2.0044
759Problem: Expression type is used inconsistently.
760Solution: Add "ETYPE_IS" and "ETYPE_ISNOT" as separate enum values. Rename
761 "TYPE_" to "ETYPE_" to avoid confusion.
762Files: src/structs.h, src/eval.c, src/proto/eval.pro, src/debugger.c
763
764Patch 8.2.0045 (after 8.2.0044)
765Problem: Script test fails.
766Solution: For numbers "is" and "isnot" work like "==" and "!=".
767Files: src/eval.c
768
769Patch 8.2.0046
770Problem: Tests for spell suggestions are slow.
771Solution: Use shorter words. Test with latin1 and utf-8 to cover more code.
772 (Dominique Pellé, closes #5399)
773Files: src/testdir/test_spell.vim
774
775Patch 8.2.0047
776Problem: Cannot skip tests for specific MS-Windows platform.
777Solution: Add windowsversion().
778Files: src/os_win32.c, src/globals.h, src/evalfunc.c,
779 runtime/doc/eval.txt, src/testdir/gen_opt_test.vim,
780 src/testdir/test_options.vim
781
782Patch 8.2.0048
783Problem: Another timers test is flaky on Travis for Mac.
784Solution: Increase maximum expected time.
785Files: src/testdir/test_timers.vim
786
787Patch 8.2.0049
788Problem: Command line completion not fully tested.
789Solution: Add more test cases. Make help sorting stable. (Dominique Pellé,
790 closes #5402)
791Files: src/ex_cmds.c, src/testdir/test_cd.vim,
792 src/testdir/test_cmdline.vim, src/testdir/test_help.vim,
793 src/testdir/test_menu.vim, src/testdir/test_options.vim,
794 src/testdir/test_syntax.vim
795
796Patch 8.2.0050
797Problem: After deleting a file mark it is still in viminfo.
798Solution: When a file mark was deleted more recently than the mark in the
799 merged viminfo file was updated, do not store the mark. (Pavol
800 Juhas, closes #5401, closes #1339)
801Files: src/mark.c, src/testdir/test_marks.vim,
802 src/testdir/test_viminfo.vim, src/viminfo.c
803
804Patch 8.2.0051 (after 8.2.0049)
805Problem: Command line completion test skipped. (Christian Brabandt)
806Solution: Invert condition.
807Files: src/testdir/test_cmdline.vim
808
809Patch 8.2.0052
810Problem: More-prompt not properly tested.
811Solution: Add a test case. (Dominique Pellé, closes #5404)
812Files: src/testdir/test_messages.vim
813
814Patch 8.2.0053
815Problem: windowsversion() does not always return the right value.
816Solution: Add a compatibility section in the manifest. (Ken Takata,
817 closes #5407)
818Files: src/gvim.exe.mnf
819
820Patch 8.2.0054
821Problem: :diffget and :diffput don't have good completion.
822Solution: Add proper completion. (Dominique Pellé, closes #5409)
823Files: runtime/doc/eval.txt, src/buffer.c, src/cmdexpand.c,
824 src/testdir/test_diffmode.vim, src/usercmd.c, src/vim.h
825
826Patch 8.2.0055
827Problem: Cannot use ":gui" in vimrc with VIMDLL enabled.
828Solution: Change the logic, check "gui.starting". (Ken Takata, closes #5408)
829Files: src/gui.c
830
831Patch 8.2.0056
832Problem: Execution stack is incomplete and inefficient.
833Solution: Introduce a proper execution stack and use it instead of
834 sourcing_name/sourcing_lnum. Create a string only when used.
835Files: src/structs.h, src/globals.h, src/autocmd.c, src/buffer.c
836 src/debugger.c, src/ex_docmd.c, src/ex_eval.c, src/highlight.c,
837 src/main.c, src/map.c, src/message.c, src/proto/scriptfile.pro,
838 src/scriptfile.c, src/option.c, src/profiler.c, src/spellfile.c,
839 src/term.c, src/testing.c, src/usercmd.c, src/userfunc.c,
840 src/kword_test.c, src/testdir/test_debugger.vim
841
842Patch 8.2.0057 (after 8.2.0056)
843Problem: Cannot build with small features.
844Solution: Add #ifdefs.
845Files: src/scriptfile.c
846
847Patch 8.2.0058
848Problem: Running tests changes ~/.viminfo.
849Solution: Make 'viminfo' empty when summarizing tests results. (closes #5414)
850Files: src/testdir/summarize.vim
851
852Patch 8.2.0059
853Problem: Compiler warnings for unused variables in small build. (Tony
854 Mechelynck)
855Solution: Add #ifdef.
856Files: src/scriptfile.c
857
858Patch 8.2.0060
859Problem: Message test only runs with one encoding. (Dominique Pellé)
860Solution: Run the test with "utf-8" and "latin1". Fix underflow. (related
861 to #5410)
862Files: src/message_test.c, src/message.c
863
864Patch 8.2.0061
865Problem: The execute stack can grow big and never shrinks.
866Solution: Reduce the size in garbage collect.
867Files: src/eval.c
868
869Patch 8.2.0062
870Problem: Memory test is flaky on FreeBSD.
871Solution: Add a short sleep before getting the first size.
872Files: src/testdir/test_memory_usage.vim
873
874Patch 8.2.0063
875Problem: Wrong size argument to vim_snprintf(). (Dominique Pellé)
876Solution: Reduce the size by the length. (related to #5410)
877Files: src/ops.c
878
879Patch 8.2.0064
880Problem: Diffmode completion doesn't use per-window setting.
881Solution: Check if a window is in diff mode. (Dominique Pellé, closes #5419)
882Files: src/buffer.c, src/testdir/test_diffmode.vim
883
884Patch 8.2.0065
885Problem: Amiga and alikes: autoopen only used on Amiga OS4.
886Solution: Adjust #ifdefs. (Ola Söder, closes #5413)
887Files: src/os_amiga.c
888
889Patch 8.2.0066
890Problem: Some corners of vim_snprintf() are not tested.
891Solution: Add a test in C. (Dominique Pellé, closes #5422)
892Files: src/message_test.c
893
894Patch 8.2.0067
895Problem: ERROR_UNKNOWN clashes on some systems.
896Solution: Rename ERROR_ to FCERR_. (Ola Söder, closes #5415)
897Files: src/evalfunc.c, src/userfunc.c, src/vim.h
898
899Patch 8.2.0068
900Problem: Crash when using Python 3 with "utf32" encoding. (Dominique Pellé)
901Solution: Use "utf-8" whenever enc_utf8 is set. (closes #5423)
902Files: src/testdir/test_python3.vim, src/if_py_both.h
903
904Patch 8.2.0069
905Problem: ETYPE_ is used for two different enums.
906Solution: Rename one to use EXPR_.
907Files: src/structs.h, src/eval.c, src/debugger.c
908
909Patch 8.2.0070
910Problem: Crash when using Python 3 with "debug" encoding. (Dominique Pellé)
911Solution: Use "euc-jp" whenever enc_dbcs is set.
912Files: src/testdir/test_python3.vim, src/if_py_both.h
913
914Patch 8.2.0071
915Problem: Memory test often fails on Cirrus CI.
916Solution: Allow for more tolerance in the upper limit. Remove sleep.
917Files: src/testdir/test_memory_usage.vim
918
919Patch 8.2.0072 (after 8.2.0071)
920Problem: Memory test still fails on Cirrus CI.
921Solution: Allow for a tiny bit more tolerance in the upper limit.
922Files: src/testdir/test_memory_usage.vim
923
924Patch 8.2.0073
925Problem: Initializing globals with COMMA is clumsy.
926Solution: Use INIT2(), INIT3(), etc.
927Files: src/vim.h, src/globals.h
928
929Patch 8.2.0074
930Problem: Python 3 unicode test sometimes fails.
931Solution: Make 'termencoding' empty. Correct number of error message.
932Files: src/change.c, runtime/doc/options.txt, runtime/doc/message.txt,
933 src/testdir/test_python3.vim
934
935Patch 8.2.0075
936Problem: Python 3 unicode test still sometimes fails.
937Solution: Skip the test when 'termencoding' is not empty.
938Files: src/testdir/test_python3.vim
939
940Patch 8.2.0076
941Problem: Python 3 unicode test fails on MS-Windows.
942Solution: Do not set 'encoding' to "debug" on MS-Windows.
943Files: src/testdir/test_python3.vim
944
945Patch 8.2.0077
946Problem: settagstack() cannot truncate at current index.
947Solution: Add the "t" action. (Yegappan Lakshmanan, closes #5417)
948Files: runtime/doc/eval.txt, src/evalfunc.c, src/tag.c,
949 src/testdir/test_tagjump.vim
950
951Patch 8.2.0078
952Problem: Expanding <sfile> works differently the second time.
953Solution: Keep the expanded name when redefining a function. (closes #5425)
954Files: src/testdir/test_vimscript.vim, src/userfunc.c
955
956Patch 8.2.0079
957Problem: Python 3 unicode test still fails on MS-Windows.
958Solution: Do not set 'encoding' to "euc-tw" on MS-Windows.
959Files: src/testdir/test_python3.vim
960
961Patch 8.2.0080
962Problem: Globals using INIT4() are not in the tags file.
963Solution: Adjust the tags command.
964Files: src/configure.ac, src/auto/configure
965
966Patch 8.2.0081
967Problem: MS-Windows also need the change to support INIT4().
968Solution: Add the ctags arguments. (Ken Takata)
969Files: src/Make_cyg_ming.mak, src/Make_mvc.mak
970
971Patch 8.2.0082
972Problem: When reusing a buffer listeners are not cleared. (Axel Forsman)
973Solution: Clear listeners when reusing a buffer. (closes #5431)
974Files: src/testdir/test_listener.vim, src/buffer.c
975
976Patch 8.2.0083
977Problem: Text properties wrong when tabs and spaces are exchanged.
978Solution: Take text properties into account. (Nobuhiro Takasaki,
979 closes #5427)
980Files: src/edit.c, src/testdir/test_textprop.vim
981
982Patch 8.2.0084
983Problem: Complete item "user_data" can only be a string.
984Solution: Accept any type of variable. (closes #5412)
985Files: src/testdir/test_ins_complete.vim, src/insexpand.c, src/dict.c,
986 src/proto/dict.pro, src/eval.c, runtime/doc/insert.txt
987
988Patch 8.2.0085
989Problem: Dead code in builtin functions.
990Solution: Clean up the code.
991Files: src/evalvars.c, src/sound.c, src/textprop.c
992
993Patch 8.2.0086 (after 8.2.0084)
994Problem: Build error for small version. (Tony Mechelynck)
995Solution: Only use "user_data" with the +eval feature. Remove unused
996 variable.
997Files: src/insexpand.c, src/dict.c
998
999Patch 8.2.0087
1000Problem: Crash in command line expansion when out of memory.
1001Solution: Check for NULL pointer. Also make ExpandGeneric() static.
1002 (Dominique Pellé, closes #5437)
1003Files: src/cmdexpand.c, src/proto/cmdexpand.pro
1004
1005Patch 8.2.0088
1006Problem: Insufficient tests for tags; bug in using extra tag field when
1007 using an ex command to position the cursor.
1008Solution: Fix the bug, add more tests. (Yegappan Lakshmanan, closes #5439)
1009Files: runtime/doc/tagsrch.txt, src/tag.c,
1010 src/testdir/test_ins_complete.vim, src/testdir/test_tagfunc.vim,
1011 src/testdir/test_tagjump.vim, src/testdir/test_taglist.vim
1012
1013Patch 8.2.0089
1014Problem: Crash when running out of memory in :setfiletype completion.
1015Solution: Do not allocate memory. (Dominique Pellé, closes #5438)
1016Files: src/cmdexpand.c
1017
1018Patch 8.2.0090
1019Problem: Generated files show up in git status.
1020Solution: Ignore a few more files.
1021Files: .gitignore
1022
1023Patch 8.2.0091
1024Problem: Compiler warnings for size_t / int types.
1025Solution: Change type to size_t. (Mike Williams)
1026Files: src/scriptfile.c
1027
1028Patch 8.2.0092
1029Problem: Tags functionality insufficiently tested.
1030Solution: Add more tags tests. (Yegappan Lakshmanan, closes #5446)
1031Files: src/testdir/test_tagjump.vim
1032
1033Patch 8.2.0093
1034Problem: win_splitmove() can make Vim hang.
1035Solution: Check windows exists in the current tab page. (closes #5444)
1036Files: src/testdir/test_window_cmd.vim, src/evalwindow.c
1037
1038Patch 8.2.0094
1039Problem: MS-Windows: cannot build with Strawberry Perl 5.30.
1040Solution: Define __builtin_expect() as a workaround. (Ken Takata,
1041 closes #5267)
1042Files: src/if_perl.xs
1043
1044Patch 8.2.0095
1045Problem: Cannot specify exit code for :cquit.
1046Solution: Add optional argument. (Thinca, Yegappan Lakshmanan, closes #5442)
1047Files: runtime/doc/quickfix.txt, src/ex_cmds.h, src/ex_docmd.c,
1048 src/testdir/test_quickfix.vim
1049
1050Patch 8.2.0096
1051Problem: Cannot create tiny popup window in last column. (Daniel Steinberg)
1052Solution: Remove position limit. (closes #5447)
1053Files: src/popupwin.c, src/testdir/test_popupwin.vim,
1054 src/testdir/dumps/Test_popupwin_20.dump,
1055 src/testdir/dumps/Test_popupwin_21.dump
1056
1057Patch 8.2.0097
1058Problem: Crash with autocommand and spellfile. (Tim Pope)
1059Solution: Do not pop exestack when not pushed. (closes #5450)
1060Files: src/testdir/test_autocmd.vim, src/spellfile.c
1061
1062Patch 8.2.0098
1063Problem: Exe stack length can be wrong without being detected.
1064Solution: Add a check when ABORT_ON_INTERNAL_ERROR is defined.
1065Files: src/macros.h, src/autocmd.c, src/buffer.c, src/ex_docmd.c,
1066 src/main.c, src/map.c, src/scriptfile.c, src/spellfile.c,
1067 src/userfunc.c
1068
1069Patch 8.2.0099
1070Problem: Use of NULL pointer when out of memory.
1071Solution: Check for NULL pointer. (Dominique Pellé, closes #5449)
1072Files: src/cmdexpand.c
1073
1074Patch 8.2.0100
1075Problem: Macros for Ruby are too complicated.
1076Solution: Do not use DYNAMIC_RUBY_VER, use RUBY_VERSION. (Ken Takata,
1077 closes #5452)
1078Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/auto/configure,
1079 src/configure.ac, src/if_ruby.c
1080
1081Patch 8.2.0101
1082Problem: Crash when passing null object to ":echomsg".
1083Solution: Check for NULL pointer. (Yasuhiro Matsumoto, closes #5460)
1084Files: src/eval.c, src/testdir/test_messages.vim
1085
1086Patch 8.2.0102
1087Problem: Messages test fails in small version.
1088Solution: Only use test_null_job() when available.
1089Files: src/testdir/test_messages.vim
1090
1091Patch 8.2.0103
1092Problem: Using null object with execute() has strange effects.
1093Solution: Give an error message for Job and Channel.
1094Files: src/testdir/test_execute_func.vim, src/globals.h, src/eval.c,
1095 src/evalfunc.c
1096
1097Patch 8.2.0104
1098Problem: Using channel or job with ":execute" has strange effects.
1099Solution: Give an error message for Job and Channel.
1100Files: src/testdir/test_eval_stuff.vim, src/eval.c
1101
1102Patch 8.2.0105
1103Problem: Vim license not easy to find on github.
1104Solution: Add a separate LICENCE file. (closes #5458)
1105Files: LICENSE, Filelist
1106
1107Patch 8.2.0106
1108Problem: Printf formats are not exactly right.
1109Solution: Adjust signed/unsigned conversions. (Frazer Clews, closes #5456)
1110Files: runtime/tools/ccfilter.c, src/libvterm/src/parser.c,
1111 src/libvterm/src/pen.c, src/ui.c
1112
1113Patch 8.2.0107
1114Problem: Hgignore is out of sync from gitignore.
1115Solution: Add lines to hgignore. (Ken Takata)
Bram Moolenaar47c532e2022-03-19 15:18:53 +00001116Files: .hgignore
Bram Moolenaarc51cf032022-02-26 12:25:45 +00001117
1118Patch 8.2.0108
1119Problem: When sign text is changed a manual redraw is needed. (Pontus
1120 Lietzler)
1121Solution: Redraw automatically. (closes #5455)
1122Files: src/testdir/test_signs.vim, src/sign.c,
1123 src/testdir/dumps/Test_sign_cursor_1.dump,
1124 src/testdir/dumps/Test_sign_cursor_2.dump,
1125 src/testdir/dumps/Test_sign_cursor_3.dump,
1126 src/testdir/dumps/Test_sign_cursor_01.dump,
1127 src/testdir/dumps/Test_sign_cursor_02.dump
1128
1129Patch 8.2.0109
1130Problem: Corrupted text properties when expanding spaces.
1131Solution: Reallocate the line. (Nobuhiro Takasaki, closes #5457)
1132Files: src/edit.c, src/testdir/test_textprop.vim
1133
1134Patch 8.2.0110
1135Problem: prop_find() is not implemented.
1136Solution: Implement prop_find(). (Ryan Hackett, closes #5421, closes #4970)
1137Files: src/evalfunc.c, src/proto/textprop.pro,
1138 src/testdir/test_textprop.vim, src/textprop.c,
1139 runtime/doc/textprop.txt
1140
1141Patch 8.2.0111
1142Problem: VAR_SPECIAL is also used for booleans.
1143Solution: Add VAR_BOOL for better type checking.
1144Files: src/structs.h, src/dict.c, src/eval.c, src/evalfunc.c,
1145 src/evalvars.c, src/if_lua.c, src/if_mzsch.c, src/if_py_both.h,
1146 src/if_ruby.c, src/json.c, src/popupmenu.c, src/proto/dict.pro,
1147 src/testing.c, src/vim.h, src/viminfo.c
1148
1149Patch 8.2.0112
1150Problem: Illegal memory access when using 'cindent'.
1151Solution: Check for NUL byte. (Dominique Pellé, closes #5470)
1152Files: src/cindent.c, src/testdir/test_cindent.vim
1153
1154Patch 8.2.0113 (after 8.2.0095)
1155Problem: "make cmdidxs" fails.
1156Solution: Allow address for ":cquit". Add --not-a-term to avoid a delay.
1157Files: src/ex_cmds.h, src/Makefile, src/Make_cyg_ming.mak,
1158 src/Make_mvc.mak
1159
1160Patch 8.2.0114
1161Problem: Info about sourced scripts is scattered.
1162Solution: Use scriptitem_T for info about a script, including s: variables.
1163 Drop ga_scripts.
1164Files: src/structs.h, src/evalvars.c, src/scriptfile.c, src/eval.c
1165
1166Patch 8.2.0115
1167Problem: Byte2line() does not work correctly with text properties. (Billie
1168 Cleek)
1169Solution: Take the bytes of the text properties into account.
1170 (closes #5334)
1171Files: src/testdir/test_textprop.vim, src/memline.c
1172
1173Patch 8.2.0116
1174Problem: BufEnter autocmd not triggered on ":tab drop". (Andy Stewart)
1175Solution: Decrement autocmd_no_enter for the last file. (closes #1660,
1176 closes #5473)
1177Files: src/arglist.c, src/testdir/test_tabpage.vim
1178
1179Patch 8.2.0117
1180Problem: Crash when using gettabwinvar() with invalid arguments. (Yilin
1181 Yang)
1182Solution: Use "curtab" if "tp" is NULL. (closes #5475)
1183Files: src/evalwindow.c, src/testdir/test_getvar.vim
1184
1185Patch 8.2.0118
1186Problem: Crash when cycling to buffers involving popup window .
1187Solution: Do not decrement buffer reference count.
1188Files: src/popupwin.c, src/testdir/test_popupwin.vim,
1189 src/testdir/dumps/Test_popupwin_infopopup_7.dump
1190
1191Patch 8.2.0119
1192Problem: Message test fails on some platforms. (Elimar Riesebieter)
1193Solution: Add type cast to vim_snprintf() argument. (Dominique Pellé)
1194Files: src/message_test.c
1195
1196Patch 8.2.0120
1197Problem: virtcol() does not check arguments to be valid, which may lead to
1198 a crash.
1199Solution: Check the column to be valid. Do not decrement MAXCOL.
1200 (closes #5480)
1201Files: src/evalfunc.c, src/testdir/test_marks.vim
1202
1203Patch 8.2.0121
1204Problem: filter() and map() on blob don't work.
1205Solution: Correct the code. (closes #5483)
1206Files: src/list.c, src/testdir/test_blob.vim
1207
1208Patch 8.2.0122
1209Problem: Readme files still mention MS-DOS.
1210Solution: Update readme files. (Ken Takata, closes #5486)
1211Files: README.md, README.txt, READMEdir/README_dos.txt,
1212 READMEdir/README_srcdos.txt, READMEdir/README_w32s.txt,
1213 runtime/doc/os_win32.txt
1214
1215Patch 8.2.0123
1216Problem: complete_info() does not work when CompleteDone is triggered.
1217Solution: Trigger CompleteDone before clearing the info.
1218Files: src/insexpand.c, runtime/doc/autocmd.txt,
1219 src/testdir/test_ins_complete.vim
1220
1221Patch 8.2.0124
1222Problem: Compiler warnings for variable types.
1223Solution: Change type, add type cast. (Mike Williams)
1224Files: src/memline.c
1225
1226Patch 8.2.0125
1227Problem: :mode no longer works for any system.
1228Solution: Always give an error message.
1229Files: src/ex_docmd.c, runtime/doc/quickref.txt, src/os_amiga.c,
1230 src/proto/os_amiga.pro, src/os_mswin.c, src/proto/os_mswin.pro,
1231 src/os_unix.c, src/proto/os_unix.pro
1232
1233Patch 8.2.0126 (after 8.2.0124)
1234Problem: Textprop test fails.
1235Solution: Fix sign in computation.
1236Files: src/memline.c
1237
1238Patch 8.2.0127
1239Problem: Some buffer commands work in a popup window.
1240Solution: Disallow :bnext, :bprev, etc. (Naruhiko Nishino, closes #5494)
1241Files: src/ex_docmd.c, src/testdir/test_popupwin.vim
1242
1243Patch 8.2.0128
1244Problem: Cannot list options one per line.
1245Solution: Use ":set!" to list one option per line.
1246Files: src/ex_docmd.c, src/option.c, src/proto/option.pro, src/vim.h,
1247 src/ex_cmds.h, src/optiondefs.h, src/testdir/test_options.vim,
1248 runtime/doc/options.txt
1249
1250Patch 8.2.0129
1251Problem: MS-Windows installer doesn't use Turkish translations.
1252Solution: Enable the Turkish translations and fix a few. (Emir Sarı,
1253 closes #5493)
1254Files: nsis/gvim.nsi, nsis/lang/turkish.nsi
1255
1256Patch 8.2.0130
1257Problem: Python3 ranges are not tested.
1258Solution: Add test. (Dominique Pellé, closes #5498)
1259Files: src/testdir/test_python3.vim
1260
1261Patch 8.2.0131
1262Problem: Command line is not cleared when switching tabs and the command
1263 line height differs.
1264Solution: Set the "clear_cmdline" flag when needed. (Naruhiko Nishino,
1265 closes #5495)
1266Files: src/testdir/dumps/Test_cmdlineclear_tabenter.dump,
1267 src/testdir/test_cmdline.vim, src/window.c
1268
1269Patch 8.2.0132
1270Problem: Script may be re-used when deleting and creating a new one.
1271Solution: When the inode matches, also check the file name.
1272Files: src/scriptfile.c, src/testdir/test_source.vim
1273
1274Patch 8.2.0133
1275Problem: Invalid memory access with search command.
1276Solution: When :normal runs out of characters in bracketed paste mode break
1277 out of the loop.(closes #5511)
1278Files: src/testdir/test_search.vim, src/edit.c
1279
1280Patch 8.2.0134
1281Problem: Some map functionality not covered by tests.
1282Solution: Add tests. (Yegappan Lakshmanan, closes #5504)
1283Files: src/testdir/test_maparg.vim, src/testdir/test_mapping.vim
1284
1285Patch 8.2.0135 (after 8.2.0133)
1286Problem: Bracketed paste can still cause invalid memory access. (Dominique
1287 Pellé)
1288Solution: Check for NULL pointer.
1289Files: src/edit.c, src/testdir/test_search.vim
1290
1291Patch 8.2.0136
1292Problem: Stray ch_logfile() call.
1293Solution: Remove it. (closes #5503)
1294Files: src/testdir/test_source.vim
1295
1296Patch 8.2.0137
1297Problem: Crash when using win_execute() from a new tab.
1298Solution: Set the tp_*win pointers. (Ozaki Kiichi, closes #5512)
1299Files: src/testdir/test_winbuf_close.vim, src/window.c
1300
1301Patch 8.2.0138
1302Problem: Memory leak when starting a job fails.
1303Solution: Free the list of arguments. (Ozaki Kiichi, closes #5510)
1304Files: src/channel.c, src/testdir/test_channel.vim
1305
1306Patch 8.2.0139
1307Problem: MS-Windows: default for IME is inconsistent.
1308Solution: Also make IME default enabled with MVC. (Ken Takata, closes #5508)
1309Files: src/Make_mvc.mak
1310
1311Patch 8.2.0140
1312Problem: CI does not test building doc tags.
1313Solution: Add the vimtags/gcc build. Cleanup showing version. (Ozaki Kiichi,
1314 closes #5513)
1315Files: .travis.yml, Filelist, ci/if_ver-1.vim, ci/if_ver-2.vim,
1316 ci/if_ver-cmd.vim, runtime/doc/Makefile, runtime/doc/doctags.vim,
1317 src/testdir/if_ver-1.vim, src/testdir/if_ver-2.vim
1318
1319Patch 8.2.0141
1320Problem: No swift filetype detection.
1321Solution: Add swift, swiftgyb and sil. (Emir Sarı, closes #5517)
1322Files: runtime/filetype.vim, src/testdir/test_filetype.vim
1323
1324Patch 8.2.0142
1325Problem: Possible to enter popup window with CTRL-W p. (John Devin)
1326Solution: Check entered window is not a popup window. (closes #5515)
1327Files: src/window.c, src/popupwin.c, src/testdir/test_popupwin.vim,
1328 src/testdir/dumps/Test_popupwin_previewpopup_9.dump,
1329 src/testdir/dumps/Test_popupwin_previewpopup_10.dump
1330
1331Patch 8.2.0143
1332Problem: Coverity warning for possible use of NULL pointer.
1333Solution: Check argv is not NULL.
1334Files: src/channel.c
1335
1336Patch 8.2.0144
1337Problem: Some mapping code is not fully tested.
1338Solution: Add more test cases. (Yegappan Lakshmanan, closes #5519)
1339Files: src/testdir/test_langmap.vim, src/testdir/test_maparg.vim,
1340 src/testdir/test_mapping.vim
1341
1342Patch 8.2.0145
1343Problem: Using #error for compilation errors should be OK now.
1344Solution: Use #error. (Ken Takata, closes #5299)
1345Files: src/blowfish.c, src/vim.h
1346
1347Patch 8.2.0146
1348Problem: Wrong indent when 'showbreak' and 'breakindent' are set and
1349 'briopt' includes "sbr".
1350Solution: Reset "need_showbreak" where needed. (Ken Takata, closes #5523)
1351Files: src/drawline.c, src/testdir/test_breakindent.vim
1352
1353Patch 8.2.0147
1354Problem: Block Visual mode operators not correct when 'linebreak' set.
1355Solution: Set w_p_lbr to lbr_saved more often. (Ken Takata, closes #5524)
1356Files: src/ops.c, src/testdir/test_listlbr.vim
1357
1358Patch 8.2.0148
1359Problem: Mapping related function in wrong source file.
1360Solution: Move the function. Add a few more test cases. (Yegappan
1361 Lakshmanan, closes #5528)
1362Files: src/map.c, src/proto/term.pro, src/term.c,
1363 src/testdir/test_mapping.vim
1364
1365Patch 8.2.0149
1366Problem: Maintaining a Vim9 branch separately is more work.
1367Solution: Merge the Vim9 script changes.
1368Files: README.md, README_VIM9.md, runtime/doc/Makefile,
1369 runtime/doc/eval.txt, runtime/doc/options.txt, runtime/doc/tags,
1370 runtime/doc/vim9.txt, runtime/ftplugin/vim.vim,
1371 runtime/indent/vim.vim, runtime/syntax/vim.vim,
1372 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Makefile, src/blob.c,
1373 src/channel.c, src/dict.c, src/eval.c, src/evalbuffer.c,
1374 src/evalfunc.c, src/evalvars.c, src/ex_cmdidxs.h, src/ex_cmds.h,
1375 src/ex_docmd.c, src/ex_eval.c, src/filepath.c, src/globals.h,
1376 src/gui.c, src/if_lua.c, src/if_py_both.h, src/insexpand.c,
1377 src/json.c, src/list.c, src/macros.h, src/main.c, src/message.c,
1378 src/misc1.c, src/proto.h, src/proto/blob.pro, src/proto/eval.pro,
1379 src/proto/evalfunc.pro, src/proto/evalvars.pro,
1380 src/proto/ex_docmd.pro, src/proto/ex_eval.pro, src/proto/list.pro,
1381 src/proto/message.pro, src/proto/scriptfile.pro,
1382 src/proto/userfunc.pro, src/proto/vim9compile.pro,
1383 src/proto/vim9execute.pro, src/proto/vim9script.pro,
1384 src/scriptfile.c, src/session.c, src/structs.h, src/syntax.c,
1385 src/testdir/Make_all.mak, src/testdir/test_vim9_expr.vim,
1386 src/testdir/test_vim9_script.vim, src/testing.c, src/userfunc.c,
1387 src/vim.h, src/vim9.h, src/vim9compile.c, src/vim9execute.c,
1388 src/vim9script.c, src/viminfo.c
1389
1390Patch 8.2.0150
1391Problem: Cannot define python function when using :execute. (Yasuhiro
1392 Matsumoto)
1393Solution: Do not recognize "def" inside "function.
1394Files: src/testdir/test_vim9_script.vim, src/userfunc.c
1395
1396Patch 8.2.0151
1397Problem: Detecting a script was already sourced is unreliable.
1398Solution: Do not use the inode number.
1399Files: src/scriptfile.c, src/structs.h, src/testdir/test_vim9_script.vim
1400
1401Patch 8.2.0152
1402Problem: Restoring ctrl_x_mode is not needed.
1403Solution: Remove restoring the old value, it's changed again soon.
1404Files: src/insexpand.c
1405
1406Patch 8.2.0153
1407Problem: Warning shows when listing version info.
1408Solution: Use "-u NONE". (Ozaki Kiichi, closes #5534)
1409Files: .travis.yml
1410
1411Patch 8.2.0154
1412Problem: Reallocating the list of scripts is inefficient.
1413Solution: Instead of using a growarray of scriptitem_T, store pointers and
1414 allocate each scriptitem_T separately. Also avoids that the
1415 growarray pointers change when sourcing a new script.
1416Files: src/globals.h, src/eval.c, src/evalvars.c, src/ex_docmd.c,
1417 src/profiler.c, src/scriptfile.c, src/vim9compile.c,
1418 src/vim9execute.c, src/vim9script.c
1419
1420Patch 8.2.0155
1421Problem: Warnings from MinGW compiler. (John Marriott) Json test fails when
1422 building without +float feature.
1423Solution: Init variables. Fix Json parsing. Skip a few tests that require
1424 the +float feature.
1425Files: src/vim9script.c, src/vim9compile.c, src/vim9execute.c,
1426 src/if_py_both.h, src/json.c, src/testdir/test_method.vim
1427
1428Patch 8.2.0156
1429Problem: Various typos in source files and tests.
1430Solution: Fix the typos. (Emir Sarı, closes #5532)
1431Files: Makefile, src/INSTALLvms.txt, src/Make_vms.mms, src/beval.h,
1432 src/buffer.c, src/charset.c, src/evalvars.c, src/ex_cmds.c,
1433 src/ex_docmd.c, src/getchar.c, src/gui.c, src/gui_mac.c,
1434 src/gui_photon.c, src/if_perl.xs,
1435 src/libvterm/t/11state_movecursor.test,
1436 src/libvterm/t/41screen_unicode.test, src/mbyte.c, src/memline.c,
1437 src/normal.c, src/ops.c, src/option.c, src/option.h,
1438 src/os_unix.c, src/os_win32.c, src/quickfix.c, src/register.c,
1439 src/spell.c, src/tag.c, src/term.c,
1440 src/testdir/test_breakindent.vim, src/testdir/test_channel.vim,
1441 src/testdir/test_cindent.vim, src/testdir/test_digraph.vim,
1442 src/testdir/test_edit.vim, src/testdir/test_netbeans.vim,
1443 src/testdir/test_quickfix.vim, src/testdir/test_registers.vim,
1444 src/testdir/test_stat.vim, src/ui.c, src/xxd/xxd.c
1445
1446Patch 8.2.0157
1447Problem: Vim9 script files not in list of distributed files.
1448Solution: Add the entries.
1449Files: Filelist
1450
1451Patch 8.2.0158 (after 8.2.0123)
1452Problem: Triggering CompleteDone earlier is not backwards compatible.
1453 (Daniel Hahler)
1454Solution: Add CompleteDonePre instead.
1455Files: src/insexpand.c, runtime/doc/autocmd.txt, src/autocmd.c,
1456 src/vim.h, src/testdir/test_ins_complete.vim
1457
1458Patch 8.2.0159
1459Problem: Non-materialized range() list causes problems. (Fujiwara Takuya)
1460Solution: Materialize the list where needed.
1461Files: src/testdir/test_functions.vim, src/testdir/test_python3.vim,
1462 src/userfunc.c, src/evalfunc.c, src/highlight.c, src/evalvars.c,
1463 src/popupmenu.c, src/insexpand.c, src/json.c, src/channel.c,
1464 src/eval.c
1465
1466Patch 8.2.0160 (after 8.2.0159)
1467Problem: Range test fails.
1468Solution: Include change in list code. (#5541)
1469Files: src/list.c
1470
1471Patch 8.2.0161
1472Problem: Not recognizing .gv file as dot filetype.
1473Solution: Add *.gv to dot pattern. (closes #5544)
1474Files: runtime/filetype.vim, src/testdir/test_filetype.vim
1475
1476Patch 8.2.0162
1477Problem: Balloon test fails in the GUI.
1478Solution: Skip test in the GUI.
1479Files: src/testdir/test_functions.vim
1480
1481Patch 8.2.0163
1482Problem: Test hangs on MS-Windows console.
1483Solution: use feedkeys() instead of test_feedinput(). (Ken Takata)
1484Files: src/testdir/test_functions.vim, src/testing.c
1485
1486Patch 8.2.0164
1487Problem: Test_alot takes too long.
1488Solution: Run several tests individually.
1489Files: src/testdir/test_alot.vim, src/testdir/Make_all.mak
1490
1491Patch 8.2.0165
1492Problem: Coverity warning for using NULL pointer.
1493Solution: Add missing "else".
1494Files: src/vim9compile.c
1495
1496Patch 8.2.0166
1497Problem: Coverity warning for using uninitialized variable.
1498Solution: Check for failure.
1499Files: src/vim9execute.c
1500
1501Patch 8.2.0167
1502Problem: Coverity warning for ignoring return value.
1503Solution: Check the return value and jump if failed.
1504Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
1505
1506Patch 8.2.0168
1507Problem: Coverity warning for assigning NULL to an option.
1508Solution: Use empty string instead of NULL.
1509Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
1510
1511Patch 8.2.0169
1512Problem: Coverity warning for dead code.
1513Solution: Check if inside try-finally.
1514Files: src/vim9execute.c
1515
1516Patch 8.2.0170
1517Problem: Coverity warning for ignoring return value.
1518Solution: Check the return value and return if failed.
1519Files: src/vim9compile.c
1520
1521Patch 8.2.0171
1522Problem: Coverity warning for using uninitialized buffer.
1523Solution: Check the skip flag.
1524Files: src/userfunc.c
1525
1526Patch 8.2.0172
1527Problem: Coverity warning for not restoring character.
1528Solution: Restore the character also in case of failure.
1529Files: src/vim9script.c
1530
1531Patch 8.2.0173
1532Problem: Build fails with old compiler.
1533Solution: Do not use anonymous unions. (John Marriott)
1534Files: src/vim9compile.c, src/evalvars.c, src/list.c, src/structs.h,
1535 src/evalfunc.c, src/channel.c, src/if_mzsch.c, src/if_py_both.h
1536
1537Patch 8.2.0174
1538Problem: Various commands not completely tested.
1539Solution: Add more test cases. (Yegappan Lakshmanan, closes #5551)
1540Files: src/testdir/test_excmd.vim, src/testdir/test_fnameescape.vim,
1541 src/testdir/test_ga.vim, src/testdir/test_global.vim,
1542 src/testdir/test_move.vim, src/testdir/test_options.vim,
1543 src/testdir/test_packadd.vim, src/testdir/test_sort.vim,
1544 src/testdir/test_substitute.vim, src/testdir/test_textformat.vim,
1545 src/testdir/test_writefile.vim
1546
1547Patch 8.2.0175
1548Problem: Crash when removing list element in map().
1549Solution: Lock the list. (closes #2652)
1550Files: src/testdir/test_filter_map.vim, src/list.c
1551
1552Patch 8.2.0176
1553Problem: Generating os headers does not work for Swedish.
1554Solution: Set the locale to C. (Christian Brabandt, closes #5258)
1555Files: src/osdef.sh
1556
1557Patch 8.2.0177
1558Problem: Memory leak in get_tags().
1559Solution: Free matches when finding a pseudo-tag line. (Dominique Pellé,
1560 closes #5553)
1561Files: src/tag.c
1562
1563Patch 8.2.0178
1564Problem: With VTP the screen may not be restored properly.
1565Solution: Add another set of saved RGB values. (Nobuhiro Takasaki,
1566 closes #5548)
1567Files: src/os_win32.c
1568
1569Patch 8.2.0179
1570Problem: Still a few places where range() does not work.
1571Solution: Fix using range() causing problems.
1572Files: src/terminal.c, src/testdir/test_functions.vim,
1573 src/testdir/test_popupwin.vim, src/popupwin.c, src/tag.c,
1574 src/testdir/dumps/Test_popupwin_20.dump,
1575 src/testdir/dumps/Test_popupwin_21.dump,
1576 src/testdir/dumps/Test_popup_settext_07.dump, src/globals.h
1577
1578Patch 8.2.0180
1579Problem: Test for wrapmargin fails if terminal is not 80 columns.
1580Solution: Vertical split the window. (Ken Takata, closes #5554)
1581Files: src/testdir/test_textformat.vim
1582
1583Patch 8.2.0181
1584Problem: Problems parsing :term arguments.
1585Solution: Improve parsing, fix memory leak, add tests. (Ozaki Kiichi,
1586 closes #5536)
1587Files: src/channel.c, src/proto/channel.pro, src/structs.h,
1588 src/terminal.c, src/testdir/test_terminal.vim
1589
1590Patch 8.2.0182
1591Problem: Min() and max() materialize a range() list.
1592Solution: Compute the result without materializing the list. (#5541)
1593Files: src/evalfunc.c
1594
1595Patch 8.2.0183
1596Problem: Tests fail when the float feature is disabled.
1597Solution: Skip tests that don't work without float support.
1598Files: src/testdir/shared.vim, src/testdir/test_blob.vim,
1599 src/testdir/test_channel.vim, src/testdir/test_cscope.vim,
1600 src/testdir/test_execute_func.vim, src/testdir/test_expr.vim,
1601 src/testdir/test_functions.vim, src/testdir/test_lambda.vim,
1602 src/testdir/test_listdict.vim, src/testdir/test_lua.vim,
1603 src/testdir/test_options.vim, src/testdir/test_partial.vim,
1604 src/testdir/test_ruby.vim, src/testdir/test_sort.vim,
1605 src/testdir/test_timers.vim, src/testdir/test_true_false.vim,
1606 src/testdir/test_user_func.vim, src/testdir/test_vim9_expr.vim,
1607 src/testdir/test_vimscript.vim, src/testdir/test_regexp_latin.vim,
1608 src/testdir/test_glob2regpat.vim
1609
1610Patch 8.2.0184
1611Problem: Blob test fails.
1612Solution: Check for different error when float feature is missing.
1613Files: src/testdir/test_blob.vim
1614
1615Patch 8.2.0185
1616Problem: Vim9 script: cannot use "if has()" to skip lines.
1617Solution: Evaluate constant expression at runtime.
1618Files: src/vim9compile.c, src/evalfunc.c, src/proto/evalfunc.pro,
1619 src/userfunc.c, src/testdir/test_vim9_script.vim
1620
1621Patch 8.2.0186
1622Problem: A couple of tests may fail when features are missing.
1623Solution: Check for features. (Dominique Pellé, closes #5561)
1624Files: src/testdir/test_functions.vim, src/testdir/test_highlight.vim
1625
1626Patch 8.2.0187
1627Problem: Redundant code.
1628Solution: Remove unused assignments. (Dominique Pellé, closes #5557)
1629Files: src/vim9compile.c
1630
1631Patch 8.2.0188
1632Problem: Check commands don't work well with Vim9 script.
1633Solution: Improve constant expression handling.
1634Files: src/vim9compile.c, src/testdir/check.vim,
1635 src/testdir/test_vim9_expr.vim
1636
1637Patch 8.2.0189
1638Problem: cd() with NULL argument crashes.
1639Solution: Check for NULL. (Ken Takata, closes #5558)
1640Files: src/testdir/test_cd.vim, src/ex_docmd.c
1641
1642Patch 8.2.0190
1643Problem: Kotlin files are not recognized.
1644Solution: Detect Kotlin files. (Alkeryn, closes #5560)
1645Files: runtime/filetype.vim, src/testdir/test_filetype.vim
1646
1647Patch 8.2.0191
1648Problem: Cannot put a terminal in a popup window.
1649Solution: Allow opening a terminal in a popup window. It will always have
1650 keyboard focus until closed.
1651Files: src/popupwin.c, src/proto/popupwin.pro, src/terminal.c,
1652 src/proto/terminal.pro, src/macros.h, src/mouse.c,
1653 src/highlight.c, src/drawline.c, src/optionstr.c, src/window.c,
1654 src/testdir/test_terminal.vim,
1655 src/testdir/dumps/Test_terminal_popup_1.dump,
1656 src/testdir/dumps/Test_terminal_popup_2.dump,
1657 src/testdir/dumps/Test_terminal_popup_3.dump
1658
1659Patch 8.2.0192 (after 8.2.0191)
1660Problem: Build failure without +terminal feature.
1661Solution: Add #ifdefs.
1662Files: src/popupwin.c
1663
1664Patch 8.2.0193 (after 8.2.0191)
1665Problem: Still build failure without +terminal feature.
1666Solution: Add more #ifdefs.
1667Files: src/macros.h
1668
1669Patch 8.2.0194 (after 8.2.0193)
1670Problem: Some commands can cause problems in terminal popup.
1671Solution: Disallow more commands.
1672Files: src/macros.h, src/popupwin.c, src/proto/popupwin.pro,
1673 src/arglist.c, src/ex_docmd.c, src/window.c,
1674 src/testdir/test_terminal.vim
1675
1676Patch 8.2.0195
1677Problem: Some tests fail when run in the GUI.
1678Solution: Make sure the window width is enough. In the GUI run terminal Vim
1679 in the terminal, if possible.
1680Files: src/testdir/test_highlight.vim, src/testdir/check.vim,
1681 src/testdir/test_terminal.vim
1682
1683Patch 8.2.0196
1684Problem: Blocking commands for a finished job in a popup window.
1685Solution: Do not block commands if the job has finished. Adjust test.
1686Files: src/popupwin.c, src/testdir/test_popupwin.vim, src/window.c,
1687 src/terminal.c, src/proto/terminal.pro
1688
1689Patch 8.2.0197
1690Problem: Some Ex commands not sufficiently tested.
1691Solution: Add more tests. (Yegappan Lakshmanan, closes #5565)
1692Files: src/testdir/test_global.vim, src/testdir/test_help.vim,
1693 src/testdir/test_help_tagjump.vim, src/testdir/test_options.vim,
1694 src/testdir/test_substitute.vim, src/testdir/test_textformat.vim,
1695 src/testdir/test_writefile.vim
1696
1697Patch 8.2.0198
1698Problem: No tests for y/n prompt.
1699Solution: Add tests. (Dominique Pellé, closes #5564)
1700Files: src/testdir/test_messages.vim
1701
1702Patch 8.2.0199
1703Problem: Vim9 script commands not sufficiently tested.
1704Solution: Add more tests. Fix script-local function use.
1705Files: src/vim9execute.c, src/testdir/test_vim9_script.vim,
1706 src/userfunc.c
1707
1708Patch 8.2.0200
1709Problem: Vim9 script commands not sufficiently tested.
1710Solution: Add more tests. Fix storing global variable. Make script
1711 variables work.
1712Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h, src/evalvars.c,
1713 src/proto/evalvars.pro, src/testdir/test_vim9_script.vim,
1714 src/misc1.c, src/proto/misc1.pro
1715
1716Patch 8.2.0201
1717Problem: Cannot assign to an imported variable.
1718Solution: Make it work.
1719Files: src/evalvars.c, src/vim9compile.c, src/proto/vim9compile.pro,
1720 src/userfunc.c, src/testdir/test_vim9_script.vim
1721
1722Patch 8.2.0202
1723Problem: When 'lazyredraw' is set the window title may not be updated.
1724Solution: Set "do_redraw" before entering the main loop. (Jason Franklin)
1725Files: src/main.c
1726
1727Patch 8.2.0203
1728Problem: :helptags and some other functionality not tested.
1729Solution: Add more tests. (Yegappan Lakshmanan, closes #5567)
1730Files: src/testdir/test_compiler.vim, src/testdir/test_ex_mode.vim,
1731 src/testdir/test_excmd.vim, src/testdir/test_filechanged.vim,
1732 src/testdir/test_help.vim, src/testdir/test_help_tagjump.vim,
1733 src/testdir/test_timers.vim, src/testdir/test_window_cmd.vim
1734
1735Patch 8.2.0204
1736Problem: Crash when using winnr('j') in a popup window.
1737Solution: Do not search for neighbors in a popup window. (closes #5568)
1738Files: src/window.c, src/testdir/test_popupwin.vim, src/evalwindow.c
1739
1740Patch 8.2.0205
1741Problem: Error code E899 used twice.
1742Solution: Use E863 for the terminal in popup error.
1743Files: src/popupwin.c
1744
1745Patch 8.2.0206
1746Problem: Calling Vim9 function using default argument fails.
1747Solution: Give an appropriate error. (closes #5572)
1748Files: src/testdir/test_vim9_script.vim, src/vim9compile.c,
1749 src/vim9execute.c
1750
1751Patch 8.2.0207
1752Problem: Crash when missing member type on list argument.
1753Solution: Check for invalid type. (closes #5572)
1754Files: src/userfunc.c, src/testdir/test_vim9_script.vim
1755
1756Patch 8.2.0208
1757Problem: Fnamemodify() does not apply ":~" when followed by ":.".
1758Solution: Don't let a failing ":." cause the ":~" to be skipped. (Yasuhiro
1759 Matsumoto, closes #5577)
1760Files: runtime/doc/cmdline.txt, src/filepath.c,
1761 src/testdir/test_fnamemodify.vim
1762
1763Patch 8.2.0209
1764Problem: Function a bit far away from where it's used.
1765Solution: Move function close to where it's used. (Ken Takata, closes #5569)
1766Files: src/fileio.c, src/filepath.c
1767
1768Patch 8.2.0210
1769Problem: Coverity complains about uninitialized field.
1770Solution: Initialize the field.
1771Files: src/vim9compile.c
1772
1773Patch 8.2.0211
1774Problem: Test for ANSI colors fails without an "ls" command.
1775Solution: Use "dir". (Ken Takata, closes #5582)
1776Files: src/testdir/test_functions.vim
1777
1778Patch 8.2.0212
1779Problem: Missing search/substitute pattern hardly tested.
1780Solution: Add test_clear_search_pat() and tests. (Yegappan Lakshmanan,
1781 closes #5579)
1782Files: runtime/doc/eval.txt, runtime/doc/testing.txt,
1783 runtime/doc/usr_41.txt, src/evalfunc.c, src/proto/regexp.pro,
1784 src/proto/search.pro, src/proto/testing.pro, src/regexp.c,
1785 src/search.c, src/testdir/test_quickfix.vim,
1786 src/testdir/test_search.vim, src/testdir/test_sort.vim,
1787 src/testdir/test_substitute.vim, src/testing.c
1788
1789Patch 8.2.0213
1790Problem: Configure does not recognize gcc 10.0 and later.
1791Solution: Adjust the pattern matching the version number. (Sergei
1792 Trofimovich, closes #5580)
1793Files: src/configure.ac, src/auto/configure
1794
1795Patch 8.2.0214
1796Problem: A popup window with a terminal can be made hidden.
1797Solution: Disallow hiding a terminal popup.
1798Files: src/testdir/test_terminal.vim, src/popupwin.c,
1799 src/testdir/dumps/Test_terminal_popup_4.dump
1800
1801Patch 8.2.0215 (after 8.2.0208)
1802Problem: Wrong file name shortening. (Ingo Karkat)
1803Solution: Better check for path separator. (Yasuhiro Matsumoto,
1804 closes #5583, closes #5584)
1805Files: src/filepath.c, src/testdir/test_fnamemodify.vim
1806
1807Patch 8.2.0216
1808Problem: Several Vim9 instructions are not tested.
1809Solution: Add more tests. Fix :disassemble output. Make catch with pattern
1810 work.
1811Files: src/testdir/test_vim9_script.vim, src/vim9execute.c,
1812 src/vim9compile.c
1813
1814Patch 8.2.0217 (after 8.2.0214)
1815Problem: Terminal test fails on Mac.
1816Solution: Add a short wait.
1817Files: src/testdir/test_terminal.vim
1818
1819Patch 8.2.0218
1820Problem: Several Vim9 instructions are not tested.
1821Solution: Add more tests.
1822Files: src/testdir/test_vim9_script.vim
1823
1824Patch 8.2.0219 (after 8.2.0217)
1825Problem: Terminal test still fails on Mac.
1826Solution: Skip part of the test on Mac.
1827Files: src/testdir/test_terminal.vim
1828
1829Patch 8.2.0220
1830Problem: Terminal test did pass on Mac.
1831Solution: Remove the skip again.
1832Files: src/testdir/test_terminal.vim
1833
1834Patch 8.2.0221
1835Problem: No test for Vim9 += and ..=.
1836Solution: Add tests.
1837Files: src/testdir/test_vim9_script.vim
1838
1839Patch 8.2.0222
1840Problem: Vim9: optional function arguments don't work yet.
1841Solution: Implement optional function arguments.
1842Files: src/userfunc.c, src/vim9compile.c, src/vim9execute.c,
1843 src/structs.h, src/testdir/test_vim9_script.vim
1844
1845Patch 8.2.0223
1846Problem: Some instructions not yet tested.
1847Solution: Disassemble more instructions. Move tests to a new file. Compile
1848 call to s:function().
1849Files: src/testdir/test_vim9_script.vim, src/testdir/Make_all.mak,
1850 src/testdir/test_vim9_disassemble.vim, src/vim9compile.c,
1851 src/userfunc.c, src/proto/userfunc.pro, src/vim.h
1852
1853Patch 8.2.0224
1854Problem: compiling :elseif not tested yet.
1855Solution: Add test for :elseif. Fix generating jumps.
1856Files: src/testdir/test_vim9_script.vim, src/vim9compile.c,
1857 src/testdir/test_vim9_disassemble.vim
1858
1859Patch 8.2.0225
1860Problem: compiling lambda not tested yet.
1861Solution: Add test for lambda and funcref. Drop unused instruction arg.
1862Files: src/testdir/test_vim9_disassemble.vim, src/vim9.h,
1863 src/vim9execute.c
1864
1865Patch 8.2.0226
1866Problem: Compiling for loop not tested.
1867Solution: Add a test. Make variable initialization work for more types.
1868Files: src/testdir/test_vim9_disassemble.vim, src/vim9compile.c
1869
1870Patch 8.2.0227
1871Problem: Compiling a few instructions not tested.
1872Solution: Add more test cases.
1873Files: src/testdir/test_vim9_disassemble.vim
1874
1875Patch 8.2.0228
1876Problem: Configure does not recognize gcc version on BSD.
1877Solution: Do not use "\+" in the pattern matching the version number. (Ozaki
1878 Kiichi, closes #5590)
1879Files: src/configure.ac, src/auto/configure
1880
1881Patch 8.2.0229
1882Problem: Compare instructions not tested.
1883Solution: Add test cases. Fix disassemble with line continuation.
1884Files: src/testdir/test_vim9_disassemble.vim, src/vim9execute.c,
1885 src/vim9compile.c
1886
1887Patch 8.2.0230
1888Problem: Terminal popup test is flaky.
1889Solution: Increase wait time a bit.
1890Files: src/testdir/test_terminal.vim
1891
1892Patch 8.2.0231
1893Problem: Silent system command may clear the screen.
1894Solution: Do not clear the screen in t_te.
1895Files: src/term.c
1896
1897Patch 8.2.0232
1898Problem: The :compiler command causes a crash. (Daniel Steinberg)
1899Solution: Do not use the script index if it isn't set.
1900Files: src/ex_docmd.c, src/testdir/test_compiler.vim
1901
1902Patch 8.2.0233
1903Problem: Crash when using garbagecollect() in between rand().
1904Solution: Redesign the rand() and srand() implementation. (Yasuhiro
1905 Matsumoto, closes #5587, closes #5588)
1906Files: src/evalfunc.c, src/testdir/test_random.vim,
1907 runtime/doc/testing.txt, runtime/doc/eval.txt
1908
1909Patch 8.2.0234
1910Problem: Message test fails on SunOS.
1911Solution: Adjust expectation for printf "%p". (Ozaki Kiichi, closes #5595)
1912Files: src/message_test.c
1913
1914Patch 8.2.0235
1915Problem: Draw error when an empty group is removed from 'statusline'.
1916Solution: Do not use highlighting from a removed group.
1917Files: src/buffer.c, src/testdir/test_statusline.vim,
1918 src/testdir/dumps/Test_statusline_1.dump
1919
1920Patch 8.2.0236
1921Problem: MS-Windows uninstall doesn't delete vimtutor.bat.
1922Solution: Change directory before deletion. (Ken Takata, closes #5603)
1923Files: src/uninstall.c
1924
1925Patch 8.2.0237
1926Problem: Crash when setting 'wincolor' on finished terminal window.
1927 (Bakudankun)
1928Solution: Check that the vterm is not NULL. (Yasuhiro Matsumoto, closes
1929 #5607, closes #5610)
1930Files: src/terminal.c, src/testdir/test_terminal.vim
1931
1932Patch 8.2.0238
1933Problem: MS-Windows: job_stop() results in exit value zero.
1934Solution: Call TerminateJobObject() with -1 instead of 0. (Yasuhiro
1935 Matsumoto, closes #5150, closes #5614)
1936Files: src/os_win32.c, src/testdir/test_channel.vim
1937
1938Patch 8.2.0239
1939Problem: MS-Windows: 'env' job option does not override existing
1940 environment variables. (Tim Pope)
1941Solution: Set the environment variables later. (Yasuhiro Matsumoto,
1942 closes #5485, closes #5608)
1943Files: src/os_win32.c, src/testdir/test_channel.vim
1944
1945Patch 8.2.0240
1946Problem: Using memory after it was freed. (Dominique Pellé)
1947Solution: Do not mix conversion buffer with other buffer.
1948Files: src/viminfo.c, src/vim.h
1949
1950Patch 8.2.0241
1951Problem: Crash when setting 'buftype' to "quickfix".
1952Solution: Check that error list is not NULL. (closes #5613)
1953Files: src/quickfix.c, src/testdir/test_quickfix.vim
1954
1955Patch 8.2.0242
1956Problem: Preview popup window test fails with long directory name. (Jakub
1957 Kądziołka)
1958Solution: Use "silent cd". (closes #5615)
1959Files: src/testdir/test_popupwin.vim
1960
1961Patch 8.2.0243
1962Problem: Insufficient code coverage for ex_docmd.c functions.
1963Solution: Add more tests. (Yegappan Lakshmanan, closes #5618)
1964Files: src/testdir/Make_all.mak, src/testdir/test_arglist.vim,
1965 src/testdir/test_buffer.vim, src/testdir/test_cd.vim,
1966 src/testdir/test_cmdline.vim, src/testdir/test_ex_mode.vim,
1967 src/testdir/test_excmd.vim, src/testdir/test_mapping.vim,
1968 src/testdir/test_quickfix.vim, src/testdir/test_search.vim,
1969 src/testdir/test_sort.vim, src/testdir/test_source.vim,
1970 src/testdir/test_substitute.vim, src/testdir/test_undo.vim,
1971 src/testdir/test_vimscript.vim, src/testdir/test_window_cmd.vim,
1972 src/testdir/test_writefile.vim
1973
1974Patch 8.2.0244
1975Problem: Compiler warning in Lua interface.
1976Solution: Add type cast. (Ken Takata, closes #5621)
1977Files: src/if_lua.c
1978
1979Patch 8.2.0245
1980Problem: MSVC: error message if the auto directory already exists.
1981Solution: Add "if not exists". (Ken Takata, closes #5620)
1982Files: src/Make_mvc.mak
1983
1984Patch 8.2.0246
1985Problem: MSVC: deprecation warnings with Ruby.
1986Solution: Move _CRT_SECURE_NO_DEPRECATE to build file. (Ken Takata,
1987 closes #5622)
1988Files: src/Make_mvc.mak, src/if_ruby.c, src/os_win32.h, src/vim.h,
1989 src/vimio.h
1990
1991Patch 8.2.0247
1992Problem: Misleading comment in NSIS installer script.
1993Solution: Negate the meaning of the comment. (Ken Takata, closes #5627)
1994Files: nsis/gvim.nsi
1995
1996Patch 8.2.0248
1997Problem: MS-Windows: dealing with deprecation is too complicated.
1998Solution: Use io.h directly. Move _CRT_SECURE_NO_DEPRECATE to the build
1999 file. Suppress C4091 warning by setting "_WIN32_WINNT". (Ken
2000 Takata, closes #5626)
2001Files: src/Make_mvc.mak, src/dosinst.h, src/vim.h, src/vimio.h,
2002 src/winclip.c, Filelist
2003
2004Patch 8.2.0249
2005Problem: MS-Windows: various warnings.
2006Solution: Set the charset to utf-8. Add _WIN32_WINNT and _USING_V110_SDK71_.
2007 (Ken Takata, closes #5625)
2008Files: src/GvimExt/Makefile, src/Make_mvc.mak
2009
2010Patch 8.2.0250
2011Problem: test_clear_search_pat() is unused.
2012Solution: Remove the function. (Yegappan Lakshmanan, closes #5624)
2013Files: runtime/doc/eval.txt, runtime/doc/testing.txt,
2014 runtime/doc/usr_41.txt, src/evalfunc.c, src/proto/regexp.pro,
2015 src/proto/search.pro, src/proto/testing.pro, src/regexp.c,
2016 src/search.c, src/testdir/test_writefile.vim, src/testing.c
2017
2018Patch 8.2.0251
2019Problem: A couple of function return types can be more specific.
2020Solution: Use a better return type. (Ken Takata, closes #5629)
2021Files: src/evalfunc.c, src/globals.h
2022
2023Patch 8.2.0252
2024Problem: Windows compiler warns for using size_t.
2025Solution: Change to int. (Mike Williams)
2026Files: src/vim9compile.c
2027
2028Patch 8.2.0253
2029Problem: Crash when using :disassemble without argument. (Dhiraj Mishra)
2030Solution: Check for missing argument. (Dominique Pellé, closes #5635,
2031 closes #5637)
2032Files: src/vim9execute.c, src/testdir/test_vim9_disassemble.vim,
2033 src/ex_cmds.h
2034
2035Patch 8.2.0254
2036Problem: Compiler warning for checking size_t to be negative.
2037Solution: Only check for zero. (Zoltan Arpadffy)
2038Files: src/vim9compile.c
2039
2040Patch 8.2.0255
2041Problem: VMS: missing files in build.
2042Solution: Add the files. (Zoltan Arpadffy)
2043Files: src/Make_vms.mms
2044
2045Patch 8.2.0256
2046Problem: Time and timer related code is spread out.
2047Solution: Move time and timer related code to a new file. (Yegappan
2048 Lakshmanan, closes #5604)
2049Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
2050 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
2051 src/evalfunc.c, src/ex_cmds.c, src/ex_cmds2.c, src/main.c,
2052 src/memline.c, src/misc1.c, src/misc2.c, src/proto.h,
2053 src/proto/ex_cmds.pro, src/proto/ex_cmds2.pro, src/proto/main.pro,
2054 src/proto/memline.pro, src/proto/misc1.pro, src/proto/misc2.pro,
2055 src/proto/time.pro, src/time.c
2056
2057Patch 8.2.0257
2058Problem: Cannot recognize a terminal in a popup window.
2059Solution: Add the win_gettype() function.
2060Files: runtime/doc/eval.txt, src/evalfunc.c, src/evalwindow.c,
2061 src/proto/evalwindow.pro, src/testdir/test_cmdline.vim,
2062 src/testdir/test_terminal.vim,
2063 src/testdir/dumps/Test_terminal_popup_1.dump
2064
2065Patch 8.2.0258
2066Problem: ModifyOtherKeys cannot be temporarily disabled.
2067Solution: Add echoraw() with an example for modifyOtherKeys.
2068Files: runtime/doc/eval.txt, src/evalfunc.c,
2069 src/testdir/test_functions.vim,
2070 src/testdir/dumps/Test_functions_echoraw.dump
2071
2072Patch 8.2.0259
2073Problem: Terminal in popup test sometimes fails.
2074Solution: Clear the command line.
2075Files: src/testdir/test_terminal.vim,
2076 src/testdir/dumps/Test_terminal_popup_1.dump
2077
2078Patch 8.2.0260
2079Problem: Several lines of code are duplicated.
2080Solution: Move duplicated code to a function. (Yegappan Lakshmanan,
2081 closes #5330)
2082Files: src/option.c, src/os_unix.c, src/os_win32.c, src/proto/term.pro,
2083 src/quickfix.c, src/regexp.c, src/regexp_bt.c, src/regexp_nfa.c,
2084 src/term.c
2085
2086Patch 8.2.0261
2087Problem: Some code not covered by tests.
2088Solution: Add test cases. (Yegappan Lakshmanan, closes #5645)
2089Files: src/testdir/test_buffer.vim, src/testdir/test_cmdline.vim,
2090 src/testdir/test_exists.vim, src/testdir/test_filechanged.vim,
2091 src/testdir/test_fileformat.vim, src/testdir/test_mapping.vim,
2092 src/testdir/test_marks.vim, src/testdir/test_normal.vim,
2093 src/testdir/test_plus_arg_edit.vim, src/testdir/test_quickfix.vim,
2094 src/testdir/test_tabpage.vim, src/testdir/test_visual.vim,
2095 src/testdir/test_window_cmd.vim, src/testdir/test_writefile.vim
2096
2097Patch 8.2.0262 (after 8.2.0261)
2098Problem: Fileformat test fails on MS-Windows.
2099Solution: Set fileformat of buffer.
2100Files: src/testdir/test_fileformat.vim
2101
2102Patch 8.2.0263
2103Problem: A few new Vim9 messages are not localized.
2104Solution: Add the gettext wrapper. (Dominique Pellé, closes #5647)
2105Files: src/vim9compile.c, src/vim9execute.c
2106
2107Patch 8.2.0264 (after 8.2.0262)
2108Problem: Fileformat test still fails on MS-Windows.
2109Solution: Set fileformat of buffer in the right place.
2110Files: src/testdir/test_fileformat.vim
2111
2112Patch 8.2.0265
2113Problem: "eval" after "if 0" doesn't check for following command.
2114Solution: Add "eval" to list of commands that check for a following command.
2115 (closes #5640)
2116Files: src/ex_docmd.c, src/testdir/test_expr.vim
2117
2118Patch 8.2.0266
2119Problem: Terminal in popup test sometimes fails on Mac.
2120Solution: Add a short delay.
2121Files: src/testdir/test_terminal.vim
2122
2123Patch 8.2.0267
2124Problem: No check for a following command when calling a function fails.
2125Solution: Also check for a following command when inside a try block.
2126 (closes #5642)
2127Files: src/userfunc.c, src/testdir/test_user_func.vim
2128
2129Patch 8.2.0268 (after 8.2.0267)
2130Problem: Trycatch test fails.
2131Solution: When calling function fails only check for following command, do
2132 not give another error.
2133Files: src/userfunc.c
2134
2135Patch 8.2.0269
2136Problem: Vim9: operator after list index does not work. (Yasuhiro
2137 Matsumoto)
2138Solution: After indexing a list change the type to the list member type.
2139 (closes #5651)
2140Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
2141
2142Patch 8.2.0270
2143Problem: Some code not covered by tests.
2144Solution: Add test cases. (Yegappan Lakshmanan, closes #5649)
2145Files: src/testdir/test_autocmd.vim, src/testdir/test_buffer.vim,
2146 src/testdir/test_edit.vim, src/testdir/test_ex_mode.vim,
2147 src/testdir/test_excmd.vim, src/testdir/test_expand.vim,
2148 src/testdir/test_filetype.vim, src/testdir/test_findfile.vim,
2149 src/testdir/test_join.vim, src/testdir/test_move.vim,
2150 src/testdir/test_normal.vim, src/testdir/test_registers.vim,
2151 src/testdir/test_source.vim, src/testdir/test_tabpage.vim,
2152 src/testdir/test_tagjump.vim, src/testdir/test_vimscript.vim,
2153 src/testdir/test_visual.vim, src/testdir/test_window_cmd.vim,
2154 src/testdir/test_writefile.vim
2155
2156Patch 8.2.0271
2157Problem: The "num64" feature is available everywhere and building without
2158 it causes problems.
2159Solution: Graduate the "num64" feature. (James McCoy, closes #5650)
2160Files: src/evalfunc.c, src/feature.h, src/message.c, src/structs.h,
2161 src/testdir/test_expr.vim, src/testdir/test_largefile.vim,
2162 src/testdir/test_sort.vim, src/testdir/test_vimscript.vim,
2163 src/version.c
2164
2165Patch 8.2.0272
2166Problem: ":helptags ALL" gives error for directories without write
2167 permission. (Matěj Cepl)
2168Solution: Ignore errors for ":helptags ALL". (Ken Takata, closes #5026,
2169 closes #5652)
2170Files: src/ex_cmds.c, src/testdir/test_help.vim
2171
2172Patch 8.2.0273
2173Problem: MS-Windows uninstall may delete wrong batch file.
2174Solution: Add specific marker in the generated batch file. (Ken Takata,
2175 closes #5654)
2176Files: src/Make_mvc.mak, src/dosinst.c, src/dosinst.h, src/uninstall.c
2177
2178Patch 8.2.0274
2179Problem: Hang with combination of feedkeys(), Ex mode and :global.
2180 (Yegappan Lakshmanan)
2181Solution: Add the pending_exmode_active flag.
2182Files: src/ex_docmd.c, src/globals.h, src/getchar.c,
2183 src/testdir/test_ex_mode.vim
2184
2185Patch 8.2.0275
2186Problem: Some Ex code not covered by tests.
2187Solution: Add test cases. (Yegappan Lakshmanan, closes #5659)
2188Files: src/testdir/test_arglist.vim, src/testdir/test_autocmd.vim,
2189 src/testdir/test_excmd.vim, src/testdir/test_quickfix.vim,
2190 src/testdir/test_search.vim, src/testdir/test_swap.vim,
2191 src/testdir/test_window_cmd.vim
2192
2193Patch 8.2.0276
2194Problem: Vim9: not allowing space before ")" in function call is too
2195 restrictive. (Ben Jackson)
2196Solution: Skip space before the ")". Adjust other space checks.
2197Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
2198
2199Patch 8.2.0277
2200Problem: Vim9: not all instructions covered by tests.
2201Solution: Add more test cases.
2202Files: src/testdir/test_vim9_disassemble.vim
2203
2204Patch 8.2.0278
2205Problem: Channel test is flaky on Mac.
2206Solution: Reset variable before sending message.
2207Files: src/testdir/test_channel.vim
2208
2209Patch 8.2.0279
2210Problem: Vim9: no test for deleted :def function.
2211Solution: Add a test. Clear uf_cleared flag when redefining a function.
2212Files: src/userfunc.c, src/testdir/test_vim9_script.vim
2213
2214Patch 8.2.0280
2215Problem: Vim9: throw in :def function not caught higher up.
2216Solution: Set "need_rethrow".
2217Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
2218
2219Patch 8.2.0281
2220Problem: Two placed signs in the same line are not combined. E.g. in the
2221 terminal debugger a breakpoint and the PC cannot be both be
2222 displayed.
2223Solution: Combine the sign column and line highlight attributes.
2224Files: src/sign.c, src/testdir/test_signs.vim,
2225 src/testdir/dumps/Test_sign_cursor_3.dump,
2226 src/testdir/dumps/Test_sign_cursor_4.dump
2227
2228Patch 8.2.0282
2229Problem: Vim9: setting number option not tested.
2230Solution: Add more tests. Fix assigning to global variable.
2231Files: src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim,
2232 src/vim9execute.c
2233
2234Patch 8.2.0283
2235Problem: Vim9: failing to load script var not tested.
2236Solution: Add more tests. Fix using s: in old script.
2237Files: src/testdir/test_vim9_expr.vim, src/vim9compile.c,
2238 src/testdir/test_vim9_script.vim
2239
2240Patch 8.2.0284
2241Problem: Vim9: assignment test fails.
2242Solution: Avoid duplicating "s:".
2243Files: src/vim9compile.c
2244
2245Patch 8.2.0285
2246Problem: Unused error message. Cannot create s:var.
2247Solution: Remove the error message. Make assignment to s:var work.
2248Files: src/vim9compile.c, src/vim9execute.c,
2249 src/testdir/test_vim9_script.vim
2250
2251Patch 8.2.0286
2252Problem: Cannot use popup_close() for a terminal popup.
2253Solution: Allow using popup_close(). (closes #5666)
2254Files: src/popupwin.c, runtime/doc/popup.txt,
2255 src/testdir/test_terminal.vim,
2256 src/testdir/dumps/Test_terminal_popup_5.dump,
2257 src/testdir/dumps/Test_terminal_popup_6.dump
2258
2259Patch 8.2.0287
2260Problem: Vim9: return in try block not tested; catch with pattern not
2261 tested.
2262Solution: Add tests. Make it work.
2263Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
2264
2265Patch 8.2.0288
2266Problem: Vim9: some float and blob operators not tested.
2267Solution: Add float and blob tests. Fix addition.
2268Files: src/testdir/test_vim9_expr.vim, src/vim9compile.c
2269
2270Patch 8.2.0289
2271Problem: Vim9: :echo did not clear the rest of the line.
2272Solution: Call msg_clr_eos(). (Ken Takata, closes #5668)
2273Files: src/vim9execute.c
2274
2275Patch 8.2.0290
2276Problem: Running individual test differs from all tests.
2277Solution: Pass on environment variables. (Yee Cheng Chin, closes #5672)
2278Files: src/testdir/Makefile, src/testdir/README.txt
2279
2280Patch 8.2.0291
2281Problem: Vim9: assigning [] to list<string> doesn't work.
2282Solution: Use void for empty list and dict. (Ken Takata, closes #5669)
2283Files: src/vim9compile.c, src/globals.h, src/testdir/test_vim9_script.vim
2284
2285Patch 8.2.0292
2286Problem: Vim9: CHECKNR and CHECKTYPE instructions not tested.
2287Solution: Add tests.
2288Files: src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim
2289
2290Patch 8.2.0293
2291Problem: Various Ex commands not sufficiently tested.
2292Solution: Add more test cases. (Yegappan Lakshmanan, closes #5673)
2293Files: src/testdir/test_arglist.vim, src/testdir/test_cmdline.vim,
2294 src/testdir/test_ex_mode.vim, src/testdir/test_excmd.vim,
2295 src/testdir/test_expand.vim, src/testdir/test_filetype.vim,
2296 src/testdir/test_filter_cmd.vim, src/testdir/test_global.vim,
2297 src/testdir/test_normal.vim, src/testdir/test_plus_arg_edit.vim,
2298 src/testdir/test_quickfix.vim, src/testdir/test_trycatch.vim,
2299 src/testdir/test_vimscript.vim
2300
2301Patch 8.2.0294
2302Problem: Cannot use Ex command that is also a function name.
2303Solution: Recognize an Ex command by a colon prefix.
2304Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
2305 runtime/doc/vim9.txt
2306
2307Patch 8.2.0295
2308Problem: Highlighting for :s wrong when using different separator.
2309Solution: Use separate argument for search direction and separator. (Rob
2310 Pilling, closes #5665)
2311Files: src/ex_docmd.c, src/ex_getln.c, src/gui.c, src/normal.c,
2312 src/proto/search.pro, src/quickfix.c, src/search.c, src/spell.c,
2313 src/tag.c, src/testdir/dumps/Test_incsearch_substitute_15.dump,
2314 src/testdir/test_search.vim
2315
2316Patch 8.2.0296
2317Problem: Mixing up "long long" and __int64 may cause problems. (John
2318 Marriott)
2319Solution: Pass varnumber_T to vim_snprintf(). Add v:numbersize.
2320Files: src/message.c, src/eval.c, src/fileio.c, src/json.c, src/ops.c,
2321 src/vim.h, src/structs.h, src/evalvars.c, runtime/doc/eval.txt,
2322 runtime/doc/various.txt, src/testdir/test_eval_stuff.vim
2323
2324Patch 8.2.0297
2325Problem: Compiler warnings for the Ruby interface.
2326Solution: Undefine a few macros, fix initialization. (Ozaki Kiichi,
2327 closes #5677)
2328Files: src/if_ruby.c
2329
2330Patch 8.2.0298
2331Problem: Vim9 script: cannot start command with a string constant.
2332Solution: Recognize expression starting with '('.
2333Files: src/ex_docmd.c, src/vim9compile.c,
2334 src/testdir/test_vim9_script.vim, runtime/doc/vim9.txt
2335
2336Patch 8.2.0299
2337Problem: Vim9: ISN_STORE with argument not tested. Some cases in tv2bool()
2338 not tested.
2339Solution: Add tests. Add test_unknown() and test_void().
2340Files: src/testing.c, src/proto/testing.pro, src/evalfunc.c,
2341 src/testdir/test_vim9_disassemble.vim,
2342 src/testdir/test_vim9_expr.vim, runtime/doc/eval.txt,
2343 runtime/doc/testing.txt
2344
2345Patch 8.2.0300
2346Problem: Vim9: expression test fails without channel support.
2347Solution: Add has('channel') check.
2348Files: src/testdir/test_vim9_expr.vim
2349
2350Patch 8.2.0301
2351Problem: Insufficient testing for exception handling and the "attention"
2352 prompt.
2353Solution: Add test cases. (Yegappan Lakshmanan, closes #5681)
2354Files: src/testdir/test_swap.vim, src/testdir/test_trycatch.vim
2355
2356Patch 8.2.0302
2357Problem: Setting 'term' may cause error in TermChanged autocommand.
2358Solution: Use aucmd_prepbuf() to switch to the buffer where the autocommand
2359 is to be executed. (closes #5682)
2360Files: src/term.c, src/testdir/test_autocmd.vim
2361
2362Patch 8.2.0303
2363Problem: TermChanged test fails in the GUI.
2364Solution: Skip the test when running the GUI.
2365Files: src/testdir/test_autocmd.vim
2366
2367Patch 8.2.0304
2368Problem: Terminal test if failing on some systems.
2369Solution: Wait for the job to finish. (James McCoy)
2370Files: src/testdir/test_terminal.vim
2371
2372Patch 8.2.0305
2373Problem: Relativenumber test fails on some systems. (James McCoy)
2374Solution: Clear the command line.
2375Files: src/testdir/test_number.vim,
2376 src/testdir/dumps/Test_relnr_colors_2.dump,
2377 src/testdir/dumps/Test_relnr_colors_3.dump
2378
2379Patch 8.2.0306
2380Problem: Vim9: :substitute(pat(repl does not work in Vim9 script.
2381Solution: Remember starting with a colon. (closes #5676)
2382Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
2383
2384Patch 8.2.0307
2385Problem: Python 3 vim.eval not well tested.
2386Solution: Add a test. (Dominique Pellé, closes #5680)
2387Files: src/testdir/test_python3.vim
2388
2389Patch 8.2.0308
2390Problem: 'showbreak' does not work for a very long line. (John Little)
2391Solution: Check whether 'briopt' contains "sbr". (Ken Takata, closes #5523,
2392 closes #5684)
2393Files: src/drawline.c, src/testdir/test_breakindent.vim
2394
2395Patch 8.2.0309
2396Problem: Window-local values have confusing name.
2397Solution: Rename w_p_bri* to w_briopt_*.
2398Files: src/structs.h, src/indent.c, src/drawline.c
2399
2400Patch 8.2.0310
2401Problem: Autocmd test fails on a slow system.
2402Solution: Adjust the expectations. (James McCoy, closes #5685)
2403Files: src/testdir/test_autocmd.vim
2404
2405Patch 8.2.0311
2406Problem: Vim9: insufficient script tests.
2407Solution: Add tests. Free imports when re-using a script.
2408Files: src/testdir/test_vim9_script.vim, src/scriptfile.c
2409
2410Patch 8.2.0312
2411Problem: Vim9: insufficient script tests.
2412Solution: Add more tests. Make "import * as Name" work.
2413Files: src/testdir/test_vim9_script.vim, src/vim9script.c,
2414 src/proto/vim9script.pro, src/vim9compile.c
2415
2416Patch 8.2.0313
2417Problem: Vim9: insufficient script tests.
2418Solution: Add tests. Make import of alphanumeric name work.
2419Files: src/testdir/test_vim9_script.vim, src/vim9script.c
2420
2421Patch 8.2.0314
2422Problem: Short name not set for terminal buffer.
2423Solution: Set the short name. (closes #5687)
2424Files: src/terminal.c, src/testdir/test_terminal.vim
2425
2426Patch 8.2.0315
2427Problem: Build failure on HP-UX system.
2428Solution: Use LONG_LONG_MIN instead of LLONG_MIN. Add type casts for switch
2429 statement. (John Marriott)
2430Files: src/structs.h, src/json.c
2431
2432Patch 8.2.0316
2433Problem: ex_getln.c code has insufficient test coverage.
2434Solution: Add more tests. Fix a problem. (Yegappan Lakshmanan, closes #5693)
2435Files: src/cmdhist.c, src/testdir/test_cmdline.vim,
2436 src/testdir/test_functions.vim, src/testdir/test_history.vim,
2437 src/testdir/test_menu.vim
2438
2439Patch 8.2.0317
2440Problem: MSVC: _CRT_SECURE_NO_DEPRECATE not defined on DEBUG build.
2441Solution: Move where CFLAGS is updated. (Ken Takata, closes #5692)
2442Files: src/Make_mvc.mak
2443
2444Patch 8.2.0318
2445Problem: Vim9: types not sufficiently tested.
2446Solution: Add tests with more types.
2447Files: src/globals.h, src/vim9compile.c,
2448 src/testdir/test_vim9_script.vim, src/testdir/test_vim9_expr.vim
2449
2450Patch 8.2.0319
2451Problem: File missing in distribution, comments outdated.
2452Solution: Correct path of README file. Update comments.
2453Files: Filelist, src/evalvars.c, src/register.c, src/if_python3.c
2454
2455Patch 8.2.0320
2456Problem: No Haiku support.
2457Solution: Add support for Haiku. (Emir Sarı, closes #5605)
2458Files: Filelist, runtime/doc/Makefile, runtime/doc/eval.txt,
2459 runtime/doc/gui.txt, runtime/doc/help.txt,
2460 runtime/doc/options.txt, runtime/doc/os_haiku.txt,
2461 runtime/doc/starting.txt, runtime/doc/tags,
2462 runtime/gvimrc_example.vim, runtime/vimrc_example.vim,
2463 src/INSTALL, src/Makefile, src/auto/configure, src/configure.ac,
2464 src/evalfunc.c, src/feature.h, src/fileio.c, src/globals.h,
2465 src/gui.c, src/gui.h, src/gui_haiku.cc, src/gui_haiku.h,
2466 src/mbyte.c, src/menu.c, src/misc1.c, src/mouse.c, src/option.h,
2467 src/os_haiku.h, src/os_haiku.rdef, src/os_unix.c, src/os_unix.h,
2468 src/osdef1.h.in, src/proto.h, src/proto/gui_haiku.pro, src/pty.c,
2469 src/screen.c, src/structs.h, src/term.c, src/version.c, src/vim.h
2470
2471Patch 8.2.0321
2472Problem: Vim9: ":execute" does not work yet.
2473Solution: Add ISN_EXECUTE. (closes #5699) Also make :echo work with more
2474 than one argument.
2475Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
2476 src/testdir/test_vim9_disassemble.vim,
2477 src/testdir/test_vim9_script.vim
2478
2479Patch 8.2.0322
2480Problem: Vim9: error checks not tested.
2481Solution: Add more test cases. Avoid error for function loaded later.
2482Files: src/vim9compile.c, src/evalvars.c, src/testdir/test_vim9_script.vim
2483
2484Patch 8.2.0323
2485Problem: Vim9: calling a function that is defined later is slow.
2486Solution: Once the function is found update the instruction so it can be
2487 called directly.
2488Files: src/vim9execute.c, src/testdir/test_vim9_script.vim,
2489 src/testdir/test_vim9_disassemble.vim
2490
2491Patch 8.2.0324
2492Problem: Text property not updated correctly when inserting/deleting.
2493Solution: Use the right column when deleting. Make zero-width text
2494 properties respect start_incl and end_incl. (Axel Forsman,
2495 closes #5696, closes #5679)
2496Files: src/change.c, src/textprop.c, src/testdir/test_listener.vim,
2497 src/testdir/test_textprop.vim
2498
2499Patch 8.2.0325
2500Problem: Ex_getln.c code not covered by tests.
2501Solution: Add a few more tests. (Yegappan Lakshmanan, closes #5702)
2502Files: src/testdir/test_cmdline.vim, src/testdir/test_ex_mode.vim,
2503 src/testdir/test_functions.vim, src/testdir/test_history.vim,
2504 src/testdir/test_options.vim
2505
2506Patch 8.2.0326
2507Problem: Compiler warning for using uninitialized variable. (Yegappan
2508 Lakshmanan)
2509Solution: Do not jump to failed but return.
2510Files: src/vim9execute.c
2511
2512Patch 8.2.0327
2513Problem: Crash when opening and closing two popup terminal windows.
2514Solution: Check that prevwin is valid. (closes #5707)
2515Files: src/popupwin.c, src/testdir/test_terminal.vim
2516
2517Patch 8.2.0328
2518Problem: No redraw when leaving terminal-normal mode in a terminal popup
2519 window.
2520Solution: Redraw the popup window. (closes #5708)
2521Files: src/macros.h, src/vim.h, src/terminal.c, src/drawscreen.c,
2522 src/move.c, src/popupwin.c, src/testdir/test_terminal.vim,
2523 src/testdir/dumps/Test_terminal_popup_7.dump,
2524 src/testdir/dumps/Test_terminal_popup_8.dump
2525
2526Patch 8.2.0329
2527Problem: Popup filter converts 0x80 bytes.
2528Solution: Keep 0x80 bytes as-is. (Ozaki Kiichi, closes #5706)
2529Files: src/popupwin.c, src/testdir/test_popupwin.vim
2530
2531Patch 8.2.0330
2532Problem: Build error with popup window but without terminal.
2533Solution: Add #ifdef.
2534Files: src/popupwin.c
2535
2536Patch 8.2.0331
2537Problem: Internal error when using test_void() and test_unknown().
2538 (Dominique Pellé)
2539Solution: Give a normal error.
2540Files: src/evalfunc.c, src/testdir/test_functions.vim,
2541 src/testdir/test_vimscript.vim
2542
2543Patch 8.2.0332
2544Problem: Some code in ex_getln.c not covered by tests.
2545Solution: Add a few more tests. (Yegappan Lakshmanan, closes #5710)
2546Files: src/testdir/test_arabic.vim, src/testdir/test_cmdline.vim
2547
2548Patch 8.2.0333
2549Problem: Terminal in popup test is flaky.
2550Solution: Make sure redraw is done before opening the popup.
2551Files: src/testdir/test_terminal.vim,
2552 src/testdir/dumps/Test_terminal_popup_1.dump
2553
2554Patch 8.2.0334
2555Problem: Abort called when using test_void(). (Dominique Pellé)
2556Solution: Only give an error, don't abort.
2557Files: src/message.c, src/proto/message.pro, src/evalfunc.c,
2558 src/eval.c, src/json.c, src/testdir/test_functions.vim
2559
2560Patch 8.2.0335
2561Problem: No completion for :disassemble.
2562Solution: Make completion work. Also complete script-local functions if the
2563 name starts with "s:".
2564Files: src/cmdexpand.c, src/testdir/test_cmdline.vim,
2565 runtime/doc/vim9.txt
2566
2567Patch 8.2.0336
2568Problem: Vim9: insufficient test coverage for compiling.
2569Solution: Add more tests.
2570Files: src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim,
2571 src/vim9.h, src/vim9compile.c, src/vim9execute.c
2572
2573Patch 8.2.0337
2574Problem: Build fails on a few systems.
2575Solution: Use vim_snprintf() instead of snprintf().
2576Files: src/cmdexpand.c
2577
2578Patch 8.2.0338
2579Problem: Build failure without the channel feature.
2580Solution: Add #ifdef
2581Files: src/vim9compile.c
2582
2583Patch 8.2.0339
2584Problem: Vim9: function return type may depend on arguments.
2585Solution: Instead of a fixed return type use a function to figure out the
2586 return type.
2587Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9compile.c,
2588 src/evalbuffer.c, src/proto/evalbuffer.pro,
2589 src/testdir/test_vim9_script.vim
2590
2591Patch 8.2.0340
2592Problem: Vim9: function and partial types not tested.
2593Solution: Support more for partial, add tests.
2594Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
2595 src/testdir/test_vim9_script.vim
2596
2597Patch 8.2.0341
2598Problem: Using ":for" in Vim9 script gives an error.
2599Solution: Pass the LET_NO_COMMAND flag. (closes #5715)
2600Files: src/eval.c, src/testdir/test_vim9_script.vim
2601
2602Patch 8.2.0342
2603Problem: Some code in ex_getln.c not covered by tests.
2604Solution: Add more tests. (Yegappan Lakshmanan, closes #5717)
2605Files: src/testdir/test_cmdline.vim, src/testdir/test_ex_mode.vim,
2606 src/testdir/test_history.vim, src/testdir/test_iminsert.vim
2607
2608Patch 8.2.0343
2609Problem: Vim9: using wrong instruction, limited test coverage.
2610Solution: Use ISN_PUSHJOB. Add a few more tests.
2611Files: src/vim9compile.c, src/vim9execute.c,
2612 src/testdir/test_vim9_script.vim,
2613 src/testdir/test_vim9_disassemble.vim
2614
2615Patch 8.2.0344
2616Problem: ":def" not skipped properly.
2617Solution: Add CMD_def to list of commands the require evaluation even when
2618 not being executed.
2619Files: src/ex_docmd.c
2620
2621Patch 8.2.0345
2622Problem: Compiler warning when building without the float feature.
2623Solution: Add #ifdef. (John Marriott)
2624Files: src/evalfunc.c
2625
2626Patch 8.2.0346
2627Problem: Vim9: finding common list type not tested.
2628Solution: Add more tests. Fix listing function. Fix overwriting type.
2629Files: src/vim9compile.c, src/userfunc.c,
2630 src/testdir/test_vim9_script.vim, src/testdir/runtest.vim,
2631 src/testdir/test_vim9_disassemble.vim
2632
2633Patch 8.2.0347
2634Problem: Various code not covered by tests.
2635Solution: Add more test coverage. (Yegappan Lakshmanan, closes #5720)
2636Files: src/testdir/gen_opt_test.vim, src/testdir/test86.in,
2637 src/testdir/test_cmdline.vim, src/testdir/test_digraph.vim,
2638 src/testdir/test_ex_mode.vim, src/testdir/test_history.vim
2639
2640Patch 8.2.0348
2641Problem: Vim9: not all code tested.
2642Solution: Add a few more tests. fix using "b:" in literal dictionary.
2643Files: src/testdir/test_vim9_expr.vim, src/vim9compile.c,
2644 src/proto/vim9compile.pro, src/testdir/test_vim9_script.vim
2645
2646Patch 8.2.0349
2647Problem: Vim9: constant expression not well tested.
2648Solution: Add tests for "if" with constant expression.
2649Files: src/testdir/test_vim9_script.vim
2650
2651Patch 8.2.0350
2652Problem: Vim9: expression tests don't use recognized constants.
2653Solution: Recognize "true" and "false" as constants. Make skipping work for
2654 assignment and expression evaluation.
2655Files: src/vim9compile.c
2656
2657Patch 8.2.0351
2658Problem: Terminal in popup test is still a bit flaky.
2659Solution: Clear and redraw before opening the popup.
2660Files: src/testdir/test_terminal.vim
2661
2662Patch 8.2.0352
2663Problem: FreeBSD: test for sourcing utf-8 is skipped.
2664Solution: Run the matchadd_conceal test separately to avoid that setting
2665 'term' to "ansi" causes problems for other tests. (Ozaki Kiichi,
2666 closes #5721)
2667Files: src/testdir/Make_all.mak, src/testdir/test_alot_utf8.vim,
2668 src/testdir/test_source_utf8.vim
2669
2670Patch 8.2.0353
2671Problem: Vim9: while loop not tested.
2672Solution: Add test with "while", "break" and "continue"
2673Files: src/testdir/test_vim9_script.vim
2674
2675Patch 8.2.0354
2676Problem: Python 3.9 does not define _Py_DEC_REFTOTAL. (Zdenek Dohnal)
2677Solution: Remove it, it was only for debugging.
2678Files: src/if_python3.c
2679
2680Patch 8.2.0355
2681Problem: Vim9: str_val is confusing, it's a number
2682Solution: Rename to stnr_val.
2683Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c
2684
2685Patch 8.2.0356
2686Problem: MS-Windows: feedkeys() with VIMDLL cannot handle CSI correctly.
2687Solution: Modify mch_inchar() to encode CSI bytes. (Ozaki Kiichi, Ken
2688 Takata, closes #5726)
2689Files: src/getchar.c, src/os_win32.c, src/testdir/test_popupwin.vim
2690
2691Patch 8.2.0357
2692Problem: Cannot delete a text property matching both id and type. (Axel
2693 Forsman)
2694Solution: Add the "both" argument.
2695Files: src/textprop.c, runtime/doc/textprop.txt,
2696 src/testdir/test_textprop.vim
2697
2698Patch 8.2.0358
2699Problem: Insufficient testing for indent.c.
2700Solution: Add indent tests. (Yegappan Lakshmanan, closes #5736)
2701Files: src/testdir/Make_all.mak, src/testdir/test_ex_mode.vim,
2702 src/testdir/test_expand_func.vim, src/testdir/test_indent.vim,
2703 src/testdir/test_lispwords.vim, src/testdir/test_smartindent.vim,
2704 src/testdir/test_vartabs.vim
2705
2706Patch 8.2.0359
2707Problem: popup_atcursor() may hang. (Yasuhiro Matsumoto)
2708Solution: Take the decoration into account. (closes #5728)
2709Files: src/popupwin.c, src/testdir/test_popupwin.vim
2710
2711Patch 8.2.0360
2712Problem: Yaml files are only recognized by the file extension.
2713Solution: Check for a line starting with "%YAML". (Jason Franklin)
2714Files: runtime/scripts.vim, src/testdir/test_filetype.vim
2715
2716Patch 8.2.0361
2717Problem: Internal error when using "0" for a callback.
2718Solution: Give a normal error. (closes #5743)
2719Files: src/evalvars.c, src/testdir/test_timers.vim
2720
2721Patch 8.2.0362
2722Problem: MS-Windows: channel test fails if grep is not available.
2723Solution: Use another command. (Ken Takata, closes #5739)
2724Files: src/testdir/test_channel.vim
2725
2726Patch 8.2.0363
2727Problem: Some Normal mode commands not tested.
2728Solution: Add more tests. (Yegappan Lakshmanan, closes #5746)
2729Files: src/testdir/test_cindent.vim, src/testdir/test_cmdline.vim,
2730 src/testdir/test_edit.vim, src/testdir/test_indent.vim,
2731 src/testdir/test_normal.vim, src/testdir/test_prompt_buffer.vim,
2732 src/testdir/test_virtualedit.vim, src/testdir/test_visual.vim
2733
2734Patch 8.2.0364
2735Problem: Printf test failing on Haiku.
2736Solution: Make a difference between int and short. (Dominique Pellé,
2737 closes #5749)
2738Files: src/message.c
2739
2740Patch 8.2.0365
2741Problem: Tag kind can't be a multibyte character. (Marcin Szamotulski)
2742Solution: Recognize multibyte character. (closes #5724)
2743Files: src/tag.c, src/testdir/test_taglist.vim
2744
2745Patch 8.2.0366
2746Problem: Hardcopy command not tested enough.
2747Solution: Add tests for printing. (Dominique Pellé, closes #5748)
2748Files: src/testdir/test_hardcopy.vim
2749
2750Patch 8.2.0367
2751Problem: Can use :pedit in a popup window.
2752Solution: Disallow it.
Bram Moolenaar47c532e2022-03-19 15:18:53 +00002753Files: src/ex_docmd.c, src/testdir/test_popupwin.vim
Bram Moolenaarc51cf032022-02-26 12:25:45 +00002754
2755Patch 8.2.0368
2756Problem: Vim9: import that redefines local variable does not fail.
2757Solution: Check for already defined symbols.
2758Files: src/vim9script.c, src/proto/vim9script.pro, src/vim9compile.c,
2759 src/proto/vim9compile.pro, src/testdir/test_vim9_script.vim
2760
2761Patch 8.2.0369
2762Problem: Various Normal mode commands not fully tested.
2763Solution: Add more tests. (Yegappan Lakshmanan, closes #5751)
2764Files: src/testdir/test_arglist.vim, src/testdir/test_changelist.vim,
2765 src/testdir/test_charsearch.vim, src/testdir/test_cmdline.vim,
2766 src/testdir/test_edit.vim, src/testdir/test_ex_mode.vim,
2767 src/testdir/test_excmd.vim, src/testdir/test_gf.vim,
2768 src/testdir/test_iminsert.vim, src/testdir/test_increment.vim,
2769 src/testdir/test_marks.vim, src/testdir/test_normal.vim,
2770 src/testdir/test_prompt_buffer.vim, src/testdir/test_put.vim,
2771 src/testdir/test_registers.vim, src/testdir/test_tagjump.vim,
2772 src/testdir/test_visual.vim
2773
2774Patch 8.2.0370
2775Problem: The typebuf_was_filled flag is sometimes not reset, which may
2776 cause a hang.
2777Solution: Make sure typebuf_was_filled is reset when the typeahead buffer is
2778 empty.
2779Files: src/edit.c, src/getchar.c,
2780
2781Patch 8.2.0371
2782Problem: Crash with combination of terminal popup and autocmd.
2783Solution: Disallow closing a popup that is the current window. Add a check
2784 that the current buffer is valid. (closes #5754)
2785Files: src/macros.h, src/buffer.c, src/popupwin.c, src/terminal.c,
2786 src/testdir/test_terminal.vim
2787
2788Patch 8.2.0372
2789Problem: Prop_find() may not find text property at start of the line.
2790Solution: Adjust the loop to find properties. (Axel Forsman, closes #5761,
2791 closes #5663)
Bram Moolenaar47c532e2022-03-19 15:18:53 +00002792Files: src/textprop.c, src/testdir/test_textprop.vim
Bram Moolenaarc51cf032022-02-26 12:25:45 +00002793
2794Patch 8.2.0373
2795Problem: Type of term_sendkeys() is unknown.
2796Solution: Just return zero. (closes #5762)
2797Files: src/terminal.c, src/testdir/test_terminal.vim
2798
2799Patch 8.2.0374
2800Problem: Using wrong printf directive for jump location.
2801Solution: Change "%lld" to "%d". (James McCoy, closes #5773)
2802Files: src/vim9execute.c
2803
2804Patch 8.2.0375
2805Problem: Coverity warning for not using return value.
2806Solution: Move error message to separate function.
2807Files: src/popupwin.c
2808
2809Patch 8.2.0376
2810Problem: Nasty callback test fails on some systems.
2811Solution: Increase the sleep time.
2812Files: src/testdir/test_terminal.vim
2813
2814Patch 8.2.0377
2815Problem: No CI test for a big-endian system.
2816Solution: Test with s390x. (James McCoy, closes #5772)
2817Files: .travis.yml
2818
2819Patch 8.2.0378
2820Problem: prop_find() does not find all props.
2821Solution: Check being in the start line. (Axel Forsman, closes #5776)
2822Files: src/textprop.c, src/testdir/test_textprop.vim
2823
2824Patch 8.2.0379
2825Problem: Gcc warns for ambiguous else.
2826Solution: Add braces. (Dominique Pellé, closes #5778)
2827Files: src/textprop.c
2828
2829Patch 8.2.0380
2830Problem: Tiny popup when creating a terminal popup without minwidth.
2831Solution: Use a default minimum size of 5 lines of 20 characters.
2832Files: src/popupwin.c, src/testdir/test_terminal.vim,
2833 src/testdir/dumps/Test_terminal_popup_m1.dump
2834
2835Patch 8.2.0381
2836Problem: Using freed memory with :lvimgrep and autocommand. (extracted from
2837 POC by Dominique Pellé)
2838Solution: Avoid deleting a dummy buffer used in a window. (closes #5777)
2839Files: src/quickfix.c, src/testdir/test_quickfix.vim
2840
2841Patch 8.2.0382
2842Problem: Some tests fail when run under valgrind.
2843Solution: Increase timeouts.
2844Files: src/testdir/test_autocmd.vim, src/testdir/test_debugger.vim,
2845 src/testdir/test_channel.vim, src/testdir/test_ins_complete.vim,
2846 src/testdir/test_terminal.vim,
2847 src/testdir/dumps/Test_terminal_popup_1.dump,
2848 src/testdir/dumps/Test_terminal_popup_2.dump,
2849 src/testdir/dumps/Test_terminal_popup_3.dump,
2850 src/testdir/dumps/Test_terminal_popup_5.dump,
2851 src/testdir/dumps/Test_terminal_popup_6.dump,
2852 src/testdir/dumps/Test_terminal_popup_7.dump,
2853 src/testdir/dumps/Test_terminal_popup_8.dump,
2854 src/testdir/dumps/Test_terminal_popup_m1.dump
2855
2856Patch 8.2.0383
2857Problem: Wrong feature check causes test not to be run.
2858Solution: Use CheckFunction instead of CheckFeature. (Ozaki Kiichi,
2859 closes #5781)
2860Files: src/testdir/test_channel.vim
2861
2862Patch 8.2.0384
2863Problem: Travis CI has warnings.
2864Solution: Avoid warnings, clean up the config. (Ozaki Kiichi, closes #5779)
2865Files: .travis.yml
2866
2867Patch 8.2.0385
2868Problem: Menu functionality insufficiently tested.
2869Solution: Add tests. Add menu_info(). (Yegappan Lakshmanan, closes #5760)
2870Files: runtime/doc/eval.txt, runtime/doc/gui.txt, runtime/doc/usr_41.txt,
2871 src/evalfunc.c, src/menu.c, src/proto/menu.pro,
2872 src/testdir/test_menu.vim, src/testdir/test_popup.vim,
2873 src/testdir/test_termcodes.vim
2874
2875Patch 8.2.0386 (after 8.2.0385)
2876Problem: Part from unfinished patch got included.
2877Solution: Undo that part.
2878Files: src/evalfunc.c
2879
2880Patch 8.2.0387
2881Problem: Error for possible NULL argument to qsort().
2882Solution: Don't call qsort() when there is nothing to sort. (Dominique
2883 Pellé, closes #5780)
2884Files: src/spellsuggest.c
2885
2886Patch 8.2.0388
2887Problem: Printmbcharset option not tested.
2888Solution: Add a test. Enable PostScript for AppVeyor build. (Dominique
2889 Pellé, closes #5783)
2890Files: appveyor.yml, src/testdir/test_hardcopy.vim
2891
2892Patch 8.2.0389
2893Problem: Delayed redraw when shifting text from Insert mode.
2894Solution: Use msg_attr_keep() instead of msg(). (closes #5782)
2895Files: src/ops.c
2896
2897Patch 8.2.0390
2898Problem: Terminal postponed scrollback test is flaky.
2899Solution: Add delay in between sending keys. Rename dump files.
2900Files: src/testdir/test_terminal.vim,
2901 src/testdir/dumps/Test_terminal_01.dump,
2902 src/testdir/dumps/Test_terminal_02.dump,
2903 src/testdir/dumps/Test_terminal_03.dump,
2904 src/testdir/dumps/Test_terminal_scrollback_1.dump,
2905 src/testdir/dumps/Test_terminal_scrollback_2.dump,
2906 src/testdir/dumps/Test_terminal_scrollback_3.dump
2907
2908Patch 8.2.0391 (after 8.2.0377)
2909Problem: CI test coverage dropped.
2910Solution: Set $DISPLAY also for non-GUI builds. (James McCoy, closes #5788)
2911Files: .travis.yml
2912
2913Patch 8.2.0392
2914Problem: Coverity warns for using array index out of range.
2915Solution: Add extra "if" to avoid warning.
2916Files: src/menu.c
2917
2918Patch 8.2.0393
2919Problem: Coverity warns for not using return value.
2920Solution: Add (void).
2921Files: src/popupmenu.c
2922
2923Patch 8.2.0394
2924Problem: Coverity complains about using NULL pointer.
2925Solution: Use empty string when option value is NULL.
2926Files: src/optionstr.c
2927
2928Patch 8.2.0395
2929Problem: Build fails with FEAT_EVAL but without FEAT_MENU.
2930Solution: Add #ifdef. (John Marriott)
2931Files: src/evalfunc.c
2932
2933Patch 8.2.0396
2934Problem: Cmdexpand.c insufficiently tested.
2935Solution: Add more tests. (Yegappan Lakshmanan, closes #5789)
2936Files: src/testdir/test_cmdline.vim, src/testdir/test_taglist.vim,
2937 src/testdir/test_terminal.vim, src/testdir/test_usercommands.vim
2938
2939Patch 8.2.0397
2940Problem: Delayed screen update when using undo from Insert mode.
2941Solution: Update w_topline and cursor shape before sleeping. (closes #5790)
2942Files: src/normal.c
2943
2944Patch 8.2.0398
2945Problem: Profile test fails when two functions take same time.
2946Solution: Add a short sleep in once function. (closes #5797)
2947Files: src/testdir/test_profile.vim
2948
2949Patch 8.2.0399
2950Problem: Various memory leaks.
2951Solution: Avoid the leaks. (Ozaki Kiichi, closes #5803)
2952Files: src/ex_docmd.c, src/ex_getln.c, src/menu.c, src/message.c,
2953 src/scriptfile.c, src/userfunc.c
2954
2955Patch 8.2.0400
2956Problem: Not all tests using a terminal are in the list of flaky tests.
2957Solution: Introduce the test_is_flaky flag.
2958Files: src/testdir/runtest.vim, src/testdir/term_util.vim,
2959 src/testdir/screendump.vim, src/testdir/test_autocmd.vim
2960
2961Patch 8.2.0401
2962Problem: Not enough test coverage for evalvars.c.
2963Solution: Add more tests. (Yegappan Lakshmanan, closes #5804)
2964Files: src/testdir/test_cmdline.vim, src/testdir/test_const.vim,
2965 src/testdir/test_diffmode.vim, src/testdir/test_excmd.vim,
2966 src/testdir/test_functions.vim, src/testdir/test_let.vim,
2967 src/testdir/test_listdict.vim, src/testdir/test_spell.vim,
2968 src/testdir/test_unlet.vim, src/testdir/test_user_func.vim,
2969 src/testdir/test_vimscript.vim
2970
2971Patch 8.2.0402 (after 8.2.0401)
2972Problem: Setting local instead of global flag.
2973Solution: Prepend "g:" to "test_is_flaky".
2974Files: src/testdir/term_util.vim, src/testdir/screendump.vim,
2975 src/testdir/test_autocmd.vim
2976
2977Patch 8.2.0403
2978Problem: When 'buftype' is "nofile" there is no overwrite check.
2979Solution: Also check for existing file when 'buftype' is set.
2980 (closes #5807)
2981Files: src/ex_cmds.c, src/testdir/test_options.vim
2982
2983Patch 8.2.0404
2984Problem: Writefile() error does not give a hint.
2985Solution: Add remark about first argument.
2986Files: src/filepath.c, src/testdir/test_writefile.vim
2987
2988Patch 8.2.0405
2989Problem: MSVC: build fails with some combination of features.
2990Solution: Enable CHANNEL if TERMINAL is enabled. (Mike Williams)
2991Files: src/Make_mvc.mak
2992
2993Patch 8.2.0406
2994Problem: FileReadCmd event not well tested.
2995Solution: Add a test.
2996Files: src/testdir/test_autocmd.vim
2997
2998Patch 8.2.0407
2999Problem: No early check if :find and :sfind have an argument.
3000Solution: Add EX_NEEDARG.
3001Files: src/ex_cmds.h, src/testdir/test_findfile.vim,
3002 src/testdir/test_find_complete.vim
3003
3004Patch 8.2.0408
3005Problem: Delete() commented out for testing.
3006Solution: Undo commenting-out.
3007Files: src/testdir/test_vim9_disassemble.vim
3008
3009Patch 8.2.0409
3010Problem: Search test leaves file behind.
3011Solution: Delete the file. Also use Check commands.
3012Files: src/testdir/test_search.vim
3013
3014Patch 8.2.0410
3015Problem: Channel test fails too often on slow Mac.
3016Solution: Increase waiting time to 10 seconds.
3017Files: src/testdir/test_channel.vim
3018
3019Patch 8.2.0411
3020Problem: Mac: breakcheck is using a value from the stone ages.
3021Solution: Delete BREAKCHECK_SKIP from the Mac header file. (Ben Jackson)
3022Files: src/os_mac.h
3023
3024Patch 8.2.0412
3025Problem: MS-Windows: cannot use vimtutor from the start menu.
3026Solution: Better check for writable directory. Use the right path for the
3027 executable. (Wu Yongwei, closes #5774, closes #5756)
3028Files: vimtutor.bat
3029
3030Patch 8.2.0413
3031Problem: Buffer menu does not handle special buffers properly.
3032Solution: Keep a dictionary with buffer names to reliably keep track of
3033 entries.
3034 Also trigger BufFilePre and BufFilePost for command-line and
3035 terminal buffers when the name changes.
3036Files: src/testdir/test_alot.vim, src/testdir/Make_all.mak,
3037 runtime/menu.vim, src/ex_getln.c, src/terminal.c,
3038 src/testdir/test_menu.vim
3039
3040Patch 8.2.0414
3041Problem: Channel connect_waittime() test is flaky.
3042Solution: Set the test_is_flaky flag. Use test_is_flaky for more tests.
3043Files: src/testdir/test_channel.vim, src/testdir/test_terminal.vim,
3044 src/testdir/runtest.vim
3045
3046Patch 8.2.0415
3047Problem: Bsdl filetype is not detected.
3048Solution: Add an entry in the filetype list. (Daniel Kho, closes #5810)
3049Files: runtime/filetype.vim, src/testdir/test_filetype.vim
3050
3051Patch 8.2.0416
3052Problem: Test leaves file behind.
3053Solution: Delete the file.
3054Files: src/testdir/test_indent.vim
3055
3056Patch 8.2.0417
3057Problem: Travis CI config can be improved.
3058Solution: Remove COVERAGE variable. Add load-snd-dummy script. add "-i NONE"
3059 to avoid messages about viminfo. (Ozaki Kiichi, closes #5813)
3060Files: .travis.yml, ci/load-snd-dummy.sh
3061
3062Patch 8.2.0418
3063Problem: Code in eval.c not sufficiently covered by tests.
3064Solution: Add more tests. (Yegappan Lakshmanan, closes #5815)
3065Files: src/testdir/test_blob.vim, src/testdir/test_channel.vim,
3066 src/testdir/test_cmdline.vim, src/testdir/test_eval_stuff.vim,
3067 src/testdir/test_expr.vim, src/testdir/test_functions.vim,
3068 src/testdir/test_job_fails.vim, src/testdir/test_lambda.vim,
3069 src/testdir/test_let.vim, src/testdir/test_listdict.vim,
3070 src/testdir/test_marks.vim, src/testdir/test_method.vim,
3071 src/testdir/test_normal.vim, src/testdir/test_unlet.vim,
3072 src/testdir/test_usercommands.vim, src/testdir/test_vimscript.vim,
3073 src/testdir/test_window_cmd.vim
3074
3075Patch 8.2.0419
3076Problem: Various memory leaks in Vim9 script code.
3077Solution: Fix the leaks. (Ozaki Kiichi, closes #5814)
3078Files: src/proto/vim9compile.pro, src/scriptfile.c, src/structs.h,
3079 src/testdir/test_vim9_script.vim, src/vim9.h, src/vim9compile.c,
3080 src/vim9execute.c, src/vim9script.c
3081
3082Patch 8.2.0420
3083Problem: Vim9: cannot interrupt a loop with CTRL-C.
3084Solution: Check for CTRL-C once in a while. Doesn't fully work yet.
3085Files: src/misc1.c, src/proto/misc1.pro,
3086 src/testdir/test_vim9_script.vim
3087
3088Patch 8.2.0421
3089Problem: Interrupting with CTRL-C does not always work.
3090Solution: Recognize CTRL-C while modifyOtherKeys is set.
3091Files: src/ui.c, src/testdir/test_vim9_script.vim, src/evalfunc.c
3092
3093Patch 8.2.0422
3094Problem: Crash when passing popup window to win_splitmove(). (john Devin)
3095Solution: Disallow moving a popup window. (closes #5816)
3096Files: src/testdir/test_popupwin.vim, src/evalwindow.c
3097
3098Patch 8.2.0423
3099Problem: In some environments a few tests are expected to fail.
3100Solution: Add $TEST_MAY_FAIL to list tests that should not cause make to
3101 fail.
3102Files: src/testdir/runtest.vim
3103
3104Patch 8.2.0424
3105Problem: Checking for wrong return value. (Tom)
3106Solution: Invert the check and fix the test.
3107Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
3108
3109Patch 8.2.0425
3110Problem: Code for modeless selection not sufficiently tested.
3111Solution: Add tests. Move mouse code functionality to a common script file.
3112 (Yegappan Lakshmanan, closes #5821)
3113Files: src/testdir/Make_all.mak, src/testdir/gen_opt_test.vim,
3114 src/testdir/mouse.vim, src/testdir/test_edit.vim,
3115 src/testdir/test_global.vim, src/testdir/test_modeless.vim,
3116 src/testdir/test_normal.vim, src/testdir/test_selectmode.vim,
3117 src/testdir/test_termcodes.vim, src/testdir/test_visual.vim,
3118 src/ui.c
3119
3120Patch 8.2.0426
3121Problem: Some errors were not tested for.
3122Solution: Add tests. (Dominique Pellé, closes #5824)
3123Files: src/testdir/test_buffer.vim, src/testdir/test_options.vim,
3124 src/testdir/test_tcl.vim, src/testdir/test_terminal.vim,
3125 src/testdir/test_window_cmd.vim
3126
3127Patch 8.2.0427
3128Problem: It is not possible to check for a typo in a feature name.
3129Solution: Add an extra argument to has().
3130Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/check.vim,
3131 src/testdir/test_functions.vim
3132
3133Patch 8.2.0428
3134Problem: Buffer name may leak.
3135Solution: Free the buffer name before overwriting it.
3136Files: src/terminal.c
3137
3138Patch 8.2.0429
3139Problem: No warning when test checks for option that never exists.
3140Solution: In tests check that the option can exist.
3141Files: src/testdir/check.vim
3142
3143Patch 8.2.0430
3144Problem: Window creation failure not properly tested.
3145Solution: Improve the test. (Yegappan Lakshmanan, closes #5826)
3146Files: src/testdir/test_cmdline.vim, src/testdir/test_window_cmd.vim
3147
3148Patch 8.2.0431
3149Problem: Some compilers don't support using \e for Esc. (Yegappan
3150 Lakshmanan)
3151Solution: use \033 instead.
3152Files: src/ui.c
3153
3154Patch 8.2.0432
3155Problem: A few tests fail in a huge terminal.
3156Solution: Make the tests pass. (Dominique Pellé, closes #5829)
3157Files: src/testdir/test_autocmd.vim, src/testdir/test_options.vim,
3158 src/testdir/test_termcodes.vim, src/testdir/test_terminal.vim,
3159 src/testdir/test_window_cmd.vim
3160
3161Patch 8.2.0433
3162Problem: INT signal not properly tested.
3163Solution: Add a test. Also clean up some unnecessary lines. (Dominique
3164 Pellé, closes #5828)
3165Files: src/testdir/test_display.vim, src/testdir/test_ex_mode.vim,
3166 src/testdir/test_excmd.vim, src/testdir/test_messages.vim,
3167 src/testdir/test_signals.vim
3168
3169Patch 8.2.0434
3170Problem: MS-Windows with VTP: Normal color not working.
3171Solution: After changing the Normal color update the VTP console color.
3172 (Nobuhiro Takasaki, closes #5836)
3173Files: src/highlight.c
3174
3175Patch 8.2.0435
3176Problem: Channel contents might be freed twice.
3177Solution: Call either channel_free_channel() or channel_free(), not both.
3178 (Nobuhiro Takasaki, closes #5835)
3179Files: src/channel.c
3180
3181Patch 8.2.0436
3182Problem: No warnings for incorrect printf arguments.
3183Solution: Fix attribute in declaration. Fix uncovered mistakes. (Dominique
3184 Pellé, closes #5834)
3185Files: src/proto.h, src/eval.c, src/ops.c, src/spellfile.c,
3186 src/vim9compile.c, src/vim9execute.c, src/viminfo.c, src/gui.c
3187
3188Patch 8.2.0437
3189Problem: MS-Windows installer contains old stuff.
3190Solution: Rely on Windows NT. (Ken Takata, closes #5832)
3191Files: src/dosinst.c
3192
3193Patch 8.2.0438
3194Problem: Terminal noblock test is very flaky on BSD.
3195Solution: Change WaitFor() to WaitForAssert() to be able to see why it
3196 failed. Add a short wait in between sending keys.
3197Files: src/testdir/test_terminal.vim
3198
3199Patch 8.2.0439
3200Problem: :disassemble has minor flaws.
3201Solution: Format the code. Use (int) instead of (char) for %c.
3202 (also by James McCoy, closes #5831)
3203Files: src/vim9execute.c
3204
3205Patch 8.2.0440
3206Problem: Terminal noblock test is still very flaky on BSD.
3207Solution: Increase the waiting time.
3208Files: src/testdir/test_terminal.vim
3209
3210Patch 8.2.0441
3211Problem: Terminal noblock test is still failing on BSD.
3212Solution: Reduce the amount of text.
3213Files: src/testdir/test_terminal.vim
3214
3215Patch 8.2.0442
3216Problem: Channel contents might be used after being freed.
3217Solution: Reset the job channel before freeing the channel.
3218Files: src/channel.c
3219
3220Patch 8.2.0443
3221Problem: Clipboard code is spread out.
3222Solution: Move clipboard code to its own file. (Yegappan Lakshmanan,
3223 closes #5827)
3224Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
3225 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
3226 src/clipboard.c, src/ops.c, src/proto.h, src/proto/clipboard.pro,
3227 src/proto/ops.pro, src/proto/register.pro, src/proto/ui.pro,
3228 src/register.c, src/ui.c
3229
3230Patch 8.2.0444
3231Problem: Swap file test fails on some systems.
3232Solution: Preserve the swap file. Send NL terminated keys.
3233Files: src/testdir/test_swap.vim
3234
3235Patch 8.2.0445
3236Problem: Png and xpm files not in MS-Windows zip file.
3237Solution: Move files to shared between Unix and Windows target.
3238Files: Filelist
3239
3240Patch 8.2.0446
3241Problem: Listener with undo of deleting all lines not tested.
3242Solution: Add a test.
3243Files: src/testdir/test_listener.vim
3244
3245Patch 8.2.0447
3246Problem: Terminal scroll tests fails on some systems.
3247Solution: Remove the fixed 100msec wait for Win32. Add a loop to wait until
3248 scrolling has finished. (James McCoy, closes #5842)
3249Files: src/testdir/test_terminal.vim
3250
3251Patch 8.2.0448
3252Problem: Various functions not properly tested.
3253Solution: Add more tests, especially for failures. (Yegappan Lakshmanan,
3254 closes #5843)
3255Files: runtime/doc/eval.txt, src/testdir/test_blob.vim,
3256 src/testdir/test_breakindent.vim, src/testdir/test_charsearch.vim,
3257 src/testdir/test_clientserver.vim, src/testdir/test_cmdline.vim,
3258 src/testdir/test_exists.vim, src/testdir/test_expand_func.vim,
3259 src/testdir/test_expr.vim, src/testdir/test_file_perm.vim,
3260 src/testdir/test_functions.vim, src/testdir/test_gui.vim,
3261 src/testdir/test_listdict.vim, src/testdir/test_marks.vim,
3262 src/testdir/test_partial.vim, src/testdir/test_registers.vim,
3263 src/testdir/test_search.vim, src/testdir/test_spell.vim,
3264 src/testdir/test_substitute.vim, src/testdir/test_syn_attr.vim,
3265 src/testdir/test_syntax.vim, src/testdir/test_taglist.vim,
3266 src/testdir/test_utf8.vim, src/testdir/test_vartabs.vim,
3267 src/testdir/test_window_cmd.vim
3268
3269Patch 8.2.0449
3270Problem: Vim9: crash if return type is invalid. (Yegappan Lakshmanan)
3271Solution: Always return some type, not NULL.
3272Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
3273
3274Patch 8.2.0450
3275Problem: Not enough testing for restricted mode and function calls.
3276Solution: Add more tests. (Yegappan Lakshmanan, closes #5847)
3277Files: src/testdir/test_method.vim, src/testdir/test_restricted.vim,
3278 src/testdir/test_vim9_script.vim
3279
3280Patch 8.2.0451
3281Problem: Win32: double-width character displayed incorrectly.
3282Solution: First move the cursor to the first column. (Nobuhiro Takasaki,
3283 closes #5848)
3284Files: src/os_win32.c
3285
3286Patch 8.2.0452
3287Problem: channel_parse_messages() fails when called recursively.
3288Solution: Return for a recursive call. (closes #5835)
3289Files: src/channel.c
3290
3291Patch 8.2.0453
3292Problem: Trailing space in job_start() command causes empty argument.
3293Solution: Ignore trailing space. (closes #5851)
3294Files: src/misc2.c, src/testdir/test_channel.vim
3295
3296Patch 8.2.0454
3297Problem: Some tests fail when the system is slow.
3298Solution: Make the run number global, use in the test to increase the
3299 waiting time. (closes #5841)
3300Files: src/testdir/runtest.vim, src/testdir/test_functions.vim
3301
3302Patch 8.2.0455
3303Problem: Cannot set the highlight group for a specific terminal.
3304Solution: Add the "highlight" option to term_start(). (closes #5818)
3305Files: src/terminal.c, src/structs.h, src/channel.c,
3306 src/testdir/test_terminal.vim, runtime/doc/terminal.txt,
3307 src/testdir/dumps/Test_terminal_popup_Terminal.dump,
3308 src/testdir/dumps/Test_terminal_popup_MyTermCol.dump
3309
3310Patch 8.2.0456
3311Problem: Test_confirm_cmd is flaky.
3312Solution: Add a term_wait() call. (closes #5854)
3313Files: src/testdir/test_excmd.vim
3314
3315Patch 8.2.0457
3316Problem: Test_quotestar() often fails when run under valgrind.
3317Solution: Wait longer for the GUI to start.
3318Files: src/testdir/test_quotestar.vim
3319
3320Patch 8.2.0458
3321Problem: Missing feature check in test function.
3322Solution: Add check commands.
3323Files: src/testdir/test_excmd.vim
3324
3325Patch 8.2.0459
3326Problem: Cannot check if a function name is correct.
3327Solution: Add "?funcname" to exists().
3328Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_exists.vim,
3329 src/testdir/check.vim
3330
3331Patch 8.2.0460 (after 8.2.0459)
3332Problem: Build failure because of wrong feature name.
3333Solution: Correct feature name.
3334Files: src/evalfunc.c
3335
3336Patch 8.2.0461
3337Problem: Confirm test fails on amd64 system. (Alimar Riesebieter)
3338Solution: Add an extra WaitForAssert(). (Dominique Pellé)
3339Files: src/testdir/test_excmd.vim
3340
3341Patch 8.2.0462
3342Problem: Previewwindow test fails on some systems. (James McCoy)
3343Solution: Wait a bit after sending the "o". (closes #5849)
3344Files: src/testdir/test_popup.vim,
3345 src/testdir/dumps/Test_popup_and_previewwindow_01.dump
3346
3347Patch 8.2.0463
3348Problem: Build error without float and channel feature. (John Marriott)
3349Solution: Define return types always.
3350Files: src/globals.h, src/evalfunc.c
3351
3352Patch 8.2.0464
3353Problem: Typos and other small problems.
3354Solution: Fix the typos. Add missing files to the distribution.
3355Files: Filelist, src/buffer.c, src/drawline.c, src/gui_gtk_x11.c,
3356 src/os_unixx.h, src/proto/popupwin.pro
3357
3358Patch 8.2.0465
3359Problem: Vim9: dead code and wrong return type.
3360Solution: Remove dead code. Fix return type. Add more tests.
3361Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
3362
3363Patch 8.2.0466 (after 8.2.0452)
3364Problem: Not parsing messages recursively breaks the govim plugin.
3365Solution: When called recursively do handle messages but do not close
3366 channels.
3367Files: src/channel.c
3368
3369Patch 8.2.0467
3370Problem: Vim9: some errors are not tested
3371Solution: Add more tests. Fix that Vim9 script flag is not reset.
3372Files: src/vim9compile.c, src/scriptfile.c, src/dict.c,
3373 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim
3374
3375Patch 8.2.0468
3376Problem: GUI: pixel dust with some fonts and characters.
3377Solution: Always redraw the character before the cursor. (Nir Lichtman,
3378 closes #5549, closes #5856)
3379Files: src/gui.c, src/proto/gui.pro, src/screen.c
3380
3381Patch 8.2.0469
3382Problem: Vim9: no error for missing ] after list.
3383Solution: Add error message. Add more tests.
3384Files: src/globals.h, src/list.c, src/userfunc.c,
3385 src/testdir/test_vim9_expr.vim, src/testdir/test_lambda.vim
3386
3387Patch 8.2.0470
3388Problem: Test_confirm_cmd_cancel() can fail on a slow system.
3389Solution: Use WaitForAssert(). (Ozaki Kiichi, closes #5861)
3390Files: src/testdir/test_excmd.vim
3391
3392Patch 8.2.0471
3393Problem: Missing change to compile_list().
3394Solution: Add error message.
3395Files: src/vim9compile.c
3396
3397Patch 8.2.0472
3398Problem: Terminal highlight name is set twice, leaking memory.
3399Solution: Delete one.
3400Files: src/terminal.c
3401
3402Patch 8.2.0473
3403Problem: Variables declared in an outer scope.
3404Solution: Declare variables only in the scope where they are used.
3405Files: src/evalvars.c
3406
3407Patch 8.2.0474 (after 8.2.0403)
3408Problem: Cannot use :write when using a plugin with BufWriteCmd.
3409Solution: Reset BF_NOTEDITED after BufWriteCmd. (closes #5807)
3410Files: src/fileio.c, src/testdir/test_autocmd.vim
3411
3412Patch 8.2.0475
3413Problem: Channel out_cb test still fails sometimes on Mac.
3414Solution: Use an even longer timeout.
3415Files: src/testdir/test_channel.vim
3416
3417Patch 8.2.0476
3418Problem: Terminal nasty callback test fails sometimes.
3419Solution: use term_wait() instead of a sleep. (Yee Cheng Chin, closes #5865)
3420Files: src/testdir/test_terminal.vim
3421
3422Patch 8.2.0477
3423Problem: Vim9: error messages not tested.
3424Solution: Add more tests.
3425Files: src/testdir/test_vim9_expr.vim, src/vim9execute.c
3426
3427Patch 8.2.0478
3428Problem: New buffers are not added to the Buffers menu.
3429Solution: Turn number into string. (Yee Cheng Chin, closes #5864)
3430Files: runtime/menu.vim, src/testdir/test_menu.vim
3431
3432Patch 8.2.0479
3433Problem: Unloading shared libraries on exit has no purpose.
3434Solution: Do not unload shared libraries on exit.
3435Files: src/if_lua.c, src/if_perl.xs, src/if_python.c, src/if_python3.c,
3436 src/if_ruby.c, src/if_tcl.c
3437
3438Patch 8.2.0480
3439Problem: Vim9: some code is not tested.
3440Solution: Add more tests.
3441Files: src/testdir/test_vim9_expr.vim, src/vim9compile.c
3442
3443Patch 8.2.0481
3444Problem: Travis is still using trusty.
3445Solution: Adjust config to use bionic. (Ozaki Kiichi, closes #5868)
3446Files: .travis.yml, src/testdir/lsan-suppress.txt
3447
3448Patch 8.2.0482
3449Problem: Channel and sandbox code not sufficiently tested.
3450Solution: Add more tests. (Yegappan Lakshmanan, closes #5855)
3451Files: src/option.h, src/testdir/test_channel.vim,
3452 src/testdir/test_clientserver.vim, src/testdir/test_cmdline.vim,
3453 src/testdir/test_edit.vim, src/testdir/test_excmd.vim,
3454 src/testdir/test_normal.vim, src/testdir/test_prompt_buffer.vim,
3455 src/testdir/test_restricted.vim, src/testdir/test_smartindent.vim,
3456 src/testdir/test_substitute.vim, src/testdir/test_terminal.vim,
3457 src/testdir/test_textformat.vim, src/testdir/test_visual.vim
3458
3459Patch 8.2.0483
3460Problem: Vim9: "let x = x + 1" does not give an error.
3461Solution: Hide the variable when compiling the expression.
3462Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
3463
3464Patch 8.2.0484
3465Problem: Vim9: some error messages not tested.
3466Solution: Add more tests.
3467Files: src/testdir/test_vim9_expr.vim
3468
3469Patch 8.2.0485 (after 8.2.0483)
3470Problem: Vim9 script test fails.
3471Solution: Stricter condition for adding new local variable.
3472Files: Stricter condition for adding new local variable.
3473
3474Patch 8.2.0486
3475Problem: Vim9: some code and error messages not tested.
3476Solution: Add more tests.
3477Files: src/vim9compile.c, src/evalvars.c, src/testdir/test_vim9_expr.vim,
3478 src/testdir/test_vim9_script.vim
3479
3480Patch 8.2.0487
3481Problem: Vim9: compiling not sufficiently tested.
3482Solution: Add more tests. Fix bug with PCALL.
3483Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h,
3484 src/testdir/test_vim9_script.vim,
3485 src/testdir/test_vim9_disassemble.vim
3486
3487Patch 8.2.0488
3488Problem: Vim9: Compiling can break when using a lambda inside :def.
3489Solution: Do not keep a pointer to the dfunc_T for longer time.
3490Files: src/vim9compile.c, src/vim9.h
3491
3492Patch 8.2.0489
3493Problem: Vim9: memory leaks.
3494Solution: Free memory in the right place. Add hints for using asan.
3495Files: src/vim9compile.c, src/testdir/lsan-suppress.txt, src/Makefile
3496
3497Patch 8.2.0490
3498Problem: Win32: VTP doesn't respect 'restorescreen'.
3499Solution: Use escape codes to switch to alternate screen. (Nobuhiro
3500 Takasaki, closes #5872)
3501Files: src/os_win32.c
3502
3503Patch 8.2.0491
3504Problem: Cannot recognize a <script> mapping using maparg().
3505Solution: Add the "script" key. (closes #5873)
3506Files: src/map.c, runtime/doc/eval.txt, src/testdir/test_maparg.vim
3507
3508Patch 8.2.0492
3509Problem: Vim9: some error messages not tested.
3510Solution: Add more tests. Remove dead code. Fix uncovered bugs.
3511Files: src/vim9compile.c, src/vim9execute.c,
3512 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim
3513
3514Patch 8.2.0493
3515Problem: Vim9: some error messages not tested.
3516Solution: Add more tests. Fix uncovered bugs.
3517Files: src/vim9compile.c, src/vim9execute.c, src/testing.c, src/eval.c,
3518 src/proto/testing.pro, src/evalfunc.c, runtime/doc/eval.txt,
3519 runtime/doc/testing.txt, src/testdir/test_vim9_script.vim
3520
3521Patch 8.2.0494
3522Problem: Vim9: asan error.
3523Solution: Only get the type when there is one.
3524Files: src/vim9compile.c
3525
3526Patch 8.2.0495
3527Problem: Vim9: some code not tested.
3528Solution: Add more tests. Support more const expressions.
3529Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
3530
3531Patch 8.2.0496
3532Problem: Vim9: disassemble test fails.
3533Solution: Separate test cases with recognized constant expressions.
3534Files: src/testdir/test_vim9_disassemble.vim
3535
3536Patch 8.2.0497
3537Problem: Too verbose output from the asan build in Travis.
3538Solution: Filter out suppression messages. (Ozaki Kiichi, closes #5874)
3539Files: .travis.yml
3540
3541Patch 8.2.0498
3542Problem: Coverity complains about uninitialized field.
3543Solution: Initialize the whole typval_T.
3544Files: src/vim9compile.c
3545
3546Patch 8.2.0499
3547Problem: Calling a lambda is slower than evaluating a string.
3548Solution: Make calling a lambda faster. (Ken Takata, closes #5727)
3549Files: src/userfunc.c
3550
3551Patch 8.2.0500
3552Problem: Using the same loop in many places.
3553Solution: Define more FOR_ALL macros. (Yegappan Lakshmanan, closes #5339)
3554Files: src/arglist.c, src/autocmd.c, src/buffer.c, src/change.c,
3555 src/channel.c, src/cmdexpand.c, src/diff.c, src/eval.c,
3556 src/evalbuffer.c, src/evalfunc.c, src/evalvars.c,
3557 src/evalwindow.c, src/ex_cmds2.c, src/filepath.c, src/globals.h,
3558 src/gui.c, src/if_py_both.h, src/if_ruby.c, src/insexpand.c,
3559 src/list.c, src/misc2.c, src/netbeans.c, src/popupwin.c,
3560 src/quickfix.c, src/screen.c, src/sign.c, src/spell.c,
3561 src/spellfile.c, src/spellsuggest.c, src/tag.c, src/terminal.c,
3562 src/userfunc.c, src/window.c
3563
3564Patch 8.2.0501
3565Problem: Vim9: script test fails when channel feature is missing.
3566Solution: Add a has() condition.
3567Files: src/testdir/test_vim9_script.vim
3568
3569Patch 8.2.0502
3570Problem: Vim9: some code is not tested.
3571Solution: Add more tests. Fix uncovered problems.
3572Files: src/vim9compile.c, src/regexp.c, src/proto/regexp.pro,
3573 src/cmdexpand.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_eval.c,
3574 src/ex_getln.c, src/highlight.c, src/search.c, src/syntax.c,
3575 src/tag.c, src/userfunc.c, src/testdir/test_vim9_script.vim,
3576 src/testdir/test_vim9_disassemble.vim
3577
3578Patch 8.2.0503
3579Problem: Vim9: some code is not tested.
3580Solution: Add tests. Fix uncovered problems.
3581Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
3582
3583Patch 8.2.0504
3584Problem: Vim9: leaking scope memory when compilation fails.
3585Solution: Cleanup the scope list.
3586Files: src/vim9compile.c
3587
3588Patch 8.2.0505
3589Problem: term_gettty() not sufficiently tested.
3590Solution: Add more asserts. (Dominique Pellé, closes #5877)
3591Files: src/testdir/test_terminal.vim
3592
3593Patch 8.2.0506
3594Problem: Coverity complains about ignoring return value.
3595Solution: Add (void).
3596Files: src/userfunc.c
3597
3598Patch 8.2.0507 (after 8.2.0472)
3599Problem: Getbufvar() may get the wrong dictionary. (David le Blanc)
3600Solution: Check for empty name. (closes #5878)
3601Files: src/evalvars.c, src/testdir/test_functions.vim
3602
3603Patch 8.2.0508
3604Problem: Vim9: func and partial types not done yet
3605Solution: Fill in details about func declaration, drop a separate partial
3606 declaration.
3607Files: runtime/doc/vim9.txt, src/vim9compile.c, src/globals.h,
3608 src/structs.h, src/evalfunc.c, src/testdir/test_vim9_expr.vim,
3609 src/testdir/test_vim9_script.vim,
3610 src/testdir/test_vim9_disassemble.vim
3611
3612Patch 8.2.0509
3613Problem: various code is not properly tested.
3614Solution: Add more tests. (Yegappan Lakshmanan, closes #5871)
3615Files: src/main.c, src/testdir/check.vim, src/testdir/shared.vim,
3616 src/testdir/term_util.vim, src/testdir/test_clientserver.vim,
3617 src/testdir/test_ex_mode.vim, src/testdir/test_expand.vim,
3618 src/testdir/test_functions.vim, src/testdir/test_options.vim,
3619 src/testdir/test_startup.vim, src/testdir/test_textformat.vim,
3620 src/testdir/test_trycatch.vim, src/testdir/test_viminfo.vim
3621
3622Patch 8.2.0510
3623Problem: Coverity complains about using uninitialized variable.
3624Solution: Assign a value to "scol". Move code inside NULL check.
3625Files: src/beval.c, src/popupwin.c
3626
3627Patch 8.2.0511
3628Problem: Cscope code not fully tested.
3629Solution: Add more test cases. (Dominique Pellé, closes #5886)
3630Files: src/testdir/test_cscope.vim
3631
3632Patch 8.2.0512
3633Problem: Vim9: no optional arguments in func type.
3634Solution: Check for question mark after type. Find function reference
3635 without function().
3636Files: src/vim9compile.c, src/vim9execute.c, src/structs.h,
3637 src/globals.h, src/vim.h, src/vim9.h, src/userfunc.c,
3638 src/testdir/Make_all.mak, src/testdir/test_vim9_script.vim,
3639 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
3640 src/testdir/test_vim9_disassemble.vim
3641
3642Patch 8.2.0513
3643Problem: Reading past allocated memory when using varargs.
3644Solution: Fix copying function argument types.
3645Files: src/vim9compile.c
3646
3647Patch 8.2.0514
3648Problem: Several global functions are used in only one file.
3649Solution: Make the functions static. (Yegappan Lakshmanan, closes #5884)
3650Files: src/drawscreen.c, src/evalvars.c, src/getchar.c, src/list.c,
3651 src/proto/drawscreen.pro, src/proto/evalvars.pro,
3652 src/proto/getchar.pro, src/proto/list.pro, src/proto/version.pro,
3653 src/version.c
3654
3655Patch 8.2.0515
3656Problem: Some compilers cannot add to "void *".
3657Solution: Cast to "char *".
3658Files: src/vim9compile.c
3659
3660Patch 8.2.0516
3661Problem: Client-server code is spread out.
3662Solution: Move client-server code to a new file. (Yegappan Lakshmanan,
3663 closes #5885)
3664Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
3665 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
3666 src/clientserver.c, src/evalfunc.c, src/main.c, src/proto.h,
3667 src/proto/clientserver.pro, src/proto/main.pro
3668
3669Patch 8.2.0517
3670Problem: Vim9: cannot separate "func" and "func(): void".
3671Solution: Use VAR_ANY for "any" and VAR_UNKNOWN for "no type".
3672Files: src/structs.h, src/globals.h, src/eval.c, src/evalfunc.c,
3673 src/evalvars.c, src/testing.c, src/vim9compile.c,
3674 src/vim9execute.c, src/viminfo.c, src/if_py_both.h, src/json.c,
3675 src/testdir/test_vim9_func.vim
3676
3677Patch 8.2.0518
3678Problem: A terminal falls back to setting $TERM to "xterm".
3679Solution: Use "xterm-color" if more than 16 colors are supported and
3680 "xterm-256color" if at least 256 colors are supported.
3681 (closes #5887)
3682Files: src/os_unix.c
3683
3684Patch 8.2.0519
3685Problem: Vim9: return type not properly checked.
3686Solution: Check type properly, also at runtime.
3687Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
3688
3689Patch 8.2.0520
3690Problem: Tests are not listed in sorted order.
3691Solution: Move test_ex_mode. (Doug Richardson, closes #5889)
3692Files: src/testdir/Make_all.mak
3693
3694Patch 8.2.0521
3695Problem: Crash when reading a blob fails.
3696Solution: Avoid keeping a pointer to a freed blob object. (Dominique Pellé,
3697 closes #5890) Adjust error messages.
3698Files: src/filepath.c, src/testdir/test_blob.vim
3699
3700Patch 8.2.0522
3701Problem: Several errors are not tested for.
3702Solution: Add tests. (Yegappan Lakshmanan, closes #5892)
3703Files: src/testdir/test_autocmd.vim, src/testdir/test_clientserver.vim,
3704 src/testdir/test_digraph.vim, src/testdir/test_expand.vim,
3705 src/testdir/test_expr.vim, src/testdir/test_functions.vim,
3706 src/testdir/test_gui.vim, src/testdir/test_highlight.vim,
3707 src/testdir/test_ins_complete.vim, src/testdir/test_lambda.vim,
3708 src/testdir/test_listdict.vim, src/testdir/test_normal.vim,
3709 src/testdir/test_options.vim, src/testdir/test_preview.vim,
3710 src/testdir/test_user_func.vim, src/testdir/test_vim9_func.vim,
3711 src/testdir/test_vim9_script.vim, src/testdir/test_viminfo.vim,
3712 src/testdir/test_vimscript.vim, src/testdir/test_window_cmd.vim
3713
3714Patch 8.2.0523
3715Problem: Loops are repeated.
3716Solution: Use FOR_ALL_ macros. (Yegappan Lakshmanan, closes #5882)
3717Files: src/buffer.c, src/drawscreen.c, src/evalfunc.c, src/evalwindow.c,
3718 src/globals.h, src/gui_athena.c, src/gui_gtk.c, src/gui_motif.c,
3719 src/gui_w32.c, src/list.c, src/menu.c, src/popupmenu.c,
3720 src/popupwin.c, src/quickfix.c, src/syntax.c, src/time.c,
3721 src/userfunc.c, src/vim9compile.c
3722
3723Patch 8.2.0524
3724Problem: Win32: searching for file matches is slow.
3725Solution: Instead of making another round to find any short filename, check
3726 for the short name right away. Avoid using an ordinary file like a
3727 directory. (Nir Lichtman, closes #5883)
3728Files: src/filepath.c
3729
3730Patch 8.2.0525 (after 8.2.0524)
3731Problem: Win32: typo in assignment and misplaced paren.
3732Solution: Fix the syntax.
3733Files: src/filepath.c
3734
3735Patch 8.2.0526
3736Problem: Gcc 9 complains about empty statement.
3737Solution: Add {}. (Dominique Pellé, closes #5894)
3738Files: src/evalfunc.c
3739
3740Patch 8.2.0527
3741Problem: Vim9: function types insufficiently tested.
3742Solution: Add more tests. Fix white space check. Add "test_vim9" target.
3743Files: src/vim9compile.c, src/testdir/test_vim9_func.vim, src/Makefile,
3744 src/testdir/Makefile, src/testdir/Make_all.mak
3745
3746Patch 8.2.0528
3747Problem: Vim9: function arguments insufficiently tested.
3748Solution: Check types. Add more tests. Fix function with varargs only.
3749Files: src/vim9compile.c, src/userfunc.c, src/testdir/test_vim9_func.vim
3750
3751Patch 8.2.0529
3752Problem: Vim9: function argument with default not checked.
3753Solution: Check type of argument with default value.
3754Files: src/vim9compile.c, src/userfunc.c, src/testdir/test_vim9_func.vim
3755
3756Patch 8.2.0530
3757Problem: Test crashes on s390. (James McCoy)
3758Solution: Explicitly define an 8 big signed type. (closes #5897)
3759Files: src/structs.h
3760
3761Patch 8.2.0531
3762Problem: Various errors not tested.
3763Solution: Add tests. (Yegappan Lakshmanan, closes #5895)
3764Files: src/testdir/test_search.vim, src/testdir/test_source.vim,
3765 src/testdir/test_syntax.vim, src/testdir/test_user_func.vim,
3766 src/testdir/test_vimscript.vim
3767
3768Patch 8.2.0532
3769Problem: Cannot use simplify() as a method.
3770Solution: Add FEARG_1. (closes #5896)
3771Files: runtime/doc/eval.txt, src/evalfunc.c,
3772 src/testdir/test_functions.vim
3773
3774Patch 8.2.0533
3775Problem: Tests using term_wait() can still be flaky.
3776Solution: Increase the wait time when rerunning a test. (James McCoy,
3777 closes #5899) Halve the initial times to make tests run faster
3778 when there is no rerun.
3779Files: src/testdir/term_util.vim, src/testdir/test_arglist.vim,
3780 src/testdir/test_autocmd.vim, src/testdir/test_balloon.vim,
3781 src/testdir/test_bufline.vim, src/testdir/test_channel.vim,
3782 src/testdir/test_cmdline.vim, src/testdir/test_conceal.vim,
3783 src/testdir/test_cursorline.vim, src/testdir/test_debugger.vim,
3784 src/testdir/test_diffmode.vim, src/testdir/test_display.vim,
3785 src/testdir/test_functions.vim, src/testdir/test_highlight.vim,
3786 src/testdir/test_ins_complete.vim, src/testdir/test_mapping.vim,
3787 src/testdir/test_match.vim, src/testdir/test_matchadd_conceal.vim,
3788 src/testdir/test_messages.vim, src/testdir/test_number.vim,
3789 src/testdir/test_popup.vim, src/testdir/test_popupwin.vim,
3790 src/testdir/test_profile.vim, src/testdir/test_search.vim,
3791 src/testdir/test_search_stat.vim, src/testdir/test_startup.vim,
3792 src/testdir/test_startup_utf8.vim,
3793 src/testdir/test_statusline.vim, src/testdir/test_suspend.vim,
3794 src/testdir/test_swap.vim, src/testdir/test_tagjump.vim,
3795 src/testdir/test_terminal.vim, src/testdir/test_terminal_fail.vim,
3796 src/testdir/test_timers.vim, src/testdir/test_vimscript.vim
3797
3798Patch 8.2.0534
3799Problem: Client-server test fails under valgrind.
3800Solution: Use WaitForAssert().
3801Files: src/testdir/test_clientserver.vim
3802
3803Patch 8.2.0535
3804Problem: Regexp patterns not fully tested.
3805Solution: Add more regexp tests and others. (Yegappan Lakshmanan,
3806 closes #5901)
3807Files: src/testdir/test_marks.vim, src/testdir/test_options.vim,
3808 src/testdir/test_regexp_latin.vim, src/testdir/test_search.vim
3809
3810Patch 8.2.0536
3811Problem: Vim9: some compilation code not tested.
3812Solution: Add more test cases.
3813Files: src/evalvars.c, src/proto/evalvars.pro, src/vim9compile.c,
3814 src/testdir/test_vim9_expr.vim
3815
3816Patch 8.2.0537
3817Problem: Vim9: no check for sandbox when setting v:var.
3818Solution: Check for sandbox.
3819Files: src/evalvars.c, src/testdir/test_vim9_script.vim
3820
3821Patch 8.2.0538
3822Problem: Vim9: VAR_PARTIAL is not used during compilation.
3823Solution: Remove VAR_PARTIAL.
3824Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c
3825
3826Patch 8.2.0539
3827Problem: Comparing two NULL list fails.
3828Solution: Change the order of comparing two lists.
3829Files: src/list.c, src/testdir/test_assert.vim
3830
3831Patch 8.2.0540
3832Problem: Regexp and other code not tested.
3833Solution: Add more tests. (Yegappan Lakshmanan, closes #5904)
3834Files: src/testdir/test_backspace_opt.vim, src/testdir/test_expr.vim,
3835 src/testdir/test_increment.vim, src/testdir/test_normal.vim,
3836 src/testdir/test_options.vim, src/testdir/test_regexp_latin.vim,
3837 src/testdir/test_search.vim, src/testdir/test_substitute.vim,
3838 src/testdir/test_terminal.vim, src/testdir/test_virtualedit.vim
3839
3840Patch 8.2.0541
3841Problem: Travis CI does not give compiler warnings.
3842Solution: Add flags for warnings. Fix uncovered problems. (Ozaki Kiichi,
3843 closes #5898)
3844Files: .travis.yml, ci/config.mk.clang.sed, ci/config.mk.gcc.sed,
3845 ci/config.mk.sed, src/if_perl.xs, src/if_ruby.c,
3846 src/libvterm/t/harness.c
3847
3848Patch 8.2.0542
3849Problem: No test for E386.
3850Solution: Add a test. (Dominique Pellé, closes #5911)
3851Files: src/testdir/test_search.vim
3852
3853Patch 8.2.0543
3854Problem: Vim9: function with varargs does not work properly.
3855Solution: Improve function type spec and add tests. Fix bugs.
3856Files: runtime/doc/vim9.txt, src/vim9compile.c, src/vim9execute.c,
3857 src/structs.h, src/testdir/test_vim9_func.vim
3858
3859Patch 8.2.0544
3860Problem: Memory leak in search test.
3861Solution: Free msgbuf. (Dominique Pellé, closes #5912)
3862Files: src/search.c
3863
3864Patch 8.2.0545
3865Problem: Unused arguments ignored in non-standard way.
3866Solution: Add UNUSED instead of (void).
3867Files: src/libvterm/t/harness.c
3868
3869Patch 8.2.0546
3870Problem: Vim9: varargs implementation is inefficient.
3871Solution: Create list without moving the arguments.
3872Files: src/vim9compile.c, src/vim9execute.c
3873
3874Patch 8.2.0547
3875Problem: Win32: restoring screen not always done right.
3876Solution: Use a more appropriate method. (Nobuhiro Takasaki, closes #5909)
3877Files: src/os_win32.c
3878
3879Patch 8.2.0548
3880Problem: Vim9: not all possible func type errors tested.
3881Solution: Add more tests.
3882Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
3883
3884Patch 8.2.0549
3885Problem: User systemd files not recognized.
3886Solution: Add filetype patterns. (Kevin Locke, closes #5914)
3887Files: runtime/filetype.vim, src/testdir/test_filetype.vim
3888
3889Patch 8.2.0550
3890Problem: Some changes in the libvterm upstream code.
3891Solution: Include some changes.
3892Files: src/libvterm/t/harness.c
3893
3894Patch 8.2.0551
3895Problem: Not all code for options is tested.
3896Solution: Add more tests. (Yegappan Lakshmanan, closes #5913)
3897Files: src/testdir/test_options.vim, src/testdir/test_python3.vim,
3898 src/testdir/test_undo.vim, src/testdir/test_vimscript.vim
3899
3900Patch 8.2.0552
3901Problem: Vim9: some errors not covered by tests.
3902Solution: Add more tests. Check Funcref argument types.
3903Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
3904
3905Patch 8.2.0553 (after 8.2.0550)
3906Problem: Error for unused argument.
3907Solution: Add UNUSED.
3908Files: src/libvterm/t/harness.c
3909
3910Patch 8.2.0554
3911Problem: The GUI doesn't set t_Co.
3912Solution: In the GUI set t_Co to 256 * 256 * 256. (closes #5903)
3913Files: src/term.c, src/proto/term.pro, src/gui.c,
3914 src/testdir/test_gui.vim
3915
3916Patch 8.2.0555
3917Problem: Vim9: line continuation is not always needed.
3918Solution: Recognize continuation lines automatically in list and dict.
3919Files: runtime/doc/vim9.txt, src/vim9compile.c,
3920 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim
3921
3922Patch 8.2.0556
3923Problem: Vim9: memory leak when finding common type.
3924Solution: Store allocated memory in type growarray.
3925Files: src/vim9compile.c
3926
3927Patch 8.2.0557
3928Problem: No IPv6 support for channels.
3929Solution: Add IPv6 support. (Ozaki Kiichi, closes #5893)
3930Files: .travis.yml, runtime/doc/channel.txt, runtime/doc/various.txt,
3931 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/auto/configure,
3932 src/channel.c, src/config.h.in, src/configure.ac, src/evalfunc.c,
3933 src/proto/channel.pro, src/testdir/check.vim,
3934 src/testdir/runtest.vim, src/testdir/test_cdo.vim,
3935 src/testdir/test_channel.py, src/testdir/test_channel.vim,
3936 src/testdir/test_channel_6.py, src/testdir/test_escaped_glob.vim,
3937 src/testdir/test_getcwd.vim, src/testdir/test_hide.vim
3938
3939Patch 8.2.0558
3940Problem: Vim9: dict code not covered by tests.
3941Solution: Remove dead code, adjust test case.
3942Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
3943
3944Patch 8.2.0559
3945Problem: Clearing a struct is verbose.
3946Solution: Define and use CLEAR_FIELD() and CLEAR_POINTER().
3947Files: src/vim.h, src/blowfish.c, src/channel.c, src/charset.c,
3948 src/clipboard.c, src/diff.c, src/eval.c, src/evalfunc.c,
3949 src/ex_cmds2.c, src/ex_docmd.c, src/ex_getln.c, src/findfile.c,
3950 src/gui_gtk_f.c, src/gui_mac.c, src/gui_motif.c, src/gui_w32.c,
3951 src/gui_x11.c, src/hardcopy.c, src/hashtab.c, src/highlight.c,
3952 src/if_mzsch.c, src/insexpand.c, src/kword_test.c, src/list.c,
3953 src/main.c, src/map.c, src/memfile.c, src/message_test.c,
3954 src/misc1.c, src/netbeans.c, src/normal.c, src/ops.c,
3955 src/option.c, src/os_mswin.c, src/os_win32.c, src/popupmenu.c,
3956 src/quickfix.c, src/regexp.c, src/regexp_bt.c, src/regexp_nfa.c,
3957 src/search.c, src/sign.c, src/spell.c, src/spellfile.c,
3958 src/spellsuggest.c, src/syntax.c, src/tag.c, src/terminal.c,
3959 src/time.c, src/undo.c, src/userfunc.c, src/vim9compile.c,
3960 src/vim9execute.c, src/if_py_both.h
3961
3962Patch 8.2.0560
3963Problem: Compiler warning in tiny build.
3964Solution: Move declaration inside #ifdef. (Dominique Pellé, closes #5915)
3965Files: src/ex_docmd.c
3966
3967Patch 8.2.0561
3968Problem: Vim9: cannot split function call in multiple lines.
3969Solution: Find more arguments in following lines.
3970Files: runtime/doc/vim9.txt, src/vim9compile.c,
3971 src/testdir/test_vim9_script.vim
3972
3973Patch 8.2.0562
3974Problem: Vim9: cannot split an expression into multiple lines.
3975Solution: Continue in next line after an operator.
3976Files: runtime/doc/vim9.txt, src/macros.h, src/vim9compile.c,
3977 src/testdir/test_vim9_expr.vim
3978
3979Patch 8.2.0563
3980Problem: Vim9: cannot split a function line.
3981Solution: Continue in next line so long as the function isn't done.
3982Files: runtime/doc/vim9.txt, src/userfunc.c, src/proto/userfunc.pro,
3983 src/vim9compile.c, src/testdir/test_vim9_func.vim
3984
3985Patch 8.2.0564
3986Problem: Vim9: calling a def function from non-vim9 may fail.
3987Solution: Convert varargs to a list.
3988Files: src/testdir/test_vim9_func.vim, src/vim9execute.c
3989
3990Patch 8.2.0565
3991Problem: Vim9: tests contain superfluous line continuation.
3992Solution: Remove line continuation no longer needed. Skip empty lines.
3993Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
3994 src/testdir/test_vim9_disassemble.vim
3995
3996Patch 8.2.0566
3997Problem: Vim9: variable can be used uninitialized.
3998Solution: Jump to after where variable is used.
3999Files: src/vim9execute.c
4000
4001Patch 8.2.0567
4002Problem: Vim9: cannot put comments halfway expressions.
4003Solution: Support # comments in many places.
4004Files: runtime/doc/vim9.txt, src/vim9compile.c, src/userfunc.c,
4005 src/ex_docmd.c, src/testdir/test_vim9_func.vim,
4006 src/testdir/test_vim9_script.vim
4007
4008Patch 8.2.0568
4009Problem: The man filetype plugin overwrites the unnamed register.
4010Solution: Use the black hole register. (Jason Franklin)
4011Files: runtime/ftplugin/man.vim, src/testdir/test_man.vim
4012
4013Patch 8.2.0569
4014Problem: Build failure with tiny version.
4015Solution: Add #ifdef.
4016Files: src/ex_docmd.c
4017
4018Patch 8.2.0570
4019Problem: Vim9: no error when omitting type from argument.
4020Solution: Enforce specifying argument types.
4021Files: src/userfunc.c, src/ex_eval.c, src/testdir/test_vim9_script.vim,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00004022 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_expr.vim,
Bram Moolenaarc51cf032022-02-26 12:25:45 +00004023 src/testdir/test_vim9_disassemble.vim
4024
4025Patch 8.2.0571
4026Problem: Double free when passing invalid argument to job_start().
4027Solution: Clear the argument when freed. (Masato Nishihata, closes #5926)
4028Files: src/misc2.c, src/testdir/test_channel.vim
4029
4030Patch 8.2.0572 (after 8.2.0571)
4031Problem: Using two lines for free and reset.
4032Solution: Use VIM_CLEAR() instead. (Yegappan Lakshmanan)
4033Files: src/misc2.c
4034
4035Patch 8.2.0573
4036Problem: using :version twice leaks memory
4037Solution: Only initialize variables once. (Dominique Pellé, closes #5917)
4038Files: src/testdir/Make_all.mak, src/testdir/test_alot.vim,
4039 src/testdir/test_version.vim, src/version.c, src/globals.h
4040
4041Patch 8.2.0574
4042Problem: Ipv6 feature not shown in :version output.
4043Solution: Add ipv6 in :version output. (Ozaki Kiichi, closes #5924)
4044Files: runtime/doc/eval.txt, src/version.c
4045
4046Patch 8.2.0575
4047Problem: :digraph! not tested.
4048Solution: Add a test. (Dominique Pellé, closes #5925)
4049Files: src/testdir/test_digraph.vim
4050
4051Patch 8.2.0576
4052Problem: Some errors are not covered by tests.
4053Solution: Add a few more tests. (Dominique Pellé, closes #5920)
4054Files: src/testdir/test_buffer.vim, src/testdir/test_digraph.vim,
4055 src/testdir/test_expr.vim, src/testdir/test_messages.vim
4056
4057Patch 8.2.0577
4058Problem: Not all modifiers supported for :options.
4059Solution: Use all cmdmod.split flags. (closes #4401)
4060Files: src/usercmd.c, src/proto/usercmd.pro, src/scriptfile.c,
4061 src/testdir/test_options.vim, src/testdir/test_usercommands.vim
4062
4063Patch 8.2.0578
4064Problem: Heredoc for interfaces does not support "trim".
4065Solution: Update the script heredoc support to be same as the :let command.
4066 (Yegappan Lakshmanan, closes #5916)
4067Files: runtime/doc/if_lua.txt, runtime/doc/if_mzsch.txt,
4068 runtime/doc/if_perl.txt, runtime/doc/if_pyth.txt,
4069 runtime/doc/if_ruby.txt, runtime/doc/if_tcl.txt, src/evalvars.c,
4070 src/ex_getln.c, src/proto/evalvars.pro, src/testdir/test86.in,
4071 src/testdir/test87.in, src/testdir/test_lua.vim,
4072 src/testdir/test_perl.vim, src/testdir/test_python2.vim,
4073 src/testdir/test_python3.vim, src/testdir/test_pyx2.vim,
4074 src/testdir/test_pyx3.vim, src/testdir/test_ruby.vim,
4075 src/testdir/test_tcl.vim, src/userfunc.c, src/vim9compile.c
4076
4077Patch 8.2.0579
4078Problem: Coverity warns for unused value.
4079Solution: Change order and use "else if".
4080Files: src/os_unix.c
4081
4082Patch 8.2.0580
4083Problem: Window size wrong if 'ea' is off and 'splitright' is on and
4084 splitting then closing a window.
4085Solution: Put abandoned window space in the right place. (Mark Waggoner)
4086Files: src/testdir/test_winbuf_close.vim, src/window.c
4087
4088Patch 8.2.0581 (after 8.2.0547)
4089Problem: Win32 console: the cursor position is always top-left.
4090Solution: Revert the patch for restoring screen.
4091Files: src/os_win32.c
4092
4093Patch 8.2.0582
4094Problem: Color ramp test does not show text colors.
4095Solution: Add a row of 16 text colors and 16 bold text colors.
4096Files: src/testdir/color_ramp.vim
4097
4098Patch 8.2.0583
4099Problem: Vim9: # comment not recognized in :def function.
4100Solution: Recognize and skip # comment.
4101Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
4102
4103Patch 8.2.0584
4104Problem: Viminfo file uses obsolete function file_readable().
4105Solution: Use filereadable(). (closes #5934)
4106Files: src/session.c
4107
4108Patch 8.2.0585
4109Problem: Vim9: # comment not recognized after :vim9script.
4110Solution: Check script type. Make comment after ":echo" work. And in
4111 several other places.
4112Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/eval.c,
4113 src/vim9compile.c, src/testdir/test_vim9_script.vim
4114
4115Patch 8.2.0586
4116Problem: Vim9: # comment not sufficiently tested
4117Solution: Check for preceding white space.
4118Files: src/eval.c, src/testdir/test_vim9_script.vim
4119
4120Patch 8.2.0587
4121Problem: Compiler warning for unused variable.
4122Solution: Add UNUSED.
4123Files: src/ex_docmd.c
4124
4125Patch 8.2.0588
4126Problem: Putty does not use "sgr" 'ttymouse' by default.
4127Solution: Make "sgr" the default for Putty. (Christian Brabandt,
4128 closes #5942)
4129Files: src/term.c
4130
4131Patch 8.2.0589
4132Problem: .bsd file type not recognized.
4133Solution: Recognize .bsd as BSDL. (Daniel Kho, closes #5945)
4134Files: runtime/filetype.vim, src/testdir/test_filetype.vim
4135
4136Patch 8.2.0590
4137Problem: No 'backspace' value allows ignoring the insertion point.
4138Solution: Add the "nostop" and 3 values. (Christian Brabandt, closes #5940)
4139Files: runtime/doc/options.txt, src/edit.c, src/option.c, src/option.h,
4140 src/optionstr.c, src/testdir/gen_opt_test.vim,
4141 src/testdir/test_backspace_opt.vim
4142
4143Patch 8.2.0591
4144Problem: MS-Windows: should always support IPv6
4145Solution: Add build flag. (Ozaki Kiichi, closes #5944)
4146Files: src/Make_cyg_ming.mak, src/Make_mvc.mak
4147
4148Patch 8.2.0592
4149Problem: MS-Windows with VTP: cursor is not made invisible.
4150Solution: Output the code to make the cursor visible or invisible. (Nobuhiro
4151 Takasaki, closes #5941)
4152Files: src/os_win32.c
4153
4154Patch 8.2.0593
4155Problem: Finding a user command is not optimal.
4156Solution: Start further down in the list of commands.
4157Files: src/ex_cmds.h, src/ex_docmd.c
4158
4159Patch 8.2.0594
4160Problem: MS-Windows: cannot build with WINVER set to 0x0501.
4161Solution: Only use inet_ntop() when available. (Ozaki Kiichi, closes #5946)
4162Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/auto/configure,
4163 src/channel.c, src/config.h.in, src/configure.ac
4164
4165Patch 8.2.0595
4166Problem: Vim9: not all commands using ends_excmd() tested.
4167Solution: Find # comment after regular commands. Add more tests. Report
4168 error for where it was caused.
4169Files: src/ex_docmd.c, src/vim9compile.c, src/vim9execute.c, src/usercmd.c,
4170 src/evalfunc.c, src/userfunc.c, src/proto/userfunc.pro,
4171 src/testdir/test_vim9_script.vim,
4172 src/testdir/test_vim9_disassemble.vim
4173
4174Patch 8.2.0596
4175Problem: Crash in test49.
4176Solution: Check the right pointer.
4177Files: src/userfunc.c, src/testdir/test_eval.ok
4178
4179Patch 8.2.0597
4180Problem: Test_eval is old style.
4181Solution: Change some tests to a new style test.
4182Files: src/testdir/test_eval.in, src/testdir/test_eval.ok,
4183 src/testdir/test_eval_stuff.vim
4184
4185Patch 8.2.0598
4186Problem: Test_eval_stuff fails in normal terminal.
4187Solution: Close the new window.
4188Files: src/testdir/test_eval_stuff.vim
4189
4190Patch 8.2.0599
4191Problem: Netbeans interface insufficiently tested.
4192Solution: Add more tests. (Yegappan Lakshmanan, closes #5921)
4193Files: runtime/doc/netbeans.txt, src/netbeans.c, src/os_win32.c,
4194 src/testdir/runtest.vim, src/testdir/test_netbeans.py,
4195 src/testdir/test_netbeans.vim
4196
4197Patch 8.2.0600
4198Problem: Vim9: cannot read or write w:, t: and b: variables.
4199Solution: Implement load and store for w:, t: and b: variables.
Bram Moolenaar47c532e2022-03-19 15:18:53 +00004200 (closes #5950)
Bram Moolenaarc51cf032022-02-26 12:25:45 +00004201Files: src/testdir/test_vim9_disassemble.vim,
4202 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim,
4203 src/vim9.h, src/vim9compile.c, src/vim9execute.c
4204
4205Patch 8.2.0601
4206Problem: Vim9: :unlet is not compiled.
4207Solution: Implement :unlet instruction and check for errors.
4208Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9.h,
4209 src/vim9execute.c, src/evalvars.c, src/proto/evalvars.pro,
4210 src/eval.c, src/testdir/test_vim9_script.vim,
4211 src/testdir/test_vim9_disassemble.vim
4212
4213Patch 8.2.0602
4214Problem: :unlet $VAR does not work properly.
4215Solution: Make ":lockvar $VAR" fail. Check the "skip" flag.
4216Files: src/evalvars.c, src/globals.h, src/testdir/test_vimscript.vim
4217
4218Patch 8.2.0603
4219Problem: Configure does not detect moonjit.
4220Solution: Add check for moonjit. (Shlomi Fish, closes #5947)
4221Files: src/configure.ac, src/auto/configure
4222
4223Patch 8.2.0604
4224Problem: :startinsert in a terminal window used later.
4225Solution: Ignore :startinsert in a terminal window. (closes #5952)
4226Files: src/ex_docmd.c, src/testdir/test_terminal.vim
4227
4228Patch 8.2.0605
4229Problem: Vim9: cannot unlet an environment variable.
4230Solution: Implement unlet for $VAR.
4231Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
4232 src/testdir/test_vim9_script.vim,
4233 src/testdir/test_vim9_disassemble.vim
4234
4235Patch 8.2.0606
4236Problem: Several syntax HL errors not checked.
4237Solution: Add tests. (Yegappan Lakshmanan, closes #5954)
4238Files: src/testdir/test_syntax.vim
4239
4240Patch 8.2.0607
4241Problem: Gcc warns for using uninitialized variable. (John Marriott)
4242Solution: Set name_end also for environment variables.
4243Files: src/evalvars.c
4244
4245Patch 8.2.0608
4246Problem: Warning from clang when building message test.
4247Solution: Use a void pointer. (Dominique Pellé, closes #5958)
4248Files: src/message_test.c
4249
4250Patch 8.2.0609
4251Problem: Configure does not detect moonjit correctly.
4252Solution: Double the brackets. (Ozaki Kiichi)
4253Files: src/configure.ac, src/auto/configure
4254
4255Patch 8.2.0610
4256Problem: Some tests are still old style.
4257Solution: Convert to new style tests. (Yegappan Lakshmanan, closes #5957)
4258Files: src/testdir/test_blob.vim, src/testdir/test_cursor_func.vim,
4259 src/testdir/test_eval.in, src/testdir/test_eval.ok,
4260 src/testdir/test_eval_func.vim, src/testdir/test_eval_stuff.vim,
4261 src/testdir/test_expr.vim, src/testdir/test_filter_map.vim,
4262 src/testdir/test_functions.vim, src/testdir/test_listdict.vim,
4263 src/testdir/test_sort.vim, src/testdir/test_syntax.vim,
4264 src/testdir/test_utf8.vim, src/testdir/test_vimscript.vim
4265
4266Patch 8.2.0611
4267Problem: Vim9: no check for space before #comment.
4268Solution: Add space checks.
4269Files: src/eval.c, src/evalvars.c, src/ex_docmd.c,
4270 src/testdir/test_vim9_script.vim
4271
4272Patch 8.2.0612
4273Problem: Vim9: no check for space before #comment.
4274Solution: Add space checks.
4275Files: src/ex_eval.c, src/ex_cmds.c, src/regexp.c, src/proto/regexp.pro,
4276 src/gui.c, src/highlight.c, src/testdir/test_vim9_script.vim,
4277 src/testdir/test_sort.vim
4278
4279Patch 8.2.0613
4280Problem: Vim9: no check for space before #comment.
4281Solution: Add space checks.
4282Files: src/highlight.c, src/menu.c, src/syntax.c,
4283 src/testdir/test_vim9_script.vim,
4284 runtime/lang/menu_de_de.latin1.vim
4285
4286Patch 8.2.0614
4287Problem: Get ml_get error when deleting a line in 'completefunc'. (Yegappan
4288 Lakshmanan)
4289Solution: Lock the text while evaluating 'completefunc'.
4290Files: src/insexpand.c, src/globals.h, src/edit.c, src/ex_getln.c,
4291 src/undo.c, src/testdir/test_edit.vim, src/testdir/test_excmd.vim,
4292 src/testdir/test_gf.vim, src/testdir/test_popup.vim,
4293 src/testdir/test_ex_mode.vim, runtime/doc/insert.txt
4294
4295Patch 8.2.0615
4296Problem: Regexp benchmark test is old style.
4297Solution: Make it a new style test. Fix using a NULL list. Add more tests.
4298 (Yegappan Lakshmanan, closes #5963)
4299Files: src/evalbuffer.c, src/testdir/Make_dos.mak,
4300 src/testdir/Make_ming.mak, src/testdir/Makefile,
4301 src/testdir/bench_re_freeze.in, src/testdir/bench_re_freeze.vim,
4302 src/testdir/test_autocmd.vim, src/testdir/test_bench_regexp.vim,
4303 src/testdir/test_blob.vim, src/testdir/test_bufline.vim,
4304 src/testdir/test_channel.vim, src/testdir/test_cmdline.vim,
4305 src/testdir/test_functions.vim, src/testdir/test_ins_complete.vim,
4306 src/testdir/test_popupwin.vim, src/testdir/test_prompt_buffer.vim,
4307 src/testdir/test_tagjump.vim, src/testdir/test_window_cmd.vim
4308
4309Patch 8.2.0616
4310Problem: Build error when disabling the diff feature.
4311Solution: Move parenthesis outside of #ifdef. (Tom Ryder)
4312Files: src/drawline.c
4313
4314Patch 8.2.0617
4315Problem: New error check triggers in Swedish menu.
4316Solution: Insert backslash. (Mats Tegner, closes #5966)
4317Files: runtime/lang/menu_sv_se.latin1.vim
4318
4319Patch 8.2.0618
4320Problem: Echoing a null list results in no output. (Yegappan Lakshmanan)
Bram Moolenaar47c532e2022-03-19 15:18:53 +00004321Solution: Return "[]" instead of NULL in echo_string_core().
Bram Moolenaarc51cf032022-02-26 12:25:45 +00004322Files: src/eval.c, src/testdir/test_messages.vim
4323
4324Patch 8.2.0619
4325Problem: Null dict is not handled like an empty dict.
4326Solution: Fix the code and add tests. (Yegappan Lakshmanan, closes #5968)
4327Files: src/dict.c, src/eval.c, src/testdir/test_blob.vim,
4328 src/testdir/test_expr.vim, src/testdir/test_filter_map.vim,
4329 src/testdir/test_let.vim, src/testdir/test_listdict.vim,
4330 src/testdir/test_search.vim, src/testdir/test_unlet.vim,
4331 src/testdir/test_usercommands.vim, src/testdir/test_vimscript.vim
4332
4333Patch 8.2.0620
4334Problem: Error in menu translations.
4335Solution: Insert a backslash before a space.
4336Files: runtime/lang/menu_it_it.latin1.vim,
4337 runtime/lang/menu_chinese_gb.936.vim
4338
4339Patch 8.2.0621
4340Problem: After running tests asan files may remain.
4341Solution: Clean up asan files with "make testclean".
4342Files: src/testdir/Makefile, src/Makefile
4343
4344Patch 8.2.0622
4345Problem: Haiku: GUI does not compile.
4346Solution: Various fixes. (Emir Sarı, closes #5961)
4347Files: Filelist, README.md, READMEdir/README_haiku.txt,
4348 runtime/doc/os_haiku.txt, src/Makefile, src/beval.h,
4349 src/gui_haiku.cc, src/proto/gui_haiku.pro
4350
4351Patch 8.2.0623
4352Problem: Typo in test comment. (Christ van Willegen)
4353Solution: Avoid mixing up a data structure with a body part.
4354Files: src/testdir/test_listdict.vim
4355
4356Patch 8.2.0624
4357Problem: Vim9: no check for space before #comment.
4358Solution: Add space checks. Fix :throw with double quoted string.
4359Files: src/usercmd.c, src/userfunc.c, src/vim9compile.c,
4360 src/testdir/test_vim9_script.vim
4361
4362Patch 8.2.0625
4363Problem: Vim9: confusing error when calling unknown function.
4364Solution: Give error while compiling.
4365Files: src/vim9compile.c, src/vim9execute.c,
4366 src/testdir/test_vim9_func.vim
4367
4368Patch 8.2.0626
4369Problem: Vim9: wrong syntax of function in Vim9 script.
4370Solution: Give error for missing space. Implement :echomsg and :echoerr.
4371 (closes #5670)
4372Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h, src/userfunc.c,
4373 src/eval.c, src/globals.h, src/testdir/test_vim9_func.vim,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00004374 src/testdir/test_vim9_disassemble.vim,
Bram Moolenaarc51cf032022-02-26 12:25:45 +00004375 src/testdir/test_vim9_script.vim
4376
4377Patch 8.2.0627
4378Problem: Vim9: error message does not work. (Yegappan Lakshmanan)
4379Solution: Swap lines.
4380Files: src/userfunc.c
4381
4382Patch 8.2.0628
4383Problem: Error in menu translations.
4384Solution: Insert a backslash before a space in one more file. (Shun Bai,
4385 Emir Sarı)
4386Files: runtime/lang/menu_zh_cn.utf-8.vim,
4387 runtime/lang/menu_ca_es.latin1.vim,
4388 runtime/lang/menu_cs_cz.iso_8859-2.vim,
4389 runtime/lang/menu_cs_cz.utf-8.vim,
4390 runtime/lang/menu_czech_czech_republic.1250.vim,
4391 runtime/lang/menu_czech_czech_republic.ascii.vim,
4392 runtime/lang/menu_da.utf-8.vim,
4393 runtime/lang/menu_fi_fi.latin1.vim,
4394 runtime/lang/menu_hu_hu.iso_8859-2.vim,
4395 runtime/lang/menu_hu_hu.utf-8.vim,
4396 runtime/lang/menu_is_is.latin1.vim,
4397 runtime/lang/menu_no_no.latin1.vim, runtime/lang/menu_pt_br.vim,
4398 runtime/lang/menu_pt_pt.vim,
4399 runtime/lang/menu_sk_sk.iso_8859-2.vim,
4400 runtime/lang/menu_sl_si.latin2.vim,
4401 runtime/lang/menu_slovak_slovak_republic.1250.vim,
4402 runtime/lang/menu_tr_tr.cp1254.vim,
4403 runtime/lang/menu_tr_tr.iso_8859-9.vim,
4404 runtime/lang/menu_tr_tr.utf-8.vim, runtime/lang/menu_vi_vn.vim
4405
4406Patch 8.2.0629
4407Problem: Setting a boolean option to v:false does not work.
4408Solution: Do not use the string representation of the value. (Christian
4409 Brabandt, closes #5974)
4410Files: src/evalvars.c, src/testdir/test_options.vim
4411
4412Patch 8.2.0630
4413Problem: "make tags" does not cover Haiku GUI file.
4414Solution: Add *.cc files.
4415Files: src/Make_all.mak
4416
4417Patch 8.2.0631
4418Problem: Haiku file formatted with wrong tabstop.
4419Solution: Use normal tabstop. Fix white space.
4420Files: src/gui_haiku.cc
4421
4422Patch 8.2.0632
4423Problem: Crash when using Haiku.
4424Solution: Lock the screen. (closes #5975, closes #5973)
4425Files: src/screen.c
4426
4427Patch 8.2.0633
4428Problem: Crash when using null partial in filter().
4429Solution: Fix crash. Add more tests. (Yegappan Lakshmanan, closes #5976)
4430Files: src/eval.c, src/testdir/test_blob.vim,
4431 src/testdir/test_channel.vim, src/testdir/test_eval_stuff.vim,
4432 src/testdir/test_execute_func.vim, src/testdir/test_expr.vim,
4433 src/testdir/test_filter_map.vim, src/testdir/test_fold.vim,
4434 src/testdir/test_functions.vim, src/testdir/test_let.vim,
4435 src/testdir/test_listdict.vim, src/testdir/test_partial.vim,
4436 src/testdir/test_usercommands.vim
4437
4438Patch 8.2.0634
4439Problem: Crash with null partial and blob.
4440Solution: Check for NULL pointer. Add more tests. (Yegappan Lakshmanan,
4441 closes #5984)
4442Files: src/eval.c, src/list.c, src/testdir/test_blob.vim,
4443 src/testdir/test_bufwintabinfo.vim, src/testdir/test_cd.vim,
4444 src/testdir/test_channel.vim, src/testdir/test_cursor_func.vim,
4445 src/testdir/test_eval_stuff.vim, src/testdir/test_expr.vim,
4446 src/testdir/test_filter_map.vim, src/testdir/test_fnamemodify.vim,
4447 src/testdir/test_functions.vim, src/testdir/test_getvar.vim,
4448 src/testdir/test_listdict.vim, src/testdir/test_messages.vim,
4449 src/testdir/test_partial.vim, src/testdir/test_quickfix.vim,
4450 src/testdir/test_tabpage.vim, src/testdir/test_vimscript.vim,
4451 src/testdir/test_window_cmd.vim, src/testdir/test_window_id.vim,
4452 src/testdir/test_writefile.vim
4453
4454Patch 8.2.0635
4455Problem: When using 256 colors DarkYellow does not show expected color.
4456Solution: Use color 3 instead of 130. (Romain Lafourcade, closes #5985)
4457Files: src/highlight.c
4458
4459Patch 8.2.0636
4460Problem: :messages does not show the maintainer when $LANG is unset.
4461Solution: Call get_mess_lang() if available. (closes #5978)
4462Files: src/message.c
4463
4464Patch 8.2.0637
4465Problem: Incsearch highlighting does not work for ":sort!".
4466Solution: Skip over the exclamation point. (closes #5983)
4467Files: src/ex_getln.c, src/testdir/test_search.vim,
4468 src/testdir/dumps/Test_incsearch_sort_02.dump
4469
4470Patch 8.2.0638
4471Problem: MS-Windows: messages test fails.
4472Solution: Clear environment variables.
4473Files: src/testdir/test_messages.vim
4474
4475Patch 8.2.0639
4476Problem: MS-Windows: messages test still fails.
4477Solution: Filter out the maintainer message.
4478Files: src/testdir/test_messages.vim
4479
4480Patch 8.2.0640
4481Problem: Vim9: expanding `=expr` does not work.
4482Solution: Find wildcards in not compiled commands. Reorganize test files.
4483Files: Filelist, src/vim9.h, src/vim9compile.c, src/vim9execute.c,
4484 src/testdir/vim9.vim, src/testdir/test_vim9_cmd.vim,
4485 src/testdir/test_vim9_disassemble.vim,
4486 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim,
4487 src/testdir/Make_all.mak
4488
4489Patch 8.2.0641
4490Problem: Vim9: `=expr` not expanded in :hardcopy and "syntax include".
4491Solution: Add the EX_EXPAND flag. Expend "syntax include".
4492Files: src/ex_cmds.h, src/vim9compile.c, src/vim9execute.c,
4493 src/testdir/test_vim9_cmd.vim
4494
4495Patch 8.2.0642
4496Problem: Vim9: using invalid index.
4497Solution: Check index for being valid. Fix memory leak.
4498Files: src/vim9compile.c, src/clientserver.c
4499
4500Patch 8.2.0643 (after 8.2.0635)
4501Problem: Terminal uses brown instead of dark yellow. (Romain Lafourcade)
4502Solution: Use color index 3 instead of 130. (closes #5993)
4503Files: src/terminal.c
4504
4505Patch 8.2.0644
4506Problem: Insufficient testing for invalid function arguments.
4507Solution: Add more tests. (Yegappan Lakshmanan, closes #5988)
4508Files: runtime/doc/eval.txt, src/testdir/test_bufline.vim,
4509 src/testdir/test_channel.vim, src/testdir/test_clientserver.vim,
4510 src/testdir/test_expr.vim, src/testdir/test_functions.vim,
4511 src/testdir/test_listener.vim, src/testdir/test_match.vim,
4512 src/testdir/test_menu.vim, src/testdir/test_quickfix.vim,
4513 src/testdir/test_registers.vim, src/testdir/test_reltime.vim,
4514 src/testdir/test_terminal.vim, src/testdir/test_textprop.vim,
4515 src/testdir/test_window_cmd.vim, src/testdir/test_window_id.vim,
4516 src/testdir/test_writefile.vim
4517
4518Patch 8.2.0645
4519Problem: MS-Windows terminal: CTRL-C does not get to child job.
4520Solution: Remove CREATE_NEW_PROCESS_GROUP from CreateProcessW(). (Nobuhiro
4521 Takasaki, closes #5987)
4522Files: src/terminal.c
4523
4524Patch 8.2.0646
4525Problem: t_Co uses the value of $COLORS in the GUI. (Masato Nishihata)
4526Solution: Ignore $COLORS for the GUI. (closes #5992)
4527Files: src/os_unix.c, src/term.c
4528
4529Patch 8.2.0647
4530Problem: MS-Windows: repeat count for events was not used.
4531Solution: Check the repeat count. (Nobuhiro Takasaki, closes #5989)
4532Files: src/os_win32.c
4533
4534Patch 8.2.0648
4535Problem: Semicolon search does not work in first line.
4536Solution: Allow the cursor to be in line zero. (Christian Brabandt,
4537 closes #5996)
4538Files: src/ex_docmd.c, src/testdir/test_cmdline.vim
4539
4540Patch 8.2.0649
4541Problem: Undo problem when an InsertLeave autocommand resets undo. (Kutsan
4542 Kaplan)
4543Solution: Do not create a new undo block when leaving Insert mode.
4544Files: src/edit.c, src/testdir/test_edit.vim
4545
4546Patch 8.2.0650
4547Problem: Vim9: script function can be deleted.
4548Solution: Disallow deleting script function. Delete functions when sourcing
4549 a script again.
4550Files: src/userfunc.c, src/proto/userfunc.pro, src/evalfunc.c,
4551 src/vim9compile.c, src/vim9execute.c, src/vim9script.c,
4552 src/scriptfile.c, src/testing.c, src/testdir/test_vim9_expr.vim,
4553 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
4554
4555Patch 8.2.0651
4556Problem: Old style benchmark test still in list of distributed files.
4557Solution: Remove the files from the list.
4558Files: Filelist
4559
4560Patch 8.2.0652 (after 8.2.0650)
4561Problem: Compiler warning for char conversion.
4562Solution: Use unsigned char buffer.
4563Files: src/userfunc.c
4564
4565Patch 8.2.0653 (after 8.2.0650)
4566Problem: using uninitialized pointer.
4567Solution: Move assignment up. (John Marriott)
4568Files: src/userfunc.c, src/testdir/test_vim9_script.vim
4569
4570Patch 8.2.0654
4571Problem: Building with Python fails.
4572Solution: Add missing argument.
4573Files: src/if_py_both.h
4574
4575Patch 8.2.0655
4576Problem: Search code not sufficiently tested.
4577Solution: Add more tests. (Yegappan Lakshmanan, closes #5999)
4578Files: src/testdir/test_charsearch.vim, src/testdir/test_gn.vim,
4579 src/testdir/test_goto.vim, src/testdir/test_ins_complete.vim,
4580 src/testdir/test_normal.vim, src/testdir/test_search.vim,
4581 src/testdir/test_textformat.vim, src/testdir/test_textobjects.vim,
4582 src/testdir/test_visual.vim
4583
4584Patch 8.2.0656
4585Problem: MS-Windows: redrawing right screen edge may not be needed.
4586Solution: Check the build version. (Nobuhiro Takasaki, closes #6002)
4587Files: src/drawscreen.c, src/os_win32.c, src/proto/os_win32.pro
4588
4589Patch 8.2.0657
4590Problem: Vim9: no check if called variable is a FuncRef.
4591Solution: Add a type check.
4592Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
4593 src/testdir/test_vim9_expr.vim
4594
4595Patch 8.2.0658 (after 8.2.0646)
4596Problem: HP-UX build fails when setenv() is not defined.
4597Solution: Change "colors" to "t_colors". (John Marriott)
4598Files: src/os_unix.c
4599
4600Patch 8.2.0659
4601Problem: Vim9: no test for equal func type.
4602Solution: Add a test. Improve type check.
4603Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
4604
4605Patch 8.2.0660
4606Problem: The search.c file is a bit big.
4607Solution: Split off the text object code to a separate file. (Yegappan
4608 Lakshmanan, closes #6007)
4609Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
4610 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
4611 src/proto.h, src/proto/search.pro, src/proto/textobject.pro,
4612 src/search.c, src/textobject.c
4613
4614Patch 8.2.0661
4615Problem: Eval test is still old style.
4616Solution: Change into new style tests. (Yegappan Lakshmanan, closes #6009)
4617Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
4618 src/testdir/test_eval.in, src/testdir/test_eval.ok,
4619 src/testdir/test_eval_stuff.vim
4620
4621Patch 8.2.0662
4622Problem: Cannot use input() in a channel callback.
4623Solution: Reset vgetc_busy. (closes #6010)
4624Files: src/globals.h, src/ex_getln.c, src/evalfunc.c,
4625 src/testdir/test_channel.vim
4626
4627Patch 8.2.0663
4628Problem: Not all systemd temp files are recognized.
4629Solution: Add two more patterns. (Jamie Macdonald, closes #6003)
4630Files: runtime/filetype.vim, src/testdir/test_filetype.vim
4631
4632Patch 8.2.0664
4633Problem: Included undesired changes in Makefile.
4634Solution: Revert the changes.
4635Files: src/Makefile
4636
4637Patch 8.2.0665
4638Problem: Wrongly assuming Python executable is called "python".
4639Solution: Use detected python command. (Ken Takata, closes #6016)
4640 Also use CheckFunction if possible.
4641Files: src/testdir/test_terminal.vim, src/testdir/check.vim
4642
4643Patch 8.2.0666
4644Problem: Ruby test fails on MS-Windows.
4645Solution: Remove the "maintainer" line. (Ken Takata, closes #6015)
4646Files: src/testdir/shared.vim, src/testdir/test_messages.vim,
4647 src/testdir/test_ruby.vim
4648
4649Patch 8.2.0667
4650Problem: Cannot install Haiku version from source.
4651Solution: Update Makefile and rdef file. (Emir Sarı, closes #6013)
4652Files: Filelist, READMEdir/README_haiku.txt, runtime/doc/os_haiku.txt,
4653 src/Makefile, src/os_haiku.rdef.in, src/os_haiku.rdef
4654
4655Patch 8.2.0668
4656Problem: Compiler warning for int/size_t usage.
4657Solution: Change "int" to "size_t". (Mike Williams)
4658Files: src/vim9execute.c
4659
4660Patch 8.2.0669
4661Problem: MS-Windows: display in VTP is a bit slow.
4662Solution: Optimize the code. (Nobuhiro Takasaki, closes #6014)
4663Files: src/os_win32.c, src/screen.c
4664
4665Patch 8.2.0670
4666Problem: Cannot change window when evaluating 'completefunc'.
4667Solution: Make a difference between not changing text or buffers and also
4668 not changing window.
4669Files: src/ex_getln.c, src/beval.c, src/change.c, src/edit.c, src/eval.c,
4670 src/ex_docmd.c, src/insexpand.c, src/globals.h, src/indent.c,
4671 src/map.c, src/window.c, src/proto/ex_getln.pro, src/register.c,
4672 src/undo.c, src/testdir/test_edit.vim,
4673 src/testdir/test_ins_complete.vim, src/testdir/test_popup.vim
4674
4675Patch 8.2.0671
4676Problem: Haiku: compiler warnings.
4677Solution: Avoid the warnings. Drop display_errors() copy. (Emir Sarı,
4678 closes #6018)
4679Files: .gitignore, src/gui.c, src/gui_haiku.cc
4680
4681Patch 8.2.0672
4682Problem: Heredoc in scripts does not accept lower case marker.
4683Solution: Allow lower case only in non-Vim scripts. (Ken Takata,
4684 closes #6019)
4685Files: src/evalvars.c, src/testdir/test_lua.vim,
4686 src/testdir/test_perl.vim, src/testdir/test_python2.vim,
4687 src/testdir/test_python3.vim, src/testdir/test_pyx2.vim,
4688 src/testdir/test_pyx3.vim, src/testdir/test_ruby.vim
4689
4690Patch 8.2.0673
4691Problem: Cannot build Haiku in shadow directory.
4692Solution: Add symlink. (Ozaki Kiichi, closes #6023)
4693Files: src/Makefile
4694
4695Patch 8.2.0674
4696Problem: Some source files are too big.
4697Solution: Move text formatting functions to a new file. (Yegappan
4698 Lakshmanan, closes #6021)
4699Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
4700 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
4701 src/edit.c, src/getchar.c, src/ops.c, src/option.c, src/proto.h,
4702 src/proto/edit.pro, src/proto/getchar.pro, src/proto/ops.pro,
4703 src/proto/option.pro, src/proto/textformat.pro, src/textformat.c
4704
4705Patch 8.2.0675
4706Problem: Vim9: no support for closures.
4707Solution: Do not re-use stack entries.
4708Files: src/vim9compile.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
4709 src/evalvars.c, src/proto/evalvars.pro
4710
4711Patch 8.2.0676
4712Problem: Pattern in list of distributed files does not match.
4713Solution: Drop "testdir/test_[a-z]*.ok". Add CI sed files.
4714Files: Filelist
4715
4716Patch 8.2.0677
4717Problem: Vim9: no support for closures.
4718Solution: Find variables in the outer function scope, so long as the scope
4719 exists.
4720Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c,
4721 src/vim9execute.c, src/structs.h, src/vim9.h,
4722 src/testdir/test_vim9_func.vim
4723
4724Patch 8.2.0678
4725Problem: Rare crash for popup menu.
4726Solution: Check for NULL pointer. (Nobuhiro Takasaki, closes #6027)
4727Files: src/popupmenu.c
4728
4729Patch 8.2.0679
4730Problem: Vim9: incomplete support for closures.
4731Solution: At the end of a function copy arguments and local variables if
4732 they are still used by a referenced closure.
4733Files: src/structs.h, src/vim9.h, src/vim9compile.c, src/vim9execute.c,
4734 src/testdir/test_vim9_func.vim
4735
4736Patch 8.2.0680
4737Problem: PTYGROUP and PTYMODE are unused.
4738Solution: Remove from autoconf. (closes #6024)
4739Files: src/configure.ac, src/auto/configure, src/config.h.in
4740
4741Patch 8.2.0681
4742Problem: Pattern for 'hlsearch' highlighting may leak. (Dominique Pellé)
4743Solution: Call end_search_hl() to make sure the previous pattern is freed.
4744 (closes #6028)
4745Files: src/screen.c
4746
4747Patch 8.2.0682
4748Problem: Vim9: parsing function argument type can get stuck.
4749Solution: Bail out when not making progress.
4750Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
4751
4752Patch 8.2.0683
4753Problem: Vim9: parsing type does not always work.
4754Solution: Handle func type without return value. Test more closures.
4755 Fix type check offset. Fix garbage collection.
4756Files: src/vim9compile.c, src/vim9execute.c, src/proto/vim9execute.pro,
4757 src/userfunc.c, src/testdir/test_vim9_func.vim
4758
4759Patch 8.2.0684
4760Problem: Vim9: memory leak when using lambda.
4761Solution: Move the funccal context to the partial. Free the function when
4762 exiting.
4763Files: src/vim9.h, src/structs.h, src/vim9execute.c, src/userfunc.c,
4764 src/eval.c, src/testdir/test_vim9_func.vim
4765
4766Patch 8.2.0685 (after 8.2.0684)
4767Problem: Build failure.
4768Solution: Include missing changes.
4769Files: src/vim9compile.c
4770
4771Patch 8.2.0686
4772Problem: Formatoptions not sufficiently tested.
4773Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6031)
4774Files: src/testdir/test_normal.vim, src/testdir/test_textformat.vim
4775
4776Patch 8.2.0687
4777Problem: Some tests do not work on FreeBSD.
4778Solution: Enable modeline. Use WaitFor() in more cases. (Ozaki Kiichi,
4779 closes #6036)
4780Files: src/testdir/test_quickfix.vim, src/testdir/test_terminal.vim
4781
4782Patch 8.2.0688
4783Problem: Output clobbered if setting 'verbose' to see shell commands.
4784Solution: Only output "Searching for" when 'verbose' is 11 or higher.
4785Files: src/scriptfile.c, runtime/doc/options.txt
4786
4787Patch 8.2.0689
4788Problem: When using getaddrinfo() the error message is unclear.
4789Solution: Use gai_strerror() to get the message. (Ozaki Kiichi,
4790 closes #6034)
4791Files: src/channel.c
4792
4793Patch 8.2.0690
4794Problem: Line number of option set by modeline is wrong.
4795Solution: Do not double the line number. (Ozaki Kiichi, closes #6035)
4796Files: src/option.c, src/testdir/test_modeline.vim
4797
4798Patch 8.2.0691
4799Problem: Startup test fails.
4800Solution: Adjust expected output from -V2 argument.
4801Files: src/testdir/test_startup.vim
4802
4803Patch 8.2.0692
4804Problem: Startup test fails on MS-Windows.
4805Solution: Allow for any path.
4806Files: src/testdir/test_startup.vim
4807
4808Patch 8.2.0693
4809Problem: Closure using argument not tested.
4810Solution: Add a test, make it work.
4811Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
4812
4813Patch 8.2.0694
4814Problem: Haiku: channel and terminal do not work.
4815Solution: Close files when the job has finished. (Ozaki Kiichi,
4816 closes #6039)
4817Files: src/channel.c, src/getchar.c, src/gui_haiku.cc, src/misc1.c
4818
4819Patch 8.2.0695
4820Problem: Vim9: cannot define a function inside a function.
4821Solution: Initial support for :def inside :def.
4822Files: src/userfunc.c, src/proto/userfunc.pro, src/vim9compile.c,
4823 src/vim9execute.c, src/testdir/test_vim9_func.vim
4824
4825Patch 8.2.0696
4826Problem: Vim9: nested function does not work properly
4827Solution: Create a function reference. Check argument count.
4828Files: src/vim9compile.c, src/vim9execute.c,
4829 src/testdir/test_vim9_func.vim
4830
4831Patch 8.2.0697
4832Problem: Vim9: memory leak when using nested function.
4833Solution: Unreference function when deleting instructions. Adjust reference
4834 count for local variables.
4835Files: src/vim9compile.c, src/vim9execute.c
4836
4837Patch 8.2.0698
4838Problem: Insert mode completion not fully tested.
4839Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6041)
4840Files: src/testdir/test_edit.vim, src/testdir/test_ins_complete.vim,
4841 src/testdir/test_textformat.vim
4842
4843Patch 8.2.0699
4844Problem: Vim9: not all errors tested.
4845Solution: Add test for deleted function. Bail out on first error.
4846Files: src/vim9execute.c, src/testdir/test_vim9_func.vim,
4847 src/testdir/test_vim9_expr.vim, src/testdir/vim9.vim
4848
4849Patch 8.2.0700
4850Problem: Vim9: converting error message to exception not tested.
4851Solution: Test exception from error. Do not continue after :echoerr.
4852Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
4853
4854Patch 8.2.0701
4855Problem: Vim9 test fails without job feature.
4856Solution: Add feature check.
4857Files: src/testdir/test_vim9_script.vim
4858
4859Patch 8.2.0702
4860Problem: Running channel tests may leave running process behind.
4861Solution: Make Python client exit when running into EOF. (Kurtis Rader,
4862 part of #6046)
4863Files: src/testdir/test_channel_pipe.py
4864
4865Patch 8.2.0703
4866Problem: Vim9: closure cannot store value in outer context.
4867Solution: Make storing value in outer context work. Make :disassemble
4868 accept a function reference.
4869Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h, src/eval.c,
4870 src/structs.h, src/testdir/test_vim9_disassemble.vim,
4871 src/testdir/test_vim9_func.vim
4872
4873Patch 8.2.0704
4874Problem: Vim9: memory leak in disassemble test.
4875Solution: Decrement refcount when creating funccal.
4876Files: src/vim9execute.c
4877
4878Patch 8.2.0705
4879Problem: Indent tests don't run on CI for FreeBSD.
4880Solution: Set modeline. (Ozaki Kiichi, closes #6048)
4881Files: .cirrus.yml, runtime/indent/testdir/runtest.vim
4882
4883Patch 8.2.0706
4884Problem: Vim9: using assert_fails() causes function to finish.
4885Solution: Check did_emsg instead of called_emsg.
4886Files: src/vim9execute.c, src/testdir/test_vim9_disassemble.vim,
4887 src/testdir/test_vim9_script.vim
4888
4889Patch 8.2.0707
4890Problem: Vim9 function test fails.
4891Solution: Adjust expected error code.
4892Files: src/testdir/test_vim9_func.vim
4893
4894Patch 8.2.0708
4895Problem: Vim9: constant expressions are not simplified.
4896Solution: Simplify string concatenation.
4897Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim,
4898 src/testdir/test_vim9_expr.vim
4899
4900Patch 8.2.0709
4901Problem: MS-Windows: compiler warning for int vs size_t.
4902Solution: Add type cast. (Mike Williams)
4903Files: src/channel.c
4904
4905Patch 8.2.0710
4906Problem: Netbeans test sometimes fails.
4907Solution: Mark any test using an external command as flaky.
4908Files: src/testdir/shared.vim
4909
4910Patch 8.2.0711
4911Problem: With a long running Vim the temp directory might be cleared on
4912 some systems.
4913Solution: Lock the temp directory. (closes #6044)
4914Files: src/config.h.in, src/configure.ac, src/auto/configure,
4915 src/fileio.c, src/globals.h, src/os_unix.h
4916
4917Patch 8.2.0712
4918Problem: Various code not fully tested.
4919Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6049)
4920Files: src/testdir/test_functions.vim, src/testdir/test_options.vim,
4921 src/testdir/test_system.vim, src/testdir/test_termcodes.vim
4922
4923Patch 8.2.0713
4924Problem: The pam_environment file is not recognized.
4925Solution: Add a filetype pattern for pamenv. (closes #6051)
4926Files: runtime/filetype.vim, src/testdir/test_filetype.vim
4927
4928Patch 8.2.0714
4929Problem: Vim9: handling constant expression does not scale.
4930Solution: Use another solution, passing typval_T.
4931Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
4932
4933Patch 8.2.0715
4934Problem: Vim9: leaking memory.
4935Solution: Free strings after concatenating them.
4936Files: src/vim9compile.c
4937
4938Patch 8.2.0716
4939Problem: Vim9: another memory leak.
4940Solution: Clear typval when failing.
4941Files: src/vim9compile.c
4942
4943Patch 8.2.0717
4944Problem: Vim9: postponed constant expressions does not scale.
4945Solution: Add a structure to pass around postponed constants.
4946Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
4947
4948Patch 8.2.0718
4949Problem: Gcc warning for returning pointer to local variable. (John
4950 Marriott)
4951Solution: Return another pointer.
4952Files: src/evalvars.c
4953
4954Patch 8.2.0719
4955Problem: Vim9: more expressions can be evaluated at compile time
4956Solution: Recognize has('name').
4957Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim,
4958 src/testdir/test_vim9_expr.vim
4959
4960Patch 8.2.0720
4961Problem: Occasional exit when encountering an X error. (Manfred Lotz)
4962Solution: On an X error do not exit, do preserve files.
4963Files: src/os_unix.c
4964
4965Patch 8.2.0721
4966Problem: Vim9: leaking memory when skipping.
4967Solution: Disable skipping in generate_ppconst().
4968Files: src/vim9compile.c
4969
4970Patch 8.2.0722
4971Problem: Vim9: not handling constant expression for elseif.
4972Solution: Use postponed constants. Delete the code for evaluating a
4973 constant expression.
4974Files: src/vim9compile.c
4975
4976Patch 8.2.0723
4977Problem: Vim9: nested constant expression not evaluated compile time.
4978Solution: Use compile_expr1() for parenthesis.
4979Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
4980
4981Patch 8.2.0724
4982Problem: Vim9: appending to buffer/window/tab variable not tested
4983Solution: Add a test.
4984Files: src/testdir/test_vim9_script.vim
4985
4986Patch 8.2.0725
4987Problem: Vim9: cannot call a function declared later in Vim9 script.
4988Solution: Make two passes through the script file.
4989Files: src/scriptfile.c, src/proto/scriptfile.pro, src/vim9script.c,
4990 src/vim9compile.c, src/vim9execute.c, src/proto/vim9compile.pro,
4991 src/userfunc.c, src/proto/userfunc.pro, src/evalvars.c,
4992 src/proto/evalvars.pro, src/vim.h,
4993 src/testdir/test_vim9_disassemble.vim
4994
4995Patch 8.2.0726
4996Problem: Vim9: leaking memory when calling not compiled :def function.
4997Solution: Check if function is compiled earlier.
4998Files: src/vim9execute.c
4999
5000Patch 8.2.0727
5001Problem: MS-Windows: new gcc compiler does not support scanf format.
5002Solution: Use "%ll" instead of "%I". (Ken Takata)
5003Files: src/vim.h
5004
5005Patch 8.2.0728
5006Problem: Messages about a deadly signal are not left aligned.
5007Solution: Output a CR before the NL. (Dominique Pellé, #6055)
5008Files: src/misc1.c, src/os_unix.c
5009
5010Patch 8.2.0729
5011Problem: Vim9: When reloading a script variables are not cleared.
5012Solution: When sourcing a script again clear all script-local variables.
5013Files: src/dict.c, src/proto/dict.pro, src/scriptfile.c,
5014 src/testdir/test_vim9_script.vim
5015
5016Patch 8.2.0730
5017Problem: Vim9: Assignment to dict member does not work.
5018Solution: Parse dict assignment. Implement getting dict member.
5019Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/globals.h,
5020 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_cmd.vim,
5021 src/testdir/test_vim9_script.vim
5022
5023Patch 8.2.0731
5024Problem: Vim9: parsing declarations continues after :finish.
5025Solution: Bail out when encountering :finish.
5026Files: src/vim9script.c, src/testdir/test_vim9_script.vim
5027
5028Patch 8.2.0732
5029Problem: Vim9: storing value in dict messes up stack.
5030Solution: Correct item count of stack.
5031Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
5032
5033Patch 8.2.0733
5034Problem: Vim9: assigning to dict or list argument does not work.
5035Solution: Recognize an argument as assignment target.
5036Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
5037
5038Patch 8.2.0734
5039Problem: Vim9: leaking memory when using :finish.
5040Solution: Do not check for next line in third pass.
5041Files: src/scriptfile.c
5042
5043Patch 8.2.0735
5044Problem: Vim9: using uninitialized memory.
5045Solution: Clear the arg_lvar field.
5046Files: src/vim9compile.c
5047
5048Patch 8.2.0736
5049Problem: Some files not recognized as pamenv.
5050Solution: Add pam_inv.conf. (closes #6065)
5051Files: runtime/filetype.vim, src/testdir/test_filetype.vim
5052
5053Patch 8.2.0737
5054Problem: When shell doesn't support CTRL-Z Vim still handles it.
5055Solution: Ignore the STOP signal if it was ignored on startup.
5056 (Kurtis Rader, closes #5990, closes #6058)
5057Files: src/os_unix.c
5058
5059Patch 8.2.0738
5060Problem: Mouse handling in a terminal window not well tested.
5061Solution: Add tests. (Yegappan Lakshmanan, closes #6052)
5062Files: src/testdir/term_util.vim, src/testdir/test_gui.vim,
5063 src/testdir/test_modeless.vim, src/testdir/test_terminal.vim
5064
5065Patch 8.2.0739
5066Problem: Incomplete profiling when exiting because of a deadly signal.
5067Solution: Call __gcov_flush() if available.
5068Files: src/os_unix.c, src/Makefile, .travis.yml
5069
5070Patch 8.2.0740
5071Problem: Minor message mistakes.
5072Solution: Change vim to Vim and other fixes.
5073Files: src/if_py_both.h, src/if_tcl.c, src/main.c
5074
5075Patch 8.2.0741
5076Problem: Python tests fail because of changed message.
5077Solution: Adjust the expected messages (Dominique Pellé, closes #6066)
5078Files: src/testdir/test86.ok, src/testdir/test87.ok
5079
5080Patch 8.2.0742
5081Problem: Handling of a TERM signal not tested.
5082Solution: Add a test for SIGTERM. (Dominique Pellé, closes #6055)
5083Files: src/testdir/test_signals.vim
5084
5085Patch 8.2.0743
5086Problem: Can move to another buffer from a terminal in popup window.
5087Solution: Do not allow "gf" or editing a file. (closes #6072)
5088Files: src/normal.c, src/ex_cmds.c, src/testdir/test_popupwin.vim
5089
5090Patch 8.2.0744
5091Problem: The name vim is not capitalized in a message.
5092Solution: Use "Vim" instead of "vim".
5093Files: src/main.c
5094
5095Patch 8.2.0745
5096Problem: Crash on exit when not all popups are closed.
5097Solution: Close popups when freeing all memory. Disable checking for popup
5098 when editing a file for now.
5099Files: src/misc2.c, src/ex_cmds.c
5100
5101Patch 8.2.0746
5102Problem: popup_clear() hangs when a popup can't be closed.
5103Solution: Bail out when a popup can't be closed.
5104Files: src/popupwin.c, src/proto/popupwin.pro
5105
5106Patch 8.2.0747
5107Problem: Cannot forcefully close all popups.
5108Solution: Add the "force" argument to popup_clear(). Use it after running a
5109 test. Put back the check for a popup when editing a file.
5110Files: runtime/doc/popup.txt, src/evalfunc.c, src/popupwin.c,
5111 src/proto/popupwin.pro, src/tag.c, src/window.c, src/misc2.c,
5112 src/ex_cmds.c, src/channel.c, src/testdir/runtest.vim,
5113 src/testdir/test_terminal.vim
5114
5115Patch 8.2.0748
5116Problem: Cannot get a list of all popups.
5117Solution: Add popup_list(). Use it in the test runner.
5118Files: runtime/doc/eval.txt, runtime/doc/popup.txt, src/popupwin.c,
5119 src/proto/popupwin.pro, src/evalfunc.c,
5120 src/testdir/test_popupwin.vim, src/testdir/runtest.vim
5121
5122Patch 8.2.0749
5123Problem: TERM signal test fails on FreeBSD.
5124Solution: Do not check the messages, the may appear anywhere. (Dominique
5125 Pellé, closes #6075)
5126Files: src/testdir/test_signals.vim
5127
5128Patch 8.2.0750
5129Problem: Netbeans test is a bit flaky.
5130Solution: Allow for standard sign to be defined. Use WaitForAssert().
5131Files: src/testdir/test_netbeans.vim
5132
5133Patch 8.2.0751
5134Problem: Vim9: performance can be improved.
5135Solution: Don't call break. Inline check for list materialize. Make an
5136 inline version of ga_grow().
5137Files: src/macros.h, src/evalfunc.c, src/misc2.c,
5138 src/proto/misc2.pro, src/channel.c, src/eval.c, src/evalbuffer.c,
5139 src/evalvars.c, src/filepath.c, src/highlight.c, src/insexpand.c,
5140 src/json.c, src/list.c, src/popupmenu.c, src/popupwin.c,
5141 src/userfunc.c, src/if_py_both.h
5142
5143Patch 8.2.0752
5144Problem: Terminal in popup window test is a bit flaky.
5145Solution: Wait for shell job status to be "run". Mark as flaky test.
5146Files: src/testdir/test_popupwin.vim
5147
5148Patch 8.2.0753
5149Problem: Vim9: expressions are evaluated in the discovery phase.
5150Solution: Bail out if an expression is not a constant. Require a type for
5151 declared constants.
5152Files: src/vim.h, src/evalvars.c, src/eval.c, src/ex_eval.c,
5153 src/evalfunc.c, src/userfunc.c, src/dict.c, src/list.c,
5154 src/vim9compile.c, src/testdir/test_vim9_script.vim,
5155 src/testdir/test_vim9_disassemble.vim
5156
5157Patch 8.2.0754
5158Problem: Vim9: No test for forward declaration.
5159Solution: Add a test.
5160Files: src/testdir/test_vim9_script.vim
5161
5162Patch 8.2.0755
5163Problem: Vim9: No error when variable initializer is not a constant.
5164Solution: Return FAIL when trying to get a variable value. Do not execute a
5165 script when an error is detected in the first or second phase.
5166Files: src/eval.c, src/vim9script.c, src/testdir/test_vim9_script.vim
5167
5168Patch 8.2.0756 (after 8.2.0249)
5169Problem: MS-Windows: still a compiler warning.
5170Solution: Move flag to another place in the Makefile. (Ken Takata,
5171 closes #6083)
5172Files: src/Make_mvc.mak
5173
5174Patch 8.2.0757
5175Problem: Vim9: no test for MEMBER instruction.
5176Solution: Add a test. Make matches stricter.
5177Files: src/testdir/test_vim9_disassemble.vim
5178
5179Patch 8.2.0758
5180Problem: Vim9: no test for STORELIST and STOREDICT.
5181Solution: Add a test. Make matches stricter.
5182Files: src/testdir/test_vim9_disassemble.vim
5183
5184Patch 8.2.0759 (after 8.2.0751)
5185Problem: Vim9: missing changes for performance improvements
5186Solution: Use GA_GROW(). Don't call breakcheck so often.
5187Files: src/vim9execute.c
5188
5189Patch 8.2.0760
5190Problem: Vim9: dict member errors not tested.
5191Solution: Delete unreachable error. Add tests.
5192Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
5193
5194Patch 8.2.0761
5195Problem: Vim9: instructions not tested
5196Solution: Use a variable instead of a constant.
5197Files: src/testdir/test_vim9_expr.vim
5198
5199Patch 8.2.0762
5200Problem: Buffer is not considered modified after setting crypt key.
5201Solution: Set the modified flag. (Christian Brabandt, closes #6082)
5202Files: src/optionstr.c, src/testdir/test_crypt.vim
5203
5204Patch 8.2.0763
5205Problem: GUI test fails without the terminal feature.
5206Solution: Check the terminal feature is supported. (Ken Takata,
5207 closes #6084)
5208Files: src/testdir/test_gui.vim
5209
5210Patch 8.2.0764
5211Problem: Vim9: assigning to option not fully tested.
5212Solution: Add more test cases. Allow using any type for assignment.
5213Files: src/vim9compile.c, src/vim9execute.c,
5214 src/testdir/test_vim9_script.vim
5215
5216Patch 8.2.0765
5217Problem: In the GUI can't use all the modifiers. (Andri Möll)
5218Solution: Do not apply Alt/Meta early, do it later like with the terminal.
5219 Avoid the Motif test from crashing.
5220Files: src/gui_gtk_x11.c, src/gui_x11.c, src/gui_mac.c, src/gui_w32.c,
5221 src/gui_motif.c
5222
5223Patch 8.2.0766
5224Problem: Display error when using 'number' and 'breakindent'.
5225Solution: Adjust extra spaces in the first row. (Ken Takata, closes #6089,
5226 closes #5986)
5227Files: src/drawline.c, src/testdir/test_breakindent.vim
5228
5229Patch 8.2.0767
5230Problem: ModifyOtherKeys active when using a shell command in autocmd.
5231Solution: Output T_CTE when going to cooked mode. (closes 5617)
5232Files: src/term.c
5233
5234Patch 8.2.0768
5235Problem: Vim9: memory leak in script test.
5236Solution: Clear typval before giving an error message.
5237Files: src/vim9execute.c
5238
5239Patch 8.2.0769
5240Problem: VimLeavePre not triggered when Vim is terminated.
5241Solution: Unblock autocommands.
5242Files: src/main.c, src/testdir/test_signals.vim
5243
5244Patch 8.2.0770
5245Problem: Cannot map CTRL-B when using the GUI.
5246Solution: Reset the CTRL modifier when used. (closes #6092)
5247Files: src/gui_gtk_x11.c
5248
5249Patch 8.2.0771
5250Problem: Vim9: cannot call a compiled closure from not compiled code.
5251Solution: Pass funcexe to call_user_func().
5252Files: src/userfunc.c, src/vim9execute.c, src/proto/vim9execute.pro,
5253 src/eval.c, src/testdir/test_vim9_func.vim
5254
5255Patch 8.2.0772
5256Problem: Vim9: some variable initializations not tested.
5257Solution: Add a few more tests
5258Files: src/testdir/test_vim9_script.vim
5259
5260Patch 8.2.0773
5261Problem: Switching to raw mode every time ":" is used.
5262Solution: When executing a shell set cur_tmode to TMODE_UNKNOWN, so that the
5263 next time TMODE_RAW is used it is set, but not every time.
5264Files: src/term.h, src/os_unix.c, src/term.c, src/os_amiga.c,
5265 src/os_win32.c
5266
5267Patch 8.2.0774
5268Problem: t_TI and t_TE are output when using 'visualbell'. (Dominique
5269 Pellé)
5270Solution: Do not change the terminal mode for a short sleep. Do not output
5271 t_TI and t_TE when switching to/from TMODE_SLEEP. Make tmode an
5272 enum.
5273Files: src/os_unix.c, src/proto/os_unix.pro, src/os_amiga.c,
5274 src/proto/os_amiga.pro, src/os_mswin.c, src/proto/os_mswin.pro,
5275 src/os_vms.c, src/proto/os_vms.pro, src/os_win32.c,
5276 src/proto/os_win32.pro, src/term.c, src/term.h, src/globals.h
5277
5278Patch 8.2.0775
5279Problem: Not easy to call a Vim function from Lua.
5280Solution: Add vim.call() and vim.fn(). (Prabir Shrestha, closes #6063)
5281Files: runtime/doc/if_lua.txt, src/if_lua.c, src/testdir/test_lua.vim
5282
5283Patch 8.2.0776
5284Problem: Libvterm code lags behind the upstream version.
5285Solution: Include revision 719.
5286Files: Filelist, src/libvterm/README, src/libvterm/Makefile,
5287 src/libvterm/find-wide-chars.pl, src/libvterm/src/fullwidth.inc,
5288 src/libvterm/src/unicode.c
5289
5290Patch 8.2.0777 (after 8.2.0776)
5291Problem: Terminal test fails.
5292Solution: Adjust character position for double-wide characters.
5293Files: src/testdir/test_terminal.vim
5294
5295Patch 8.2.0778
5296Problem: Libvterm code lags behind the upstream version.
5297Solution: Include revisions 720 - 723.
5298Files: src/libvterm/t/10state_putglyph.test, src/libvterm/Makefile,
5299 src/libvterm/t/run-test.pl, src/libvterm/src/state.c,
5300 src/libvterm/t/92lp1805050.test
5301
5302Patch 8.2.0779
5303Problem: Tmode_T not used everywhere.
5304Solution: Also use tmode_T for settmode().
5305Files: src/term.c, src/proto/term.pro
5306
5307Patch 8.2.0780
5308Problem: Libvterm code lags behind the upstream version.
5309Solution: Include revisions 724 - 726.
5310Files: Filelist, src/libvterm/t/40screen_ascii.test,
5311 src/libvterm/t/60screen_ascii.test,
5312 src/libvterm/t/41screen_unicode.test,
5313 src/libvterm/t/61screen_unicode.test,
5314 src/libvterm/t/42screen_damage.test,
5315 src/libvterm/t/62screen_damage.test,
5316 src/libvterm/t/43screen_resize.test,
5317 src/libvterm/t/63screen_resize.test,
5318 src/libvterm/t/44screen_pen.test,
5319 src/libvterm/t/64screen_pen.test,
5320 src/libvterm/t/45screen_protect.test,
5321 src/libvterm/t/65screen_protect.test,
5322 src/libvterm/t/46screen_extent.test,
5323 src/libvterm/t/66screen_extent.test,
5324 src/libvterm/t/47screen_dbl_wh.test,
5325 src/libvterm/t/67screen_dbl_wh.test,
5326 src/libvterm/t/48screen_termprops.test,
5327 src/libvterm/t/68screen_termprops.test, src/libvterm/t/30pen.test,
5328 src/libvterm/t/30state_pen.test, src/libvterm/t/92lp1805050.test,
5329 src/libvterm/t/31state_rep.test, src/libvterm/doc/seqs.txt
5330
5331Patch 8.2.0781 (after 8.2.0775)
5332Problem: Compiler warning for not using value in Lua.
5333Solution: Add "(void)".
5334Files: src/if_lua.c
5335
5336Patch 8.2.0782
5337Problem: Cannot build with Lua on MS-Windows.
5338Solution: Add DLL symbol for luaL_Loadstring. (Ken Takata)
5339Files: src/if_lua.c
5340
5341Patch 8.2.0783
5342Problem: Libvterm code lags behind the upstream version.
5343Solution: Include revisions 728 - 729.
5344Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Makefile,
5345 src/libvterm/src/keyboard.c, src/libvterm/t/25state_input.test,
5346 src/libvterm/t/harness.c, src/libvterm/src/vterm.c,
5347 src/libvterm/src/vterm_internal.h,
5348 src/libvterm/t/26state_query.test
5349
5350Patch 8.2.0784
5351Problem: Libvterm code lags behind the upstream version.
5352Solution: Include revisions 730 - 733.
5353Files: src/libvterm/src/vterm.c, src/libvterm/src/state.c,
5354 src/libvterm/include/vterm.h, src/libvterm/src/vterm_internal.h,
5355 src/libvterm/t/harness.c
5356
5357Patch 8.2.0785
5358Problem: Libvterm code lags behind the upstream version.
5359Solution: Include revisions 734 - 740.
5360Files: src/libvterm/include/vterm.h, src/libvterm/src/pen.c,
5361 src/libvterm/src/vterm.c, src/libvterm/doc/seqs.txt,
5362 src/libvterm/t/30state_pen.test, src/libvterm/t/run-test.pl,
5363 src/libvterm/Makefile, src/libvterm/CONTRIBUTING
5364
5365Patch 8.2.0786
5366Problem: Channel test is flaky on FreeBSD.
5367Solution: Set the socket TCP_NODELAY option. Adjust expected line count in
5368 netbeans test. (Ozaki Kiichi, closes #6097)
5369Files: src/testdir/test_channel.py, src/testdir/test_netbeans.vim
5370
5371Patch 8.2.0787
5372Problem: Libvterm code lags behind the upstream version.
5373Solution: Include revisions 741 - 742.
5374Files: Filelist, src/libvterm/src/screen.c
5375
5376Patch 8.2.0788
5377Problem: Memory leak in libvterm.
5378Solution: free tmpbuffer.
5379Files: src/libvterm/src/vterm.c
5380
5381Patch 8.2.0789
5382Problem: Vim9: expression testing lost coverage using constants.
5383Solution: Use a few variables instead of constants.
5384Files: src/testdir/test_vim9_expr.vim
5385
5386Patch 8.2.0790
5387Problem: Vim9: list index not well tested.
5388Solution: Add a few more tests.
5389Files: src/testdir/test_vim9_script.vim
5390
5391Patch 8.2.0791
5392Problem: A second popup window with terminal causes trouble.
5393Solution: Disallow opening a second terminal-popup window. (closes #6101,
5394 closes #6103) Avoid defaulting to an invalid line number.
5395Files: runtime/doc/popup.txt, src/popupwin.c, src/ex_docmd.c,
5396 src/testdir/test_popupwin.vim, src/testdir/test_terminal.vim
5397
5398Patch 8.2.0792
5399Problem: Build failure with small features.
5400Solution: Add #ifdef.
5401Files: src/popupwin.c
5402
5403Patch 8.2.0793
5404Problem: MS-Windows: cannot build GUI with small features. (Michael Soyka)
5405Solution: Add #ifdef around use of windowsVersion. (Ken Takata)
5406Files: src/os_win32.c
5407
5408Patch 8.2.0794
5409Problem: Libvterm code lags behind the upstream version.
5410Solution: Include revisions 743 - 747.
5411Files: src/libvterm/src/state.c, src/libvterm/src/screen.c,
5412 src/libvterm/src/vterm_internal.h, src/libvterm/include/vterm.h,
5413 src/libvterm/t/67screen_dbl_wh.test, src/libvterm/t/run-test.pl
5414
5415Patch 8.2.0795
5416Problem: Libvterm code lags behind the upstream version.
5417Solution: Include revisions 748 - 754.
5418Files: src/libvterm/include/vterm.h, src/libvterm/src/screen.c,
5419 src/libvterm/src/state.c, src/libvterm/t/32state_flow.test,
5420 src/libvterm/t/60screen_ascii.test,
5421 src/libvterm/t/62screen_damage.test,
5422 src/libvterm/t/63screen_resize.test, src/libvterm/t/harness.c,
5423 src/libvterm/t/run-test.pl
5424
5425Patch 8.2.0796
5426Problem: MS-Windows: compiler can't handle C99 construct in libvterm.
5427Solution: Change to C90 construct.
5428Files: src/libvterm/src/state.c
5429
5430Patch 8.2.0797
5431Problem: MS-Windows: compiler still can't handle C99 construct.
5432Solution: Change to C90 construct. (Dominique Pellé, closes #6106)
5433Files: src/libvterm/src/state.c
5434
5435Patch 8.2.0798
5436Problem: Libvterm code lags behind the upstream version.
5437Solution: Include revisions 755 - 758.
5438Files: src/libvterm/t/run-test.pl, src/libvterm/src/screen.c,
5439 src/libvterm/t/harness.c, src/libvterm/include/vterm.h,
5440 src/libvterm/src/parser.c, src/libvterm/src/state.c,
5441 src/libvterm/src/vterm.c, src/libvterm/src/vterm_internal.h,
5442 src/libvterm/t/02parser.test,
5443 src/libvterm/t/18state_termprops.test,
5444 src/libvterm/t/29state_fallback.test,
5445 src/libvterm/t/68screen_termprops.test, src/terminal.c
5446
5447Patch 8.2.0799
5448Problem: Build fails if snprintf is not available.
5449Solution: Use vim_snprintf().
5450Files: src/libvterm/src/state.c
5451
5452Patch 8.2.0800
5453Problem: Errors from failing test are unclear.
5454Solution: Include text where parsing failed.
5455Files: src/json.c, src/testdir/test_json.vim
5456
5457Patch 8.2.0801
5458Problem: Terminal test fails on Mac.
5459Solution: Concatenate OSC pieces.
5460Files: src/terminal.c
5461
5462Patch 8.2.0802
5463Problem: Libvterm code lags behind the upstream version.
5464Solution: Include revisions 759 - 762.
5465Files: src/terminal.c, src/libvterm/doc/seqs.txt,
5466 src/libvterm/include/vterm.h, src/libvterm/src/pen.c,
5467 src/libvterm/src/screen.c, src/libvterm/src/state.c,
5468 src/libvterm/src/vterm.c, src/libvterm/src/vterm_internal.h,
5469 src/libvterm/t/harness.c, src/libvterm/t/12state_scroll.test
5470
5471Patch 8.2.0803
5472Problem: Libvterm code lags behind the upstream version.
5473Solution: Include revisions 764 - 767
5474Files: src/Makefile, src/libvterm/src/parser.c,
5475 src/libvterm/src/vterm_internal.h, src/libvterm/t/02parser.test,
5476 src/libvterm/t/run-test.pl, src/libvterm/find-wide-chars.pl,
5477 src/libvterm/src/fullwidth.inc
5478
5479Patch 8.2.0804
5480Problem: Libvterm code lags behind the upstream version.
5481Solution: Include revision 727, but add the index instead of switching
5482 between RGB and indexed.
5483Files: src/terminal.c, src/term.c, src/libvterm/include/vterm.h,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00005484 src/libvterm/src/pen.c, src/libvterm/src/screen.c,
5485 src/libvterm/src/vterm_internal.h,
5486 src/libvterm/t/30state_pen.test,
Bram Moolenaarc51cf032022-02-26 12:25:45 +00005487 src/libvterm/t/harness.c, src/libvterm/src/state.c,
5488 src/libvterm/t/26state_query.test,
5489 src/libvterm/t/64screen_pen.test
5490
5491Patch 8.2.0805
5492Problem: Terminal key codes test fails on some systems.
5493Solution: Skip keypad 3 and 9. (Yegappan Lakshmanan, closes #6070)
5494Files: src/testdir/test_terminal.vim
5495
5496Patch 8.2.0806
5497Problem: using "func!" after vim9script gives confusing error.
5498Solution: Give E477. (closes #6107)
5499Files: src/vim9script.c, src/testdir/test_vim9_script.vim
5500
5501Patch 8.2.0807
5502Problem: Cannot easily restore a mapping.
5503Solution: Add mapset().
5504Files: runtime/doc/eval.txt, src/map.c, src/proto/map.pro, src/evalfunc.c
5505 src/testdir/test_maparg.vim
5506
5507Patch 8.2.0808
5508Problem: Not enough testing for the terminal window.
5509Solution: Add more tests. (Yegappan Lakshmanan, closes #6069) Fix memory
5510 leak.
5511Files: src/testdir/test_gui.vim, src/testdir/test_terminal.vim,
5512 src/terminal.c
5513
5514Patch 8.2.0809
5515Problem: Build failure with small features. (Tony Mechelynck)
5516Solution: Move "expr" inside #ifdef.
5517Files: src/map.c
5518
5519Patch 8.2.0810
5520Problem: Error when appending "tagfile" to 'wildoptions'.
5521Solution: use flags P_ONECOMMA and P_NODUP. (Dmitri Vereshchagin,
5522 closes #6105)
5523Files: src/optiondefs.h, src/testdir/test_options.vim
5524
5525Patch 8.2.0811
5526Problem: Terminal keycode test is flaky.
5527Solution: Use WaitForAssert()
5528Files: src/testdir/test_terminal.vim
5529
5530Patch 8.2.0812
5531Problem: mapset() does not properly handle <> notation.
5532Solution: Convert <> codes. (closes #6116)
5533Files: src/map.c, src/testdir/test_maparg.vim
5534
5535Patch 8.2.0813
5536Problem: libvterm code is slightly different from upstream.
5537Solution: Use upstream text to avoid future merge problems. Mainly comment
5538 style changes.
5539Files: src/libvterm/include/vterm.h, src/libvterm/src/rect.h,
5540 src/libvterm/src/utf8.h, src/libvterm/src/vterm_internal.h,
5541 src/libvterm/src/encoding.c, src/libvterm/src/keyboard.c,
5542 src/libvterm/src/mouse.c, src/libvterm/src/parser.c,
5543 src/libvterm/src/pen.c, src/libvterm/src/screen.c,
5544 src/libvterm/src/state.c, src/libvterm/src/unicode.c,
5545 src/libvterm/src/vterm.c
5546
5547Patch 8.2.0814
5548Problem: Clang warning for implicit conversion.
5549Solution: Add type cast. (Dominique Pellé, closes #6124)
5550Files: src/evalfunc.c
5551
5552Patch 8.2.0815
5553Problem: maparg() does not provide enough information for mapset().
5554Solution: Add "lhsraw" and "lhsrawalt" items. Drop "simplified"
5555Files: src/map.c, runtime/doc/eval.txt, src/testdir/test_maparg.vim
5556
5557Patch 8.2.0816
5558Problem: Terminal test fails when compiled with Athena.
5559Solution: Do give an error when the GUI is not running. (hint by Dominique
5560 Pellé, closes #5928, closes #6132)
5561Files: src/globals.h, src/gui.c, src/term.c, src/channel.c,
5562 src/testdir/test_terminal.vim
5563
5564Patch 8.2.0817
5565Problem: Not enough memory allocated when converting string with special
5566 character.
5567Solution: Reserve space for modifier code. (closes #6130)
5568Files: src/eval.c, src/testdir/test_functions.vim
5569
5570Patch 8.2.0818
5571Problem: Vim9: using a discovery phase doesn't work well.
5572Solution: Remove the discovery phase, instead compile a function only when
5573 it is used. Add :defcompile to compile def functions earlier.
5574Files: runtime/doc/vim9.txt, src/vim9script.c, src/structs.h,
5575 src/userfunc.c, src/proto/userfunc.pro, src/eval.c,
5576 src/evalvars.c, src/proto/evalvars.pro, src/vim9compile.c,
5577 src/proto/vim9compile.pro, src/vim9execute.c, src/ex_cmds.h,
5578 src/ex_docmd.c, src/ex_cmdidxs.h, src/vim.h, src/testdir/vim9.vim,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00005579 src/testdir/test_vim9_disassemble.vim,
Bram Moolenaarc51cf032022-02-26 12:25:45 +00005580 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
5581
5582Patch 8.2.0819
5583Problem: Compiler warning for unused variable.
5584Solution: Remove the variable.
5585Files: src/evalvars.c
5586
5587Patch 8.2.0820
5588Problem: Vim9: function type isn't set until compiled.
5589Solution: Set function type early.
5590Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c,
5591 src/testdir/test_vim9_func.vim
5592
5593Patch 8.2.0821
5594Problem: Vim9: memory leak in expr test.
5595Solution: Do not decrement the length of the list of functions if the
5596 current function is not at the end.
5597Files: src/vim9compile.c
5598
5599Patch 8.2.0822
5600Problem: Vim9: code left over from discovery phase.
5601Solution: Remove the dead code.
5602Files: src/scriptfile.c, src/proto/scriptfile.pro, src/ex_cmds.h,
5603 src/evalvars.c, src/proto/evalvars.pro, src/ex_docmd.c
5604
5605Patch 8.2.0823
5606Problem: Vim9: script reload test is disabled.
5607Solution: Compile a function in the context of the script where it was
5608 defined. Set execution stack for compiled function. Add a test
5609 that an error is reported for the right file/function.
5610Files: src/vim9compile.c, src/vim9execute.c, src/scriptfile.c,
5611 src/proto/scriptfile.pro, src/userfunc.c, src/globals.h,
5612 src/structs.h, src/ex_docmd.c, src/ex_eval.c,
5613 src/testdir/test_vim9_script.vim
5614
5615Patch 8.2.0824 (after 8.2.0817)
5616Problem: Still not enough memory allocated when converting string with
5617 special character.
5618Solution: Reserve space for expanding K_SPECIAL. (closes #6130)
5619Files: src/eval.c, src/testdir/test_functions.vim
5620
5621Patch 8.2.0825
5622Problem: def_function() may return pointer that was freed.
5623Solution: Set "fp" to NULL after freeing it.
5624Files: src/userfunc.c
5625
5626Patch 8.2.0826
5627Problem: Vim9: crash in :defcompile.
5628Solution: Restart the loop after a call to compile_def_function() caused the
5629 hash table to resize.
5630Files: src/userfunc.c
5631
5632Patch 8.2.0827
5633Problem: Vim9: crash in :defcompile.
5634Solution: Fix off-by-one error.
5635Files: src/userfunc.c
5636
5637Patch 8.2.0828
5638Problem: Travis: regexp pattern doesn't work everywhere.
5639Solution: Use [:blank:] instead of \b. (Ozaki Kiichi, closes #6146)
5640Files: .travis.yml, ci/config.mk.clang.sed, ci/config.mk.gcc.sed,
5641 ci/config.mk.sed, src/if_ruby.c
5642
5643Patch 8.2.0829
5644Problem: filter() may give misleading error message.
5645Solution: Also mention Blob as an allowed argument.
5646Files: src/list.c, src/testdir/test_filter_map.vim
5647
5648Patch 8.2.0830
5649Problem: Motif: can't map "!". (Ben Jackson)
5650Solution: Remove the shift modifier if it's already included in the key.
5651 (closes #6147)
5652Files: src/gui_x11.c
5653
5654Patch 8.2.0831
5655Problem: Compiler warnings for integer sizes.
5656Solution: Add type casts. (Mike Williams)
5657Files: src/libvterm/src/pen.c, src/terminal.c
5658
5659Patch 8.2.0832
5660Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
5661Solution: Add initial value.
5662Files: src/map.c
5663
5664Patch 8.2.0833
5665Problem: Mapping <C-bslash> doesn't work in the GUI.
5666Solution: Reset seenModifyOtherKeys when starting the GUI. (closes #6150)
5667Files: src/gui.c
5668
5669Patch 8.2.0834
5670Problem: :drop command in terminal popup causes problems.
5671Solution: Check for using a popup window. (closes #6151)
5672Files: src/ex_cmds.c, src/testdir/test_popupwin.vim
5673
5674Patch 8.2.0835
5675Problem: Motif: mapping <C-bslash> still doesn't work.
5676Solution: Accept CSI for K_SPECIAL. Do not apply CTRL to the character
5677 early. (closes #6150)
5678Files: src/getchar.c, src/gui_x11.c
5679
5680Patch 8.2.0836
5681Problem: Not all :cdo output is visible.
5682Solution: Reset 'shortmess' temporarily. (Yegappan Lakshmanan, closes #6155)
5683Files: src/ex_cmds2.c, src/testdir/test_cdo.vim
5684
5685Patch 8.2.0837
5686Problem: Compiler warning for value set but not used.
5687Solution: Move variable inside #ifdef.
5688Files: src/channel.c
5689
5690Patch 8.2.0838
5691Problem: MS-Windows: compiler warning for uninitialized variables.
5692Solution: Initialize variables.
5693Files: src/screen.c
5694
5695Patch 8.2.0839
5696Problem: Dropping modifier when putting a character back in typeahead.
5697Solution: Add modifier to ins_char_typebuf(). (closes #6158)
5698Files: src/getchar.c, src/proto/getchar.pro, src/message.c, src/normal.c,
5699 src/terminal.c, src/globals.h, src/testdir/test_messages.vim
5700
5701Patch 8.2.0840
5702Problem: Search match count wrong when only match is in fold.
5703Solution: Update search stats when in a closed fold. (Christian Brabandt,
5704 closes #6160, closes #6152)
5705Files: src/search.c, src/testdir/dumps/Test_searchstat_3.dump,
5706 src/testdir/test_search_stat.vim
5707
5708Patch 8.2.0841
5709Problem: 'verbose' value 16 causes duplicate output.
5710Solution: Combine levels 15 and 16 into one message. (Christian Brabandt,
5711 closes #6153)
5712Files: runtime/doc/options.txt, src/ex_docmd.c
5713
5714Patch 8.2.0842 (after 8.2.0837)
5715Problem: MS-Windows: channel tests fail.
5716Solution: Adjust #ifdefs. (closes #6162)
5717Files: src/channel.c
5718
5719Patch 8.2.0843
5720Problem: Filetype elm not detected.
5721Solution: Recognize *.elm files. (closes #6157)
5722Files: runtime/filetype.vim, src/testdir/test_filetype.vim
5723
5724Patch 8.2.0844
5725Problem: Text properties crossing lines not handled correctly.
5726Solution: When saving for undo include an extra line when needed and do not
5727 adjust properties when undoing. (Axel Forsman, closes #5875)
5728Files: src/memline.c, src/proto/memline.pro, src/undo.c, src/structs.h
5729
5730Patch 8.2.0845
5731Problem: Text properties crossing lines not handled correctly.
5732Solution: When joining lines merge text properties if possible.
5733 (Axel Forsman, closes #5839, closes #5683)
5734Files: src/testdir/test_textprop.vim, src/memline.c, src/ops.c,
5735 src/proto/textprop.pro, src/textprop.c,
5736 src/testdir/dumps/Test_textprop_01.dump
5737
5738Patch 8.2.0846
5739Problem: Build failure with small features.
5740Solution: Add #ifdef.
5741Files: src/undo.c
5742
5743Patch 8.2.0847
5744Problem: Typval related code is spread out.
5745Solution: Move code to new typval.c file. (Yegappan Lakshmanan, closes #6093)
5746Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
5747 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
5748 src/eval.c, src/evalfunc.c, src/globals.h, src/proto.h,
5749 src/proto/eval.pro, src/proto/evalfunc.pro, src/proto/typval.pro,
5750 src/typval.c
5751
5752Patch 8.2.0848
5753Problem: MS-Windows: the Windows terminal code has some flaws.
5754Solution: Do not redraw the right edge of the screen. Remove the background
5755 color trick. Flush the screen output buffer often. (Nobuhiro
5756 Takasaki, #5546)
5757Files: src/os_win32.c, src/proto/os_win32.pro, src/term.c
5758
5759Patch 8.2.0849
5760Problem: BeOS code is not maintained and probably unused.
5761Solution: Remove the BeOS code. (Emir Sarı, closes #5817)
5762Files: Filelist, src/Makefile, src/configure.ac, src/auto/configure,
5763 src/evalfunc.c, src/normal.c, src/os_beos.c, src/os_beos.h,
5764 src/os_beos.rsrc, src/os_unix.c, src/proto.h,
5765 src/proto/os_beos.pro, src/pty.c, src/screen.c, src/term.c,
5766 src/testdir/test_functions.vim, src/ui.c, src/vim.h
5767
5768Patch 8.2.0850
5769Problem: MS-Windows: exepath() works differently from cmd.exe.
5770Solution: Make exepath() work better on MS-Windows. (closes #6115)
5771Files: runtime/doc/eval.txt, src/os_win32.c,
5772 src/testdir/test_functions.vim
5773
5774Patch 8.2.0851 (after 8.2.0833)
5775Problem: Can't distinguish <M-a> from accented "a" in the GUI.
5776Solution: Use another way to make mapping <C-bslash> work. (closes #6163)
5777Files: src/gui.c, src/gui_gtk_x11.c, src/getchar.c
5778
5779Patch 8.2.0852
5780Problem: Cannot map CTRL-S on some systems.
5781Solution: Do not use CTRL-S for flow control.
5782Files: src/os_unix.c
5783
5784Patch 8.2.0853
5785Problem: ml_delete() often called with FALSE argument.
5786Solution: Use ml_delete_flags(x, ML_DEL_MESSAGE) when argument is TRUE.
5787Files: src/buffer.c, src/change.c, src/diff.c, src/evalbuffer.c,
5788 src/ex_cmds.c, src/ex_docmd.c, src/fileio.c, src/if_lua.c,
5789 src/if_mzsch.c, src/if_ruby.c, src/if_tcl.c, src/normal.c,
5790 src/popupmenu.c, src/popupwin.c, src/quickfix.c, src/spell.c,
5791 src/terminal.c, src/if_perl.xs, src/if_py_both.h, src/memline.c,
5792 src/proto/memline.pro
5793
5794Patch 8.2.0854
5795Problem: Xxd cannot show offset as a decimal number.
5796Solution: Add the "-d" flag. (Aapo Rantalainen, closes #5616)
5797Files: src/testdir/test_xxd.vim, src/xxd/xxd.c
5798
5799Patch 8.2.0855
5800Problem: GUI tests fail because the test doesn't use a modifier.
5801Solution: Add "\{xxx}" to be able to encode a modifier.
5802Files: runtime/doc/eval.txt, src/typval.c, src/misc2.c, src/vim.h,
5803 src/proto/misc2.pro, src/gui_mac.c, src/option.c, src/highlight.c,
5804 src/term.c, src/testdir/test_backspace_opt.vim,
5805 src/testdir/test_mapping.vim, src/testdir/test_messages.vim
5806
5807Patch 8.2.0856 (after 8.2.0852)
5808Problem: CTRL-S stops output.
5809Solution: Invert the IXON flag. (closes #6166)
5810Files: src/os_unix.c
5811
5812Patch 8.2.0857
5813Problem: GTK cell height can be a pixel too much.
5814Solution: Subtract 3 instead of 1 when rounding. (closes #6168)
5815Files: src/gui_gtk_x11.c
5816
5817Patch 8.2.0858
5818Problem: Not easy to require Lua modules.
5819Solution: Improve use of Lua path. (Prabir Shrestha, closes #6098)
5820Files: Filelist, src/if_lua.c, src/optionstr.c, src/proto/if_lua.pro,
5821 src/testdir/test_lua.vim,
5822 src/testdir/testluaplugin/lua/testluaplugin/hello.lua,
5823 src/testdir/testluaplugin/lua/testluaplugin/init.lua
5824
5825Patch 8.2.0859
5826Problem: No Turkish translation of the manual.
5827Solution: Add Turkish translations. (Emir Sarı, closes #5641)
5828Files: Filelist, runtime/doc/Makefile, runtime/doc/evim-tr.1,
5829 runtime/doc/evim-tr.UTF-8.1, runtime/doc/vim-tr.1,
5830 runtime/doc/vim-tr.UTF-8.1, runtime/doc/vimdiff-tr.1,
5831 runtime/doc/vimdiff-tr.UTF-8.1, runtime/doc/vimtutor-tr.1,
5832 runtime/doc/vimtutor-tr.UTF-8.1, src/Makefile
5833
5834Patch 8.2.0860
5835Problem: Cannot use CTRL-A and CTRL-X on unsigned numbers.
5836Solution: Add "unsigned" to 'nrformats'. (Naruhiko Nishino, closes #6144)
5837Files: runtime/doc/options.txt, src/ops.c, src/optionstr.c,
5838 src/testdir/test_increment.vim
5839
5840Patch 8.2.0861
5841Problem: Cannot easily get all the current marks.
5842Solution: Add getmarklist(). (Yegappan Lakshmanan, closes #6032)
5843Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
5844 src/mark.c, src/proto/mark.pro, src/testdir/test_marks.vim
5845
5846Patch 8.2.0862
5847Problem: ":term ++curwin" makes the current buffer hidden. (Harm te
5848 Hennepe)
5849Solution: Do not hide the current buffer. (closes #6170)
5850Files: src/terminal.c, src/testdir/test_terminal.vim
5851
5852Patch 8.2.0863
5853Problem: Cannot set a separate color for underline/undercurl.
5854Solution: Add the t_AU and t_8u termcap codes. (Timur Celik, closes #6011)
5855Files: runtime/doc/syntax.txt, runtime/doc/term.txt, src/globals.h,
5856 src/highlight.c, src/optiondefs.h, src/proto/term.pro,
5857 src/screen.c, src/structs.h, src/term.c, src/term.h,
5858 src/testdir/test_options.vim
5859
5860Patch 8.2.0864
5861Problem: Pragmas are indented all the way to the left.
5862Solution: Add an option to indent pragmas like normal code. (Max Rumpf,
5863 closes #5468)
5864Files: runtime/doc/indent.txt, src/cindent.c, src/structs.h,
5865 src/testdir/test_cindent.vim
5866
5867Patch 8.2.0865
5868Problem: Syntax foldlevel is taken from the start of the line.
5869Solution: Add ":syn foldlevel" to be able to use the minimal foldlevel in
5870 the line. (Brad King, closes #6087)
5871Files: runtime/doc/syntax.txt, src/structs.h, src/syntax.c,
5872 src/testdir/test_syntax.vim
5873
5874Patch 8.2.0866
5875Problem: Not enough tests for buffer writing.
5876Solution: Add more tests. Use CheckRunVimInTerminal in more places.
5877 (Yegappan Lakshmanan, closes #6167)
5878Files: src/testdir/test_arglist.vim, src/testdir/test_match.vim,
5879 src/testdir/test_messages.vim, src/testdir/test_netbeans.py,
5880 src/testdir/test_netbeans.vim, src/testdir/test_search.vim,
5881 src/testdir/test_signals.vim, src/testdir/test_signs.vim,
5882 src/testdir/test_startup.vim, src/testdir/test_startup_utf8.vim,
5883 src/testdir/test_syntax.vim, src/testdir/test_tabpage.vim,
5884 src/testdir/test_timers.vim, src/testdir/test_vimscript.vim,
5885 src/testdir/test_writefile.vim
5886
5887Patch 8.2.0867
5888Problem: Using \{xxx} for encoding a modifier is not nice.
5889Solution: Use \<*xxx> instead, since it's the same as \<xxx> but producing a
5890 different code.
5891Files: runtime/doc/eval.txt, src/typval.c, src/misc2.c, src/vim.h,
5892 src/testdir/test_backspace_opt.vim, src/testdir/test_mapping.vim,
5893 src/testdir/test_messages.vim
5894
5895Patch 8.2.0868
5896Problem: trim() always trims both ends.
5897Solution: Add an argument to only trim the beginning or end. (Yegappan
5898 Lakshmanan, closes #6126)
5899Files: runtime/doc/eval.txt, src/evalfunc.c,
5900 src/testdir/test_functions.vim
5901
5902Patch 8.2.0869
5903Problem: It is not possible to customize the quickfix window contents.
5904Solution: Add 'quickfixtextfunc'. (Yegappan Lakshmanan, closes #5465)
5905Files: runtime/doc/eval.txt, runtime/doc/options.txt,
5906 runtime/doc/quickfix.txt, src/option.h, src/optiondefs.h,
5907 src/quickfix.c, src/testdir/test_quickfix.vim
5908
5909Patch 8.2.0870
5910Problem: MS-Windows: Control keys don't work in the GUI.
5911Solution: Don't set seenModifyOtherKeys for now. (Yasuhiro Matsumoto,
5912 closes #6175)
5913Files: src/gui.c
5914
5915Patch 8.2.0871
5916Problem: Cannot use getmarklist() as a method.
5917Solution: Make getmarklist() work as a method. Add one to the column
5918 number to match getpos(). (Yegappan Lakshmanan, closes #6176)
5919Files: runtime/doc/eval.txt, src/evalfunc.c, src/mark.c,
5920 src/testdir/test_marks.vim
5921
5922Patch 8.2.0872
5923Problem: XIM code is mixed with multibyte code.
5924Solution: Move the XIM code to a separate file. (Yegappan Lakshmanan,
5925 closes #6177)
5926Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
5927 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/gui_xim.c,
5928 src/mbyte.c, src/proto.h, src/proto/gui_xim.pro,
5929 src/proto/mbyte.pro
5930
5931Patch 8.2.0873
5932Problem: A .jl file can be sawfish (lisp) or Julia.
5933Solution: Do not recognize *.jl as lisp, since it might be Julia.
5934 (closes #6178)
5935Files: runtime/filetype.vim, src/testdir/test_filetype.vim
5936
5937Patch 8.2.0874
5938Problem: Signals test is a bit flaky.
5939Solution: Flush the XautoOut file. Delete files that may be left behind
5940 from a failure. (Dominique Pellé, closes #6179)
5941Files: src/testdir/test_signals.vim
5942
5943Patch 8.2.0875
5944Problem: Getting attributes for directory entries is slow.
5945Solution: Add readdirex(). (Ken Takata, closes #5619)
5946Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00005947 src/fileio.c, src/filepath.c, src/proto/fileio.pro,
Bram Moolenaarc51cf032022-02-26 12:25:45 +00005948 src/proto/filepath.pro, src/testdir/test_functions.vim
5949
5950Patch 8.2.0876
5951Problem: :pwd does not give a hint about the scope of the directory
5952Solution: Make ":verbose pwd" show the scope. (Takuya Fujiwara, closes #5469)
5953Files: runtime/doc/editing.txt, src/ex_docmd.c, src/testdir/test_cd.vim
5954
5955Patch 8.2.0877
5956Problem: Cannot get the search statistics.
5957Solution: Add the searchcount() function. (Fujiwara Takuya, closes #4446)
5958Files: runtime/doc/eval.txt, src/evalfunc.c, src/macros.h,
5959 src/proto/search.pro, src/search.c,
5960 src/testdir/test_search_stat.vim
5961
5962Patch 8.2.0878
5963Problem: No reduce() function.
5964Solution: Add a reduce() function. (closes #5481)
5965Files: runtime/doc/eval.txt, src/evalfunc.c, src/globals.h, src/list.c,
5966 src/proto/list.pro, src/testdir/test_listdict.vim
5967
5968Patch 8.2.0879
5969Problem: Compiler warning for unused function argument.
5970Solution: Add UNUSED.
5971Files: src/search.c
5972
5973Patch 8.2.0880 (after 8.2.0877)
5974Problem: Leaking memory when using searchcount().
5975Solution: Free the last used search pattern.
5976Files: src/search.c
5977
5978Patch 8.2.0881
5979Problem: Compiler warning for argument type.
5980Solution: Add type cast. (Mike Williams)
5981Files: src/ops.c
5982
5983Patch 8.2.0882
5984Problem: Leaking memory when using reduce().
5985Solution: Free the intermediate value.
5986Files: src/list.c
5987
5988Patch 8.2.0883
5989Problem: Memory leak in test 49.
5990Solution: Free "sfile" from the exception.
5991Files: src/ex_docmd.c
5992
5993Patch 8.2.0884
5994Problem: Searchcount() test fails on slower systems.
5995Solution: Set a longer timeout.
5996Files: src/search.c, src/testdir/test_search_stat.vim
5997
5998Patch 8.2.0885
5999Problem: "make shadow" does not link new lua test dir.
6000Solution: Also link testdir/testluaplugin. (Elimar Riesebieter)
6001Files: src/Makefile
6002
6003Patch 8.2.0886
6004Problem: Cannot use octal numbers in scriptversion 4.
6005Solution: Add the "0o" notation. (Ken Takata, closes #5304)
6006Files: runtime/doc/eval.txt, src/charset.c, src/evalfunc.c,
6007 src/testdir/test_eval_stuff.vim, src/testdir/test_functions.vim,
6008 src/vim.h
6009
6010Patch 8.2.0887
6011Problem: Searchcount().exact_match is 1 right after a match.
6012Solution: Use LT_POS() instead of LTOREQ_POS(). (closes #6189)
6013Files: src/search.c, src/testdir/test_search_stat.vim
6014
6015Patch 8.2.0888
6016Problem: Readdirex() returns size -2 for a directory.
6017Solution: Add missing "else". (Ken Takata, closes #6185)
6018Files: src/fileio.c, src/testdir/test_functions.vim
6019
6020Patch 8.2.0889
6021Problem: Using old style comments.
6022Solution: Use // comments. (Yegappan Lakshmanan, closes #6190)
6023Files: src/gui_xim.c
6024
6025Patch 8.2.0890
6026Problem: No color in terminal window when 'termguicolors' is set.
6027Solution: Clear the underline color. (closes #6186)
6028Files: src/highlight.c
6029
6030Patch 8.2.0891
6031Problem: Clang warns for invalid conversion.
6032Solution: Use zero instead of INVALCOLOR.
6033Files: src/highlight.c
6034
6035Patch 8.2.0892
6036Problem: Ubsan warns for undefined behavior.
6037Solution: Use unsigned instead of signed variable. (Dominique Pellé,
6038 closes #6193)
6039Files: src/regexp_nfa.c
6040
6041Patch 8.2.0893
6042Problem: Assert_equalfile() does not take a third argument.
6043Solution: Implement the third argument. (Gary Johnson)
6044Files: runtime/doc/eval.txt, runtime/doc/testing.txt, src/evalfunc.c,
6045 src/testdir/test_assert.vim, src/testing.c
6046
6047Patch 8.2.0894
6048Problem: :mkspell can take very long if the word count is high.
6049Solution: Use long to avoid negative numbers. Increase the limits by 20% if
6050 the compression did not have effect.
6051Files: src/spellfile.c
6052
6053Patch 8.2.0895
6054Problem: :mkspell output does not mention the tree type.
6055Solution: Back out increasing the limits, it has no effect. Mention the
6056 tree being compressed. Only give a message once per second.
6057Files: src/spellfile.c
6058
6059Patch 8.2.0896
6060Problem: Crash when calling searchcount() with a string.
6061Solution: Check the argument is a dict. (closes #6192)
6062Files: src/search.c, src/testdir/test_search_stat.vim
6063
6064Patch 8.2.0897
6065Problem: List of functions in patched version is outdated.
6066Solution: Update the function lists only.
6067Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt
6068
6069Patch 8.2.0898
6070Problem: Missing help for a function goes unnoticed.
6071Solution: Add a test. (Gary Johnson)
6072Files: src/testdir/test_function_lists.vim, src/testdir/Make_all.mak
6073
6074Patch 8.2.0899
6075Problem: Assert_equalfile() does not give a hint about the difference.
6076Solution: Display the last seen text.
6077Files: src/testing.c, src/testdir/test_assert.vim
6078
6079Patch 8.2.0900
6080Problem: Function list test fails on MS-Windows.
6081Solution: Make sure the fileformat is "unix"
6082Files: src/testdir/test_function_lists.vim
6083
6084Patch 8.2.0901
6085Problem: Formatting CJK text isn't optimal.
6086Solution: Properly break CJK lines. (closes #3875)
6087Files: runtime/doc/change.txt, src/mbyte.c, src/ops.c, src/option.h,
6088 src/proto/mbyte.pro, src/testdir/Make_all.mak, src/textformat.c,
6089 src/testdir/test_cjk_linebreak.vim
6090
6091Patch 8.2.0902
6092Problem: Using searchcount() in 'statusline' causes an error.
6093Solution: Avoid saving/restoring the search pattern recursively.
6094 (closes #6194)
6095Files: src/search.c, src/testdir/test_search_stat.vim,
6096 src/testdir/dumps/Test_searchstat_4.dump
6097
6098Patch 8.2.0903
6099Problem: comparing WINVER does not work correctly.
6100Solution: Use arithmetic expansion. (Ozaki Kiichi, closes #6197)
6101Files: src/Make_cyg_ming.mak
6102
6103Patch 8.2.0904
6104Problem: Assuming modifyOtherKeys for rhs of mapping.
6105Solution: Ignore seenModifyOtherKeys for mapped characters. (closes #6200)
6106Files: src/getchar.c, src/testdir/test_gui.vim
6107
6108Patch 8.2.0905
6109Problem: Test coverage could be better.
6110Solution: Add a couple of tests. (Dominique Pellé, closes #6202)
6111Files: src/testdir/test_cmdline.vim, src/testdir/test_ga.vim
6112
6113Patch 8.2.0906
6114Problem: When setting 'termguicolors' SpellBad is no longer red.
6115Solution: Only use the RGB guisp color for cterm when using the "underline"
6116 or "undercurl" attributes to avoid the background color to be
6117 cleared. Also make t_8u empty when the termresponse indicates a
6118 real xterm. (closes #6207)
6119Files: src/highlight.c, src/term.c
6120
6121Patch 8.2.0907
6122Problem: When using :global clipboard isn't set correctly.
6123Solution: Set "clip_unnamed_saved" instead of "clip_unnamed". (Christian
6124 Brabandt, closes #6203, closes #6198)
6125Files: src/clipboard.c, src/testdir/test_global.vim
6126
6127Patch 8.2.0908
6128Problem: Crash when changing the function table while listing it.
6129Solution: Bail out when the function table changes. (closes #6209)
6130Files: src/userfunc.c, src/testdir/test_timers.vim
6131
6132Patch 8.2.0909
6133Problem: Cannot go back to the previous local directory.
6134Solution: Add "tcd -" and "lcd -". (Yegappan Lakshmanan, closes #4362)
6135Files: runtime/doc/editing.txt, src/filepath.c, src/ex_docmd.c,
6136 src/structs.h, src/testdir/test_cd.vim, src/window.c
6137
6138Patch 8.2.0910
6139Problem: Vim is not reproducibly buildable.
6140Solution: Use the $SOURCE_DATE_EPOCH environment variable in configure.
6141 (James McCoy, closes #513) Give a warning about using it.
6142Files: src/config.h.in, src/config.mk.in, src/configure.ac,
6143 src/auto/configure, src/version.c, src/Makefile
6144
6145Patch 8.2.0911
6146Problem: Crash when opening a buffer for the cmdline window fails. (Chris
6147 Barber)
6148Solution: Check do_ecmd() succeeds. Reset got_int if "q" was used at the
6149 more prompt. (closes #6211)
6150Files: src/ex_getln.c, src/testdir/test_cmdline.vim,
6151 src/testdir/dumps/Test_cmdwin_interrupted.dump
6152
6153Patch 8.2.0912
6154Problem: A few test cases for CJK formatting are disabled.
6155Solution: Fix the tests and enable them. (closes #6212)
6156Files: src/testdir/test_cjk_linebreak.vim
6157
6158Patch 8.2.0913
6159Problem: Code for resetting v:register is duplicated.
6160Solution: Add reset_reg_var().
6161Files: src/evalvars.c, src/proto/evalvars.pro, src/main.c, src/normal.c
6162
6163Patch 8.2.0914
6164Problem: MS-Windows: cannot specify a "modified by" text.
6165Solution: Add MODIFIED_BY in the MSVC build file. (Chen Lei, closes #1275)
6166Files: src/Make_mvc.mak
6167
6168Patch 8.2.0915
6169Problem: Search() cannot skip over matches like searchpair() can.
6170Solution: Add an optional "skip" argument. (Christian Brabandt, closes #861)
6171Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_syntax.vim,
6172 src/structs.h, src/evalvars.c, src/proto/evalvars.pro
6173
6174Patch 8.2.0916
6175Problem: Mapping with partly modifyOtherKeys code does not work.
6176Solution: If there is no mapping with a separate modifier include the
6177 modifier in the key and then try mapping again. (closes #6200)
6178Files: src/getchar.c, src/proto/getchar.pro, src/edit.c, src/term.c,
6179 src/proto/term.pro, src/testdir/test_termcodes.vim
6180
6181Patch 8.2.0917
6182Problem: Quickfix entries do not support a "note" type.
6183Solution: Add support for "note". (partly by Yegappan Lakshmanan,
6184 closes #5527, closes #6216)
6185Files: runtime/doc/quickfix.txt, src/quickfix.c,
6186 src/testdir/test_quickfix.vim
6187
6188Patch 8.2.0918
6189Problem: Duplicate code for evaluating expression argument.
6190Solution: Merge the code and make the use more flexible.
6191Files: src/evalfunc.c, src/eval.c, src/proto/eval.pro, src/evalvars.c,
6192 src/proto/evalvars.pro, src/structs.h
6193
6194Patch 8.2.0919
6195Problem: Merging modifier for modifyOtherKeys is done twice.
6196Solution: Remove the merging done in vgetc().
6197Files: src/getchar.c, src/ex_getln.c
6198
6199Patch 8.2.0920
6200Problem: Writing viminfo fails with a circular reference.
6201Solution: Use copyID to detect the cycle. (closes #6217)
6202Files: src/testdir/test_viminfo.vim, src/viminfo.c
6203
6204Patch 8.2.0921
6205Problem: CTRL-W T in cmdline window causes trouble.
6206Solution: Disallow CTRL-W T in the cmdline window. Add more tests.
6207 (Naruhiko Nishino, closes #6219)
6208Files: src/testdir/test_cmdline.vim, src/window.c
6209
6210Patch 8.2.0922
6211Problem: Search test fails.
6212Solution: Remove failure tests for calls that no longer fail.
6213Files: src/testdir/test_search.vim
6214
6215Patch 8.2.0923
6216Problem: Cmdline test is slow.
6217Solution: Use WaitForAssert().
6218Files: src/testdir/test_cmdline.vim
6219
6220Patch 8.2.0924
6221Problem: Cannot save and restore a register properly.
6222Solution: Add getreginfo() and make setreg() accept a dictionary. (Andy
6223 Massimino, closes #3370)
6224Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
6225 src/proto/register.pro, src/register.c,
6226 src/testdir/test_eval_stuff.vim, src/testdir/test_registers.vim
6227
6228Patch 8.2.0925
6229Problem: Getcompletion() does not return command line arguments.
6230Solution: Add the "cmdline" option. (Shougo, closes #1140)
6231Files: runtime/doc/eval.txt, src/cmdexpand.c,
6232 src/testdir/test_cmdline.vim
6233
6234Patch 8.2.0926
6235Problem: Cmdline test fails on Appveyor.
6236Solution: Add CR to the commands. (Naruhiko Nishino, closes #6220)
6237Files: src/testdir/test_cmdline.vim
6238
6239Patch 8.2.0927
6240Problem: Some sshconfig and ssdhconfig files are not recognized.
6241Solution: Add filetype patterns.
6242Files: runtime/filetype.vim, src/testdir/test_filetype.vim
6243
6244Patch 8.2.0928
6245Problem: Many type casts are used for vim_strnsave().
6246Solution: Make the length argument size_t instead of int. (Ken Takata,
6247 closes #5633) Remove some type casts.
6248Files: src/misc2.c, src/proto/misc2.pro, src/autocmd.c, src/channel.c,
6249 src/cmdexpand.c, src/dict.c, src/diff.c, src/digraph.c,
6250 src/eval.c, src/evalfunc.c, src/highlight.c, src/syntax.c
6251
6252Patch 8.2.0929
6253Problem: v:register is not cleared after an operator was executed.
6254Solution: Clear v:register after finishing an operator (Andy Massimino,
6255 closes #5305)
6256Files: src/normal.c, src/testdir/test_registers.vim
6257
6258Patch 8.2.0930
6259Problem: Script filetype detection trips over env -S argument.
6260Solution: Remove "-S" and "--ignore-environment". (closes #5013)
6261 Add tests.
6262Files: runtime/scripts.vim, src/testdir/test_filetype.vim
6263
6264Patch 8.2.0931
6265Problem: Some remarks about BeOS remain.
6266Solution: Remove BeOS remarks from the help and other files. (Emir Sarı,
6267 closes #6221)
6268Files: READMEdir/README_extra.txt, runtime/doc/options.txt,
6269 runtime/doc/os_beos.txt, runtime/doc/os_vms.txt,
6270 runtime/doc/vi_diff.txt, src/INSTALL
6271
6272Patch 8.2.0932
6273Problem: Misspelling spelllang.
6274Solution: Add an "l". (Dominique Pellé)
6275Files: src/optionstr.c, src/proto/spell.pro, src/spell.c
6276
6277Patch 8.2.0933
6278Problem: 'quickfixtextfunc' does not get window ID of location list.
6279Solution: Add "winid" to the dict argument. (Yegappan Lakshmanan,
6280 closes #6222)
6281Files: runtime/doc/quickfix.txt, src/quickfix.c,
6282 src/testdir/test_quickfix.vim
6283
6284Patch 8.2.0934
6285Problem: Running lhelpgrep twice in a help window doesn't jump to the help
6286 topic.
6287Solution: Check whether any window with the location list is present.
6288 (Yegappan Lakshmanan, closes #6215)
6289Files: src/quickfix.c, src/testdir/test_quickfix.vim
6290
6291Patch 8.2.0935
6292Problem: Flattening a list with existing code is slow.
6293Solution: Add flatten(). (Mopp, closes #3676)
6294Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
6295 src/list.c, src/proto/list.pro, src/testdir/Make_all.mak,
6296 src/testdir/test_flatten.vim
6297
6298Patch 8.2.0936
6299Problem: Some terminals misinterpret the code for getting cursor style.
6300Solution: Send a sequence to the terminal and check the result. (IWAMOTO
6301 Kouichi, closes #2126) Merged with current code.
6302Files: src/main.c, src/term.c, src/proto/term.pro,
6303 src/testdir/term_util.vim, src/testdir/test_quickfix.vim,
6304 src/testdir/test_terminal.vim, src/testdir/test_startup_utf8.vim,
6305 src/testdir/dumps/Test_balloon_eval_term_01.dump,
6306 src/testdir/dumps/Test_balloon_eval_term_01a.dump,
6307 src/testdir/dumps/Test_balloon_eval_term_02.dump,
6308 src/testdir/dumps/Test_terminal_all_ansi_colors.dump
6309
6310Patch 8.2.0937
6311Problem: Asan failure in the flatten() test.
6312Solution: Free the flattened list.
6313Files: src/list.c
6314
6315Patch 8.2.0938
6316Problem: NFA regexp uses tolower() to compare ignore-case. (Thayne McCombs)
6317Solution: Use utf_fold() when possible. (ref. neovim #12456)
6318Files: src/macros.h, src/diff.c, src/regexp_nfa.c,
6319 src/testdir/test_regexp_utf8.vim
6320
6321Patch 8.2.0939
6322Problem: checking for term escape sequences is long and confusing
6323Solution: Refactor code into separate functions.
6324Files: src/term.c
6325
6326Patch 8.2.0940 (after 8.2.0939)
6327Problem: Build failure with tiny features.
6328Solution: Add #ifdef. Add UNUSED. A bit more cleaning up.
6329Files: src/term.c
6330
6331Patch 8.2.0941
6332Problem: Detecting terminal properties is unstructured.
6333Solution: Add a table with terminal properties. Set properties when a
6334 terminal is detected.
6335Files: src/term.c
6336
6337Patch 8.2.0942
6338Problem: Expanding to local dir after homedir keeps "~/".
6339Solution: Adjust modify_fname(). (Christian Brabandt, closes #6205,
6340 closes #5979)
6341Files: src/filepath.c, src/testdir/test_fnamemodify.vim
6342
6343Patch 8.2.0943
6344Problem: Displaying ^M or ^J depends on current buffer.
6345Solution: Pass the displayed buffer to transchar(). (closes #6225)
6346Files: src/drawline.c, src/charset.c, src/proto/charset.pro,
6347 src/ex_cmds.c, src/gui_beval.c, src/message.c,
6348 src/testdir/test_display.vim,
6349 src/testdir/dumps/Test_display_unprintable_01.dump,
6350 src/testdir/dumps/Test_display_unprintable_02.dump
6351
6352Patch 8.2.0944
6353Problem: Xxd test leaves file behind.
6354Solution: Delete the file "XXDfile". (Christian Brabandt, closes #6228)
6355Files: src/testdir/test_xxd.vim
6356
6357Patch 8.2.0945
6358Problem: Cannot use "z=" when 'spell' is off.
6359Solution: Make "z=" work even when 'spell' is off. (Christian Brabandt,
6360 Gary Johnson, closes #6227)
6361Files: runtime/doc/eval.txt, src/evalfunc.c, src/spell.c,
6362 src/spellsuggest.c, src/testdir/test_spell.vim, src/globals.h
6363
6364Patch 8.2.0946
6365Problem: Cannot use "q" to cancel a number prompt.
6366Solution: Recognize "q" instead of ignoring it.
6367Files: src/misc1.c, src/testdir/test_functions.vim
6368
6369Patch 8.2.0947
6370Problem: Readdirex() doesn't handle broken link properly.
6371Solution: Small fixes to readdirex(). (Christian Brabandt, closes #6226,
6372 closes #6213)
6373Files: src/fileio.c, src/testdir/test_functions.vim
6374
6375Patch 8.2.0948
6376Problem: Spell test fails.
6377Solution: Adjust expected text of the prompt.
6378Files: src/testdir/test_spell.vim
6379
6380Patch 8.2.0949
6381Problem: Strptime() does not use DST.
6382Solution: Set the tm_isdst field to -1. (Tomáš Janoušek, closes #6230)
6383Files: src/time.c, src/testdir/test_functions.vim
6384
6385Patch 8.2.0950
6386Problem: Tagjump test fails.
6387Solution: Adjust expected text of the prompt.
6388Files: src/testdir/test_tagjump.vim
6389
6390Patch 8.2.0951
6391Problem: Search stat test has leftover from debugging.
6392Solution: Remove line that writes a file. (Christian Brabandt, closes #6224)
6393Files: src/testdir/test_search_stat.vim
6394
6395Patch 8.2.0952
6396Problem: No simple way to interrupt Vim.
6397Solution: Add the SigUSR1 autocommand, triggered by SIGUSR1. (Jacob Hayes,
6398 closes #1718)
6399Files: runtime/doc/autocmd.txt, src/vim.h, src/autocmd.c, src/getchar.c,
6400 src/globals.h, src/os_unix.c, src/testdir/test_autocmd.vim
6401
6402Patch 8.2.0953
6403Problem: Spell checking doesn't work for CamelCased words.
6404Solution: Add the "camel" value in the new option 'spelloptions'.
6405 (closes #1235)
6406Files: runtime/doc/options.txt, runtime/doc/spell.txt, src/optiondefs.h,
6407 src/option.h, src/option.c, src/buffer.c, src/optionstr.c,
6408 src/testdir/gen_opt_test.vim, src/testdir/test_spell.vim
6409
6410Patch 8.2.0954
6411Problem: Not all desktop files are recognized.
6412Solution: Add the *.directory pattern. (Eisuke Kawashima, closes #3317)
6413Files: runtime/filetype.vim, src/testdir/test_filetype.vim
6414
6415Patch 8.2.0955 (after 8.2.0953)
6416Problem: Build fails.
6417Solution: Add missing struct change.
6418Files: src/structs.h
6419
6420Patch 8.2.0956 (after 8.2.0953)
6421Problem: Spell test fails.
6422Solution: Add missing change the spell checking.
6423Files: src/spell.c
6424
6425Patch 8.2.0957
6426Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
6427Solution: Initialize one variable.
6428Files: src/spell.c
6429
6430Patch 8.2.0958
6431Problem: Not sufficient testing for buffer writing.
6432Solution: Add a few tests. (Yegappan Lakshmanan, closes #6238)
6433Files: src/testdir/test_backup.vim, src/testdir/test_writefile.vim
6434
6435Patch 8.2.0959
6436Problem: Using 'quickfixtextfunc' is a bit slow.
6437Solution: Process a list of entries. (Yegappan Lakshmanan, closes #6234)
6438Files: runtime/doc/quickfix.txt, src/quickfix.c,
6439 src/testdir/test_quickfix.vim
6440
6441Patch 8.2.0960
6442Problem: Cannot use :import in legacy Vim script.
6443Solution: Support :import in any Vim script.
6444Files: src/vim9script.c, src/evalvars.c, src/userfunc.c,
6445 src/testdir/test_vim9_script.vim
6446
6447Patch 8.2.0961
6448Problem: MS-Windows: no completion for locales.
6449Solution: Use the directories in $VIMRUNTIME/lang to complete locales.
6450 (Christian Brabandt, closes 36248)
6451Files: src/cmdexpand.c, src/ex_cmds2.c, src/testdir/test_cmdline.vim
6452
6453Patch 8.2.0962
6454Problem: Terminal test sometimes hangs on Travis.
6455Solution: Do show output for this test temporarily.
6456Files: src/testdir/Makefile
6457
6458Patch 8.2.0963
6459Problem: Number increment/decrement does not work with 'virtualedit'.
6460Solution: Handle coladd changing. (Christian Brabandt, closes #6240,
6461 closes #923)
6462Files: runtime/doc/options.txt, runtime/doc/various.txt, src/ops.c,
6463 src/testdir/test_increment.vim
6464
6465Patch 8.2.0964
6466Problem: TextYankPost does not provide info about Visual selection.
6467Solution: Add the 'visual' key in v:event. (closes #6249)
6468Files: runtime/doc/autocmd.txt, src/register.c,
6469 src/testdir/test_autocmd.vim
6470
6471Patch 8.2.0965
6472Problem: Has_funcundefined() is not used.
6473Solution: Delete the function. (Dominique Pellé, closes #6242)
6474Files: src/autocmd.c, src/proto/autocmd.pro
6475
6476Patch 8.2.0966
6477Problem: 'shortmess' flag "n" not used in two places.
6478Solution: Make use of the "n" flag consistent. (Nick Jensen, closes #6245,
6479 closes #6244)
6480Files: src/bufwrite.c, src/proto/bufwrite.pro, src/buffer.c,
6481 src/fileio.c, src/testdir/dumps/Test_popup_textprop_corn_5.dump,
6482 src/testdir/dumps/Test_start_with_tabs.dump
6483
6484Patch 8.2.0967
6485Problem: Unnecessary type casts for vim_strnsave().
6486Solution: Remove the type casts.
6487Files: src/evalvars.c, src/ex_cmds.c, src/ex_eval.c, src/fileio.c,
6488 src/filepath.c, src/findfile.c, src/highlight.c, src/if_ruby.c,
6489 src/insexpand.c, src/json.c, src/mark.c, src/memline.c,
6490 src/menu.c, src/misc1.c, src/ops.c, src/os_win32.c, src/regexp.c,
6491 src/regexp_bt.c, src/regexp_nfa.c, src/register.c, src/search.c,
6492 src/sign.c, src/syntax.c, src/term.c, src/terminal.c, src/undo.c,
6493 src/usercmd.c, src/userfunc.c, src/vim9compile.c, src/if_perl.xs
6494
6495Patch 8.2.0968
6496Problem: No proper testing of the 'cpoptions' flags.
6497Solution: Add tests. (Yegappan Lakshmanan, closes #6251)
6498Files: src/testdir/Make_all.mak, src/testdir/test_cpoptions.vim,
6499 src/testdir/test_edit.vim, src/testdir/test_normal.vim
6500
6501Patch 8.2.0969
6502Problem: Assert_equal() output for dicts is hard to figure out.
6503Solution: Only show the different items.
6504Files: src/testing.c, src/testdir/test_assert.vim
6505
6506Patch 8.2.0970
6507Problem: Terminal properties are not available in Vim script.
6508Solution: Add the terminalprops() function.
6509Files: src/term.c, src/proto/term.pro, src/evalfunc.c, src/main.c,
6510 src/testing.c, src/globals.h, src/testdir/test_termcodes.vim,
6511 runtime/doc/usr_41.txt, runtime/doc/eval.txt,
6512 runtime/doc/testing.txt
6513
6514Patch 8.2.0971
6515Problem: Build with tiny features fails.
6516Solution: Add #ifdef.
6517Files: src/term.c
6518
6519Patch 8.2.0972
6520Problem: Vim9 script variable declarations need a type.
6521Solution: Make "let var: type" declare a script-local variable.
6522Files: src/evalvars.c, src/vim9script.c, src/proto/vim9script.pro,
6523 src/globals.h, src/vim9compile.c, src/testdir/test_vim9_script.vim
6524
6525Patch 8.2.0973
6526Problem: Vim9: type is not checked when assigning to a script variable.
6527Solution: Check the type.
6528Files: src/evalvars.c, src/vim9script.c, src/proto/vim9script.pro,
6529 src/vim9compile.c, src/proto/vim9compile.pro,
6530 src/testdir/test_vim9_script.vim
6531
6532Patch 8.2.0974
6533Problem: Vim9: memory leak when script var has wrong type.
6534Solution: Free the variable name.
6535Files: src/vim9script.vim
6536
6537Patch 8.2.0975
6538Problem: Vim9: script variable does not accept optional s: prefix.
6539Solution: Adjust the accepted syntax.
6540Files: src/vim9script.c, src/testdir/test_vim9_script.vim
6541
6542Patch 8.2.0976
6543Problem: Some 'cpoptions' not tested.
6544Solution: Add more tests. (Yegappan Lakshmanan, closes #6253)
6545Files: src/testdir/test_cd.vim, src/testdir/test_charsearch.vim,
6546 src/testdir/test_cpoptions.vim, src/testdir/test_normal.vim
6547
6548Patch 8.2.0977
6549Problem: t_8u is made empty for the wrong terminals. (Dominique Pelle)
6550Solution: Invert the check for TPR_YES. (closes #6254)
6551Files: src/term.c, src/testdir/test_termcodes.vim
6552
6553Patch 8.2.0978
6554Problem: Leaking memory in termcodes test.
6555Solution: Set t_8u with set_option_value().
6556Files: src/term.c
6557
6558Patch 8.2.0979
6559Problem: A couple of screendump tests fail.
6560Solution: Do not redraw when clearing t_8u.
6561Files: src/term.c
6562
6563Patch 8.2.0980
6564Problem: Raku file extension not recognized. (Steven Penny)
6565Solution: Recognize .raku and .rakumod. (closes #6255)
6566Files: runtime/filetype.vim, src/testdir/test_filetype.vim
6567
6568Patch 8.2.0981
6569Problem: Vim9: cannot compile "[var, var] = list".
6570Solution: Implement list assignment.
6571Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/evalvars.c,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00006572 src/proto/evalvars.pro, src/eval.c, src/testdir/test_vim9_script.vim
Bram Moolenaarc51cf032022-02-26 12:25:45 +00006573
6574Patch 8.2.0982
6575Problem: Insufficient testing for reading/writing files.
6576Solution: Add more tests. (Yegappan Lakshmanan, closes #6257)
6577 Add "ui_delay" to test_override() and use it for the CTRL-O test.
6578Files: src/testing.c, src/globals.h, src/ui.c, runtime/doc/testing.txt,
6579 src/testdir/test_autocmd.vim, src/testdir/test_edit.vim,
6580 src/testdir/test_filechanged.vim, src/testdir/test_writefile.vim
6581
6582Patch 8.2.0983
6583Problem: SConstruct file type not recognized.
6584Solution: Use python for SConstruct files. (Roland Hieber)
6585Files: runtime/filetype.vim, src/testdir/test_filetype.vim
6586
6587Patch 8.2.0984
6588Problem: Not using previous window when closing a shell popup window.
6589Solution: Use "prevwin" if it was set. (closes #6267)
6590Files: src/popupwin.c, src/testdir/test_popupwin.vim
6591
6592Patch 8.2.0985
6593Problem: Simplify() does not remove slashes from "///path".
6594Solution: Reduce > 2 slashes to one. (closes #6263)
6595Files: src/findfile.c, src/testdir/test_functions.vim
6596
6597Patch 8.2.0986 (after 8.2.0985)
6598Problem: MS-Windows: functions test fails.
6599Solution: Only simplify ///path on Unix.
6600Files: src/testdir/test_functions.vim
6601
6602Patch 8.2.0987
6603Problem: Vim9: cannot assign to [var; var].
6604Solution: Assign rest of items to a list.
6605Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/list.c,
6606 src/proto/list.pro, src/eval.c, src/testdir/test_vim9_script.vim
6607
6608Patch 8.2.0988
6609Problem: Getting directory contents is always case sorted.
6610Solution: Add sort options and v:collate. (Christian Brabandt, closes #6229)
6611Files: runtime/doc/eval.txt, runtime/doc/mlang.txt, src/auto/configure,
6612 src/cmdexpand.c, src/config.h.in, src/configure.ac,
6613 src/evalfunc.c, src/evalvars.c, src/ex_cmds2.c, src/fileio.c,
6614 src/filepath.c, src/globals.h, src/proto/fileio.pro,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00006615 src/testdir/test_cmdline.vim, src/testdir/test_functions.vim,
Bram Moolenaarc51cf032022-02-26 12:25:45 +00006616 src/vim.h
6617
6618Patch 8.2.0989
6619Problem: Crash after resizing a terminal window. (August Masquelier)
6620Solution: Add check for valid row in libvterm. (closes #6273)
6621Files: src/libvterm/src/state.c, src/libvterm/src/screen.c
6622
6623Patch 8.2.0990 (after 8.2.0988)
6624Problem: Using duplicate error number.
6625Solution: Use an unused error number. Add a test for it.
6626Files: src/globals.h, src/testdir/test_functions.vim
6627
6628Patch 8.2.0991
6629Problem: Cannot get window type for autocmd and preview window.
6630Solution: Add types to win_gettype(). (Yegappan Lakshmanan, closes #6277)
6631Files: runtime/doc/eval.txt, src/evalwindow.c,
6632 src/testdir/test_autocmd.vim, src/testdir/test_preview.vim
6633
6634Patch 8.2.0992
6635Problem: Vim9: crash when using :import in the Vim command.
6636Solution: Give an error when using :import outside of a script.
6637 (closes #6271)
6638Files: src/vim9script.c, src/testdir/test_vim9_script.vim,
6639 src/testdir/term_util.vim
6640
6641Patch 8.2.0993
6642Problem: Vim9 script test fails with normal features.
6643Solution: Use :func instead of :def for now.
6644Files: src/testdir/test_vim9_script.vim
6645
6646Patch 8.2.0994
6647Problem: Vim9: missing function causes compilation error.
6648Solution: Call test function indirectly.
6649Files: src/testdir/test_vim9_script.vim
6650
6651Patch 8.2.0995
6652Problem: Insufficient testing for the readdir() sort option.
6653Solution: Add a few more tests. (Christian Brabandt, closes #6278)
6654Files: src/testdir/test_functions.vim
6655
6656Patch 8.2.0996
6657Problem: Using "aucmdwin" in win_gettype() is not ideal.
6658Solution: Rename to "autocmd".
6659Files: runtime/doc/eval.txt, src/evalwindow.c,
6660 src/testdir/test_autocmd.vim
6661
6662Patch 8.2.0997
6663Problem: Cannot execute a register containing line continuation.
6664Solution: Concatenate lines where needed. (Yegappan Lakshmanan,
6665 closes #6272)
6666Files: runtime/doc/repeat.txt, src/register.c,
6667 src/testdir/test_registers.vim
6668
6669Patch 8.2.0998
6670Problem: Not all tag code is tested.
6671Solution: Add a few more test cases. (Yegappan Lakshmanan, closes #6284)
6672Files: src/testdir/test_tagjump.vim
6673
6674Patch 8.2.0999
6675Problem: Moving to next sentence gets stuck on quote.
6676Solution: When moving to the next sentence doesn't result in moving, advance
6677 a character and try again. (closes #6291)
6678Files: src/textobject.c, src/testdir/test_textobjects.vim
6679
6680Patch 8.2.1000
6681Problem: Get error when leaving Ex mode with :visual and a CmdLineEnter
6682 autocommand was used.
6683Solution: Reset ex_pressedreturn. (closes #6293)
6684Files: src/ex_docmd.c, src/testdir/test_ex_mode.vim
6685
6686Patch 8.2.1001
6687Problem: Vim9: crash with nested "if" and assignment.
6688Solution: Skip more of the assignment. Do not set ctx_skip when code is
6689 reachable.
6690Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
6691
6692Patch 8.2.1002
6693Problem: Test may fail when run directly.
6694Solution: Check if g:run_nr exists. (Christian Brabandt, closes #6285)
6695Files: src/testdir/term_util.vim
6696
6697Patch 8.2.1003
6698Problem: Vim9: return type of sort() is too generic.
6699Solution: Get type from the first argument. (closes #6292)
6700Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
6701
6702Patch 8.2.1004
6703Problem: Line numbers below filler lines not always updated.
6704Solution: Don't break out of the win_line() loop too early. (Christian
6705 Brabandt, closes #6294, closes #6138)
6706Files: src/drawline.c, src/testdir/dumps/Test_diff_rnu_01.dump,
6707 src/testdir/dumps/Test_diff_rnu_02.dump,
6708 src/testdir/dumps/Test_diff_rnu_03.dump,
6709 src/testdir/test_diffmode.vim
6710
6711Patch 8.2.1005
6712Problem: Vim9: using TRUE/FALSE/MAYBE for ctx_skip is confusing.
6713Solution: Use an enum value.
6714Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
6715
6716Patch 8.2.1006
6717Problem: Vim9: require unnecessary return statement.
6718Solution: Improve the use of the had_return flag. (closes #6270)
6719Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim,
6720 src/testdir/test_vim9_func.vim
6721
6722Patch 8.2.1007
6723Problem: Completion doesn't work after ":r ++arg !".
6724Solution: Skip over "++arg". (Christian Brabandt, closes #6275,
6725 closes #6258)
6726Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
6727
6728Patch 8.2.1008
6729Problem: Vim9: no test for disassembling newly added instructions.
6730Solution: Add a function and check disassembly.
6731Files: src/testdir/test_vim9_disassemble.vim
6732
6733Patch 8.2.1009
6734Problem: Vim9: some failures not checked for.
6735Solution: Add test cases. Remove unused code.
6736Files: src/testdir/test_vim9_script.vim, src/vim9execute.c
6737
6738Patch 8.2.1010
6739Problem: Build failure in libvterm with debug enabled. (John Little)
6740Solution: Use "->" instead of ".".
6741Files: src/libvterm/src/state.c
6742
6743Patch 8.2.1011
6744Problem: Vim9: some code not tested.
6745Solution: Add a few more test cases. Reorder checks for clearer error.
6746 Remove unreachable code.
6747Files: src/evalvars.c, src/vim9script.c, src/vim9execute.c,
6748 src/proto/vim9script.pro, src/testdir/test_vim9_script.vim,
6749 src/testdir/test_vim9_expr.vim
6750
6751Patch 8.2.1012
6752Problem: Vim9: cannot declare single character script variables.
6753Solution: Don't see "b:", "s:", etc. as namespace. Fix item size of
6754 sn_var_vals.
6755Files: src/vim9script.c, src/scriptfile.c,
6756 src/testdir/test_vim9_script.vim
6757
6758Patch 8.2.1013
6759Problem: Channel tests can be a bit flaky.
6760Solution: Set the g:test_is_flaky flag in SetUp().
6761Files: src/testdir/test_channel.vim
6762
6763Patch 8.2.1014
6764Problem: Using "name" for a string result is confusing.
6765Solution: Rename to "end".
6766Files: src/typval.c
6767
6768Patch 8.2.1015
6769Problem: Popup filter gets key with modifier prepended when using
6770 modifyOtherKeys.
6771Solution: Remove the shift modifier when it is included in the key, also
6772 when the Alt or Meta modifier is used.
6773Files: src/term.c, src/misc2.c, src/testdir/test_popupwin.vim
6774
6775Patch 8.2.1016
6776Problem: Vim9: test fails when channel feature is missing.
6777Solution: Process an :if command when skipping
6778Files: src/vim9compile.c
6779
6780Patch 8.2.1017
6781Problem: Appveyor output doesn't show MinGW console features.
6782Solution: List the features of the console build.
6783Files: ci/appveyor.bat
6784
6785Patch 8.2.1018
6786Problem: Typo in enum value. (James McCoy)
6787Solution: Fix the typo.
6788Files: src/vim9compile.c
6789
6790Patch 8.2.1019
6791Problem: Mapping <M-S-a> does not work in the GUI.
6792Solution: Move the logic to remove the shift modifier to
6793 may_remove_shift_modifier() and also use it in the GUI.
6794Files: src/gui_gtk_x11.c, src/misc2.c, src/proto/misc2.pro, src/term.c
6795
6796Patch 8.2.1020
6797Problem: Popupwin test fails in the GUI.
6798Solution: Send GUI byte sequence for <C-S-a>.
6799Files: src/testdir/test_popupwin.vim
6800
6801Patch 8.2.1021
6802Problem: Ruby interface not tested enough.
6803Solution: Add a couple more tests. (Dominique Pellé, closes #6301)
6804Files: src/testdir/test_ruby.vim
6805
6806Patch 8.2.1022
6807Problem: Various parts of code not covered by tests.
6808Solution: Add more tests. (Yegappan Lakshmanan, closes #6300)
6809Files: src/testdir/test_blob.vim, src/testdir/test_cpoptions.vim,
6810 src/testdir/test_digraph.vim, src/testdir/test_edit.vim,
6811 src/testdir/test_iminsert.vim, src/testdir/test_paste.vim,
6812 src/testdir/test_prompt_buffer.vim,
6813 src/testdir/test_selectmode.vim, src/testdir/test_tabpage.vim,
6814 src/testdir/test_tagjump.vim, src/testdir/test_textformat.vim,
6815 src/testdir/test_viminfo.vim, src/testdir/test_virtualedit.vim,
6816 src/testdir/test_visual.vim
6817
6818Patch 8.2.1023
6819Problem: Vim9: redefining a function uses a new index every time.
6820Solution: When redefining a function clear the contents and re-use the
6821 index.
6822Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c,
6823 src/structs.h, src/eval.c, src/evalvars.c, src/vim9execute.c
6824
6825Patch 8.2.1024
6826Problem: Vim9: no error for using "let g:var = val".
6827Solution: Add an error.
6828Files: src/evalvars.c, src/globals.h, src/structs.h, src/vim9compile.c,
6829 src/scriptfile.c, src/userfunc.c, src/testdir/test_vim9_script.vim,
6830 src/testdir/test_vim9_disassemble.vim,
6831 src/testdir/test_vim9_func.vim
6832
6833Patch 8.2.1025
6834Problem: Tabpage menu and tabline not sufficiently tested.
6835Solution: Add tests. (Yegappan Lakshmanan, closes #6307)
6836Files: src/testdir/test_digraph.vim, src/testdir/test_tabpage.vim
6837
6838Patch 8.2.1026
6839Problem: Vim9: cannot break the line after "->".
6840Solution: Check for a continuation line after "->", "[" and ".". Ignore
6841 trailing white space.
6842Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
6843
6844Patch 8.2.1027
6845Problem: GUI: multibyte characters do not work in a terminal.
6846Solution: Do not assume a key is one byte. (closes #6304)
6847Files: src/gui_gtk_x11.c, src/gui_x11.c
6848
6849Patch 8.2.1028
6850Problem: Vim9: no error for declaring buffer, window, etc. variable.
6851Solution: Give an error. Unify the error messages.
6852Files: src/evalvars.c, src/globals.h, src/vim9compile.c,
6853 src/proto/vim9compile.pro, src/testdir/test_vim9_expr.vim,
6854 src/testdir/test_vim9_script.vim
6855
6856Patch 8.2.1029
6857Problem: Vim9: cannot chain function calls with -> at line start.
6858Solution: Peek ahead for a following line starting with "->". (closes #6306)
6859Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
6860
6861Patch 8.2.1030
6862Problem: Reducing size of a terminal window may cause a crash.
6863Solution: Make sure the row and column don't become negative. (closes #6273)
6864Files: src/libvterm/src/state.c, src/libvterm/src/screen.c
6865
6866Patch 8.2.1031
6867Problem: Build failure with Perl5.32.
6868Solution: Define a few more functions. (Felix Yan, closes #6310)
6869Files: src/if_perl.xs
6870
6871Patch 8.2.1032
6872Problem: Error message for declaring a variable cannot be translated.
6873Solution: Enclose in _(). Make environment variable a separate message.
6874Files: src/globals.h, src/vim9compile.c
6875
6876Patch 8.2.1033
6877Problem: Not easy to read the test time in the test output.
6878Solution: Align the times. Make slow tests bold.
6879Files: src/testdir/runtest.vim
6880
6881Patch 8.2.1034
6882Problem: Compiler warning for uninitialized variables.
6883Solution: Add initializations. (John Marriott)
6884Files: src/vim9compile.c
6885
6886Patch 8.2.1035
6887Problem: setreg() does not always clear the register.
6888Solution: Clear the register if the dict argument is empty. (Andy Massimino,
6889 closes #3370)
6890Files: src/evalfunc.c, src/testdir/test_registers.vim
6891
6892Patch 8.2.1036
6893Problem: Popupwin test fails sometimes.
6894Solution: Use WaitForAssert() instead of a sleep.
6895Files: src/testdir/test_popupwin.vim
6896
6897Patch 8.2.1037
6898Problem: Vim9: crash when using line continuation inside :def.
6899Solution: Check for no more lines available.
6900Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
6901
6902Patch 8.2.1038
6903Problem: Popupwin test fails.
6904Solution: Fix WaitForAssert() argument.
6905Files: src/testdir/test_popupwin.vim
6906
6907Patch 8.2.1039
6908Problem: Cannot put NUL byte on clipboard.
6909Solution: Use the text length. (Christian Brabandt, closes #6312,
6910 closes #6149)
6911Files: src/winclip.c, src/testdir/test_registers.vim
6912
6913Patch 8.2.1040
6914Problem: Not enough testing for movement commands.
6915Solution: Add more tests. (Yegappan Lakshmanan, closes #6313)
6916Files: src/testdir/test_cursor_func.vim, src/testdir/test_functions.vim,
6917 src/testdir/test_gf.vim, src/testdir/test_normal.vim,
6918 src/testdir/test_options.vim, src/testdir/test_quickfix.vim
6919
6920Patch 8.2.1041
6921Problem: Test summary is missing executed count.
6922Solution: Adjust pattern used for counting.
6923Files: src/testdir/summarize.vim
6924
6925Patch 8.2.1042
6926Problem: Vim9: cannot put an operator on the next line.
6927Solution: Require a colon before a range to see if that causes problems.
6928Files: runtime/doc/vim9.txt, src/vim9compile.c, src/ex_docmd.c,
6929 src/globals.h, src/testdir/test_vim9_script.vim,
6930 src/testdir/test_vim9_expr.vim
6931
6932Patch 8.2.1043
6933Problem: %a item in 'statusline' not tested.
6934Solution: Add a test. (Dominique Pellé, closes #6318)
6935Files: src/testdir/test_statusline.vim
6936
6937Patch 8.2.1044
6938Problem: Not all systemd file types are recognized.
6939Solution: Match several more files. (Guido Cella, closes #6319)
6940Files: runtime/filetype.vim, src/testdir/test_filetype.vim
6941
6942Patch 8.2.1045
6943Problem: Vim9: line break before operator does not work.
6944Solution: Peek the next line for an operator.
6945Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
6946
6947Patch 8.2.1046
6948Problem: Insufficient tests for src/buffer.c.
6949Solution: Add more tests. Move comments related tests to a separate file.
6950 (Yegappan Lakshmanan, closes #6325)
6951Files: src/testdir/Make_all.mak, src/testdir/test_buffer.vim,
6952 src/testdir/test_cmdline.vim, src/testdir/test_comments.vim,
6953 src/testdir/test_normal.vim, src/testdir/test_textformat.vim
6954
6955Patch 8.2.1047
6956Problem: Vim9: script cannot use line continuation like in a :def function.
6957Solution: Pass the getline function pointer to the eval() functions. Use it
6958 for addition and multiplication operators.
6959Files: src/vim.h, src/structs.h, src/globals.h, src/ex_eval.c,
6960 src/eval.c, src/proto/eval.pro, src/dict.c, src/evalfunc.c,
6961 src/evalvars.c, src/list.c, src/userfunc.c, src/scriptfile.c,
6962 src/proto/scriptfile.pro, src/testdir/test_vim9_expr.vim
6963
6964Patch 8.2.1048 (after 8.2.1047)
6965Problem: Build failure without the eval feature.
6966Solution: Add dummy typedef.
6967Files: src/structs.h
6968
6969Patch 8.2.1049 (after 8.2.1047)
6970Problem: Vim9: leaking memory when using continuation line.
6971Solution: Keep a pointer to the continuation line in evalarg_T. Centralize
6972 checking for a next command.
6973Files: src/structs.h, src/eval.c, src/proto/eval.pro, src/beval.c,
6974 src/buffer.c, src/clientserver.c, src/evalvars.c, src/ex_docmd.c,
6975 src/ex_eval.c, src/filepath.c, src/findfile.c, src/fold.c,
6976 src/globals.h, src/if_ole.cpp, src/if_perl.xs, src/if_tcl.c,
6977 src/map.c, src/quickfix.c, src/regexp.c, src/register.c,
6978 src/screen.c, src/userfunc.c
6979
6980Patch 8.2.1050 (after 8.2.1049)
6981Problem: Missing change in struct.
6982Solution: Add missing change.
6983Files: src/ex_cmds.h
6984
6985Patch 8.2.1051
6986Problem: Crash when changing a list while using reduce() on it.
6987Solution: Lock the list. (closes #6330)
6988Files: src/list.c, src/testdir/test_listdict.vim
6989
6990Patch 8.2.1052
6991Problem: Build failure with older compilers.
6992Solution: Move declaration to start of block.
6993Files: src/eval.c
6994
6995Patch 8.2.1053
6996Problem: Insufficient testing for 'statusline' and 'tabline'.
6997Solution: Add more tests. (Yegappan Lakshmanan, closes #6333)
6998Files: src/testdir/test_autocmd.vim, src/testdir/test_statusline.vim,
6999 src/testdir/test_tabline.vim
7000
7001Patch 8.2.1054
7002Problem: Not so easy to pass a lua function to Vim.
7003Solution: Convert a Lua function and closure to a Vim funcref. (Prabir
7004 Shrestha, closes #6246)
7005Files: runtime/doc/if_lua.txt, src/if_lua.c, src/proto/userfunc.pro,
7006 src/structs.h, src/testdir/test_lua.vim, src/userfunc.c
7007
7008Patch 8.2.1055
7009Problem: No filetype set for pacman config files.
7010Solution: Recognize pacman.conf and *.hook. (Guido Cella, closes #6335)
7011Files: runtime/filetype.vim, src/testdir/test_filetype.vim
7012
7013Patch 8.2.1056
7014Problem: Wrong display when mixing match conceal and syntax conceal.
7015Solution: Adjust how conceal flags are used. (closes #6327, closes #6303)
7016Files: src/drawline.c, src/highlight.c,
7017 src/testdir/test_matchadd_conceal.vim
7018
7019Patch 8.2.1057 (after 8.2.1054)
7020Problem: Cannot build with dynamic Lua.
7021Solution: Add dll variables.
7022Files: src/if_lua.c
7023
7024Patch 8.2.1058
7025Problem: Multiline conceal causes display errors.
7026Solution: Do not allow conceal cross over EOL. (closes #6326, closes #4854,
7027 closes #6302)
7028Files: src/drawline.c, src/testdir/test_conceal.vim,
7029 src/testdir/test_diffmode.vim
7030
7031Patch 8.2.1059
7032Problem: Crash when using :tabonly in an autocommand. (Yegappan Lakshmanan)
7033Solution: Do not allow the autocommand window to be closed.
7034Files: src/ex_docmd.c, src/window.c, src/globals.h,
7035 src/testdir/test_autocmd.vim
7036
7037Patch 8.2.1060
7038Problem: Not all elinks files are recognized.
7039Solution: Just check for "elinks.conf". (Guido Cella, closes #6337)
7040Files: runtime/filetype.vim, src/testdir/test_filetype.vim
7041
7042Patch 8.2.1061
7043Problem: Insufficient testing for src/window.c.
7044Solution: Add more tests. (Yegappan Lakshmanan, closes #6345)
7045Files: src/testdir/test_excmd.vim, src/testdir/test_gf.vim,
7046 src/testdir/test_options.vim, src/testdir/test_popupwin.vim,
7047 src/testdir/test_quickfix.vim, src/testdir/test_tabpage.vim,
7048 src/testdir/test_tagjump.vim, src/testdir/test_window_cmd.vim,
7049 src/window.c
7050
7051Patch 8.2.1062
7052Problem: Vim9: no line break allowed inside "cond ? val1 : val2".
7053Solution: Check for operator after line break.
7054Files: src/eval.c, src/testdir/test_vim9_expr.vim
7055
7056Patch 8.2.1063
7057Problem: Vim9: no line break allowed before || or &&.
7058Solution: Check for operator after line break.
7059Files: src/eval.c, src/testdir/test_vim9_expr.vim
7060
7061Patch 8.2.1064
7062Problem: Vim9: no line break allowed before comparators.
7063Solution: Check for comparator after line break.
7064Files: src/eval.c, src/testdir/test_vim9_expr.vim
7065
7066Patch 8.2.1065
7067Problem: Vim9: no line break allowed inside a list.
7068Solution: Handle line break inside a list in Vim9 script.
7069Files: src/eval.c, src/proto/eval.pro, src/list.c, src/proto/list.pro,
7070 src/vim9compile.c, src/testdir/test_vim9_expr.vim,
7071 src/testdir/test_arglist.vim
7072
7073Patch 8.2.1066
7074Problem: Lua arrays are zero based.
7075Solution: Make Lua arrays one based. (Prabir Shrestha, closes #6347)
7076 Note: this is not backwards compatible.
7077Files: runtime/doc/if_lua.txt, src/if_lua.c, src/testdir/test_lua.vim
7078
7079Patch 8.2.1067
7080Problem: Expression "!expr->func()" does not work.
7081Solution: Apply plus and minus earlier. (closes #6348)
7082Files: src/eval.c, src/proto/eval.pro, src/evalvars.c, src/userfunc.c,
7083 src/testdir/test_expr.vim, src/testdir/test_vim9_expr.vim
7084
7085Patch 8.2.1068
7086Problem: Vim9: no line break allowed inside a dict.
7087Solution: Handle line break inside a dict in Vim9 script.
7088Files: src/eval.c, src/dict.c, src/proto/dict.pro,
7089 src/vim9compile.c, src/testdir/test_vim9_expr.vim
7090
7091Patch 8.2.1069
7092Problem: Vim9: fail to check for white space in list.
7093Solution: Add check for white space.
7094Files: src/list.c
7095
7096Patch 8.2.1070
7097Problem: Vim9: leaking memory when lacking white space in dict.
7098Solution: Clear the typval.
7099Files: src/dict.c
7100
7101Patch 8.2.1071
7102Problem: Vim9: no line break allowed inside a lambda.
7103Solution: Handle line break inside a lambda in Vim9 script.
7104Files: src/eval.c, src/proto/eval.pro, src/evalvars.c, src/userfunc.c,
7105 src/proto/userfunc.pro, src/popupwin.c, src/vim9compile.c,
7106 src/ex_eval.c, src/globals.h, src/structs.h,
7107 src/testdir/test_vim9_expr.vim
7108
7109Patch 8.2.1072
7110Problem: Missing libvterm test.
7111Solution: Sync with libvterm revision 768.
7112Files: src/libvterm/src/state.c, src/libvterm/t/63screen_resize.test
7113
7114Patch 8.2.1073
7115Problem: Vim9: no line break allowed in () expression.
7116Solution: Skip a line break.
7117Files: src/eval.c, src/testdir/test_vim9_expr.vim
7118
7119Patch 8.2.1074
7120Problem: Vim9: no line break allowed after some operators.
7121Solution: Skip a line break after the operator. Add
7122 eval_may_get_next_line() to simplify checking for a line break.
7123Files: src/eval.c, src/proto/eval.pro, src/dict.c, src/list.c,
7124 src/userfunc.c, src/testdir/test_vim9_expr.vim
7125
7126Patch 8.2.1075
7127Problem: Vim9: no line break allowed in :echo expression.
7128Solution: Skip linebreak.
7129Files: src/eval.c, src/testdir/test_vim9_cmd.vim
7130
7131Patch 8.2.1076
7132Problem: Vim9: no line break allowed in :if expression.
7133Solution: Skip linebreak.
7134Files: src/eval.c, src/proto/eval.pro, src/evalvars.c,
7135 src/testdir/test_vim9_cmd.vim
7136
7137Patch 8.2.1077
7138Problem: No enough test coverage for highlighting.
7139Solution: Add more tests. (Yegappan Lakshmanan, closes #6351)
7140Files: runtime/doc/syntax.txt, src/testdir/test_cmdline.vim,
7141 src/testdir/test_highlight.vim, src/testdir/test_match.vim
7142
7143Patch 8.2.1078
7144Problem: Highlight and match functionality together in one file.
7145Solution: Move match functionality to a separate file. (Yegappan Lakshmanan,
7146 closes #6352)
7147Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
7148 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
7149 src/highlight.c, src/match.c, src/proto.h,
7150 src/proto/highlight.pro, src/proto/match.pro
7151
7152Patch 8.2.1079
7153Problem: Vim9: no line break allowed in a while loop.
7154Solution: Update stored loop lines when finding line breaks.
7155Files: src/structs.h, src/globals.h, src/eval.c, src/evalvars.c,
7156 src/ex_docmd.c, src/proto/ex_docmd.pro,
7157 src/testdir/test_vim9_cmd.vim
7158
7159Patch 8.2.1080
7160Problem: Vim9: no line break allowed in a for loop.
7161Solution: Skip line breaks in for command.
7162Files: src/eval.c, src/ex_eval.c, src/proto/eval.pro, src/userfunc.c,
7163 src/structs.h, src/globals.h, src/testdir/test_vim9_cmd.vim
7164
7165Patch 8.2.1081
7166Problem: Lua: cannot use table.insert() and table.remove().
7167Solution: Add the list functions. (Prabir Shrestha, closes #6353)
7168Files: runtime/doc/if_lua.txt, src/if_lua.c, src/testdir/test_lua.vim
7169
7170Patch 8.2.1082
7171Problem: Coverity complains about ignoring dict_add() return value.
7172Solution: Add (void).
7173Files: src/evalfunc.c
7174
7175Patch 8.2.1083
7176Problem: Crash when using reduce() on a NULL list.
7177Solution: Only access the list when not NULL.
7178Files: src/list.c, src/testdir/test_listdict.vim
7179
7180Patch 8.2.1084
7181Problem: Lua: registering function has useless code.
7182Solution: Remove clearing grow arrays.
7183Files: src/userfunc.c
7184
7185Patch 8.2.1085
7186Problem: Coverity complains about ignoring dict_add() return value.
7187Solution: Add (void).
7188Files: src/register.c
7189
7190Patch 8.2.1086
7191Problem: Possibly using freed memory when text properties used when
7192 changing indent of a line.
7193Solution: Compute the offset before calling ml_replace().
7194Files: src/indent.c
7195
7196Patch 8.2.1087
7197Problem: Possible memory leak when file expansion fails.
7198Solution: Clear the grow array when returning FAIL. Use an error message
7199 instead of an empty string.
7200Files: src/filepath.c
7201
7202Patch 8.2.1088
7203Problem: A very long translation might cause a buffer overflow.
7204Solution: Truncate the message if needed.
7205Files: src/fileio.c
7206
7207Patch 8.2.1089
7208Problem: Coverity warns for pointer computation.
7209Solution: Avoid computing a pointer to invalid memory.
7210Files: src/spellfile.c
7211
7212Patch 8.2.1090
7213Problem: May use NULL pointer when skipping over name.
7214Solution: Always set ll_name_end.
7215Files: src/eval.c
7216
7217Patch 8.2.1091
7218Problem: No check if opening a pty works.
7219Solution: Check for invalid file descriptor.
7220Files: src/os_unix.c
7221
7222Patch 8.2.1092
7223Problem: Not checking if saving for undo succeeds.
7224Solution: Bail out if u_savesub() returns FAIL.
7225Files: src/textprop.c
7226
7227Patch 8.2.1093
7228Problem: Python: double free when adding item to dict fails.
7229Solution: Remove vim_free() call.
7230Files: src/if_py_both.h
7231
7232Patch 8.2.1094
7233Problem: Dead code in libvterm.
7234Solution: Remove condition that is always true.
7235Files: src/libvterm/src/pen.c
7236
7237Patch 8.2.1095
7238Problem: May use pointer after freeing it when text properties are used.
7239Solution: Update redo buffer before calling ml_replace().
7240Files: src/spellsuggest.c
7241
7242Patch 8.2.1096
7243Problem: Vim9: return type of getqflist() is wrong.
7244Solution: Let the return type depend on the arguments. Also for
7245 getloclist(). (closes #6357)
7246Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7247
7248Patch 8.2.1097
7249Problem: Highlight code not sufficiently tested.
7250Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6359)
7251Files: src/testdir/test_filter_cmd.vim, src/testdir/test_highlight.vim
7252
7253Patch 8.2.1098
7254Problem: Vim9: cannot use line break in :throw argument.
7255Solution: Check for line break.
7256Files: src/eval.c, src/testdir/test_vim9_script.vim
7257
7258Patch 8.2.1099
7259Problem: Vim9: cannot use line break in :cexpr argument.
7260Solution: Check for line break.
7261Files: src/eval.c, src/testdir/test_vim9_script.vim
7262
7263Patch 8.2.1100
7264Problem: Vim9: cannot use line break in :execute, :echomsg and :echoerr
7265 argument.
7266Solution: Check for line break.
7267Files: src/eval.c, src/testdir/test_vim9_script.vim
7268
7269Patch 8.2.1101
7270Problem: No error when using wrong arguments for setqflist() or
7271 setloclist().
7272Solution: Check for the error.
7273Files: src/quickfix.c, src/testdir/test_quickfix.vim
7274
7275Patch 8.2.1102
7276Problem: Coverity gets confused by an unnecessary NULL check.
7277Solution: Remove the check for NULL.
7278Files: src/quickfix.c
7279
7280Patch 8.2.1103
7281Problem: Coverity reports an unnecessary NULL check.
7282Solution: Remove the check for NULL.
7283Files: src/eval.c
7284
7285Patch 8.2.1104
7286Problem: Coverity warns for possible NULL pointer use.
7287Solution: Check "pbyts" is not NULL.
7288Files: src/spellsuggest.c
7289
7290Patch 8.2.1105
7291Problem: Insufficient test coverage for Lua.
7292Solution: Add tests. (Yegappan Lakshmanan, closes #6368) Fix uncovered
7293 memory leak. Avoid unnecessary copy/free.
7294Files: src/if_lua.c, src/testdir/test_lua.vim
7295
7296Patch 8.2.1106
7297Problem: Crash when trying to use s: variable in typed command.
7298Solution: Don't use the script index when not set. (Ken Takata,
7299 closes #6366)
7300Files: src/vim9compile.c, src/testdir/test_vimscript.vim
7301
7302Patch 8.2.1107
7303Problem: 'imactivatefunc' and 'imstatusfunc' are not used in the GUI.
7304Solution: Adjust the #ifdefs. (closes #6367)
7305Files: runtime/doc/options.txt, src/gui_xim.c,
7306 src/testdir/test_iminsert.vim
7307
7308Patch 8.2.1108
7309Problem: Mouse left-right scroll is not supported in terminal window.
7310Solution: Implement mouse codes 6 and 7. (Trygve Aaberge, closes #6363)
7311Files: src/libvterm/src/mouse.c, src/mouse.c, src/terminal.c,
7312 src/testdir/mouse.vim, src/testdir/test_termcodes.vim
7313
7314Patch 8.2.1109 (after 8.2.1106)
7315Problem: Still crashing when using s:variable.
7316Solution: Remove assignment. (Ken Takata)
7317Files: src/vim9compile.c
7318
7319Patch 8.2.1110
7320Problem: Vim9: line continuation does not work in function arguments.
7321Solution: Pass "evalarg" to get_func_tv(). Fix seeing double quoted string
7322 as comment.
7323Files: src/userfunc.c, src/proto/userfunc.pro, src/eval.c, src/ex_eval.c,
7324 src/list.c, src/dict.c, src/proto/eval.pro,
7325 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim
7326
7327Patch 8.2.1111
7328Problem: Inconsistent naming of get_list_tv() and eval_dict().
7329Solution: Rename get_list_tv() to eval_list(). Similarly for eval_number(),
7330 eval_string(), eval_lit_string() and a few others.
7331Files: src/eval.c, src/list.c, src/proto/list.pro, src/vim9compile.c,
7332 src/typval.c, src/proto/typval.pro, src/vim9script.c,
7333 src/evalfunc.c, src/evalvars.c, src/proto/evalvars.pro,
7334 src/vim9execute.c
7335
7336Patch 8.2.1112
7337Problem: Vim9: no line continuation allowed in method call.
7338Solution: Handle line continuation in expression before method call.
7339Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim,
7340 src/testdir/test_vim9_script.vim,
7341 src/testdir/test_vim9_expr.vim
7342
7343Patch 8.2.1113
7344Problem: No test for verbose output of :call.
7345Solution: Add a test.
7346Files: src/testdir/test_user_func.vim
7347
7348Patch 8.2.1114
7349Problem: Terminal test sometimes times out.
7350Solution: Split the test in two parts.
7351Files: src/testdir/Makefile, src/testdir/Make_all.mak,
7352 src/testdir/term_util.vim, src/testdir/test_terminal.vim,
7353 src/testdir/test_terminal2.vim
7354
7355Patch 8.2.1115
7356Problem: Iminsert test fails when compiled with VIMDLL.
7357Solution: Change condition. (Ken Takata, closes #6376)
7358Files: src/testdir/test_iminsert.vim
7359
7360Patch 8.2.1116
7361Problem: Vim9: parsing command checks for list twice.
7362Solution: Adjust how a command is parsed.
7363Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
7364
7365Patch 8.2.1117
7366Problem: Coverity warns for using uninitialized field.
7367Solution: Initialize v_lock.
7368Files: src/if_lua.c
7369
7370Patch 8.2.1118
7371Problem: Condition can never be true, dead code.
7372Solution: Remove the dead code.
7373Files: src/move.c
7374
7375Patch 8.2.1119
7376Problem: Configure fails with Xcode 12 beta.
7377Solution: use "return" instead of "exit()". (Nico Weber, closes #6381)
7378Files: src/configure.ac, src/auto/configure
7379
7380Patch 8.2.1120
7381Problem: Python code not tested properly.
7382Solution: Add more tests and convert old-style test into new-style test.
7383 (Yegappan Lakshmanan, closes #6370)
7384Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
7385 src/testdir/test86.in, src/testdir/test86.ok,
7386 src/testdir/test_python2.vim
7387
7388Patch 8.2.1121
7389Problem: Command completion not working after ++arg.
7390Solution: Move skipping up. (Christian Brabandt, closes #6382)
7391Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
7392
7393Patch 8.2.1122
7394Problem: Vim9: line continuation in dict member not recognized.
7395Solution: Check for line continuation.
7396Files: src/eval.c, src/testdir/test_vim9_expr.vim
7397
7398Patch 8.2.1123
7399Problem: Python 3 test is old style.
7400Solution: Turn into new style test. (Yegappan Lakshmanan, closes #6385)
7401Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
7402 src/testdir/test87.in, src/testdir/test87.ok,
7403 src/testdir/test_python2.vim, src/testdir/test_python3.vim
7404
7405Patch 8.2.1124
7406Problem: Vim9: no line break allowed in :import command.
7407Solution: Skip over line breaks.
7408Files: src/vim9script.c, src/proto/vim9script.pro, src/vim9compile.c,
7409 src/testdir/test_vim9_script.vim
7410
7411Patch 8.2.1125
7412Problem: Vim9: double quote can be a string or a comment.
7413Solution: Only support comments starting with # to avoid confusion.
7414Files: src/eval.c, src/proto/eval.pro, src/dict.c, src/list.c,
7415 src/vim9script.c
7416
7417Patch 8.2.1126
7418Problem: Vim9: using :copen causes an error.
7419Solution: Add flag LET_NO_COMMAND in set_var().
7420Files: src/evalvars.c, src/testdir/test_vim9_script.vim
7421
7422Patch 8.2.1127
7423Problem: Vim9: getting a dict member may not work.
7424Solution: Clear the dict only after copying the item. (closes #6390)
7425Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
7426
7427Patch 8.2.1128
7428Problem: The write message mentions characters, but it's actually bytes.
7429Solution: Change "C" to "B" and "characters" to "bytes".
7430Files: runtime/doc/options.txt, src/fileio.c,
7431 src/testdir/test_cscope.vim, src/testdir/test_netbeans.vim,
7432 src/testdir/dumps/Test_diff_syntax_1.dump,
7433 src/testdir/dumps/Test_long_file_name_1.dump,
7434 src/testdir/dumps/Test_display_unprintable_01.dump,
7435 src/testdir/dumps/Test_tselect_1.dump
7436
7437Patch 8.2.1129
7438Problem: Vim9: bar not recognized after not compiled command.
7439Solution: Check for bar for commands where this is possible. (closes #6391)
7440Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
7441
7442Patch 8.2.1130
7443Problem: Vim9: bar not recognized after function call
7444Solution: Skip whitespace. (closes #6391)
7445Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
7446
7447Patch 8.2.1131
7448Problem: Vim9: error message for returning a value in a function that does
7449 not return anything is not clear.
7450Solution: Add a specific message.
7451Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
7452
7453Patch 8.2.1132
7454Problem: Vim9: return type of repeat() is not specific enough.
7455Solution: Return the type of the first argument. (closes #6395)
7456Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7457
7458Patch 8.2.1133
7459Problem: Vim9: return type of add() is not specific enough.
7460Solution: Return the type of the first argument. (closes #6395)
7461Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7462
7463Patch 8.2.1134
7464Problem: Vim9: getting a list member may not work.
7465Solution: Clear the list only after copying the item. (closes #6393)
7466Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
7467
7468Patch 8.2.1135
7469Problem: Vim9: getting a dict member may not work.
7470Solution: Clear the dict only after copying the item.
7471Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
7472
7473Patch 8.2.1136
7474Problem: Vim9: return type of argv() is always any.
7475Solution: Use list<string> if there is no argument.
7476Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7477
7478Patch 8.2.1137
7479Problem: Vim9: modifiers not cleared after compiling function.
7480Solution: Clear command modifiers. (closes #6396)
7481Files: src/vim9compile.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
7482 src/testdir/test_vim9_func.vim,
7483 src/testdir/dumps/Test_vim9_silent_echo.dump
7484
7485Patch 8.2.1138
7486Problem: Vim9: return type of copy() and deepcopy() is any.
7487Solution: Use type of the argument.
7488Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7489
7490Patch 8.2.1139 (after 8.2.1137)
7491Problem: Vim9: test for silent echo fails in some environments.
7492Solution: Use :function instead of :def.
7493Files: src/testdir/test_vim9_func.vim
7494
7495Patch 8.2.1140
7496Problem: Vim9: return type of extend() is any.
7497Solution: Use type of the argument.
7498Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7499
7500Patch 8.2.1141
7501Problem: Vim9: return type of filter() is any.
7502Solution: Use type of the argument.
7503Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7504
7505Patch 8.2.1142
7506Problem: Vim9: return type of insert() is any.
7507Solution: Use type of the first argument.
7508Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7509
7510Patch 8.2.1143
7511Problem: Vim9: return type of remove() is any.
7512Solution: Use the member type of the first argument, if known.
7513Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7514
7515Patch 8.2.1144
7516Problem: Vim9: return type of reverse() is any.
7517Solution: Use the type of the first argument.
7518Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7519
7520Patch 8.2.1145
7521Problem: Vim9: "for" only accepts a list at compile time.
7522Solution: Also accept a list at runtime.
7523Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
7524 src/testdir/test_vim9_disassemble.vim
7525
7526Patch 8.2.1146
7527Problem: Not enough testing for Python.
7528Solution: Add more tests. Fix uncovered problems. (Yegappan Lakshmanan,
7529 closes #6392)
7530Files: src/if_py_both.h, src/if_python3.c, src/testdir/shared.vim,
7531 src/testdir/test_python2.vim, src/testdir/test_python3.vim
7532
7533Patch 8.2.1147
7534Problem: :confirm may happen in cooked mode. (Jason Franklin)
7535Solution: Switch to raw mode before prompting. (Brandon Pfeifer)
7536Files: src/message.c, src/testdir/test_excmd.vim
7537
7538Patch 8.2.1148
7539Problem: Warning for using int instead of size_t.
7540Solution: Change "len" argument to size_t. (Mike Williams)
7541Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9script.c
7542
7543Patch 8.2.1149
7544Problem: Vim9: :eval command not handled properly.
7545Solution: Compile the :eval command. (closes #6408)
7546Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
7547
7548Patch 8.2.1150
7549Problem: ml_get error when using Python. (Yegappan Lakshmanan)
7550Solution: Check the line number is not out of range. Call "Check" with
7551 "fromObj" instead of "from".
7552Files: src/if_py_both.h, src/testdir/test_python2.vim,
7553 src/testdir/test_python3.vim
7554
7555Patch 8.2.1151
7556Problem: Insufficient test coverage for Python.
7557Solution: Add more test cases. (Yegappan Lakshmanan, closes #6415)
7558Files: src/testdir/test_python2.vim, src/testdir/test_python3.vim
7559
7560Patch 8.2.1152
7561Problem: Vim9: function reference is missing script prefix.
7562Solution: Use the actual function name instead of the name searched for in
7563 the script context. (closes #6412)
7564Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
7565
7566Patch 8.2.1153
7567Problem: Vim9: script test fails on some systems.
7568Solution: Return proper value from Compare().
7569Files: src/testdir/test_vim9_script.vim
7570
7571Patch 8.2.1154
7572Problem: Vim9: crash when using imported function.
7573Solution: Check for a function type. Set the script context when calling a
7574 function. (closes #6412)
7575Files: src/evalvars.c, src/scriptfile.c, src/proto/scriptfile.pro,
7576 src/vim9execute.c, src/structs.h, src/testdir/test_vim9_script.vim
7577
7578Patch 8.2.1155
7579Problem: Vim9: cannot handle line break inside lambda.
7580Solution: Pass the compilation context through. (closes #6407, closes #6409)
7581Files: src/structs.h, src/vim9compile.c, src/proto/vim9compile.pro,
7582 src/eval.c, src/testdir/test_vim9_func.vim
7583
7584Patch 8.2.1156
7585Problem: Vim9: No error for invalid command in compiled function.
7586Solution: Handle CMD_SIZE.
7587Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
7588
7589Patch 8.2.1157
7590Problem: Vim9: dict.name is not recognized as an expression.
7591Solution: Recognize ".name". (closes #6418)
7592Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
7593
7594Patch 8.2.1158 (after 8.2.1155)
7595Problem: Build error.
7596Solution: Add missing change to globals.
7597Files: src/globals.h
7598
7599Patch 8.2.1159
7600Problem: Vim9: no error for missing space after a comma.
7601Solution: Check for white space.
7602Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim,
7603 src/testdir/test_vim9_script.vim
7604
7605Patch 8.2.1160
7606Problem: Vim9: memory leak in allocated types.
7607Solution: Free the type pointers.
7608Files: src/vim9script.c, src/userfunc.c, src/vim9compile.c,
7609 src/proto/vim9compile.pro
7610
7611Patch 8.2.1161
7612Problem: Vim9: using freed memory.
7613Solution: Put pointer back in evalarg instead of freeing it.
7614Files: src/userfunc.c, src/vim9compile.c, src/eval.c, src/proto/eval.pro,
7615 src/structs.h
7616
7617Patch 8.2.1162
7618Problem: Crash when using a lambda.
7619Solution: Check for evalarg to be NULL.
7620Files: src/userfunc.c
7621
7622Patch 8.2.1163 (after 8.2.1161)
7623Problem: Build error.
7624Solution: Add missing change to globals.
7625Files: src/globals.h
7626
7627Patch 8.2.1164
7628Problem: Text cleared by checking terminal properties not redrawn. (Alexey
7629 Radkov)
7630Solution: Mark the screen characters as invalid. (closes #6422)
7631Files: src/screen.c, src/proto/screen.pro, src/term.c
7632
7633Patch 8.2.1165
7634Problem: Insufficient testing for the Tcl interface.
7635Solution: Add more tests. (Yegappan Lakshmanan, closes #6423)
7636Files: src/testdir/test_tcl.vim
7637
7638Patch 8.2.1166
7639Problem: Once mouse move events are enabled getchar() returns them.
7640Solution: Ignore K_MOUSEMOVE in getchar(). (closes #6424)
7641Files: runtime/doc/eval.txt, src/getchar.c
7642
7643Patch 8.2.1167
7644Problem: Vim9: builtin function method call only supports first argument.
7645Solution: Shift arguments when needed. (closes #6305, closes #6419)
7646Files: src/evalfunc.c, src/vim9compile.c, src/vim9execute.c,
7647 src/vim9.h, src/testdir/test_vim9_expr.vim,
7648 src/testdir/test_vim9_disassemble.vim
7649
7650Patch 8.2.1168
7651Problem: Wrong method argument for appendbufline().
7652Solution: Use FEARG_3.
7653Files: src/evalfunc.c
7654
7655Patch 8.2.1169
7656Problem: Write NUL past allocated space using corrupted spell file.
7657 (Markus Vervier)
7658Solution: Init "c" every time.
7659Files: src/spellfile.c
7660
7661Patch 8.2.1170
7662Problem: Cursor off by one with block paste while 'virtualedit' is "all".
7663Solution: Adjust condition. (Hugo Gualandi, closes #6430)
7664Files: src/register.c, src/testdir/test_registers.vim
7665
7666Patch 8.2.1171
7667Problem: Possible crash when out of memory.
7668Solution: Check for NULL pointer. (Dominique Pellé, closes #6432)
7669Files: src/syntax.c
7670
7671Patch 8.2.1172
7672Problem: Error messages when doing "make clean" in the runtime/doc or
7673 src/tee directories.
7674Solution: Use "rm -f".
7675Files: runtime/doc/Makefile, src/tee/Makefile
7676
7677Patch 8.2.1173
7678Problem: Tee doesn't build on some systems.
7679Solution: Include header files. (Dominique Pelle, closes #6431)
7680Files: src/tee/tee.c
7681
7682Patch 8.2.1174
7683Problem: No test for the "recording @x" message.
7684Solution: Add a test. (Dominique Pellé, closes #6427)
7685Files: src/testdir/test_registers.vim
7686
7687Patch 8.2.1175
7688Problem: Vim9: Cannot split a line before ".member".
7689Solution: Check for ".member" after line break.
7690Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
7691
7692Patch 8.2.1176
7693Problem: Vim9: not enough type checking in Vim9 script.
7694Solution: Use same type checking as in a :def function.
7695Files: src/vim9compile.c, src/proto/vim9compile.pro,
7696 src/eval.c, src/testdir/test_vim9_expr.vim
7697
7698Patch 8.2.1177
7699Problem: Terminal2 test sometimes hangs in the GUI.
7700Solution: Move some tests to other files to further locate the problem.
7701 Set the GUI to a fixed screen size.
7702Files: src/testdir/test_terminal.vim, src/testdir/test_terminal2.vim,
7703 src/testdir/test_terminal3.vim, src/testdir/Make_all.mak,
7704 src/testdir/runtest.vim
7705
7706Patch 8.2.1178
7707Problem: Vim9: filter function recognized as command modifier, leading to a
7708 crash.
7709Solution: Clear cmdmod after freeing items. Do not recognize a command
7710 modifier followed by non-white space. (closes #6434)
7711Files: src/ex_docmd.c, src/vim9compile.c, src/testdir/test_vim9_cmd.vim
7712
7713Patch 8.2.1179
7714Problem: Test_termwinscroll() sometimes hangs in the GUI.
7715Solution: Skip the test in the GUI.
7716Files: src/testdir/test_terminal2.vim
7717
7718Patch 8.2.1180
7719Problem: Build failure in small version.
7720Solution: Add #ifdef.
7721Files: src/ex_docmd.c
7722
7723Patch 8.2.1181
7724Problem: Json code not fully tested.
7725Solution: Add more test coverage. (Dominique Pellé, closes #6433)
7726Files: src/testdir/test_json.vim
7727
7728Patch 8.2.1182
7729Problem: Vim9: no check for whitespace after comma in lambda.
7730Solution: Give error if white space is missing.
7731Files: src/userfunc.c, src/testdir/test_vim9_expr.vim,
7732 src/testdir/test_vim9_func.vim
7733
7734Patch 8.2.1183
7735Problem: assert_fails() checks the last error message.
7736Solution: Check the first error, it is more relevant. Fix all the tests
7737 that rely on the old behavior.
7738Files: runtime/doc/testing.txt, src/message.c, src/globals.h,
7739 src/testing.c, src/testdir/test_autocmd.vim,
7740 src/testdir/test_buffer.vim, src/testdir/test_cd.vim,
7741 src/testdir/test_channel.vim, src/testdir/test_clientserver.vim,
7742 src/testdir/test_cmdline.vim, src/testdir/test_cpoptions.vim,
7743 src/testdir/test_cscope.vim, src/if_cscope.c,
7744 src/testdir/test_excmd.vim, src/evalvars.c,
7745 src/testdir/test_expr.vim, src/testdir/test_functions.vim,
7746 src/testdir/test_json.vim, src/testdir/test_let.vim,
7747 src/testdir/test_listdict.vim, src/testdir/test_listener.vim,
7748 src/testdir/test_match.vim, src/testdir/test_menu.vim,
7749 src/testdir/test_method.vim, src/testdir/test_normal.vim,
7750 src/testdir/test_popup.vim, src/testdir/test_python2.vim,
7751 src/testdir/test_python3.vim, src/testdir/test_quickfix.vim,
7752 src/testdir/test_random.vim, src/testdir/test_search.vim,
7753 src/testdir/test_signs.vim, src/testdir/test_spell.vim,
7754 src/testdir/test_substitute.vim, src/testdir/test_syntax.vim,
7755 src/testdir/test_tagjump.vim, src/testdir/test_taglist.vim,
7756 src/testdir/test_terminal.vim, src/testdir/test_textprop.vim,
7757 src/testdir/test_trycatch.vim,
7758 src/testdir/test_vim9_disassemble.vim,
7759 src/testdir/test_vim9_func.vim, src/vim9compile.c,
7760 src/testdir/test_vim9_script.vim, src/testdir/test_viminfo.vim,
7761 src/testdir/test_winbuf_close.vim,
7762 src/testdir/test_window_cmd.vim, src/testdir/test_writefile.vim,
7763 src/testdir/test_regexp_latin.vim, src/testdir/test_utf8.vim,
7764 src/testdir/test_global.vim, src/testdir/test_tagfunc.vim
7765
7766Patch 8.2.1184 (after 8.2.1183)
7767Problem: Some tests fail.
7768Solution: Adjust tests for different assert_fails() behavior. Remove unused
7769 variable.
7770Files: src/testdir/test_assert.vim, src/testdir/test_eval_stuff.vim,
7771 src/evalvars.c
7772
7773Patch 8.2.1185 (after 8.2.1183)
7774Problem: Some other tests fail.
7775Solution: Adjust tests for different assert_fails() behavior.
7776Files: src/testdir/test_lua.vim, src/testdir/test_tcl.vim
7777
7778Patch 8.2.1186
7779Problem: With SGR mouse codes balloon doesn't show up after click.
7780Solution: Add the MOUSE_RELEASE bits to mouse_code.
7781Files: src/mouse.c
7782
7783Patch 8.2.1187
7784Problem: Terminal2 test sometimes hangs in the GUI on Travis.
7785Solution: Disable Test_zz2_terminal_guioptions_bang() for now.
7786Files: src/testdir/test_terminal2.vim
7787
7788Patch 8.2.1188
7789Problem: Memory leak with invalid json input.
7790Solution: Free all keys at the end. (Dominique Pellé, closes #6443,
7791 closes #6442)
7792Files: src/json.c, src/testdir/test_json.vim
7793
7794Patch 8.2.1189
7795Problem: Vim9: line continuation in lambda doesn't always work.
7796Solution: Do not use a local evalarg unless there isn't one. (closes #6439)
7797Files: src/eval.c, src/testdir/test_vim9_expr.vim
7798
7799Patch 8.2.1190
7800Problem: Vim9: checking for Vim9 syntax is spread out.
7801Solution: Use in_vim9script().
7802Files: src/vim9script.c, src/dict.c, src/eval.c, src/evalvars.c,
7803 src/ex_docmd.c, src/list.c, src/scriptfile.c, src/userfunc.c
7804
7805Patch 8.2.1191
7806Problem: Vim9: crash when function calls itself.
7807Solution: Add status UF_COMPILING. (closes #6441)
7808Files: src/structs.h, src/vim9compile.c, src/testdir/test_vim9_func.vim
7809
7810Patch 8.2.1192
7811Problem: Lua test fails with older Lua version.
7812Solution: Adjust expected error messages. (closes #6444)
7813Files: src/testdir/test_lua.vim
7814
7815Patch 8.2.1193
7816Problem: Terminal window not redrawn when dragging a popup window over it.
7817Solution: Redraw terminal window. (fixes #6438)
7818Files: src/popupwin.c, src/testdir/test_popupwin.vim,
7819 src/testdir/dumps/Test_popupwin_term_01.dump,
7820 src/testdir/dumps/Test_popupwin_term_02.dump
7821
7822Patch 8.2.1194
7823Problem: Test failure because shell prompt differs.
7824Solution: Set the shell prompt.
7825Files: src/testdir/test_popupwin.vim,
7826 src/testdir/dumps/Test_popupwin_term_01.dump,
7827 src/testdir/dumps/Test_popupwin_term_02.dump
7828
7829Patch 8.2.1195
7830Problem: Clientserver test fails on MS-Windows.
7831Solution: Expect a different error message.
7832Files: src/testdir/test_clientserver.vim
7833
7834Patch 8.2.1196
7835Problem: Build failure with normal features.
7836Solution: Add #ifdef.
7837Files: src/popupwin.c
7838
7839Patch 8.2.1197
7840Problem: Clientserver test still fails on MS-Windows.
7841Solution: Expect a different error message.
7842Files: src/testdir/test_clientserver.vim
7843
7844Patch 8.2.1198
7845Problem: Terminal2 test sometimes hangs in the GUI on Travis.
7846Solution: Move test function to terminal3 to see if the problem moves too.
7847Files: src/testdir/test_terminal2.vim, src/testdir/test_terminal3.vim
7848
7849Patch 8.2.1199
7850Problem: Not all assert functions are fully tested.
7851Solution: Test more assert functions.
7852Files: src/testing.c, src/testdir/test_assert.vim
7853
7854Patch 8.2.1200
7855Problem: Vim9: cannot disassemble a lambda function.
7856Solution: Recognize "<lambda>123" as a function name.
7857Files: src/vim9execute.c, src/testdir/test_vim9_disassemble.vim
7858
7859Patch 8.2.1201
7860Problem: Vim9: crash when passing number as dict key.
7861Solution: Check key type to be string. (closes #6449)
7862Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
7863
7864Patch 8.2.1202
7865Problem: Vim9: crash when calling a closure from a builtin function.
7866Solution: Use the current execution context. (closes #6441)
7867Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
7868
7869Patch 8.2.1203
7870Problem: Unused assignments in expression evaluation.
7871Solution: Move declarations and assignments to inner blocks where possible.
7872Files: src/eval.c
7873
7874Patch 8.2.1204
7875Problem: Vim9: true and false not recognized in Vim9 script.
7876Solution: Recognize true and false.
7877Files: src/eval.c, src/testdir/test_vim9_expr.vim
7878
7879Patch 8.2.1205
7880Problem: Vim9: && and || work differently when not compiled.
7881Solution: Keep the value.
7882Files: src/eval.c, src/testdir/test_vim9_expr.vim
7883
7884Patch 8.2.1206
7885Problem: Vim9: crash in expr test when run in the GUI.
7886Solution: Temporarily comment out two test lines.
7887Files: src/testdir/test_vim9_expr.vim
7888
7889Patch 8.2.1207
7890Problem: Vim9: crash in expr test when run in the GUI.
7891Solution: Break out of loop over hashtab also when function got removed and
7892 added.
7893Files: src/userfunc.c, src/testdir/test_vim9_expr.vim
7894
7895Patch 8.2.1208
7896Problem: Build failure.
7897Solution: Add missing change.
7898Files: src/structs.h
7899
7900Patch 8.2.1209
7901Problem: Vim9: test failure.
7902Solution: Add missing changes to hashtab.
7903Files: src/hashtab.c
7904
7905Patch 8.2.1210
7906Problem: Using ht_used when looping through a hashtab is less reliable.
7907Solution: Use ht_changed in a few more places.
7908Files: src/userfunc.c, src/if_py_both.h
7909
7910Patch 8.2.1211 (after 8.2.1118)
7911Problem: Removed more than dead code.
7912Solution: Put back the decrement.
7913Files: src/move.c, src/testdir/test_diffmode.vim
7914
7915Patch 8.2.1212
7916Problem: Cannot build with Lua 5.4.
7917Solution: Use luaL_typeerror instead defining it. (closes #6454)
7918Files: src/if_lua.c
7919
7920Patch 8.2.1213
7921Problem: Mouse codes not tested sufficiently.
7922Solution: Add more tests for mouse codes. (closes #6436)
7923Files: src/testdir/test_termcodes.vim
7924
7925Patch 8.2.1214
7926Problem: MS-Windows: default _vimrc not correct in silent install mode.
7927Solution: Add the LoadDefaultVimrc macro. (Ken Takata, closes #6451)
7928Files: nsis/gvim.nsi
7929
7930Patch 8.2.1215
7931Problem: Atari MiNT support is outdated.
7932Solution: Nobody responded this code is still useful, so let's delete it.
7933Files: Filelist, src/os_mint.h, src/vim.h, src/Make_mint.mak,
7934 src/digraph.c, src/fileio.c, src/memfile.c, src/os_unix.c,
7935 src/term.c, READMEdir/README_extra.txt, runtime/doc/os_mint.txt,
7936 src/INSTALL
7937
7938Patch 8.2.1216
7939Problem: Startup test fails.
7940Solution: Adjust expected values for deleted lines.
7941Files: src/testdir/test_startup.vim
7942
7943Patch 8.2.1217
7944Problem: Startup test depends on random source file.
7945Solution: Write a test file to find quickfix errors in.
7946Files: src/testdir/test_startup.vim
7947
7948Patch 8.2.1218
7949Problem: Vim9: cannot use 'text'->func().
7950Solution: Recognize string at start of command.
7951Files: src/vim9compile.c, src/ex_docmd.c, src/testdir/test_vim9_func.vim
7952
7953Patch 8.2.1219
7954Problem: Symlink not followed if dirname ends in //.
7955Solution: Resolve symlink earlier. (Tomáš Janoušek, closes #6454)
7956Files: src/memline.c, src/testdir/test_swap.vim
7957
7958Patch 8.2.1220
7959Problem: memory access error when dragging a popup window over a buffer
7960 with folding.
7961Solution: Avoid going over the end of the cache. (closes #6438)
7962Files: src/mouse.c, src/testdir/test_popupwin.vim,
7963 src/testdir/dumps/Test_popupwin_term_01.dump,
7964 src/testdir/dumps/Test_popupwin_term_02.dump,
7965 src/testdir/dumps/Test_popupwin_term_03.dump,
7966 src/testdir/dumps/Test_popupwin_term_04.dump
7967
7968Patch 8.2.1221
7969Problem: Memory leak when updating popup window.
7970Solution: Clear search highlighting.
7971Files: src/popupwin.c
7972
7973Patch 8.2.1222
7974Problem: When using valgrind a Vim command started by a test uses the same
7975 log file name which gets overwritten.
7976Solution: Fix regexp to rename the log file.
7977Files: src/testdir/shared.vim
7978
7979Patch 8.2.1223
7980Problem: Vim9: invalid type error for function default value.
7981Solution: Use right argument index. (closes #6458)
7982Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
7983
7984Patch 8.2.1224
7985Problem: Vim9: arguments from partial are not used.
7986Solution: Put the partial arguments on the stack. (closes #6460)
7987Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
7988
7989Patch 8.2.1225
7990Problem: Linker errors when building with dynamic Python 3.9.
7991Solution: Add #defined items. (closes #6461)
7992Files: src/if_python3.c
7993
7994Patch 8.2.1226
7995Problem: MS-Windows: windows positioning wrong when the taskbar is placed
7996 at the top or left of the screen.
7997Solution: Use GetWindowRect and MoveWindow APIs. (Yukihiro Nakadaira,
7998 Ken Takata, closes #6455)
7999Files: src/gui_w32.c
8000
8001Patch 8.2.1227
8002Problem: Vim9: allowing both quoted and # comments is confusing.
8003Solution: Only support # comments in Vim9 script.
8004Files: runtime/doc/vim9.txt, src/ex_docmd.c, src/proto/ex_docmd.pro,
8005 src/vim9compile.c, src/testdir/test_vim9_disassemble.vim,
8006 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
8007 src/testdir/test_vim9_script.vim
8008
8009Patch 8.2.1228
8010Problem: Scrollbars not flush against the window edges when maximised.
8011Solution: Add padding. (Ken Takata, closes #5602, closes #6466)
8012Files: src/gui.c, src/gui_athena.c, src/gui_gtk.c, src/gui_haiku.cc,
8013 src/gui_mac.c, src/gui_motif.c, src/gui_photon.c, src/gui_w32.c,
8014 src/proto/gui_athena.pro, src/proto/gui_gtk.pro,
8015 src/proto/gui_haiku.pro, src/proto/gui_mac.pro,
8016 src/proto/gui_motif.pro, src/proto/gui_photon.pro,
8017 src/proto/gui_w32.pro
8018
8019Patch 8.2.1229
8020Problem: Build error without the eval feature.
8021Solution: Declare starts_with_colon. Make function local.
8022Files: src/ex_docmd.c, src/proto/ex_docmd.pro
8023
8024Patch 8.2.1230
8025Problem: Vim9: list index error not caught by try/catch.
8026Solution: Do not bail out if an error is inside try/catch. (closes #6462)
8027Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
8028
8029Patch 8.2.1231
8030Problem: MS-Windows: GUI code can be cleaned up.
8031Solution: Do a bit of cleaning up. (Ken Takata, closes #6465)
8032Files: src/gui_w32.c, src/proto/gui_w32.pro
8033
8034Patch 8.2.1232
8035Problem: MS-Windows GUI: Snap cancelled by split command.
8036Solution: Do not cancel Snap when splitting a window. (Ken Takata,
8037 closes #6467)
8038Files: src/gui_w32.c
8039
8040Patch 8.2.1233
8041Problem: Vim9: various errors not caught by try/catch.
8042Solution: Do not bail out if an error is inside try/catch.
8043Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
8044
8045Patch 8.2.1234
8046Problem: Lua build problem with old compiler.
8047Solution: Move declarations to start of the block. (Taro Muraoka,
8048 closes #6477)
8049Files: src/if_lua.c
8050
8051Patch 8.2.1235
8052Problem: Not all mouse codes covered by tests.
8053Solution: Add more tests for the mouse. (Yegappan Lakshmanan, closes #6472)
8054Files: src/testdir/mouse.vim, src/testdir/test_termcodes.vim
8055
8056Patch 8.2.1236
8057Problem: Vim9: a few errors not caught by try/catch.
8058Solution: Do not bail out if an error is inside try/catch. Fix that a not
8059 matching catch doesn't jump to :endtry.
8060Files: src/vim9compile.c, src/vim9execute.c,
8061 src/testdir/test_vim9_script.vim
8062
8063Patch 8.2.1237
8064Problem: Changing 'completepopup' after opening a popup has no effect. (Jay
8065 Sitter)
8066Solution: Close the popup when the options are changed. (closes #6471)
8067Files: runtime/doc/options.txt, src/popupwin.c, src/proto/popupwin.pro,
8068 src/optionstr.c, src/testdir/test_popupwin.vim,
8069 src/testdir/dumps/Test_popupwin_infopopup_8.dump
8070
8071Patch 8.2.1238
8072Problem: Vim9: a few remaining errors not caught by try/catch.
8073Solution: Do not bail out if an error is inside try/catch.
8074Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
8075
8076Patch 8.2.1239
8077Problem: "maxwidth" in 'completepopup' not obeyed. (Jay Sitter)
8078Solution: Add separate field for value from option. (closes #6470)
8079Files: src/structs.h, src/popupwin.c, src/popupmenu.c,
8080 src/testdir/dumps/Test_popupwin_infopopup_9.dump
8081
8082Patch 8.2.1240
8083Problem: GUI tests sometimes fail because of translations.
8084Solution: Reload the menus without translation. (Taro Muraoka, closes #6486)
8085Files: src/testdir/runtest.vim
8086
8087Patch 8.2.1241
8088Problem: Cannot use getbufinfo() as a method.
8089Solution: Support using getbufinfo() as a method. (closes #6458)
8090Files: runtime/doc/eval.txt, src/evalfunc.c,
8091 src/testdir/test_bufwintabinfo.vim
8092
8093Patch 8.2.1242
8094Problem: Vim9: no error if calling a function with wrong argument type.
8095Solution: Check types of arguments. (closes #6469)
8096Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9execute.c,
8097 src/testdir/test_vim9_func.vim
8098
8099Patch 8.2.1243
8100Problem: Vim9: cannot have a comment or empty line halfway a list at script
8101 level.
8102Solution: Skip more than one line if needed.
8103Files: src/vim9compile.c, src/proto/vim9compile.pro, src/eval.c,
8104 src/scriptfile.c
8105
8106Patch 8.2.1244
8107Problem: Vim9: in lambda index assumes a list.
8108Solution: Use the value type to decide about list or dict. (closes #6479)
8109Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
8110
8111Patch 8.2.1245
8112Problem: Build failure in tiny version.
8113Solution: Add #ifdef.
8114Files: src/scriptfile.c
8115
8116Patch 8.2.1246
8117Problem: Vim9: comment after assignment doesn't work.
8118Solution: Skip over white space. (closes #6481)
8119Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8120
8121Patch 8.2.1247
8122Problem: Vim9: cannot index a character in a string.
8123Solution: Add ISN_STRINDEX instruction. (closes #6478)
8124Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
8125 src/testdir/test_vim9_expr.vim
8126
8127Patch 8.2.1248
8128Problem: Netbeans test is flaky in the GUI.
8129Solution: Filter out geometry messages. (Taro Muraoka, closes #6487)
8130Files: src/testdir/test_netbeans.vim
8131
8132Patch 8.2.1249
8133Problem: Vim9: disassemble test fails.
8134Solution: Change INDEX to LISTINDEX. Add test for STRINDEX.
8135Files: src/testdir/test_vim9_disassemble.vim
8136
8137Patch 8.2.1250
8138Problem: Vim9: cannot use the g:, b:, t: and w: namespaces.
8139Solution: Add instructions to push a dict for the namespaces. (closes #6480)
8140Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
8141 src/testdir/test_vim9_disassemble.vim,
8142 src/testdir/test_vim9_expr.vim
8143
8144Patch 8.2.1251
8145Problem: Vim9: warning for pointer usage, test failure undetected.
8146Solution: Fix pointer indirection. Give error when executing function
8147 failed for any reason. Fix instruction names.
8148Files: src/vim9execute.c, src/userfunc.c, src/proto/userfunc.pro
8149
8150Patch 8.2.1252
8151Problem: ":marks" may show '< and '> mixed up.
8152Solution: Show the mark position as where '< and '> would jump.
8153Files: src/mark.c, src/testdir/test_marks.vim
8154
8155Patch 8.2.1253
8156Problem: CTRL-K in Insert mode gets <CursorHold> inserted. (Roland
8157 Puntaier)
8158Solution: Do not reset did_cursorhold, restore it. (closes #6447)
8159Files: src/normal.c
8160
8161Patch 8.2.1254
8162Problem: MS-Windows: regexp test may fail if 'iskeyword' set wrongly.
8163Solution: Override the 'iskeyword' value. (Taro Muraoka, closes #6502)
8164Files: src/testdir/test_regexp_utf8.vim
8165
8166Patch 8.2.1255
8167Problem: Cannot use a lambda with quickfix functions.
8168Solution: Add support for lambda. (Yegappan Lakshmanan, closes #6499)
8169Files: runtime/doc/eval.txt, runtime/doc/options.txt,
8170 runtime/doc/quickfix.txt, src/channel.c, src/evalvars.c,
8171 src/optionstr.c, src/proto/evalvars.pro, src/proto/quickfix.pro,
8172 src/quickfix.c, src/testdir/test_quickfix.vim
8173
8174Patch 8.2.1256
8175Problem: Vim9: type wrong after getting dict item in lambda.
8176Solution: Set the type to "any" after enforcing dict type. (closes #6491)
8177Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
8178
8179Patch 8.2.1257
8180Problem: Vim9: list unpack doesn't work at the script level.
8181Solution: Detect unpack assignment better. (closes #6494)
8182Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
8183
8184Patch 8.2.1258 (after 8.2.1253)
8185Problem: CursorHold does not work well.a (Shane-XB-Qian)
8186Solution: Only restore did_cursorhold when using :normal.
8187Files: src/normal.c
8188
8189Patch 8.2.1259
8190Problem: Empty group in 'tabline' may cause using an invalid pointer.
8191Solution: Set the group start position. (closes #6505)
8192Files: src/buffer.c, src/testdir/test_tabline.vim
8193
8194Patch 8.2.1260
8195Problem: There is no good test for CursorHold.
8196Solution: Add a test. Remove duplicated test. (Yegappan Lakshmanan,
8197 closes #6503)
8198Files: src/testdir/test_autocmd.vim, src/testdir/test_buffer.vim,
8199 src/testdir/test_normal.vim
8200
8201Patch 8.2.1261
8202Problem: Vim9: common type of function not tested.
8203Solution: Add a test. Fix uncovered problems.
8204Files: src/vim9compile.c, src/vim9execute.c,
8205 src/testdir/test_vim9_expr.vim
8206
8207Patch 8.2.1262
8208Problem: src/ex_cmds.c file is too big.
8209Solution: Move help related code to src/help.c. (Yegappan Lakshmanan,
8210 closes #6506)
8211Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
8212 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
8213 src/cmdexpand.c, src/ex_cmds.c, src/help.c, src/proto.h,
8214 src/proto/ex_cmds.pro, src/proto/help.pro
8215
8216Patch 8.2.1263
8217Problem: Vim9: comparators use 'ignorecase' in Vim9 script.
8218Solution: Ignore 'ignorecase'. Use true and false instead of 1 and 0.
8219 (closes #6497)
8220Files: src/eval.c, src/typval.c, src/vim9execute.c,
8221 src/testdir/test_vim9_expr.vim
8222
8223Patch 8.2.1264
8224Problem: Terminal getwinpos() test is a bit flaky.
8225Solution: Call getwinpos() a bit later.
8226Files: src/testdir/test_terminal3.vim
8227
8228Patch 8.2.1265
8229Problem: Crash with EXITFREE when split() fails.
8230Solution: Restore 'cpoptions'.
8231Files: src/evalfunc.c
8232
8233Patch 8.2.1266 (after 8.2.1262)
8234Problem: Makefile preference were accidentally included.
8235Solution: Revert the Makefile changes.
8236Files: src/Makefile
8237
8238Patch 8.2.1267
8239Problem: MS-Windows: tests may fail due to $PROMPT value.
8240Solution: Set $PROMPT for testing. (Taro Muraoka, closes #6510)
8241Files: src/testdir/runtest/vim
8242
8243Patch 8.2.1268
8244Problem: Vim9: no error for using double quote comment after :func or :def.
8245Solution: Only accept double quote when not in Vim9 script and not after
8246 :def. (closes #6483)
8247Files: src/userfunc.c, src/testdir/test_vim9_script.vim
8248
8249Patch 8.2.1269
8250Problem: Language and locale code spread out.
8251Solution: Move relevant code to src/locale.c. (Yegappan Lakshmanan,
8252 closes #6509)
8253Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
8254 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
8255 src/ex_cmds2.c, src/locale.c, src/main.c, src/proto.h,
8256 src/proto/ex_cmds2.pro, src/proto/locale.pro
8257
8258Patch 8.2.1270
8259Problem: Vim9: not skipping over function type declaration with only a
8260 return type.
8261Solution: Skip over the return type. (issue #6507)
8262Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8263
8264Patch 8.2.1271
8265Problem: Vim9: Error for Funcref function argument type.
8266Solution: Find the actual function type if possible. (issue #6507)
8267Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8268
8269Patch 8.2.1272
8270Problem: Vim9: type not checked if declaration also assigns value.
8271Solution: Check the type. (issue #6507)
8272Files: src/eval.c, src/vim9compile.c, src/proto/vim9compile.pro,
8273 src/vim9script.c, src/vim9execute.c,
8274 src/testdir/test_vim9_script.vim
8275
8276Patch 8.2.1273
8277Problem: MS-Windows: terminal test may leave file behind.
8278Solution: Wait a moment for process to end before deleting the file.
8279 (Taro Muraoka, closes #6513)
8280Files: src/testdir/test_terminal.vim
8281
8282Patch 8.2.1274
8283Problem: Vim9: no error for missing white space in assignment at script
8284 level.
8285Solution: Check for white space. (closes #6495)
8286Files: src/eval.c, src/evalvars.c, src/testdir/test_vim9_script.vim,
8287 src/testdir/test_let.vim
8288
8289Patch 8.2.1275
8290Problem: Vim9: compiler warning for buffer size.
8291Solution: Change the offset from 10 to 15. (Dominique Pellé, closes #6518)
8292Files: src/vim9script.c
8293
8294Patch 8.2.1276
8295Problem: MS-Windows: system test may fail if more.exe is installed.
8296Solution: Explicitly use more.com. (Taro Muraoka, Ken Takata, closes #6517)
8297Files: src/testdir/test_system.vim
8298
8299Patch 8.2.1277
8300Problem: Tests on Travis do not run with EXITFREE.
8301Solution: Add EXITFREE to all builds to uncover any mistakes.
8302Files: .travis.yml
8303
8304Patch 8.2.1278
8305Problem: Vim9: line break after "->" only allowed in :def function.
8306Solution: Only allow line break after "->". (closes #6492)
8307Files: src/vim9compile.c, src/globals.h, src/testdir/test_vim9_expr.vim
8308
8309Patch 8.2.1279
8310Problem: Some tests on Travis have EXITFREE duplicated.
8311Solution: Remove EXITFREE from shadowopt. Add "shadow" to job name.
8312Files: .travis.yml
8313
8314Patch 8.2.1280
8315Problem: Ex command error cannot contain an argument.
8316Solution: Add ex_errmsg() and translate earlier. Use e_trailing_arg where
8317 possible.
8318Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/buffer.c,
8319 src/ex_eval.c, src/match.c, src/testdir/test_tabpage.vim
8320
8321Patch 8.2.1281
8322Problem: The "trailing characters" error can be hard to understand.
8323Solution: Add the trailing characters to the message.
8324Files: src/cmdhist.c, src/eval.c, src/evalfunc.c, src/evalvars.c,
8325 src/ex_cmds.c, src/ex_docmd.c, src/ex_eval.c, src/json.c,
8326 src/menu.c, src/quickfix.c, src/sign.c, src/userfunc.c
8327
8328Patch 8.2.1282
8329Problem: Vim9: crash when using CheckScriptFailure() in
8330 Test_vim9script_call_fail_decl().
8331Solution: Do not decrement the def_functions len unless the function was
8332 newly added.
8333Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8334
8335Patch 8.2.1283
8336Problem: Vim9: error for misplaced -> lacks argument.
8337Solution: Use the pointer before it was advanced.
8338Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
8339
8340Patch 8.2.1284
8341Problem: Vim9: skipping over type includes following white space, leading
8342 to an error for missing white space.
8343Solution: Do not skip over white space after the type.
8344Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8345
8346Patch 8.2.1285
8347Problem: Vim9: argument types are not checked on assignment.
8348Solution: Check function argument types. (issue #6507)
8349Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8350
8351Patch 8.2.1286
8352Problem: Vim9: No error when using a type on a window variable
8353Solution: Recognize the syntax and give an error. (closes #6521)
8354Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
8355
8356Patch 8.2.1287
8357Problem: Vim9: crash when using an imported function.
8358Solution: Add the function type to the imported entry. (closes #6522)
8359Files: src/vim9script.c, src/vim9compile.c,
8360 src/testdir/test_vim9_script.vim
8361
8362Patch 8.2.1288
8363Problem: Vim9: cannot use mark in range.
8364Solution: Use the flag that a colon was seen. (closes #6528)
8365Files: src/ex_docmd.c, src/testdir/test_vim9_func.vim
8366
8367Patch 8.2.1289
8368Problem: Crash when using a custom completion function.
8369Solution: Initialize all of the expand_T. (closes #6532)
8370Files: src/cmdexpand.c
8371
8372Patch 8.2.1290
8373Problem: Vim9: cannot replace a global function.
8374Solution: Allow for "!" on a global function. (closes #6524) Also fix that
8375 :delfunc on a :def function only made it empty.
8376Files: src/userfunc.c, src/testdir/test_vim9_script.vim
8377
8378Patch 8.2.1291
8379Problem: Vim9: type of varargs items is not checked.
8380Solution: Check the list item types. (closes #6523)
8381Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
8382
8383Patch 8.2.1292
8384Problem: AIDL filetype not recognized.
8385Solution: Add filetype detection. (Dominique Pellé, closes #6533)
8386Files: runtime/filetype.vim, src/testdir/test_filetype.vim
8387
8388Patch 8.2.1293
8389Problem: Vim9: :execute mixes up () expression and function call.
8390Solution: Do not skip white space when looking for the "(". (closes #6531)
8391Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8392
8393Patch 8.2.1294
8394Problem: Vim9: error when using vim9script in TextYankPost.
8395Solution: Use EX_LOCKOK instead of the EX_CMDWIN flag for command that can
8396 be used when text is locked. (closes #6529)
8397Files: src/ex_cmds.h, src/ex_docmd.c
8398
8399Patch 8.2.1295
8400Problem: Tests 44 and 99 are old style.
8401Solution: Convert to new style tests. (Yegappan Lakshmanan, closes #6536)
8402Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
8403 src/testdir/test44.in, src/testdir/test44.ok,
8404 src/testdir/test99.in, src/testdir/test99.ok,
8405 src/testdir/test_regexp_utf8.vim
8406
8407Patch 8.2.1296
8408Problem: Some part of using 'smartcase' was not tested.
8409Solution: Add more tests. (Dominique Pellé, closes #6538)
8410Files: src/testdir/test_search.vim
8411
8412Patch 8.2.1297
8413Problem: When a test fails it's often not easy to see what the call stack
8414 is.
8415Solution: Add more entries from the call stack in the exception message.
8416Files: runtime/doc/cmdline.txt, src/scriptfile.c,
8417 src/proto/scriptfile.pro, src/debugger.c, src/ex_docmd.c,
8418 src/ex_eval.c, src/message.c, src/testing.c,
8419 src/testdir/test_expand_func.vim
8420
8421Patch 8.2.1298
8422Problem: Compiler warning for unused argument in small version.
8423Solution: Add UNUSED.
8424Files: src/scriptfile.c
8425
8426Patch 8.2.1299
8427Problem: Compiler warning for using size_t for int and void pointer.
8428Solution: Add type casts.
8429Files: src/scriptfile.c
8430
8431Patch 8.2.1300
8432Problem: Vim9: optional argument type not parsed properly.
8433Solution: Skip over the "?". (issue #6507)
8434Files: src/vim9compile.c, src/proto/vim9compile.pro, src/evalvars.c,
8435 src/userfunc.c, src/testdir/test_vim9_func.vim
8436
8437Patch 8.2.1301
8438Problem: Vim9: varargs argument type not parsed properly.
8439Solution: Skip over the "...". (issue #6507)
8440Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8441
8442Patch 8.2.1302
8443Problem: Vim9: varargs arg after optional arg does not work
8444Solution: Check for the "..." first. (issue #6507)
8445Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8446
8447Patch 8.2.1303
8448Problem: Calling popup_setoptions() resets 'signcolumn'.
8449Solution: Only set 'signcolumn' when creating the popup. (closes #6542)
8450Files: src/popupwin.c, src/testdir/test_popupwin.vim
8451
8452Patch 8.2.1304
8453Problem: Debug backtrace isn't tested much.
8454Solution: Add more specific tests. (Ben Jackson, closes #6540)
8455Files: src/testdir/runtest.vim, src/testdir/test_debugger.vim
8456
8457Patch 8.2.1305
8458Problem: Some tests are still old style.
8459Solution: Convert tests 52 and 70 to new style. (Yegappan Lakshmanan,
8460 closes #6544) Fix error in FinishTesting().
8461Files: src/testdir/runtest.vim, src/Makefile, src/testdir/Make_all.mak,
8462 src/testdir/Make_amiga.mak, src/testdir/Make_vms.mms,
8463 src/testdir/test52.in, src/testdir/test52.ok,
8464 src/testdir/test70.in, src/testdir/test70.ok,
8465 src/testdir/test_mzscheme.vim, src/testdir/test_writefile.vim
8466
8467Patch 8.2.1306
8468Problem: Checking for first character of dict key is inconsistent.
8469Solution: Add eval_isdictc(). (closes #6546)
8470Files: src/eval.c, src/proto/eval.pro, src/vim9compile.c,
8471 src/testdir/test_listdict.vim, src/testdir/test_vim9_expr.vim,
8472 src/testdir/test_let.vim
8473
8474Patch 8.2.1307
8475Problem: popup window width does not include number, fold of sign column
8476 width.
8477Solution: Take number, fold and sign column with into account.
8478Files: src/popupwin.c, src/testdir/test_popupwin.vim,
8479 src/testdir/dumps/Test_popupwin_sign_2.dump
8480
8481Patch 8.2.1308
8482Problem: Vim9: accidentally using "x" causes Vim to exit.
8483Solution: Disallow using ":x" or "xit" in Vim9 script. (closes #6399)
8484Files: runtime/doc/vim9.txt, src/vim9compile.c, src/vim9script.c,
8485 src/proto/vim9script.pro, src/ex_docmd.c, src/ex_cmds.c,
8486 src/testdir/test_vim9_script.vim
8487
8488Patch 8.2.1309
8489Problem: Build failure with tiny version.
8490Solution: Add #ifdef.
8491Files: src/ex_cmds.c, src/ex_docmd.c
8492
8493Patch 8.2.1310
8494Problem: Configure with Xcode 12 fails to check for tgetent.
8495Solution: Declare tgetent(). (Ozaki Kiichi, closes #6558)
8496Files: src/configure.ac, src/auto/configure
8497
8498Patch 8.2.1311
8499Problem: Test failures with legacy Vim script.
8500Solution: Actually check for Vim9 script.
8501Files: src/vim9script.c
8502
8503Patch 8.2.1312
8504Problem: MS-Windows: terminal test may fail if dir.exe exists.
8505Solution: Use dir.com. (Ken Takata, closes #6557)
8506Files: src/testdir/test_terminal3.vim
8507
8508Patch 8.2.1313
8509Problem: Vim9 script: cannot assign to environment variable.
8510Solution: Recognize environment variable assignment. (closes #6548)
8511 Also options and registers.
8512Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
8513
8514Patch 8.2.1314
8515Problem: Vim9: rule for comment after :function is confusing.
8516Solution: Allow double quoted comment after :function in vim9script.
8517 (closes #6556)
8518Files: src/userfunc.c, src/testdir/test_vim9_script.vim
8519
8520Patch 8.2.1315
8521Problem: MS-Windows: test log contains escape sequences.
8522Solution: Do not use t_md and t_me but ANSI escape sequences. (Ken Takata,
8523 closes #6559)
8524Files: src/testdir/runtest.vim
8525
8526Patch 8.2.1316
8527Problem: Test 42 is still old style.
8528Solution: Turn it into a new style test. (Yegappan Lakshmanan, closes #6561)
8529Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_dos.mak,
8530 src/testdir/Make_ming.mak, src/testdir/Make_vms.mms,
8531 src/testdir/test42.in, src/testdir/test42.ok,
8532 src/testdir/test_writefile.vim
8533
8534Patch 8.2.1317
8535Problem: MS-Windows tests on AppVeyor are slow.
8536Solution: Use GitHub Actions. (Ken Takata, closes #6569)
8537Files: Filelist, .github/workflows/ci-windows.yaml, appveyor.yml,
8538 ci/appveyor.bat
8539
8540Patch 8.2.1318
8541Problem: No status badge for Github CI.
8542Solution: Add a badge.
8543Files: README.md
8544
8545Patch 8.2.1319
8546Problem: Status badge for Github CI has wrong link.
8547Solution: Rename and use the right link
8548Files: README.md, .github/workflows/ci-windows.yaml
8549
8550Patch 8.2.1320
8551Problem: Vim9: cannot declare some single letter variables.
8552Solution: Do not recognize a colon for a namespace for single letter
8553 variables. (closes #6547)
8554Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8555
8556Patch 8.2.1321
8557Problem: GitHub CI also runs on tag push.
8558Solution: Skip CI on push. (Ken Takata, closes #6571)
8559Files: .github/workflows/ci-windows.yaml
8560
8561Patch 8.2.1322
8562Problem: Vim9: method on double quoted string doesn't work.
8563Solution: Recognize double quoted string. (closes #6562)
8564Files: src/ex_docmd.c, src/testdir/test_vim9_func.vim,
8565 src/testdir/test_vim9_expr.vim
8566
8567Patch 8.2.1323
8568Problem: Vim9: invalid operators only rejected in :def function.
8569Solution: Also reject them at script level. (closes #6564)
8570Files: src/eval.c, src/vim9compile.c, src/proto/vim9compile.pro,
8571 src/testdir/test_vim9_expr.vim
8572
8573Patch 8.2.1324
8574Problem: Vim9: line break after "=" does not work.
8575Solution: Also allow for NUL after "=". (closes #6549)
8576Files: src/evalvars.c, src/testdir/test_vim9_script.vim
8577
8578Patch 8.2.1325
8579Problem: Vim9: using Vim9 script for autoload not tested.
8580Solution: Add a test. Update help.
8581Files: runtime/doc/vim9.txt, src/testdir/test_autoload.vim,
8582 src/testdir/sautest/autoload/auto9.vim
8583
8584Patch 8.2.1326
8585Problem: Vim9: skipping over white space after list.
8586Solution: Do not skip white space, a following [] would be misinterpreted.
8587 (closes #6552) Fix a few side effects.
8588Files: src/list.c, src/dict.c, src/eval.c, src/userfunc.c,
8589 src/testdir/test_functions.vim, src/testdir/test_gn.vim,
8590 src/testdir/test_popupwin.vim, src/testdir/test_tabpage.vim,
8591 src/testdir/test_textprop.vim, src/testdir/test_textobjects.vim
8592
8593Patch 8.2.1327
8594Problem: Mac: configure can't find Tcl libraries.
8595Solution: Adjust configure check. (closes #6575)
8596Files: src/configure.ac, src/auto/configure
8597
8598Patch 8.2.1328
8599Problem: No space allowed before comma in list.
8600Solution: Legacy Vim script allows it. (closes #6577)
8601Files: src/dict.c, src/list.c, src/testdir/test_listdict.vim
8602
8603Patch 8.2.1329
8604Problem: Vim9: cannot define global function inside :def function.
8605Solution: Assign to global variable instead of local. (closes #6584)
8606Files: src/vim9compile.c, src/userfunc.c, src/proto/userfunc.pro,
8607 src/vim9.h, src/vim9execute.c, src/structs.h,
8608 src/misc2.c, src/proto/misc2.pro, src/testdir/test_vim9_func.vim,
8609 src/testdir/test_vim9_disassemble.vim
8610
8611Patch 8.2.1330
8612Problem: Github workflow takes longer than needed.
8613Solution: Do two test runs in parallel instead of sequentially. (Ken Takata,
8614 closes #6579)
8615Files: .github/workflows/ci-windows.yaml
8616
8617Patch 8.2.1331
8618Problem: Vim9: :echo with two lists doesn't work.
8619Solution: Do not skip white space before []. (closes #6552)
8620Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
8621
8622Patch 8.2.1332
8623Problem: Vim9: memory leak when using nested global function.
8624Solution: Delete the function when deleting the instruction. Disable test
8625 that still causes a leak.
8626Files: src/vim9compile.c, src/userfunc.c, src/proto/userfunc.pro,
8627 src/testdir/test_vim9_func.vim
8628
8629Patch 8.2.1333
8630Problem: Vim9: memory leak when using nested global function.
8631Solution: Swap from and to when copying the lines.
8632Files: src/userfunc.c, src/testdir/test_vim9_func.vim
8633
8634Patch 8.2.1334
8635Problem: Github workflow timeout needs tuning
8636Solution: Use a 10 minute timeout. Fail when timing out. (Ken Takata,
8637 closes #6590)
8638Files: .github/workflows/ci-windows.yaml
8639
8640Patch 8.2.1335
8641Problem: CTRL-C in the GUI doesn't interrupt. (Sergey Vlasov)
8642Solution: Recognize "C" with CTRL modifier as CTRL-C. (issue #6565)
8643Files: src/gui.c, src/proto/gui.pro, src/gui_gtk_x11.c, src/gui_x11.c,
8644 src/gui_photon.c
8645
8646Patch 8.2.1336 (after 8.2.1335)
8647Problem: Build failure on non-Unix systems.
8648Solution: Add #ifdef.
8649Files: src/gui.c
8650
8651Patch 8.2.1337
8652Problem: Vim9: cannot use empty key in dict assignment.
8653Solution: Allow empty key. (closes #6591)
8654Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
8655
8656Patch 8.2.1338
8657Problem: Vim9: assigning to script-local variable doesn't check type.
8658Solution: Use the type. (issue #6591)
8659Files: src/vim9compile.c, src/vim9execute.c,
8660 src/testdir/test_vim9_script.vim
8661
8662Patch 8.2.1339
8663Problem: Vim9: assigning to global dict variable doesn't work.
8664Solution: Guess variable type based in index type. (issue #6591)
8665Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8666
8667Patch 8.2.1340
8668Problem: Some tests fail on Cirrus CI and/or with FreeBSD.
8669Solution: Make 'backupskip' empty. Do not run tests as root. Check for
8670 directory when using viminfo. (Ozaki Kiichi, closes #6596)
8671Files: .cirrus.yml, src/testdir/test_backup.vim,
8672 src/testdir/test_edit.vim, src/testdir/test_viminfo.vim,
8673 src/testdir/test_writefile.vim, src/viminfo.c
8674
8675Patch 8.2.1341
8676Problem: Build failures.
8677Solution: Add missing error message.
8678Files: src/globals.h
8679
8680Patch 8.2.1342
8681Problem: Vim9: accidentally using "x" gives a confusing error.
8682Solution: Disallow using ":t" in Vim9 script. (issue #6399)
8683Files: runtime/doc/vim9.txt, src/vim9compile.c, src/vim9script.c,
8684 src/ex_docmd.c, src/testdir/test_vim9_script.vim
8685
8686Patch 8.2.1343
8687Problem: Vim9: cannot find global function when using g: when local
8688 function with the same name exists.
8689Solution: Find global function when using g:.
8690Files: src/userfunc.c, src/testdir/test_vim9_func.vim
8691
8692Patch 8.2.1344
8693Problem: Vim9: No test for trying to redefine global function.
8694Solution: Add a test.
8695Files: src/testdir/test_vim9_func.vim
8696
8697Patch 8.2.1345
8698Problem: Redraw error when using visual block and scroll.
8699Solution: Add check for w_topline. (closes #6597)
8700Files: src/drawscreen.c, src/testdir/test_display.vim,
8701 src/testdir/dumps/Test_display_visual_block_scroll.dump
8702
8703Patch 8.2.1346
8704Problem: Small build fails.
8705Solution: Add #ifdef.
8706Files: src/ex_docmd.c
8707
8708Patch 8.2.1347
8709Problem: Cannot easily get the script ID.
8710Solution: Support expand('<SID>').
8711Files: runtime/doc/map.txt, src/ex_docmd.c,
8712 src/testdir/test_expand_func.vim
8713
8714Patch 8.2.1348
8715Problem: Build failure without the eval feature.
8716Solution: Add #ifdef.
8717Files: src/ex_docmd.c
8718
8719Patch 8.2.1349
8720Problem: Vim9: can define a function with the name of an import.
8721Solution: Disallow using an existing name. (closes #6585)
8722Files: src/userfunc.c, src/vim9compile.c, src/globals.h,
8723 src/testdir/test_vim9_script.vim
8724
8725Patch 8.2.1350
8726Problem: Vim9: no test for error message when redefining function.
8727Solution: Add a test.
8728Files: src/testdir/test_vim9_script.vim
8729
8730Patch 8.2.1351
8731Problem: Vim9: no proper error if using namespace for nested function.
8732Solution: Specifically check for a namespace. (closes #6582)
8733Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8734
8735Patch 8.2.1352
8736Problem: Vim9: no error for shadowing a script-local function by a nested
8737 function.
8738Solution: Check for script-local function. (closes #6586)
8739Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8740
8741Patch 8.2.1353
8742Problem: Crash when drawing double-wide character in terminal window.
8743 (Masato Nishihata)
8744Solution: Check getcell() returning NULL. (issue #6141)
8745Files: src/libvterm/src/screen.c, src/testdir/test_terminal.vim
8746
8747Patch 8.2.1354
8748Problem: Test 59 is old style.
8749Solution: Convert into a new style test. (Yegappan Lakshmanan, closes #6604)
8750Files: runtime/doc/eval.txt, src/Makefile, src/testdir/Make_all.mak,
8751 src/testdir/Make_vms.mms, src/testdir/test59.in,
8752 src/testdir/test59.ok, src/testdir/test_spell_utf8.vim
8753
8754Patch 8.2.1355
8755Problem: Vim9: no error using :let for options and registers.
8756Solution: Give an error. (closes #6568)
8757Files: src/evalvars.c, src/vim9compile.c,
8758 src/testdir/test_vim9_script.vim
8759
8760Patch 8.2.1356
8761Problem: Vim9: cannot get the percent register.
8762Solution: Check for readable registers instead of writable. (closes #6566)
8763Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
8764
8765Patch 8.2.1357
8766Problem: Vim9: cannot assign to / register.
8767Solution: Adjust check for assignment. (issue #6566)
8768Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim,
8769 src/testdir/test_vim9_script.vim
8770
8771Patch 8.2.1358
8772Problem: Vim9: test fails with +dnd is not available.
8773Solution: Add condition.
8774Files: src/testdir/test_vim9_script.vim
8775
8776Patch 8.2.1359
8777Problem: Vim9: cannot assign to / register in Vim9 script.
8778Solution: Adjust check for assignment in Vim9 script. (closes #6567)
8779Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
8780
8781Patch 8.2.1360
8782Problem: Stray error for white space after expression.
8783Solution: Ignore trailing white space. (closes #6608)
8784Files: src/eval.c, src/testdir/test_filter_map.vim
8785
8786Patch 8.2.1361
8787Problem: Error for white space after expression in assignment.
8788Solution: Skip over white space. (closes #6617)
8789Files: src/eval.c, src/testdir/test_expr.vim
8790
8791Patch 8.2.1362
8792Problem: Last entry of ":set term=xxx" overwritten by error message when
8793 'cmdheight' is two or more. (Tony Mechelynck)
8794Solution: Output extra line breaks.
8795Files: src/term.c, src/testdir/test_termcodes.vim
8796
8797Patch 8.2.1363
8798Problem: Test trying to run terminal when it is not supported.
8799Solution: Check if Vim can be run in a terminal.
8800Files: src/testdir/test_termcodes.vim
8801
8802Patch 8.2.1364
8803Problem: Invalid memory access when searching for raw string.
8804Solution: Check for delimiter match before following quote. (closes #6578)
8805Files: src/search.c
8806
8807Patch 8.2.1365
8808Problem: Vim9: no error for missing white space around operator.
8809Solution: Check for white space. (closes #6618)
8810Files: src/eval.c, src/vim9compile.c, src/proto/vim9compile.pro,
8811 src/evalvars.c, src/testdir/test_vim9_expr.vim,
8812 src/testdir/test_vim9_func.vim
8813
8814Patch 8.2.1366
8815Problem: Test 49 is old style.
8816Solution: Convert several tests to new style. (Yegappan Lakshmanan,
8817 closes #6629)
8818Files: src/testdir/script_util.vim, src/testdir/test49.ok,
8819 src/testdir/test49.vim, src/testdir/test_vimscript.vim
8820
8821Patch 8.2.1367
8822Problem: Vim9: no error for missing white space around operator.
8823Solution: Check for white space around *, / and %.
8824Files: src/eval.c, src/testdir/test_vim9_expr.vim
8825
8826Patch 8.2.1368
8827Problem: Vim9: no error for missing white space around operator.
8828Solution: Check for white space around <, !=, etc.
8829Files: src/eval.c, src/testdir/test_vim9_expr.vim
8830
8831Patch 8.2.1369
8832Problem: MS-Windows: autocommand test sometimes fails.
8833Solution: Do not rely on the cat command.
8834Files: src/testdir/test_autocmd.vim
8835
8836Patch 8.2.1370
8837Problem: MS-Windows: warning for using fstat() with stat_T.
8838Solution: use _fstat64() if available. (Naruhiko Nishino, closes #6625)
8839Files: src/macros.h
8840
8841Patch 8.2.1371
8842Problem: Vim9: no error for missing white space around operator.
8843Solution: Check for white space around && and ||.
8844Files: src/eval.c, src/testdir/test_vim9_expr.vim
8845
8846Patch 8.2.1372
8847Problem: Vim9: no error for missing white space around operator.
8848Solution: Check for white space around ? and :.
8849Files: src/eval.c, src/testdir/test_vim9_expr.vim
8850
8851Patch 8.2.1373
8852Problem: Vim9: no error for assigning to non-existing script var.
8853Solution: Check that in Vim9 script the variable was defined. (closes #6630)
8854Files: src/vim9compile.c, src/userfunc.c, src/structs.h,
8855 src/testdir/test_vim9_script.vim
8856
8857Patch 8.2.1374
8858Problem: Vim9: error for assigning empty list to script variable.
8859Solution: Use t_unknown for empty list member. (closes #6595)
8860Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8861
8862Patch 8.2.1375
8863Problem: Vim9: method name with digit not accepted.
8864Solution: Use eval_isnamec() instead of eval_isnamec1(). (closes #6613)
8865Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
8866
8867Patch 8.2.1376
8868Problem: Vim9: expression mapping causes error for using :import.
8869Solution: Add EX_LOCK_OK to :import and :export. (closes #6606)
8870Files: src/ex_cmds.h, src/testdir/test_vim9_script.vim
8871
8872Patch 8.2.1377
8873Problem: Triggering the ATTENTION prompt causes typeahead to be messed up.
8874Solution: Increment tb_change_cnt. (closes #6541)
8875Files: src/getchar.c
8876
8877Patch 8.2.1378
8878Problem: Cannot put space between function name and paren.
8879Solution: Allow this for backwards compatibility.
8880Files: src/eval.c, src/testdir/test_expr.vim,
8881 src/testdir/test_vim9_expr.vim
8882
8883Patch 8.2.1379
8884Problem: Curly braces expression ending in " }" does not work.
8885Solution: Skip over white space when checking for "}". (closes #6634)
8886Files: src/dict.c, src/testdir/test_eval_stuff.vim
8887
8888Patch 8.2.1380
8889Problem: Vim9: return type of getreg() is always a string.
8890Solution: Use list of strings when there are three arguments. (closes #6633)
8891Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
8892
8893Patch 8.2.1381
8894Problem: MS-Windows: crash with Python 3.5 when stdin is redirected.
8895Solution: Reconnect stdin. (Yasuhiro Matsumoto, Ken Takata, closes #6641)
8896Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/if_python3.c
8897
8898Patch 8.2.1382
8899Problem: Vim9: using :import in filetype plugin gives an error.
8900Solution: Allow commands with the EX_LOCK_OK flag. (closes #6636)
8901Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
8902
8903Patch 8.2.1383
8904Problem: Test 49 is old style.
8905Solution: Convert test cases to new style. (Yegappan Lakshmanan,
8906 closes #6638)
8907Files: src/testdir/test49.ok, src/testdir/test49.vim,
8908 src/testdir/test_vimscript.vim
8909
8910Patch 8.2.1384
8911Problem: No ATTENTION prompt for :vimgrep first match file.
8912Solution: When there is an existing swap file do not keep the dummy buffer.
8913 (closes #6649)
8914Files: src/quickfix.c, src/testdir/runtest.vim,
8915 src/testdir/test_quickfix.vim
8916
8917Patch 8.2.1385
8918Problem: No testing on ARM.
8919Solution: Add a test on Travis for ARM. (Ozaki Kiichi, closes #6615)
8920Files: .travis.yml
8921
8922Patch 8.2.1386
8923Problem: Backslash not removed after space in option with space in
8924 'isfname'.
8925Solution: Do remove backslash before space, also when it is in 'isfname'.
8926 (Yasuhiro Matsumoto, closes #6651)
8927Files: src/option.c, src/testdir/test_options.vim
8928
8929Patch 8.2.1387
8930Problem: Vim9: cannot assign to single letter variable with type.
8931Solution: Exclude the colon from the variable name. (closes #6647)
8932Files: src/eval.c, src/testdir/test_vim9_script.vim
8933
8934Patch 8.2.1388
8935Problem: Vim9: += only works for numbers.
8936Solution: Use += as concatenate for a list. (closes #6646)
8937Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8938
8939Patch 8.2.1389
8940Problem: File missing from the distribution.
8941Solution: Add script_util.vim to the list of distributes files.
8942Files: Filelist
8943
8944Patch 8.2.1390
8945Problem: Vim9: type error after storing an option value.
8946Solution: Drop the type after a STOREOPT instruction. (closes #6632)
8947Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8948
8949Patch 8.2.1391
8950Problem: Vim9: no error for shadowing a script function.
8951Solution: Check for already defined items. (closes #6652)
8952Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8953
8954Patch 8.2.1392
8955Problem: Vim9: error line number incorrect after skipping over comment
8956 lines.
8957Solution: Insert empty lines for skipped lines.
8958Files: src/userfunc.c, src/testdir/test_vim9_func.vim
8959
8960Patch 8.2.1393
8961Problem: Insufficient testing for script debugging.
8962Solution: Add more tests. (Ben Jackson)
8963Files: src/testdir/test_debugger.vim
8964
8965Patch 8.2.1394
8966Problem: Vim9: compiling a function interferes with command modifiers.
8967Solution: Save and restore command modifiers. (closes #6658)
8968Files: src/vim9compile.c, src/testdir/test_vim9_func.vim,
8969 src/testdir/test_vim9_script.vim
8970
8971Patch 8.2.1395
8972Problem: Vim9: no error if declaring a funcref with a lower case letter.
8973Solution: Check the name after the type is inferred. Fix confusing name.
8974Files: src/vim9compile.c, src/dict.c, src/eval.c, src/evalvars.c,
8975 src/proto/evalvars.pro, src/testdir/test_vim9_script.vim,
8976 src/testdir/test_vim9_expr.vim
8977
8978Patch 8.2.1396
8979Problem: Vim9: no error for unexpectedly returning a value.
8980Solution: Only set the return type for lambda's. Make using function type
8981 in a function reference work.
8982Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8983
8984Patch 8.2.1397
8985Problem: Vim9: return type of maparg() not adjusted for fourth argument.
8986Solution: Check if fourth argument is present. (closes #6645)
8987Files: src/evalfunc.c, src/testdir/test_maparg.vim
8988
8989Patch 8.2.1398
8990Problem: Autoload script sourced twice if sourced directly.
8991Solution: Do not source an autoload script again. (issue #6644)
8992Files: src/scriptfile.c, src/testdir/sautest/autoload/sourced.vim
8993
8994Patch 8.2.1399
8995Problem: Vim9: may find imported item in wrong script.
8996Solution: When looking up script-local function use the embedded script ID.
8997 (issue #6644)
8998Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c,
8999 src/testdir/test_vim9_script.vim
9000
9001Patch 8.2.1400
9002Problem: Vim9: test does not delete written files.
9003Solution: Correct file names.
9004Files: src/testdir/test_vim9_script.vim
9005
9006Patch 8.2.1401
9007Problem: Cannot jump to the last used tabpage.
9008Solution: Add g<Tab> and tabpagnr('#'). (Yegappan Lakshmanan, closes #6661,
9009 neovim #11626)
9010Files: runtime/doc/eval.txt, runtime/doc/index.txt,
9011 runtime/doc/tabpage.txt, src/evalwindow.c, src/globals.h,
9012 src/normal.c, src/proto/window.pro, src/testdir/test_tabpage.vim,
9013 src/window.c
9014
9015Patch 8.2.1402
9016Problem: s390x tests always fail.
9017Solution: Temporarily disable s390x tests.
9018Files: .travis.yml
9019
9020Patch 8.2.1403
9021Problem: Vim9: Vim highlighting fails in cmdline window if it uses Vim9
9022 commands.
9023Solution: Allow using :vim9script, :import and :export while in the cmdline
9024 window. (closes #6656)
9025Files: src/ex_cmds.h, src/testdir/test_vim9_script.vim
9026
9027Patch 8.2.1404
9028Problem: Vim9: script test fails in the GUI.
9029Solution: Use another key to map. Improve cleanup.
9030Files: src/testdir/test_vim9_script.vim
9031
9032Patch 8.2.1405
9033Problem: Vim9: vim9compile.c is getting too big.
9034Solution: Split off type code to vim9type.c.
9035Files: Filelist, src/vim9compile.c, src/proto/vim9compile.pro,
9036 src/vim9type.c, src/proto/vim9type.pro, src/proto.h,
9037 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Makefile
9038
9039Patch 8.2.1406
9040Problem: Popupwindow lacks scrollbar if no "maxheight" is used.
9041Solution: Compute the max height depending on the position. (closes #6664)
9042Files: src/popupwin.c, src/testdir/test_popupwin.vim,
9043 src/testdir/dumps/Test_popupwin_toohigh_1.dump,
9044 src/testdir/dumps/Test_popupwin_toohigh_2.dump
9045
9046Patch 8.2.1407
9047Problem: Vim9: type of list and dict only depends on first item.
9048Solution: Use all items to decide about the type.
9049Files: src/vim9compile.c, src/vim9type.c, src/proto/vim9type.pro,
9050 src/testdir/test_vim9_expr.vim, runtime/doc/vim9.txt
9051
9052Patch 8.2.1408
9053Problem: Vim9: type casting not supported.
9054Solution: Introduce type casting.
9055Files: runtime/doc/vim9.txt, src/vim9compile.c,
9056 src/testdir/test_vim9_expr.vim,
9057 src/testdir/test_vim9_disassemble.vim
9058
9059Patch 8.2.1409
Bram Moolenaar1588bc82022-03-08 21:35:07 +00009060Problem: Npmrc and php.ini filetypes not recognized.
Bram Moolenaarc51cf032022-02-26 12:25:45 +00009061Solution: Add filetype detection. (Doug Kearns)
9062Files: runtime/filetype.vim, src/testdir/test_filetype.vim
9063
9064Patch 8.2.1410
9065Problem: Adding compiler plugin requires test change.
9066Solution: Include compiler plugin and adjust test.
9067Files: src/testdir/test_compiler.vim, runtime/compiler/xo.vim
9068
9069Patch 8.2.1411
9070Problem: when splitting a window localdir is copied but prevdir is not.
9071Solution: Also copy prevdir. (closes #6667)
9072Files: src/window.c, src/testdir/test_cd.vim
9073
9074Patch 8.2.1412
9075Problem: Vim: not operator does not result in boolean.
9076Solution: Make type depend on operator. (issue 6678) Fix using "false" and
9077 "true" in Vim9 script.
9078Files: src/eval.c, src/testdir/test_vim9_expr.vim
9079
9080Patch 8.2.1413 (after 8.2.1401)
9081Problem: Previous tab page not usable from an Ex command.
9082Solution: Add the "#" argument for :tabnext et al. (Yegappan Lakshmanan,
9083 closes #6677)
9084Files: runtime/doc/tabpage.txt, src/ex_docmd.c, src/window.c,
9085 src/testdir/test_tabpage.vim
9086
9087Patch 8.2.1414
9088Problem: Popupwindow missing last couple of lines when cursor is in the
9089 first line.
9090Solution: Compute the max height also when top aligned. (closes #6664)
9091Files: src/popupwin.c, src/testdir/test_popupwin.vim,
9092 src/testdir/dumps/Test_popupwin_toohigh_3.dump,
9093 src/testdir/dumps/Test_popupwin_nospace.dump
9094
9095Patch 8.2.1415
9096Problem: Closing a popup window with CTRL-C interrupts 'statusline' if it
9097 calls a function.
9098Solution: Reset got_int while redrawing. (closes #6675)
9099Files: src/popupwin.c, src/testdir/test_popupwin.vim,
9100 src/testdir/dumps/Test_popupwin_ctrl_c.dump
9101
9102Patch 8.2.1416
9103Problem: Vim9: boolean evaluation does not work as intended.
9104Solution: Use tv2bool() in Vim9 script. (closes #6681)
9105Files: src/eval.c, src/testdir/test_vim9_expr.vim, src/testdir/vim9.vim
9106
9107Patch 8.2.1417
9108Problem: Test 49 is old style.
9109Solution: Convert more parts to new style test. (Yegappan Lakshmanan,
9110 closes #6682)
9111Files: src/testdir/test49.ok, src/testdir/test49.vim,
9112 src/testdir/test_vimscript.vim
9113
9114Patch 8.2.1418
9115Problem: Vim9: invalid error for missing white space after function.
9116Solution: Do not skip over white space. (closes #6679)
9117Files: src/userfunc.c, src/testdir/test_vim9_expr.vim
9118
9119Patch 8.2.1419
9120Problem: Vim9: not operator applied too early.
9121Solution: Implement the "numeric_only" argument. (closes #6680)
9122Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
9123
9124Patch 8.2.1420
9125Problem: Test 49 is old style.
9126Solution: Convert remaining parts to new style. Remove obsolete items.
9127 (Yegappan Lakshmanan, closes #6683)
9128Files: Filelist, runtime/doc/testing.txt, src/Make_mvc.mak, src/Makefile,
9129 src/testdir/Make_all.mak, src/testdir/Make_amiga.mak,
9130 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
9131 src/testdir/Make_vms.mms, src/testdir/Makefile,
9132 src/testdir/README.txt, src/testdir/test49.in,
9133 src/testdir/test49.ok, src/testdir/test49.vim,
9134 src/testdir/test_quickfix.vim, src/testdir/test_vimscript.vim
9135
9136Patch 8.2.1421
9137Problem: Vim9: handling "+" and "-" before number differs from Vim script.
9138Solution: Use the same sequence of commands.
9139Files: src/vim9compile.c
9140
9141Patch 8.2.1422
9142Problem: The Mac GUI implementation is outdated and probably doesn't even
9143 work.
9144Solution: Remove the Mac GUI code. The MacVim project provides the
9145 supported Vim GUI version.
9146Files: Filelist, src/gui_mac.c, src/proto/gui_mac.pro, src/proto.h,
9147 src/Makefile, src/configure.ac, src/auto/configure,
9148 src/evalfunc.c, src/fileio.c, src/gui.c, src/if_mzsch.c,
9149 src/main.c, src/misc2.c, src/mouse.c, src/os_mac_conv.c,
9150 src/os_unix.c, src/feature.h, src/globals.h, src/gui.h,
9151 src/option.h, src/optiondefs.h, src/os_mac.h, src/structs.h,
9152 src/vim.h, src/INSTALLmac.txt
9153
9154Patch 8.2.1423
9155Problem: Vim9: find global function when looking for script-local.
9156Solution: Don't strip prefix if name starts with "s:". (closes #6688)
9157Files: src/userfunc.c, src/testdir/test_vim9_func.vim
9158
9159Patch 8.2.1424 (after 8.2.1422)
9160Problem: Mac build fails.
9161Solution: Adjust configure to not fall back to Athena. Adjust some other
9162 files.
9163Files: src/configure.ac, src/auto/configure, src/os_macosx.m,
9164 src/version.c
9165
9166Patch 8.2.1425
9167Problem: Vim9: cannot use call() without :call.
9168Solution: Do not skip over "call(". (closes #6689)
9169Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
9170
9171Patch 8.2.1426
9172Problem: Vim9: cannot call autoload function in :def function.
9173Solution: Load the autoload script. (closes #6690)
9174Files: src/vim9execute.c, src/vim9compile.c, src/scriptfile.c,
9175 src/testdir/test_vim9_expr.vim
9176
9177Patch 8.2.1427
9178Problem: Vim9: cannot use a range with marks in :def function.
9179Solution: Parse range after colon. (closes #6686)
9180Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
9181
9182Patch 8.2.1428
9183Problem: Vim9: :def function does not abort on nested function error.
9184Solution: Check whether an error message was given. (closes #6691)
9185Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
9186
9187Patch 8.2.1429
9188Problem: Vim9: no error for missing white after : in dict.
9189Solution: Check for white space. (closes #6671) Also check that there is no
9190 white before the :.
9191Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim,
9192 src/testdir/test_vim9_func.vim
9193
9194Patch 8.2.1430
9195Problem: Vim9: error for missing comma instead of extra white space.
9196Solution: Check if comma can be found after white space. (closes #6668)
9197 Also check for extra white space in literal dict. (closes #6670)
9198Files: src/list.c, src/dict.c, src/vim9compile.c,
9199 src/testdir/test_vim9_expr.vim
9200
9201Patch 8.2.1431
9202Problem: Vim9: no error for white space before comma in dict.
9203Solution: Check for extra white space. (closes #6674)
9204Files: src/vim9compile.c, src/dict.c, src/testdir/test_vim9_expr.vim
9205
9206Patch 8.2.1432
9207Problem: Various inconsistencies in test files.
9208Solution: Add modelines where they were missing. Use Check commands instead
9209 of silently skipping over tests. Adjust indents and comments.
9210 (Ken Takata, closes #6695)
9211Files: src/testdir/test_arglist.vim, src/testdir/test_assert.vim,
9212 src/testdir/test_autochdir.vim, src/testdir/test_autocmd.vim,
9213 src/testdir/test_autoload.vim, src/testdir/test_balloon.vim,
9214 src/testdir/test_balloon_gui.vim, src/testdir/test_behave.vim,
9215 src/testdir/test_blockedit.vim, src/testdir/test_breakindent.vim,
9216 src/testdir/test_bufline.vim, src/testdir/test_bufwintabinfo.vim,
9217 src/testdir/test_cd.vim, src/testdir/test_changedtick.vim,
9218 src/testdir/test_changelist.vim, src/testdir/test_channel.vim,
9219 src/testdir/test_checkpath.vim, src/testdir/test_cindent.vim,
9220 src/testdir/test_cjk_linebreak.vim,
9221 src/testdir/test_clientserver.vim,
9222 src/testdir/test_close_count.vim, src/testdir/test_cmdline.vim,
9223 src/testdir/test_command_count.vim,
9224 src/testdir/test_comparators.vim, src/testdir/test_compiler.vim,
9225 src/testdir/test_crypt.vim, src/testdir/test_cursorline.vim,
9226 src/testdir/test_curswant.vim, src/testdir/test_debugger.vim,
9227 src/testdir/test_delete.vim, src/testdir/test_diffmode.vim,
9228 src/testdir/test_digraph.vim, src/testdir/test_display.vim,
9229 src/testdir/test_edit.vim, src/testdir/test_environ.vim,
9230 src/testdir/test_erasebackword.vim,
9231 src/testdir/test_escaped_glob.vim, src/testdir/test_ex_equal.vim,
9232 src/testdir/test_ex_undo.vim, src/testdir/test_ex_z.vim,
9233 src/testdir/test_exec_while_if.vim, src/testdir/test_exists.vim,
9234 src/testdir/test_exists_autocmd.vim, src/testdir/test_exit.vim,
9235 src/testdir/test_expand_dllpath.vim,
9236 src/testdir/test_expr_utf8.vim, src/testdir/test_feedkeys.vim,
9237 src/testdir/test_file_size.vim, src/testdir/test_fileformat.vim,
9238 src/testdir/test_filter_cmd.vim,
9239 src/testdir/test_find_complete.vim, src/testdir/test_findfile.vim,
9240 src/testdir/test_fixeol.vim, src/testdir/test_flatten.vim,
9241 src/testdir/test_fnameescape.vim, src/testdir/test_fold.vim,
9242 src/testdir/test_functions.vim, src/testdir/test_ga.vim,
9243 src/testdir/test_getcwd.vim, src/testdir/test_getvar.vim,
9244 src/testdir/test_glob2regpat.vim, src/testdir/test_global.vim,
9245 src/testdir/test_gui.vim, src/testdir/test_gui_init.vim,
9246 src/testdir/test_highlight.vim, src/testdir/test_hlsearch.vim,
9247 src/testdir/test_iminsert.vim,
9248 src/testdir/test_increment_dbcs.vim,
9249 src/testdir/test_ins_complete.vim, src/testdir/test_interrupt.vim,
9250 src/testdir/test_job_fails.vim, src/testdir/test_join.vim,
9251 src/testdir/test_json.vim, src/testdir/test_jumplist.vim,
9252 src/testdir/test_jumps.vim, src/testdir/test_lambda.vim,
9253 src/testdir/test_langmap.vim, src/testdir/test_largefile.vim,
9254 src/testdir/test_lineending.vim, src/testdir/test_listchars.vim,
9255 src/testdir/test_listener.vim, src/testdir/test_listlbr.vim,
9256 src/testdir/test_listlbr_utf8.vim,
9257 src/testdir/test_makeencoding.vim, src/testdir/test_man.vim,
9258 src/testdir/test_mapping.vim, src/testdir/test_marks.vim,
9259 src/testdir/test_matchadd_conceal.vim,
9260 src/testdir/test_matchadd_conceal_utf8.vim,
9261 src/testdir/test_memory_usage.vim, src/testdir/test_menu.vim,
9262 src/testdir/test_messages.vim, src/testdir/test_mksession.vim,
9263 src/testdir/test_modeline.vim,
9264 src/testdir/test_nested_function.vim, src/testdir/test_number.vim,
9265 src/testdir/test_options.vim, src/testdir/test_packadd.vim,
9266 src/testdir/test_partial.vim, src/testdir/test_paste.vim,
9267 src/testdir/test_plus_arg_edit.vim, src/testdir/test_preview.vim,
9268 src/testdir/test_profile.vim, src/testdir/test_prompt_buffer.vim,
9269 src/testdir/test_quickfix.vim, src/testdir/test_quotestar.vim,
9270 src/testdir/test_random.vim, src/testdir/test_recover.vim,
9271 src/testdir/test_regex_char_classes.vim,
9272 src/testdir/test_regexp_latin.vim, src/testdir/test_registers.vim,
9273 src/testdir/test_rename.vim, src/testdir/test_retab.vim,
9274 src/testdir/test_scriptnames.vim, src/testdir/test_scroll_opt.vim,
9275 src/testdir/test_scrollbind.vim, src/testdir/test_search_stat.vim,
9276 src/testdir/test_searchpos.vim, src/testdir/test_set.vim,
9277 src/testdir/test_sha256.vim, src/testdir/test_shift.vim,
9278 src/testdir/test_shortpathname.vim, src/testdir/test_signs.vim,
9279 src/testdir/test_sort.vim, src/testdir/test_sound.vim,
9280 src/testdir/test_source_utf8.vim, src/testdir/test_spellfile.vim,
9281 src/testdir/test_startup.vim, src/testdir/test_startup_utf8.vim,
9282 src/testdir/test_stat.vim, src/testdir/test_suspend.vim,
9283 src/testdir/test_swap.vim, src/testdir/test_syntax.vim,
9284 src/testdir/test_tab.vim, src/testdir/test_tabline.vim,
9285 src/testdir/test_tagcase.vim, src/testdir/test_tagjump.vim,
9286 src/testdir/test_taglist.vim, src/testdir/test_termcodes.vim,
9287 src/testdir/test_termencoding.vim, src/testdir/test_terminal.vim,
9288 src/testdir/test_terminal2.vim, src/testdir/test_terminal3.vim,
9289 src/testdir/test_terminal_fail.vim,
9290 src/testdir/test_true_false.vim,
9291 src/testdir/test_utf8_comparisons.vim,
9292 src/testdir/test_vartabs.vim, src/testdir/test_version.vim,
9293 src/testdir/test_vim9_expr.vim, src/testdir/test_winbar.vim,
9294 src/testdir/test_winbuf_close.vim,
9295 src/testdir/test_window_cmd.vim, src/testdir/test_window_id.vim,
9296 src/testdir/test_windows_home.vim, src/testdir/test_wnext.vim,
9297 src/testdir/test_wordcount.vim, src/testdir/test_writefile.vim,
9298 src/testdir/test_xxd.vim
9299
9300Patch 8.2.1433
9301Problem: Vim9: cannot mingle comments in multi-line lambda.
9302Solution: Skip over NULL lines. (closes #6694)
9303Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
9304
9305Patch 8.2.1434
9306Problem: Vim9: crash when lambda uses outer function argument.
9307Solution: Set the flag that the outer context is used.
9308Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
9309
9310Patch 8.2.1435
9311Problem: Vim9: always converting to string for ".." leads to mistakes.
9312Solution: Only automatically convert simple types.
9313Files: runtime/doc/vim9.txt, src/vim9compile.c, src/vim9.h,
9314 src/vim9execute.c, src/proto/vim9execute.pro, src/eval.c,
9315 src/evalfunc.c, src/testdir/test_vim9_expr.vim,
9316 src/testdir/test_vim9_disassemble.vim
9317
9318Patch 8.2.1436
9319Problem: Function implementing :substitute has unexpected name.
9320Solution: Rename from do_sub() to ex_substitute().
9321Files: src/ex_cmds.c, src/proto/ex_cmds.pro, src/ex_docmd.c,
9322 src/ex_cmds.h
9323
9324Patch 8.2.1437
9325Problem: Vim9: 'statusline' is evaluated using Vim9 script syntax.
9326Solution: Always use legacy script syntax.
9327Files: src/eval.c, src/testdir/test_vim9_script.vim
9328
9329Patch 8.2.1438
9330Problem: Missing tests for interrupting script execution from debugger.
9331Solution: Add tests. (Yegappan Lakshmanan, closes #6697)
9332Files: src/testdir/test_debugger.vim
9333
9334Patch 8.2.1439
9335Problem: Tiny and small builds have no test coverage.
9336Solution: Restore tests that do not depend on the +eval feature.
9337 (Ken Takata, closes #6696)
9338Files: .travis.yml, Filelist, Makefile, runtime/doc/testing.txt,
9339 src/Make_mvc.mak, src/Makefile, src/testdir/Make_all.mak,
9340 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
9341 src/testdir/Make_ming.mak, src/testdir/Make_vms.mms,
9342 src/testdir/Makefile, src/testdir/runtest.vim,
9343 src/testdir/test1.in, src/testdir/test1.ok, src/testdir/test20.in,
9344 src/testdir/test20.ok, src/testdir/test21.in,
9345 src/testdir/test21.ok, src/testdir/test22.in,
9346 src/testdir/test22.ok, src/testdir/test23.in,
9347 src/testdir/test23.ok, src/testdir/test24.in,
9348 src/testdir/test24.ok, src/testdir/test25.in,
9349 src/testdir/test25.ok, src/testdir/test26.in,
9350 src/testdir/test26.ok, src/testdir/test27.in,
9351 src/testdir/test27.ok, src/testdir/test_options.vim
9352
9353Patch 8.2.1440
9354Problem: Debugger code insufficiently tested.
9355Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6700)
9356Files: src/testdir/test_debugger.vim, src/testdir/test_vimscript.vim
9357
9358Patch 8.2.1441
9359Problem: Running tests in tiny version gives error for summarize.vim.
9360Solution: Set 'cpoptions' to allow for line continuation. Restore
9361 redirecting test output to /dev/null.
9362Files: src/testdir/summarize.vim, src/testdir/Makefile
9363
9364Patch 8.2.1442
9365Problem: Outdated references to the Mac Carbon GUI.
9366Solution: Remove or update references. (Yee Cheng Chin, closes #6703)
9367Files: READMEdir/README_extra.txt, src/Makefile, src/configure.ac,
9368 src/auto/configure, src/gui_haiku.cc, src/os_macosx.m,
9369 src/testdir/test_iminsert.vim, src/vim.h
9370
9371Patch 8.2.1443
9372Problem: Vim9: crash when interrupting a nested :def function.
9373Solution: Push a dummy return value onto the stack. (closes #6701)
9374Files: src/vim9execute.c
9375
9376Patch 8.2.1444
9377Problem: Error messages are spread out and names can be confusing.
9378Solution: Start moving error messages to a separate file and use clear
9379 names.
9380Files: Filelist, src/vim.h, src/globals.h, src/errors.h, src/Makefile,
9381 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Make_vms.mms,
9382 src/dict.c, src/evalvars.c, src/ex_docmd.c, src/list.c,
9383 src/userfunc.c, src/vim9compile.c, src/vim9execute.c,
9384 src/vim9script.c, src/vim9type.c
9385
9386Patch 8.2.1445
9387Problem: Vim9: function expanded name is cleared when sourcing a script
9388 again.
9389Solution: Only clear the expanded name when deleting the function.
9390 (closes #6707)
9391Files: src/userfunc.c, src/testdir/test_vim9_script.vim
9392
9393Patch 8.2.1446
9394Problem: Vim9: line number in error message is not correct.
9395Solution: Set SOURCING_LNUM before calling emsg(). (closes #6708)
9396Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
9397
9398Patch 8.2.1447
9399Problem: Vim9: return type of keys() is list<any>.
9400Solution: Should be list<string>. (closes #6711)
9401Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
9402
9403Patch 8.2.1448
9404Problem: Test 77a for VMS depends on small.vim which does not exist.
9405Solution: Use the 'silent while 0" trick. (issue #6696)
9406Files: src/testdir/test77a.in
9407
9408Patch 8.2.1449
9409Problem: Some test makefiles delete files that are not generated.
9410Solution: Remove the deletion commands.
9411Files: src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
9412 src/testdir/Make_amiga.mak, src/testdir/Make_vms.mms
9413
9414Patch 8.2.1450
9415Problem: Vim9: no check that script-local items don't become global.
9416Solution: Add a test.
9417Files: src/testdir/test_vim9_script.vim
9418
9419Patch 8.2.1451
9420Problem: Vim9: list type at script level only uses first item.
9421Solution: Use all members, like in a compiled function. (closes #6712)
9422 Also for dictionary.
9423Files: src/vim9type.c, src/testdir/test_vim9_expr.vim
9424
9425Patch 8.2.1452
9426Problem: Vim9: dead code in to_name_end().
9427Solution: Remove check for lambda and dict, it won't be used.
9428Files: src/vim9compile.c
9429
9430Patch 8.2.1453
9431Problem: Vim9: failure to compile lambda not tested.
9432Solution: Add a test case.
9433Files: src/testdir/test_vim9_expr.vim
9434
9435Patch 8.2.1454
9436Problem: Vim9: failure invoking lambda with wrong arguments.
9437Solution: Handle invalid arguments. Add a test.
9438Files: src/vim9compile.c, src/vim9execute.c,
9439 src/testdir/test_vim9_expr.vim
9440
9441Patch 8.2.1455
9442Problem: Vim9: crash when using typecast before constant.
9443Solution: Generate constant before checking type. Add tets.
9444Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
9445
9446Patch 8.2.1456
9447Problem: MS-Windows: test files are not deleted.
9448Solution: use "del" instead of $(DEL).
9449Files: src/testdir/Make_dos.mak
9450
9451Patch 8.2.1457
9452Problem: Vim9: the output of :disassemble cannot be interrupted.
9453Solution: Check got_int. (closes #6715)
9454Files: src/vim9execute.c
9455
9456Patch 8.2.1458
9457Problem: .gawk files not recognized.
9458Solution: Recognize .gawk files. (Doug Kearns)
9459Files: runtime/filetype.vim, src/testdir/test_filetype.vim
9460
9461Patch 8.2.1459
Bram Moolenaar1588bc82022-03-08 21:35:07 +00009462Problem: Vim9: declaring a script variable at the script level does not
Bram Moolenaarc51cf032022-02-26 12:25:45 +00009463 infer the type.
9464Solution: Get the type from the value. (closes #6716)
9465Files: src/evalvars.c, src/testdir/test_vim9_script.vim
9466
9467Patch 8.2.1460
9468Problem: Error messages are spread out.
9469Solution: Move more messages into errors.h.
9470Files: src/errors.h, src/globals.h, src/vim9compile.c, src/vim9execute.c,
9471 src/vim9script.c, src/vim9type.c, src/scriptfile.c, src/ex_cmds.c,
9472 src/ex_docmd.c, src/match.c, src/eval.c, src/evalvars.c,
9473 src/userfunc.c, src/testdir/test_vim9_expr.vim,
9474 src/testdir/test_vim9_disassemble.vim,
9475 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
9476
9477Patch 8.2.1461
9478Problem: Vim9: string indexes are counted in bytes.
9479Solution: Use character indexes. (closes #6574)
9480Files: runtime/doc/eval.txt, src/eval.c, src/proto/eval.pro,
9481 src/vim9execute.c, src/eval.c, src/testdir/test_vim9_expr.vim
9482
9483Patch 8.2.1462
9484Problem: Vim9: string slice not supported yet.
9485Solution: Add support for string slicing.
9486Files: src/errors.h, src/vim9compile.c, src/vim9.h, src/vim9execute.c,
9487 src/eval.c, src/proto/eval.pro, src/testdir/test_vim9_expr.vim,
9488 src/testdir/test_vim9_disassemble.vim
9489
9490Patch 8.2.1463
9491Problem: Vim9: list slice not supported yet.
9492Solution: Add support for list slicing.
9493Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/eval.c,
9494 src/list.c, src/proto/list.pro, src/testdir/test_vim9_expr.vim,
9495 src/testdir/test_vim9_disassemble.vim
9496
9497Patch 8.2.1464
9498Problem: Vim9: build warning for unused variable.
9499Solution: Delete the variable declaration.
9500Files: src/vim9execute.c
9501
9502Patch 8.2.1465
9503Problem: Vim9: subscript not handled properly.
9504Solution: Adjust error message. Remove dead code. Disallow string to
9505 number conversion in scripts.
9506Files: src/errors.h, src/vim9compile.c, src/vim9execute.c, src/eval.c,
9507 src/typval.c, src/list.c, src/testdir/test_vim9_expr.vim,
9508 src/testdir/test_vim9_script.vim
9509
9510Patch 8.2.1466
9511Problem: Vim9: cannot index or slice a variable with type "any".
9512Solution: Add runtime index and slice.
9513Files: src/eval.c, src/proto/eval.pro, src/vim9compile.c,
9514 src/vim9execute.c, src/vim9.h, src/errors.h, src/list.c,
9515 src/testdir/test_vim9_expr.vim,
9516 src/testdir/test_vim9_disassemble.vim,
9517 src/testdir/test_vim9_script.vim
9518
9519Patch 8.2.1467
9520Problem: Vim9: :echomsg doesn't like a dict argument.
9521Solution: Convert arguments like in legacy script. (closes #6717)
9522Files: src/vim9compile.c, src/vim9execute.c,
9523 src/testdir/test_vim9_script.vim
9524
9525Patch 8.2.1468
9526Problem: Vim9: invalid error for missing white space.
9527Solution: Don't skip over white space after index. (closes #6718)
9528Files: src/eval.c, src/testdir/test_vim9_expr.vim
9529
9530Patch 8.2.1469
9531Problem: Vim9: cannot assign string to string option.
9532Solution: Change checks for option value. (closes #6720)
9533Files: src/evalvars.c, src/testdir/test_vim9_script.vim
9534
9535Patch 8.2.1470
9536Problem: Errors in spell file not tested.
9537Solution: Add test for spell file errors. (Yegappan Lakshmanan,
9538 closes #6721)
9539Files: src/testdir/test_spellfile.vim
9540
9541Patch 8.2.1471
9542Problem: :const only locks the variable, not the value.
9543Solution: Lock the value as ":lockvar 1 var" would do. (closes #6719)
9544Files: src/evalvars.c, src/testdir/test_const.vim
9545
9546Patch 8.2.1472
9547Problem: ":argdel" does not work like ":.argdel" as documented. (Alexey
9548 Demin)
9549Solution: Make ":argdel" work like ":.argdel". (closes #6727)
9550 Also fix giving the error "0 more files to edit".
9551Files: src/arglist.c, src/ex_docmd.c, src/testdir/test_arglist.vim
9552
9553Patch 8.2.1473
9554Problem: Items in a list given to :const can still be modified.
9555Solution: Work like ":lockvar! name" but don't lock referenced items.
9556 Make locking a blob work.
9557Files: runtime/doc/eval.txt, src/evalvars.c, src/eval.c,
9558 src/testdir/test_const.vim
9559
9560Patch 8.2.1474
9561Problem: /usr/lib/udef/rules.d not recognized as udevrules.
9562Solution: Adjust match pattern. (Haochen Tong, closes 36722)
9563Files: runtime/autoload/dist/ft.vim, src/testdir/test_filetype.vim
9564
9565Patch 8.2.1475
9566Problem: Vim9: can't use v:true for option flags.
9567Solution: Add tv_get_bool_chk(). (closes #6725)
9568Files: src/typval.c, src/proto/typval.pro, src/channel.c
9569
9570Patch 8.2.1476 (after 8.2.1474)
9571Problem: Filetype test fails on MS-Windows.
9572Solution: Remove "^" from pattern.
9573Files: runtime/autoload/dist/ft.vim
9574
9575Patch 8.2.1477
9576Problem: Vim9: error when using bufnr('%').
9577Solution: Don't give an error for using a string argument. (closes #6723)
9578Files: src/evalbuffer.c, src/testdir/test_vim9_func.vim
9579
9580Patch 8.2.1478
9581Problem: Vim9: cannot use "true" for some popup options.
9582Solution: Add dict_get_bool(). (closes #6725)
9583Files: src/dict.c, src/proto/dict.pro, src/popupwin.c
9584
9585Patch 8.2.1479
9586Problem: Vim9: error for list index uses wrong line number.
9587Solution: Set source line number. (closes #6724) Add a way to assert the
9588 line number of the error with assert_fails().
9589Files: runtime/doc/testing.txt, src/vim9execute.c, src/testing.c,
9590 src/evalfunc.c, src/message.c, src/globals.h, src/testdir/vim9.vim,
9591 src/testdir/test_vim9_expr.vim
9592
9593Patch 8.2.1480
9594Problem: Vim9: skip expression in search() gives error.
9595Solution: use tv_get_bool() eval_expr_to_bool(). (closes #6729)
9596Files: src/eval.c, src/typval.c, src/proto/typval.pro,
9597 src/testdir/test_vim9_func.vim
9598
9599Patch 8.2.1481
9600Problem: Vim9: line number reported with error may be wrong.
9601Solution: Check line number in tests.
9602Files: src/testdir/test_vim9_expr.vim, src/testdir/vim9.vim,
9603 src/vim9execute.c
9604
9605Patch 8.2.1482
9606Problem: Vim9: crash when using a nested lambda.
9607Solution: Do not clear the growarray when not evaluating. Correct pointer
9608 when getting the next line. (closes #6731)
9609Files: src/eval.c, src/scriptfile.c, src/testdir/test_vim9_expr.vim
9610
9611Patch 8.2.1483
9612Problem: Vim9: error for using special as number when returning "false"
9613 from a popup filter.
9614Solution: Use tv_get_bool(). (closes #6733)
9615Files: src/popupwin.c
9616
9617Patch 8.2.1484
9618Problem: Flaky failure in assert_fails().
9619Solution: Only used fourth argument if there is a third argument.
9620Files: src/testing.c
9621
9622Patch 8.2.1485
9623Problem: Vim9: readdirex() expression doesn't accept bool.
9624Solution: Accept both -1 and bool. (closes #6737)
9625Files: src/filepath.c, src/testdir/test_vim9_func.vim
9626
9627Patch 8.2.1486
9628Problem: Vim9: readdir() expression doesn't accept bool.
9629Solution: Merge with code for readdirex(). (closes #6737)
9630Files: src/filepath.c, src/testdir/test_vim9_func.vim
9631
9632Patch 8.2.1487
9633Problem: Travis: installing snd-dummy is not always useful.
9634Solution: Only install snd-dummy on amd64. (Ozaki Kiichi, closes #6738)
9635Files: .travis.yml, ci/load-snd-dummy.sh
9636
9637Patch 8.2.1488
9638Problem: Text does not scroll when inserting above first line.
9639Solution: Adjust off-by-one error. (Ken Takata, closes #6739)
9640Files: src/drawscreen.c, src/testdir/test_display.vim,
9641 src/testdir/dumps/Test_display_scroll_at_topline.dump
9642
9643Patch 8.2.1489
9644Problem: Vim9: error when setting an option with setbufvar().
9645Solution: Do not get a number from a string value. (closes #6740)
9646Files: src/evalvars.c, src/testdir/test_vim9_func.vim
9647
9648Patch 8.2.1490
9649Problem: Vim9: using /= with float and number doesn't work.
9650Solution: Better support assignment with operator. (closes #6742)
9651Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
9652
9653Patch 8.2.1491
9654Problem: Vim9: crash when compiling heredoc lines start with comment.
9655Solution: Skip over NULL pointers. Do not remove comment and empty lines
9656 when fetching function lines. (closes #6743)
9657Files: src/vim9compile.c, src/scriptfile.c, src/proto/scriptfile.pro,
9658 src/structs.h, src/ex_docmd.c, src/proto/ex_docmd.pro,
9659 src/ex_cmds.h, src/autocmd.c, src/proto/autocmd.pro,
9660 src/ex_getln.c, src/proto/ex_getln.pro, src/userfunc.c,
9661 src/proto/userfunc.pro, src/evalfunc.c,
9662 src/testdir/test_vim9_script.vim
9663
9664Patch 8.2.1492
9665Problem: Build failures.
9666Solution: Move typedef out of #ifdef. Adjust argument types. Discover
9667 America.
9668Files: src/structs.h, src/ex_docmd.c
9669
9670Patch 8.2.1493
9671Problem: Not enough test coverage for the spell file handling.
9672Solution: Add spell file tests. (Yegappan Lakshmanan, closes #6728)
9673Files: src/spellfile.c, src/testdir/test_spellfile.vim
9674
9675Patch 8.2.1494
9676Problem: Missing change to calling eval_getline().
9677Solution: Change last argument.
9678Files: src/eval.c
9679
9680Patch 8.2.1495
9681Problem: "make clean" may delete too many files.
9682Solution: Do not delete $APPDIR. (closes #6751)
9683Files: src/Makefile
9684
9685Patch 8.2.1496
9686Problem: Vim9: cannot use " #" in a mapping.
9687Solution: Do not remove a comment with the EX_NOTRLCOM flag. (closes #6746)
9688Files: src/ex_docmd.c, src/vim9compile.c, src/testdir/test_vim9_cmd.vim
9689
9690Patch 8.2.1497
9691Problem: CursorHold test is flaky. (Jakub Kądziołka)
9692Solution: Use WaitForAssert() (closes #6754)
9693Files: src/testdir/test_autocmd.vim
9694
9695Patch 8.2.1498
9696Problem: On slow systems tests can be flaky.
9697Solution: Use TermWait() instead of term-wait(). (Yegappan Lakshmanan,
9698 closes #6756)
9699Files: src/testdir/test_digraph.vim, src/testdir/test_display.vim,
9700 src/testdir/test_popupwin.vim, src/testdir/test_termcodes.vim,
9701 src/testdir/test_terminal.vim, src/testdir/test_terminal3.vim,
9702 src/testdir/test_writefile.vim
9703
9704Patch 8.2.1499
9705Problem: Vim9: error when using "$" with col().
9706Solution: Reorder getting the column value. (closes #6744)
9707Files: src/eval.c, src/testdir/test_vim9_func.vim
9708
9709Patch 8.2.1500
9710Problem: Vim9: error when using address without a command.
9711Solution: Execute the range itself. (closes #6747)
9712Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
9713
9714Patch 8.2.1501
9715Problem: Vim9: concatenating to constant reverses order.
9716Solution: Generate constant before option, register and environment
9717 variable. (closes #6757)
9718Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
9719
9720Patch 8.2.1502
9721Problem: Vim9: can use += with a :let command at script level.
9722Solution: Give an error.
9723Files: src/evalvars.c, src/testdir/test_vim9_script.vim,
9724 src/testdir/test_vim9_expr.vim
9725
9726Patch 8.2.1503
9727Problem: Vim9: error for an autocmd defined in a :def function in legacy
9728 Vim script.
9729Solution: Don't check the variable type. (closes #6758)
9730Files: src/vim9script.c, src/testdir/test_vim9_script.vim
9731
9732Patch 8.2.1504
9733Problem: Vim9: white space checks are only done for a :def function.
9734Solution: Also do checks at the script level. Adjust the name of a few
9735 error messages.
9736Files: src/userfunc.c, src/errors.h, src/dict.c, src/list.c,
9737 src/vim9compile.c, src/vim9script.c, src/vim9type.c,
9738 src/evalvars.c, src/testdir/test_vim9_expr.vim,
9739 src/testdir/vim9.vim
9740
9741Patch 8.2.1505
9742Problem: Not all file read and writecode is tested.
9743Solution: Add a few tests. (Dominique Pellé, closes #6764)
9744Files: src/testdir/test_eval_stuff.vim, src/testdir/test_fnamemodify.vim,
9745 src/testdir/test_functions.vim
9746
9747Patch 8.2.1506
9748Problem: Vim9: no error when using a number other than 0 or 1 as bool.
9749Solution: Check the number is 0 or 1.
9750Files: src/errors.h, src/typval.c, src/testdir/test_vim9_func.vim
9751
9752Patch 8.2.1507
9753Problem: Using malloc() directly.
9754Solution: Use ALLOC_ONE(). Remove superfluous typecast. (Hussam al-Homsi,
9755 closes #6768)
9756Files: src/eval.c, src/memline.c, src/vimrun.c
9757
9758Patch 8.2.1508
9759Problem: Not all debugger commands covered by tests.
9760Solution: Add tests for going up/down in the stack. (Ben Jackson,
9761 closes #6765)
9762Files: src/testdir/test_debugger.vim
9763
9764Patch 8.2.1509
9765Problem: Vertical separator is cleared when dragging a popup window using a
9766 multi-byte character for the border.
9767Solution: Only clear the character before the window if it is using a
9768 multi-byte character. (closes #6766)
9769Files: src/screen.c
9770
9771Patch 8.2.1510
9772Problem: Using "var" in a :def function may refer to a legacy Vim script
9773 variable.
9774Solution: Require using "s:" to refer to a legacy Vim script variable.
9775 (closes #6771)
9776Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
9777
9778Patch 8.2.1511
9779Problem: Putting a string in Visual block mode ignores multi-byte
9780 characters.
9781Solution: Adjust the column for Visual block mode. (closes #6767)
9782Files: src/register.c, src/testdir/test_visual.vim
9783
9784Patch 8.2.1512
9785Problem: Failure after ternary expression fails.
9786Solution: Restore eval_flags. (Yasuhiro Matsumoto, closes #6776)
9787Files: src/eval.c, src/testdir/test_vimscript.vim,
9788 src/testdir/test_vim9_expr.vim
9789
9790Patch 8.2.1513
9791Problem: Cannot interrupt shell used for filename expansion. (Dominique
9792 Pellé)
9793Solution: Do set tmode in mch_delay(). (closes #6770)
9794Files: src/vim.h, src/os_unix.c, src/proto/os_unix.pro, src/term.c,
9795 src/channel.c, src/if_cscope.c, src/os_amiga.c, src/ui.c,
9796 src/proto/os_amiga.pro, src/os_win32.c, src/proto/os_win32.pro
9797
9798Patch 8.2.1514
9799Problem: Multibyte vertical separator is cleared when dragging a popup
9800 window using a multi-byte character for the border.
9801Solution: Only clear the character before the window if it is double width.
9802 (closes #6766)
9803Files: src/screen.c
9804
9805Patch 8.2.1515
9806Problem: Vim9: can create s:var in legacy script but cannot unlet.
9807Solution: Allow :unlet for legacy script var.
9808Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
9809
9810Patch 8.2.1516
9811Problem: Vim9: error for :exe has wrong line number.
9812Solution: Set line number before calling do_cmdline_cmd(). (closes #6774)
9813Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
9814
9815Patch 8.2.1517
9816Problem: Cannot easily get the character under the cursor.
9817Solution: Add the {chars} argument to strpart().
9818Files: runtime/doc/eval.txt, src/evalfunc.c,
9819 src/testdir/test_functions.vim
9820
9821Patch 8.2.1518
9822Problem: Vim9: cannot assign to local option.
9823Solution: Skip over "&l:" and "&g:". (closes #6749)
9824Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/testdir/vim9.vim,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00009825 src/vim9compile.c, src/testdir/test_vim9_script.vim
Bram Moolenaarc51cf032022-02-26 12:25:45 +00009826
9827Patch 8.2.1519
9828Problem: Vim9: Ex command default range is not set.
9829Solution: When range is not given use default. (closes #6779)
9830Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
9831
9832Patch 8.2.1520
9833Problem: Vim9: CTRL-] used in :def function does not work.
9834Solution: Omit count or prepend colon. (closes #6769)
9835Files: src/normal.c, src/testdir/test_vim9_cmd.vim
9836
9837Patch 8.2.1521
9838Problem: Reading past end of buffer when reading spellfile. (Yegappan
9839 Lakshmanan)
9840Solution: Store the byte length and check for it.
9841Files: src/spellfile.c, src/spell.h
9842
9843Patch 8.2.1522
9844Problem: Not enough test coverage for the spell file handling.
9845Solution: Add spell file tests. (Yegappan Lakshmanan, closes #6763)
9846Files: src/testdir/test_spellfile.vim
9847
9848Patch 8.2.1523
9849Problem: Still not enough test coverage for the spell file handling.
9850Solution: Add spell file tests. (Yegappan Lakshmanan, closes #6790)
9851Files: src/testdir/test_spellfile.vim
9852
9853Patch 8.2.1524
9854Problem: No longer get an error for string concatenation with float.
9855 (Tsuyoshi Cho)
9856Solution: Only convert float for Vim9 script. (closes #6787)
9857Files: src/eval.c, src/testdir/test_eval_stuff.vim
9858
9859Patch 8.2.1525
9860Problem: Messages from tests were not always displayed.
9861Solution: Always show messages, the timing is always useful. (Ken Takata,
9862 closes #6792)
9863Files: src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
9864 src/testdir/Makefile
9865
9866Patch 8.2.1526
9867Problem: Line in testdir Makefile got commented out. (Christian Brabandt)
9868Solution: Revert.
9869Files: src/testdir/Makefile
9870
9871Patch 8.2.1527
9872Problem: Vim9: cannot use a function name as a function reference at script
9873 level.
9874Solution: Check if a name is a function name. (closes #6789)
9875Files: src/evalvars.c, src/testdir/test_vim9_expr.vim,
9876 src/testdir/test_vim9_script.vim
9877
9878Patch 8.2.1528
9879Problem: Vim9: :endif not found after "if false".
9880Solution: When skipping still check for a following command. (closes #6797)
9881Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
9882
9883Patch 8.2.1529
9884Problem: Vim9: :elseif may be compiled when not needed.
9885Solution: Do evaluate the :elseif expression.
9886Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
9887
9888Patch 8.2.1530
9889Problem: Vim9: test fails on MS-Windows.
9890Solution: Skip Ex command inside "if false".
9891Files: src/vim9compile.c
9892
9893Patch 8.2.1531
9894Problem: Vim9: test still fails on MS-Windows.
9895Solution: When skipping expect function to be NULL.
9896Files: src/vim9compile.c
9897
9898Patch 8.2.1532
9899Problem: Compiler warning for conversion of size_t to long.
9900Solution: Add type cast.
9901Files: src/eval.c
9902
9903Patch 8.2.1533
9904Problem: Vim9: error when passing getreginfo() result to setreg().
9905Solution: Use dict_get_bool() for "isunnamed". (closes #6784)
9906Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
9907
9908Patch 8.2.1534
9909Problem: Vim9: type error for argument type is not at call position.
9910Solution: Set the context and stack after checking the arguments.
9911 (issue #6785)
9912Files: src/userfunc.c, src/vim9execute.c, src/testdir/test_vim9_func.vim
9913
9914Patch 8.2.1535
9915Problem: It is not possible to specify cell widths of characters.
9916Solution: Add setcellwidths().
9917Files: runtime/doc/eval.txt, runtime/doc/options.txt,
9918 runtime/doc/usr_41.txt, src/evalfunc.c, src/mbyte.c,
9919 src/proto/mbyte.pro, src/errors.h, src/testdir/test_utf8.vim
9920
9921Patch 8.2.1536
9922Problem: Cannot get the class of a character; emoji widths are wrong in
9923 some environments.
9924Solution: Add charclass(). Update some emoji widths. Add script to check
9925 emoji widths.
9926Files: Filelist, runtime/doc/eval.txt, runtime/doc/usr_41.txt,
9927 src/evalfunc.c, src/mbyte.c, src/proto/mbyte.pro,
9928 src/testdir/emoji_list.vim, src/testdir/test_functions.vim
9929
9930Patch 8.2.1537
Bram Moolenaar1588bc82022-03-08 21:35:07 +00009931Problem: Memory access error when using setcellwidths().
Bram Moolenaarc51cf032022-02-26 12:25:45 +00009932Solution: Use array and pointers correctly.
9933Files: src/mbyte.c, src/errors.h, src/testdir/test_utf8.vim
9934
9935Patch 8.2.1538
9936Problem: Python: iteration over vim objects fails to keep reference.
9937Solution: Keep a reference for the object. (Paul Ollis, closes #6803,
9938 closes #6806)
9939Files: src/if_py_both.h, src/testdir/test_python3.vim
9940
9941Patch 8.2.1539
9942Problem: Using invalid script ID causes a crash.
9943Solution: Check the script ID to be valid. (closes #6804)
9944Files: src/globals.h, src/evalvars.c, src/profiler.c, src/scriptfile.c,
9945 src/vim9compile.c, src/testdir/test_vim9_script.vim
9946
9947Patch 8.2.1540
9948Problem: The user cannot try out emoji character widths.
9949Solution: Move the emoji script to the runtime/tools directory.
9950Files: Filelist, src/testdir/emoji_list.vim, runtime/tools/emoji_list.vim
9951
9952Patch 8.2.1541
9953Problem: Vim9: cannot find function reference for s:Func.
9954Solution: Recognize <SNR> prefix. (closes #6805)
9955Files: src/userfunc.c, src/vim9execute.c,
9956 src/testdir/test_vim9_script.vim
9957
9958Patch 8.2.1542
9959Problem: Vim9: test with invalid SID does not work in the GUI.
9960Solution: Skip the test in the GUI.
9961Files: src/testdir/test_vim9_script.vim
9962
9963Patch 8.2.1543
9964Problem: Vim9: test with invalid SID is skipped in the GUI.
9965Solution: Read the CTRL-C that feedkeys() put in typeahead.
9966Files: src/testdir/test_vim9_script.vim
9967
9968Patch 8.2.1544
9969Problem: Cannot translate messages in a Vim script.
9970Solution: Add gettext(). Try it out for a few messages in the options
9971 window.
9972Files: Filelist, src/po/Makefile, src/po/README.txt, runtime/optwin.vim,
9973 src/evalfunc.c, src/po/tojavascript.vim, src/po/fixfilenames.vim,
9974 runtime/doc/eval.txt, runtime/doc/usr_41.txt
9975
9976Patch 8.2.1545
9977Problem: ch_logfile() is unclear about closing when forking.
9978Solution: Adjust the log messages.
9979Files: src/channel.c, src/os_unix.c
9980
9981Patch 8.2.1546
9982Problem: Build rule for Vim.app is unused.
9983Solution: Delete the related build rules.
9984Files: src/Makefile
9985
9986Patch 8.2.1547
9987Problem: Various comment problems.
9988Solution: Update comments.
9989Files: src/arglist.c, src/map.c, src/mbyte.c, src/tag.c, src/undo.c,
9990 src/testdir/README.txt, src/testdir/test_put.vim,
9991 src/libvterm/README
9992
9993Patch 8.2.1548
9994Problem: Cannot move position of "%%" in message translations. (Emir Sarı)
9995Solution: Improve the check script.
9996Files: src/po/check.vim
9997
9998Patch 8.2.1549
9999Problem: The "r" command fails for keys with modifiers if 'esckeys' is off
10000 and modifyOtherKeys is used. (Lauri Tirkkonen)
10001Solution: Temporarily disable bracketed paste and modifyOtherKeys if
10002 'esckeys' is off. (closes #6809)
10003Files: src/normal.c
10004
10005Patch 8.2.1550
10006Problem: Vim9: bufname('%') gives an error.
10007Solution: Only give an error for wrong argument type. (closes #6807)
10008Files: src/evalbuffer.c, src/testdir/test_vim9_func.vim
10009
10010Patch 8.2.1551
10011Problem: Vim9: error for argument type does not mention the number.
10012Solution: Pass the argument number to where the error is given.
10013Files: src/vim9type.c, src/proto/vim9type.pro, src/vim9compile.c,
10014 src/vim9execute.c, src/vim9script.c, src/eval.c,
10015 src/testdir/test_vim9_func.vim
10016
10017Patch 8.2.1552
10018Problem: Warnings from asan with clang-11. (James McCoy)
10019Solution: Avoid using a NULL pointer. (issue #6811)
10020Files: src/fold.c
10021
10022Patch 8.2.1553 (after 8.2.1552)
10023Problem: Crash in edit test.
10024Solution: Avoid using invalid pointer.
10025Files: src/fold.c
10026
10027Patch 8.2.1554
10028Problem: Crash in normal test.
10029Solution: Skip adjusting marks if there are no folds.
10030Files: src/fold.c
10031
10032Patch 8.2.1555
10033Problem: Not all tests are executed on Github Actions.
10034Solution: Copy "src" to "src2" earlier. Recognize "src2" in a couple more
10035 places. Add two tests to the list of flaky tests. (Ken Takata,
10036 closes #6798)
10037Files: .github/workflows/ci-windows.yaml, src/testdir/runtest.vim,
10038 src/testdir/test_python2.vim, src/testdir/test_python3.vim
10039
10040Patch 8.2.1556
10041Problem: Cursorline highlighting always overrules sign highlighting.
10042Solution: Combine the highlighting, use the priority to decide how.
10043 (closes #6812)
10044Files: runtime/doc/sign.txt, src/structs.h, src/drawline.c,
10045 runtime/pack/dist/opt/termdebug/plugin/termdebug.vim,
10046 src/testdir/test_signs.vim,
10047 src/testdir/dumps/Test_sign_cursor_5.dump,
10048 src/testdir/dumps/Test_sign_cursor_6.dump
10049
10050Patch 8.2.1557
10051Problem: Crash in :vimgrep when started as "vim -n". (Raul Segura)
10052Solution: Check mfp pointer. (Yegappan Lakshmanan, closes #6827)
10053Files: src/quickfix.c, src/testdir/test_quickfix.vim
10054
10055Patch 8.2.1558
10056Problem: Signs test fails.
10057Solution: Add missing change to sign.c.
10058Files: src/sign.c
10059
10060Patch 8.2.1559
10061Problem: s390x tests work again.
10062Solution: re-enable s390x tests. (James McCoy, closes #6829)
10063Files: .travis.yml
10064
10065Patch 8.2.1560
10066Problem: Using NULL pointers in some code. (James McCoy)
10067Solution: Avoid adding to a NULL pointer. Use byte as unsigned.
10068Files: src/fold.c, src/eval.c, src/spellsuggest.c, src/spellfile.c,
10069 src/vim9compile.c
10070
10071Patch 8.2.1561
10072Problem: Using NULL pointers in fold code.
10073Solution: Avoid using a NULL pointer. (Dominique Pellé, closes #6831,
10074 closes #6831)
10075Files: src/fold.c
10076
10077Patch 8.2.1562
10078Problem: Vim9: error when using "%" where a buffer is expected.
10079Solution: Add tv_get_buf_from_arg(). (closes #6814)
10080Files: src/typval.c, src/proto/typval.pro, src/evalbuffer.c,
10081 src/testdir/test_vim9_func.vim
10082
10083Patch 8.2.1563
10084Problem: Vim9: error when using '%" with setbufvar() or getbufvar().
10085Solution: Use tv_get_buf_from_arg(). (closes #6816)
10086Files: src/evalvars.c, src/testdir/test_vim9_func.vim
10087
10088Patch 8.2.1564
10089Problem: A few remaining errors from ubsan.
10090Solution: Avoid the warnings. (Dominique Pellé, closes #6837)
10091Files: src/spellfile.c, src/spellsuggest.c, src/viminfo.c
10092
10093Patch 8.2.1565
10094Problem: Spellfile test sometimes fails.
10095Solution: Check running into the end of the file.
10096Files: src/spellfile.c
10097
10098Patch 8.2.1566
10099Problem: Not all Bazel files are recognized.
10100Solution: Add *.bazel and *.BUILD. (closes #6836)
10101Files: runtime/filetype.vim, src/testdir/test_filetype.vim
10102
10103Patch 8.2.1567
10104Problem: No example to use ubsan with clang.
10105Solution: Add example commands. (Dominique Pellé, issue #6811)
10106Files: src/Makefile
10107
10108Patch 8.2.1568
10109Problem: prop_find() skips properties in the same line if "skipstart" is
10110 used.
10111Solution: Use "continue" instead of "break". (closes #6840)
10112Files: src/textprop.c, src/testdir/test_textprop.vim
10113
10114Patch 8.2.1569
10115Problem: Vim9: fixes for functions not tested; failure in getchangelist().
10116Solution: Add tests. (closes #6813, closes #6815, closes #6817)
10117Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10118
10119Patch 8.2.1570
10120Problem: Configure check for dirfd() does not work on HPUX. (Michael Osipov)
10121Solution: Use AC_TRY_LINK instead of AC_TRY_COMPILE. (closes #6838)
10122Files: src/configure.ac, src/auto/configure, src/fileio.c, src/globals.h
10123
10124Patch 8.2.1571
10125Problem: Vim9: count() third argument cannot be "true".
10126Solution: Use tv_get_bool_chk(). (closes #6818)
10127Files: src/typval.c, src/list.c, src/testdir/test_vim9_func.vim
10128
10129Patch 8.2.1572
10130Problem: Vim9: expand() does not take "true" as argument.
10131Solution: Use tv_get_bool_chk(). (closes #6819)
10132Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10133
10134Patch 8.2.1573
10135Problem: Vim9: getreg() does not take "true" as argument.
10136Solution: Use tv_get_bool_chk(). (closes #6820)
10137Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10138
10139Patch 8.2.1574
10140Problem: Vim9: glob() does not take "true" as argument.
10141Solution: Use tv_get_bool_chk(). (closes #6821)
10142Files: src/filepath.c, src/testdir/test_vim9_func.vim
10143
10144Patch 8.2.1575
10145Problem: Vim9: globpath() does not take "true" as argument.
10146Solution: Use tv_get_bool_chk(). (closes #6821)
10147Files: src/filepath.c, src/testdir/test_vim9_func.vim
10148
10149Patch 8.2.1576
10150Problem: Vim9: index() does not take "true" as argument.
10151Solution: Use tv_get_bool_chk(). (closes #6823)
10152Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10153
10154Patch 8.2.1577
10155Problem: Vim9: hasmapto(), mapcheck() and maparg() do not take "true" as
10156 argument.
10157Solution: Use tv_get_bool(). (closes #6822, closes #6824)
10158Files: src/evalfunc.c, src/map.c, src/testdir/test_vim9_func.vim
10159
10160Patch 8.2.1578
10161Problem: Vim9: popup_clear() does not take "true" as argument.
10162Solution: Use tv_get_bool(). (closes #6826)
10163Files: src/popupwin.c, src/testdir/test_popupwin.vim
10164
10165Patch 8.2.1579
10166Problem: Reports from asan are not optimal.
10167Solution: Use clang with ubsan. (James McCoy, closes #6811)
10168Files: .travis.yml
10169
10170Patch 8.2.1580
10171Problem: Wildmenu does not work properly.
10172Solution: Do not call may_do_incsearch_highlighting() if completion is in
10173 progress.
10174Files: src/ex_getln.c, src/testdir/test_cmdline.vim,
10175 src/testdir/dumps/Test_wildmenu_1.dump,
10176 src/testdir/dumps/Test_wildmenu_2.dump,
10177 src/testdir/dumps/Test_wildmenu_3.dump,
10178 src/testdir/dumps/Test_wildmenu_4.dump
10179
10180Patch 8.2.1581
10181Problem: Using line() for global popup window doesn't work.
10182Solution: Set tabpage to "curtab". (closes #6847)
10183Files: src/evalwindow.c, src/testdir/test_popupwin.vim
10184
10185Patch 8.2.1582
10186Problem: The channel log does not show typed text.
10187Solution: Add raw typed text to the log file.
10188Files: src/ui.c, src/os_win32.c
10189
10190Patch 8.2.1583
10191Problem: MS-Windows: cannot easily measure code coverage.
10192Solution: Add the COVERAGE option. (Ken Takata, closes #6842)
10193Files: src/Make_cyg_ming.mak
10194
10195Patch 8.2.1584
10196Problem: Vim9: cannot use "true" for "skipstart" in prop_find().
10197Solution: Use dict_get_bool() instead of tv_get_number(). (closes #6852)
10198Files: src/textprop.c, src/testdir/test_textprop.vim
10199
10200Patch 8.2.1585
10201Problem: Messages in errors.h not translated, xgettext on MS-Windows not
10202 fully supported.
10203Solution: Add errors.h to list of input files. Update MS-Windows makefiles
10204 to improve message translations. (Ken Takata, closes #6858)
10205Files: src/po/Make_cyg.mak, src/po/Make_ming.mak, src/po/Make_mvc.mak,
10206 src/po/Makefile, src/po/README.txt, src/po/fixfilenames.vim
10207
10208Patch 8.2.1586
10209Problem: :resize command not fully tested.
10210Solution: Add a couple of tests. (Dominique Pellé, closes #6857)
10211Files: src/testdir/test_window_cmd.vim
10212
10213Patch 8.2.1587
10214Problem: Loop for handling keys for the command line is too long.
10215Solution: Move wild menu handling to separate functions. (Yegappan
10216 Lakshmanan, closes #6856)
10217Files: src/cmdexpand.c, src/proto/cmdexpand.pro, src/ex_getln.c
10218
10219Patch 8.2.1588
10220Problem: Cannot read back the prompt of a prompt buffer.
10221Solution: Add prompt_getprompt(). (Ben Jackson, closes #6851)
10222Files: runtime/doc/channel.txt, runtime/doc/eval.txt,
10223 runtime/doc/usr_41.txt, src/channel.c, src/edit.c, src/evalfunc.c,
10224 src/proto/channel.pro, src/proto/edit.pro,
10225 src/testdir/test_prompt_buffer.vim
10226
10227Patch 8.2.1589
10228Problem: Term_start() options for size are overruled by 'termwinsize'.
10229 (Sergey Vlasov)
10230Solution: Set 'termwinsize' to the specified size.
10231Files: src/terminal.c, src/testdir/test_terminal2.vim,
10232 src/testdir/term_util.vim
10233
10234Patch 8.2.1590
10235Problem: Vim9: bufnr() doesn't take "true" argument.
10236Solution: use tv_get_bool_chk(). (closes #6863)
10237Files: src/evalbuffer.c, src/testdir/test_vim9_func.vim
10238
10239Patch 8.2.1591
10240Problem: Using winheight('.') in tests works but is wrong.
10241Solution: Use winheight(0). (issue #6863)
10242Files: src/testdir/test_functions.vim, src/testdir/test_quickfix.vim
10243
10244Patch 8.2.1592
10245Problem: Vim9: passing "true" to char2nr() fails.
10246Solution: Use tv_get_bool_chk(). (closes #6865)
10247Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10248
10249Patch 8.2.1593
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010250Problem: Tests do not check the error number properly.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010251Solution: Add a colon after the error number. (closes #6869)
10252Files: src/testdir/test_assert.vim, src/testdir/test_autocmd.vim,
10253 src/testdir/test_backspace_opt.vim, src/testdir/test_channel.vim,
10254 src/testdir/test_clientserver.vim, src/testdir/test_cmdline.vim,
10255 src/testdir/test_const.vim, src/testdir/test_cscope.vim,
10256 src/testdir/test_eval_stuff.vim, src/testdir/test_functions.vim,
10257 src/testdir/test_global.vim, src/testdir/test_gui.vim,
10258 src/testdir/test_hlsearch.vim, src/testdir/test_lambda.vim,
10259 src/testdir/test_let.vim, src/testdir/test_listdict.vim,
10260 src/testdir/test_move.vim, src/testdir/test_normal.vim,
10261 src/testdir/test_popupwin.vim, src/testdir/test_put.vim,
10262 src/testdir/test_quickfix.vim, src/testdir/test_rename.vim,
10263 src/testdir/test_search.vim, src/testdir/test_signs.vim,
10264 src/testdir/test_substitute.vim, src/testdir/test_syntax.vim,
10265 src/testdir/test_tagfunc.vim, src/testdir/test_tagjump.vim,
10266 src/testdir/test_taglist.vim, src/testdir/test_terminal.vim,
10267 src/testdir/test_terminal2.vim, src/testdir/test_textprop.vim,
10268 src/testdir/test_timers.vim, src/testdir/test_true_false.vim,
10269 src/testdir/test_user_func.vim, src/testdir/test_vim9_func.vim,
10270 src/testdir/test_vim9_script.vim, src/testdir/test_vimscript.vim,
10271 src/testdir/test_winbar.vim, src/testdir/test_winbuf_close.vim,
10272 src/testdir/test_window_cmd.vim, src/testdir/test_writefile.vim
10273
10274Patch 8.2.1594
10275Problem: Pull requests on github do not notify a maintainer.
10276Solution: Add a CODEOWNERS file with a few initial entries.
10277Files: Filelist, .github/CODEOWNERS
10278
10279Patch 8.2.1595
10280Problem: Cannot easily see what Vim sends to the terminal.
10281Solution: Write output to the channel log if it contains terminal control
10282 sequences. Avoid warnings for tputs() argument.
10283Files: src/term.c, src/globals.h, src/edit.c, src/normal.c,
10284 src/optionstr.c
10285
10286Patch 8.2.1596
10287Problem: Using win_screenpos('.') in tests works but is wrong.
10288Solution: Use win_screenpos(0).
10289Files: src/testdir/test_terminal3.vim
10290
10291Patch 8.2.1597
10292Problem: The channel source file is too big.
10293Solution: Move job related code to a new source file.
10294Files: Filelist, src/Makefile, src/Make_mvc.mak, src/Make_cyg_ming.mak,
10295 src/channel.c, src/proto/channel.pro, src/job.c,
10296 src/proto/job.pro, src/proto.h, src/edit.c, src/proto/edit.pro,
10297 src/globals.h, src/configure.ac, src/auto/configure
10298
10299Patch 8.2.1598
10300Problem: Starting a hidden terminal resizes the current window.
10301Solution: Do not resize the current window for a hidden terminal.
10302 (closes #6872)
10303Files: src/terminal.c, src/testdir/test_terminal2.vim
10304
10305Patch 8.2.1599
10306Problem: Missing line end when skipping a long line with :cgetfile.
10307Solution: Fix off-by-one error. (closes #6870)
10308Files: src/quickfix.c, src/testdir/test_quickfix.vim
10309
10310Patch 8.2.1600
10311Problem: Vim9: cannot use "true" with deepcopy().
10312Solution: Use tv_get_bool_chk(). (closes #6867)
10313Files: src/evalfunc.c, src/testdir/test_vim9_func.vim,
10314 src/testdir/test_listdict.vim
10315
10316Patch 8.2.1601
10317Problem: Vim9: cannot use "true" with garbagecollect().
10318Solution: Use tv_get_bool(). (closes #6871)
10319Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10320
10321Patch 8.2.1602
10322Problem: Vim9: cannot use "true" with getbufinfo().
10323Solution: Use dict_get_bool(). (closes #6873)
10324Files: src/evalbuffer.c, src/testdir/test_vim9_func.vim
10325
10326Patch 8.2.1603
10327Problem: Vim9: cannot use "true" with getchar().
10328Solution: use tv_get_bool_chk(). (closes #6874)
10329Files: src/getchar.c, src/testdir/test_vim9_func.vim
10330
10331Patch 8.2.1604
10332Problem: Vim9: cannot use "true" with getcompletion().
10333Solution: use tv_get_bool_chk(). (closes #6875)
10334Files: src/cmdexpand.c, src/testdir/test_vim9_func.vim
10335
10336Patch 8.2.1605
10337Problem: Default maintainer on github is wrong.
10338Solution: Use Bram's account.
10339Files: .github/CODEOWNERS
10340
10341Patch 8.2.1606
10342Problem: Vim9: cannot use "true" with has().
10343Solution: Use tv_get_bool(). (closes #6876)
10344Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10345
10346Patch 8.2.1607
10347Problem: Vim9: getchar() test fails on MS-Windows.
10348Solution: First consume any available input.
10349Files: src/testdir/test_vim9_func.vim
10350
10351Patch 8.2.1608
10352Problem: Vim9: getchar() test fails with GUI.
10353Solution: Avoid that getchar(0) gets stuck on K_IGNORE.
10354Files: src/getchar.c
10355
10356Patch 8.2.1609
10357Problem: Vim9: test fails when build without +channel.
10358Solution: Add check for +channel. (closes #6879)
10359Files: src/testdir/test_vim9_expr.vim
10360
10361Patch 8.2.1610
10362Problem: Vim9: cannot pass "true" to list2str() and str2list().
10363Solution: Use tv_get_bool_chk(). (closes #6877)
10364Files: src/evalfunc.c, src/list.c, src/testdir/test_vim9_func.vim
10365
10366Patch 8.2.1611
10367Problem: Vim9: cannot pass "true" to nr2char().
10368Solution: use tv_get_bool_chk(). (closes #6878)
10369Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10370
10371Patch 8.2.1612
10372Problem: Vim9: cannot pass "true" to prop_remove().
10373Solution: Use dict_get_bool(). (closes #6853)
10374Files: src/textprop.c, src/testdir/test_textprop.vim
10375
10376Patch 8.2.1613
10377Problem: Vim9: cannot pass "true" to prop_type_add().
10378Solution: Use tv_get_bool(). (closes #6850)
10379Files: src/textprop.c, src/testdir/test_textprop.vim
10380
10381Patch 8.2.1614
10382Problem: Vim9: cannot pass "true" to searchcount().
10383Solution: Use tv_get_bool_chk(). (closes #6854)
10384Files: src/search.c, src/testdir/test_vim9_func.vim
10385
10386Patch 8.2.1615
10387Problem: Vim9: cannot pass "true" to searchdecl().
10388Solution: use tv_get_bool_chk(). (closes #6881)
10389Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10390
10391Patch 8.2.1616
10392Problem: Vim9: cannot pass "true" to synID().
10393Solution: Use tv_get_bool_chk(). (closes #6860)
10394Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10395
10396Patch 8.2.1617
10397Problem: Vim9: cannot pass "true" to win_splitmove().
10398Solution: Use dict_get_bool(). (closes #6862) Alphabetize test functions.
10399Files: src/evalwindow.c, src/testdir/test_vim9_func.vim
10400
10401Patch 8.2.1618
10402Problem: Vim9: cannot pass "true" to setloclist().
10403Solution: Use dict_get_bool(). (closes #6882)
10404Files: src/quickfix.c, src/testdir/test_vim9_func.vim
10405
10406Patch 8.2.1619
10407Problem: Vim9: cannot pass "true" to spellsuggest().
10408Solution: Use tv_get_bool_chk(). (closes #6883)
10409Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10410
10411Patch 8.2.1620
10412Problem: searchcount() test fails.
10413Solution: Restore default flag value.
10414Files: src/search.c
10415
10416Patch 8.2.1621
10417Problem: Crash when using submatch(0, 1) in substitute().
10418Solution: Increment reference count. (closes #6887)
10419Files: src/regexp.c, src/testdir/test_substitute.vim
10420
10421Patch 8.2.1622
10422Problem: Loop to handle keys for the command line is too long.
10423Solution: Move code to functions. (Yegappan Lakshmanan, closes #6880)
10424Files: src/ex_getln.c
10425
10426Patch 8.2.1623
10427Problem: Vim9: using :call where it is not needed.
10428Solution: Remove :call. (closes #6892)
10429Files: src/testdir/test_maparg.vim, src/testdir/test_textprop.vim,
10430 src/testdir/test_vim9_disassemble.vim,
10431 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
10432 src/testdir/test_vim9_script.vim
10433
10434Patch 8.2.1624
10435Problem: Vim9: cannot pass "true" to split(), str2nr() and strchars().
10436Solution: Use tv_get_bool_chk(). (closes #6884, closes #6885, closes #6886)
10437Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10438
10439Patch 8.2.1625
10440Problem: Compiler warning for use of fptr_T.
10441Solution: Make the type less strict.
10442Files: src/regexp.c
10443
10444Patch 8.2.1626
10445Problem: Test for strchars() fails with different error number.
10446Solution: Adjust the error number.
10447Files: src/testdir/test_utf8.vim
10448
10449Patch 8.2.1627
10450Problem: Vim9: cannot pass "true" to submatch(), term_gettty() and
10451 term_start()
10452Solution: Use tv_get_bool_chk(). (closes #6888, closes #6890, closes #6889)
10453Files: src/evalfunc.c, src/terminal.c, src/job.c,
10454 src/testdir/test_vim9_func.vim
10455
10456Patch 8.2.1628
10457Problem: Vim9: cannot pass "true" to timer_paused().
10458Solution: Use tv_get_bool(). (closes #6891)
10459Files: src/time.c, src/testdir/test_vim9_func.vim
10460
10461Patch 8.2.1629
10462Problem: Test fails without terminal feature.
10463Solution: Check for terminal feature.
10464Files: src/testdir/test_vim9_func.vim
10465
10466Patch 8.2.1630
10467Problem: Terminal test fails.
10468Solution: Correct argument to term_start(). Correct error number.
10469Files: src/testdir/test_terminal.vim, src/testdir/test_terminal2.vim
10470
10471Patch 8.2.1631
10472Problem: test_fails() does not check the context of the line number.
10473Solution: Use another argument to specify the context of the line number.
10474Files: runtime/doc/testing.txt, runtime/doc/eval.txt,
10475 src/testdir/test_vim9_func.vim, src/testing.c, src/globals.h,
10476 src/evalfunc.c, src/message.c
10477
10478Patch 8.2.1632
10479Problem: Not checking the context of test_fails().
10480Solution: Add the line number and context arguments. Give error if
10481 assert_fails() argument types are wrong.
10482Files: src/testing.c, src/errors.h, src/testdir/test_assert.vim,
10483 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
10484
10485Patch 8.2.1633
10486Problem: Some error messages are internal but do not use iemsg().
10487Solution: Use iemsg(). (Dominique Pellé, closes #6894)
10488Files: src/regexp.c, src/regexp_bt.c, src/regexp_nfa.c
10489
10490Patch 8.2.1634
10491Problem: Loop to handle keys for the command line is too long.
10492Solution: Move a few more parts to separate functions. (Yegappan Lakshmanan,
10493 closes #6895)
10494Files: src/ex_getln.c, src/testdir/test_cmdline.vim
10495
10496Patch 8.2.1635
10497Problem: No digraph for 0x2022 BULLET.
10498Solution: Use "oo". (Hans Ginzel, closes #6904)
10499Files: src/digraph.c, runtime/doc/digraph.txt
10500
10501Patch 8.2.1636
10502Problem: Get stuck if a popup filter causes an error.
10503Solution: Check whether the function can be called and does not cause an
10504 error. (closes #6902)
10505Files: src/structs.h, src/popupwin.c, src/testdir/test_popupwin.vim
10506 src/testdir/dumps/Test_popupwin_wrong_name.dump,
10507 src/testdir/dumps/Test_popupwin_three_errors_1.dump,
10508 src/testdir/dumps/Test_popupwin_three_errors_2.dump
10509
10510Patch 8.2.1637
10511Problem: Vim9: :put ={expr} does not work inside :def function.
10512Solution: Add ISN_PUT. (closes #6397)
10513Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/register.c,
10514 src/proto/register.pro, src/edit.c, src/ex_docmd.c, src/mouse.c,
10515 src/normal.c, src/testdir/test_vim9_cmd.vim,
10516 src/testdir/test_vim9_disassemble.vim
10517
10518Patch 8.2.1638
10519Problem: Leaking memory when popup filter function can't be called.
10520Solution: Don't return too soon.
10521Files: src/popupwin.c
10522
10523Patch 8.2.1639
10524Problem: Options window cannot be translated.
10525Solution: Get the translation for "local to" texts once and use them in many
10526 places. Fix that 'whichwrap' is not a local option. (issue #6800)
10527Files: runtime/optwin.vim
10528
10529Patch 8.2.1640
10530Problem: Amiga: missing header for getgrgid().
10531Solution: Add the grp.h header. (Ola Söder, closes #6906)
10532Files: src/os_amiga.h
10533
10534Patch 8.2.1641
10535Problem: Vim9: cannot use 0 or 1 where a bool is expected.
10536Solution: Allow using 0 and 1 for a bool type. (closes #6903)
10537Files: src/vim9compile.c, src/vim9type.c, src/proto/vim9type.pro,
10538 src/structs.h, src/testdir/test_vim9_script.vim
10539
10540Patch 8.2.1642
10541Problem: Options test fails.
10542Solution: Correct call to OptionG().
10543Files: runtime/optwin.vim
10544
10545Patch 8.2.1643
10546Problem: Vim9: :defcompile compiles dead functions.
10547Solution: Skip over dead functions.
10548Files: src/userfunc.c
10549
10550Patch 8.2.1644
10551Problem: Vim9: cannot assign 1 and 0 to bool at script level.
10552Solution: Add the TTFLAG_BOOL_OK flag to the type. Fix name of test
10553 function.
10554Files: src/vim9type.c, src/testdir/test_vim9_script.vim,
10555 src/testdir/vim9.vim, src/testdir/test_vim9_expr.vim
10556
10557Patch 8.2.1645
10558Problem: GTK3: icons become broken images when resized.
10559Solution: Use gtk_image_new_from_icon_name(). (closes #6916)
10560 Fix compiler warnings.
10561Files: src/gui_gtk_x11.c
10562
10563Patch 8.2.1646
10564Problem: Amiga: Unnecessary #include.
10565Solution: Remove the #include. (Ola Söder, closes #6908)
10566Files: src/version.c
10567
10568Patch 8.2.1647
10569Problem: Vim9: result of expression with && and || cannot be assigned to a
10570 bool variable.
10571Solution: Add the TTFLAG_BOOL_OK flag and convert the value if needed.
10572Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
10573 src/testdir/test_vim9_disassemble.vim
10574
10575Patch 8.2.1648
10576Problem: Amiga: no common build file for Amiga (-like) systems.
10577Solution: Turn Make_morph.mak into Make_ami.mak. (Ola Söder, closes #6805)
10578Files: Filelist, src/Make_ami.mak, src/Make_morph.mak, src/INSTALLami.txt
10579
10580Patch 8.2.1649
10581Problem: GTK3: using old file chooser.
10582Solution: Use native file chooser on GTK 3.20 and above. (Yogeshwar
10583 Velingker, closes #6909)
10584Files: src/gui_gtk.c
10585
10586Patch 8.2.1650
10587Problem: Vim9: result of && and || expression cannot be assigned to a bool
10588 at the script level.
10589Solution: Add the VAR_BOOL_OK flag. Convert to bool when needed.
10590Files: src/structs.h, src/vim9type.c, src/proto/vim9type.pro,
10591 src/vim9script.c, src/evalvars.c, src/eval.c,
10592 src/testdir/test_vim9_script.vim
10593
10594Patch 8.2.1651
10595Problem: Spellfile code not completely tested.
10596Solution: Add a few more test cases. (Yegappan Lakshmanan, closes #6918)
10597Files: src/testdir/test_spellfile.vim
10598
10599Patch 8.2.1652
10600Problem: Cannot translate lines in the options window.
10601Solution: Use the AddOption() function to split descriptions where indicated
10602 by a line break. (issue #6800)
10603Files: runtime/optwin.vim
10604
10605Patch 8.2.1653
10606Problem: Expand('<stack>') does not include the final line number.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010607Solution: Add the line number. (closes #6927)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010608Files: src/vim.h, src/scriptfile.c, src/proto/scriptfile.pro,
10609 src/debugger.c, src/ex_docmd.c, src/ex_eval.c, src/message.c,
10610 src/testing.c, src/testdir/test_expand_func.vim
10611
10612Patch 8.2.1654
10613Problem: When job writes to hidden buffer current window has display
10614 errors. (Johnny McArthur)
10615Solution: Use aucmd_prepbuf() instead of switch_to_win_for_buf().
10616 (closes #6925)
10617Files: src/channel.c
10618
10619Patch 8.2.1655
10620Problem: Cannot build with Strawberry Perl 5.32.0.
10621Solution: Use Perl_sv_2pvbyte_flags. (closes #6921)
10622Files: src/if_perl.xs
10623
10624Patch 8.2.1656
10625Problem: Vim9: callstack wrong if :def function calls :def function.
10626Solution: Set the line number before calling. (closes #6914)
10627Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
10628
10629Patch 8.2.1657
10630Problem: Vim9: no proper error for nested ":def!".
10631Solution: Check for "!". (closes #6920)
10632Files: src/errors.h, src/vim9compile.c, src/testdir/test_vim9_func.vim
10633
10634Patch 8.2.1658
10635Problem: Expand('<stack>') has trailing "..".
10636Solution: Remove the "..". (closes #6927)
10637Files: src/scriptfile.c, src/testdir/test_expand_func.vim
10638
10639Patch 8.2.1659
10640Problem: Spellfile code not completely tested.
10641Solution: Add a few more test cases. (Yegappan Lakshmanan, closes #6929)
10642Files: src/testdir/test_spell.vim, src/testdir/test_spellfile.vim
10643
10644Patch 8.2.1660
10645Problem: Assert functions require passing expected result as the first
10646 argument, which isn't obvious.
10647Solution: Use a method, as in "runtest()->assert_equal(expected)".
10648Files: src/testdir/test_vim9_func.vim
10649
10650Patch 8.2.1661
10651Problem: Cannot connect to 127.0.0.1 for host with only IPv6 addresses.
10652Solution: pass AI_V4MAPPED flag to getaddrinfo. (Filipe Brandenburger,
10653 closes #6931)
10654Files: src/channel.c
10655
10656Patch 8.2.1662
10657Problem: :mksession does not restore shared terminal buffer properly.
10658Solution: Keep a hashtab with terminal buffers. (Rob Pilling, closes #6930)
10659Files: src/hashtab.c, src/proto/terminal.pro, src/session.c,
10660 src/terminal.c, src/testdir/test_mksession.vim
10661
10662Patch 8.2.1663
10663Problem: Options window entries cannot be translated.
10664Solution: Use AddOption() for all explanations. (closes #6800)
10665Files: runtime/optwin.vim
10666
10667Patch 8.2.1664
10668Problem: Memory leak when using :mkview with a terminal buffer.
10669Solution: Don't use a hastab for :mkview. (Rob Pilling, closes #6935)
10670Files: src/session.c, src/terminal.c, src/testdir/test_mksession.vim
10671
10672Patch 8.2.1665
10673Problem: Cannot do fuzzy string matching.
10674Solution: Add matchfuzzy(). (Yegappan Lakshmanan, closes #6932)
10675Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
10676 src/proto/search.pro, src/search.c, src/testdir/test_functions.vim
10677
10678Patch 8.2.1666
10679Problem: The initial value of 'backupskip' can have duplicate items.
10680Solution: Remove duplicates, like when it is set later. (Tom Ryder,
10681 closes #6940)
10682Files: src/option.c, src/testdir/test_options.vim
10683
10684Patch 8.2.1667
10685Problem: Local function name cannot shadow a global function name.
10686Solution: Ignore global functions when checking a script-local or scoped
10687 function name. (closes #6926)
10688Files: src/vim9compile.c, src/userfunc.c, src/proto/userfunc.pro,
10689 src/testdir/test_vim9_func.vim
10690
10691Patch 8.2.1668
10692Problem: Vim9: not accepting 0 or 1 as bool when type is any.
10693Solution: Convert the type with the CHECKTYPE instruction. (closes #6913)
10694Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
10695
10696Patch 8.2.1669
10697Problem: Vim9: memory leak when storing a value fails.
10698Solution: Free the value when not storing it.
10699Files: src/evalvars.c
10700
10701Patch 8.2.1670
10702Problem: A couple of gcc compiler warnings.
10703Solution: Initialize local variables. (Dominique Pellé, closes #6944)
10704Files: src/memline.c, src/option.c
10705
10706Patch 8.2.1671
10707Problem: Vim9: stray error for missing white space.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010708Solution: Do not skip over white space after member. (closes #6917)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010709Files: src/eval.c, src/testdir/test_vim9_expr.vim
10710
10711Patch 8.2.1672
10712Problem: v_lock is used when it is not initialized. (Yegappan Lakshmanan)
10713Solution: Initialize the typval in eval1().
10714Files: src/eval.c
10715
10716Patch 8.2.1673
10717Problem: complete_info() selected index has an invalid value. (Ben Jackson)
10718Solution: Set the index when there is only one match. (closes #6945)
10719 Add test for complete_info().
10720Files: src/insexpand.c, src/testdir/test_ins_complete.vim
10721
10722Patch 8.2.1674
10723Problem: Vim9: internal error when using variable that was not set.
10724Solution: Give a meaningful error. (closes #6937)
10725Files: src/vim9script.c, src/testdir/test_vim9_script.vim
10726
10727Patch 8.2.1675
10728Problem: MinGW: testdir makefile deletes non-existing file.
10729Solution: Use another way to delete the output file if it already exists.
10730 (Michael Soyka)
10731Files: src/testdir/Make_ming.mak
10732
10733Patch 8.2.1676
10734Problem: Compiler warnings for function typecast.
10735Solution: Add an intermediate cast to "void *".
10736Files: src/os_unix.c
10737
10738Patch 8.2.1677
10739Problem: Memory access errors when calling setloclist() in an autocommand.
10740Solution: Give an error if the list was changed unexpectedly. (closes #6946)
10741Files: src/quickfix.c, src/testdir/test_quickfix.vim
10742
10743Patch 8.2.1678
10744Problem: Crash when using ":set" after ":ownsyntax". (Dhiraj Mishra)
10745Solution: Make sure 'spelloptions' is not NULL. (closes #6950)
10746Files: src/syntax.c, src/testdir/test_syntax.vim
10747
10748Patch 8.2.1679
10749Problem: Vim9: ":*" is not recognized as a range.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010750Solution: Move recognizing "*" into skip_range(). (closes #6938)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010751Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/cmdexpand.c,
10752 src/ex_getln.c, src/userfunc.c, src/vim9compile.c,
10753 src/testdir/test_vim9_cmd.vim
10754
10755Patch 8.2.1680
10756Problem: Vim9: line number for compare error is wrong.
10757Solution: Set SOURCING_LNUM. (closes #6936)
10758Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
10759
10760Patch 8.2.1681
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010761Problem: Vim9: unnecessary :call commands in tests.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010762Solution: Remove the commands. (issue #6936)
10763Files: src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
10764
10765Patch 8.2.1682
10766Problem: Vim9: const works in an unexpected way.
10767Solution: ":const" only disallows changing the variable, not the value.
10768 Make "list[0] = 9" work at the script level.
10769Files: src/vim9compile.c, src/evalvars.c, src/testdir/test_vim9_script.vim
10770
10771Patch 8.2.1683
10772Problem: Vim9: assignment test fails.
10773Solution: Include changes to find Ex command.
10774Files: src/ex_docmd.c
10775
10776Patch 8.2.1684
10777Problem: "gF" does not use line number after file in Visual mode.
10778Solution: Look for ":123" after the Visual area. (closes #6952)
10779Files: src/findfile.c, src/testdir/test_gf.vim
10780
10781Patch 8.2.1685
10782Problem: Vim9: cannot declare a constant value.
10783Solution: Introduce ":const!".
10784Files: runtime/doc/vim9.txt, src/ex_cmds.h, src/vim9compile.c,
10785 src/vim9.h, src/vim9execute.c, src/evalvars.c,
10786 src/proto/evalvars.pro, src/errors.h, src/vim.h, src/eval.c,
10787 src/testdir/test_vim9_script.vim
10788
10789Patch 8.2.1686
10790Problem: Vim9: "const!" not sufficiently tested.
10791Solution: Add a few more test cases. Fix type checking.
10792Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
10793
10794Patch 8.2.1687
10795Problem: Vim9: out of bounds error.
10796Solution: Check that cmdidx is not negative.
10797Files: src/vim9compile.c
10798
10799Patch 8.2.1688
10800Problem: Increment/decrement removes text property.
10801Solution: Insert the new number before deleting the old one. (closes #6962)
10802Files: src/ops.c, src/testdir/test_textprop.vim
10803
10804Patch 8.2.1689
10805Problem: 'colorcolumn' doesn't show in indent.
10806Solution: Also draw the column when draw_state is WL_BRI or WL_SBR.
10807 (Alexey Demin, closes #6948, closes #6619)
10808Files: src/drawline.c, src/testdir/dumps/Test_colorcolumn_2.dump,
10809 src/testdir/dumps/Test_colorcolumn_3.dump,
10810 src/testdir/test_highlight.vim
10811
10812Patch 8.2.1690
10813Problem: Text properties not adjusted for "I" in Visual block mode.
10814Solution: Call inserted_bytes(). (closes #6961)
10815Files: src/ops.c, src/change.c, src/proto/change.pro,
10816 src/testdir/test_textprop.vim
10817
10818Patch 8.2.1691
10819Problem: Vim9: list<any> is not accepted where list<number> is expected.
10820Solution: Add functions to allocate and free a type_T, use it in
10821 ISN_CHECKTYPE. (closes #6959)
10822Files: src/vim9.h, src/globals.h, src/vim9compile.c, src/vim9execute.c,
10823 src/vim9type.c, src/proto/vim9type.pro, src/errors.h,
10824 src/evalfunc.c, src/testdir/test_vim9_disassemble.vim,
10825 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
10826 src/testdir/test_vim9_script.vim
10827
10828Patch 8.2.1692
10829Problem: Build fails because TTFLAG_STATIC is missing.
10830Solution: Include missing change.
10831Files: src/structs.h
10832
10833Patch 8.2.1693
10834Problem: "hi def" does not work for cleared highlight.
10835Solution: Check the "sg_cleared" flag. (Maxim Kim, closes #6956,
10836 closes #4405)
10837Files: src/highlight.c, src/testdir/test_highlight.vim
10838
10839Patch 8.2.1694
10840Problem: Compiler warning for loss if data.
10841Solution: Add typecast.
10842Files: src/ops.c
10843
10844Patch 8.2.1695
10845Problem: Vim9: crash when using varargs type "any".
10846Solution: Check if uf_va_type is &t_any. (closes #6957)
10847Files: src/vim9compile.c, src/vim9execute.c,
10848 src/testdir/test_vim9_func.vim
10849
10850Patch 8.2.1696
10851Problem: Unused (duplicate) macros.
10852Solution: Remove the macros.
10853Files: src/spell.c
10854
10855Patch 8.2.1697
10856Problem: Inconsistent capitalization of error messages.
10857Solution: Always start with a capital.
10858Files: src/errors.h, src/testdir/test_vim9_expr.vim,
10859 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim,
10860 src/testdir/test_assert.vim
10861
10862Patch 8.2.1698
10863Problem: Cannot lock a variable in legacy Vim script like in Vim9.
10864Solution: Make ":lockvar 0" work.
10865Files: runtime/doc/eval.txt, src/evalvars.c, src/proto/evalvars.pro,
10866 src/dict.c, src/eval.c, src/list.c, src/typval.c, src/userfunc.c,
10867 src/testdir/test_const.vim, src/testdir/test_listdict.vim
10868
10869Patch 8.2.1699
10870Problem: Build failure due to missing error message.
10871Solution: Add error message.
10872Files: src/errors.h
10873
10874Patch 8.2.1700
10875Problem: Vim9: try/catch causes wrong value to be returned.
10876Solution: Reset tcd_return. (closes #6964)
10877Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
10878
10879Patch 8.2.1701
10880Problem: Vim9: sort("i") does not work.
10881Solution: Don't try getting a number for a string argument. (closes #6958)
10882Files: src/list.c, src/testdir/test_vim9_func.vim
10883
10884Patch 8.2.1702
10885Problem: Crash when using undo after deleting folded lines.
10886Solution: Check for NULL pointer. (closes #6968)
10887Files: src/fold.c, src/testdir/test_fold.vim
10888
10889Patch 8.2.1703
10890Problem: ":highlight clear" does not restore default link.
10891Solution: Remember the default link and restore it. (Antony Scriven,
10892 closes #6970, closes #4405)
10893Files: runtime/doc/syntax.txt, src/highlight.c,
10894 src/testdir/test_highlight.vim
10895
10896Patch 8.2.1704
10897Problem: Vim9: crash in for loop when autoload script has an error.
10898Solution: Reset suppress_errthrow. Check for NULL list. (closes #6967)
10899Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
10900
10901Patch 8.2.1705
10902Problem: "verbose hi Name" reports incorrect info after ":hi clear".
10903Solution: Store the script context. (Antony Scriven, closes #6975)
10904Files: src/highlight.c, src/testdir/test_highlight.vim
10905
10906Patch 8.2.1706
10907Problem: Vim9: crash after running into the "Multiple closures" error.
10908Solution: When a function fails still update any closures. (closes #6973)
10909Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
10910
10911Patch 8.2.1707
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010912Problem: Small inconsistency in highlight test.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010913Solution: Use one argument for :execute. (Antony Scriven, #6975)
10914Files: src/testdir/test_highlight.vim
10915
10916Patch 8.2.1708
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010917Problem: Vim9: error message for function has unprintable characters.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010918Solution: use printable_func_name(). (closes #6965)
10919Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
10920
10921Patch 8.2.1709
10922Problem: Vim9: memory leak when using multiple closures.
10923Solution: Free the partial.
10924Files: src/vim9execute.c
10925
10926Patch 8.2.1710
10927Problem: Vim9: list of list type can be wrong.
10928Solution: Use VAR_UNKNOWN for empty list. Recognize VAR_UNKNOWN when
10929 looking for a common type. (closes #6979)
10930Files: src/vim9type.c, src/testdir/test_vim9_expr.vim
10931
10932Patch 8.2.1711
10933Problem: Vim9: leaking memory when using partial.
10934Solution: Do delete the function even when it was compiled.
10935Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c,
10936 src/vim9execute.c
10937
10938Patch 8.2.1712
10939Problem: Vim9: leaking memory when calling a lambda.
10940Solution: Decrement function reference from ISN_DCALL.
10941Files: src/vim9compile.c, src/userfunc.c, src/proto/userfunc.pro
10942
10943Patch 8.2.1713
10944Problem: Motif GUI: crash when setting menu colors. (Andrzej Bylicki)
10945Solution: Add {} to make "n" incremented correctly. (closes #6989,
10946 closes #5948)
10947Files: src/gui_motif.c
10948
10949Patch 8.2.1714
10950Problem: Text properties corrupted with substitute command. (Filipe
10951 Brandenburger)
10952Solution: Get the changed line again after using u_savesub(). (closes #6984)
10953Files: src/textprop.c, src/testdir/test_textprop.vim
10954
10955Patch 8.2.1715
10956Problem: Motif GUI: commented out code missed {}.
10957Solution: Add {} and reenable the code. (similar to #6989)
10958Files: src/gui_motif.c
10959
10960Patch 8.2.1716
10961Problem: Options window has duplicate translations.
10962Solution: Make one entry for "global or local to buffer". Fix wrong text.
10963 (closes #6983)
10964Files: runtime/optwin.vim
10965
10966Patch 8.2.1717
10967Problem: MS-Windows installer doesn't have Russian translations.
10968Solution: Add Russian translations. (closes #6985)
10969Files: nsis/gvim.nsi, nsis/lang/russian.nsi
10970
10971Patch 8.2.1718
10972Problem: Vim9: :def function disallows "firstline" and "lastline" argument
10973 names for no good reason.
10974Solution: Don't check the arguments for a :def function. (closes #6986)
10975Files: src/userfunc.c, src/testdir/test_vim9_func.vim
10976
10977Patch 8.2.1719
10978Problem: Vim9: no error if comma is missing in between arguments.
10979Solution: Give an error message.
10980Files: src/errors.h, src/vim9compile.c, src/testdir/test_vim9_expr.vim
10981
10982Patch 8.2.1720
10983Problem: Vim9: memory leak with heredoc that isn't executed. (Dominique
10984 Pellé)
10985Solution: Don't clear the list items. (closes #6991)
10986Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
10987
10988Patch 8.2.1721
10989Problem: MS-Windows installer doesn't work.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010990Solution: Write "Russian" in ASCII. (closes #6995, see #6985).
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010991Files: nsis/lang/russian.nsi
10992
10993Patch 8.2.1722
10994Problem: Vim9: cannot assign a lambda to a variable of type function.
10995Solution: Allow for assigning a partial to a variable of type function.
10996 (Naruhiko Nishino, closes #6996)
10997Files: src/vim9type.c, src/testdir/test_vim9_expr.vim
10998
10999Patch 8.2.1723
11000Problem: Vim9: Variable argument name cannot start with underscore.
11001Solution: Use eval_isnamec1(). (closes #6988)
11002Files: src/userfunc.c, src/testdir/test_vim9_func.vim
11003
11004Patch 8.2.1724
11005Problem: Vim9: assignment tests spread out.
11006Solution: Create new test file for assignment tests.
11007Files: src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_cmd.vim,
11008 src/testdir/test_vim9_script.vim, src/testdir/test_vim9_expr.vim,
11009 src/testdir/Make_all.mak
11010
11011Patch 8.2.1725
11012Problem: Not all Pascal files are recognized.
11013Solution: Add filetype patterns. (Doug Kearns)
11014Files: runtime/filetype.vim, src/testdir/test_filetype.vim
11015
11016Patch 8.2.1726
11017Problem: Fuzzy matching only works on strings.
11018Solution: Support passing a dict. Add matchfuzzypos() to also get the match
11019 positions. (Yegappan Lakshmanan, closes #6947)
11020Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
11021 src/proto/search.pro, src/search.c, src/testdir/Make_all.mak,
11022 src/testdir/test_functions.vim, src/testdir/test_matchfuzzy.vim
11023
11024Patch 8.2.1727
11025Problem: A popup created with "cursorline" will ignore "firstline".
11026Solution: When both "cursorline" and "firstline" are present put the cursor
11027 on "firstline". (closes #7000) Add the "winid" argument to
11028 getcurpos().
11029Files: runtime/doc/eval.txt, src/evalfunc.c, src/popupwin.c,
11030 src/evalwindow.c, src/testdir/test_popupwin.vim,
11031 src/testdir/test_functions.vim
11032
11033Patch 8.2.1728
11034Problem: Compiler warning for using uninitialized variable. (John Marriott)
11035Solution: Initialize "neighbor".
11036Files: src/search.c
11037
11038Patch 8.2.1729
11039Problem: Endless loop when ":normal" feeds popup window filter.
11040Solution: Add the ex_normal_busy_done flag.
11041Files: src/globals.h, src/getchar.c, src/evalfunc.c, src/ex_docmd.c,
11042 src/menu.c, src/testdir/test_popupwin.vim,
11043 src/testdir/dumps/Test_popupwin_normal_cmd.dump
11044
11045Patch 8.2.1730
11046Problem: Vim9: cannot use member of unknown type.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011047Solution: When type is unknown use "any". (closes #6997)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011048Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
11049
11050Patch 8.2.1731
11051Problem: Vim9: cannot use += to append to empty NULL list.
11052Solution: Copy the list instead of extending it. (closes #6998)
11053Files: src/eval.c, src/testdir/test_vim9_assign.vim
11054
11055Patch 8.2.1732
11056Problem: Stuck when win_execute() for a popup causes an error.
11057Solution: Disable the filter callback on error. (issue #6999)
11058Files: src/popupwin.c, src/testdir/term_util.vim,
11059 src/testdir/test_popupwin.vim,
11060 src/testdir/dumps/Test_popupwin_win_execute.dump
11061
11062Patch 8.2.1733
11063Problem: Vim9: memory leaks when using nested function.
11064Solution: Free function when compilation fails.
11065Files: src/vim9compile.c
11066
11067Patch 8.2.1734
11068Problem: Vim9: cannot use a funcref for a closure twice.
11069Solution: Instead of putting the funcref on the stack use a growarray on the
11070 execution context.
11071Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
11072 src/testdir/test_vim9_func.vim,
11073 src/testdir/test_vim9_disassemble.vim
11074
11075Patch 8.2.1735
11076Problem: Github actions appear to timeout too soon.
11077Solution: use "timeout" instead of "ping".
11078Files: .github/workflows/ci-windows.yaml
11079
11080Patch 8.2.1736
11081Problem: Failure to compile a pattern not tested much.
11082Solution: Add tests where a pattern fails to compile. (Yegappan Lakshmanan,
11083 closes #7004)
11084Files: src/testdir/gen_opt_test.vim, src/testdir/test_arglist.vim,
11085 src/testdir/test_autocmd.vim, src/testdir/test_buffer.vim,
11086 src/testdir/test_checkpath.vim, src/testdir/test_cmdline.vim,
11087 src/testdir/test_debugger.vim, src/testdir/test_functions.vim,
11088 src/testdir/test_history.vim, src/testdir/test_listdict.vim,
11089 src/testdir/test_options.vim, src/testdir/test_search_stat.vim,
11090 src/testdir/test_sort.vim, src/testdir/test_substitute.vim,
11091 src/testdir/test_syntax.vim, src/testdir/test_tagjump.vim,
11092 src/testdir/test_user_func.vim
11093
11094Patch 8.2.1737
11095Problem: Cursor line highlight in popup window is not always updated.
11096Solution: Check if the cursor has moved. (closes #7010)
11097Files: src/popupwin.c, src/testdir/test_popupwin.vim
11098 src/testdir/dumps/Test_popupwin_win_execute_cursorline.dump
11099
11100Patch 8.2.1738
11101Problem: Mac: str2float() recognizes comma instead of decimal point.
11102Solution: Set LC_NUMERIC to "C". (closes #7003)
11103Files: src/os_mac_conv.c
11104
11105Patch 8.2.1739
11106Problem: Vim9: crash when compiling a manually defined function. (Antony
11107 Scriven)
11108Solution: Check that the script ID is positive. (closes #7012)
11109Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
11110
11111Patch 8.2.1740
11112Problem: Test fails without the terminal feature.
11113Solution: Skip test if the terminal feature is not available.
11114Files: src/testdir/test_vim9_script.vim
11115
11116Patch 8.2.1741
11117Problem: pathshorten() only supports using one character.
11118Solution: Add an argument to control the length. (closes #7006)
11119Files: runtime/doc/eval.txt, src/evalfunc.c, src/filepath.c,
11120 src/proto/filepath.pro, src/testdir/test_functions.vim
11121
11122Patch 8.2.1742
11123Problem: Test still fails without the terminal feature.
11124Solution: Put check for terminal feature in separate function.
11125Files: src/testdir/test_vim9_script.vim
11126
11127Patch 8.2.1743
11128Problem: Cannot build without the eval feature.
11129Solution: Move shorten_dir outside of #ifdef.
11130Files: src/filepath.c
11131
11132Patch 8.2.1744
11133Problem: Vim9: using ":const!" is weird.
11134Solution: Use "var" - "final" - "const" like Dart. "let" still works for
11135 now.
11136Files: runtime/doc/vim9.txt, src/ex_cmds.h, src/errors.h, src/evalvars.c,
11137 src/proto/evalvars.pro, src/cmdexpand.c, src/eval.c,
11138 src/ex_docmd.c, src/vim9compile.c, src/vim9execute.c,
11139 src/vim9script.c, src/vim.h, src/ex_cmdidxs.h,
11140 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_script.vim
11141
11142Patch 8.2.1745
11143Problem: Tiny version doesn't build.
11144Solution: Add dummy ex_var() function.
11145Files: src/ex_docmd.c
11146
11147Patch 8.2.1746
11148Problem: Vim9: Cannot use "fina" for "finally". (Naruhiko Nishino)
11149Solution: Specifically check for "fina". (closes #7020)
11150Files: src/ex_docmd.c, src/testdir/test_trycatch.vim,
11151 src/testdir/test_vim9_script.vim
11152
11153Patch 8.2.1747
11154Problem: Result of expand() unexpectedly depends on 'completeslash'.
11155Solution: Temporarily reset 'completeslash'. (Yasuhiro Matsumoto,
11156 closes #7021)
11157Files: src/evalfunc.c, src/testdir/test_ins_complete.vim
11158
11159Patch 8.2.1748
11160Problem: Closing split window in other tab may cause a crash.
11161Solution: Set tp_curwin properly. (Rob Pilling, closes #7018)
11162Files: src/window.c, src/testdir/test_winbuf_close.vim
11163
11164Patch 8.2.1749
11165Problem: Vim9: crash when closure fails in nested function.
11166Solution: Handle function returns before dereferencing remaining closures.
11167 (closes #7008)
11168Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
11169
11170Patch 8.2.1750
11171Problem: Setting firstline with popup_setoptions() fails if cursorline is
11172 set.
11173Solution: Use apply_options(). Update the popup before applying "zz".
11174 (closes #7010)
11175Files: src/popupwin.c, src/proto/popupwin.pro, src/move.c,
11176 src/testdir/test_popupwin.vim,
11177 src/testdir/dumps/Test_popupwin_win_execute_cursorline.dump,
11178 src/testdir/dumps/Test_popupwin_set_firstline_1.dump,
11179 src/testdir/dumps/Test_popupwin_set_firstline_2.dump
11180
11181Patch 8.2.1751
11182Problem: Using 2 where bool is expected may throw an error.
11183Solution: Make this backwards compatible.
11184Files: src/typval.c, src/evalfunc.c, src/testdir/test_search.vim,
11185 src/testdir/test_terminal2.vim
11186
11187Patch 8.2.1752
11188Problem: GTK GUI: cannot map alt-? with <A-?>. (Ingo Karkat)
11189Solution: Adjust the characters for which the shift modifier is removed.
11190 (closes #7016) Make Motif and Win32 use the same function as GTK.
11191Files: src/misc2.c, src/gui_x11.c, src/gui_w32.c,
11192 src/testdir/test_termcodes.vim
11193
11194Patch 8.2.1753
11195Problem: Vim9: crash when using import at script level.
11196Solution: Give a "not implemented yet" error. (closes #7026)
11197Files: src/evalvars.c
11198
11199Patch 8.2.1754
11200Problem: Completion with spell checking not tested.
11201Solution: Add a test case. (Dominique Pellé, closes #7024)
11202Files: src/testdir/test_spell.vim
11203
11204Patch 8.2.1755
11205Problem: Vim9: crash when using invalid heredoc marker. (Dhiraj Mishra)
11206Solution: Check for NULL list. (closes #7027) Fix comment character.
11207Files: src/vim9compile.c, src/evalvars.c,
11208 src/testdir/test_vim9_assign.vim
11209
11210Patch 8.2.1756
11211Problem: Vim9: :let will soon be disallowed.
11212Solution: Add v:disallow_let temporarily. Fix tests.
11213Files: src/vim.h, src/errors.h, src/evalvars.c, src/vim9compile.c,
11214 src/userfunc.c, src/testdir/test_vim9_script.vim
11215
11216Patch 8.2.1757
11217Problem: Mac: default locale is lacking the encoding.
11218Solution: Add ".UTF-8 to the locale. (Yee Cheng Chin, closes #7022)
11219Files: src/os_mac_conv.c, src/testdir/test_environ.vim
11220
11221Patch 8.2.1758
11222Problem: Vim9: type of unmaterialized list is wrong.
11223Solution: Use list<number>.
11224Files: src/vim9type.c, src/testdir/test_vim9_expr.vim
11225
11226Patch 8.2.1759
11227Problem: Vim9: Some tests are still using :let.
11228Solution: Change more declarations to use :var.
11229Files: src/testdir/test_vim9_expr.vim
11230
11231Patch 8.2.1760
11232Problem: Vim9: crash when end marker is missing. (Dhiraj Mishra)
11233Solution: Check for end of function lines. (closes #7031)
11234Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
11235
11236Patch 8.2.1761
11237Problem: Vim9: Some tests are still using :let.
11238Solution: Change more declarations to use :var.
11239Files: src/testdir/test_vim9_assign.vim,
11240 src/testdir/test_vim9_cmd.vim,
11241 src/testdir/test_vim9_disassemble.vim
11242
11243Patch 8.2.1762
11244Problem: When a timer uses :stopinsert Insert mode completion isn't
11245 stopped. (Stanley Chan)
11246Solution: Call ins_compl_prep(ESC).
11247Files: src/edit.c, src/testdir/test_ins_complete.vim,
11248 src/testdir/dumps/Test_pum_stopped_by_timer.dump
11249
11250Patch 8.2.1763
11251Problem: Vim9: cannot use "true" for popup window scrollbar option.
11252Solution: use dict_get_bool(). (closes #7029)
11253Files: src/popupwin.c, src/testdir/test_popupwin.vim
11254
11255Patch 8.2.1764
11256Problem: Vim9: no error when assigning to script var with wrong type.
11257Solution: Fix off-by-one error. (closes #7028)
11258Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
11259
11260Patch 8.2.1765
11261Problem: Vim9: some tests use "var var".
11262Solution: Use "var name". (closes #7032)
11263Files: src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_expr.vim
11264
11265Patch 8.2.1766
11266Problem: Vim9: Some tests are still using :let.
11267Solution: Change the last few declarations to use :var.
11268Files: src/testdir/runtest.vim, src/testdir/test_vim9_assign.vim,
11269 src/testdir/test_vim9_cmd.vim,
11270 src/testdir/test_vim9_disassemble.vim,
11271 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
11272 src/testdir/test_vim9_script.vim, src/testdir/test_maparg.vim,
11273 src/testdir/test_popupwin.vim, src/testdir/test_textprop.vim
11274
11275Patch 8.2.1767
11276Problem: Vim9: test fails with python support.
11277Solution: Use "let" in legacy function.
11278Files: src/testdir/test_vim9_func.vim
11279
11280Patch 8.2.1768
11281Problem: Cannot use the help menu from a terminal window.
11282Solution: Add ":tlnoremenu" commands. (Yee Cheng Chin, closes #7023)
11283Files: runtime/menu.vim, src/testdir/test_gui.vim
11284
11285Patch 8.2.1769
11286Problem: A popup filter interferes with using :normal to move the cursor in
11287 a popup.
11288Solution: Do not invoke the filter when ex_normal_busy is set.
11289Files: runtime/doc/popup.txt, src/getchar.c, src/evalfunc.c,
11290 src/ex_docmd.c, src/menu.c, src/globals.h,
11291 src/testdir/test_popupwin.vim,
11292 src/testdir/dumps/Test_popupwin_normal_cmd.dump
11293
11294Patch 8.2.1770
11295Problem: Invalid memory use when using SpellFileMissing autocmd.
11296Solution: Add test case. (Dominique Pellé, closes #7036) Fix using a window
11297 that was closed.
11298Files: src/spell.c, src/testdir/test_spell.vim
11299
11300Patch 8.2.1771
11301Problem: synIDattr() cannot get the value of ctermul.
11302Solution: Add the "ul" value for "what". (closes #7037)
11303Files: runtime/doc/eval.txt, src/highlight.c, src/evalfunc.c,
11304 src/testdir/test_highlight.vim
11305
11306Patch 8.2.1772
11307Problem: Cannot use CTRL-W <Down> to move out of a terminal window.
11308Solution: Use special_to_buf() instead of mb_char2bytes(). (closes #7045)
11309Files: src/terminal.c, src/testdir/test_terminal.vim
11310
11311Patch 8.2.1773
11312Problem: Crash when calling mapset() with a list as first argument.
11313Solution: Check for NULL. (closes #7040)
11314Files: src/map.c, src/testdir/test_maparg.vim
11315
11316Patch 8.2.1774
11317Problem: GTK: hang when forced to exit.
11318Solution: Do not clean up "mainwin" when really_exiting is set.
11319 (Zdenek Dohnal, closes #7042)
11320Files: src/gui_gtk_x11.c
11321
11322Patch 8.2.1775
11323Problem: MS-Windows: adding a long quickfix list is slow.
11324Solution: Shorten the buffer name only for the first entry. (Yegappan
11325 Lakshmanan, closes #7039, closes #7033)
11326Files: src/quickfix.c, src/testdir/test_quickfix.vim
11327
11328Patch 8.2.1776
11329Problem: Filetype.vim may be loaded twice.
11330Solution: Do "syntax on" after "filetype on". (Adam Stankiewicz,
11331 closes #7049)
11332Files: runtime/defaults.vim
11333
11334Patch 8.2.1777
11335Problem: Vim9: some assignment tests in the wrong file.
11336Solution: Move assignment tests to test_vim9_assign.
11337Files: src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_script.vim
11338
11339Patch 8.2.1778
11340Problem: Vim9: returning from a partial call clears outer context, causing
11341 a crash.
11342Solution: Put the outer context in the stack frame. (closes #7044)
11343Files: src/vim9execute.c, src/vim9.h, src/testdir/test_vim9_func.vim
11344
11345Patch 8.2.1779
11346Problem: Some debian changelog files are not recognized.
11347Solution: Add */debian/changelog. (Jason Franklin)
11348Files: runtime/filetype.vim, src/testdir/test_filetype.vim
11349
11350Patch 8.2.1780
11351Problem: Statusline not updated when splitting windows.
11352Solution: Call status_redraw_all(). (Jason Franklin, closes #5496)
11353Files: src/window.c, src/testdir/test_statusline.vim
11354
11355Patch 8.2.1781
11356Problem: Writing to prompt buffer interferes with insert mode.
11357Solution: Use win_enter() instead of just setting "curwin". (Ben Jackson,
11358 closes #7035)
11359Files: src/autocmd.c, src/testdir/test_prompt_buffer.vim
11360
11361Patch 8.2.1782
11362Problem: Vim9: cannot pass boolean to mapset().
11363Solution: Use get_tv_bool(). (closes #7041)
11364Files: src/map.c, src/testdir/test_vim9_func.vim
11365
11366Patch 8.2.1783 (after 8.2.1781)
11367Problem: Try-catch test fails.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011368Solution: Don't call win_enter(), only call entering_window().
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011369Files: src/autocmd.c, src/window.c, src/proto/window.pro,
11370 src/testdir/runtest.vim
11371
11372Patch 8.2.1784
11373Problem: commits are not scanned for security problems
11374Solution: Enable Github code scanning. (Christian Brabandt, closes #7057)
11375Files: .github/workflows/codeql-analysis.yml
11376
11377Patch 8.2.1785
11378Problem: Compiler warning for strcpy() out of bounds. (Christian Brabandt)
11379Solution: use memmove() instead.
11380Files: src/dict.c
11381
11382Patch 8.2.1786
11383Problem: Various Normal mode commands not fully tested.
11384Solution: Add more tests. (Yegappan Lakshmanan, closes #7059)
11385Files: src/testdir/test_normal.vim, src/testdir/test_regexp_utf8.vim,
11386 src/testdir/test_registers.vim, src/testdir/test_spellfile.vim,
11387 src/testdir/test_tagjump.vim, src/testdir/test_visual.vim
11388
11389Patch 8.2.1787
11390Problem: Crash with 'incsearch' and very long line.
11391Solution: Check whether regprog becomes NULL. (closes #7063)
11392Files: src/search.c, src/testdir/test_search.vim
11393
11394Patch 8.2.1788
11395Problem: Vim9: still allows :let for declarations.
11396Solution: Make the default for v:disallow_let one. It can still be set to
11397 zero to allow for using :let.
11398Files: src/evalvars.c, src/testdir/runtest.vim
11399
11400Patch 8.2.1789
11401Problem: Vim9: crash with invalid list constant. (Dhiraj Mishra)
11402Solution: Return FAIL when compiling the list fails. (closes #7066)
11403Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_expr.vim
11404
11405Patch 8.2.1790
11406Problem: MS-Windows with Python: crash when executed from Vifm.
11407Solution: Use NUL instead of CONIN. (Ken Takata, closes #7061, closes #7053)
11408Files: src/if_python3.c
11409
11410Patch 8.2.1791
11411Problem: Vim9: debugger test fails.
11412Solution: Use "var" instead of "let".
11413Files: src/testdir/test_debugger.vim
11414
11415Patch 8.2.1792
11416Problem: Configure does not recognize Racket 6.1+.
11417Solution: Add a check for "rktio". (closes #7062)
11418Files: src/configure.ac, src/auto/configure
11419
11420Patch 8.2.1793
11421Problem: Not consistently giving the "is a directory" warning.
11422Solution: Adjust check for illegal file name and directory. (Yasuhiro
11423 Matsumoto, closes #7067)
11424Files: src/fileio.c, src/testdir/test_edit.vim
11425
11426Patch 8.2.1794
11427Problem: No falsy Coalescing operator.
11428Solution: Add the "??" operator. Fix mistake with function argument count.
11429Files: runtime/doc/eval.txt, src/eval.c, src/vim9compile.c,
11430 src/vim9type.c, src/testdir/test_expr.vim,
11431 src/testdir/test_vim9_expr.vim,
11432 src/testdir/test_vim9_disassemble.vim
11433
11434Patch 8.2.1795
11435Problem: Vim9: operators && and || have a confusing result.
11436Solution: Make the result a boolean.
11437Files: runtime/doc/vim9.txt, src/eval.c, src/vim9compile.c,
11438 src/vim9execute.c, src/vim9type.c, src/structs.h, src/vim9.h,
11439 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_assign.vim,
11440 src/testdir/test_vim9_cmd.vim,
11441 src/testdir/test_vim9_disassemble.vim
11442
11443Patch 8.2.1796
11444Problem: Vim9: invalid memory access with weird function name. (Dhiraj
11445 Mishra)
11446Solution: Check the name is valid. Add a test.
11447Files: src/userfunc.c, src/testdir/test_vim9_func.vim
11448
11449Patch 8.2.1797
11450Problem: Vim9: some parts of the code not tested.
11451Solution: Add a few tests.
11452Files: src/testdir/test_vim9_func.vim
11453
11454Patch 8.2.1798
11455Problem: Vim9: ternary operator condition is too permissive.
11456Solution: Use tv_get_bool_chk().
11457Files: runtime/doc/vim9.txt, src/eval.c, src/vim9compile.c,
11458 src/vim9execute.c, src/testdir/vim9.vim,
11459 src/testdir/test_expr.vim, src/testdir/test_vim9_expr.vim,
11460 src/testdir/test_vim9_cmd.vim, src/testdir/test_vim9_script.vim
11461
11462Patch 8.2.1799
11463Problem: Some Normal mode commands not fully tested.
11464Solution: Add a few more tests. (Yegappan Lakshmanan, closes #7073)
11465Files: src/testdir/test_gf.vim, src/testdir/test_goto.vim,
11466 src/testdir/test_normal.vim, src/testdir/test_registers.vim,
11467 src/testdir/test_startup.vim, src/testdir/test_tabpage.vim,
11468 src/testdir/test_visual.vim
11469
11470Patch 8.2.1800
11471Problem: Vim9: memory leak if "if" condition is invalid.
11472Solution: Free ppconst earlier.
11473Files: src/vim9compile.c
11474
11475Patch 8.2.1801
11476Problem: Undo file not found when using ":args" or ":next".
11477Solution: Handle like editing another file. (closes #7072)
11478Files: src/ex_cmds.c, src/testdir/test_undo.vim
11479
11480Patch 8.2.1802
11481Problem: Vim9: crash with unterminated dict. (Dhiraj Mishra)
11482Solution: Return empty string instead of NULL. (closes #7084)
11483Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
11484
11485Patch 8.2.1803
11486Problem: A few failures are not tested.
11487Solution: Test a few failures. (Dominique Pellé, closes #7075)
11488Files: src/testdir/test_arglist.vim, src/testdir/test_cmdline.vim,
11489 src/testdir/test_json.vim, src/testdir/test_listdict.vim
11490
11491Patch 8.2.1804
11492Problem: resolve('/') returns an empty string.
11493Solution: Don't remove single slash. (closes #7074)
11494Files: src/filepath.c, src/testdir/test_functions.vim
11495
11496Patch 8.2.1805
11497Problem: Unix: terminal mode changed when using ":shell".
11498Solution: Avoid calling settmode() when not needed. (issue #7079)
11499Files: src/os_unix.c
11500
11501Patch 8.2.1806
11502Problem: MS-Windows with Python: Vim freezes after import command.
11503Solution: Use either "NUL" or "CONIN$" when reopening stdin. (Yasuhiro
11504 Matsumoto, closes #7083)
11505Files: src/if_python3.c
11506
11507Patch 8.2.1807
11508Problem: Can use :help in a terminal popup window.
11509Solution: Give an error. (closes #7088)
11510Files: src/help.c, src/testdir/test_popupwin.vim
11511
11512Patch 8.2.1808
11513Problem: No test coverage for ":spelldump!".
11514Solution: Add a test. (Dominique Pellé, closes #7089)
11515Files: src/testdir/test_spell.vim
11516
11517Patch 8.2.1809
11518Problem: Mapping some keys with Ctrl does not work properly.
11519Solution: For terminal, GTK and Motif handle "@", "^" and "_" codes.
11520Files: src/misc2.c, src/proto/misc2.pro, src/term.c, src/gui_gtk_x11.c,
11521 src/gui_x11.c, src/testdir/test_termcodes.vim
11522
11523Patch 8.2.1810
11524Problem: Some code in normal.c not covered by tests.
11525Solution: Add normal mode tests. (Yegappan Lakshmanan, closes #7086)
11526Files: src/testdir/test_charsearch.vim, src/testdir/test_normal.vim
11527
11528Patch 8.2.1811
11529Problem: Mapping Ctrl-key does not work for '{', '}' and '|'.
11530Solution: Remove the shift modifier. (closes #6457)
11531Files: runtime/doc/map.txt, src/misc2.c, src/testdir/test_termcodes.vim
11532
11533Patch 8.2.1812
11534Problem: Vim9: nested closure throws an internal error.
11535Solution: Do not skip a local variable with a partial. (closes #7065)
11536Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
11537
11538Patch 8.2.1813
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011539Problem: Vim9: can assign wrong type to script dict. (Christian J. Robinson)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011540Solution: Check the type if known.
11541Files: src/structs.h, src/eval.c, src/vim9script.c,
11542 src/proto/vim9script.pro, src/proto/evalvars.pro,
11543 src/testdir/test_vim9_script.vim
11544
11545Patch 8.2.1814 (after 8.2.1813)
11546Problem: Missing change to remove "static".
11547Solution: Add the change.
11548Files: src/evalvars.c
11549
11550Patch 8.2.1815
11551Problem: Vim9: memory leak when using function reference.
11552Solution: Temporarily disable the test.
11553Files: src/testdir/test_vim9_disassemble.vim
11554
11555Patch 8.2.1816
11556Problem: Vim9: another memory leak when using function reference.
11557Solution: Temporarily disable the tests.
11558Files: src/testdir/test_vim9_func.vim
11559
11560Patch 8.2.1817
11561Problem: Vim9: wrong instruction when reusing a local variable spot.
11562Solution: Clear a newly allocated local variable. (closes #7080)
11563Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
11564
11565Patch 8.2.1818
11566Problem: SE Linux: deprecation warning for security_context_t.
11567Solution: Use "char *" instead. (James McCoy, closes #7093)
11568Files: src/os_unix.c
11569
11570Patch 8.2.1819
11571Problem: Vim9: Memory leak when using a closure.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011572Solution: Compute the minimal refcount in the funcstack. Reenable disabled
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011573 tests.
11574Files: src/vim9execute.c, src/proto/vim9execute.pro, src/structs.h,
11575 src/eval.c, src/testdir/test_vim9_disassemble.vim,
11576 src/testdir/test_vim9_func.vim
11577
11578Patch 8.2.1820
11579Problem: Vim9: crash when error happens in timer callback.
11580Solution: Check that current_exception is not NULL. (closes #7100)
11581Files: src/ex_docmd.c
11582
11583Patch 8.2.1821
11584Problem: Vim9: concatenating to a NULL list doesn't work.
11585Solution: Handle a NULL list like an empty list. (closes #7064)
11586Files: src/list.c, src/testdir/test_vim9_assign.vim
11587
11588Patch 8.2.1822 (after 8.2.1821)
11589Problem: List test doesn't fail.
11590Solution: Adjust the test for NULL list handling.
11591Files: src/testdir/test_listdict.vim
11592
11593Patch 8.2.1823
11594Problem: "gN" does not select the matched string.
11595Solution: Move the cursor to the start of the match.
11596Files: src/search.c, src/testdir/test_gn.vim
11597
11598Patch 8.2.1824
11599Problem: Vim9: variables at the script level escape their scope.
11600Solution: When leaving a scope remove variables declared in it.
11601Files: src/structs.h, src/ex_eval.c, src/evalvars.c,
11602 src/proto/evalvars.pro, src/testdir/test_vim9_script.vim
11603
11604Patch 8.2.1825
11605Problem: Vim9: accessing freed memory.
11606Solution: Clear sv_name when the variable is deleted.
11607Files: src/ex_eval.c
11608
11609Patch 8.2.1826
11610Problem: Vim9: cannot use a {} block at script level.
11611Solution: Recognize a {} block.
11612Files: src/ex_docmd.c, src/ex_cmds.h, src/ex_cmdidxs.h, src/ex_eval.c,
11613 src/structs.h, src/proto/ex_eval.pro, src/errors.h,
11614 src/testdir/test_vim9_script.vim
11615
11616Patch 8.2.1827
11617Problem: Filetype detection does not test enough file names.
11618Solution: Test more file names. (Adam Stankiewicz, closes #7099)
11619Files: runtime/filetype.vim, src/testdir/test_filetype.vim
11620
11621Patch 8.2.1828
11622Problem: Build failure without the +eval feature.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011623Solution: Add dummies for ex_block and ex_endblock.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011624Files: src/ex_docmd.c
11625
11626Patch 8.2.1829
11627Problem: Warnings when executing Github actions.
11628Solution: Use another method to set environment variables. (Ken Takata,
11629 closes #7107)
11630Files: .github/workflows/ci-windows.yaml
11631
11632Patch 8.2.1830
11633Problem: MS-Windows: Python3 issue with stdin.
11634Solution: Check if stdin is readable. (Ken Takata, closes #7106)
11635Files: src/if_python3.c
11636
11637Patch 8.2.1831
11638Problem: File missing from distribution.
11639Solution: Add the github code analyses file.
11640Files: Filelist
11641
11642Patch 8.2.1832
11643Problem: readdirex() error is displayed as a message. (Yegappan Lakshmanan)
11644Solution: Use semsg() instead of smsg().
11645Files: src/fileio.c, src/testdir/test_functions.vim
11646
11647Patch 8.2.1833
11648Problem: When reading from stdin dup() is called twice.
11649Solution: Remove the dup() in main.c. (Ken Takata, closes #7110)
11650Files: src/main.c
11651
11652Patch 8.2.1834
11653Problem: PyEval_InitThreads() is deprecated in Python 3.9.
11654Solution: Do not call PyEval_InitThreads in Python 3.9 and later. (Ken
11655 Takata, closes #7113) Avoid warnings for functions.
11656Files: src/if_python3.c, src/if_py_both.h
11657
11658Patch 8.2.1835
11659Problem: ":help ??" finds the "!!" tag.
11660Solution: Do not translate "?" into ".". (Naruhiko Nishino, closes #7114,
11661 closes #7115)
11662Files: src/help.c, src/testdir/test_help_tagjump.vim
11663
11664Patch 8.2.1836
11665Problem: Autocmd test fails on pacifist systems.
11666Solution: Check that /bin/kill exists. (James McCoy, closes #7117)
11667 Tune the timing, make the autocmd test run faster.
11668Files: src/testdir/test_autocmd.vim
11669
11670Patch 8.2.1837
11671Problem: Using "gn" after "gN" does not work.
11672Solution: Extend the other end of the Visual area. (closes #7109)
11673Files: src/search.c, src/testdir/test_gn.vim
11674
11675Patch 8.2.1838
11676Problem: Vim9: cannot insert a comment line in an expression.
11677Solution: Skip comment lines at the script level. (closes #7111)
11678Files: src/eval.c, src/testdir/test_vim9_expr.vim
11679
11680Patch 8.2.1839
11681Problem: Vim9: memory leaks reported in assign test.
11682Solution: Move the failing job_start() call to separate test files, it
11683 causes false leak reports.
11684Files: src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_fails.vim,
11685 src/testdir/Make_all.mak
11686
11687Patch 8.2.1840
11688Problem: Vim9: error message is not clear about compilation error.
11689Solution: Say "compiling" instead of "processing".
11690Files: src/vim9compile.c, src/message.c, src/globals.h,
11691 src/testdir/test_vim9_func.vim
11692
11693Patch 8.2.1841
11694Problem: Vim9: test for compilation error fails in normal build.
11695Solution: Invoke CheckRunVimInTerminal in a separate function.
11696Files: src/testdir/test_vim9_func.vim
11697
11698Patch 8.2.1842
11699Problem: Crash when USE_FNAME_CASE is defined and using :browse.
11700Solution: Don't use read-only memory for ".". (Yegappan Lakshmanan,
11701 closes #7123)
11702Files: src/ex_cmds.c, src/ex_docmd.c, src/testdir/test_edit.vim
11703
11704Patch 8.2.1843
11705Problem: Netbeans: with huge buffer number memory allocation may fail.
11706Solution: Check for size overflow.
11707Files: src/netbeans.c
11708
11709Patch 8.2.1844
11710Problem: Using "q" at the more prompt doesn't stop a long message.
11711Solution: Check for "got_int". (closes #7122)
11712Files: src/message.c, src/testdir/test_messages.vim,
11713 src/testdir/dumps/Test_quit_long_message.dump
11714
11715Patch 8.2.1845
11716Problem: Vim9: function defined in a block can't use variables defined in
11717 that block.
11718Solution: First step: Make a second hashtab that holds all script variables,
11719 also block-local ones, with more information.
11720Files: src/structs.h, src/evalvars.c, src/ex_eval.c, src/vim9script.c,
11721 src/proto/vim9script.pro, src/scriptfile.c
11722
11723Patch 8.2.1846
11724Problem: Vim9: variables declared in a local block are not found in
11725 when a function is compiled.
11726Solution: Look for script variables in sn_all_vars.
11727Files: src/structs.h, src/vim9compile.c, src/proto/vim9compile.pro,
11728 src/userfunc.c, src/proto/userfunc.pro, src/ex_eval.c,
11729 src/vim9script.c, src/proto/vim9script.pro, src/vim9execute.c,
11730 src/testdir/test_vim9_script.vim
11731
11732Patch 8.2.1847
11733Problem: Vim9: using negative value for unsigned type.
11734Solution: Use zero instead of -1.
11735Files: src/vim9compile.c
11736
11737Patch 8.2.1848
11738Problem: Crash when passing a NULL string or list to popup_settext().
11739Solution: Check for NULL pointers. (closes #7132)
11740Files: src/popupwin.c, src/testdir/test_popupwin.vim
11741
11742Patch 8.2.1849
11743Problem: Vim9: garbage collection frees block-local variables.
11744Solution: Mark all script variables as used.
11745Files: src/evalvars.c, src/testdir/test_vim9_script.vim
11746
11747Patch 8.2.1850
11748Problem: "vat" does not select tags correctly over line break.
11749Solution: Adjust the search pattern. (Aufar Gilbran, closes #7136)
11750Files: src/textobject.c, src/testdir/test_textobjects.vim
11751
11752Patch 8.2.1851
11753Problem: Vim9: "!" followed by space incorrectly used.
11754Solution: Skip over trailing spaces. (closes #7131)
11755Files: src/eval.c, src/vim9compile.c, src/testdir/test_vim9_expr.vim
11756
11757Patch 8.2.1852
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011758Problem: map() returning zero for NULL list is unexpected.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011759Solution: Return the empty list. (closes #7133)
11760Files: src/list.c, src/testdir/test_filter_map.vim,
11761 src/testdir/test_blob.vim
11762
11763Patch 8.2.1853
11764Problem: "to_f" is recognized at "topleft" modifier.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011765Solution: Do not recognize modifier when "_" follows. (closes #7019)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011766Files: src/ex_docmd.c, src/testdir/test_vim9_assign.vim
11767
11768Patch 8.2.1854
11769Problem: Vim9: crash when throwing exception for NULL string. (Dhiraj
11770 Mishra)
11771Solution: Handle NULL string like empty string. (closes #7139)
11772Files: src/vim9execute.c, src/errors.h, src/testdir/test_vim9_script.vim
11773
11774Patch 8.2.1855
11775Problem: Vim9: get error message when nothing is wrong.
11776Solution: Check called_emsg instead of did_emsg. (closes #7143)
11777Files: src/vim9compile.c, src/vim9execute.c, src/errors.h
11778
11779Patch 8.2.1856
11780Problem: "2resize" uses size of current window. (Daniel Steinberg)
11781Solution: Use size of resized window. (Yasuhiro Matsumoto, closes #7152)
11782Files: src/ex_docmd.c, src/testdir/test_window_cmd.vim
11783
11784Patch 8.2.1857
11785Problem: Vim9: using job_status() on an unused var gives an error.
11786Solution: Return "fail". (closes #7158)
11787Files: src/job.c, src/testdir/test_vim9_assign.vim
11788
11789Patch 8.2.1858
11790Problem: Vim9: filter functions return number instead of bool.
11791Solution: Return v:true instead of one. (closes #7144)
11792Files: src/popupwin.c, src/evalfunc.c, src/testdir/test_vim9_func.vim
11793
11794Patch 8.2.1859
11795Problem: Vim9: crash in unpack assignment.
11796Solution: Make sure an error message is turned into an exception.
11797 (closes #7159)
11798Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim,
11799 src/testdir/test_vim9_script.vim
11800
11801Patch 8.2.1860
11802Problem: Vim9: memory leak when throwing empty string.
11803Solution: Free the empty string.
11804Files: src/vim9execute.c
11805
11806Patch 8.2.1861
11807Problem: Vim9: no specific error when parsing lambda fails.
11808Solution: Also give syntax errors when not evaluating. (closes #7154)
11809Files: src/dict.c, src/testdir/test_vim9_expr.vim
11810
11811Patch 8.2.1862
11812Problem: vim9: memory leak when compiling lambda fails.
11813Solution: Call clear_evalarg().
11814Files: src/vim9compile.c
11815
11816Patch 8.2.1863
11817Problem: Json code not sufficiently tested.
11818Solution: Add more test cases. (Dominique Pellé, closes #7166)
11819Files: src/testdir/test_json.vim
11820
11821Patch 8.2.1864
11822Problem: Vim9: no error for wrong list type.
11823Solution: Add flag to indicate a constant. (closes #7160)
11824Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
11825
11826Patch 8.2.1865
11827Problem: Vim9: add() does not check type of argument.
11828Solution: Inline the add() call. (closes #7160)
11829Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/errors.h,
11830 src/testdir/test_vim9_func.vim,
11831 src/testdir/test_vim9_disassemble.vim
11832
11833Patch 8.2.1866
11834Problem: Vim9: appending to pushed blob gives wrong result.
11835Solution: Set ga_maxlen when copying a blob.
11836Files: src/blob.c, src/testdir/test_vim9_func.vim
11837
11838Patch 8.2.1867
11839Problem: Vim9: argument to add() not checked for blob.
11840Solution: Add the BLOBAPPEND instruction.
11841Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/errors.h,
11842 src/testdir/test_vim9_func.vim,
11843 src/testdir/test_vim9_disassemble.vim
11844
11845Patch 8.2.1868
11846Problem: Vim9: no error for missing space after comma in dict.
11847Solution: Check for white space. (closes #6672)
11848Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
11849
11850Patch 8.2.1869
11851Problem: Vim9: memory leak when using add().
11852Solution: Free the added item.
11853Files: src/vim9execute.c
11854
11855Patch 8.2.1870
11856Problem: Vim9: no need to keep all script variables.
11857Solution: Only keep script variables when a function was defined that could
11858 use them. Fix freeing static string on exit.
11859Files: src/vim9script.c, src/proto/vim9script.pro, src/structs.h,
11860 src/ex_eval.c, src/userfunc.c, src/testdir/test_vim9_script.vim
11861
11862Patch 8.2.1871
11863Problem: Using %v in 'errorformat' may fail before %Z.
11864Solution: Set qf_viscol only when qf_col is set. (closes #7169)
11865Files: src/quickfix.c, src/testdir/test_quickfix.vim
11866
11867Patch 8.2.1872
11868Problem: Matchfuzzy() does not prefer sequential matches.
11869Solution: Give sequential matches a higher bonus. (Christian Brabandt,
11870 closes #7140)
11871Files: src/search.c, src/testdir/test_matchfuzzy.vim
11872
11873Patch 8.2.1873
11874Problem: Vim9: missing white space when using <f-args>.
11875Solution: Add spaces. (Christian J. Robinson)
11876Files: src/usercmd.c, src/testdir/test_vim9_cmd.vim
11877
11878Patch 8.2.1874
11879Problem: Can't do something just before leaving Insert mode.
11880Solution: Add the InsertLeavePre autocommand event. (closes #7177)
11881Files: runtime/doc/autocmd.txt, src/edit.c, src/vim.h,
11882 src/autocmd.c, src/testdir/test_edit.vim
11883
11884Patch 8.2.1875
11885Problem: Warning when building GTK gui.
11886Solution: Add missing function parameter.
11887Files: src/gui_gtk_f.c
11888
11889Patch 8.2.1876
11890Problem: Vim9: argument types for builtin functions are not checked at
11891 compile time.
11892Solution: Add an argument type checking mechanism. Implement type checks for
11893 one function.
11894Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9compile.c,
11895 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_builtin.vim,
11896 src/testdir/Make_all.mak
11897
11898Patch 8.2.1877 (after 8.2.1876)
11899Problem: Test for function list fails.
11900Solution: Move "obsolete" comments one line up.
11901Files: src/evalfunc.c
11902
11903Patch 8.2.1878
11904Problem: GTK: error for redefining function. (Tony Mechelynck)
11905Solution: Remove "gtk_" prefix from local functions and prepend "gui_" to
11906 global functions.
11907Files: src/gui_gtk_f.c, src/gui_gtk_f.h, src/gui_gtk.c, src/gui_gtk_x11.c
11908
11909Patch 8.2.1879
11910Problem: Vim9: argument types of insert() not checked when compiling.
11911Solution: Add argument type checks for insert().
11912Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9compile.c,
11913 src/testdir/test_vim9_builtin.vim
11914
11915Patch 8.2.1880
11916Problem: Vim9: Asan complains about adding zero to NULL.
11917Solution: Check for argument count first.
11918Files: src/vim9compile.c
11919
11920Patch 8.2.1881
11921Problem: Cannot build with GTK3.
11922Solution: Adjust form functions.
11923Files: src/gui_gtk_f.c
11924
11925Patch 8.2.1882
11926Problem: Vim9: v:disallow_let is no longer needed.
11927Solution: Remove v:disallow_let.
11928Files: src/evalvars.c, src/vim.h, src/vim9compile.c
11929
11930Patch 8.2.1883
11931Problem: Compiler warnings when using Python.
11932Solution: Adjust PyCFunction to also have the second argument. Use "int"
11933 return type for some functions. Insert "(void *)" to get rid of
11934 the remaining warnings.
11935Files: src/if_py_both.h, src/if_python.c, src/if_python3.c
11936
11937Patch 8.2.1884
11938Problem: Compiler warning for uninitialized variable. (John Marriott)
11939Solution: Initialize with NULL.
11940Files: src/vim9compile.c, src/evalfunc.c
11941
11942Patch 8.2.1885
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011943Problem: Filetype tests unnecessarily creates swap files.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011944Solution: Disable 'swapfile'. (Ken Takata, closes #7183)
11945Files: src/testdir/test_filetype.vim
11946
11947Patch 8.2.1886
11948Problem: Using ":silent!" in a popup filter has unexpected effect.
11949Solution: Use did_emsg instead of called_emsg. (closes #7178)
11950Files: src/popupwin.c, src/testdir/test_popupwin.vim
11951
11952Patch 8.2.1887
11953Problem: Github actions not optimally configured.
11954Solution: Run CI on any pushed branches. Set fail-fast. (Ozaki Kiichi,
11955 closes #7184)
11956Files: .github/workflows/ci-windows.yaml
11957
11958Patch 8.2.1888
11959Problem: Vim9: Getbufline(-1, 1, '$') gives an error.
11960Solution: Return an empty list. (closes #7180)
11961Files: src/evalbuffer.c, src/testdir/test_vim9_builtin.vim
11962
11963Patch 8.2.1889
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011964Problem: Vim9: erroneous error for missing white space after {}.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011965Solution: Don't skip over white space after {}. (issue #7167)
11966Files: src/dict.c, src/testdir/test_vim9_expr.vim
11967
11968Patch 8.2.1890
11969Problem: Vim9: strange error for subtracting from a list.
11970Solution: Check getting a number, not a string. (closes #7167)
11971Files: src/eval.c, src/testdir/test_vim9_expr.vim
11972
11973Patch 8.2.1891
11974Problem: Vim9: skipping over expression doesn't handle line breaks.
11975Solution: Pass evalarg to skip_expr(). (closes #7157)
11976Files: src/vim9compile.c, src/eval.c, src/proto/eval.pro, src/ex_docmd.c,
11977 src/misc1.c, src/testdir/test_vim9_cmd.vim
11978
11979Patch 8.2.1892
11980Problem: Valgrind warns for using uninitialized access in tests.
11981Solution: Fix condition for breaking out of loop. (Dominique Pellé,
11982 closes #7187)
11983Files: src/terminal.c
11984
11985Patch 8.2.1893
11986Problem: Fuzzy matching does not support multiple words.
11987Solution: Add support for matching white space separated words. (Yegappan
11988 Lakshmanan, closes #7163)
11989Files: runtime/doc/eval.txt, src/search.c,
11990 src/testdir/test_matchfuzzy.vim
11991
11992Patch 8.2.1894
11993Problem: Vim9: command modifiers are not supported.
11994Solution: Support "silent" and "silent!".
11995Files: src/structs.h, src/vim9compile.c, src/vim9.h, src/vim9execute.c,
11996 src/evalvars.c, src/testdir/test_vim9_disassemble.vim,
11997 src/testdir/test_vim9_cmd.vim
11998
11999Patch 8.2.1895 (after 8.2.1894)
12000Problem: Vim9: silent command modifier test fails.
12001Solution: Add missing changes.
12002Files: src/ex_docmd.c
12003
12004Patch 8.2.1896
12005Problem: Valgrind warns for using uninitialized memory.
12006Solution: NUL terminate the SmcOpenConnection() error message. (Dominique
12007 Pellé, closes #7194)
12008Files: src/os_unix.c
12009
12010Patch 8.2.1897
12011Problem: Command modifiers are saved and set inconsistently.
12012Solution: Separate parsing and applying command modifiers. Save values in
12013 cmdmod_T.
12014Files: src/structs.h, src/ex_docmd.c, src/proto/ex_docmd.pro,
12015 src/ex_cmds.h, src/vim9compile.c
12016
12017Patch 8.2.1898
12018Problem: Command modifier parsing always uses global cmdmod.
12019Solution: Pass in cmdmod_T to use. Rename struct fields consistently.
Bram Moolenaar47c532e2022-03-19 15:18:53 +000012020Files: src/structs.h, src/arglist.c, src/buffer.c, src/bufwrite.c,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000012021 src/diff.c, src/change.c, src/cmdhist.c, src/edit.c,
12022 src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_getln.c,
12023 src/fileio.c, src/filepath.c, src/gui.c, src/gui_gtk_x11.c,
12024 src/help.c, src/if_cscope.c, src/indent.c, src/mark.c,
12025 src/memline.c, src/message.c, src/option.c, src/ops.c,
12026 src/os_unix.c, src/quickfix.c, src/register.c, src/scriptfile.c,
12027 src/search.c, src/session.c, src/tag.c, src/terminal.c,
12028 src/textformat.c, src/usercmd.c, src/vim9compile.c, src/window.c,
12029 src/proto/ex_docmd.pro
12030
12031Patch 8.2.1899
12032Problem: Crash in out-of-memory situation.
12033Solution: Bail out if shell_name is NULL. (Dominique Pellé, closes #7196)
12034Files: src/ex_cmds.c
12035
12036Patch 8.2.1900
12037Problem: Vim9: command modifiers do not work.
12038Solution: Make most command modifiers work.
12039Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
12040 src/usercmd.c, src/proto/usercmd.pro, src/scriptfile.c,
12041 src/testdir/test_vim9_disassemble.vim
12042
12043Patch 8.2.1901
12044Problem: Variable completion does not work in command line window.
12045Solution: Use the "prevwin". (closes #7198)
12046Files: src/evalvars.c, src/testdir/test_ins_complete.vim
12047
12048Patch 8.2.1902
12049Problem: Default option values are changed when using :badd for an existing
12050 buffer.
12051Solution: When calling buflist_new() pass a zero line number. (closes #7195)
12052Files: src/ex_cmds.c, src/testdir/test_buffer.vim
12053
12054Patch 8.2.1903 (after 8.2.1902)
12055Problem: Buffer test fails with normal features.
12056Solution: Use 'numberwidth' instead of 'conceallevel' in the test.
12057Files: src/testdir/test_buffer.vim
12058
12059Patch 8.2.1904
12060Problem: Still using default option values after using ":badd +1".
12061Solution: Find a window where options were set. Don't set the window when
12062 using ":badd".
12063Files: src/buffer.c, src/ex_cmds.c, src/vim.h,
12064 src/testdir/test_buffer.vim
12065
12066Patch 8.2.1905
12067Problem: The wininfo list may contain stale entries.
12068Solution: When closing a window remove any other entry where the window
12069 pointer is NULL.
12070Files: src/buffer.c, src/proto/buffer.pro, src/window.c
12071
12072Patch 8.2.1906
12073Problem: Warning for signed/unsigned.
12074Solution: Use size_t instead of int. (Mike Williams)
12075Files: src/proto/usercmd.pro, src/usercmd.c, src/vim9execute.c
12076
12077Patch 8.2.1907
12078Problem: Complete_info().selected may be wrong.
12079Solution: Update cp_number if it was never set. (issue #6945)
12080Files: src/insexpand.c, src/testdir/test_ins_complete.vim
12081
12082Patch 8.2.1908
12083Problem: Lua is initialized even when not used.
12084Solution: Put lua_init() after check for "eap->skip". (Christian Brabandt,
12085 closes #7191). Avoid compiler warnings.
12086Files: src/if_lua.c, src/testdir/test_lua.vim
12087
12088Patch 8.2.1909
12089Problem: Number of status line items is limited to 80.
12090Solution: Dynamically allocate the arrays. (Rom Grk, closes #7181)
12091Files: runtime/doc/options.txt, src/buffer.c, src/optionstr.c,
12092 src/proto/buffer.pro, src/screen.c, src/structs.h,
12093 src/testdir/test_options.vim, src/testdir/test_statusline.vim,
12094 src/vim.h
12095
12096Patch 8.2.1910
12097Problem: Reading past the end of the command line.
12098Solution: Check for NUL. (closes #7204)
12099Files: src/ex_docmd.c, src/testdir/test_edit.vim
12100
12101Patch 8.2.1911
12102Problem: Tiny build fails.
12103Solution: Add #ifdef.
12104Files: src/insexpand.c
12105
12106Patch 8.2.1912
12107Problem: With Python 3.9 some tests fail.
12108Solution: Take into account the different error message. (James McCoy,
12109 closes #7210)
12110Files: src/testdir/test_python3.vim
12111
12112Patch 8.2.1913
12113Problem: GTK GUI: rounding for the cell height is too strict.
12114Solution: Round up above 15/16 of a pixel. (closes #7203)
12115Files: src/gui_gtk_x11.c
12116
12117Patch 8.2.1914
12118Problem: Vim9: cannot put line break in expression for '=' register.
12119Solution: Pass fgetline to set_expr_line(). (closes #7209)
12120Files: src/register.c, src/proto/register.pro, src/ex_docmd.c,
12121 src/eval.c, src/proto/eval.pro, src/misc2.c,
12122 src/testdir/test_vim9_script.vim
12123
12124Patch 8.2.1915
12125Problem: Vim9: error for wrong number of arguments is not useful.
12126Solution: Mention whatever we have for the name. (closes #7208)
12127Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
12128
12129Patch 8.2.1916
12130Problem: Vim9: function call is aborted even when "silent!" is used.
12131Solution: Use did_emsg instead of called_emsg. (closes #7213)
12132Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
12133
12134Patch 8.2.1917
12135Problem: No test for improved Man command.
12136Solution: Test that shell arguments are properly escaped.
12137Files: src/testdir/test_man.vim
12138
12139Patch 8.2.1918
12140Problem: Vim9: E1100 mentions :let.
12141Solution: Mention "var". (closes #7207)
12142Files: src/vim9script.c, src/errors.h
12143
12144Patch 8.2.1919
12145Problem: Assert_fails() setting emsg_silent changes normal execution.
12146Solution: Use a separate flag in_assert_fails.
12147Files: src/testing.c, src/globals.h, src/buffer.c, src/change.c,
12148 src/fileio.c, src/insexpand.c, src/message.c, src/misc1.c,
12149 src/normal.c, src/screen.c, src/term.c, src/vim9execute.c,
12150 src/testdir/test_vim9_func.vim, src/testdir/gen_opt_test.vim,
12151 src/testdir/test_autocmd.vim, src/testdir/test_mapping.vim,
12152 src/testdir/test_popup.vim, src/testdir/test_terminal.vim
12153
12154Patch 8.2.1920
12155Problem: Listlbr test fails when run after another test.
12156Solution: Add test separately to list of test targets.
12157Files: src/testdir/Make_all.mak, src/testdir/test_alot_utf8.vim
12158
12159Patch 8.2.1921
12160Problem: Fuzzy matching does not recognize path separators.
12161Solution: Add a bonus for slash and backslash. (Yegappan Lakshmanan,
12162 closes #7225)
12163Files: src/search.c, src/testdir/test_matchfuzzy.vim
12164
12165Patch 8.2.1922
12166Problem: Win32: scrolling doesn't work properly when part of window is
12167 off-screen.
12168Solution: Fall back to GDI scrolling if part of the window is off-screen.
12169 Handle multi-monitor setup better. (Ken Takata, closes #7219)
12170Files: src/gui_w32.c
12171
12172Patch 8.2.1923
12173Problem: Vim9: "filter" command modifier doesn't work.
12174Solution: Check for space on char before argument. (closes #7216,
12175 closes #7222)
12176Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
12177
12178Patch 8.2.1924
12179Problem: Vim9: crash when indexing dict with NULL key.
12180Solution: Use empty string instead of NULL. (closes #7229) Make error
12181 message more useful for empty string.
12182Files: src/vim9execute.c, src/globals.h, src/testdir/test_vim9_expr.vim
12183
12184Patch 8.2.1925 (after 8.2.1924)
12185Problem: List/dict test fails.
12186Solution: Correct expected exception.
12187File: src/testdir/test_listdict.vim
12188
12189Patch 8.2.1926
12190Problem: Cannot use a space in 'spellfile'. (Filipe Brandenburger)
12191Solution: Permit using a space. (closes #7230)
12192Files: src/spell.c, src/testdir/gen_opt_test.vim
12193
12194Patch 8.2.1927
12195Problem: Vim9: get unknown error with an error in a timer function.
12196Solution: Use did_emsg instead of called_emsg. (closes #7231)
12197Files: src/vim9compile.c, src/vim9execute.c
12198
12199Patch 8.2.1928
12200Problem: Vim9: "silent!" not effective when list index is wrong.
12201Solution: Ignore list index failure when emsg_silent is set. (closes #7232)
12202Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
12203
12204Patch 8.2.1929
12205Problem: MS-Windows: problem loading Perl 5.32.
12206Solution: Define NO_THREAD_SAFE_LOCALE. (Ken Takata, closes #7234)
12207Files: src/if_perl.xs
12208
12209Patch 8.2.1930
12210Problem: Wrong input if removing shift results in special key code.
12211Solution: Handle special key codes. (closes #7189)
12212Files: src/term.c, src/testdir/test_termcodes.vim
12213
12214Patch 8.2.1931
12215Problem: Vim9: arguments of extend() not checked at compile time.
12216Solution: Add argument type checking for extend().
12217Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
12218
12219Patch 8.2.1932
12220Problem: Compiler warnings when building with Athena GUI.
12221Solution: Fix function signatures.
12222Files: src/gui_at_fs.c
12223
12224Patch 8.2.1933
12225Problem: Cannot sort using locale ordering.
12226Solution: Add a flag for :sort and sort() to use the locale. (Dominique
12227 Pellé, closes #7237)
12228Files: runtime/doc/change.txt, runtime/doc/eval.txt, src/ex_cmds.c,
12229 src/list.c, src/testdir/test_sort.vim
12230
12231Patch 8.2.1934
12232Problem: Vim9: command modifiers in :def function not tested.
12233Solution: Add tests. Fix using modifier before filter command.
12234Files: src/ex_docmd.c, src/vim9compile.c, src/testdir/test_vim9_cmd.vim
12235
12236Patch 8.2.1935 (after 8.2.1933)
12237Problem: Sort test fails on Mac.
12238Solution: Disable the sort test with locale on Mac.
12239Files: src/testdir/test_sort.vim
12240
12241Patch 8.2.1936
12242Problem: Session sets the local 'scrolloff' value to the global value.
12243Solution: Do not let restoring the global option value change the local
12244 value.
12245Files: src/session.c, src/testdir/test_mksession.vim
12246
12247Patch 8.2.1937
12248Problem: Vim9: test for confirm modifier fails in some situations.
12249Solution: Add a short wait. Handle failure better.
12250Files: src/testdir/term_util.vim, src/testdir/test_vim9_cmd.vim
12251
12252Patch 8.2.1938
12253Problem: Wiping out a terminal buffer makes some tests fail.
12254Solution: Do not wipe out the terminal buffer unless wanted.
12255Files: src/testdir/term_util.vim, src/testdir/test_terminal.vim,
12256 src/testdir/test_terminal3.vim
12257
12258Patch 8.2.1939
12259Problem: Invalid memory access in Ex mode with global command.
12260Solution: Make sure the cursor is on a valid line. (closes #7238)
12261Files: src/move.c, src/testdir/test_ex_mode.vim
12262
12263Patch 8.2.1940
12264Problem: Vim9: browse modifier test fails on Mac.
12265Solution: Only test when the +browse feature is available.
12266Files: src/testdir/test_vim9_cmd.vim
12267
12268Patch 8.2.1941
12269Problem: Ex mode test fails on MS-Windows with GUI.
12270Solution: Skip the test when using gvim.
12271Files: src/testdir/test_ex_mode.vim
12272
12273Patch 8.2.1942
12274Problem: Insufficient test coverage for the Netbeans interface.
12275Solution: Add more tests. Fix an uncovered bug. (Yegappan Lakshmanan,
12276 closes #7240)
12277Files: runtime/doc/netbeans.txt, src/mouse.c,
12278 src/testdir/test_netbeans.py, src/testdir/test_netbeans.vim,
12279 src/testdir/test_quickfix.vim
12280
12281Patch 8.2.1943
12282Problem: Vim9: wrong error message when colon is missing.
12283Solution: Check for a missing colon. (issue #7239)
12284Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
12285
12286Patch 8.2.1944
12287Problem: Netbeans test is flaky.
12288Solution: Add a short delay. (Yegappan Lakshmanan, closes #7246)
12289Files: src/testdir/test_netbeans.vim
12290
12291Patch 8.2.1945
12292Problem: Crash when passing NULL function to reduce().
12293Solution: Check for NULL pointer and give an error. (Dominique Pellé,
12294 closes #7243)
12295Files: src/list.c, src/errors.h, src/testdir/test_listdict.vim
12296
12297Patch 8.2.1946
12298Problem: sort() with NULL string not tested.
12299Solution: Add a test. use v:collate. (Dominique Pellé, closes #7247)
12300Files: src/testdir/test_sort.vim
12301
12302Patch 8.2.1947
12303Problem: Crash when using "zj" without folds. (Sean Dewar)
12304Solution: Check for at least one fold. (closes #7245)
12305Files: src/fold.c, src/testdir/test_fold.vim
12306
12307Patch 8.2.1948
12308Problem: GUI: crash when handling message while closing a window. (Srinath
12309 Avadhanula)
12310Solution: Don't handle message while closing a window. (closes #7250)
12311Files: src/window.c, src/globals.h, src/getchar.c
12312
12313Patch 8.2.1949
12314Problem: Vim9: using extend() on null dict is silently ignored.
12315Solution: Give an error message. Initialize a dict variable with an empty
12316 dictionary. (closes #7251)
12317Files: src/errors.h, src/list.c, src/evalvars.c,
12318 src/testdir/test_vim9_assign.vim
12319
12320Patch 8.2.1950
12321Problem: Vim9: crash when compiling function fails when getting type.
12322Solution: Handle NULL type. (closes #7253)
12323Files: src/vim9type.c, src/testdir/test_vim9_expr.vim
12324
12325Patch 8.2.1951 (after 8.2.1949)
12326Problem: Test for list and dict fails.
12327Solution: Adjust for using an empty list/dict for a null one.
12328Files: src/testdir/test_listdict.vim, src/testdir/test_python2.vim,
12329 src/testdir/test_python3.vim
12330
12331Patch 8.2.1952
12332Problem: Vim9: crash when using a NULL dict key.
12333Solution: Use a NULL dict key like an empty string. (closes #7249)
12334Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
12335
12336Patch 8.2.1953
12337Problem: Vim9: extra "unknown" error after other error.
12338Solution: Restore did_emsg count after EXEC instruction. (closes #7254)
12339 Improve error message from assert_fails()
12340Files: src/vim9execute.c, src/testing.c,
12341 src/testdir/test_vim9_script.vim, src/testdir/test_assert.vim
12342
12343Patch 8.2.1954
12344Problem: Vim9: not all command modifiers are tested.
12345Solution: Add tests for "keep" modifiers. Fix that marks are lost even
12346 though ":lockmarks" is used.
12347Files: src/ex_cmds.c, src/testdir/test_vim9_cmd.vim
12348
12349Patch 8.2.1955
12350Problem: Vim9: not all command modifiers are tested.
12351Solution: Add tests for remaining modifiers.
12352Files: src/testdir/test_vim9_cmd.vim
12353
12354Patch 8.2.1956
12355Problem: Vim9: cannot specify argument types for lambda.
12356Solution: Allow adding argument types. Check arguments when calling a
12357 function reference.
12358Files: src/userfunc.c, src/proto/userfunc.pro, src/vim9compile.c,
12359 src/eval.c, src/testdir/test_vim9_disassemble.vim,
12360 src/testdir/test_vim9_func.vim
12361
12362Patch 8.2.1957
12363Problem: Diff and cursorcolumn highlighting don't mix.
12364Solution: Fix condition for what attribute to use. (Christian Brabandt,
12365 closes #7258, closes #7260)
12366Files: src/drawline.c, src/testdir/dumps/Test_diff_cuc_01.dump,
12367 src/testdir/dumps/Test_diff_cuc_02.dump,
12368 src/testdir/dumps/Test_diff_cuc_03.dump,
12369 src/testdir/dumps/Test_diff_cuc_04.dump,
12370 src/testdir/test_diffmode.vim
12371
12372Patch 8.2.1958 (after 8.2.1956)
12373Problem: Build failure with timers.
12374Solution: Add missing change.
12375Files: src/popupwin.c
12376
12377Patch 8.2.1959
12378Problem: Crash when terminal buffer name is made empty. (Dhiraj Mishra)
12379Solution: Fall back to "[No Name]". (closes #7262)
12380Files: src/buffer.c, src/proto/buffer.pro, src/terminal.c,
12381 src/testdir/test_terminal.vim
12382
12383Patch 8.2.1960
12384Problem: Warning for uninitialized variable.
12385Solution: Initialize the variable.
12386Files: src/evalfunc.c
12387
12388Patch 8.2.1961
12389Problem: Various comments can be improved.
12390Solution: Various comment adjustments.
12391Files: src/dict.c, src/structs.h, src/time.c, src/testdir/shared.vim,
12392 src/testdir/test_netbeans.vim, src/gui_motif.c
12393
12394Patch 8.2.1962
12395Problem: Netbeans may access freed memory.
12396Solution: Check the buffer pointer is still valid. Add a test. (Yegappan
12397 Lakshmanan, closes #7248)
12398Files: src/netbeans.c, src/testdir/test_netbeans.vim
12399
12400Patch 8.2.1963
12401Problem: Crash when using a popup window with "latin1" encoding.
12402Solution: Don't use ScreenLinesUC when enc_utf8 is false. (closes #7241)
12403Files: src/screen.c, src/terminal.c, src/testdir/test_popupwin.vim
12404
12405Patch 8.2.1964
12406Problem: Not all ConTeXt files are recognized.
12407Solution: Add two patterns. (closes #7263)
12408Files: runtime/filetype.vim, src/testdir/test_filetype.vim
12409
12410Patch 8.2.1965
12411Problem: Vim9: tests fail without the channel feature.
12412Solution: Check if the channel feature is present. (Dominique Pellé,
Bram Moolenaar1588bc82022-03-08 21:35:07 +000012413 closes #7270)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000012414Files: src/testdir/test_vim9_expr.vim
12415
12416Patch 8.2.1966
12417Problem: Popup becomes current window after closing a terminal window.
12418Solution: When restoring the window after executing autocommands, check that
12419 the window ID is still the same. (Naruhiko Nishino,
12420 closes #7272)
12421Files: src/autocmd.c, src/window.c, src/proto/window.pro, src/structs.h,
12422 src/testdir/test_popupwin.vim
12423
12424Patch 8.2.1967
12425Problem: The session file does not restore the alternate file.
12426Solution: Add ":balt". Works like ":badd" and also sets the buffer as the
12427 alternate file. Use it in the session file. (closes #7269,
12428 closes #6714)
12429Files: runtime/doc/windows.txt, src/ex_cmds.h, src/ex_cmdidxs.h,
12430 src/ex_docmd.c, src/vim.h, src/ex_cmds.c, src/session.c,
12431 src/testdir/test_buffer.vim
12432
12433Patch 8.2.1968
12434Problem: Vim9: has() assumes a feature does not change dynamically.
12435Solution: Check whether a feature may change dynamically. (closes #7265)
12436Files: src/vim9compile.c, src/evalfunc.c, src/proto/evalfunc.pro,
12437 src/testdir/test_vim9_disassemble.vim
12438
12439Patch 8.2.1969
12440Problem: Vim9: map() may change the list or dict item type.
12441Solution: Add mapnew().
12442Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
12443 src/list.c, src/proto/list.pro, src/testdir/test_filter_map.vim
12444
12445Patch 8.2.1970
12446Problem: It is easy to make mistakes when cleaning up swap files after the
12447 system crashed.
12448Solution: Warn for the process still running after recovery. Do not
12449 automatically delete a swap file created on another system.
12450 (David Fries, closes #7273)
12451Files: src/memline.c, src/testdir/test_swap.vim
12452
12453Patch 8.2.1971
12454Problem: Memory leak when map() fails.
12455Solution: Clear the typval.
12456Files: src/list.c
12457
12458Patch 8.2.1972
12459Problem: Crash when recreating nested fold.
12460Solution: Check for empty growarray. (closes #7278)
12461Files: src/fold.c, src/testdir/test_fold.vim
12462
12463Patch 8.2.1973
12464Problem: Finding a patch number can be a bit slow.
12465Solution: Use binary search. (closes #7279)
12466Files: src/version.c
12467
12468Patch 8.2.1974
12469Problem: Vim9: test for has('gui_running') fails with VIMDLL.
12470Solution: Adjust the #ifdef. (Ken Takata, closes #7276)
12471Files: src/evalfunc.c
12472
12473Patch 8.2.1975
12474Problem: Win32: memory leak when encoding conversion fails.
12475Solution: Free the allocated memory. (Ken Takata, closes #7277)
12476Files: src/os_win32.c
12477
12478Patch 8.2.1976
12479Problem: Cannot backspace in prompt buffer after using cursor-left. (Maxim
12480 Kim)
12481Solution: Ignore "arrow_used" in a prompt buffer. (closes #7281)
12482Files: src/edit.c, src/testdir/test_prompt_buffer.vim
12483
12484Patch 8.2.1977
12485Problem: Vim9: error for using a string in a condition is confusing.
12486Solution: Give a more specific error. Also adjust the compile time type
12487 checking for || and &&.
12488Files: src/vim9compile.c, src/vim9execute.c, src/proto/vim9execute.pro,
12489 src/typval.c, src/errors.h, src/testdir/test_vim9_cmd.vim,
12490 src/testdir/test_vim9_disassemble.vim,
12491 src/testdir/test_vim9_expr.vim
12492
12493Patch 8.2.1978
12494Problem: Making a mapping work in all modes is complicated.
12495Solution: Add the <Cmd> special key. (Yegappan Lakshmanan, closes #7282,
12496 closes 4784, based on patch by Bjorn Linse)
12497Files: runtime/doc/autocmd.txt, runtime/doc/eval.txt,
12498 runtime/doc/map.txt, src/edit.c, src/errors.h, src/ex_docmd.c,
12499 src/ex_getln.c, src/getchar.c, src/insexpand.c, src/keymap.h,
12500 src/map.c, src/misc2.c, src/normal.c, src/ops.c,
12501 src/proto/getchar.pro, src/screen.c, src/terminal.c,
12502 src/testdir/test_mapping.vim
12503
12504Patch 8.2.1979
12505Problem: "term_opencmd" option of term_start() is truncated. (Sergey
12506 Vlasov)
12507Solution: Allocate the buffer to hold the command. (closes #7284)
12508Files: src/terminal.c, src/testdir/test_terminal.vim
12509
12510Patch 8.2.1980
12511Problem: Vim9: some tests are not done at the script level.
12512Solution: Use CheckDefAndScriptSuccess() in more places. Fix uncovered
12513 problems.
12514Files: src/eval.c, src/list.c, src/scriptfile.c,
12515 src/testdir/test_vim9_expr.vim
12516
12517Patch 8.2.1981
12518Problem: MinGW: parallel compilation might fail.
12519Solution: Add dependencies on $(OUTDIR). (Masamichi Abe, closes #7287)
12520Files: src/Make_cyg_ming.mak
12521
12522Patch 8.2.1982
12523Problem: Quickfix window not updated when adding invalid entries.
12524Solution: Update the quickfix buffer properly. (Yegappan Lakshmanan, closes
12525 #7291, closes #7271)
12526Files: src/quickfix.c, src/testdir/test_quickfix.vim
12527
12528Patch 8.2.1983
12529Problem: ml_get error when using <Cmd> to open a terminal.
12530Solution: If the window changed reset the incsearch state. (closes #7289)
12531Files: src/ex_getln.c, src/testdir/test_terminal.vim,
12532 src/testdir/dumps/Test_terminal_from_cmd.dump
12533
12534Patch 8.2.1984
12535Problem: Cannot use :vimgrep in omni completion, causing C completion to
12536 fail.
12537Solution: Add the EX_LOCK_OK flag to :vimgrep. (closes #7292)
12538Files: src/ex_cmds.h, src/testdir/test_quickfix.vim
12539
12540Patch 8.2.1985
12541Problem: Crash when closing terminal popup with <Cmd> mapping.
12542Solution: Check b_term is not NULL. (closes #7294)
12543Files: src/terminal.c, src/testdir/test_terminal.vim
12544
12545Patch 8.2.1986
12546Problem: Expression test is flaky on Appveyor.
12547Solution: Temporarily disable the test in MS-Windows.
12548Files: src/testdir/test_vim9_expr.vim
12549
12550Patch 8.2.1987
12551Problem: MS-Windows: Win32.mak is no longer needed.
12552Solution: Do not include Win32.mak. (Jason McHugh, closes #7290)
12553Files: src/Make_mvc.mak, src/INSTALLpc.txt
12554
12555Patch 8.2.1988
12556Problem: Still in Insert mode when opening terminal popup with a <Cmd>
12557 mapping in Insert mode.
12558Solution: Exit Insert mode. (closes #7295)
12559Files: src/edit.c, src/testdir/test_terminal.vim
12560
12561Patch 8.2.1989
12562Problem: Info popup triggers WinEnter and WinLeave autocommands.
12563Solution: Suppress autocommands for the info popup. (closes #7296)
12564Files: src/popupmenu.c, src/testdir/test_popupwin.vim
12565
12566Patch 8.2.1990
12567Problem: Cursor position wrong in terminal popup with finished job.
12568Solution: Only add the top and left offset when not done already.
12569 (closes #7298)
12570Files: src/popupwin.c, src/structs.h, src/drawline.c, src/move.c,
12571 src/terminal.c, src/testdir/dumps/Test_terminal_popup_m1.dump
12572
12573Patch 8.2.1991
12574Problem: Coverity warns for not using the ga_grow() return value.
12575Solution: Bail out if ga_grow() fails. (Yegappan Lakshmanan, closes #7303)
12576Files: src/getchar.c
12577
12578Patch 8.2.1992
12579Problem: Build fails with small features.
12580Solution: Add #ifdef.
12581Files: src/move.c
12582
12583Patch 8.2.1993
12584Problem: Occasional failure of the netbeans test.
12585Solution: Add "silent!". (Yegappan Lakshmanan, closes #7304)
12586Files: src/testdir/test_netbeans.vim
12587
12588Patch 8.2.1994 (after 8.2.1981)
12589Problem: MS-Windows: MinGW always does a full build.
12590Solution: Only check if $OUTDIR exists. (Masamichi Abe, closes #7311)
12591Files: src/Make_cyg_ming.mak
12592
12593Patch 8.2.1995
12594Problem: The popup menu can cause too much redrawing.
12595Solution: Reduce the length of the displayed text. (Yasuhiro Matsumoto,
12596 closes #7306)
12597Files: src/popupmenu.c
12598
12599Patch 8.2.1996
12600Problem: Vim9: invalid error for argument of extend().
12601Solution: Check if the type could match. (closes #7299)
12602Files: src/evalfunc.c, src/vim9compile.c, src/proto/vim9compile.pro,
12603 src/vim9type.c, src/proto/vim9type.pro,
12604 src/testdir/test_vim9_builtin.vim
12605
12606Patch 8.2.1997
12607Problem: Window changes when using bufload() while in a terminal popup.
12608Solution: When searching for a window by ID also find a popup window.
12609 (closes #7307)
12610Files: src/window.c, src/testdir/test_terminal.vim
12611
12612Patch 8.2.1998
12613Problem: Terminal Cmd test sometimes fails to close popup.
12614Solution: Add "term_finish" option.
12615Files: src/testdir/test_terminal.vim
12616
12617Patch 8.2.1999
12618Problem: Terminal popup test sometimes fails.
12619Solution: Wait for the popup to close.
12620Files: src/testdir/test_terminal.vim
12621
12622Patch 8.2.2000
12623Problem: Vim9: dict.key assignment not implemented yet.
12624Solution: Implement dict.key assignment. (closes #7312)
12625Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
12626
12627Patch 8.2.2001
12628Problem: Vim9: :def function does not apply 'maxfuncdepth'.
12629Solution: Use 'maxfuncdepth'. (issue #7313)
12630Files: src/vim9execute.c, src/userfunc.c, src/proto/userfunc.pro,
12631 src/testdir/test_vim9_func.vim
12632
12633Patch 8.2.2002
12634Problem: Vim9: lambda argument shadowed by function name.
12635Solution: Let function name be shadowed by lambda argument. (closes #7313)
12636Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
12637
12638Patch 8.2.2003
12639Problem: Build error with +conceal but without +popupwin.
12640Solution: Add #ifdef. (Tom Ryder, closes #7316)
12641Files: src/drawline.c
12642
12643Patch 8.2.2004 (after 8.2.2002)
12644Problem: Compiler warning for uninitialized variable.
12645Solution: Initialize "ufunc". (John Marriott)
12646Files: src/vim9compile.c
12647
12648Patch 8.2.2005
12649Problem: Redoing a mapping with <Cmd> doesn't work properly.
12650Solution: Fill the redo buffer. Use "<SNR>" instead of a key code.
12651 (closes #7282)
12652Files: src/ops.c, src/getchar.c, src/testdir/test_mapping.vim
12653
12654Patch 8.2.2006
12655Problem: .pbtxt files are not recognized.
12656Solution: Recognize .pbtxt as protobuf text buffers. (closes #7326)
12657Files: runtime/filetype.vim, src/testdir/test_filetype.vim
12658
12659Patch 8.2.2007
12660Problem: Test for insert mode in popup is not reliable.
12661Solution: Wait for the popup to disappear. (Ozaki Kiichi, closes #7321)
12662Files: src/testdir/test_terminal.vim
12663
12664Patch 8.2.2008
12665Problem: MS-Windows GUI: handling channel messages lags.
12666Solution: Reduce the wait time from 100 to 10 msec. (closes #7097)
12667Files: src/gui_w32.c
12668
12669Patch 8.2.2009
12670Problem: MS-Windows: setting $LANG in gvimext only causes problems.
12671Solution: Do not set $LANG. (Ken Takata, closes #7325)
12672Files: src/GvimExt/gvimext.cpp
12673
12674Patch 8.2.2010
12675Problem: Vim9: compiling fails for unreachable return statement.
12676Solution: Fix it. (closes #7319)
12677Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
12678
12679Patch 8.2.2011
12680Problem: "syn sync" reports a very large number.
12681Solution: Use "at the first line".
12682Files: src/syntax.c, src/testdir/test_syntax.vim
12683
12684Patch 8.2.2012
12685Problem: Vim9: confusing error message when using bool wrongly.
12686Solution: Mention "Bool" instead of "Special". (closes #7323)
12687Files: src/typval.c, src/errors.h, src/testdir/test_vim9_expr.vim
12688
12689Patch 8.2.2013
12690Problem: Vim9: not skipping white space after unary minus.
12691Solution: Skip whitespace. (closes #7324)
12692Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
12693
12694Patch 8.2.2014
12695Problem: Using CTRL-O in a prompt buffer moves cursor to start of the line.
12696Solution: Do not move the cursor when restarting edit. (closes #7330)
12697Files: src/job.c, src/testdir/test_prompt_buffer.vim
12698
12699Patch 8.2.2015
12700Problem: Vim9: literal dict #{} is not like any other language.
12701Solution: Support the JavaScript syntax.
12702Files: runtime/doc/vim9.txt, src/vim9compile.c,
12703 src/proto/vim9compile.pro, src/errors.h,
12704 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_builtin.vim,
12705 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
12706
12707Patch 8.2.2016
12708Problem: Swap file test is a little flaky.
12709Solution: Don't set a byte to a fixed value, increment it.
12710Files: src/testdir/test_swap.vim
12711
12712Patch 8.2.2017 (after 8.2.2015)
12713Problem: Missing part of the dict change.
12714Solution: Also change the script level dict.
12715Files: src/dict.c
12716
12717Patch 8.2.2018
12718Problem: Vim9: script variable not found from lambda.
12719Solution: In a lambda also check the script hashtab for a variable without a
12720 scope. (closes #7329)
12721Files: src/evalvars.c, src/testdir/test_vim9_func.vim
12722
12723Patch 8.2.2019 (after 8.2.2016)
12724Problem: Swap file test fails on MS-Windows.
12725Solution: Add four to the process ID. (Ken Takata, closes #7333)
12726Files: src/testdir/test_swap.vim
12727
12728Patch 8.2.2020
12729Problem: Some compilers do not like the "namespace" argument.
12730Solution: Rename to "use_namespace". (closes #7332)
12731Files: src/vim9compile.c, src/proto/vim9compile.pro
12732
12733Patch 8.2.2021
12734Problem: Vim9: get E1099 when autocommand resets did_emsg.
12735Solution: Add did_emsg_cumul. (closes #7336)
12736Files: src/globals.h, src/ex_docmd.c, src/vim9execute.c,
12737 src/testdir/test_vim9_func.vim
12738
12739Patch 8.2.2022
Bram Moolenaar1588bc82022-03-08 21:35:07 +000012740Problem: Vim9: star command recognized erroneously.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000012741Solution: Give an error for missing colon. (issue #7335)
12742Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
12743
12744Patch 8.2.2023
12745Problem: Vim: memory leak when :execute fails.
12746Solution: Clear the growarray.
12747Files: src/vim9execute.c
12748
12749Patch 8.2.2024
12750Problem: Flicker when redrawing a popup with a title and border.
12751Solution: Do not redraw the border where the title is displayed. (Naruhiko
12752 Nishino, closes #7334)
12753Files: src/popupwin.c
12754
12755Patch 8.2.2025
12756Problem: Amiga: Not all colors are used on OS4.
12757Solution: Adjust the #ifdef to include __amigaos4__. (Ola Söder,
12758 closes #7328)
12759Files: src/term.c
12760
12761Patch 8.2.2026
12762Problem: Coverity warns for possibly using not NUL terminated string.
12763Solution: Put a NUL in b0_hname just in case.
12764Files: src/memline.c
12765
12766Patch 8.2.2027
12767Problem: Coverity warns for uninitialized field.
12768Solution: Set "v_lock".
12769Files: src/list.c
12770
12771Patch 8.2.2028
12772Problem: Coverity warns for using an uninitialized variable.
12773Solution: Initialize to NULL.
12774Files: src/eval.c
12775
12776Patch 8.2.2029
12777Problem: Coverity warns for not checking return value.
12778Solution: Check that u_save_cursor() returns OK.
12779Files: src/ops.c
12780
12781Patch 8.2.2030
12782Problem: Some tests fail on Mac.
12783Solution: Avoid Mac test failures. Add additional test for wildmenu.
12784 (Yegappan Lakshmanan, closes #7341)
12785Files: src/testdir/runtest.vim, src/testdir/test_cmdline.vim,
12786 src/testdir/test_options.vim, src/testdir/test_popupwin.vim
12787
12788Patch 8.2.2031
12789Problem: Some tests fail when run under valgrind.
12790Solution: Avoid timing problems.
12791Files: src/testdir/test_vim9_func.vim, src/testdir/test_channel.vim,
12792 src/testdir/test_clientserver.vim, src/testdir/test_debugger.vim,
12793 src/testdir/test_quotestar.vim
12794
12795Patch 8.2.2032
12796Problem: Cabalconfig and cabalproject filetypes not recognized.
12797Solution: Detect more cabal files. (Marcin Szamotulski, closes #7339)
12798Files: runtime/filetype.vim, src/testdir/test_filetype.vim
12799
12800Patch 8.2.2033
12801Problem: Vim9: :def without argument gives compilation error.
12802Solution: Add the DEF instruction. (closes #7344)
12803Files: src/ex_docmd.c, src/vim9.h, src/vim9compile.c, src/vim9execute.c,
12804 src/userfunc.c, src/proto/userfunc.pro,
12805 src/testdir/test_vim9_disassemble.vim,
12806 src/testdir/test_vim9_func.vim
12807
12808Patch 8.2.2034
12809Problem: Vim9: list unpack in for statement not compiled yet.
12810Solution: Compile list unpack. (closes #7345)
12811Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/errors.h,
12812 src/eval.c, src/testdir/test_vim9_disassemble.vim,
12813 src/testdir/test_vim9_script.vim
12814
12815Patch 8.2.2035
12816Problem: MS-Windows: some tests may fail.
12817Solution: Avoid test failures. (Yegappan Lakshmanan, closes #7346)
12818Files: src/testdir/test_channel.vim, src/testdir/test_ex_mode.vim,
12819 src/testdir/test_functions.vim
12820
12821Patch 8.2.2036
12822Problem: Current buffer is messed up if creating a new buffer for the
12823 quickfix window fails.
12824Solution: Check that creating the buffer succeeds. (closes #7352)
12825Files: src/quickfix.c, src/testdir/test_quickfix.vim,
12826 src/testdir/dumps/Test_quickfix_window_fails.dump
12827
12828Patch 8.2.2037
12829Problem: Compiler test depends on list of compiler plugins.
12830Solution: Compare with the actual list of compiler plugins.
12831Files: src/testdir/test_compiler.vim
12832
12833Patch 8.2.2038
12834Problem: Compiler test fails on MS-Windows.
12835Solution: Sort the found compiler plugin names.
12836Files: src/testdir/test_compiler.vim
12837
12838Patch 8.2.2039
12839Problem: Viminfo is not written when creating a new file.
12840Solution: Set "b_marks_read" in the new buffer. (Christian Brabandt,
12841 closes #7350)
12842Files: src/bufwrite.c, src/testdir/test_viminfo.vim
12843
12844Patch 8.2.2040
12845Problem: Terminal buffer disappears even when 'bufhidden' is "hide".
12846 (Sergey Vlasov)
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010012847Solution: Check 'bufhidden' when a terminal buffer becomes hidden.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000012848 (closes #7358)
12849Files: src/buffer.c, src/testdir/test_terminal.vim
12850
12851Patch 8.2.2041
12852Problem: Haskell filetype not optimally recognized.
12853Solution: Recognize all *.hsc files as Haskell. (Marcin Szamotulski,
12854 closes #7354)
12855Files: runtime/filetype.vim, src/testdir/test_filetype.vim
12856
12857Patch 8.2.2042
12858Problem: Build failure with +profile but without +reltime.
12859Solution: Adjust #ifdef. (Christian Brabandt, closes #7361)
12860Files: src/syntax.c
12861
12862Patch 8.2.2043
12863Problem: GTK3: white border around text stands out.
12864Solution: Use current theme color. (closes #7357, issue #349)
12865Files: src/gui_gtk_x11.c
12866
12867Patch 8.2.2044
12868Problem: MS-Windows: swap file test sometimes fails.
12869Solution: Use a more reliable way to change the process ID. When "timeout"
12870 fails use "ping" to wait up to ten minutes. (Ken Takata,
12871 closes #7365)
12872Files: .github/workflows/ci-windows.yaml, src/testdir/test_swap.vim
12873
12874Patch 8.2.2045
12875Problem: Highlighting a character too much with incsearch.
12876Solution: Check "search_match_endcol". (Christian Brabandt, closes #7360)
12877Files: src/drawline.c, src/testdir/test_search.vim,
12878 src/testdir/dumps/Test_incsearch_newline1.dump,
12879 src/testdir/dumps/Test_incsearch_newline2.dump,
12880 src/testdir/dumps/Test_incsearch_newline3.dump,
12881 src/testdir/dumps/Test_incsearch_newline4.dump,
12882 src/testdir/dumps/Test_incsearch_newline5.dump
12883
12884Patch 8.2.2046
12885Problem: Some test failures don't give a clear error.
12886Solution: Use assert_match() and assert_fails() instead of assert_true().
12887 (Ken Takata, closes #7368)
12888Files: src/testdir/test_autocmd.vim, src/testdir/test_backspace_opt.vim
12889
12890Patch 8.2.2047
12891Problem: Amiga: FEAT_ARP defined when it should not.
12892Solution: Adjust #ifdef. (Ola Söder, closes #7370)
12893Files: src/feature.h
12894
12895Patch 8.2.2048
12896Problem: Amiga: obsolete code.
12897Solution: Remove the unused lines. (Ola Söder, closes #7373)
12898Files: src/gui.c
12899
12900Patch 8.2.2049
12901Problem: Amiga: obsolete function.
12902Solution: Remove the function. (Ola Söder, closes #7374)
12903Files: src/memfile.c
12904
12905Patch 8.2.2050
12906Problem: Search test contains unneeded sleeps.
12907Solution: Rename the function, remove sleeps. (Christian Brabandt,
12908 closes #7369)
12909Files: src/testdir/test_search.vim
12910
12911Patch 8.2.2051
12912Problem: Vim9: crash when aborting a user function call.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000012913Solution: Do not use the return value when aborting. (closes #7372)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000012914Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
12915
12916Patch 8.2.2052
12917Problem: Vim9: "edit +4 fname" gives an error. (Naruhiko Nishino)
12918Solution: Allow using a range in the +cmd argument. (closes #7364)
12919Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/vim.h, src/ex_cmds.c,
12920 src/testdir/test_vim9_cmd.vim
12921
12922Patch 8.2.2053
Bram Moolenaar1588bc82022-03-08 21:35:07 +000012923Problem: Vim9: lambda doesn't accept argument types.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000012924Solution: Optionally accept argument types at the script level.
12925Files: src/eval.c, src/testdir/test_vim9_expr.vim
12926
12927Patch 8.2.2054
12928Problem: Amiga: FEAT_ARP defined when it should not.
12929Solution: Adjust "||" to "&&" in #ifdef. (Ola Söder, closes #7375)
12930Files: src/feature.h
12931
12932Patch 8.2.2055
12933Problem: MS-Windows: two Vim instances may use the same temp file.
12934Solution: Use the process ID for the temp name. (Ken Takata, closes #7378)
12935Files: src/fileio.c
12936
12937Patch 8.2.2056
12938Problem: Configure fails when building with the
12939 "implicit-function-declaration" error enabled, specifically on Mac.
12940Solution: Declear the functions like in the source code. (suggestion by
12941 Clemens Lang, closes #7380)
12942Files: src/configure.ac, src/auto/configure
12943
12944Patch 8.2.2057
12945Problem: Getting the selection may trigger TextYankPost autocmd.
12946Solution: Only trigger the autocommand when yanking in Vim, not for getting
12947 the selection. (closes #7367)
12948Files: src/clipboard.c, src/normal.c, src/register.c,
12949 src/testdir/test_autocmd.vim
12950
12951Patch 8.2.2058
12952Problem: Using mkview/loadview changes the jumplist.
12953Solution: Use ":keepjumps". Don't let ":badd" or ":balt" change the
12954 jumplist. (closes #7371)
12955Files: src/session.c, src/ex_docmd.c, src/testdir/test_mksession.vim
12956
12957Patch 8.2.2059
12958Problem: Amiga: can't find plugins.
12959Solution: Do not use "**" in the pattern. (Ola Söder, closes #7384)
12960Files: src/main.c
12961
12962Patch 8.2.2060
12963Problem: Check for features implemented with "if".
12964Solution: Use the Check commands. (Ken Takata, closes #7383)
12965Files: src/testdir/test_autocmd.vim, src/testdir/test_compiler.vim,
12966 src/testdir/test_delete.vim, src/testdir/test_diffmode.vim,
12967 src/testdir/test_expr.vim, src/testdir/test_fold.vim
12968
12969Patch 8.2.2061
12970Problem: Vim9: E1030 error when using empty string for term_sendkeys().
12971Solution: Don't check for an invalid type unless the terminal can't be
12972 found. (closes #7382)
12973Files: src/terminal.c, src/testdir/test_termcodes.vim
12974
12975Patch 8.2.2062
12976Problem: <Cmd> does not handle CTRL-V.
12977Solution: Call get_literal() after encountering CTRL-V. (closes #7387)
12978Files: src/getchar.c, src/testdir/test_mapping.vim
12979
12980Patch 8.2.2063
12981Problem: Vim9: only one level of indexing supported.
12982Solution: Handle more than one index in an assignment.
12983Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_assign.vim
12984
12985Patch 8.2.2064
12986Problem: terminal: cursor is on while redrawing, causing flicker.
12987Solution: Switch the cursor off while redrawing. Always add the top and
12988 left offset to the cursor position when not done already.
12989 (closes #5943)
12990Files: src/terminal.c, src/popupwin.c
12991
12992Patch 8.2.2065
12993Problem: Using map() and filter() on a range() is inefficient.
12994Solution: Do not materialize the range. (closes #7388)
12995Files: src/list.c, src/testdir/test_functions.vim
12996
12997Patch 8.2.2066
12998Problem: Vim9: assignment with += doesn't work.
12999Solution: Do not see the "+" as an addition operator.
13000Files: src/eval.c, src/ex_docmd.c, src/testdir/test_vim9_assign.vim
13001
13002Patch 8.2.2067 (after 8.2.2064)
13003Problem: Cursor position in popup terminal is wrong.
13004Solution: Don't check the flags.
13005Files: src/terminal.c, src/testdir/test_popupwin.vim
13006
13007Patch 8.2.2068
13008Problem: Transparent syntax item uses start/end of containing region.
13009Solution: Do not change the startpos and endpos of a transparent region to
13010 that of its containing region. (Adrian Ghizaru, closes #7349,
13011 closes #7391)
13012Files: src/syntax.c, src/testdir/test_syntax.vim
13013
13014Patch 8.2.2069
13015Problem: The quickfix window is not updated after setqflist().
13016Solution: Update the quickfix buffer. (Yegappan Lakshmanan, closes #7390,
13017 closes #7385)
13018Files: src/quickfix.c, src/testdir/test_quickfix.vim
13019
13020Patch 8.2.2070
13021Problem: Can't get the exit value in VimLeave or VimLeavePre autocommands.
13022Solution: Add v:exiting like in Neovim. (Yegappan Lakshmanan, closes #7395)
13023Files: runtime/doc/autocmd.txt, runtime/doc/eval.txt, src/evalvars.c,
13024 src/main.c, src/testdir/test_exit.vim, src/vim.h
13025
13026Patch 8.2.2071
13027Problem: Vim9: list assign doesn't accept an empty remainder list.
13028Solution: Recognize list assignment with ";".
13029Files: src/ex_docmd.c, src/testdir/test_vim9_assign.vim
13030
13031Patch 8.2.2072
13032Problem: Vim9: list assign not well tested.
13033Solution: Test with different destinations. Fix white space error.
13034Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
13035
13036Patch 8.2.2073
13037Problem: Vim9: for with unpack only works for local variables.
13038Solution: Recognize different destinations.
13039Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
13040
13041Patch 8.2.2074
13042Problem: Vim9: using :normal from Vim9 script can't handle range.
13043Solution: Execute a :normal command in legacy script context. (closes #7401)
13044Files: src/structs.h, src/ex_docmd.c, src/testdir/test_vim9_script.vim
13045
13046Patch 8.2.2075
13047Problem: Error for const argument to mapnew().
13048Solution: Don't give an error. (closes #7400)
13049Files: src/list.c, src/testdir/test_filter_map.vim
13050
13051Patch 8.2.2076
13052Problem: MS-Windows console: sometimes drops typed characters.
13053Solution: Do not wait longer than 10 msec for input. (issue #7164)
13054Files: src/os_win32.c
13055
13056Patch 8.2.2077
13057Problem: Build failure with small features.
13058Solution: Add #ifdef.
13059Files: src/structs.h, src/ex_docmd.c
13060
13061Patch 8.2.2078
13062Problem: Illegal memory access when using :print on invalid text. (Dhiraj
13063 Mishra)
13064Solution: Check for more composing characters than supported. (closes #7399)
13065Files: src/message.c, src/testdir/test_utf8.vim
13066
13067Patch 8.2.2079
13068Problem: Vim9: cannot put a linebreak before or after "in" of ":for".
13069Solution: Skip over linebreak.
13070Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
13071
13072Patch 8.2.2080
13073Problem: Vim9: no proper error message for using s:var in for loop.
13074Solution: Give a specific error.
13075Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
13076
13077Patch 8.2.2081
13078Problem: Vim9: cannot handle a linebreak after "=" in assignment.
13079Solution: Skip over linebreak. (closes #7407)
13080Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim,
13081 src/testdir/test_vim9_expr.vim
13082
13083Patch 8.2.2082
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013084Problem: Vim9: can still use the deprecated #{} dict syntax.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013085Solution: Remove support for #{} in Vim9 script. (closes #7406, closes #7405)
13086Files: src/dict.c, src/proto/dict.pro, src/eval.c, src/vim9compile.c,
13087 src/testdir/test_vim9_assign.vim,
13088 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim,
13089 src/testdir/test_vim9_disassemble.vim,
13090 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
13091 src/testdir/test_vim9_script.vim, src/testdir/test_popupwin.vim,
13092 src/testdir/test_textprop.vim
13093
13094Patch 8.2.2083
13095Problem: Vim9: crash when using ":silent!" and getting member fails.
13096Solution: Jump to on_fatal_error. (closes #7412)
13097Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
13098
13099Patch 8.2.2084
13100Problem: CTRL-V U doesn't work to enter a Unicode character when
13101 modifyOtherKeys is effective. (Ken Takata)
13102Solution: Add a flag to get_literal() for the shift key. (closes #7413)
13103Files: src/edit.c, src/proto/edit.pro, src/ex_getln.c, src/getchar.c,
13104 src/normal.c, src/testdir/test_termcodes.vim
13105
13106Patch 8.2.2085
13107Problem: Qt translation file is recognized as typescript.
13108Solution: Check the first line for "<?xml". (closes #7418)
13109Files: runtime/filetype.vim, src/testdir/test_filetype.vim
13110
13111Patch 8.2.2086
13112Problem: Libvterm tests are only run on Linux.
13113Solution: Use static libraries. (Ozaki Kiichi, closes #7419)
13114Files: .travis.yml, src/Makefile, src/libvterm/Makefile,
13115 src/libvterm/t/run-test.pl
13116
13117Patch 8.2.2087
13118Problem: Vim9: memory leak when statement is truncated.
13119Solution: Increment the number of local variables.
13120Files: src/vim9compile.c
13121
13122Patch 8.2.2088
13123Problem: Vim9: script test sometimes fails.
13124Solution: Unlet variables.
13125Files: src/testdir/test_vim9_script.vim
13126
13127Patch 8.2.2089
13128Problem: Libvterm test fails to build on Mac.
13129Solution: Adjust configure to remove a space between -L and the path that
13130 follows.
13131Files: src/configure.ac, src/auto/configure
13132
13133Patch 8.2.2090
13134Problem: Vim9: dict does not accept a key in quotes.
13135Solution: Recognize a key in single or double quotes.
13136Files: runtime/doc/vim9.txt, src/dict.c, src/proto/dict.pro,
13137 src/vim9compile.c, src/testdir/test_vim9_expr.vim
13138
13139Patch 8.2.2091
13140Problem: MS-Windows: build warnings.
13141Solution: Add a #pragma to suppress the deprecation warning. (Ken Takata)
13142 Avoid using a non-ASCII character. (closes #7421)
13143Files: src/message.c, src/os_win32.c
13144
13145Patch 8.2.2092
13146Problem: Vim9: unpredictable errors for script tests.
13147Solution: Use a different script file name for each run.
13148Files: src/testdir/vim9.vim, src/testdir/test_vim9_script.vim,
13149 src/testdir/test_vim9_func.vim, src/testdir/test_quickfix.vim,
13150 src/testdir/test_vim9_assign.vim
13151
13152Patch 8.2.2093
13153Problem: Vim9: script test sometimes fails.
13154Solution: Do not find a script variable by its typval if the name was
13155 cleared.
13156Files: src/vim9script.c
13157
13158Patch 8.2.2094
13159Problem: When an expression fails getting the next command may be wrong.
13160Solution: Do not check for a next command after :eval fails. (closes #7415)
13161Files: src/eval.c, src/testdir/test_vim9_cmd.vim
13162
13163Patch 8.2.2095
13164Problem: Vim9: crash when failed dict member is followed by concatenation.
13165Solution: Remove the dict from the stack. (closes #7416)
13166Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
13167
13168Patch 8.2.2096
13169Problem: Vim9: command modifiers not restored after assignment.
13170Solution: Jump to nextline instead of using continue.
13171Files: src/vim9compile.c, src/vim9execute.c,
13172 src/testdir/test_vim9_func.vim
13173
13174Patch 8.2.2097
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013175Problem: Vim9: using :silent! when calling a function prevents aborting
13176 that function.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013177Solution: Add emsg_silent_def and did_emsg_def.
13178Files: src/globals.h, src/message.c, src/vim9execute.c,
13179 src/testdir/test_vim9_func.vim
13180
13181Patch 8.2.2098
13182Problem: Vim9: function argument of sort() and map() not tested.
13183Solution: Add a couple of tests.
13184Files: src/testdir/test_vim9_builtin.vim
13185
13186Patch 8.2.2099
13187Problem: Vim9: some checks are not tested.
13188Solution: Add a few more tests. Give better error messages.
13189Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
13190 src/testdir/test_vim9_expr.vim
13191
13192Patch 8.2.2100
13193Problem: Insufficient testing for function range and dict.
13194Solution: Add a few tests. (Dominique Pellé, closes #7428)
13195Files: src/testdir/test_functions.vim, src/testdir/test_lambda.vim,
13196 src/testdir/test_signals.vim, src/testdir/test_user_func.vim
13197
13198Patch 8.2.2101
13199Problem: Vim9: memory leak when literal dict has an error and when an
13200 expression is not complete.
13201Solution: Clear the typval and the growarray.
13202Files: src/dict.c, src/vim9compile.c
13203
13204Patch 8.2.2102
13205Problem: Vim9: not all error messages tested.
13206Solution: Add a few test cases.
13207Files: src/testdir/test_vim9_func.vim
13208
13209Patch 8.2.2103
13210Problem: Vim9: unreachable code.
13211Solution: Remove the code to prepend s: to the variable name
13212Files: src/vim9compile.c
13213
13214Patch 8.2.2104
13215Problem: Build problem with Ruby 2.7.
13216Solution: Adjust function declarations. (Ozaki Kiichi, closes #7430)
13217Files: src/configure.ac, src/auto/configure, src/if_ruby.c
13218
13219Patch 8.2.2105
13220Problem: Sound test is a bit flaky.
13221Solution: Use WaitForAssert(). (Dominique Pellé, closes #7429)
13222Files: src/testdir/test_sound.vim
13223
13224Patch 8.2.2106
13225Problem: TOML files are not recognized.
13226Solution: Match *.toml. (issue #7432)
13227Files: runtime/filetype.vim, src/testdir/test_filetype.vim
13228
13229Patch 8.2.2107
13230Problem: Vim9: some errors not tested.
13231Solution: Add tests. Fix getting the right error.
13232Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim,
13233 src/testdir/test_vim9_expr.vim
13234
13235Patch 8.2.2108
13236Problem: Vim9: no test to check for :let error.
13237Solution: Add a test. Rename tests from _let_ to _var_.
13238Files: src/testdir/test_vim9_assign.vim
13239
13240Patch 8.2.2109
13241Problem: "vim -" does not work well when modifyOtherKeys is enabled and a
13242 shell command is executed on startup.
13243Solution: Only change modifyOtherKeys when executing a shell command in raw
13244 mode.
13245Files: src/os_unix.c
13246
13247Patch 8.2.2110
13248Problem: Cannot use ":shell" when reading from stdin. (Gary Johnson)
13249Solution: Revert patch 8.2.1833.
13250Files: src/main.c
13251
13252Patch 8.2.2111
13253Problem: GTK: Menu background is the same color as the main window.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013254Solution: Fix white space around the text in another way. (closes #7437,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013255 closes #7427)
13256Files: src/gui_gtk_x11.c
13257
13258Patch 8.2.2112
13259Problem: Running tests may leave some files behind.
13260Solution: Delete the right files. Fix a few typos. (Dominique Pellé,
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013261 closes #7436)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013262Files: src/testdir/test_filetype.vim, src/testdir/test_messages.vim,
13263 src/testdir/test_mksession.vim
13264
13265Patch 8.2.2113
13266Problem: MS-Windows GUI: crash after using ":set guifont=" four times.
13267Solution: Check for NULL pointer. (Ken Takata, closes #7434)
13268Files: src/gui_dwrite.cpp, src/testdir/test_gui.vim
13269
13270Patch 8.2.2114
13271Problem: Vim9: unreachable code in assignment.
13272Solution: Remove impossible condition and code.
13273Files: src/vim9compile.c
13274
13275Patch 8.2.2115
13276Problem: Vim9: some errors not tested for; dead code.
13277Solution: Add a test. Remove dead code.
13278Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
13279
13280Patch 8.2.2116
13281Problem: MS-Windows GUI: test for 'guifont' is incomplete.
13282Solution: Set 'renderoptions'. (Christian Brabandt)
13283Files: src/testdir/test_gui.vim
13284
13285Patch 8.2.2117
13286Problem: Some functions use any value as a string.
13287Solution: Check that the value is a non-empty string.
13288Files: src/typval.c, src/proto/typval.pro, src/mbyte.c, src/filepath.c,
13289 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim
13290
13291Patch 8.2.2118
13292Problem: Dead code in the job support. (Dominique Pellé)
13293Solution: Define USE_ARGV before checking for it.
13294Files: src/job.c
13295
13296Patch 8.2.2119
13297Problem: GTK3: status line background color is wrong.
13298Solution: Don't change the code for earlier GTK3 versions. (closes #7444)
13299Files: src/gui_gtk_x11.c
13300
13301Patch 8.2.2120
13302Problem: Not all Perl functionality is tested.
13303Solution: Add a few more test cases. (Dominique Pellé, closes #7440)
13304Files: src/testdir/test_perl.vim
13305
13306Patch 8.2.2121
13307Problem: Internal error when using \ze before \zs in a pattern.
13308Solution: Check the end is never before the start. (closes #7442)
13309Files: src/regexp_bt.c, src/regexp_nfa.c,
13310 src/testdir/test_regexp_latin.vim
13311
13312Patch 8.2.2122
13313Problem: Vim9: crash when sourcing vim9script early.
13314Solution: Use set_option_value() instead of setting p_cpo directly.
13315 (closes #7441)
13316Files: src/scriptfile.c, src/testdir/test_vim9_script.vim
13317
13318Patch 8.2.2123
13319Problem: After using a complete popup the buffer is listed. (Boris
13320 Staletic)
13321Solution: Make the buffer unlisted.
13322Files: src/popupmenu.c, src/testdir/test_popupwin.vim
13323
13324Patch 8.2.2124
13325Problem: Vim9: a range cannot be computed at runtime.
13326Solution: Add the ISN_RANGE instruction.
13327Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
13328 src/testdir/test_vim9_script.vim,
13329 src/testdir/test_vim9_disassemble.vim
13330
13331Patch 8.2.2125 (after 8.2.2122)
13332Problem: Vim9: leaking memory.
13333Solution: Free the saved 'cpo' value.
13334Files: src/scriptfile.c
13335
13336Patch 8.2.2126
13337Problem: Ruby: missing function prototype.
13338Solution: Add the prototype.
13339Files: src/if_ruby.c
13340
13341Patch 8.2.2127
13342Problem: Vim9: executing user command defined in Vim9 script not tested.
13343Solution: Add a test.
13344Files: src/testdir/test_vim9_script.vim
13345
13346Patch 8.2.2128
13347Problem: There is no way to do something on CTRL-Z.
13348Solution: Add VimSuspend and VimResume autocommand events. (closes #7450)
13349Files: runtime/doc/autocmd.txt, src/autocmd.c, src/ex_docmd.c,
13350 src/normal.c, src/testdir/test_suspend.vim, src/vim.h
13351
13352Patch 8.2.2129
13353Problem: MS-Windows: Checking if a file name is absolute is slow.
13354Solution: Do not use mch_FullName(). (closes #7033)
13355Files: src/os_mswin.c
13356
13357Patch 8.2.2130
13358Problem: Insert mode completion messages end up in message history.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013359Solution: Set msg_hist_off. (closes #7452)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013360Files: src/insexpand.c, src/testdir/test_ins_complete.vim
13361
13362Patch 8.2.2131
13363Problem: Vim9: crash when lambda uses same var as assignment.
13364Solution: Do not let lookup_local change lv_from_outer, make a copy.
13365 (closes #7461)
13366Files: src/vim9compile.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
13367 src/evalvars.c, src/proto/evalvars.pro,
13368 src/testdir/test_vim9_func.vim
13369
13370Patch 8.2.2132
13371Problem: Padding not drawn properly for popup window with title.
13372Solution: Draw the padding below the title. (closes #7460)
13373Files: src/popupwin.c, src/testdir/test_popupwin.vim,
13374 src/testdir/dumps/Test_popupwin_longtitle_3.dump,
13375 src/testdir/dumps/Test_popupwin_longtitle_4.dump
13376
13377Patch 8.2.2133
13378Problem: Vim9: checking for a non-empty string is too strict.
13379Solution: Check for any string. (closes #7447)
13380Files: src/typval.c, src/proto/typval.pro, src/errors.h, src/filepath.c,
13381 src/testdir/test_vim9_builtin.vim
13382
13383Patch 8.2.2134
13384Problem: Vim9: get E1099 when autocmd triggered in builtin function.
13385Solution: Check that did_emsg increased instead of checking that it changed.
13386 (closes #7448)
13387Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
13388
13389Patch 8.2.2135
13390Problem: Vim9: #{ still seen as start of dict in some places.
13391Solution: Remove check for { after #. (closes #7456)
13392Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
13393
13394Patch 8.2.2136
13395Problem: Vim9: Using uninitialized variable.
13396Solution: Initialize "len" to zero. Clean up fnamemodify().
13397Files: src/filepath.c
13398
13399Patch 8.2.2137
13400Problem: Vim9: :echo and :execute give error for empty argument.
13401Solution: Ignore an empty argument. (closes #7468)
13402Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_script.vim,
13403 src/testdir/test_vim9_disassemble.vim
13404
13405Patch 8.2.2138
13406Problem: Vim9: "exit_cb" causes Vim to exit.
13407Solution: Require white space after a command in Vim9 script. (closes #7467)
13408 Also fix that Vim9 style heredoc was not always recognized.
13409Files: src/ex_cmds.h, src/ex_docmd.c, src/errors.h, src/userfunc.c,
13410 src/testdir/test_vim9_assign.vim,
13411 src/testdir/test_vim9_script.vim, src/testdir/test_let.vim
13412
13413Patch 8.2.2139
13414Problem: Vim9: unreachable code in assignment.
13415Solution: Don't check "new_local" when "has_index" is set. Add test for
13416 wrong type of list index.
13417Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
13418
13419Patch 8.2.2140
13420Problem: Build failure with tiny features.
13421Solution: Add #ifdef.
13422Files: src/ex_docmd.c
13423
13424Patch 8.2.2141
13425Problem: A user command with try/catch may not catch an expression error.
13426Solution: When an expression fails check for following "|". (closes #7469)
13427Files: src/eval.c, src/testdir/test_trycatch.vim,
13428 src/testdir/test_vimscript.vim
13429
13430Patch 8.2.2142
13431Problem: Memory leak when heredoc is not terminated.
13432Solution: Free heredoc_trimmed.
13433Files: src/userfunc.c
13434
13435Patch 8.2.2143
13436Problem: Vim9: dead code in compiling :unlet.
13437Solution: Don't check for "!" a second time.
13438Files: src/vim9compile.c
13439
13440Patch 8.2.2144
13441Problem: Vim9: some corner cases not tested.
13442Solution: Add a few tests.
13443Files: src/testdir/test_vim9_script.vim, src/testdir/test_vim9_cmd.vim
13444
13445Patch 8.2.2145
13446Problem: Vim9: concatenating lists does not adjust type of result.
13447Solution: When list member types differ use "any" member type.
13448 (closes #7473)
13449Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
13450
13451Patch 8.2.2146
13452Problem: Vim9: automatic conversion of number to string for dict key.
13453Solution: Do not convert number to string. (closes #7474)
13454Files: src/dict.c, src/testdir/test_vim9_expr.vim
13455
13456Patch 8.2.2147
13457Problem: Quickfix window title not updated in all tab pages.
13458Solution: Update the quickfix window title in all tab pages. (Yegappan
13459 Lakshmanan, closes #7481, closes #7466)
13460Files: src/quickfix.c, src/testdir/test_quickfix.vim
13461
13462Patch 8.2.2148
13463Problem: Vim9: crash when user command doesn't match.
13464Solution: Adjust command index. (closes #7479)
13465Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
13466
13467Patch 8.2.2149
13468Problem: Popupwin test for latin1 sometimes fails.
13469Solution: Wait for the script to finish.
13470Files: src/testdir/test_popupwin.vim
13471
13472Patch 8.2.2150
13473Problem: Github actions CI isn't used for all available platforms.
13474Solution: Update the github workflows. (Ozaki Kiichi, closes #7433)
13475Files: .coveralls.yml, .github/workflows/ci-windows.yaml,
13476 .github/workflows/ci.yml, .travis.yml, README.md,
13477 ci/build-snd-dummy.sh, ci/setup-xvfb.sh
13478
13479Patch 8.2.2151
13480Problem: $dir not expanded when configure checks for moonjit.
13481Solution: Use double quotes instead of single quotes. (closes #7478)
13482Files: src/configure.ac, src/auto/configure
13483
13484Patch 8.2.2152
13485Problem: screenpos() does not include the WinBar offset.
13486Solution: Use W_WINROW() instead of directly using w_window. (closes #7487)
13487Files: src/move.c, src/testdir/test_cursor_func.vim
13488
13489Patch 8.2.2153
13490Problem: Popupwin test for latin1 still fails sometimes.
13491Solution: Wait for the "cat" command to finish.
13492Files: src/testdir/test_popupwin.vim
13493
13494Patch 8.2.2154
13495Problem: Popupwin test for terminal buffer fails sometimes.
13496Solution: Wait for the prompt to appear.
13497Files: src/testdir/test_popupwin.vim
13498
13499Patch 8.2.2155
13500Problem: Warning from Github actions for code analysis.
13501Solution: Remove the "git checkout HEAD^2" block.
13502Files: .github/workflows/codeql-analysis.yml
13503
13504Patch 8.2.2156
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013505Problem: Github actions run on pushing a tag.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013506Solution: Don't run CI on tag push. Omit coveralls on pull-request.
13507 (Ozaki Kiichi, closes #7489)
13508Files: .github/workflows/ci.yml, .github/workflows/codeql-analysis.yml
13509
13510Patch 8.2.2157
13511Problem: Vim9: can delete a Vim9 script variable from a function.
13512Solution: Check the variable is defined in Vim9 script. (closes #7483)
13513Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
13514
13515Patch 8.2.2158
13516Problem: CI on cirrus times out, coveralls doesn't always run.
13517Solution: Set timeout to 20 minutes. Adjust condition. (closes #7493)
13518Files: .cirrus.yml, .github/workflows/ci.yml
13519
13520Patch 8.2.2159
13521Problem: Vim9: when declaring a list it is not allocated yet, causing a
13522 following extend() to fail.
13523Solution: When fetching a variable value for a list or dict that is null
13524 allocate the list or dict, so it can be used. (closes #7491)
13525Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim
13526
13527Patch 8.2.2160
13528Problem: Various typos.
13529Solution: Fix spelling mistakes. (closes #7494)
13530Files: src/bufwrite.c, src/cindent.c, src/cmdexpand.c, src/eval.c,
13531 src/ex_cmds.c, src/feature.h, src/getchar.c, src/gui_haiku.cc,
13532 src/gui_xmdlg.c, src/help.c, src/if_ole.cpp, src/insexpand.c,
13533 src/list.c, src/map.c, src/memline.c, src/normal.c,
13534 src/os_win32.c, src/search.c, src/term.c,
13535 src/testdir/test_arglist.vim, src/testdir/test_autocmd.vim,
13536 src/testdir/test_debugger.vim, src/testdir/test_increment.vim,
13537 src/testdir/test_menu.vim, src/testdir/test_netbeans.vim,
13538 src/testdir/test_popupwin.vim, src/testdir/test_python2.vim,
13539 src/testdir/test_python3.vim, src/testdir/test_sort.vim,
13540 src/testdir/test_terminal2.vim, src/testdir/test_terminal3.vim,
13541 src/testdir/test_vartabs.vim, src/testdir/test_vimscript.vim,
13542 src/textprop.c, src/userfunc.c, src/vim9.h, src/vim9compile.c,
13543 src/vim9execute.c
13544
13545Patch 8.2.2161
13546Problem: Arguments -T and -x not tested yet.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013547Solution: Add a test. (Dominique Pellé, closes #7490)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013548Files: src/testdir/test_startup.vim
13549
13550Patch 8.2.2162
13551Problem: Vim9: Cannot load or store autoload variables.
13552Solution: Add ISN_LOADAUTO and ISN_STOREAUTO. (closes #7485)
13553Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/dict.c,
13554 src/eval.c, src/evalvars.c, src/proto/evalvars.pro,
13555 src/testdir/test_vim9_disassemble.vim,
13556 src/testdir/test_vim9_script.vim
13557
13558Patch 8.2.2163
13559Problem: Crash when discarded exception is the current exception.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013560Solution: Compare the exception with current_exception. (closes #7499)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013561Files: src/ex_eval.c
13562
13563Patch 8.2.2164
13564Problem: Vim9: autoload function doesn't work in script that starts with
13565 an upper case letter.
13566Solution: Check for the autoload character. (closes #7502)
13567Files: src/userfunc.c, src/testdir/test_vim9_script.vim
13568
13569Patch 8.2.2165
13570Problem: Vim9: assignment to dict member does not work.
13571Solution: Fix recognizing dict member. (closes #7484)
13572Files: src/ex_docmd.c, src/eval.c, src/evalvars.c, src/vim.h
13573
13574Patch 8.2.2166
13575Problem: Auto format doesn't work when deleting text.
13576Solution: Make "x" trigger auto format. (closes #7504)
13577Files: src/ops.c, src/testdir/test_textformat.vim
13578
13579Patch 8.2.2167
13580Problem: Vim9: assign test fails. (Elimar Riesebieter)
13581Solution: Adjust the test for dict assignment.
13582Files: src/testdir/test_vim9_assign.vim
13583
13584Patch 8.2.2168
13585Problem: Vim9: error for assigning to dict of dict.
13586Solution: Remember the destination type. (closes #7506)
13587Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
13588
13589Patch 8.2.2169
13590Problem: Vim9: test leaves file behind.
13591Solution: Rename script files. (Dominique Pellé, closes #7511)
13592 Use try/finally.
13593Files: src/testdir/test_vim9_script.vim, src/testdir/vim9.vim
13594
13595Patch 8.2.2170
13596Problem: Vim9: a global function defined in a :def function fails if it
13597 uses the context.
13598Solution: Create a partial to store the closure context. (see #7410)
13599Files: src/userfunc.c, src/proto/userfunc.pro, src/vim9execute.c,
13600 src/structs.h, src/testdir/test_vim9_func.vim
13601
13602Patch 8.2.2171
13603Problem: Valgrind warning for using uninitialized value.
13604Solution: Do not use "startp" or "endp" unless there is a match.
13605Files: src/regexp_nfa.c
13606
13607Patch 8.2.2172
13608Problem: Vim9: number of arguments is not always checked. (Yegappan
13609 Lakshmanan)
13610Solution: Check number of arguments when calling function by name.
13611Files: src/userfunc.c, src/proto/userfunc.pro, src/vim9execute.c,
13612 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
13613
13614Patch 8.2.2173
13615Problem: Vim9: get internal error when assigning to undefined variable.
13616Solution: Add error message. (closes #7475)
13617Files: src/vim9compile.c, src/vim9execute.c, src/errors.h,
13618 src/testdir/test_vim9_cmd.vim
13619
13620Patch 8.2.2174
13621Problem: Mac version doesn't specify the CPU architecture.
13622Solution: Add "arm64" or "x86_64". (Yee Cheng Chin, closes #7519)
13623Files: src/version.c
13624
13625Patch 8.2.2175
13626Problem: Github actions: clang-11 handling suboptimal.
13627Solution: Separate step of installing clang-11. Get ubuntu release name
13628 dynamically. (Ozaki Kiichi, closes #7514)
13629Files: .github/workflows/ci.yml
13630
13631Patch 8.2.2176
13632Problem: Crash with a sequence of fold commands.
13633Solution: Bail out when there are no folds at all. Add a test (Dominique
13634 Pellé) (closes #7515)
13635Files: src/fold.c, src/testdir/test_fold.vim
13636
13637Patch 8.2.2177
13638Problem: Pattern "^" does not match if the first character in the line is
13639 combining. (Rene Kita)
13640Solution: Do accept a match at the start of the line. (closes #6963)
13641Files: src/regexp_nfa.c, src/testdir/test_regexp_utf8.vim
13642
13643Patch 8.2.2178
13644Problem: Python 3: non-utf8 character cannot be handled.
13645Solution: Change the string decode. (Björn Linse, closes #1053)
13646Files: src/if_py_both.h, src/if_python.c, src/if_python3.c,
13647 src/testdir/test_python3.vim, src/testdir/test_python2.vim
13648
13649Patch 8.2.2179
13650Problem: Vim9: crash when indexing a dict with a number.
13651Solution: Add ISN_STOREINDEX. (closes #7513)
13652Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h,
13653 src/errors.h, src/testdir/test_vim9_assign.vim,
13654 src/testdir/test_vim9_disassemble.vim
13655
13656Patch 8.2.2180
13657Problem: Vim9: test for error after error is flaky.
13658Solution: Wait for job to finish instead of a fixed delay.
13659Files: src/testdir/test_vim9_script.vim
13660
13661Patch 8.2.2181
13662Problem: Valgrind warnings for using uninitialized value.
13663Solution: Do not use "start" or "end" unless there is a match.
13664Files: src/regexp_nfa.c, src/regexp_bt.c
13665
13666Patch 8.2.2182
13667Problem: Vim9: value of 'magic' is still relevant.
13668Solution: Always behave like 'magic' is on in Vim9 script (closes #7509)
13669Files: src/option.c, src/proto/option.pro, src/arglist.c, src/buffer.c,
13670 src/cmdexpand.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c,
13671 src/insexpand.c, src/normal.c, src/search.c, src/tag.c,
13672 src/structs.h, src/globals.h, src/ex_cmds.h,
13673 src/testdir/test_vim9_cmd.vim
13674
13675Patch 8.2.2183
13676Problem: Vim9: value of 'edcompatible' and 'gdefault' are used.
13677Solution: Ignore these deprecated options in Vim9 script. (closes #7508)
13678Files: src/ex_cmds.c, src/testdir/test_vim9_cmd.vim
13679
13680Patch 8.2.2184
13681Problem: Vim9: no error when using "2" for a line number.
13682Solution: Give an error message if the line number is invalid. (closes #7492)
13683Files: src/typval.c, src/evalfunc.c, src/testdir/test_vim9_builtin.vim,
13684 src/testdir/test_cursor_func.vim
13685
13686Patch 8.2.2185
13687Problem: BufUnload is not triggered for the quickfix dummy buffer.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013688Solution: Do trigger BufUnload. (Pontus Leitzler, closes #7518, closes #7517)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013689 Fix white space around "=".
13690Files: src/quickfix.c, src/testdir/test_autocmd.vim
13691
13692Patch 8.2.2186
13693Problem: Vim9: error when using 'opfunc'.
13694Solution: Do not expect a return value from 'opfunc'. (closes #7510)
13695Files: src/eval.c, src/proto/eval.pro, src/ops.c,
13696 src/testdir/test_vim9_func.vim
13697
13698Patch 8.2.2187
13699Problem: Python 3 test fails sometimes. (Christian Brabandt)
13700Solution: Accept two SystemError messages.
13701Files: src/testdir/test_python3.vim
13702
13703Patch 8.2.2188
13704Problem: Vim9: crash when calling global function from :def function.
13705Solution: Set the outer context. Define the partial for the context on the
13706 original function. Use a refcount to keep track of which ufunc is
13707 using a dfunc. (closes #7525)
13708Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9execute.c,
13709 src/proto/vim9execute.pro, src/userfunc.c, src/proto/userfunc.pro,
13710 src/structs.h, src/vim9.h, src/testdir/test_vim9_func.vim
13711
13712Patch 8.2.2189
13713Problem: Cannot repeat a command that uses the small delete register.
13714Solution: Store the register name instead of the contents. (Christian
13715 Brabandt, closes #7527)
13716Files: src/ops.c, src/register.c, src/testdir/test_registers.vim
13717
13718Patch 8.2.2190
13719Problem: Vim9: crash when compiled with EXITFREE.
13720Solution: Check that df_ufunc is not NULL.
13721Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
13722
13723Patch 8.2.2191
13724Problem: Vim9: using wrong name with lambda in nested function.
13725Solution: Copy the lambda name earlier. (closes #7525)
13726Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
13727
13728Patch 8.2.2192
13729Problem: Codecov on github actions fails.
13730Solution: Revert to codecov script. (Ozaki Kiichi, closes #7529)
13731Files: Filelist, .github/workflows/ci.yml
13732
13733Patch 8.2.2193
13734Problem: Vim9: can change constant in :def function.
13735Solution: Check if a variable is locked. (issue #7526)
13736Files: src/evalvars.c, src/proto/evalvars.pro, src/vim9execute.c,
13737 src/testdir/test_vim9_func.vim
13738
13739Patch 8.2.2194
13740Problem: Vim9: cannot use :const or :final at the script level.
13741Solution: Support using :const and :final. (closes #7526)
13742Files: src/vim.h, src/evalvars.c, src/testdir/test_vim9_assign.vim,
13743 src/testdir/test_vim9_func.vim
13744
13745Patch 8.2.2195
13746Problem: Failing tests for :const.
13747Solution: Add missing check for ASSIGN_FINAL.
13748Files: src/eval.c, src/evalvars.c, src/testdir/test_vim9_func.vim
13749
13750Patch 8.2.2196
13751Problem: :version output has extra spaces in compile and link command.
13752Solution: Adjust QUOTESED. (closes #7505)
13753Files: src/configure.ac, src/auto/configure
13754
13755Patch 8.2.2197
13756Problem: Assert arguments order reversed.
13757Solution: Swap the arguments. (Christian Brabandt, closes #7531)
13758Files: src/testdir/test_registers.vim
13759
13760Patch 8.2.2198
13761Problem: ml_get error when resizing window and using text property.
13762Solution: Validate botline of the right window. (closes #7528)
13763Files: src/move.c, src/proto/move.pro, src/textprop.c,
13764 src/testdir/test_textprop.vim
13765
13766Patch 8.2.2199
13767Problem: First write after setting 'eol' does not have NL added. (Tomáš
13768 Janoušek)
13769Solution: Only use b_no_eol_lnum when doing a binary write. (closes #7535)
13770Files: src/bufwrite.c, src/testdir/test_writefile.vim
13771
13772Patch 8.2.2200
13773Problem: Vim9: lambda without white space around -> is confusing.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013774Solution: Require white space in a :def function. (issue #7503)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013775Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim,
13776 src/testdir/test_vim9_disassemble.vim
13777
13778Patch 8.2.2201
13779Problem: Write file test fails on MS-Windows.
13780Solution: Force edit after setting 'fileformat'.
13781Files: src/testdir/test_writefile.vim
13782
13783Patch 8.2.2202
13784Problem: Write file test still fails on MS-Windows.
13785Solution: Set fileformat with the :edit command
13786Files: src/testdir/test_writefile.vim
13787
13788Patch 8.2.2203
13789Problem: Moodle gift files are not recognized.
13790Solution: Add a filetype pattern. (Delim Temizer)
13791Files: runtime/filetype.vim, src/testdir/test_filetype.vim
13792
13793Patch 8.2.2204
13794Problem: Vim9: using -> both for method and lambda is confusing.
13795Solution: Use => for lambda in :def function.
13796Files: runtime/doc/vim9.txt, src/vim9compile.c, src/userfunc.c,
13797 src/testdir/test_vim9_expr.vim
13798
13799Patch 8.2.2205
13800Problem: Vim9: memory leak when parsing lambda fails.
13801Solution: Clear growarrays.
13802Files: src/userfunc.c
13803
13804Patch 8.2.2206
13805Problem: :exe command line completion only works for first argument.
13806Solution: Skip over text if more is following. (closes #7546)
13807Files: src/eval.c, src/testdir/test_cmdline.vim
13808
13809Patch 8.2.2207
13810Problem: Illegal memory access if popup menu items are changed while the
13811 menu is visible. (Tomáš Janoušek)
13812Solution: Make a copy of the text. (closes #7537)
13813Files: src/popupmenu.c, src/testdir/test_popup.vim,
13814 src/testdir/dumps/Test_popup_command_04.dump,
13815 src/testdir/dumps/Test_popup_command_05.dump
13816
13817Patch 8.2.2208
13818Problem: Vim9: after reloading a script variable index may be invalid.
13819Solution: When the sequence number doesn't match give an error for using a
13820 script-local variable from a compiled function. (closes #7547)
13821Files: src/vim9.h, src/structs.h, src/errors.h, src/vim9compile.c,
13822 src/vim9execute.c, src/scriptfile.c,
13823 src/testdir/test_vim9_script.vim
13824
13825Patch 8.2.2209
13826Problem: Vim9: return type of => lambda not parsed.
13827Solution: Parse and use the return type.
13828Files: src/vim9compile.c, src/userfunc.c, src/vim9type.c,
Bram Moolenaar47c532e2022-03-19 15:18:53 +000013829 src/proto/vim9type.pro, src/vim9script.c, src/eval.c,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013830 src/testdir/test_vim9_expr.vim
13831
13832Patch 8.2.2210
13833Problem: Vim9: allocating a type to set TTFLAG_BOOL_OK.
13834Solution: Add t_number_bool.
13835Files: src/globals.h, src/vim9type.c, src/vim9compile.c
13836
13837Patch 8.2.2211
13838Problem: MS-Windows: can't load Python dll if not in the path.
13839Solution: Use the InstallPath registry entry. (Kelvin Lee, closes #7540)
13840Files: src/if_python3.c
13841
13842Patch 8.2.2212
13843Problem: Vim9: lambda with => does not work at the script level.
13844Solution: Make it work.
13845Files: src/eval.c, src/vim9type.c, src/userfunc.c,
13846 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_expr.vim
13847
13848Patch 8.2.2213
13849Problem: Checking white space around -> is not backwards compatible.
13850Solution: Only check white space around =>.
13851Files: src/userfunc.c
13852
13853Patch 8.2.2214
13854Problem: ":e#" does not give a warning for missing white space.
13855Solution: Adjust the check for white space. (closes #7545)
13856Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
13857
13858Patch 8.2.2215
13859Problem: Vim9: `=expr` not recognized in global command.
13860Solution: Skip over pattern. (issue #7541)
13861Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
13862
13863Patch 8.2.2216
13864Problem: Vim9: range with missing colon can be hard to spot.
13865Solution: Include the start of the range in the error. (closes #7543)
13866Files: src/errors.h, src/ex_docmd.c, src/vim9compile.c,
13867 src/testdir/test_vim9_cmd.vim
13868
13869Patch 8.2.2217
13870Problem: Vim9: command modifiers not restored in catch block.
13871Solution: Restore command modifiers. (closes #7542)
13872Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
13873
13874Patch 8.2.2218
13875Problem: Vim9: failure if passing more arguments to a lambda than expected.
13876Solution: Only put expected arguments on the stack. (closes #7548)
13877Files: src/vim9execute.c, src/testdir/test_vim9_builtin.vim
13878
13879Patch 8.2.2219
13880Problem: Vim9: method call with expression not supported.
13881Solution: Implement expr->(expr)().
13882Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
13883
13884Patch 8.2.2220
13885Problem: Vim9: memory leak when parsing nested parenthesis.
13886Solution: Clear newargs.
13887Files: src/userfunc.c
13888
13889Patch 8.2.2221
13890Problem: If <Down> is mapped on the command line 'wildchar' is inserted.
13891Solution: Set KeyTyped when using 'wildchar'. (closes #7552)
13892Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
13893
13894Patch 8.2.2222
13895Problem: Vim9: cannot keep script variables when reloading.
13896Solution: Add the "noclear" argument to :vim9script.
13897Files: runtime/doc/vim9.txt, src/structs.h, src/scriptfile.c,
13898 src/vim9script.c, src/ex_cmds.h, src/ex_docmd.c,
13899 src/testdir/test_vim9_script.vim
13900
13901Patch 8.2.2223
13902Problem: Vim9: Reloading marks a :def function as deleted.
13903Solution: Clear the function contents but keep the index.
13904Files: runtime/doc/vim9.txt, src/vim9compile.c, src/userfunc.c,
13905 src/testdir/test_vim9_script.vim
13906
13907Patch 8.2.2224
13908Problem: Vim9: crash if script reloaded with different variable type.
13909Solution: Check the type when accessing the variable.
13910Files: src/vim9execute.c, src/vim9compile.c, src/vim9.h, src/vim9type.c,
13911 src/proto/vim9type.pro, src/errors.h, src/evalvars.c,
13912 src/vim9script.c, src/proto/vim9script.pro,
13913 src/testdir/test_vim9_script.vim
13914
13915Patch 8.2.2225
13916Problem: Vim9: error when using :import in legacy script twice.
13917Solution: Make it possible to redefine an import when reloading.
13918Files: src/vim9script.c, src/proto/vim9script.pro, src/structs.h,
13919 src/evalvars.c, src/vim9compile.c,
13920 src/testdir/test_vim9_script.vim
13921
13922Patch 8.2.2226
13923Problem: Vim9: script test fails.
13924Solution: Add missing change.
13925Files: src/scriptfile.c
13926
13927Patch 8.2.2227
13928Problem: Vim9: recognizing lambda is too complicated.
13929Solution: Call compile_lambda() and check for NOTDONE.
13930Files: src/vim9compile.c, src/userfunc.c, src/testdir/test_vim9_expr.vim
13931
13932Patch 8.2.2228
13933Problem: Vim9: cannot use ":e #" because # starts a comment.
13934Solution: Support using %% instead of #.
13935Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
13936
13937Patch 8.2.2229
13938Problem: build failure without the +eval feature.
13939Solution: Add #ifdef.
13940Files: src/ex_docmd.c
13941
13942Patch 8.2.2230
13943Problem: Vim9: insert completion runs into error.
13944Solution: Insert colon before range. (closes #7556)
13945Files: src/insexpand.c, src/testdir/test_vim9_cmd.vim
13946
13947Patch 8.2.2231
13948Problem: When "--remote file" is used "file" is not reloaded.
13949Solution: When a :drop command is used for a file that is already displayed
13950 in a window and it has not been changed, check if it needs to be
13951 reloaded. (closes #7560)
13952Files: src/ex_cmds.c, src/testdir/test_clientserver.vim
13953
13954Patch 8.2.2232
13955Problem: Compiler error for falling through into next case.
13956Solution: Move FALLTHROUGH below the #endif
13957Files: src/ex_docmd.c
13958
13959Patch 8.2.2233
13960Problem: Cannot convert a byte index into a character index.
13961Solution: Add charidx(). (Yegappan Lakshmanan, closes #7561)
13962Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
13963 src/testdir/test_functions.vim
13964
13965Patch 8.2.2234
13966Problem: Command line wildmenu test often fails with Unix GUI.
13967Solution: Skip the test where it is expected to fail.
13968Files: src/testdir/test_cmdline.vim
13969
13970Patch 8.2.2235
13971Problem: Build failure with some Ruby versions.
13972Solution: Adjust the code for Ruby 3.0. (Ozaki Kiichi, closes #7564)
13973Files: ci/config.mk.clang.sed, src/if_ruby.c
13974
13975Patch 8.2.2236
13976Problem: 'scroll' option can change when setting the statusline or tabline
13977 but the option context is not updated.
13978Solution: Update the script context when the scroll option is changed as a
13979 side effect. (Christian Brabandt, closes #7533)
13980Files: runtime/doc/options.txt, src/scriptfile.c,
13981 src/testdir/test_options.vim, src/vim.h, src/window.c
13982
13983Patch 8.2.2237
13984Problem: CI on Mac fails in sed command.
13985Solution: Set LC_ALL to "C". (Ozaki Kiichi, closes #7565)
13986Files: .github/workflows/ci.yml
13987
13988Patch 8.2.2238
13989Problem: Vim9: cannot load a Vim9 script without the +eval feature.
13990Solution: Support Vim9 script syntax without the +eval feature.
13991Files: src/ex_docmd.c, src/vim9script.c, src/globals.h, src/main.c,
13992 src/autocmd.c, src/buffer.c, src/structs.h, src/menu.c,
13993 src/scriptfile.c, src/usercmd.c, src/proto.h, src/errors.h
13994
13995Patch 8.2.2239
13996Problem: Vim9: concatenating lines with backslash is inconvenient.
13997Solution: Support concatenating lines starting with '|', useful for
13998 :autocmd, :command, etc. (closes #6702)
13999Files: runtime/doc/vim9.txt, src/scriptfile.c, src/vim9script.c,
14000 src/proto/vim9script.pro, src/vim9compile.c,
14001 src/proto/vim9compile.pro, src/userfunc.c, src/structs.h,
14002 src/testdir/test_vim9_cmd.vim
14003
14004Patch 8.2.2240
14005Problem: Clientserver test fails if full path is used.
14006Solution: Ignore the path preceding the file name.
14007Files: src/testdir/test_clientserver.vim
14008
14009Patch 8.2.2241
14010Problem: Build with Ruby and clang may fail.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014011Solution: Adjust configure and sed script. (Ozaki Kiichi, closes #7566)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014012Files: ci/config.mk.clang.sed, src/auto/configure, src/configure.ac
14013
14014Patch 8.2.2242
14015Problem: Vim9: line continuation with bar does not work at script level.
14016Solution: Check for Vim9 script.
14017Files: src/structs.h, src/ex_docmd.c, src/userfunc.c, src/scriptfile.c,
14018 src/testdir/test_vim9_cmd.vim
14019
14020Patch 8.2.2243
14021Problem: Crash when popup mask contains zeroes.
14022Solution: Check boundaries properly. (closes #7569)
14023Files: src/popupwin.c, src/testdir/test_popupwin.vim
14024
14025Patch 8.2.2244
14026Problem: Crash when making the window width of the not-current window
14027 negative.
14028Solution: Make sure the window width is not negative. (closes #7568)
14029Files: src/window.c, src/testdir/test_window_cmd.vim
14030
14031Patch 8.2.2245
14032Problem: Vim9: return value of winrestcmd() cannot be executed.
14033Solution: Put colons before each range. (closes #7571)
14034Files: src/evalwindow.c, src/testdir/test_vim9_builtin.vim
14035
14036Patch 8.2.2246
14037Problem: Cursor keys not recognized at the hit-Enter prompt after executing
14038 an external command.
14039Solution: Change the codes for the extra cursor keys. (closes #7562)
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014040 Tune the delays to avoid test flakiness.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014041Files: runtime/doc/term.txt, src/term.c, src/testdir/test_terminal3.vim
14042
14043Patch 8.2.2247
14044Problem: VMS: various smaller problems.
14045Solution: Fix VMS building and other problems. (Zoltan Arpadffy)
14046Files: src/term.c, src/gui_gtk_vms.h, src/os_vms_conf.h, src/gui_x11.c,
14047 src/Make_vms.mms, src/macros.h, src/gui.h, src/os_unix.h
14048
14049Patch 8.2.2248
14050Problem: ASAN error on exit with GUI.
14051Solution: Check the window still has lines. (Christian Brabandt,
14052 closes #7573)
14053Files: src/term.c
14054
14055Patch 8.2.2249
Bram Moolenaar47c532e2022-03-19 15:18:53 +000014056Problem: Termcodes test is flaky when used over ssh with X forwarding.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014057Solution: Set 'mousetime' to a larger value. (Dominique Pellé, closes #7576,
14058 closes #7563)
14059Files: src/testdir/test_termcodes.vim
14060
14061Patch 8.2.2250
14062Problem: Vim9: sublist is ambiguous.
14063Solution: Require white space around the colon. (closes #7409)
14064Files: src/vim9compile.c, src/eval.c, src/testdir/test_vim9_expr.vim,
14065 src/testdir/test_vim9_disassemble.vim
14066
14067Patch 8.2.2251
14068Problem: Test failures in legacy script.
14069Solution: Check for Vim9 script.
14070Files: src/eval.c
14071
14072Patch 8.2.2252
14073Problem: Vim9: crash when using lambda without return type in dict.
14074Solution: Without a return type use t_unknown. (closes #7587)
14075Files: src/vim9type.c, src/vim9compile.c, src/testdir/test_vim9_expr.vim
14076
14077Patch 8.2.2253
14078Problem: Vim9: expr test fails.
14079Solution: Add missing assignment.
14080Files: src/userfunc.c
14081
14082Patch 8.2.2254
14083Problem: Vim9: bool option type is number.
14084Solution: Have get_option_value() return a different value for bool and
14085 number options. (closes #7583)
14086Files: src/option.h, src/option.c, src/proto/option.pro, src/evalvars.c,
14087 src/if_mzsch.c, src/if_ruby.c, src/spell.c, src/typval.c,
14088 src/vim9compile.c, src/testdir/test_vim9_assign.vim,
14089 src/testdir/test_vim9_cmd.vim
14090
14091Patch 8.2.2255 (after 8.2.2254)
14092Problem: Tcl test fails.
14093Solution: Change option handling.
14094Files: src/if_tcl.c
14095
14096Patch 8.2.2256
14097Problem: Vim9: cannot use function( after line break in :def function.
14098Solution: Check for "(" after "function". (closes #7581)
14099Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14100
14101Patch 8.2.2257
14102Problem: Vim9: using -> for lambda is ambiguous.
14103Solution: Stop supporting ->, must use =>.
14104Files: src/eval.c, src/vim9compile.c, src/testdir/test_vim9_assign.vim,
14105 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim,
14106 src/testdir/test_vim9_disassemble.vim,
14107 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
14108 src/testdir/test_vim9_script.vim
14109
14110Patch 8.2.2258
14111Problem: Not all OCaml related files are detected.
14112Solution: Update OCaml file type detection. (Markus Mottl, closes #7590)
14113Files: runtime/filetype.vim, src/testdir/test_filetype.vim
14114
14115Patch 8.2.2259
14116Problem: Test_Executable() fails when using chroot.
14117Solution: Ignore the difference between "sbin" and "bin".
14118Files: src/testdir/test_functions.vim
14119
14120Patch 8.2.2260
14121Problem: Window resize test fails in very wide terminal.
14122Solution: Resize using the 'columns' option. (Vladimir Lomov, closes #7592)
14123Files: src/testdir/test_window_cmd.vim
14124
14125Patch 8.2.2261
14126Problem: Vim9: boolean option gets string type.
14127Solution: Check for VAR_BOOL. (closes #7588)
14128Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
14129
14130Patch 8.2.2262
14131Problem: Vim9: converting bool to string prefixes v:.
14132Solution: Do not use the v: prefix.
14133Files: src/evalvars.c, src/testdir/test_vim9_expr.vim,
14134 src/testdir/test_vim9_disassemble.vim
14135
14136Patch 8.2.2263
14137Problem: Vim9: compilation error with try-catch in skipped block.
14138Solution: Do not bail out when generate_instr() returns NULL. (closes #7584)
14139Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
14140
14141Patch 8.2.2264
14142Problem: Vim9: no error for mismatched :endfunc or :enddef.
14143Solution: Check for the mismatch. (issue #7582)
14144Files: src/errors.h, src/userfunc.c, src/testdir/test_vim9_func.vim
14145
14146Patch 8.2.2265
14147Problem: Error message for missing endfunc/enddef is last line.
14148Solution: Report the line where the function starts. (closes #7582)
14149Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14150
14151Patch 8.2.2266
14152Problem: Vim9: it can be hard to see where white space is missing.
14153Solution: Mention the text where the error was seen. (closes #7580)
14154Files: src/errors.h, src/eval.c, src/evalvars.c, src/userfunc.c,
14155 src/vim9compile.c, src/testdir/test_vim9_expr.vim
14156
14157Patch 8.2.2267
14158Problem: Vim9: cannot use unlet for a dict member.
14159Solution: Pass GLV_NO_DECL to get_lval(). (closes #7585)
14160Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
14161
14162Patch 8.2.2268
14163Problem: Vim9: list unpack seen as declaration.
14164Solution: Check for "var". (closes #7594)
14165Files: src/vim9compile.c, src/evalvars.c, src/eval.c, src/vim.h,
14166 src/vim9execute.c, src/testdir/test_vim9_assign.vim
14167
14168Patch 8.2.2269
14169Problem: Not all :hardcopy code covered by tests.
14170Solution: Test more combinations. (Dominique Pellé, closes #7595)
14171Files: src/testdir/test_hardcopy.vim
14172
14173Patch 8.2.2270
14174Problem: Warning for size_t to int conversion. (Randall W. Morris)
14175Solution: Add a type cast.
14176Files: src/vim9execute.c
14177
14178Patch 8.2.2271
14179Problem: ml_get error when changing hidden buffer in Python.
14180Solution: Block updating folds. (closes #7598)
14181Files: src/evalbuffer.c, src/testdir/test_python3.vim
14182
14183Patch 8.2.2272
14184Problem: Vim9: extend() can violate the type of a variable.
14185Solution: Add the type to the dictionary or list and check items against it.
14186 (closes #7593)
14187Files: src/structs.h, src/evalvars.c, src/dict.c, src/list.c,
14188 src/vim9script.c, src/proto/vim9script.pro, src/vim9compile.c,
14189 src/vim9execute.c, src/testdir/test_vim9_builtin.vim,
14190 src/testdir/test_vim9_disassemble.vim
14191
14192Patch 8.2.2273
14193Problem: Build failure.
14194Solution: Add missing changes to header file.
14195Files: src/vim9.h
14196
14197Patch 8.2.2274
14198Problem: badge for Travis is outdated.
14199Solution: Update badge for move from travis-ci.org to travis-ci.com.
14200Files: README.md
14201
14202Patch 8.2.2275
14203Problem: CTRL-C not recognized in Mintty.
14204Solution: Recognize the modifyOtherKeys code ending in "u". (Christian
14205 Brabandt, closes #7575)
14206Files: src/ui.c
14207
14208Patch 8.2.2276
14209Problem: List of distributed files is outdated.
14210Solution: Update the file list. Minor comment updates.
14211Files: Filelist, src/clipboard.c, src/fileio.c, src/option.c,
14212 src/screen.c, src/testdir/test_signals.vim,
14213 src/testdir/Make_vms.mms
14214
14215Patch 8.2.2277
14216Problem: Missing backslash.
14217Solution: Add backslash.
14218Files: Filelist
14219
14220Patch 8.2.2278
14221Problem: Falling back to old regexp engine can some patterns.
14222Solution: Do not fall back once [[:lower:]] or [[:upper:]] is used.
14223 (Christian Brabandt, closes #7572)
14224Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test_regexp_utf8.vim
14225
14226Patch 8.2.2279
14227Problem: Vim9: memory leak with catch in skipped block.
14228Solution: Free the pattern if not used.
14229Files: src/vim9compile.c
14230
14231Patch 8.2.2280
14232Problem: Fuzzy matching doesn't give access to the scores.
14233Solution: Return the scores with a third list. (Yegappan Lakshmanan,
14234 closes #7596)
14235Files: runtime/doc/eval.txt, src/search.c,
14236 src/testdir/test_matchfuzzy.vim
14237
14238Patch 8.2.2281
14239Problem: Vim9: compiled "wincmd" cannot be followed by bar.
14240Solution: Check for bar after "wincmd". (closes #7599)
14241Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
14242
14243Patch 8.2.2282
14244Problem: Length check mismatch with argument of strncmp(). (Christian
14245 Brabandt)
14246Solution: Adjust length check.
14247Files: src/ui.c
14248
14249Patch 8.2.2283
14250Problem: Vim9: crash when lambda has fewer arguments than expected.
14251Solution: Don't check arguments when already failed. (closes #7606)
14252Files: src/vim9type.c, src/testdir/test_vim9_func.vim
14253
14254Patch 8.2.2284
14255Problem: Vim9: cannot set an option to a boolean value.
14256Solution: Check for VAR_BOOL. (closes #7603)
14257Files: src/evalvars.c, src/testdir/test_vim9_builtin.vim
14258
14259Patch 8.2.2285
14260Problem: Vim9: cannot set an option to a false.
14261Solution: For VAR_BOOL use string "0". (closes #7603)
14262Files: src/evalvars.c, src/testdir/test_vim9_builtin.vim
14263
14264Patch 8.2.2286
14265Problem: Sort test fails when locale is Canadian English. (Neil H Watson)
14266Solution: Expect a different sort order. (closes #7609)
14267Files: src/testdir/test_sort.vim
14268
14269Patch 8.2.2287
14270Problem: Sort test fails when locale is French Canadian.
14271Solution: Expect a different sort order. (Dominique Pellé, closes #7609)
14272Files: src/testdir/test_sort.vim
14273
14274Patch 8.2.2288
14275Problem: Vim9: line break and comment not always skipped.
14276Solution: Skip over white space and then line break more consistently.
14277 (closes #7610)
14278Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
14279
14280Patch 8.2.2289
14281Problem: Vim9: 'cpo' can become empty.
14282Solution: Use empty_option instead of an empty string. Update quickfix
14283 buffer after restoring 'cpo'. (closes #7608)
14284Files: src/evalfunc.c, src/syntax.c, src/eval.c, src/quickfix.c,
14285 src/evalbuffer.c, src/ex_eval.c, src/gui_motif.c, src/map.c,
14286 src/testdir/test_quickfix.vim
14287
14288Patch 8.2.2290
14289Problem: Vim9: unlet of global variable cannot be compiled.
14290Solution: Skip over variables that might be defined later. Give an error if
14291 a subscript is found. (closes #7585)
14292Files: src/eval.c, src/vim9compile.c, src/vim.h,
14293 src/testdir/test_vim9_assign.vim
14294
14295Patch 8.2.2291
14296Problem: Vim9: cannot use "null" for v:null.
14297Solution: Support "null" like "true" and "false". (closes #7495)
14298Files: runtime/doc/vim9.txt, src/vim9compile.c, src/evalvars.c,
14299 src/testdir/test_vim9_expr.vim
14300
14301Patch 8.2.2292
14302Problem: Vim: expr test fails.
14303Solution: Add missing part of "null" support.
14304Files: src/eval.c
14305
14306Patch 8.2.2293
14307Problem: Build failure with Motif. (Tony Mechelynck)
14308Solution: Use empty_option instead of empty_options.
14309Files: src/gui_motif.c
14310
14311Patch 8.2.2294
14312Problem: VMS: a few remaining problems.
14313Solution: Add VMS specific changes. Add Lua support. (Zoltan Arpadffy)
14314Files: src/fileio.c, src/os_vms_conf.h, src/Make_vms.mms, src/macros.h,
14315 src/os_vms.c, src/vim9execute.c, src/gui_xmebw.c, src/os_unix.h
14316
14317Patch 8.2.2295
14318Problem: Incsearch does not detect empty pattern properly.
14319Solution: Return magic state when skipping over a pattern. (Christian
14320 Brabandt, closes #7612, closes #6420)
14321Files: src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c, src/globals.h,
14322 src/option.c, src/tag.c, src/proto/regexp.pro, src/regexp.c,
14323 src/search.c, src/structs.h, src/vim9compile.c,
14324 src/testdir/dumps/Test_incsearch_sub_01.dump,
14325 src/testdir/dumps/Test_incsearch_sub_02.dump,
14326 src/testdir/test_search.vim
14327
14328Patch 8.2.2296
14329Problem: Cannot use CTRL-N and CTRL-P in a popup menu.
14330Solution: Use CTRL-N like <Down> and CTRL-P like <Up>. (closes #7614)
14331Files: runtime/doc/popup.txt, src/popupwin.c,
14332 src/testdir/test_popupwin.vim
14333
14334Patch 8.2.2297
14335Problem: Vim9: cannot set 'number' to a boolean value.
14336Solution: Use tv_get_bool(). (closes #7615)
14337Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
14338
14339Patch 8.2.2298
14340Problem: Vim9: comment right after "(" of function not recognized.
14341Solution: Do not skip over white space before calling get_function_args().
14342 (closes #7613)
14343Files: src/userfunc.c, src/proto/userfunc.pro,
14344 src/testdir/test_vim9_func.vim
14345
14346Patch 8.2.2299
14347Problem: Vim9: invalid memory access making error message flaky.
14348Solution: Do not check cmd_argt for CMD_USER. (issue #7467)
14349Files: src/ex_docmd.c, src/vim9execute.c, src/errors.h,
14350 src/vim9compile.c, src/testdir/test_vim9_cmd.vim
14351
14352Patch 8.2.2300
14353Problem: Vim9: wrong order on type stack when using dict.
14354Solution: Generate constants before a dict. (closes #7619)
14355Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
14356
14357Patch 8.2.2301
14358Problem: Vim9: cannot unlet a dict or list item.
14359Solution: Add ISN_UNLETINDEX. Refactor assignment code to use for unlet.
14360Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c,
14361 src/testdir/test_vim9_assign.vim
14362
14363Patch 8.2.2302
14364Problem: Vim9: using an option value may use uninitialized memory.
14365Solution: Clear v_lock. (closes #7620)
14366Files: src/typval.c, src/testdir/test_vim9_expr.vim
14367
14368Patch 8.2.2303
14369Problem: Vim9: backtick expansion doesn't work for :foldopen.
14370Solution: Do recognize backtick expansion. (closes #7621)
14371Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
14372
14373Patch 8.2.2304
14374Problem: Vim9: no test for unletting an imported variable.
14375Solution: Add a test. Fix line number in error.
14376Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim
14377
14378Patch 8.2.2305
14379Problem: Vim9: "++var" and "--var" are silently accepted.
14380Solution: Give an error message.
14381Files: src/vim9compile.c, src/eval.c, src/proto/eval.pro,
14382 src/testdir/test_vim9_expr.vim
14383
14384Patch 8.2.2306
14385Problem: Vim9: when using function reference type is not checked.
14386Solution: When using a function reference lookup the type and check the
14387 argument types. (issue #7629)
14388Files: src/userfunc.c, src/proto/userfunc.pro, src/eval.c, src/structs.h,
14389 src/vim9type.c, src/proto/vim9type.pro, src/vim9compile.c,
14390 src/vim9execute.c, src/evalvars.c, src/evalfunc.c,
14391 src/testdir/test_vim9_func.vim
14392
14393Patch 8.2.2307
14394Problem: A shell command in the vimrc causes terminal output.
14395Solution: Do not call starttermcap() after a shell command if the termcap
14396 wasn't active before.
14397Files: src/ex_cmds.c
14398
14399Patch 8.2.2308
14400Problem: Vim9: no error when assigning lambda to funcref without return
14401 value.
14402Solution: Default return value to "any". (closes #7629)
14403Files: src/userfunc.c, src/vim9compile.c,
14404 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_func.vim
14405
14406Patch 8.2.2309
14407Problem: 0o777 not recognized as octal.
14408Solution: Use vim_isodigit(). (Ken Takata, closes #7633, closes #7631)
14409Files: src/charset.c, src/testdir/test_eval_stuff.vim
14410
14411Patch 8.2.2310
14412Problem: Vim9: winsaveview() return type is too generic.
14413Solution: use dict<number> instead of dict<any>. (closes #7626)
14414Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
14415
14416Patch 8.2.2311
14417Problem: Vim9: cannot assign to a variable that shadows a command modifier.
14418Solution: Check for assignment after possible command modifier.
14419 (closes #7632)
14420Files: src/vim9compile.c, src/ex_docmd.c,
14421 src/testdir/test_vim9_assign.vim
14422
14423Patch 8.2.2312
14424Problem: Build failure with Ruby 3.0 and 32 bits.
14425Solution: Add #ifdef. (closes #7638)
14426Files: src/if_ruby.c
14427
14428Patch 8.2.2313
14429Problem: Vim9: using uninitialized field when parsing range. ":silent!" not
14430 respected when parsing range fails.
14431Solution: Initialize ea.skip. On pattern failure handle it like an error.
14432 (closes #7636)
14433Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
14434
14435Patch 8.2.2314
14436Problem: Vim9: returning zero takes two instructions.
14437Solution: Add ISN_RETURN_ZERO.
14438Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
14439 src/testdir/test_vim9_disassemble.vim
14440
14441Patch 8.2.2315
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014442Problem: Vim9: "enddef" as dict key misinterpreted as function end.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014443Solution: Check for following colon. (closes #7640)
14444Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14445
14446Patch 8.2.2316
14447Problem: Vim9: cannot list a lambda function.
14448Solution: Support the <lambda>9 notation, like :disassemble. (closes #7634)
14449Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14450
14451Patch 8.2.2317
14452Problem: Vim9: command modifier before list unpack doesn't work.
14453Solution: Only recognize "[" directly after the name. (closes #7641)
14454Files: src/ex_docmd.c, src/testdir/test_vim9_assign.vim
14455
14456Patch 8.2.2318
14457Problem: Vim9: string and list index work differently.
14458Solution: Make string index work like list index. (closes #7643)
14459Files: src/eval.c, src/proto/eval.pro, src/vim9execute.c, src/list.c,
14460 src/proto/vim9execute.pro, src/testdir/test_vim9_expr.vim
14461
14462Patch 8.2.2319
14463Problem: "exptype_T" can be read as "expected type".
14464Solution: Rename to "exprtype_T", expression type.
14465Files: src/eval.c, src/typval.c, src/proto/typval.pro, src/vim9compile.c,
14466 src/proto/vim9compile.pro, src/vim9execute.c, src/structs.h,
14467 src/vim9.h
14468
14469Patch 8.2.2320
14470Problem: Vim9: no error for comparing bool with string.
14471Solution: Check for wrong types when comparing. (closes #7639)
14472Files: src/typval.c, src/errors.h, src/testdir/test_vim9_expr.vim
14473
14474Patch 8.2.2321
14475Problem: Vim9: cannot nest closures.
14476Solution: Add the nesting level to ISN_LOADOUTER and ISN_STOREOUTER.
14477 (closes #7150, closes #7635)
14478Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/structs.h,
14479 src/testdir/test_vim9_disassemble.vim,
14480 src/testdir/test_vim9_func.vim
14481
14482Patch 8.2.2322
14483Problem: Vim9: closure nested limiting to one level.
14484Solution: Add outer_T. Also make STOREOUTER work.
14485Files: src/vim9execute.c, src/vim9.h, src/structs.h,
14486 src/testdir/test_vim9_func.vim
14487
14488Patch 8.2.2323
14489Problem: Vim9: error when inferring type from empty dict/list.
14490Solution: When the member is t_unknown use t_any. (closes #7009)
14491Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
14492
14493Patch 8.2.2324
14494Problem: Not easy to get mark en cursor position by character count.
14495Solution: Add functions that use character index. (Yegappan Lakshmanan,
14496 closes #7648)
14497Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/eval.c,
14498 src/evalfunc.c, src/proto/eval.pro, src/tag.c,
14499 src/testdir/test_cursor_func.vim, src/typval.c
14500
14501Patch 8.2.2325
14502Problem: Vim9: crash if map() changes the item type.
14503Solution: Check that the item type is still OK. (closes #7652)
14504 Fix problem with mapnew() on range list.
14505Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9compile.c,
14506 src/list.c, src/testdir/test_vim9_builtin.vim,
14507 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim
14508
14509Patch 8.2.2326
14510Problem: Build error with +eval feature but without +spell.
14511Solution: Adjust #ifdef. (John Marriott)
14512Files: src/mbyte.c
14513
14514Patch 8.2.2327
14515Problem: Debugging code included.
14516Solution: Remove the debugging code.
14517Files: src/vim9execute.c
14518
14519Patch 8.2.2328
14520Problem: Some test files may not be deleted.
14521Solution: Add a delete() call, correct name. (Dominique Pellé, closes #7654)
14522Files: src/testdir/test_clientserver.vim,
14523 src/testdir/test_vim9_script.vim
14524
14525Patch 8.2.2329
14526Problem: Not all ways Vim can be started are tested.
14527Solution: Add a test for different program names. (Dominique Pellé,
14528 closes #7651)
14529Files: src/testdir/test_startup.vim
14530
14531Patch 8.2.2330
14532Problem: Vim9: crash when using :trow in a not executed block.
14533Solution: Don't generate the instruction when skipping. (closes #7659)
14534Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
14535
14536Patch 8.2.2331
14537Problem: Vim9: wrong error when modifying dict declared with :final.
14538Solution: Do not check for writable variable when an index follows.
14539 (closes #7657)
14540Files: src/vim9compile.c, src/structs.h, src/vim9script.c,
14541 src/proto/vim9script.pro, src/evalvars.c,
14542 src/testdir/test_vim9_assign.vim
14543
14544Patch 8.2.2332
14545Problem: Vim9: missing :endif not reported when using :windo.
14546Solution: Pass a getline function to do_cmdline(). (closes #7650)
14547Files: src/vim9execute.c, src/structs.h, src/scriptfile.c,
14548 src/testdir/test_vim9_cmd.vim
14549
14550Patch 8.2.2333
14551Problem: Vim9: warning for uninitialized variable. (Tony Mechelynck)
14552Solution: Initialize "res".
14553Files: src/vim9execute.c
14554
14555Patch 8.2.2334
14556Problem: Pascal-like filetypes not always detected.
14557Solution: Improved Puppet, InstantFPC and Pascal detection. (Doug Kearns,
14558 closes #7662)
14559Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
14560 runtime/scripts.vim, src/testdir/test_filetype.vim
14561
14562Patch 8.2.2335
14563Problem: Vim9: "silent return" does not restore command modifiers.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014564Solution: Restore command modifiers before returning. (closes #7649)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014565Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
14566
14567Patch 8.2.2336
14568Problem: Vim9: it is not possible to extend a dictionary with different
14569 item types.
14570Solution: Add extendnew(). (closes #7666)
14571Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
14572 src/list.c, src/proto/list.pro, src/testdir/test_listdict.vim,
14573 src/testdir/test_vim9_builtin.vim
14574
14575Patch 8.2.2337
14576Problem: Configure test for GTK only says "no". (Harm te Hennepe)
14577Solution: Hint that a -def package is needed. (closes #5229)
14578Files: src/configure.ac, src/auto/configure
14579
14580Patch 8.2.2338
14581Problem: Vim9: no error if using job_info() result wrongly.
14582Solution: Adjust return type on number of arguments. (closes #7667)
14583Files: src/evalfunc.c, src/globals.h, src/testdir/test_vim9_builtin.vim
14584
14585Patch 8.2.2339
14586Problem: Cannot get the type of a value as a string.
14587Solution: Add typename().
14588Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
14589 src/vim9type.c, src/proto/vim9type.pro,
14590 src/testdir/test_vimscript.vim, src/testdir/test_vim9_builtin.vim
14591
14592Patch 8.2.2340
14593Problem: win_execute() unexpectedly returns number zero when failing.
14594Solution: Return an empty string. (closes #7665)
14595Files: src/evalwindow.c, src/testdir/test_vim9_builtin.vim,
14596 src/testdir/test_execute_func.vim
14597
14598Patch 8.2.2341
14599Problem: Expression command line completion shows variables but not
14600 functions after "g:". (Gary Johnson)
14601Solution: Prefix "g:" when needed to a global function.
14602Files: src/evalfunc.c, src/evalvars.c, src/proto/evalvars.pro,
14603 src/testdir/test_cmdline.vim
14604
14605Patch 8.2.2342
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014606Problem: "char" functions return the wrong column in Insert mode when the
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014607 cursor is beyond the end of the line.
14608Solution: Compute the column correctly. (Yegappan Lakshmanan, closes #7669)
14609Files: src/eval.c, src/evalfunc.c, src/testdir/test_cursor_func.vim
14610
14611Patch 8.2.2343
14612Problem: Vim9: return type of readfile() is any.
14613Solution: Add readblob() so that readfile() can be expected to always
14614 return a list of strings. (closes #7671)
14615Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
14616 src/filepath.c, src/proto/filepath.pro,
14617 src/testdir/test_vim9_builtin.vim
14618
14619Patch 8.2.2344
14620Problem: Using inclusive index for slice is not always desired.
14621Solution: Add the slice() method, which has an exclusive index. (closes
14622 #7408)
14623Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
14624 src/eval.c, src/proto/eval.pro, src/vim9execute.c,
14625 src/proto/vim9execute.pro, src/list.c, src/proto/list.pro,
14626 src/testdir/test_vim9_builtin.vim
14627
14628Patch 8.2.2345
14629Problem: No focus events in a terminal.
14630Solution: Add the t_fd and t_fe termcap entries and implement detecting
14631 focus events. (Hayaki Saito, Magnus GroĂź, closes #7673,
14632 closes #609, closes #5526)
14633Files: runtime/doc/term.txt, src/optiondefs.h, src/term.c, src/term.h
14634
14635Patch 8.2.2346
14636Problem: Codecov reports every little coverage drop.
14637Solution: Tolerate a 0.05% drop. Hide the appveyor config file. (Ozaki
14638 Kiichi, closes #7678)
14639Files: .appveyor.yml, appveyor.yml, .codecov.yml
14640
14641Patch 8.2.2347
14642Problem: Build failure without GUI.
14643Solution: Add #ifdef.
14644Files: src/term.c
14645
14646Patch 8.2.2348 (after 8.2.2345)
14647Problem: No check for modified files after focus gained. (Mathias Stearn)
14648Solution: Call ui_focus_change().
14649Files: src/term.c, src/ui.c
14650
14651Patch 8.2.2349
14652Problem: Vim9: cannot handle line break after parenthesis at line end.
14653Solution: Skip over line break. (closes #7677)
14654Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
14655
14656Patch 8.2.2350
14657Problem: Using "void" for no reason.
14658Solution: Use "char *".
14659Files: src/ex_docmd.c
14660
14661Patch 8.2.2351
14662Problem: Vim9: error message for "throw" in function that was called with
14663 "silent!".
14664Solution: Do not throw the exception when not caught or displayed.
14665 (closes #7672)
14666Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
14667
14668Patch 8.2.2352
14669Problem: If the focus lost/gained escape sequence is received twice it is
14670 not ignored. (Christ van Willigen)
14671Solution: Adjust the logic to ignore the escape code.
14672Files: src/term.c
14673
14674Patch 8.2.2353
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014675Problem: Sparql files are not detected.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014676Solution: Add the sparql filetype. (closes #7679)
14677Files: runtime/filetype.vim, src/testdir/test_filetype.vim
14678
14679Patch 8.2.2354
14680Problem: Crash with a weird combination of autocommands.
14681Solution: Increment b_nwindows when needed. (closes #7674)
14682Files: src/ex_cmds.c, src/buffer.c, src/proto/buffer.pro,
14683 src/testdir/test_autocmd.vim
14684
14685Patch 8.2.2355
14686Problem: Stray test failure on Appveyor.
14687Solution: Finish insert command.
14688Files: src/testdir/test_autocmd.vim
14689
14690Patch 8.2.2356
14691Problem: Vim9: ":put =expr" does not handle a list properly.
14692Solution: Use the same logic as eval_to_string_eap(). (closes #7684)
14693Files: src/vim9execute.c, src/eval.c, src/proto/eval.pro,
14694 src/testdir/test_vim9_cmd.vim
14695
14696Patch 8.2.2357
14697Problem: Vim9: crash when parsing function return type fails.
14698Solution: Bail out and set return type to "unknown". (closes #7685)
14699Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14700
14701Patch 8.2.2358
14702Problem: Wrong #ifdef for use_xterm_like_mouse().
14703Solution: Use FEAT_MOUSE_XTERM.
14704Files: src/term.c
14705
14706Patch 8.2.2359
14707Problem: Strange test failure with MS-Windows.
14708Solution: Skip the system() call for now.
14709Files: src/testdir/test_autocmd.vim
14710
14711Patch 8.2.2360
14712Problem: Test leaves file behind.
14713Solution: Delete the right file. (Dominique Pellé, closes #7689)
14714Files: src/testdir/test_filetype.vim
14715
14716Patch 8.2.2361
14717Problem: Vim9: no highlight for "s///gc" when using 'opfunc'.
14718Solution: Reset 'lazyredraw' temporarily. (closes #7687)
14719Files: src/ex_cmds.c
14720
14721Patch 8.2.2362
14722Problem: Vim9: check of builtin function argument type is incomplete.
14723Solution: Use need_type() instead of check_arg_type().
14724Files: src/vim9compile.c, src/proto/vim9compile.pro, src/evalfunc.c,
14725 src/proto/evalfunc.pro, src/vim9type.c, src/proto/vim9type.pro,
14726 src/testdir/test_vim9_builtin.vim
14727
14728Patch 8.2.2363
14729Problem: curpos() does not accept a string argument as before.
14730solution: Make a string argument work again. (Yegappan Lakshmanan,
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014731 closes #7690)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014732Files: src/evalfunc.c, src/testdir/test_cursor_func.vim
14733
14734Patch 8.2.2364
14735Problem: Vim9: line break in lambda accesses freed memory.
14736Solution: Make a copy of the return type. (closes #7664)
14737Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14738
14739Patch 8.2.2365
14740Problem: Vim9: no check for map() changing item type at script level.
14741Solution: Check the new value type.
14742Files: src/list.c, src/testdir/test_vim9_builtin.vim,
14743 src/testdir/test_vim9_assign.vim
14744
14745Patch 8.2.2366
14746Problem: When using ":sleep" the cursor is always displayed.
14747Solution: Do not display the cursor when using ":sleep!". (Jeremy Lerner,
14748 closes #7688)
14749Files: runtime/doc/index.txt, runtime/doc/various.txt, src/ex_cmds.h,
14750 src/ex_docmd.c, src/normal.c, src/proto/ex_docmd.pro, src/term.c,
14751 src/testdir/Make_all.mak, src/testdir/test_sleep.vim
14752
14753Patch 8.2.2367
14754Problem: Test failures on some less often used systems.
14755Solution: Adjust printf formats and types. (James McCoy, closes #7691)
14756Files: src/errors.h, src/evalfunc.c, src/list.c, src/vim9execute.c
14757
14758Patch 8.2.2368
14759Problem: Insufficient tests for setting options.
14760Solution: Add a few tests. (Dominique Pellé, closes #7695)
14761Files: src/testdir/test_options.vim
14762
14763Patch 8.2.2369
14764Problem: Vim9: functions return true/false but can't be used as bool.
14765Solution: Add ret_number_bool(). (closes #7693)
14766Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim,
14767 src/testdir/test_vim9_disassemble.vim
14768
14769Patch 8.2.2370
14770Problem: Vim9: command fails in catch block.
14771Solution: Reset force_abort and need_rethrow. (closes #7692)
14772Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
14773
14774Patch 8.2.2371
14775Problem: Vim9: crash when using types in :for with unpack.
14776Solution: Check for skip_var_list() failing. Pass include_type to
14777 skip_var_one(). Skip type when compiling. (closes #7694)
14778Files: src/vim9compile.c, src/evalvars.c,
14779 src/testdir/test_vim9_script.vim
14780
14781Patch 8.2.2372 (after 8.2.2371)
14782Problem: Confusing error message for wrong :let command.
14783Solution: Only check for type in Vim9 script.
14784Files: src/evalvars.c
14785
14786Patch 8.2.2373
14787Problem: Vim9: list assignment only accepts a number index.
14788Solution: Accept "any" and do a runtime type check. (closes #7694)
14789Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
14790
14791Patch 8.2.2374
14792Problem: Accessing uninitialized memory in test_undo.
14793Solution: Do not look in typebuf.tb_buf if it is empty. (Dominique Pellé,
14794 closes #7697)
14795Files: src/edit.c
14796
14797Patch 8.2.2375
14798Problem: Test for RGB color skipped in the terminal.
14799Solution: Run the GUI if possible.
14800Files: src/testdir/test_highlight.vim
14801
14802Patch 8.2.2376
14803Problem: Vim9: crash when dividing by zero in compiled code using
14804 constants.
14805Solution: Call num_divide() and num_modulus(). (closes #7704)
14806Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
14807
14808Patch 8.2.2377
14809Problem: Vim9: crash when using a range after another expression.
14810Solution: Set the variable type to number. Fix using :put with a range and
14811 the "=" register. (closes #7706)
14812Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
14813
14814Patch 8.2.2378
14815Problem: Vim9: no error message for dividing by zero.
14816Solution: Give an error message. (issue #7704)
14817Files: src/errors.h, src/eval.c, src/vim9execute.c,
14818 src/testdir/test_vim9_expr.vim
14819
14820Patch 8.2.2379
14821Problem: Finding spell suggestions twice if 'spellsuggest' contains number.
14822Solution: Only do internal suggestions once. (closes #7713)
14823Files: src/spellsuggest.c
14824
14825Patch 8.2.2380
14826Problem: Vim9: occasional crash when using try/catch and a timer.
14827Solution: Save and restore "need_rethrow" when invoking a timer callback.
14828 (closes #7708)
14829Files: src/time.c
14830
14831Patch 8.2.2381
14832Problem: Vim9: divide by zero does not abort expression execution.
14833Solution: Use a "failed" flag. (issue #7704)
14834Files: src/eval.c, src/proto/eval.pro, src/evalvars.c, src/vim9compile.c,
14835 src/testdir/vim9.vim, src/testdir/test_vim9_assign.vim
14836
14837Patch 8.2.2382 (after 8.2.2381)
14838Problem: Build failure.
14839Solution: Add missing changes.
14840Files: src/vim9execute.c
14841
14842Patch 8.2.2383
14843Problem: Focus escape sequences are not named in ":set termcap" output.
14844Solution: Add the names to the list. (closes #7718)
14845Files: src/misc2.c
14846
14847Patch 8.2.2384
14848Problem: Turtle filetype not recognized.
14849Solution: Add a rule to detect turtle files. (closes #7722)
14850Files: runtime/filetype.vim, src/testdir/test_filetype.vim
14851
14852Patch 8.2.2385
14853Problem: "gj" and "gk" do not work correctly when inside a fold.
14854Solution: Move check for folding. (closes #7724, closes #4095)
14855Files: src/normal.c, src/testdir/test_fold.vim
14856
14857Patch 8.2.2386
14858Problem: Vim9: crash when using ":silent! put".
14859Solution: When ignoring an error for ":silent!" rewind the stack and skip
14860 ahead to restoring the cmdmod. (closes #7717)
14861Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
14862
14863Patch 8.2.2387
14864Problem: Runtime type check does not mention argument index.
14865Solution: Add ct_arg_idx. (closes #7720)
14866Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
14867 src/testdir/test_vim9_builtin.vim,
14868 src/testdir/test_vim9_disassemble.vim,
14869 src/testdir/test_vim9_func.vim
14870
14871Patch 8.2.2388
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014872Problem: No easy way to get the maximum or minimum number value.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014873Solution: Add v:numbermax and v:numbermin.
14874Files: src/evalvars.c, src/vim.h, src/testdir/test_eval_stuff.vim,
14875 runtime/doc/eval.txt
14876
14877Patch 8.2.2389
14878Problem: Test failure on a few systems.
14879Solution: Avoid that "char" value is negative.
14880Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h
14881
14882Patch 8.2.2390
14883Problem: Vim9: using positive offset is unexpected.
14884Solution: Use int8_T instead of char. (James McCoy)
14885Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c
14886
14887Patch 8.2.2391
14888Problem: Memory leak when creating a global function with closure.
14889Solution: Create a separate partial for every instantiated function.
14890Files: src/userfunc.c, src/vim9execute.c
14891
14892Patch 8.2.2392
14893Problem: Fennel filetype not recognized.
14894Solution: Detect with pattern and hashbang. (Chinmay Dalal, closes #7729)
14895Files: runtime/filetype.vim, runtime/scripts.vim,
14896 src/testdir/test_filetype.vim
14897
14898Patch 8.2.2393
14899Problem: Vim9: error message when script line starts with "[{".
14900Solution: Do not give an error for checking for end of list.
14901Files: src/dict.c, src/testdir/test_vim9_script.vim
14902
14903Patch 8.2.2394
14904Problem: Vim9: min() and max() return type is "any".
14905Solution: Use return type "number". (closes #7728)
14906Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
14907
14908Patch 8.2.2395
14909Problem: Vim9: error for wrong type may report wrong line number.
14910Solution: Save and restore the line number when evaluating the expression.
14911 (closes #7727)
14912Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
14913
14914Patch 8.2.2396
14915Problem: Vim9: no white space allowed before "->".
14916Solution: Allow for white space. (closes #7725)
14917Files: src/ex_docmd.c, src/eval.c, src/testdir/test_vim9_cmd.vim
14918
14919Patch 8.2.2397
14920Problem: Vim9: "%%" not seen as alternate file name for commands with a
14921 buffer name argument.
14922Solution: Recognize "%%" like "#". (closes #7732)
14923Files: src/buffer.c, src/testdir/test_vim9_cmd.vim
14924
14925Patch 8.2.2398 (after 8.2.2396)
14926Problem: Method test fails.
14927Solution: Adjust test for allowed white space.
14928Files: src/testdir/test_method.vim
14929
14930Patch 8.2.2399 (after 8.2.2385)
14931Problem: Fold test fails in wide terminal.
14932Solution: Adjust the test. (Dominique Pelle, closes #7731, closes #7739)
14933Files: src/testdir/test_fold.vim
14934
14935Patch 8.2.2400
14936Problem: Vim9: compiled functions are not profiled.
14937Solution: Add initial changes to profile compiled functions. Fix that a
14938 script-local function was hard to debug.
14939Files: runtime/doc/repeat.txt, src/vim9.h, src/vim9compile.c,
14940 src/vim9execute.c, src/userfunc.c, src/proto/vim9compile.pro,
14941 src/structs.h, src/vim9type.c, src/debugger.c, src/ex_cmds.h,
14942 src/ex_docmd.c, src/profiler.c, src/proto/profiler.pro,
14943 src/testdir/test_vim9_disassemble.vim,
14944 src/testdir/test_profile.vim
14945
14946Patch 8.2.2401
14947Problem: Build fails without +profiling feature.
14948Solution: Add #ifdefs.
14949Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h, src/structs.h,
14950 src/testdir/test_vim9_disassemble.vim
14951
14952Patch 8.2.2402
14953Problem: Some filetypes not detected.
14954Solution: Detect Ruby Signature and Puppet related files. (Doug Kearns)
14955Files: runtime/filetype.vim, src/testdir/test_filetype.vim
14956
14957Patch 8.2.2403
14958Problem: Vim9: profiling if/elseif/endif not correct.
14959Solution: Add profile instructions. Fix that "elseif" was wrong.
14960Files: src/vim9compile.c, src/testdir/test_profile.vim,
14961 src/testdir/test_vim9_script.vim,
14962 src/testdir/test_vim9_disassemble.vim
14963
14964Patch 8.2.2404
14965Problem: Vim9: profiling try/catch not correct.
14966Solution: Add profile instructions. Fix that "entry" did not rethrow an
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014967 exception.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014968Files: src/vim9compile.c, src/vim9execute.c, src/testdir/test_profile.vim
14969
14970Patch 8.2.2405
14971Problem: Vim9: no need to allow white space before "(" for :def.
14972Solution: Give an error for stray white space. (issue #7734)
14973Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14974
14975Patch 8.2.2406
14976Problem: Vim9: profiled :def function leaks memory.
14977Solution: Delete the profiled instructions.
14978Files: src/vim9compile.c
14979
14980Patch 8.2.2407
14981Problem: Old jumplist code is never used.
14982Solution: Delete the dead code. (Yegappan Lakshmanan, closes #7740)
14983Files: src/mark.c
14984
14985Patch 8.2.2408
14986Problem: MinGW: "--preprocessor" flag no longer supported.
14987Solution: Remove the flag, use the defaults. (Christopher Wellons,
14988 closes #7741)
14989Files: src/GvimExt/Make_ming.mak, src/Make_cyg_ming.mak
14990
14991Patch 8.2.2409
14992Problem: Vim9: profiling only works for one function.
14993Solution: Select the right instructions when calling and returning.
14994 (closes #7743)
14995Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h,
14996 src/testdir/test_profile.vim
14997
14998Patch 8.2.2410
14999Problem: Build failure without the +profiling feature.
15000Solution: Add dummy argument to macro.
15001Files: src/vim9.h
15002
15003Patch 8.2.2411
15004Problem: Profile test fails on MS-Windows.
15005Solution: Do the profiling in a separate Vim command.
15006Files: src/testdir/test_profile.vim
15007
15008Patch 8.2.2412
15009Problem: Not all fields in "cstack" are initialized which might cause a
15010 crash.
15011Solution: Use CLEAR_FIELD().
15012Files: src/ex_docmd.c
15013
15014Patch 8.2.2413
15015Problem: Crash when using :all while using a cmdline window. (Zdenek Dohnal)
15016Solution: Disallow :all from the cmdline window.
15017Files: src/arglist.c, src/ex_getln.c, src/testdir/test_arglist.vim
15018
15019Patch 8.2.2414
15020Problem: Using freed memory when closing the cmdline window.
15021Solution: Check the window is still valid.
15022Files: src/ex_getln.c
15023
15024Patch 8.2.2415
15025Problem: No way to check for the cmdwin feature, cmdline_hist is now always
15026 enabled.
15027Solution: Add has('cmdwin') support. Skip arglist test on Windows
15028 temporarily.
15029Files: runtime/doc/cmdline.txt, src/evalfunc.c,
15030 src/testdir/test_autocmd.vim, src/testdir/test_arglist.vim,
15031 src/testdir/test_cmdline.vim, src/testdir/test_ins_complete.vim,
15032 src/testdir/test_normal.vim, src/testdir/test_tabpage.vim,
15033 src/testdir/test_termcodes.vim, src/testdir/test_window_cmd.vim
15034
15035Patch 8.2.2416
15036Problem: May get stuck in command line window state.
15037Solution: Reset "cmdwin_type" when editing buffer fails. Make arglist test
15038 pass on MS-Windows.
15039Files: src/ex_getln.c, src/testdir/test_arglist.vim
15040
15041Patch 8.2.2417
15042Problem: Condition stack values may be used when not set.
15043Solution: Clear cs_script_var_len and cs_block_id just in case they get used
15044 later. (issue #7733)
15045Files: src/ex_eval.c
15046
15047Patch 8.2.2418
15048Problem: Color not changed if ModeMsg highlight is set in InsertEnter
15049 autocmd event. (Paul Swanson)
15050Solution: Call highlight_changed() after triggering InsertEnter.
15051 (closes #7751)
15052Files: src/edit.c
15053
15054Patch 8.2.2419
15055Problem: Autocmd test was failing on MS-Windows with GUI.
15056Solution: Remove stray feedkeys().
15057Files: src/testdir/test_autocmd.vim
15058
15059Patch 8.2.2420
15060Problem: Too many problems with using all autocommand events.
15061Solution: Disallow defining an autocommand for all events.
15062Files: src/autocmd.c, src/errors.h, src/testdir/test_autocmd.vim,
15063 src/testdir/test_quickfix.vim, src/testdir/test_window_cmd.vim
15064
15065Patch 8.2.2421
15066Problem: Double free when using autocommand with "argdel". (Houyunsong)
15067Solution: Add the arglist_locked flag.
15068Files: src/arglist.c, src/testdir/test_autocmd.vim
15069
15070Patch 8.2.2422
15071Problem: Crash when deleting with line number out of range. (Houyunsong)
15072Solution: Avoid using a negative line number.
15073Files: src/normal.c, src/testdir/test_ex_mode.vim
15074
15075Patch 8.2.2423 (after 8.2.2422)
15076Problem: Missing error message.
15077Solution: Add the error message.
15078Files: src/errors.h
15079
15080Patch 8.2.2424
15081Problem: Some tests are known to cause an error with ASAN.
15082Solution: Add CheckNotAsan.
15083Files: src/testdir/check.vim, src/testdir/test_ins_complete.vim,
15084 src/testdir/test_memory_usage.vim, src/testdir/test_ex_mode.vim
15085
15086Patch 8.2.2425
15087Problem: Cursor on invalid line with range and :substitute.
15088Solution: Do not move the cursor when skipping commands. (closes #3434)
15089Files: src/ex_cmds.c, src/testdir/test_eval_stuff.vim
15090
15091Patch 8.2.2426
15092Problem: Allowing 'completefunc' to switch windows causes trouble.
15093Solution: use "textwinlock" instead of "textlock".
15094Files: src/insexpand.c, src/testdir/test_ins_complete.vim,
15095 src/testdir/test_popup.vim
15096
15097Patch 8.2.2427
15098Problem: Can still switch windows for 'completefunc'.
15099Solution: Also disallow switching windows for other completions.
15100Files: src/insexpand.c, src/testdir/test_ins_complete.vim,
15101 src/testdir/test_popup.vim
15102
15103Patch 8.2.2428
15104Problem: FocusGained does not work when 'ttymouse' is empty.
15105Solution: Don't use the short mouse code if there is a longer matching code.
15106 (closes #7755) Add a test.
15107Files: src/term.c, src/testdir/test_termcodes.vim
15108
15109Patch 8.2.2429
15110Problem: :goto does not work correctly with text properties. (Sam McCall)
15111Solution: Add a test. (Andrew Radev) Also use the text property size when
15112 computing the remaining offset. (closes #5930)
15113Files: src/memline.c, src/testdir/test_textprop.vim
15114
15115Patch 8.2.2430
15116Problem: :vimgrep expands wildcards twice.
15117Solution: Do not expand wildcards a second time.
15118Files: src/quickfix.c, src/arglist.c, src/testdir/test_quickfix.vim
15119
15120Patch 8.2.2431
15121Problem: Warning for -fno-strength-reduce with Clang 11.
15122Solution: Adjust check for clang version number.
15123Files: src/configure.ac, src/auto/configure
15124
15125Patch 8.2.2432
15126Problem: Libvterm tests are executed even when libtool doesn't work.
15127Solution: Only run libvterm tests if /usr/bin/gcc exists.
15128Files: src/Makefile
15129
15130Patch 8.2.2433
15131Problem: Opening cmdline window gives error in BufLeave autocommand.
15132Solution: Reset cmdwin_type when triggering the autocommand.
15133Files: src/ex_cmds.c, src/testdir/test_cmdline.vim
15134
15135Patch 8.2.2434
15136Problem: Vim9: no error when compiling str2nr() with a number.
15137Solution: Add argument type checks. (closes #7759)
15138Files: src/evalfunc.c, src/typval.c, src/proto/typval.pro,
15139 src/testdir/test_vim9_builtin.vim
15140
15141Patch 8.2.2435
15142Problem: setline() gives an error for some types.
15143Solution: Allow any type, convert each item to a string.
15144Files: runtime/doc/eval.txt, src/evalbuffer.c, src/typval.c,
15145 src/proto/typval.pro, src/debugger.c, src/vim9execute.c,
15146 src/testdir/test_bufline.vim, src/testdir/test_vim9_builtin.vim
15147
15148Patch 8.2.2436
15149Problem: Vim9 script test is a bit flaky.
15150Solution: Wait longer for exit callback.
15151Files: src/testdir/test_vim9_script.vim
15152
15153Patch 8.2.2437
15154Problem: Deprecation warnings with default configuration.
15155Solution: Add -Wno-deprecated-declarations.
15156Files: src/configure.ac, src/auto/configure
15157
15158Patch 8.2.2438
15159Problem: Out of bounds compiler warning.
15160Solution: Increase the size of uf_name.
15161Files: src/structs.h
15162
15163Patch 8.2.2439
15164Problem: Not easy to figure out what packages to get when installing Vim on
15165 a new Ubuntu system.
15166Solution: Mention explicit commands that are easy to follow.
15167Files: src/INSTALL
15168
15169Patch 8.2.2440
15170Problem: Documentation based on patches is outdated.
15171Solution: Add changes to documentation in a patch.
15172Files: runtime/doc/arabic.txt, runtime/doc/autocmd.txt,
15173 runtime/doc/change.txt, runtime/doc/channel.txt,
15174 runtime/doc/cmdline.txt, runtime/doc/debugger.txt,
15175 runtime/doc/develop.txt, runtime/doc/digraph.txt,
15176 runtime/doc/editing.txt, runtime/doc/eval.txt,
15177 runtime/doc/filetype.txt, runtime/doc/ft_sql.txt,
15178 runtime/doc/gui.txt, runtime/doc/gui_w32.txt,
15179 runtime/doc/gui_x11.txt, runtime/doc/hangulin.txt,
15180 runtime/doc/helphelp.txt, runtime/doc/help.txt,
15181 runtime/doc/if_lua.txt, runtime/doc/if_mzsch.txt,
15182 runtime/doc/if_tcl.txt, runtime/doc/indent.txt,
15183 runtime/doc/index.txt, runtime/doc/insert.txt,
15184 runtime/doc/intro.txt, runtime/doc/map.txt, runtime/doc/mbyte.txt,
15185 runtime/doc/message.txt, runtime/doc/mlang.txt,
15186 runtime/doc/motion.txt, runtime/doc/netbeans.txt,
15187 runtime/doc/options.txt, runtime/doc/os_dos.txt,
15188 runtime/doc/os_haiku.txt, runtime/doc/os_unix.txt,
15189 runtime/doc/os_vms.txt, runtime/doc/os_win32.txt,
15190 runtime/doc/pattern.txt, runtime/doc/pi_getscript.txt,
15191 runtime/doc/pi_logipat.txt, runtime/doc/pi_netrw.txt,
15192 runtime/doc/pi_tar.txt, runtime/doc/pi_vimball.txt,
15193 runtime/doc/pi_zip.txt, runtime/doc/popup.txt,
15194 runtime/doc/print.txt, runtime/doc/quickfix.txt,
15195 runtime/doc/quickref.txt, runtime/doc/recover.txt,
15196 runtime/doc/remote.txt, runtime/doc/repeat.txt,
15197 runtime/doc/rileft.txt, runtime/doc/sign.txt,
15198 runtime/doc/spell.txt, runtime/doc/starting.txt,
15199 runtime/doc/syntax.txt, runtime/doc/tabpage.txt,
15200 runtime/doc/tagsrch.txt, runtime/doc/terminal.txt,
15201 runtime/doc/term.txt, runtime/doc/testing.txt,
15202 runtime/doc/textprop.txt, runtime/doc/tips.txt,
15203 runtime/doc/todo.txt, runtime/doc/uganda.txt,
15204 runtime/doc/undo.txt, runtime/doc/usr_02.txt,
15205 runtime/doc/usr_03.txt, runtime/doc/usr_04.txt,
15206 runtime/doc/usr_05.txt, runtime/doc/usr_07.txt,
15207 runtime/doc/usr_08.txt, runtime/doc/usr_10.txt,
15208 runtime/doc/usr_11.txt, runtime/doc/usr_20.txt,
15209 runtime/doc/usr_22.txt, runtime/doc/usr_23.txt,
15210 runtime/doc/usr_24.txt, runtime/doc/usr_27.txt,
15211 runtime/doc/usr_30.txt, runtime/doc/usr_31.txt,
15212 runtime/doc/usr_40.txt, runtime/doc/usr_41.txt,
15213 runtime/doc/usr_42.txt, runtime/doc/usr_44.txt,
15214 runtime/doc/usr_45.txt, runtime/doc/usr_46.txt,
15215 runtime/doc/usr_90.txt, runtime/doc/usr_toc.txt,
15216 runtime/doc/various.txt, runtime/doc/version5.txt,
15217 runtime/doc/version6.txt, runtime/doc/version7.txt,
15218 runtime/doc/version8.txt, runtime/doc/vi_diff.txt,
15219 runtime/doc/vim9.txt, runtime/doc/visual.txt,
15220 runtime/doc/windows.txt
15221
15222Patch 8.2.2441
15223Problem: Vim9: extend() does not give an error for a type mismatch.
15224Solution: Check the type of the second argument. (closes #7760)
15225Files: src/list.c, src/testdir/test_vim9_builtin.vim
15226
15227Patch 8.2.2442
15228Problem: Automatic GUI selection does not check for GTK 3.
15229Solution: Make SKIP_GTK3 empty for automatic GUI support. Set SKIP_GTK3 to
15230 YES when checking for GTK2.
15231Files: src/configure.ac, src/auto/configure
15232
15233Patch 8.2.2443
15234Problem: Vim9: no compile time error for wrong str2float argument.
15235Solution: Check argument type. (closes #7759)
15236Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
15237
15238Patch 8.2.2444
15239Problem: Vim9: compile error with combination of operator and list.
15240Solution: Generate constants before parsing a list or dict. (closes #7757)
15241Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
15242
15243Patch 8.2.2445
15244Problem: Vim9: no proper error for lambda missing return type.
15245Solution: Check for this error. (closes #7758)
15246Files: src/errors.h, src/userfunc.c, src/testdir/test_vim9_func.vim
15247
15248Patch 8.2.2446
15249Problem: Setting 'term' empty has different error if compiled with GUI.
15250Solution: Insert "else". (closes #7766)
15251Files: src/optionstr.c, src/testdir/test_options.vim
15252
15253Patch 8.2.2447
15254Problem: 'foldlevel' not applied to folds restored from session.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000015255Solution: Set 'foldlevel' after creating the folds. (closes #7767)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000015256Files: src/fold.c, src/testdir/test_mksession.vim
15257
15258Patch 8.2.2448
15259Problem: Compilation error with Ruby 3.0.
15260Solution: Adjust #ifdefs and declaration. (Ken Takata, closes #7761)
15261Files: src/if_ruby.c
15262
15263Patch 8.2.2449
15264Problem: Vim9: flatten() always changes the list type.
15265Solution: Disallow using flatten() and add flattennew().
15266Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
15267 src/list.c, src/proto/list.pro, src/errors.h, src/vim9compile.c,
15268 src/testdir/test_flatten.vim, src/testdir/test_vim9_builtin.vim
15269
15270Patch 8.2.2450
15271Problem: MS-Windows: ADS was not preserved if 'backupcopy' is "yes".
15272Solution: Copy ADS before truncating the file. (Ken Takata, closes #7762)
15273Files: src/bufwrite.c
15274
15275Patch 8.2.2451
15276Problem: MS-Windows: Extended Attributes not preserved.
15277Solution: Preserve Extended Attributes when writing a file. (Ken Takata,
15278 closes #7765)
15279Files: src/os_win32.c
15280
15281Patch 8.2.2452
15282Problem: No completion for the 'filetype' option.
15283Solution: Add filetype completion. (Martin Tournoij, closes #7747)
15284Files: src/option.c, src/optiondefs.h, src/testdir/test_options.vim
15285
15286Patch 8.2.2453
15287Problem: Vim9: a variable name with "->" in the next line doesn't work.
15288Solution: Recognize a variable name by itself. (closes #7770)
15289Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
15290
15291Patch 8.2.2454
15292Problem: Leading space can not be made visible.
15293Solution: Add "lead:" to 'listchars'. (closes #7772)
15294Files: runtime/doc/options.txt, src/drawline.c, src/globals.h,
15295 src/message.c, src/screen.c, src/testdir/test_listchars.vim
15296
15297Patch 8.2.2455
15298Problem: Vim9: key type that can be used for literal dict and indexing is
15299 inconsistent.
15300Solution: Allow using number and bool as key for a literal dict. (#7771)
15301Files: runtime/doc/vim9.txt, src/dict.c, src/eval.c, src/vim9compile.c,
15302 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_builtin.vim,
15303 src/testdir/test_vim9_script.vim
15304
15305Patch 8.2.2456
15306Problem: Coverity warning for strcpy() into fixed size array.
15307Solution: Add a type cast to hopefully silence the bogus warning.
15308Files: src/userfunc.c
15309
15310Patch 8.2.2457
15311Problem: Coverity warns for memory leak.
15312Solution: Free memory when out of memory.
15313Files: src/if_cscope.c
15314
15315Patch 8.2.2458
15316Problem: Coverity warns for :retab using freed memory.
15317Solution: Use the updated line pointer when moving text properties.
15318Files: src/indent.c
15319
15320Patch 8.2.2459
15321Problem: Coverity reports dead code.
15322Solution: Remove the dead code.
15323Files: src/eval.c
15324
15325Patch 8.2.2460
15326Problem: Coverity warns for unused value.
15327Solution: Do not reset the return value to OK.
15328Files: src/vim9compile.c
15329
15330Patch 8.2.2461
15331Problem: Coverity warns for unchecked return value.
15332Solution: Add "(void)" to avoid the warning.
15333Files: src/vim9execute.c
15334
15335Patch 8.2.2462
15336Problem: Coverity warns for not checking for fseek() error.
15337Solution: Give an error message if fseek() fails.
15338Files: src/spellfile.c
15339
15340Patch 8.2.2463
15341Problem: Using :arglocal in an autocommand may use freed memory.
15342 (houyunsong)
15343Solution: Check if the arglist is locked.
15344Files: src/arglist.c, src/testdir/test_autocmd.vim
15345
15346Patch 8.2.2464
15347Problem: Using freed memory if window closed in autocommand. (houyunsong)
15348Solution: Check the window still exists.
15349Files: src/ex_cmds.c, src/testdir/test_autocmd.vim
15350
15351Patch 8.2.2465
15352Problem: Using freed memory in :psearch. (houyunsong)
15353Solution: Check the current window is still valid. Fix flaky test.
15354Files: src/search.c, src/testdir/test_autocmd.vim
15355
15356Patch 8.2.2466
15357Problem: Max() and min() can give many error messages.
15358Solution: Bail out at the first error. (closes #1039, closes #7778)
15359Files: src/evalfunc.c, src/testdir/test_functions.vim
15360
15361Patch 8.2.2467
15362Problem: Script generated by :mkview changes alternate file.
15363Solution: Only write :balt in the session file. (Harish Rajagopal,
15364 closes #7779)
15365Files: src/session.c, src/testdir/test_mksession.vim
15366
15367Patch 8.2.2468
15368Problem: Not easy to get the full command name from a shortened one.
15369Solution: Add fullcommand(). (Martin Tournoij, closes #7777)
15370Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
15371 src/ex_docmd.c, src/proto/evalfunc.pro,
15372 src/testdir/test_cmdline.vim
15373
15374Patch 8.2.2469
15375Problem: Confusing error if :winsize has a wrong argument.
15376Solution: Quote the argument in the error. (closes #2523)
15377Files: src/ex_docmd.c, src/testdir/test_excmd.vim
15378
15379Patch 8.2.2470
15380Problem: Popup_getoptions() does not get textprop from other tab.
15381Solution: use win_valid_any_tab(). (closes #7786)
15382Files: src/popupwin.c, src/testdir/test_popupwin.vim
15383
15384Patch 8.2.2471
15385Problem: Popup_setoptions() does not set textprop in other tab.
15386Solution: use win_valid_any_tab(). (closes #7788)
15387Files: src/popupwin.c, src/testdir/test_popupwin.vim
15388
15389Patch 8.2.2472
15390Problem: Crash when using command line window in an autocommand.
15391 (houyunsong)
15392Solution: Save and restore au_new_curbuf.
15393Files: src/ex_cmds.c, src/testdir/test_autocmd.vim
15394
15395Patch 8.2.2473
15396Problem: Crash when leaving command line window triggers autocommand.
15397 (houyunsong)
15398Solution: Make sure not to close the current window or buffer.
15399Files: src/ex_getln.c, src/testdir/test_autocmd.vim
15400
15401Patch 8.2.2474
15402Problem: Using freed memory when window is closed by autocommand.
15403 (houyunsong)
15404Solution: Check the window pointer is still valid.
15405Files: src/quickfix.c, src/testdir/test_autocmd.vim
15406
15407Patch 8.2.2475
15408Problem: Autocommand tests hangs on MS-Windows.
15409Solution: Skip one test.
15410Files: src/testdir/test_autocmd.vim
15411
15412Patch 8.2.2476
15413Problem: Using freed memory when using an autocommand to split a window
15414 while a buffer is being closed.
15415Solution: Disallow splitting when the buffer has b_locked_split set.
15416Files: src/buffer.c, src/window.c, src/errors.h, src/structs.h,
15417 src/popupwin.c, src/testdir/test_autocmd.vim
15418
15419Patch 8.2.2477
15420Problem: Autocommand tests hang on MS-Windows.
15421Solution: Skip a couple of tests. Fix file name.
15422Files: src/testdir/test_autocmd.vim
15423
15424Patch 8.2.2478
15425Problem: MS-Windows: backup files for plugins are loaded.
15426Solution: Do not use the alternate file name for files ending in "~".
15427Files: src/filepath.c
15428
15429Patch 8.2.2479
15430Problem: set/getbufline test fails without the job feature.
15431Solution: Check whether the job feature is supported. (Dominique Pellé,
15432 closes #7790)
15433Files: src/testdir/test_bufline.vim, src/testdir/test_vim9_builtin.vim
15434
15435Patch 8.2.2480
15436Problem: Vim9: some errors for white space do not show context.
15437Solution: Include the text at the error.
15438Files: src/errors.h, src/dict.c, src/list.c, src/userfunc.c,
15439 src/vim9compile.c, src/vim9script.c, src/vim9type.c
15440
15441Patch 8.2.2481
15442Problem: Vim9: confusing error when variable arguments have a default
15443 value.
15444Solution: Give a specific error message. (closes #7793)
15445Files: src/userfunc.c, src/testdir/test_vim9_func.vim
15446
15447Patch 8.2.2482
15448Problem: Build error.
15449Solution: Add new error message.
15450Files: src/errors.h
15451
15452Patch 8.2.2483
Bram Moolenaar1588bc82022-03-08 21:35:07 +000015453Problem: Vim9: type error for malformed expression.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000015454Solution: Check for end of command before checking type. (closes #7795)
15455Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
15456
15457Patch 8.2.2484
15458Problem: Vim9: Cannot use a comment starting with #{ after an expression.
15459Solution: Remove the check for "{" since #{ dictionaries are not supported.
15460Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
15461
15462Patch 8.2.2485
15463Problem: When sourcing a script again the script version isn't reset.
15464Solution: Set sn_version to one when sourcing a script again. Clear
15465 sn_save_cpo properly. (closes #7608)
15466Files: src/scriptfile.c, src/testdir/test_vim9_script.vim
15467
15468Patch 8.2.2486
15469Problem: Vim9: some errors for white space do not show context.
15470Solution: Include the text at the error.
15471Files: src/errors.h, src/dict.c, src/list.c, src/userfunc.c,
15472 src/vim9compile.c, src/vim9type.c
15473
15474Patch 8.2.2487
15475Problem: Terminal shows garbage after double-wide character with a
15476 combining character. (Kyoichiro Yamada)
15477Solution: Libvterm: do not add the width of the combining character to the
15478 glyph width. (closes #7801)
15479Files: src/libvterm/src/state.c, src/testdir/test_terminal.vim,
15480 src/testdir/dumps/Test_terminal_combining.dump
15481
15482Patch 8.2.2488
15483Problem: json_encode() gives generic argument error.
15484Solution: Mention the type that can't be encoded. (issue #7802)
15485Files: src/json.c, src/errors.h, src/testdir/test_json.vim
15486
15487Patch 8.2.2489
15488Problem: current buffer is wrong after deletebufline() fails to delete a
15489 line in another buffer.
15490Solution: Restore the current buffer.
15491Files: src/evalbuffer.c, src/testdir/test_bufline.vim
15492
15493Patch 8.2.2490
15494Problem: 'wrap' option is always reset when starting diff mode.
15495Solution: Add the "followwrap" item in 'diffopt'. (Rick Howe, closes #7797)
15496Files: runtime/doc/diff.txt, runtime/doc/options.txt, src/diff.c,
15497 src/testdir/test_diffmode.vim
15498
15499Patch 8.2.2491
15500Problem: Popup window for text property may show in first screen line.
15501Solution: If the text position is invisible do not show the popup window.
15502 (closes #7807)
15503Files: src/popupwin.c, src/testdir/test_popupwin.vim,
15504 src/testdir/dumps/Test_popup_prop_not_visible_01.dump,
15505 src/testdir/dumps/Test_popup_prop_not_visible_02.dump,
15506 src/testdir/dumps/Test_popup_prop_not_visible_03.dump
15507
15508Patch 8.2.2492
15509Problem: Command line buffer name cannot be translated.
15510Solution: Add _(). (Gabriel Dupras, closes #7812)
15511Files: src/ex_getln.c
15512
15513Patch 8.2.2493
15514Problem: Text property for text left of window shows up.
15515Solution: Check if the text property ends before the current column.
15516 (closes #7806)
15517Files: src/drawline.c, src/testdir/test_textprop.vim,
15518 src/testdir/dumps/Test_textprop_nowrap_01.dump,
15519 src/testdir/dumps/Test_textprop_nowrap_02.dump
15520
15521Patch 8.2.2494
15522Problem: ":rviminfo!" clears most of oldfiles.
15523Solution: Add VIF_ONLY_CURBUF to read_viminfo(). (closes #1781)
15524Files: src/viminfo.c, src/vim.h
15525
15526Patch 8.2.2495
15527Problem: Text jumps up and down when moving the cursor in a small window
15528 with wrapping text and 'scrolloff' set.
15529Solution: Adjust the computation of w_skipcol. (partly by Ghjuvan Lacambre,
15530 closes #7813)
15531Files: src/move.c, src/testdir/test_breakindent.vim
15532
15533Patch 8.2.2496 (after 8.2.2495)
Bram Moolenaar1588bc82022-03-08 21:35:07 +000015534Problem: Insufficient testing for text jumping fix.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000015535Solution: Add another test case.
15536Files: src/testdir/test_breakindent.vim
15537
15538Patch 8.2.2497
15539Problem: No error when using more than one character for a register name.
15540Solution: In Vim9 script check for a single character string. (closes #7814)
15541 Fix that VAR_BOOL and VAR_SPECIAL are not considered equal.
15542Files: src/errors.h, src/evalfunc.c, src/typval.c,
15543 src/testdir/test_vim9_builtin.vim
15544
15545Patch 8.2.2498
15546Problem: No test for what 8.2.2494 fixes.
15547Solution: Add a simple change to test the fix. (closes #7818)
15548Files: src/testdir/test_viminfo.vim
15549
15550Patch 8.2.2499
15551Problem: "vim -g --version" does not redirect output.
15552Solution: Reset gui.starting when showing version info. (closes #7815)
15553Files: src/main.c, src/testdir/test_version.vim
15554
15555Patch 8.2.2500 (after 8.2.2499)
15556Problem: Build fails without the GUI feature.
15557Solution: Add #ifdef.
15558Files: src/main.c
15559
15560Patch 8.2.2501
15561Problem: Not always clear where an error is reported.
15562Solution: Add the where_T structure and pass it around. (closes #7796)
15563Files: src/structs.h, src/vim9type.c, src/proto/vim9type.pro,
15564 src/errors.h, src/evalvars.c, src/proto/evalvars.pro, src/eval.c,
15565 src/proto/eval.pro, src/vim9execute.c, src/vim9script.c,
15566 src/proto/vim9script.pro, src/dict.c, src/list.c,
15567 src/vim9compile.c, src/testdir/test_vim9_assign.vim
15568
15569Patch 8.2.2502
15570Problem: A few github actions are failing.
15571Solution: Install setuptools-rust. (closes #7823)
15572Files: .github/workflows/ci.yml
15573
15574Patch 8.2.2503
15575Problem: Vim9: a caught error may leave something on the stack.
15576Solution: Drop items from the stack if needed. (closes #7826)
15577Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
15578
15579Patch 8.2.2504
15580Problem: Vim9: crash when using an argument from a closure.
15581Solution: Check if gen_load_outer is NULL. (closes #7821)
15582Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
15583
15584Patch 8.2.2505
15585Problem: Vim9: crash after defining function with invalid return type.
15586Solution: Clear function growarrays. Fix memory leak.
15587Files: src/userfunc.c, src/testdir/test_vim9_func.vim
15588
15589Patch 8.2.2506
15590Problem: Vim9: :continue does not work correctly in a :try block
15591Solution: Add the TRYCLEANUP instruction. (closes #7827)
15592Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h,
15593 src/testdir/test_vim9_script.vim,
15594 src/testdir/test_vim9_disassemble.vim
15595
15596Patch 8.2.2507
15597Problem: Github build may fail if Ubuntu 20.04 is used. Installing rust is
15598 not needed.
15599Solution: Specify ubuntu-18.04 instead of latest. Update "pip" instead of
15600 installing rust. (Ozaki Kiichi, closes #7820)
15601Files: .github/workflows/ci.yml
15602
15603Patch 8.2.2508
15604Problem: Cannot change the character displayed in non existing lines.
15605Solution: Add the "eob" item to 'fillchars'. (closes #7832, closes #3820)
15606Files: runtime/doc/options.txt, runtime/doc/todo.txt,
15607 runtime/doc/windows.txt, src/drawscreen.c, src/globals.h,
15608 src/optiondefs.h, src/screen.c, src/testdir/test_display.vim
15609
15610Patch 8.2.2509
15611Problem: Tests fail on s390 build.
15612Solution: Initialize trycmd_T.
15613Files: src/vim9execute.c
15614
15615Patch 8.2.2510
15616Problem: Internal error when popup with mask is zero height or width.
15617Solution: Bail out if width or height is zero. (closes #7831)
15618Files: src/popupwin.c, src/testdir/test_popupwin.vim
15619
15620Patch 8.2.2511
15621Problem: Vim9: cannot use Vim9 script syntax in some places.
15622Solution: Add the :vim9cmd command modifier. Incompatible: Makes ":vim9"
15623 mean ":vim9cmd" instead of ":vim9script".
15624Files: runtime/doc/vim9.txt, runtime/doc/repeat.txt, src/ex_docmd.c,
15625 src/ex_cmds.h, src/structs.h, src/ex_cmdidxs.h, src/errors.h,
15626 src/testdir/test_vim9_cmd.vim, src/testdir/test_cmdline.vim,
15627 src/testdir/dumps/Test_wildmenu_1.dump,
15628 src/testdir/dumps/Test_wildmenu_2.dump,
15629 src/testdir/dumps/Test_wildmenu_3.dump,
15630 src/testdir/dumps/Test_wildmenu_4.dump,
15631 src/testdir/test_quickfix.vim
15632
15633Patch 8.2.2512
15634Problem: Vim9: compiling error test sometimes fails.
15635Solution: use WaitForAssert() instead of sleeping for a bit. (Dominique
15636 Pellé, closes #7837)
15637Files: src/testdir/term_util.vim, src/testdir/test_vim9_func.vim,
15638 src/testdir/test_vim9_script.vim
15639
15640Patch 8.2.2513 (after 8.2.2511)
15641Problem: Vim9: missing part of :vim9cmd change.
15642Solution: Use command modifier in in_vim9script().
15643Files: src/vim9script.c
15644
15645Patch 8.2.2514 (after 8.2.2511)
15646Problem: Vim9: build error in tiny version.
15647Solution: Add #ifdef.
15648Files: src/ex_docmd.c
15649
15650Patch 8.2.2515
15651Problem: Memory access error when truncating an empty message.
15652Solution: Check for an empty string. (Dominique Pellé, closes #7841)
15653Files: src/message.c, src/message_test.c
15654
15655Patch 8.2.2516
15656Problem: Test failure on s390. (analyses by James McCoy)
15657Solution: Only set the try_finally label when not skipping.
15658Files: src/vim9compile.c
15659
15660Patch 8.2.2517
15661Problem: Vim9: fix for s390 not tested on other systems.
15662Solution: Add a test.
15663Files: src/testdir/test_vim9_script.vim
15664
15665Patch 8.2.2518
15666Problem: 'listchars' should be window-local.
15667Solution: Make 'listchars' global-local. (Yegappan Lakshmanan, Marco Hinz,
15668 closes #5206, closes #7850)
15669Files: runtime/doc/options.txt, src/buffer.c, src/charset.c,
15670 src/drawline.c, src/drawscreen.c, src/evalfunc.c, src/globals.h,
15671 src/indent.c, src/message.c, src/misc1.c, src/option.c,
15672 src/option.h, src/optiondefs.h, src/optionstr.c,
15673 src/proto/screen.pro, src/screen.c, src/structs.h,
15674 src/testdir/test_listchars.vim, src/testdir/test_listlbr.vim
15675
15676Patch 8.2.2519
15677Problem: Vim9: no reason to keep strange Vi behavior.
15678Solution: ":3" and ":3|" both go to line 3. ":|" does not print the line.
15679 (closes #7840)
15680Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
15681
15682Patch 8.2.2520
15683Problem: Missing tests for 'listchars'.
15684Solution: Add a few more checks. (Yegappan Lakshmanan, closes #7854)
15685Files: src/testdir/test_listchars.vim
15686
15687Patch 8.2.2521
15688Problem: Some compilers can't handle pointer initialization. (John
15689 Marriott)
15690Solution: Use a local struct and assign it afterwards.
15691Files: src/screen.c
15692
15693Patch 8.2.2522
15694Problem: Beancount filetype not recognized.
15695Solution: Add a detection rule. (Brian Ryall, closes #7859)
15696Files: runtime/filetype.vim, src/testdir/test_filetype.vim
15697
15698Patch 8.2.2523
15699Problem: Svelte filetype not recognized.
15700Solution: Add a detection rule. (Brian Ryall, closes #7858)
15701Files: runtime/filetype.vim, src/testdir/test_filetype.vim
15702
15703Patch 8.2.2524
15704Problem: Cannot change the characters displayed in the foldcolumn.
15705Solution: Add fields to 'fillchars'. (Yegappan Lakshmanan, Matthieu Coudron,
15706 closes #7860)
15707Files: runtime/doc/options.txt, src/globals.h, src/mouse.c, src/screen.c,
15708 src/testdir/test_display.vim
15709
15710Patch 8.2.2525
15711Problem: Vim9: only local variables checked for a name.
15712Solution: Also check arguments and script variables. (closes #7838)
15713Files: src/vim9compile.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
15714 src/testdir/test_vim9_cmd.vim
15715
15716Patch 8.2.2526 (after 8.2.2525)
15717Problem: Build failure.
15718Solution: Change lookup_scriptvar() arguments.
15719Files: src/evalvars.c, src/proto/evalvars.pro
15720
15721Patch 8.2.2527
15722Problem: Vim9: lambda return type is not determined at script level.
15723Solution: Compile the lambda to get the return type. (closes #7843)
15724Files: src/eval.c, src/vim.h, src/vim9.h,
15725 src/testdir/test_vim9_assign.vim
15726
15727Patch 8.2.2528
15728Problem: Vim9: crash when compiling lambda fails.
15729Solution: Bail out after compilation fails. (closes #7862)
15730Files: src/eval.c, src/testdir/test_vim9_assign.vim
15731
15732Patch 8.2.2529
15733Problem: Vim9: Not possible to use legacy and Vim9 script in one file.
15734Solution: Vim9: allow for "if false" before :vim9script. (closes #7851)
15735Files: runtime/doc/vim9.txt, src/ex_docmd.c,
15736 src/testdir/test_vim9_script.vim
15737
15738Patch 8.2.2530
15739Problem: Vim9: not enough testing for profiling.
15740Solution: Add a test with nested functions and a lambda. Fix profiling
15741 for calling a compiled function.
15742Files: src/profiler.c, src/proto/profiler.pro, src/userfunc.c,
15743 src/vim9execute.c, src/testdir/test_profile.vim
15744
15745Patch 8.2.2531
15746Problem: Vim9: the :k command is obscure.
15747Solution: Disallow using :k, can use :mark instead. (closes #7874)
15748Files: runtime/doc/vim9.txt, src/ex_docmd.c, src/vim9script.c,
15749 src/vim9compile.c, src/ex_cmds.h, src/testdir/test_vim9_script.vim
15750
15751Patch 8.2.2532
15752Problem: Vim9: confusing error if :k is used with a range.
15753Solution: Give an error about the range. (issue #7874)
15754Files: src/vim9script.c, src/vim9compile.c,
15755 src/testdir/test_vim9_script.vim
15756
15757Patch 8.2.2533
15758Problem: Vim9: cannot use a range with :unlet.
15759Solution: Implement ISN_UNLETRANGE.
15760Files: src/errors.h, src/eval.c, src/evalvars.c, src/list.c,
15761 src/proto/evalvars.pro, src/proto/list.pro, src/vim9.h,
Bram Moolenaar47c532e2022-03-19 15:18:53 +000015762 src/vim9compile.c, src/vim9execute.c,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000015763 src/testdir/test_vim9_assign.vim
15764
15765Patch 8.2.2534
15766Problem: Missing test coverage.
15767Solution: Improve test coverage for completion with different encodings,
15768 mapset(), and term function failures. (Dominique Pellé,
15769 closes #7877)
15770Files: src/testdir/test_edit.vim, src/testdir/test_maparg.vim,
15771 src/testdir/test_terminal3.vim
15772
15773Patch 8.2.2535
15774Problem: MS-Windows: cannot run all vim9 tests.
15775Solution: Make test_vim9 target work.
15776Files: src/Make_mvc.mak
15777
15778Patch 8.2.2536
15779Problem: Coverity complains about unchecked return value.
15780Solution: Add (void).
15781Files: src/userfunc.c
15782
15783Patch 8.2.2537
15784Problem: Vim9: crash when map() fails.
15785Solution: Clear typval before using it. (closes #7884)
15786Files: src/list.c, src/testdir/test_vim9_builtin.vim
15787
15788Patch 8.2.2538
15789Problem: Crash when using Python list iterator.
15790Solution: Increment the list reference count. (closes #7886)
15791Files: src/if_py_both.h, src/testdir/test_python3.vim
15792
15793Patch 8.2.2539
15794Problem: Vim9: return from finally block causes a hang.
15795Solution: Store both the finally and endtry indexes. (closes #7885)
15796Files: src/vim9execute.c, src/vim9compile.c, src/vim9.h,
15797 src/testdir/test_vim9_script.vim,
Bram Moolenaar47c532e2022-03-19 15:18:53 +000015798
Bram Moolenaarc51cf032022-02-26 12:25:45 +000015799Patch 8.2.2540
15800Problem: Vim9: no error for using script var name for argument.
15801Solution: Check for this error. (closes #7868)
15802Files: src/userfunc.c, src/vim9compile.c, src/proto/vim9compile.pro,
15803 src/testdir/test_vim9_func.vim
15804
15805Patch 8.2.2541
15806Problem: Popup_create() does not allow boolean for "cursorline".
15807Solution: Use dict_get_bool(). (issue #7869)
15808Files: src/popupwin.c, src/testdir/test_popupwin.vim
15809
15810Patch 8.2.2542
15811Problem: Highlight of char beyond line end is not correct. (Chuan Wei Foo)
15812Solution: Fix counting NUL as one cell. Draw one more character if the EOL
15813 is part of the match. (closes #7883)
15814Files: src/match.c, src/testdir/test_search.vim,
15815 src/testdir/dumps/Test_hlsearch_1.dump,
15816 src/testdir/dumps/Test_hlsearch_2.dump
15817
15818Patch 8.2.2543
15819Problem: Vim9: a return inside try/catch does not restore exception state
15820 properly.
15821Solution: When there is no ":finally" jump to ":endtry". (closes #7882)
15822Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
15823
15824Patch 8.2.2544
15825Problem: Vim9: error for argument when checking for lambda.
15826Solution: Respect the skip flag. (closes #7887)
15827Files: src/userfunc.c, src/testdir/test_vim9_expr.vim
15828
15829Patch 8.2.2545
15830Problem: Errors and crash when terminal window is zero height. (Leonid V.
15831 Fedorenchik)
15832Solution: Do not resize when width or height is zero. (closes #7890)
15833Files: src/terminal.c, src/testdir/test_terminal.vim
15834
15835Patch 8.2.2546
15836Problem: Typo in mouse key name.
15837Solution: Fix the typo. (issue #4725)
15838Files: src/misc2.c
15839
15840Patch 8.2.2547
15841Problem: "%" command not accurate for big files.
15842Solution: Make it more accurate for files up to 21M lines. (Dominique Pellé,
15843 closes #7889)
15844Files: src/normal.c
15845
15846Patch 8.2.2548
15847Problem: May get stuck in the cmdline window using :normal.
15848Solution: Have nv_esc() return K_IGNORE.
15849Files: src/normal.c
15850
15851Patch 8.2.2549
15852Problem: Crash after using "g:" in a for loop.
15853Solution: Increment the reference count. (closes #7892)
15854Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
15855
15856Patch 8.2.2550
15857Problem: Signal stack size is wrong with latest glibc 2.34.
15858Solution: Use sysconf(_SC_SIGSTKSZ) if available. (Zdenek Dohnal, closes
15859 #7895)
15860Files: src/config.h.in, src/configure.ac, src/os_unix.c,
15861 src/auto/configure
15862
15863Patch 8.2.2551
15864Problem: MS-Windows: colors test file is not installed.
15865Solution: Also copy runtime/colors/tools. (Ken Takata, closes #7902)
15866Files: nsis/gvim.nsi
15867
15868Patch 8.2.2552
15869Problem: Vim9: no reason to consider "{{{{{{{{" a command.
15870Solution: Just use "{". (issue #7904)
15871Files: src/ex_cmds.h
15872
15873Patch 8.2.2553
15874Problem: Vim9: Cannot put "|" after "{".
15875Solution: Add the EX_TRLBAR flag. (issue #7904)
15876Files: src/ex_cmds.h, src/ex_eval.c
15877
15878Patch 8.2.2554
15879Problem: Vim9: exporting a final is not tested.
15880Solution: Add a test.
15881Files: src/testdir/test_vim9_script.vim
15882
15883Patch 8.2.2555
15884Problem: Vim9: missing test for 8.2.2553.
15885Solution: Add a simple test.
15886Files: src/testdir/test_vim9_script.vim
15887
15888Patch 8.2.2556
15889Problem: Vim9: :import with "as" not fully supported.
15890Solution: Implement "as" for more cases.
15891Files: src/vim9script.c, src/testdir/test_vim9_script.vim
15892
15893Patch 8.2.2557
15894Problem: Compiler warning for shadowed variable.
15895Solution: Declare "p" only once.
15896Files: src/vim9script.c
15897
15898Patch 8.2.2558
15899Problem: No error if a lambda argument shadows a variable.
15900Solution: Check that the argument name shadows a local, argument or script
15901 variable. (closes #7898)
15902Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c,
15903 src/vim9script.c, src/errors.h, src/testdir/test_vim9_func.vim,
15904 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim
15905
15906Patch 8.2.2559
15907Problem: MS-Windows: guifont test fails on Windows XP.
15908Solution: Check windowsversion().
15909Files: src/testdir/test_gui.vim
15910
15911Patch 8.2.2560
15912Problem: Setting 'winminheigt' does not take tabline into account.
15913Solution: Subtract the tabline from the available height. (closes #7899)
15914Files: src/window.c, src/testdir/test_options.vim
15915
15916Patch 8.2.2561
15917Problem: Not all textprop code is covered by tests.
15918Solution: Add a few more test cases. (Dominique Pellé, closes #7908)
15919Files: src/testdir/test_textprop.vim
15920
15921Patch 8.2.2562
Bram Moolenaar1588bc82022-03-08 21:35:07 +000015922Problem: GUI: star register changed when 'clipboard' is "unnamedplus". (Ingo
Bram Moolenaarc51cf032022-02-26 12:25:45 +000015923 Karkat)
15924Solution: Do not change the star register when 'clipboard' contains
15925 "unnamedplus" and not "unnamed". (closes #1516)
15926Files: src/register.c
15927
15928Patch 8.2.2563
15929Problem: Cannot use multibyte characters for folding in 'fillchars'.
15930Solution: Port pull request 11568 to Vim. (Yegappan Lakshmanan,
15931 closes #7924)
15932Files: src/drawline.c, src/drawscreen.c, src/macros.h,
15933 src/proto/screen.pro, src/screen.c, src/testdir/test_fold.vim,
15934 src/testdir/test_profile.vim
15935
15936Patch 8.2.2564
15937Problem: Focus events end Insert mode if 'esckeys' is not set.
15938Solution: Do not enable focus events when 'esckeys' is off. (closes #7926)
15939Files: src/term.c
15940
15941Patch 8.2.2565
15942Problem: Vim9: "..=" not always recognized.
15943Solution: Do not consider "..=" to be string concatenation. (closes #7905)
15944Files: src/eval.c, src/testdir/test_vim9_assign.vim
15945
15946Patch 8.2.2566
15947Problem: Vim9: Function name is not recognized.
15948Solution: Change lookup_scriptvar() to also find function names.
15949 (closes #7770)
15950Files: src/vim9script.c, src/evalvars.c, src/proto/evalvars.pro,
15951 src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
15952
15953Patch 8.2.2567
15954Problem: Vim9: no error if variable is defined for existing function.
15955Solution: Check if name isn't already in use. (closes #7897)
15956Files: src/evalvars.c, src/testdir/test_vim9_script.vim
15957
15958Patch 8.2.2568
15959Problem: Second time a preview popup is opened highlight is not set.
15960 (Gabriel Dupras)
15961Solution: Apply 'previewpopup' after getting the file. (closes #7928)
15962Files: src/tag.c, src/testdir/test_popupwin.vim,
15963 src/testdir/dumps/Test_popupwin_previewpopup_2.dump,
15964 src/testdir/dumps/Test_popupwin_previewpopup_3.dump,
15965 src/testdir/dumps/Test_popupwin_previewpopup_4.dump,
15966 src/testdir/dumps/Test_popupwin_previewpopup_5.dump
15967
15968Patch 8.2.2569
15969Problem: 'fillchars' "stl" and "stlnc" items must be single byte.
15970Solution: Accept multi-byte characters. (Christian Wellenbrock, Yegappan
15971 Lakshmanan, closes #7927)
15972Files: runtime/doc/options.txt, src/buffer.c, src/macros.h, src/screen.c,
15973 src/testdir/test_fold.vim, src/testdir/test_statusline.vim
15974
15975Patch 8.2.2570
15976Problem: Tests fail when run as root.
15977Solution: Add a comment mentioning the expected failure. (issue #7919)
15978Files: src/testdir/test_edit.vim, src/testdir/test_excmd.vim,
15979 src/testdir/test_help.vim, src/testdir/test_writefile.vim
15980
15981Patch 8.2.2571
15982Problem: Test may leave file behind.
15983Solution: Delete the temporary file. Don't profile in the running Vim
15984 instance.
15985Files: src/testdir/test_quickfix.vim, src/testdir/test_profile.vim
15986
15987Patch 8.2.2572
15988Problem: Vim9: crash when getting the types for a legacy function.
15989Solution: Initialize the type list growarray. (closes #7929)
15990Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
15991
15992Patch 8.2.2573
15993Problem: Vim9: using invalid pointer for error message.
15994Solution: Use the right pointer. (closes #7921)
15995Files: src/eval.c, src/testdir/test_vim9_expr.vim
15996
15997Patch 8.2.2574
15998Problem: Vim9: crash when calling partial with wrong function.
15999Solution: Check argument types of called function. (closes #7912)
16000Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
16001
16002Patch 8.2.2575
16003Problem: Vim9: a function name with "->" in the next line doesn't work.
16004Solution: Recognize a function name by itself. (closes #7770)
16005Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
16006
16007Patch 8.2.2576
16008Problem: Vim9: defining a :func function checks for white space after a
16009 comma in the arguments.
16010Solution: Only check for white space in a :def function. (closes #7930)
16011Files: src/userfunc.c, src/testdir/test_vim9_func.vim
16012
16013Patch 8.2.2577
16014Problem: Compiler warning for type conversion.
16015Solution: Add a typecast. (Mike Williams)
16016Files: src/drawline.c
16017
16018Patch 8.2.2578
16019Problem: Lua cannot handle a passed in lambda.
16020Solution: Handle VAR_PARTIAL. (Prabir Shrestha, closes #7937, closes #7936)
16021Files: src/if_lua.c, src/testdir/test_lua.vim
16022
16023Patch 8.2.2579
16024Problem: Vim9: crash in garbagecollect after for loop.
16025Solution: Do not set a reference in script item when the name was cleared.
16026 (closes #7935)
16027Files: src/evalvars.c
16028
16029Patch 8.2.2580
16030Problem: Vim9: checking vararg type is wrong when function is auto-loaded.
16031Solution: Use the member type. (closes #7933)
16032Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
16033
16034Patch 8.2.2581
16035Problem: Vim9: sourcing Vim9 script triggers a redraw.
16036Solution: Do not let setting/restoring 'cpoptions' cause a redraw.
16037 (closes #7920)
16038Files: src/vim.h, src/option.c, src/optionstr.c, src/scriptfile.c,
16039 src/vim9script.c, src/testdir/test_vim9_script.vim,
16040 src/testdir/dumps/Test_vim9_no_redraw.dump
16041
16042Patch 8.2.2582 (after 8.2.2581)
16043Problem: Vim9: screendump test fails on MS-Windows.
16044Solution: Use :function instead of :def.
16045Files: src/testdir/test_vim9_script.vim
16046
16047Patch 8.2.2583
16048Problem: Vim9: cannot compare result of getenv() with null.
16049Solution: Make the return type of getenv() "any". (closes #7943)
16050Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
16051
16052Patch 8.2.2584
16053Problem: Vim9: type error for assigning the result of list concatenation to
16054 a list.
16055Solution: Do not consider concatenation result in a constant. (closes #7942)
16056Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
16057
16058Patch 8.2.2585
16059Problem: Vim9: illegal memory access.
16060Solution: Check byte right after "null", not one more.
16061Files: src/vim9compile.c
16062
16063Patch 8.2.2586
16064Problem: Process id may be invalid.
16065Solution: Use sysinfo.uptime to check for recent reboot. (suggested by Hugo
16066 van der Sanden, closes #7947)
16067Files: src/configure.ac, src/auto/configure, src/config.h.in,
16068 src/memline.c, src/testing.c, src/globals.h,
16069 src/testdir/test_recover.vim
16070
16071Patch 8.2.2587 (after 8.2.2586)
16072Problem: Recover test fails on FreeBSD.
16073Solution: Check for Linux.
16074Files: src/testdir/check.vim, src/testdir/test_recover.vim
16075
16076Patch 8.2.2588 (after 8.2.2586)
16077Problem: Build failure with tiny features.
16078Solution: Add #ifdef. Run recover test separately.
16079Files: src/memline.c, src/testdir/Make_all.mak, src/testdir/test_alot.vim
16080
16081Patch 8.2.2589 (after 8.2.2586)
16082Problem: Recover test hangs in the GUI.
16083Solution: Add g:skipped_reason to skip a _nocatch_ test.
16084Files: src/testdir/runtest.vim, src/testdir/test_recover.vim
16085
16086Patch 8.2.2590
16087Problem: Vim9: default argument value may cause internal error.
16088Solution: Hide later function arguments when compiling the expression.
16089 (closes #7948)
16090Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
16091
16092Patch 8.2.2591
16093Problem: Poke files are not recognized.
16094Solution: Add a filetype entry. (Matt Ihlenfield)
16095Files: runtime/filetype.vim, src/testdir/test_filetype.vim
16096
16097Patch 8.2.2592
16098Problem: Code coverage could be improved.
16099Solution: Add a few more tests. (Dominique Pellé, closes #7957)
16100Files: src/testdir/test_fileformat.vim, src/testdir/test_normal.vim,
16101 src/testdir/test_sleep.vim, src/testdir/test_textformat.vim,
16102 src/testdir/test_viminfo.vim
16103
16104Patch 8.2.2593
16105Problem: List of distributed files is incomplete.
16106Solution: Add a file and rename another.
16107Files: Filelist
16108
16109Patch 8.2.2594
16110Problem: Alternate buffer added to session file even when it's hidden.
16111Solution: Check the 'buflisted' option. (closes #7951)
16112Files: src/session.c, src/testdir/test_mksession.vim
16113
16114Patch 8.2.2595
16115Problem: Setting 'winminheight' may cause 'lines' to change.
16116Solution: Also take minimal height of other tabpages into account. (#7899)
16117Files: src/window.c, src/testdir/test_options.vim
16118
16119Patch 8.2.2596
16120Problem: :doautocmd may confuse scripts listening to WinEnter.
16121Solution: Do the current buffer last. (closes #7958)
16122Files: src/autocmd.c, src/testdir/test_autocmd.vim
16123
16124Patch 8.2.2597
16125Problem: Vim9: "import * as" does not work at script level.
16126Solution: Implement using an imported namespace.
16127Files: src/vim.h, src/eval.c, src/evalvars.c, src/proto/evalvars.pro,
16128 src/vim9execute.c, src/errors.h, src/vim9script.c,
16129 src/proto/vim9script.pro, src/testdir/test_vim9_script.vim
16130
16131Patch 8.2.2598
16132Problem: Vim9: :open does not need to be supported.
16133Solution: Do not support :open in Vim9 script.
16134Files: src/ex_docmd.c, src/vim9script.c, src/testdir/test_vim9_script.vim
16135
16136Patch 8.2.2599 (after 8.2.2597)
16137Problem: Build failure.
16138Solution: Add missing change.
16139Files: src/vim9compile.c
16140
16141Patch 8.2.2600
16142Problem: Vim9: crash when putting an unknown type in a dictionary.
16143 (Yegappan Lakshmanan)
16144Solution: Handle a NULL type pointer.
16145Files: src/vim9type.c, src/testdir/test_vim9_builtin.vim
16146
16147Patch 8.2.2601
16148Problem: Memory usage test often fails on FreeBSD.
16149Solution: Increase multiplier for upper limit.
16150Files: src/testdir/test_memory_usage.vim
16151
16152Patch 8.2.2602
16153Problem: Vim9: continue doesn't work if :while is very first command.
16154 (Yegappan Lakshmanan)
16155Solution: Add one to the continue instruction index.
16156Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
16157
16158Patch 8.2.2603
16159Problem: Vim9: no effect if user command is also a function.
16160Solution: Check for paren following. (closes #7960)
16161Files: src/evalvars.c, src/proto/evalvars.pro, src/ex_docmd.c,
16162 src/proto/ex_docmd.pro, src/vim9compile.c,
16163 src/testdir/test_vim9_cmd.vim
16164
16165Patch 8.2.2604
16166Problem: GUI-specific command line arguments not tested.
16167Solution: Add tests for several arguments. (Dominique Pellé, closes #7962)
16168Files: src/testdir/test_startup.vim
16169
16170Patch 8.2.2605
16171Problem: Vim9: string index and slice does not include composing chars.
16172Solution: Include composing characters. (issue #6563)
16173Files: runtime/doc/vim9.txt, src/vim9execute.c,
16174 src/testdir/test_vim9_expr.vim
16175
16176Patch 8.2.2606
16177Problem: strchars() defaults to counting composing characters.
16178Solution: Add strcharlen() which ignores composing characters.
16179Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
16180 src/testdir/test_utf8.vim
16181
16182Patch 8.2.2607
16183Problem: strcharpart() cannot include composing characters.
16184Solution: Add the {skipcc} argument.
16185Files: runtime/doc/eval.txt, src/evalfunc.c,
16186 src/testdir/test_expr_utf8.vim
16187
16188Patch 8.2.2608
16189Problem: Character input not fully tested.
16190Solution: Add more tests. (Yegappan Lakshmanan, closes #7963)
16191Files: src/testdir/test_functions.vim, src/testdir/test_messages.vim,
16192 src/testdir/test_paste.vim, src/testdir/test_registers.vim,
16193 src/testdir/test_undo.vim
16194
16195Patch 8.2.2609
16196Problem: Test disabled on MS-Windows even though it should work.
16197Solution: Restore the condition for skipping the test. (Ken Takata,
16198 closes #7970)
16199Files: src/testdir/test_startup.vim
16200
16201Patch 8.2.2610
16202Problem: Mouse click test fails when using remote connection.
16203Solution: Use a larger 'mousetime'. (Dominique Pellé, closes #7968)
16204Files: src/testdir/test_selectmode.vim
16205
16206Patch 8.2.2611
16207Problem: Conditions for startup tests are not exactly right.
16208Solution: Check for type of GUI instead of MS-Windows. (Ozaki Kiichi,
16209 closes #7976)
16210Files: src/main.c, src/testdir/check.vim, src/testdir/test_startup.vim
16211
16212Patch 8.2.2612
16213Problem: col('.') may get outdated column value.
16214Solution: Add a note to the help how to make this work and add a test for
16215 it. (closes #7971)
16216Files: runtime/doc/map.txt, src/testdir/test_mapping.vim
16217
16218Patch 8.2.2613 (after 8.2.2612)
16219Problem: New test throws exception.
16220Solution: Adjust the function cleanup.
16221Files: src/testdir/test_mapping.vim
16222
16223Patch 8.2.2614
16224Problem: Vim9: function is deleted while executing.
16225Solution: increment the call count, when more than zero do not delete the
16226 function but mark it as dead. (closes #7977)
16227Files: src/vim9execute.c, src/userfunc.c,
16228 src/testdir/test_vim9_script.vim
16229
16230Patch 8.2.2615 (after 8.2.2614)
16231Problem: Test is sourcing the wrong file.
16232Solution: Correct the file name.
16233Files: src/testdir/test_vim9_script.vim
16234
16235Patch 8.2.2616
16236Problem: Vim9: if 'cpo' is changed in Vim9 script it may be restored.
16237Solution: Apply the changes to 'cpo' to the restored value.
16238Files: runtime/doc/vim9.txt, src/scriptfile.c,
16239 src/testdir/test_vim9_script.vim
16240
16241Patch 8.2.2617
16242Problem: Vim9: script variable in a block scope not found by a nested
16243 function.
16244Solution: Copy the block scope IDs before compiling the function.
16245Files: src/vim9compile.c, src/testdir/test_vim9_func.vim,
16246 src/testdir/test_vim9_disassemble.vim
16247
16248Patch 8.2.2618
16249Problem: Vim9: cannot use a normal list name to store function refs.
16250Solution: Allow a lower case name if it is indexed.
16251Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
16252
16253Patch 8.2.2619
16254Problem: Vim9: no test for return type of lambda.
16255Solution: Add a test.
16256Files: src/testdir/test_vim9_func.vim
16257
16258Patch 8.2.2620
16259Problem: Vim9: Using #{ for a dictionary gives strange errors.
16260Solution: Give an error when using #{ for a comment after a command.
16261Files: src/vim9compile.c, src/vim9script.c, src/proto/vim9script.pro,
16262 src/errors.h, src/testdir/test_vim9_expr.vim,
16263 src/testdir/test_vim9_script.vim
16264
16265Patch 8.2.2621
16266Problem: typval2type() cannot handle recursive structures.
16267Solution: Use copyID. (closes #7979)
16268Files: src/list.c, src/vim9script.c, src/vim9type.c,
16269 src/proto/vim9type.pro, src/testdir/test_vimscript.vim
16270
16271Patch 8.2.2622
16272Problem: GTK: error when starting up and -geometry is given. (Dominique
16273 Pellé)
16274Solution: Use another function to get the monitor if the window has not been
16275 created yet. (closes #7978)
16276Files: src/gui_gtk_x11.c, src/proto/gui_gtk_x11.pro, src/gui_beval.c,
16277 src/gui_xim.c
16278
16279Patch 8.2.2623
16280Problem: Some tests fail when run as root.
16281Solution: Use CheckNotRoot.
16282Files: src/testdir/test_edit.vim, src/testdir/test_excmd.vim,
16283 src/testdir/test_help.vim, src/testdir/test_writefile.vim
16284
16285Patch 8.2.2624
16286Problem: Atom files not recognized.
16287Solution: Recognize .atom as XML. (Kivin Locke, closes #7986)
16288Files: runtime/filetype.vim, src/testdir/test_filetype.vim
16289
16290Patch 8.2.2625
16291Problem: Rss files not recognized.
16292Solution: Recognize .rss as XML. (Kivin Locke, closes #7987)
16293Files: runtime/filetype.vim, src/testdir/test_filetype.vim
16294
16295Patch 8.2.2626
16296Problem: GTK3: error when starting up and -geometry is given. (Dominique
16297 Pellé)
16298Solution: Use another function to get the monitor if the window has not been
16299 created yet. (closes #7978)
16300Files: src/gui_gtk_x11.c
16301
16302Patch 8.2.2627
16303Problem: No need to check for BSD after checking for not root.
16304Solution: Remove CheckNotBSD. (Ozaki Kiichi, closes #7989)
16305Files: src/testdir/test_excmd.vim, src/testdir/test_help.vim,
16306 src/testdir/check.vim
16307
16308Patch 8.2.2628
16309Problem: Vim9: #{ can still be used at the script level.
16310Solution: Give an error for #{ like in a :def function.
16311Files: src/eval.c, src/ex_docmd.c, src/testdir/test_vim9_expr.vim
16312
16313Patch 8.2.2629
16314Problem: Vim9: error for #{{ is not desired.
16315Solution: Adjust the checks. (closes #7990)
16316Files: src/errors.h, src/vim9script.c, src/ex_docmd.c,
16317 src/testdir/test_vim9_expr.vim
16318
16319Patch 8.2.2630
16320Problem: Hard to see where a test gets stuck.
16321Solution: Print the executed test function. (Dominique Pellé, closes #7975)
16322Files: src/testdir/Makefile
16323
16324Patch 8.2.2631
16325Problem: Commands from winrestcmd() do not always work properly. (Leonid V.
16326 Fedorenchik)
16327Solution: Repeat the size commands twice. (closes #7988)
16328Files: src/evalwindow.c, src/testdir/test_window_cmd.vim
16329
16330Patch 8.2.2632
16331Problem: Not all command line arguments are tested.
16332Solution: Add tests for -D and -serverlist. (Dominique Pellé, closes #7992)
16333Files: src/testdir/test_clientserver.vim, src/testdir/test_startup.vim
16334
16335Patch 8.2.2633
16336Problem: Multi-byte 'fillchars' for folding do not show properly.
16337Solution: Handle multi-byte characters correctly. (Yegappan Lakshmanan,
16338 closes #7983, closes #7955)
16339Files: src/screen.c, src/testdir/test_fold.vim
16340
16341Patch 8.2.2634
16342Problem: 'tagfunc' does not indicate using a pattern.
16343Solution: Add the "r" flag. (Andy Massimino, closes #7982)
16344Files: runtime/doc/tagsrch.txt, src/tag.c, src/testdir/test_tagfunc.vim
16345
16346Patch 8.2.2635
16347Problem: Vim9: cannot define an inline function.
16348Solution: Make an inline function mostly work.
16349Files: src/userfunc.c, src/errors.h, src/vim9compile.c, src/misc2.c,
16350 src/proto/vim9compile.pro, src/testdir/test_vim9_expr.vim
16351
16352Patch 8.2.2636 (after 8.2.2635)
16353Problem: Memory leak when compiling inline function.
16354Solution: Free the prefetched line.
16355Files: src/userfunc.c, src/vim9compile.c, src/structs.h, src/globals.h,
16356 src/eval.c
16357
16358Patch 8.2.2637
16359Problem: prop_remove() causes a redraw even when nothing changed.
16360Solution: Only redraw if a property was removed. (Dominique Pellé)
16361Files: src/textprop.c
16362
16363Patch 8.2.2638
16364Problem: Cannot write a message to the terminal from the GUI.
16365Solution: Add :echoconsole and use it in the test runner. (issue #7975)
16366Files: runtime/doc/eval.txt, runtime/doc/index.txt, src/ex_cmds.h,
16367 src/ex_cmdidxs.h, src/eval.c, src/ui.c, src/proto/ui.pro,
16368 src/term.c, src/testdir/runtest.vim
16369
16370Patch 8.2.2639 (after 8.2.2638)
16371Problem: Build failure when fsync() is not available.
16372Solution: Add #ifdef.
16373Files: src/ui.c
16374
16375Patch 8.2.2640
16376Problem: screenstring() returns non-existing composing characters.
16377Solution: Only use composing characters if there is a base character.
16378Files: src/evalfunc.c, src/testdir/test_listchars.vim
16379
16380Patch 8.2.2641
16381Problem: Display test fails because of lacking redraw.
16382Solution: Add a redraw command.
16383Files: src/testdir/test_display.vim
16384
16385Patch 8.2.2642
16386Problem: Vim9: no clear error for wrong inline function.
16387Solution: Check for something following the "{".
16388Files: src/userfunc.c, src/testdir/test_vim9_expr.vim
16389
16390Patch 8.2.2643
16391Problem: Various code not covered by tests.
16392Solution: Add a few more test. (Yegappan Lakshmanan, closes #7995)
16393Files: src/testdir/test_edit.vim, src/testdir/test_functions.vim,
16394 src/testdir/test_mapping.vim, src/testdir/test_termcodes.vim,
16395 src/testdir/test_undo.vim
16396
16397Patch 8.2.2644
16398Problem: prop_clear() causes a screen update even when nothing changed.
16399Solution: Only redraw when a property was cleared. (Dominique Pellé)
16400Files: src/textprop.c
16401
16402Patch 8.2.2645
16403Problem: Using inline function is not properly tested.
16404Solution: Add test cases, esp. for errors. Minor code improvements.
16405Files: src/userfunc.c, src/errors.h, src/testdir/test_vim9_expr.vim,
16406 src/testdir/test_vim9_func.vim
16407
16408Patch 8.2.2646
16409Problem: Vim9: error for not using string doesn't mention argument.
16410Solution: Add argument number.
16411Files: src/filepath.c, src/typval.c, src/proto/typval.pro, src/errors.h,
16412 src/mbyte.c, src/testdir/test_vim9_builtin.vim
16413
16414Patch 8.2.2647
16415Problem: Terminal test sometimes hangs.
16416Solution: Wait for the shell to display a prompt.
16417Files: src/testdir/test_terminal.vim
16418
16419Patch 8.2.2648
16420Problem: Terminal resize test sometimes hangs.
16421Solution: Wait for the shell to display a prompt and other output.
16422Files: src/testdir/test_terminal2.vim
16423
16424Patch 8.2.2649
16425Problem: Vim9: some wincmd arguments cause a white space error.
16426Solution: Insert a space before the count. (closes #8001)
16427Files: src/window.c, src/testdir/test_vim9_cmd.vim
16428
16429Patch 8.2.2650
16430Problem: Vim9: command modifiers not handled in nested function.
16431Solution: Keep function-local info in a structure and save it on the stack.
16432Files: src/vim9execute.c, src/vim9.h, src/testdir/test_vim9_func.vim
16433
16434Patch 8.2.2651
16435Problem: Vim9: restoring command modifiers happens after jump.
16436Solution: Move the restore instruction to before the jump. (closes #8006)
16437 Also handle for and while.
16438Files: src/vim9compile.c, src/vim9execute.c,
16439 src/testdir/test_vim9_disassemble.vim
16440
16441Patch 8.2.2652
16442Problem: Vim9: can use command modifier without an effect.
16443Solution: Give an error for a misplaced command modifier. Fix error message
16444 number.
16445Files: src/vim9compile.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
16446 src/ex_eval.c, src/testdir/test_vim9_cmd.vim,
16447 src/testdir/test_vim9_builtin.vim,
16448 src/testdir/test_vim9_disassemble.vim
16449
16450Patch 8.2.2653
16451Problem: Build failure.
16452Solution: Add missing changes.
16453Files: src/errors.h
16454
16455Patch 8.2.2654
16456Problem: Vim9: getting a character from a string can be slow.
16457Solution: Avoid a function call to get the character byte size. (#8000)
16458Files: src/vim9execute.vim
16459
16460Patch 8.2.2655
16461Problem: The -w command line argument doesn't work.
16462Solution: Don't set 'window' when set with the -w argument. (closes #8011)
16463Files: src/term.c, src/testdir/test_startup.vim
16464
16465Patch 8.2.2656
16466Problem: Some command line arguments and regexp errors not tested.
16467Solution: Add a few test cases. (Dominique Pellé, closes #8013)
16468Files: src/testdir/test_regexp_latin.vim, src/testdir/test_startup.vim
16469
16470Patch 8.2.2657
16471Problem: Vim9: error message for declaring variable in for loop.
16472Solution: Clear variables when entering block again. (closes #8012)
16473Files: src/ex_eval.c, src/testdir/test_vim9_script.vim
16474
16475Patch 8.2.2658
16476Problem: :for cannot loop over a string.
16477Solution: Accept a string argument and iterate over its characters.
16478Files: runtime/doc/eval.txt, src/eval.c, src/vim9compile.c,
16479 src/vim9execute.c, src/errors.h, src/testdir/test_vimscript.vim,
16480 src/testdir/test_vim9_disassemble.vim,
16481 src/testdir/test_vim9_script.vim
16482
16483Patch 8.2.2659 (after 8.2.2658)
16484Problem: Eval test fails because for loop on string works.
16485Solution: Check looping over function reference fails.
16486Files: src/testdir/test_eval_stuff.vim
16487
16488Patch 8.2.2660
16489Problem: Vim9: no error for declaration with trailing text.
16490Solution: Give an error. (closes #8014)
16491Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
16492
16493Patch 8.2.2661
16494Problem: Leaking memory when looping over a string.
16495Solution: Free the memory.
16496Files: src/eval.c
16497
16498Patch 8.2.2662
16499Problem: There is no way to avoid some escape sequences.
16500Solution: Suppress escape sequences when the --not-a-term argument is used.
16501 (Gary Johnson)
16502Files: src/main.c, src/os_unix.c, src/testdir/test_startup.vim
16503
16504Patch 8.2.2663
16505Problem: Vim9: leaking memory when inline function has an error.
16506Solution: Free the partially allocated function.
16507Files: src/userfunc.c
16508
16509Patch 8.2.2664
16510Problem: Vim9: not enough function arguments checked for string.
16511Solution: Check in balloon functions. Refactor function arguments.
16512Files: src/typval.c, src/proto/typval.pro, src/filepath.c,
16513 src/evalfunc.c, src/mbyte.c, src/testdir/test_vim9_builtin.vim
16514
16515Patch 8.2.2665 (after 8.2.2664)
16516Problem: Test failures.
16517Solution: Check more specific feature. Add missing change.
16518Files: src/testdir/test_vim9_builtin.vim, src/evalbuffer.c
16519
16520Patch 8.2.2666
16521Problem: Vim9: not enough function arguments checked for string.
16522Solution: Check in ch_logfile(), char2nr() and others.
16523Files: src/channel.c, src/evalfunc.c, src/filepath.c, src/eval.c,
16524 src/testdir/test_vim9_builtin.vim
16525
16526Patch 8.2.2667
16527Problem: prop_find() cannot find item matching both id and type.
16528Solution: Add the "both" argument. (Naohiro Ono, closes #8019)
16529Files: runtime/doc/textprop.txt, src/testdir/test_textprop.vim,
16530 src/textprop.c
16531
16532Patch 8.2.2668
16533Problem: Vim9: omitting "call" for "confirm()" does not give an error.
16534Solution: Do not recognize a modifier followed by "(".
16535Files: src/ex_docmd.c, src/testdir/test_vim9_builtin.vim
16536
16537Patch 8.2.2669
16538Problem: Command line completion does not work after "vim9".
16539Solution: Include the "9". (Naohiro Ono, closes #8025)
16540Files: src/cmdexpand.c, src/ex_docmd.c, src/testdir/test_cmdline.vim
16541
16542Patch 8.2.2670
16543Problem: Vim9: error for append(0, text).
16544Solution: Check for negative number. (closes #8022)
16545Files: src/typval.c, src/testdir/test_vim9_builtin.vim
16546
16547Patch 8.2.2671 (after 8.2.2670)
16548Problem: Error for line number in legacy script.
16549Solution: Check for number type.
16550Files: src/typval.c
16551
16552Patch 8.2.2672
16553Problem: Vim9: cannot use :lockvar and :unlockvar in compiled script.
16554Solution: Implement locking support.
16555Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_cmd.vim
16556
16557Patch 8.2.2673
16558Problem: Vim9: script-local funcref can have lower case name.
16559Solution: Require an upper case name.
16560Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
16561
16562Patch 8.2.2674
16563Problem: Motif: cancelling the font dialog resets the font.
16564Solution: When no font is selected to not change the font. (closes #7825,
16565 closes #8035) Fix compiler warnings.
16566Files: src/gui_x11.c, src/gui_motif.c
16567
16568Patch 8.2.2675
16569Problem: Directory change in a terminal window shell is not followed.
16570Solution: Add the 'autoshelldir' option. (closes #6290)
16571Files: runtime/doc/options.txt, runtime/doc/quickref.txt,
16572 runtime/optwin.vim, src/charset.c, src/feature.h, src/option.h,
16573 src/optiondefs.h, src/terminal.c, src/testdir/check.vim,
16574 src/testdir/test_terminal3.vim
16575
16576Patch 8.2.2676
16577Problem: Missing error message.
16578Solution: Add new error message.
16579Files: src/errors.h
16580
16581Patch 8.2.2677
16582Problem: Vim9: cannot use only some of the default arguments.
16583Solution: Use v:none to use default argument value. Remove
16584 uf_def_arg_idx[], use JUMP_IF_ARG_SET. (closes #6504)
16585Files: runtime/doc/vim9.txt, src/vim9compile.c, src/vim9execute.c,
16586 src/userfunc.c, src/structs.h, src/vim9.h,
16587 src/testdir/test_vim9_disassemble.vim,
16588 src/testdir/test_vim9_func.vim
16589
16590Patch 8.2.2678
16591Problem: Test for 'autoshelldir' does not reset the option.
16592Solution: Reset the option after testing.
16593Files: src/testdir/test_terminal3.vim
16594
16595Patch 8.2.2679
16596Problem: Winbar drawn over status line for non-current window with winbar
16597 if frame is zero height. (Leonid V. Fedorenchik)
16598Solution: Do not draw the window if the frame height is zero. (closes #8037)
16599Files: src/drawscreen.c, src/testdir/test_winbar.vim,
16600 src/testdir/dumps/Test_winbar_not_visible.dump
16601
16602Patch 8.2.2680
16603Problem: Vim9: problem defining a script variable from legacy function.
16604Solution: Check if the script is Vim9, not the current syntax.
16605 (closes #8032)
16606Files: src/vim9script.c, src/proto/vim9script.pro, src/evalvars.c,
16607 src/testdir/test_vim9_script.vim
16608
16609Patch 8.2.2681
16610Problem: Vim9: test fails for redeclaring script variable.
16611Solution: It's OK to assign to an existing script variable in legacy.
16612Files: src/evalvars.c
16613
16614Patch 8.2.2682
16615Problem: Vim9: cannot find Name.Func from "import * as Name". (Alexander
16616 Goussas)
16617Solution: When no variable found try finding a function. (closes #8045)
16618 Check that the function was exported.
16619Files: src/vim9compile.c, src/vim9script.c,
16620 src/testdir/test_vim9_script.vim
16621
16622Patch 8.2.2683
16623Problem: Build failure without the +eval feature.
16624Solution: Add #ifdef.
16625Files: src/vim9script.c
16626
16627Patch 8.2.2684
16628Problem: Not enough folding code is tested.
16629Solution: Add more test cases. (Yegappan Lakshmanan, closes #8046)
16630Files: src/testdir/test_fold.vim, src/testdir/test_mksession.vim,
16631 src/testdir/test_source.vim
16632
16633Patch 8.2.2685 (after 8.2.2152)
16634Problem: Custom statusline not drawn correctly with WinBar.
16635Solution: Also adjust the column for the custom status line. (Yee Cheng
16636 Chin, closes #8047)
16637Files: src/drawscreen.c, src/proto/drawscreen.pro, src/screen.c,
16638 src/testdir/dumps/Test_winbar_not_visible_custom_statusline.dump,
16639 src/testdir/test_winbar.vim
16640
16641Patch 8.2.2686
16642Problem: Status line is not updated when going to cmdline mode.
16643Solution: Redraw status lines if 'statusline' is set and going to status
16644 line mode. (based on patch from Justin M. Keyes et al.,
16645 closes #8044)
16646Files: src/ex_getln.c, src/testdir/test_statusline.vim,
16647 src/testdir/dumps/Test_statusline_mode_1.dump,
16648 src/testdir/dumps/Test_statusline_mode_2.dump
16649
16650Patch 8.2.2687
16651Problem: Vim9: cannot use "const" for global variable in :def function.
16652Solution: Do allow using :const for a global variable. (closes #8030)
16653Files: src/vim9compile.c, src/vim9execute.c,
16654 src/testdir/test_vim9_assign.vim
16655
16656Patch 8.2.2688
16657Problem: Vim9: crash when using s: for script variable.
16658Solution: Pass the end pointer. (closes #8045)
16659Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
16660
16661Patch 8.2.2689
16662Problem: Tiny build fails.
16663Solution: Add #ifdef around use of p_stl.
16664Files: src/ex_getln.c
16665
16666Patch 8.2.2690
16667Problem: PowerShell files are not recognized.
16668Solution: Recognize several PowerShell extension. (Heath Stewart,
16669 closes #8051)
16670Files: runtime/filetype.vim, src/testdir/test_filetype.vim
16671
16672Patch 8.2.2691
16673Problem: Autoconf may mess up compiler flags.
16674Solution: Handle removing FORTIFY_SOURCE a bit better. (Vladimir Lomov,
16675 closes #8049)
16676Files: src/configure.ac, src/auto/configure
16677
16678Patch 8.2.2692
16679Problem: Vim9: locked script variable can be changed.
16680Solution: Check for locked value. (closes #8031)
16681Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim
16682
16683Patch 8.2.2693
16684Problem: Vim9: locked script variable can be changed.
16685Solution: Check legacy script variable for being locked. (issue #8031)
16686Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim
16687
16688Patch 8.2.2694
16689Problem: When 'matchpairs' is empty every character beeps. (Marco Hinz)
16690Solution: Bail out when no character in 'matchpairs' was found.
16691 (closes #8053) Add assert_nobeep().
16692Files: runtime/doc/testing.txt, runtime/doc/eval.txt, src/search.c,
16693 src/testing.c, src/proto/testing.pro, src/evalfunc.c,
16694 src/testdir/test_textformat.vim
16695
16696Patch 8.2.2695
16697Problem: Cursor position reset with nested autocommands.
16698Solution: Only check and reset line numbers for not nested autocommands.
16699 (closes #5820)
16700Files: src/autocmd.c, src/testdir/test_terminal.vim
16701
16702Patch 8.2.2696
16703Problem: Lua test fails with Lua 5.4.3 and later.
16704Solution: Check for different error messages. (Yegappan Lakshmanan,
16705 closes #8050)
16706Files: src/testdir/test_lua.vim
16707
16708Patch 8.2.2697
16709Problem: Function list test fails.
16710Solution: Add missing function. (Yegappan Lakshmanan)
16711Files: runtime/doc/usr_41.txt
16712
16713Patch 8.2.2698 (after 8.2.2696)
16714Problem: Lua test fails on MS-Windows.
16715Solution: Fall back to old method if "lua -v" doesn't work.
16716Files: src/testdir/test_lua.vim
16717
16718Patch 8.2.2699
16719Problem: Lua test fails.
16720Solution: Fix condition. (Yegappan Lakshmanan, closes #8060)
16721Files: src/testdir/test_lua.vim
16722
16723Patch 8.2.2700
16724Problem: Nested autocmd test fails sometimes.
16725Solution: Wait for the job to finish.
16726Files: src/testdir/test_terminal.vim
16727
16728Patch 8.2.2701
16729Problem: Order of removing FORTIFY_SOURCE is wrong.
16730Solution: Use the more specific pattern first.
16731Files: src/configure.ac, src/auto/configure
16732
16733Patch 8.2.2702
16734Problem: Compiler completion test fails when more scripts are added.
16735Solution: Add a more generic pattern.
16736Files: src/testdir/test_compiler.vim
16737
16738Patch 8.2.2703
16739Problem: Vim9: memory leak when failing on locked variable.
16740Solution: Free the memory.
16741Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim
16742
16743Patch 8.2.2704
16744Problem: Adding a lot of completions can be a bit slow.
16745Solution: Use fast_breakcheck() instead of ui_breakcheck() when adding a
16746 list of completions. (Ben Jackson, closes #8061)
16747Files: src/insexpand.c
16748
16749Patch 8.2.2705
16750Problem: Vim9: misleading reported line number for wrong type.
16751Solution: Remember and use the line number at the start. (closes #8059)
16752Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
16753
16754Patch 8.2.2706
16755Problem: Vim9: wrong line number reported for boolean operator.
16756Solution: Use the line number before skipping over line break.
16757 (closes #8058)
16758Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
16759
16760Patch 8.2.2707 (after 8.2.2704)
16761Problem: Adding a lot of completions can still be a bit slow.
16762Solution: Add the check for CP_FAST. (Ben Jackson)
16763Files: src/insexpand.c
16764
16765Patch 8.2.2708
16766Problem: Test sometimes fails waiting for shell in terminal.
16767Solution: Use WaitForAssert() so we can see the actual job status. Use
16768 Run_shell_in_terminal().
16769Files: src/testdir/term_util.vim, src/testdir/test_mksession.vim
16770
16771Patch 8.2.2709
16772Problem: The GTK GUI has a gap next to the scrollbar.
16773Solution: Calculate the scrollbar padding for GTK. (closes #8027)
16774Files: src/gui_gtk.c
16775
16776Patch 8.2.2710
16777Problem: Vim9: not all tests cover script and :def function.
16778Solution: Run tests in both if possible. Fix differences.
16779Files: src/eval.c, src/vim9compile.c, src/vim9execute.c,
16780 src/testdir/vim9.vim, src/testdir/test_vim9_expr.vim
16781
16782Patch 8.2.2711
16783Problem: "gj" in a closed fold does not move out of the fold. (Marco Hinz)
16784Solution: Add a check for being in a closed fold. (closes #8062)
16785Files: src/normal.c, src/testdir/test_fold.vim
16786
16787Patch 8.2.2712
16788Problem: Memory leak when adding to a blob fails.
16789Solution: Clear the second typval before returning.
16790Files: src/eval.c
16791
16792Patch 8.2.2713
16793Problem: Folding code not sufficiently tested.
16794Solution: Add a few more test cases. (Yegappan Lakshmanan, closes #8064)
16795Files: src/testdir/test_fold.vim
16796
16797Patch 8.2.2714
16798Problem: Filetype pattern ending in star is too far up.
16799Solution: Move down to where patterns ending in star belong. (closes #8065)
16800Files: runtime/filetype.vim, src/testdir/test_filetype.vim
16801
16802Patch 8.2.2715
16803Problem: Vim9: tests fail without the channel feature. (Dominique Pellé)
16804Solution: Check for the channel feature. (closes #8063)
16805Files: src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim
16806
16807Patch 8.2.2716
16808Problem: The equivalent class regexp is missing some characters.
16809Solution: Update the list of equivalent characters. (Dominique Pellé,
16810 closes #8029)
16811Files: src/regexp_bt.c, src/regexp_nfa.c,
16812 src/testdir/test_regexp_utf8.vim
16813
16814Patch 8.2.2717
16815Problem: GTK menu items don't show a tooltip.
16816Solution: Add a callback to show the tooltip. (Leonid V. Fedorenchik,
16817 closes #8067, closes #7810)
16818Files: src/gui_gtk.c
16819
16820Patch 8.2.2718
16821Problem: Vim9: no explicit test for using a global function without the g:
16822 prefix.
16823Solution: Add a test case.
16824Files: src/testdir/test_vim9_func.vim
16825
16826Patch 8.2.2719
16827Problem: Vim9: appending to dict item doesn't work in a :def function.
16828Solution: Implement assignment with operator on indexed item.
16829Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
16830
16831Patch 8.2.2720
16832Problem: GTK menu tooltip moves the cursor.
16833Solution: Position the cursor after displaying the tooltip. Do not show the
16834 tooltip when editing the command line.
16835Files: src/gui_gtk.c
16836
16837Patch 8.2.2721
16838Problem: Vim9: cannot have a linebreak inside a lambda.
16839Solution: Compile the expression before the arguments.
16840Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
16841
16842Patch 8.2.2722
16843Problem: Vim9: crash when using LHS with double index.
16844Solution: Handle lhs_dest which is "dest_expr". (closes #8068)
16845 Fix confusing error message for missing dict item.
16846Files: src/vim9compile.c, src/eval.c, src/testdir/test_vim9_assign.vim
16847
16848Patch 8.2.2723 (after 8.2.2722)
16849Problem: Assignment test fails.
16850Solution: Adjust error number.
16851Files: src/testdir/test_let.vim
16852
16853Patch 8.2.2724 (after 8.2.2722)
16854Problem: Vim9: concatenating to list in dict not tested.
16855Solution: Add a test. (issue #8068)
16856Files: src/testdir/test_vim9_assign.vim
16857
16858Patch 8.2.2725
16859Problem: Vim9: message about compiling is wrong when using try/catch.
16860Solution: Store the compiling flag with the message. (closes #8071)
16861Files: src/ex_docmd.c, src/ex_eval.c, src/structs.h,
16862 src/testdir/test_vim9_func.vim
16863
16864Patch 8.2.2726
16865Problem: Confusing error message with white space before comma in the
16866 arguments of a function declaration.
16867Solution: Give a specific error message. (closes #2235)
16868Files: src/userfunc.c, src/testdir/test_vim9_func.vim
16869
16870Patch 8.2.2727 (after 8.2.2726)
16871Problem: Function test fails.
16872Solution: Adjust expected error number.
16873Files: src/testdir/test_user_func.vim
16874
16875Patch 8.2.2728
16876Problem: Special key names don't work if 'isident' is cleared.
16877Solution: Add vim_isNormalIDc() and use it for special key names.
16878 (closes #2389)
16879Files: src/charset.c, src/proto/charset.pro, src/misc2.c,
16880 src/testdir/test_mapping.vim
16881
16882Patch 8.2.2729
16883Problem: Vim9: wrong error message for referring to legacy script variable.
16884Solution: Do allow referring to a variable in legacy script without "s:" if
16885 it exists at compile time. (closes #8076)
16886Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
16887
16888Patch 8.2.2730
16889Problem: Coverity complains about not restoring character.
16890Solution: Also restore the character in case of an error.
16891Files: src/vim9compile.c
16892
16893Patch 8.2.2731
16894Problem: Mac: SF symbols are not displayed properly.
16895Solution: Add custom range to list of double-width characters. (Yee Cheng
16896 Chin, closes #8077)
16897Files: src/mbyte.c
16898
16899Patch 8.2.2732
16900Problem: Prompt for s///c in Ex mode can be wrong.
16901Solution: Position the cursor before showing the prompt. (closes #8073)
16902Files: src/ex_cmds.c, src/testdir/test_ex_mode.vim
16903
16904Patch 8.2.2733
16905Problem: Detecting Lua version is not reliable.
16906Solution: Add "vim.lua_version". (Ozaki Kiichi, closes #8080)
16907Files: runtime/doc/if_lua.txt, ci/if_ver-1.vim, src/if_lua.c,
16908 src/testdir/test_lua.vim
16909
16910Patch 8.2.2734
16911Problem: Vim9: cannot use legacy script-local var from :def function.
16912Solution: Do not insist on using "s:" prefix. (closes #8076)
16913Files: src/vim9compile.c, src/proto/vim9compile.pro,
16914 src/testdir/test_vim9_expr.vim
16915
16916Patch 8.2.2735
16917Problem: Vim9: function reference found with prefix, not without.
16918Solution: Also find function reference without prefix.
16919Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
16920
16921Patch 8.2.2736
16922Problem: Vim9: for loop over string is a bit slow.
16923Solution: Avoid using strlen().
16924Files: src/vim9execute.c
16925
16926Patch 8.2.2737
16927Problem: Status line not updated when local 'statusline' option set.
16928Solution: Check the 'statusline' option of each window.
16929Files: src/ex_getln.c, src/testdir/test_statusline.vim,
16930 src/testdir/dumps/Test_statusline_mode_1.dump,
16931 src/testdir/dumps/Test_statusline_mode_2.dump
16932
16933Patch 8.2.2738
16934Problem: Extending a list with itself can give wrong result.
16935Solution: Remember the item before where the insertion happens and skip to
16936 after the already inserted items. (closes #1112)
16937Files: src/list.c, src/testdir/test_listdict.vim
16938
16939Patch 8.2.2739
16940Problem: Vim9: a lambda accepts too many arguments at the script level.
16941Solution: Do not set uf_varargs in Vim9 script.
16942Files: src/userfunc.c, src/testdir/test_vim9_func.vim,
16943 src/testdir/test_vim9_script.vim
16944
16945Patch 8.2.2740
16946Problem: Vim9: lambda with varargs doesn't work.
16947Solution: Make "...name" work. Require type to be a list.
16948Files: src/userfunc.c, src/vim9compile.c, src/vim9execute.c,
16949 src/errors.h, src/testdir/test_vim9_func.vim,
16950 src/testdir/test_vim9_script.vim
16951
16952Patch 8.2.2741
16953Problem: Vim9: Partial call does not check right arguments.
16954Solution: Adjust the offset for whether the partial is before or after the
16955 arguments. (closes #8091)
16956Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
16957
16958Patch 8.2.2742
16959Problem: Vim9: when compiling a function fails it is cleared.
16960Solution: Keep the function lines, prevent execution with a different
16961 status. (closes #8093)
16962Files: src/vim9compile.c, src/structs.h, src/vim9execute.c,
16963 src/testdir/test_vim9_func.vim
16964
16965Patch 8.2.2743
16966Problem: Vim9: function state stuck when compiling with ":silent!".
16967Solution: Check for uf_def_status to be UF_COMPILING.
16968Files: src/vim9compile.c, src/message.c, src/globals.h,
16969 src/testdir/test_vim9_func.vim
16970
16971Patch 8.2.2744
16972Problem: Vim9: no way to explicitly ignore an argument.
16973Solution: Use the underscore as the name for an ignored argument.
16974Files: runtime/doc/vim9.txt, src/vim9compile.c, src/eval.c,
16975 src/evalvars.c, src/errors.h, src/testdir/test_vim9_func.vim
16976
16977Patch 8.2.2745 (after 8.2.2744)
16978Problem: Vim9: missing part of the argument change.
16979Solution: Add missing changes.
16980Files: src/userfunc.c
16981
16982Patch 8.2.2746 (after 8.2.2745)
16983Problem: Check for duplicate arguments does not work.
16984Solution: Correct condition.
16985Files: src/userfunc.c
16986
16987Patch 8.2.2747
16988Problem: Vim9: not always an error for too many function arguments.
16989Solution: Check for getting too many arguments.
16990Files: src/vim9execute.c, src/testdir/test_vim9_func.vim,
16991 src/testdir/test_vim9_builtin.vim
16992
16993Patch 8.2.2748
16994Problem: Vim9: memory leak when calling :def function fails.
16995Solution: Jump to failed_early instead of returning.
16996Files: src/vim9execute.c
16997
16998Patch 8.2.2749
16999Problem: Vim9: test for error can be a bit flaky.
17000Solution: Increase the wait time a bit.
17001Files: src/testdir/test_vim9_script.vim
17002
17003Patch 8.2.2750
17004Problem: Vim9: error for using underscore in nested function.
17005Solution: Do not consider "_" already defined. (closes #8096)
17006Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
17007
17008Patch 8.2.2751
17009Problem: Coverity warns for using NULL pointer.
17010Solution: Check for NULL in calling function.
17011Files: src/userfunc.c
17012
17013Patch 8.2.2752
17014problem: coverity reports unreachable code.
17015Solution: Remove check for positive index.
17016Files: src/typval.c
17017
17018Patch 8.2.2753
17019Problem: Vim9: cannot ignore an item in assignment unpack.
17020Solution: Allow using an underscore.
17021Files: runtime/doc/vim9.txt, src/vim.h, src/evalvars.c, src/eval.c,
17022 src/vim9compile.c, src/testdir/test_vim9_assign.vim
17023
17024Patch 8.2.2754
17025Problem: :sleep! does not always hide the cursor.
17026Solution: Add the cursor_is_asleep flag. (Jeremy Lerner, closes #8097,
17027 closes #7998)
17028Files: src/drawscreen.c, src/ex_docmd.c, src/gui.c, src/proto/term.pro,
17029 src/term.c
17030
17031Patch 8.2.2755
17032Problem: Vim9: no error for using a number in a condition.
17033Solution: Also use ISN_COND2BOOL if the type is t_number_bool.
17034 (closes #7644)
17035Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim,
17036 src/testdir/test_vim9_disassemble.vim
17037
17038Patch 8.2.2756
17039Problem: Vim9: blob index and slice not implemented yet.
17040Solution: Implement blob index and slice.
17041Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/eval.c,
17042 src/blob.c, src/proto/blob.pro, src/testdir/test_vim9_expr.vim
17043
17044Patch 8.2.2757
17045Problem: Vim9: blob tests for legacy and Vim9 script are separate.
17046Solution: Add CheckLegacyAndVim9Success(). Make blob index assign work.
17047Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/errors.h,
17048 src/blob.c, src/proto/blob.pro, src/eval.c, src/ex_docmd.c,
17049 src/testdir/vim9.vim, src/testdir/test_blob.vim
17050
17051Patch 8.2.2758
17052Problem: Vim9: wrong line number for autoload function with wrong name.
17053Solution: Set and restore SOURCING_LNUM. (closes #8100)
17054Files: src/userfunc.c, src/testdir/test_vim9_func.vim
17055
17056Patch 8.2.2759
17057Problem: Vim9: for loop infers type of loop variable.
17058Solution: Do not get the member type. (closes #8102)
17059Files: src/vim9type.c, src/proto/vim9type.pro, src/list.c,
17060 src/vim9script.c, src/proto/vim9script.pro, src/vim.h,
17061 src/testdir/test_vim9_script.vim
17062
17063Patch 8.2.2760
17064Problem: Vim9: no error for changing a for loop variable.
17065Solution: Make the loop variable read-only. (issue #8102)
17066Files: src/eval.c, src/evalvars.c, src/vim9compile.c, src/vim.h,
17067 src/testdir/test_vim9_script.vim
17068
17069Patch 8.2.2761
17070Problem: Using "syn include" does not work properly.
17071Solution: Don't add current_syn_inc_tag to topgrp. (Jaehwang Jerry Jung,
17072 closes #8104)
17073Files: src/syntax.c, src/testdir/test_syntax.vim
17074
17075Patch 8.2.2762
17076Problem: Vim9: function line truncated when compiling.
17077Solution: Copy the line before processing it. (closes #8101)
17078Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
17079
17080Patch 8.2.2763
17081Problem: Vim9: cannot use type in for loop unpack at script level.
17082Solution: Advance over the type name.
17083Files: src/evalvars.c, src/testdir/test_vim9_script.vim
17084
17085Patch 8.2.2764
17086Problem: Memory leak when default function argument is allocated.
17087Solution: Free the expression result.
17088Files: src/userfunc.c, src/testdir/test_functions.vim
17089
17090Patch 8.2.2765
17091Problem: Vim9: not all blob operations work.
17092Solution: Run more tests also with Vim9 script and :def functions. Fix what
17093 doesn't work.
17094Files: src/eval.c, src/blob.c, src/proto/blob.pro, src/vim9execute.c,
17095 src/errors.h, src/testdir/vim9.vim, src/testdir/test_blob.vim
17096
17097Patch 8.2.2766 (after 8.2.2765)
17098Problem: Test failure.
17099Solution: Add change to Vim9 compilation error message.
17100Files: src/vim9compile.c
17101
17102Patch 8.2.2767 (after 8.2.2765)
17103Problem: Compiler warning for unused argument.
17104Solution: Remove the argument.
17105Files: src/blob.c, src/proto/blob.pro, src/vim9execute.c, src/eval.c
17106
17107Patch 8.2.2768
17108Problem: Vim9: memory leak with blob range error.
17109Solution: Jump to end instead of returning.
17110Files: src/vim9compile.c
17111
17112Patch 8.2.2769
17113Problem: Modula-3 config files are not recognized.
17114Solution: Add filetype patterns. (Doug Kearns)
17115Files: runtime/filetype.vim, src/testdir/test_filetype.vim
17116
17117Patch 8.2.2770
17118Problem: Vim9: type of loop variable is not used.
17119Solution: Parse and check the variable type. (closes #8107)
17120Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
17121
17122Patch 8.2.2771
17123Problem: Vim9: assignment not recognized if declaration was skipped.
17124Solution: Also recognized an assignment if the variable does not exist.
17125 (closes #8108)
17126Files: src/ex_docmd.c, src/testdir/test_vim9_assign.vim
17127
17128Patch 8.2.2772
17129Problem: Problems when restoring 'runtimepath' from a session file.
17130Solution: Add the "skiprtp" item in 'sessionoptions'.
17131Files: runtime/doc/options.txt, src/session.c, src/optionstr.c,
17132 src/option.h, src/vim.h, src/option.c,
17133 src/testdir/test_mksession.vim
17134
17135Patch 8.2.2773
17136Problem: PSL filetype not recognized.
17137Solution: Add a filetype pattern. (Daniel Kho, closes #8117)
17138Files: runtime/filetype.vim, src/testdir/test_filetype.vim
17139
17140Patch 8.2.2774
17141Problem: Vim9: cannot import an existing name even when using "as".
17142Solution: Do not check for an existing name when using "as". (closes #8113)
17143Files: src/vim9script.c, src/testdir/test_vim9_script.vim
17144
17145Patch 8.2.2775
17146Problem: Vim9: wrong line number used for some commands.
17147Solution: For :exe, :echo and the like use the line number of the start of
17148 the command. When calling a function set the line number in the
17149 script context.
17150Files: src/vim9compile.c, src/vim9execute.c, src/structs.h,
17151 src/testdir/test_vim9_script.vim
17152
17153Patch 8.2.2776
17154Problem: :mksession uses current value of 'splitbelow' and 'splitright'
17155 even though "options" is not in 'sessionoptions'. (Maxim Kim)
17156Solution: Save and restore the values, instead of setting to the current
17157 value. (closes #8119)
17158Files: src/session.c, src/testdir/test_mksession.vim
17159
17160Patch 8.2.2777
17161Problem: Vim9: blob operations not tested in all ways.
17162Solution: Run tests with CheckLegacyAndVim9Success(). Make blob assign with
17163 index work.
17164Files: src/vim9compile.c, src/vim9execute.c, src/errors.h, src/blob.c,
17165 src/proto/blob.pro, src/testdir/test_blob.vim,
17166 src/testdir/test_vim9_disassemble.vim
17167
17168Patch 8.2.2778
17169Problem: Problem restoring 'packpath' in session.
17170Solution: Let "skiprtp" also apply to 'packpath'.
17171Files: runtime/doc/options.txt, src/option.c,
17172 src/testdir/test_mksession.vim
17173
17174Patch 8.2.2779
17175Problem: Memory access error in remove() for blob.
17176Solution: Adjust length for memmove().
17177Files: src/blob.c
17178
17179Patch 8.2.2780
17180Problem: Vim9: for loop over blob doesn't work.
17181Solution: Make it work.
17182Files: src/vim9compile.c, src/vim9execute.c, src/testdir/test_blob.vim
17183
17184Patch 8.2.2781
17185Problem: Add() silently skips when adding to null list or blob.
17186Solution: Give an error in Vim9 script. Allocate blob when it is NULL like
17187 with list and dict.
17188Files: src/list.c, src/evalvars.c, src/vim9execute.c,
17189 src/testdir/test_blob.vim, src/testdir/test_vim9_builtin.vim
17190
17191Patch 8.2.2782
17192Problem: Vim9: blob operations not fully tested.
17193Solution: Make more blob tests run in Vim9 script. Fix filter(). Make
17194 insert() give an error for a null blob, like add().
17195Files: src/list.c, src/testdir/test_blob.vim,
17196 src/testdir/test_vim9_builtin.vim
17197
17198Patch 8.2.2783
17199Problem: Duplicate code for setting byte in blob, blob test may fail.
17200Solution: Call blob_set_append(). Test sort failure with "N".
17201Files: src/eval.c, src/testdir/test_blob.vim
17202
17203Patch 8.2.2784
17204Problem: Vim9: cannot use \=expr in :substitute.
17205Solution: Compile the expression into instructions and execute them when
17206 invoked.
17207Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
17208 src/proto/vim9execute.pro, src/regexp.c, src/ex_cmds.c,
17209 src/proto/ex_cmds.pro, src/globals.h,
17210 src/testdir/test_vim9_cmd.vim,
17211 src/testdir/test_vim9_disassemble.vim
17212
17213Patch 8.2.2785
17214Problem: Vim9: cannot redirect to local variable.
17215Solution: Compile :redir when redirecting to a variable.
17216Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/errors.h,
17217 src/evalvars.c, src/proto/evalvars.pro,
17218 src/testdir/test_vim9_cmd.vim,
17219 src/testdir/test_vim9_disassemble.vim
17220
17221Patch 8.2.2786
17222Problem: Vim9: memory leak when using :s with expression.
17223Solution: Clean up the instruction list.
17224Files: src/vim9compile.c
17225
17226Patch 8.2.2787
17227Problem: MS-Windows: crash when using :echoconsole.
17228Solution: Do not write a NUL when it's already there.
17229Files: src/os_win32.c
17230
17231Patch 8.2.2788
17232Problem: Raku is now the only name what once was called perl6.
17233Solution: Adjust the filetype detection. (closes #8120)
17234Files: runtime/filetype.vim, src/testdir/test_filetype.vim
17235
17236Patch 8.2.2789
17237Problem: Vim9: using \=expr in :substitute does not handle jumps.
17238Solution: Start with instruction count zero. (closes #8128)
17239Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
17240
17241Patch 8.2.2790 (after 8.2.2788)
17242Problem: filetype test fails
17243Solution: Also update the scripts detection
17244Files: runtime/scripts.vim
17245
17246Patch 8.2.2791
17247Problem: Vim9: memory leak when using \=expr in :substitute.
17248Solution: Do not allocate a new instruction list.
17249Files: src/vim9compile.c
17250
17251Patch 8.2.2792
17252Problem: Vim9: :disas shows instructions for default args but no text.
17253Solution: Show the expression test above the default argument instructions.
17254 (closes #8129)
17255Files: src/vim9execute.c, src/testdir/test_vim9_disassemble.vim
17256
17257Patch 8.2.2793
17258Problem: MS-Windows: string literals are writable with MSVC.
17259Solution: Add the /GF compiler flag. Make mch_write() safer. (Ken Takata,
17260 closes #8133)
17261Files: src/Make_mvc.mak, src/os_win32.c
17262
17263Patch 8.2.2794
17264Problem: Linux users don't know how to get ncurses.
17265Solution: Add the name of the package. (closes #8132)
17266Files: src/configure.ac, src/auto/configure
17267
17268Patch 8.2.2795
17269Problem: Coverity warns for not using return value.
17270Solution: Check the return value of compiling the substitute expression.
17271Files: src/vim9compile.c
17272
17273Patch 8.2.2796
17274Problem: Vim9: redir to variable does not accept an index.
17275Solution: Make the index work.
17276Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
17277
17278Patch 8.2.2797
17279Problem: Search highlight disappears in the Visual area.
17280Solution: Combine the search attributes. (closes #8134)
17281Files: src/drawline.c, src/testdir/test_search.vim,
17282 src/testdir/dumps/Test_hlsearch_visual_1.dump
17283
17284Patch 8.2.2798
17285Problem: Vim9: redir to variable with append does not accept an index.
17286Solution: Make the appending work.
17287Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
17288
17289Patch 8.2.2799
17290Problem: Vim9: type casts don't fully work at the script level.
17291Solution: Implement the missing piece.
17292Files: src/eval.c, src/testdir/test_vim9_expr.vim
17293
17294Patch 8.2.2800
17295Problem: After a timer displays text a hit-enter prompt is given.
17296Solution: Reset msg_didany and need_wait_return. (closes #8136)
17297Files: src/drawscreen.c, src/testdir/test_timers.vim
17298
17299Patch 8.2.2801
17300Problem: Free Pascal makefile not recognized.
17301Solution: Add the fpcmake filetype. (Doug Kearns)
17302Files: runtime/filetype.vim, src/testdir/test_filetype.vim
17303
17304Patch 8.2.2802
17305Problem: Vim9: illegal memory access.
17306Solution: Check for comment before checking for white space. (closes #8142)
17307Files: src/eval.c, src/testdir/test_vim9_func.vim
17308
17309Patch 8.2.2803
17310Problem: Flicker when the popup menu has an info popup.
17311Solution: Avoid drawing over the popup when it's going to be redrawn in the
17312 same position. (closes #8131) Also avoid redrawing the scrollbar.
17313Files: src/popupmenu.c, src/proto/popupmenu.pro, src/drawscreen.c,
17314 src/globals.h
17315
17316Patch 8.2.2804
17317Problem: Setting buffer local mapping with mapset() changes global mapping.
17318Solution: Only set the local mapping. (closes #8143)
17319Files: src/map.c, src/testdir/test_maparg.vim
17320
17321Patch 8.2.2805
17322Problem: Vim9: cannot use legacy syntax in Vim9 script.
17323Solution: Add the :legacy command.
17324Files: src/ex_cmds.h, runtime/doc/vim9.txt, runtime/doc/index.txt
17325 src/ex_cmdidxs.h, src/ex_docmd.c, src/structs.h, src/vim9script.c,
17326 src/vim9compile.c, src/testdir/test_vim9_func.vim,
17327 src/testdir/test_vim9_assign.vim
17328
17329Patch 8.2.2806
17330Problem: Vim9: using "++nr" as a command might not work.
17331Solution: Do not recognize "++" and "--" in a following line as addition or
17332 subtraction.
17333Files: src/vim9compile.c, src/ex_docmd.c, src/ex_cmds.h, src/ex_cmdidxs.h,
17334 src/vim9script.c, src/proto/vim9script.pro, src/eval.c,
17335 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_expr.vim
17336
17337Patch 8.2.2807
17338Problem: Build fails with tiny features.
17339Solution: Use a dummy function for ex_incdec().
17340Files: src/ex_docmd.c
17341
17342Patch 8.2.2808
17343Problem: Vim9: increment and decrement not sufficiently tested.
17344Solution: Add assertions.
17345Files: src/testdir/test_vim9_assign.vim
17346
17347Patch 8.2.2809
17348Problem: Vim9: :def function compilation fails when using :legacy.
17349Solution: Reset CMOD_LEGACY when compiling a function. (closes #8137)
17350Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
17351
17352Patch 8.2.2810
17353Problem: Vim9: crash when calling a function in a substitute expression.
17354Solution: Set the instructions back to the substitute expression
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017355 instructions. (closes #8148)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017356Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
17357
17358Patch 8.2.2811
17359Problem: Vim9: error for missing white space doesn't say where it is
17360 missing
17361Solution: Mention the command. (closes #8149)
17362Files: src/ex_docmd.c, src/errors.h, src/testdir/test_vim9_cmd.vim
17363
17364Patch 8.2.2812
17365Problem: Vim9: still crash when using substitute expression.
17366Solution: Put the instruction list in the stack frame. (closes #8154)
17367Files: src/vim9execute.c, src/vim9.h, src/testdir/test_vim9_cmd.vim
17368
17369Patch 8.2.2813
17370Problem: Cannot grep using fuzzy matching.
17371Solution: Add the "f" flag to :vimgrep. (Yegappan Lakshmanan, closes #8152)
17372Files: runtime/doc/quickfix.txt, src/ex_cmds.c, src/proto/search.pro,
17373 src/quickfix.c, src/search.c, src/vim.h,
17374 src/testdir/test_quickfix.vim
17375
17376Patch 8.2.2814 (after 8.2.2812)
17377Problem: Vim9: unused variable. (John Marriott)
17378Solution: Adjust #ifdef.
17379Files: src/vim9execute.c
17380
17381Patch 8.2.2815
17382Problem: Status line flickers when redrawing popup menu info.
17383Solution: Do not redraw the status line when the focus is in the popup
17384 window. (issue #8144)
17385Files: src/popupmenu.c
17386
17387Patch 8.2.2816
17388Problem: Vim9: comment below expression in lambda causes problems.
17389Solution: Use a single space for empty and comment lines. (closes #8156)
17390Files: src/eval.c, src/testdir/test_vim9_expr.vim
17391
17392Patch 8.2.2817
17393Problem: Vim9: script sourcing continues after an error.
17394Solution: Make an error in any command in "vim9script" abort sourcing.
17395Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim,
17396 src/testdir/test_vim9_assign.vim,
17397 src/testdir/test_vim9_func.vim
17398
17399Patch 8.2.2818
17400Problem: No jump added to jumplist when opening terminal in current window.
17401Solution: Call setpcmark(). (closes #8158)
17402Files: src/terminal.c, src/testdir/test_terminal.vim
17403
17404Patch 8.2.2819
17405Problem: Finishing an abbreviation with a multi-byte char may not work.
17406Solution: Escape K_SPECIAL in the typed character. (closes #8160)
17407Files: src/map.c, src/testdir/test_mapping.vim
17408
17409Patch 8.2.2820
17410Problem: Session file may divide by zero.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017411Solution: Avoid writing divide by zero. (closes #8162)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017412Files: src/session.c, src/testdir/test_mksession.vim
17413
17414Patch 8.2.2821
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017415Problem: MS-Windows: unnecessarily loading libraries when registering OLE.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017416Solution: Skip loading libraries when invoked with "-register".
17417Files: src/main.c, src/globals.h, src/os_win32.c
17418
17419Patch 8.2.2822 (after 8.2.2821)
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017420Problem: MS-Windows: unnecessarily loading libraries when unregistering OLE.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017421Solution: Also skip loading libraries when invoked with "-unregister". Run
17422 Vim for README.txt with user privileges.
17423Files: src/main.c, nsis/gvim.nsi, nsis/README.txt
17424
17425Patch 8.2.2823
17426Problem: MS-Windows: launching Vim from installer doesn't open README.
17427Solution: Adjust the quotes.
17428Files: nsis/gvim.nsi
17429
17430Patch 8.2.2824
17431Problem: MS-Windows: build failure with MSVC.
17432Solution: Adjust the list of distributed files. Add hint about python.
17433 Adjust path for reading runtime files.
17434Files: Filelist, src/testdir/shared.vim,
17435 src/testdir/test_function_lists.vim
17436
17437Patch 8.2.2825
17438Problem: Code in checkreadonly() not fully tested.
17439Solution: Add more tests. (Dominique Pellé, closes #8169)
17440Files: src/testdir/test_excmd.vim
17441
17442Patch 8.2.2826
17443Problem: Compiler warnings for int to size_t conversion. (Randall W.
17444 Morris)
17445Solution: Add type casts.
17446Files: src/map.c, src/quickfix.c
17447
17448Patch 8.2.2827
17449Problem: Test file was not deleted.
17450Solution: Uncomment the delete() call. (Dominique Pellé, closes #8172)
17451Files: src/testdir/test_mksession.vim
17452
17453Patch 8.2.2828
17454Problem: Coverity complains about not checking the rename() return value.
17455Solution: Add "(void)", can't do anything in case of a failure.
17456Files: src/fileio.c
17457
17458Patch 8.2.2829
17459Problem: Some comments are not correct or clear.
17460Solution: Adjust the comments. Add test for cursor position.
17461Files: src/regexp_bt.c, src/regexp_nfa.c,
17462 src/testdir/test_exec_while_if.vim,
17463 src/testdir/test_substitute.vim
17464
17465Patch 8.2.2830
17466Problem: Terminal colors are not updated when 'background' is set.
17467Solution: Call term_update_colors() for all terminals. (Marcin Szamotulski,
17468 closes #8171, closes #8150)
17469Files: src/terminal.c, src/proto/terminal.pro, src/optionstr.c
17470
17471Patch 8.2.2831
17472Problem: Vim9: expandcmd() not tested.
17473Solution: Add a test.
17474Files: src/testdir/test_vim9_builtin.vim
17475
17476Patch 8.2.2832
17477Problem: Operator cancelled by moving mouse when using popup. (Sergey
17478 Vlasov)
17479Solution: Do not trigger an operator for a mouse move events. (closes #8176)
17480Files: src/normal.c
17481
17482Patch 8.2.2833
17483Problem: Two key command cancelled by moving mouse when using popup.
17484 (Sergey Vlasov)
17485Solution: Ignore K_MOUSEMOVE in plain_vgetc().
17486Files: src/getchar.c
17487
17488Patch 8.2.2834
17489Problem: Vim9: :cexpr does not work with local variables.
17490Solution: Compile :cexpr.
17491Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/quickfix.c,
17492 src/proto/quickfix.pro, src/testdir/test_quickfix.vim,
17493 src/testdir/test_vim9_disassemble.vim
17494
17495Patch 8.2.2835 (after 8.2.2834)
17496Problem: Vim9: leaking memory in :cexpr.
17497Solution: Also free the command line copy.
17498Files: src/vim9compile.c
17499
17500Patch 8.2.2836 (after 8.2.2834)
17501Problem: Build failure without the +quickfix feature. (John Marriott)
17502Solution: Add #ifdef.
17503Files: src/vim9compile.c, src/vim9execute.c, src/tag.c
17504
17505Patch 8.2.2837
17506Problem: Various code lines not covered by tests.
17507Solution: Add test cases. (Dominique Pellé, closes #8178)
17508Files: src/testdir/test_excmd.vim, src/testdir/test_functions.vim,
17509 src/testdir/test_options.vim, src/testdir/test_startup.vim,
17510 src/testdir/test_syntax.vim, src/testdir/test_vim9_cmd.vim
17511
17512Patch 8.2.2838
17513Problem: File extension .wrap not recognized.
17514Solution: Use dosini filetype for .wrap files. (Liam Beguin, closes #8177)
17515Files: runtime/filetype.vim, src/testdir/test_filetype.vim
17516
17517Patch 8.2.2839
17518Problem: Default redirection missing "ash" and "dash".
17519Solution: Recognize "ash" and "dash". (Natanael Copa, closes #8180)
17520Files: runtime/doc/options.txt, src/option.c
17521
17522Patch 8.2.2840
17523Problem: Vim9: member operation not fully tested.
17524Solution: Add a few tests.
17525Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
17526
17527Patch 8.2.2841
17528Problem: MS-Windows: cursor in wrong position when 'lazyredraw' and
Bram Moolenaar47c532e2022-03-19 15:18:53 +000017529 'statusline' are set.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017530Solution: Call compute_cmdrow(). (closes #8170, closes #8184)
17531Files: src/os_win32.c
17532
17533Patch 8.2.2842
17534Problem: Vim9: skip argument to searchpair() is not compiled.
17535Solution: Add VAR_INSTR.
17536Files: src/structs.h, src/vim9.h, src/vim9compile.c, src/vim9execute.c,
17537 src/proto/vim9execute.pro, src/eval.c, src/evalfunc.c, src/vim.h,
17538 src/evalvars.c, src/typval.c, src/vim9type.c, src/testing.c,
17539 src/viminfo.c, src/if_py_both.h, src/json.c,
17540 src/testdir/test_vim9_disassemble.vim,
17541 src/testdir/test_vim9_builtin.vim
17542
17543Patch 8.2.2843 (after 8.2.2842)
17544Problem: Vim9: skip argument to searchpairpos() is not compiled.
17545Solution: Handle like searchpair(). Also for search() and searchpos().
17546Files: src/vim9compile.c, src/testdir/test_vim9_builtin.vim
17547
17548Patch 8.2.2844
17549Problem: Vim9: memory leak when using searchpair().
17550Solution: Free the v_instr field.
17551Files: src/typval.c
17552
17553Patch 8.2.2845
17554Problem: MS-Windows: warning for signed/unsigned comparison.
17555Solution: Add type cast.
17556Files: src/terminal.c
17557
17558Patch 8.2.2846
17559Problem: Vim9: "echo Func()" does not give an error for a function without
17560 a return value.
17561Solution: Give an error. Be more specific about why a value is invalid.
17562Files: src/globals.h, src/errors.h, src/eval.c, src/evalfunc.c,
17563 src/typval.c, src/vim9compile.c, src/vim9execute.c,
17564 src/testdir/test_vim9_cmd.vim
17565
17566Patch 8.2.2847
17567Problem: Perl not tested sufficiently.
17568Solution: Add test. Also test W17. (Dominique Pellé, closes #8193)
17569Files: src/testdir/test_arabic.vim, src/testdir/test_perl.vim
17570
17571Patch 8.2.2848
17572Problem: Crash when calling partial.
17573Solution: Check for NULL pointer. (Dominique Pellé, closes #8202)
17574Files: src/eval.c, src/evalfunc.c, src/testdir/test_functions.vim,
17575 src/testdir/test_listdict.vim
17576
17577Patch 8.2.2849
17578Problem: Bufwrite not sufficiently tested.
17579Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8192)
17580Files: src/testdir/test_startup.vim, src/testdir/test_writefile.vim
17581
17582Patch 8.2.2850
17583Problem: Recalling commands from history is not tested.
17584Solution: Add tests. (closes #8194)
17585Files: src/testdir/test_cmdline.vim
17586
17587Patch 8.2.2851
17588Problem: Using <Cmd> mapping on the command line triggers CmdlineChanged.
17589 (Naohiro Ono)
17590Solution: Jump to cmdline_not_changed if the command line didn't change.
17591 (closes #8208)
17592Files: src/ex_getln.c, src/testdir/test_cmdline.vim
17593
17594Patch 8.2.2852
17595Problem: Configure can add --as-needed a second time.
17596Solution: Only add --as-needed if not already there. (Natanael Copa,
17597 closes #8189, closes #8181)
17598Files: src/configure.ac, src/auto/configure
17599
17600Patch 8.2.2853 (after 8.2.2851)
17601Problem: Window is not updated after using <Cmd> mapping.
17602Solution: So jump to cmdline_changed but skip autocommand.
17603Files: src/ex_getln.c
17604
17605Patch 8.2.2854
17606Problem: Custom statusline cannot contain % items.
17607Solution: Add "%{% expr %}". (closes #8190)
17608Files: runtime/doc/options.txt, src/buffer.c, src/optionstr.c,
17609 src/testdir/test_statusline.vim
17610
17611Patch 8.2.2855
17612Problem: White space after "->" does not give E274.
17613Solution: Do not skip white space in legacy script. (closes #8212)
17614Files: src/eval.c, src/testdir/test_method.vim
17615
17616Patch 8.2.2856
17617Problem: Get readonly error for device that can't be written to.
17618Solution: Check for being able to write first. (closes #8205)
17619Files: src/ex_cmds.c, src/testdir/test_writefile.vim
17620
17621Patch 8.2.2857
17622Problem: Vim9: exception in ISN_INSTR caught at wrong level.
17623Solution: Set the starting trylevel in exec_instructions(). (closes #8214)
17624Files: src/vim9compile.c, src/vim9execute.c, src/globals.h,
17625 src/testdir/test_vim9_builtin.vim
17626
17627Patch 8.2.2858 (after 8.2.2857)
17628Problem: Test fails because of changed error message.
17629Solution: Adjust the expected error message.
17630Files: src/testdir/test_ex_mode.vim
17631
17632Patch 8.2.2859 (after 8.2.2857)
17633Problem: Tcl test fails because of changed error message.
17634Solution: Adjust the expected error message.
17635Files: src/testdir/test_tcl.vim
17636
17637Patch 8.2.2860
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017638Problem: Adding a text property causes the whole window to be redrawn.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017639Solution: Use changed_lines_buf() to only redraw the affected lines.
17640Files: src/change.c, src/proto/change.pro, src/textprop.c
17641
17642Patch 8.2.2861
17643Problem: Vim9: "legacy return" is not recognized as a return statement.
17644Solution: Specifically check for a return command. (closes #8213)
17645Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h,
17646 src/testdir/test_vim9_expr.vim
17647
17648Patch 8.2.2862
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017649Problem: Removing a text property causes the whole window to be redrawn.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017650Solution: Use changed_lines_buf() to only redraw the affected lines.
17651Files: src/textprop.c
17652
17653Patch 8.2.2863 (after 8.2.2862)
17654Problem: Removing a text property does not redraw optimally.
17655Solution: Only redraw the lines that mithg actually have been changed.
17656Files: src/textprop.c
17657
17658Patch 8.2.2864
17659Problem: Vim9: crash when using inline function.
17660Solution: Check for NULL pointer. Make using inline function work inside
17661 lambda. (closes #8217)
17662Files: src/userfunc.c, src/testdir/test_vim9_func.vim
17663
17664Patch 8.2.2865 (after 8.2.2864)
17665Problem: Skipping over function body fails.
17666Solution: Do not define the function when skipping.
17667Files: src/userfunc.c
17668
17669Patch 8.2.2866
17670Problem: Vim9: memory leak when using inline function.
17671Solution: Remember what strings to free.
17672Files: src/userfunc.c, src/structs.h, src/eval.c
17673
17674Patch 8.2.2867 (after 8.2.2866)
17675Problem: Build failure.
17676Solution: Add missing part of the change.
17677Files: src/globals.h
17678
17679Patch 8.2.2868
17680Problem: Vim9: When executing a compiled expression the trylevel at start
17681 is changed but not restored. (closes #8214)
17682Solution: Restore the trylevel at start.
17683Files: src/vim9execute.c, src/testdir/test_vim9_builtin.vim
17684
17685Patch 8.2.2869
17686Problem: Using unified diff is not tested.
17687Solution: Test all cases also with unified diff. (issue #8197)
17688Files: src/testdir/test_diffmode.vim
17689
17690Patch 8.2.2870
17691Problem: CmdlineChange event triggered twice for CTRL-R.
17692Solution: Return CMDLINE_NOT_CHANGED from cmdline_insert_reg().
17693 (closes #8219)
17694Files: src/ex_getln.c, src/testdir/test_cmdline.vim
17695
17696Patch 8.2.2871
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017697Problem: Unnecessary VIM_ISDIGIT() calls, badly indented code.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017698Solution: Call skipdigits() on the next character. Improve indenting.
17699 (Dominique Pellé, closes #8227)
17700Files: src/charset.c, src/evalfunc.c, src/ex_docmd.c, src/json.c,
17701 src/ops.c, src/tag.c, src/vim9compile.c
17702
17703Patch 8.2.2872
17704Problem: Python tests fail without the channel feature.
17705Solution: Add a feature check. (Dominique Pellé, closes #8226)
17706Files: src/testdir/test_python2.vim, src/testdir/test_python3.vim
17707
17708Patch 8.2.2873
17709Problem: Not enough tests for writing buffers.
17710Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8229)
17711Files: src/testdir/test_buffer.vim, src/testdir/test_cmdline.vim,
17712 src/testdir/test_functions.vim, src/testdir/test_writefile.vim
17713
17714Patch 8.2.2874
17715Problem: MS-Windows: screen redraws too often.
17716Solution: Do not redraw when peeking for a character. (closes #8230,
17717 closes #8211)
17718Files: src/os_win32.c
17719
17720Patch 8.2.2875
17721Problem: Cancelling inputlist() after a digit does not return zero.
17722Solution: Always return zero when cancelling. (closes #8231)
17723Files: src/misc1.c, src/testdir/test_functions.vim
17724
17725Patch 8.2.2876
17726Problem: Configure cannot detect Python 3.10.
17727Solution: Use sys.version_info. (closes #8233)
17728Files: src/configure.ac, src/auto/configure
17729
17730Patch 8.2.2877
17731Problem: Insufficient tests for popup menu rightleft.
17732Solution: Add tests. (Yegappan Lakshmanan, closes #8235)
17733Files: src/testdir/test_popup.vim,
17734 src/testdir/dumps/Test_pum_rightleft_01.dump,
17735 src/testdir/dumps/Test_pum_rightleft_02.dump,
17736 src/testdir/dumps/Test_pum_scrollbar_01.dump,
17737 src/testdir/dumps/Test_pum_scrollbar_02.dump
17738
17739Patch 8.2.2878
17740Problem: Vim9: for loop list unpack only allows for one "_".
17741Solution: Drop the value when the variable is "_". (closes #8232)
17742Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
17743
17744Patch 8.2.2879
17745Problem: File extension .hsig not recognized.
17746Solution: Use Haskell filetype for .hsig files. (Marcin Szamotulski,
17747 closes #8236)
17748Files: runtime/filetype.vim, src/testdir/test_filetype.vim
17749
17750Patch 8.2.2880
17751Problem: Unified diff fails if actually used.
17752Solution: Invoke :diffupdate in the test. Fix the check for working external
17753 diff. (Ghjuvan Lacambre, Christian Brabandt, closes #8197)
17754Files: src/diff.c, src/testdir/test_diffmode.vim
17755
17756Patch 8.2.2881
17757Problem: Various pieces of code not covered by tests.
17758Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8245)
17759Files: src/testdir/test_const.vim, src/testdir/test_functions.vim,
17760 src/testdir/test_python2.vim, src/testdir/test_python3.vim,
17761 src/testdir/test_user_func.vim, src/testdir/test_vim9_expr.vim,
17762 src/testdir/test_vim9_func.vim
17763
17764Patch 8.2.2882
17765Problem: Vim9: memory leak when lambda has an error.
17766Solution: Free the list of argument types on failure.
17767Files: src/userfunc.c
17768
17769Patch 8.2.2883
17770Problem: MS-Windows manifest file name is misleading.
17771Solution: Rename the file. (closes #8241)
17772Files: .gitignore, .hgignore, Filelist, Makefile, src/Make_cyg_ming.mak,
17773 src/Make_mvc.mak, src/gvim.exe.mnf, src/vim.manifest, src/vim.rc
17774
17775Patch 8.2.2884
17776Problem: Not enough cscope code is covered by tests.
17777Solution: Add a few test cases. (Dominique Pellé, closes #8246)
17778Files: src/testdir/test_cscope.vim
17779
17780Patch 8.2.2885
17781Problem: searching for \%'> does not match linewise end of line. (Tim Chase)
17782Solution: Match end of line if column is MAXCOL. (closes #8238)
17783Files: src/regexp_nfa.c, src/regexp_bt.c, src/testdir/test_search.vim
17784
17785Patch 8.2.2886
17786Problem: Various pieces of code not covered by tests.
17787Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8255)
17788Files: src/testdir/test_expr.vim, src/testdir/test_functions.vim,
17789 src/testdir/test_listdict.vim, src/testdir/test_registers.vim,
17790 src/testdir/test_user_func.vim, src/testdir/test_vim9_builtin.vim,
17791 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim
17792
17793Patch 8.2.2887
17794Problem: Crash when passing null string to fullcommand().
17795Solution: Check for NULL pointer. (closes #8256)
17796Files: src/ex_docmd.c, src/testdir/test_cmdline.vim
17797
17798Patch 8.2.2888
17799Problem: Vim9: "k" command recognized in Vim9 script.
17800Solution: Do not recognize "k" or "s" and "d" with flags.
17801Files: src/ex_docmd.c, src/testdir/test_vim9_builtin.vim,
17802 src/testdir/test_vim9_script.vim
17803
17804Patch 8.2.2889
17805Problem: Typo and verbose comment in Makefiles.
17806Solution: Fix typo. Use @#. (Ken Takata, closes #8252)
17807Files: Makefile, src/testdir/Makefile
17808
17809Patch 8.2.2890
17810Problem: Text property duplicated when data block splits.
17811Solution: Do not continue text prop from previous line. (closes #8261)
17812Files: src/memline.c, src/structs.h, src/testdir/test_textprop.vim
17813
17814Patch 8.2.2891
17815Problem: Cannot build with Perl 5.34.
17816Solution: Add Perl_SvTRUE_common(). (Ozaki Kiichi, closes #8266,
17817 closes #8250)
17818Files: src/if_perl.xs
17819
17820Patch 8.2.2892
17821Problem: Error message contains random characters.
17822Solution: Pass the right pointer to error_white_both(). (closes #8272,
17823 closes #8263)
17824Files: src/eval.c, src/testdir/test_vim9_expr.vim
17825
17826Patch 8.2.2893
17827Problem: Multi-byte text in popup title shows up wrong.
17828Solution: Use the character width instead of the byte length. (Ralf Schandl,
17829 closes #8267, closes #8264)
17830Files: src/popupwin.c, src/message_test.c, src/testdir/test_popupwin.vim,
17831 src/testdir/dumps/Test_popupwin_multibytetitle.dump
17832
17833Patch 8.2.2894
17834Problem: MS-Windows: using enc_locale() for strftime() might not work.
17835Solution: Use wcsftime(). (Ken Takata, closes #8271)
17836Files: src/time.c
17837
17838Patch 8.2.2895
17839Problem: Vim9: random characters appear in some error messages.
17840Solution: Pass the correct pointer. (closes #8277)
17841Files: src/eval.c, src/vim9compile.c, src/testdir/test_vim9_expr.vim
17842
17843Patch 8.2.2896
17844Problem: Spellfile functionality not fully tested.
17845Solution: Add tests for CHECKCOMPOUNDPATTERN and COMMON. (Dominique Pellé,
17846 closes #8270)
17847Files: src/testdir/test_spellfile.vim
17848
17849Patch 8.2.2897
17850Problem: Vim9: can use reserved words at the script level.
17851Solution: Check variable names for reserved words. (closes #8253)
17852Files: src/vim9compile.c, src/vim9script.c, src/proto/vim9script.pro,
17853 src/eval.c, src/testdir/test_vim9_assign.vim
17854
17855Patch 8.2.2898
17856Problem: QuitPre and ExitPre not triggered when GUI window is closed.
17857Solution: Call before_quit_autocmds(). (closes #8242)
17858Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/gui.c
17859
17860Patch 8.2.2899
17861Problem: Appveyor script does not detect nmake failure.
17862Solution: Explicitly check for executable. (Ken Takata, closes #8281)
17863Files: ci/appveyor.bat
17864
17865Patch 8.2.2900
17866Problem: QuitPre is triggered before :wq writes the file, which is
17867 different from other commands.
17868Solution: Trigger QuitPre after writing the file. (closes #8279)
17869Files: src/ex_docmd.c, src/testdir/test_writefile.vim
17870
17871Patch 8.2.2901
17872Problem: Some operators not fully tested.
17873Solution: Add a few test cases. (Yegappan Lakshmanan, closes #8282)
17874Files: src/testdir/test_cpoptions.vim, src/testdir/test_increment.vim,
17875 src/testdir/test_normal.vim, src/testdir/test_virtualedit.vim,
17876 src/testdir/test_visual.vim
17877
17878Patch 8.2.2902
17879Problem: Spellfile functionality not fully tested.
17880Solution: Add tests for CIRCUMFIX, NOBREAK and others. (Dominique Pellé,
17881 closes #8283)
17882Files: src/testdir/test_spellfile.vim
17883
17884Patch 8.2.2903
17885Problem: Cursor position wrong on wrapped line with 'signcolumn'.
17886Solution: Don't add space for showbreak twice. (Christian Brabandt,
17887 closes #8262)
17888Files: src/drawline.c, src/testdir/test_display.vim
17889
17890Patch 8.2.2904
17891Problem: "g$" causes scroll if half a double width char is visible.
17892Solution: Advance to the last fully visible character. (closes #8254)
17893Files: src/normal.c, src/testdir/test_normal.vim
17894
17895Patch 8.2.2905
17896Problem: No error when defaults.vim cannot be loaded.
17897Solution: Add an error message. (Christian Brabandt, closes #8248)
17898Files: runtime/doc/starting.txt, src/errors.h, src/main.c,
17899 src/testdir/test_startup.vim
17900
17901Patch 8.2.2906 (after 8.2.2905)
17902Problem: ASAN reports errors for test_startup for unknown reasons.
17903Solution: Temporarily disable the new test.
17904Files: src/testdir/test_startup.vim
17905
17906Patch 8.2.2907
17907Problem: Memory leak when running out of memory.
17908Solution: Free the allocated memory. (Dominique Pellé, closes #8284)
17909Files: src/term.c
17910
17911Patch 8.2.2908
17912Problem: Crash when using a terminal popup window from the cmdline window.
17913Solution: Instead of checking cmdwin_type call cmdwin_is_active().
17914 (closes #8286)
17915Files: src/terminal.c, src/errors.h, src/testdir/test_cmdline.vim,
17916 src/testdir/dumps/Test_cmdwin_no_terminal.dump
17917
17918Patch 8.2.2909
17919Problem: Build error with non-Unix system.
17920Solution: Always include limits.h.
17921Files: src/vim.h
17922
17923Patch 8.2.2910
17924Problem: Test for cmdline window and terminal fails on MS-Windows.
17925Solution: Skip the test on MS-Windows.
17926Files: src/testdir/test_cmdline.vim
17927
17928Patch 8.2.2911
17929Problem: Pattern "\%V" does not match all of block selection. (Rick Howe)
17930Solution: Use the value of vi_curswant. (closes #8285)
17931Files: src/regexp.c, src/testdir/test_search.vim,
17932 src/testdir/dumps/Test_hlsearch_block_visual_match.dump
17933
17934Patch 8.2.2912
17935Problem: MS-Windows: most users expect using Unicode.
17936Solution: Default 'encoding' to utf-8 on MS-Windows. (Ken Takata,
17937 closes #3907)
17938Files: runtime/doc/options.txt, src/mbyte.c, src/option.c, src/option.h,
17939 src/testdir/test_writefile.vim
17940
17941Patch 8.2.2913
17942Problem: MS-Windows conpty supports using mouse events.
17943Solution: When enabling the mouse enable mouse input and disable quick edit
17944 mode. (Wez Furlong, closes #8280)
17945Files: src/os_win32.c
17946
17947Patch 8.2.2914
17948Problem: Cannot paste a block without adding padding.
17949Solution: Add "zp" and "zP" which paste without adding padding. (Christian
17950 Brabandt, closes #8289)
17951Files: runtime/doc/change.txt, runtime/doc/index.txt, src/normal.c,
17952 src/register.c, src/vim.h, src/testdir/test_normal.vim,
17953 src/testdir/test_visual.vim
17954
17955Patch 8.2.2915
17956Problem: MS-Windows: when using "default" for encoding utf-8 is used.
17957Solution: Use the system encoding. (Ken Takata, closes #8300)
17958Files: src/mbyte.c, runtime/doc/options.txt
17959
17960Patch 8.2.2916
17961Problem: Operators are not fully tested.
17962Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8290)
17963Files: src/ops.c, src/testdir/test_netbeans.vim,
17964 src/testdir/test_normal.vim, src/testdir/test_visual.vim
17965
17966Patch 8.2.2917
17967Problem: Spellfile functionality not fully tested.
17968Solution: Add tests for SFX with removal of characters, spelling
17969 suggestions with NOBREAK and others. (Dominique Pellé,
17970 closes #8293)
17971Files: src/testdir/test_spellfile.vim
17972
17973Patch 8.2.2918
17974Problem: Builtin function can be shadowed by global variable.
17975Solution: Check for builtin function before variable. (Yasuhiro Matsumoto,
17976 closes #8302)
17977Files: src/eval.c, src/testdir/test_functions.vim
17978
17979Patch 8.2.2919
17980Problem: Using ":!command" does not work if the command uses posix_spawn().
17981Solution: Do not call ioctl() with TIOCSCTTY. (Felipe Contreras)
17982Files: src/os_unix.c
17983
17984Patch 8.2.2920
17985Problem: Still a way to shadow a builtin function. (Yasuhiro Matsumoto)
17986Solution: Check the key when using extend(). (issue #8302)
17987Files: src/eval.c, src/dict.c, src/proto/dict.pro,
17988 src/testdir/test_functions.vim
17989
17990Patch 8.2.2921
17991Problem: E704 for script local variable is not backwards compatible.
17992 (Yasuhiro Matsumoto)
17993Solution: Only give the error in Vim9 script. Also check for function-local
17994 variable.
17995Files: src/dict.c, src/testdir/test_functions.vim
17996
17997Patch 8.2.2922
17998Problem: Computing array length is done in various ways.
17999Solution: Use ARRAY_LENGTH everywhere. (Ken Takata, closes #8305)
18000Files: src/arabic.c, src/blowfish.c, src/cindent.c, src/cmdexpand.c,
18001 src/cmdhist.c, src/dosinst.c, src/eval.c, src/evalfunc.c,
18002 src/ex_docmd.c, src/fileio.c, src/gui_athena.c, src/gui_gtk_x11.c,
18003 src/gui_haiku.cc, src/gui_photon.c, src/gui_w32.c,
18004 src/gui_xmebw.c, src/hardcopy.c, src/help.c, src/highlight.c,
18005 src/if_mzsch.c, src/macros.h, src/main.c, src/map.c, src/mbyte.c,
18006 src/memline.c, src/menu.c, src/misc2.c, src/normal.c, src/ops.c,
18007 src/option.c, src/optiondefs.h, src/os_win32.c, src/popupwin.c,
18008 src/quickfix.c, src/regexp.c, src/screen.c, src/search.c,
18009 src/syntax.c, src/term.c, src/terminal.c, src/time.c,
18010 src/usercmd.c, src/version.c
18011
18012Patch 8.2.2923
18013Problem: EBCDIC build is broken.
18014Solution: Move sortFunctions() to evalfunc.c. (Ken Takata, closes #8306)
18015Files: src/eval.c, src/evalfunc.c, src/proto/evalfunc.pro
18016
18017Patch 8.2.2924
18018Problem: Superfluous extern declaration.
18019Solution: Delete the declaration. (Ken Takata, closes #8307)
18020Files: src/main.c
18021
18022Patch 8.2.2925
18023Problem: Vim9: line continuation comment uses legacy syntax.
18024Solution: Check for #\ instead of "\. (closes #8295)
18025Files: src/scriptfile.c, src/testdir/test_vim9_script.vim
18026
18027Patch 8.2.2926
18028Problem: Vim9: no good error for using :legacy in a :def function.
18029Solution: Give an explicit error where :legacy is not working.
18030 (closes #8309)
18031Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_func.vim
18032
18033Patch 8.2.2927
18034Problem: Test commented out because it fails with ASAN.
18035Solution: Only skip the test when running with ASAN.
18036Files: src/testdir/test_startup.vim
18037
18038Patch 8.2.2928
18039Problem: The evalfunc.c file is too big.
18040Solution: Move float related functionality to a separate file. (Yegappan
18041 Lakshmanan, closes #8287)
18042Files: Filelist, src/Make_ami.mak, src/Make_cyg_ming.mak,
18043 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
18044 src/eval.c, src/evalfunc.c, src/float.c, src/proto.h,
18045 src/proto/eval.pro, src/proto/float.pro
18046
18047Patch 8.2.2929
18048Problem: Accidentally enable tcl by default.
18049Solution: Revert change to Makefile
18050Files: src/Makefile
18051
18052Patch 8.2.2930
18053Problem: When a popup is visible a mouse move my restart Visual mode.
18054Solution: Reset held_button when ending Visual mode. (closes #8318)
18055Files: src/mouse.c, src/proto/mouse.pro, src/normal.c
18056
18057Patch 8.2.2931
18058Problem: Vim9: line continuation comment still uses legacy syntax in one
18059 place.
18060Solution: Check for #\ instead of "\ earlier. (closes #8316)
18061Files: src/scriptfile.c, src/testdir/test_vim9_script.vim
18062
18063Patch 8.2.2932 (after 8.2.2930)
18064Problem: Select mode test fails.
18065Solution: Do not always reset the held mouse button.
18066Files: src/mouse.c, src/normal.c, src/proto/normal.pro
18067
18068Patch 8.2.2933
18069Problem: When 'clipboard' is "unnamed" zp and zP do not work correctly.
18070Solution: Pass -1 to str_to_reg() and fix computing the character width
18071 instead of using the byte length. (Christian Brabandt,
18072 closes #8301, closes #8317)
18073Files: src/clipboard.c, src/mbyte.c, src/register.c
18074
18075Patch 8.2.2934 (after 8.2.2933)
18076Problem: ASAN error when using text from the clipboard.
18077Solution: Get width of each character.
18078Files: src/register.c
18079
18080Patch 8.2.2935 (after 8.2.2934)
18081Problem: Calculating register width is not always needed. (Christian
18082 Brabandt)
18083Solution: Only calculate the width when the type is MBLOCK.
18084Files: src/register.c
18085
18086Patch 8.2.2936
18087Problem: Vim9: converting number to bool uses wrong stack offset. (Salman
18088 Halim)
18089Solution: Include the offset in the 2BOOL command.
18090Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c,
18091 src/testdir/test_vim9_expr.vim,
18092 src/testdir/test_vim9_disassemble.vim
18093
18094Patch 8.2.2937
18095Problem: Popup test fails if rightleft feature not enabled.
18096Solution: Check that the rightleft feature is available. (Dominique Pellé,
18097 closes #8321)
18098Files: src/testdir/test_popup.vim
18099
18100Patch 8.2.2938
18101Problem: After using motion force from feedkeys() it may not be reset.
18102Solution: Clear motion_force in clearop(). (closes #8323)
18103Files: src/normal.c, src/testdir/test_visual.vim
18104
18105Patch 8.2.2939
18106Problem: GTK: righthand scrollbar does not show with split window.
18107Solution: Adjust padding when two scrollbars are used. (Matt Wozniski,
18108 closes #8324)
18109Files: src/gui_gtk.c
18110
18111Patch 8.2.2940
18112Problem: MS-Windows: cannot see the size of the text area when resizing the
18113 gvim window.
18114Solution: Show a tooltip with the text size. (Ken Takata, closes #8326)
18115Files: src/gui_w32.c
18116
18117Patch 8.2.2941
18118Problem: Vim9: using `=expr` does not handle a list of strings.
18119Solution: Convert a list to a string and escape each item. (closes #8310)
18120Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
18121
18122Patch 8.2.2942
18123Problem: Vim9: internal error when calling function with too few arguments
18124Solution: Check for argument count to be too few. (closes #8325)
18125Files: src/errors.h, src/vim9execute.c, src/testdir/test_vim9_builtin.vim
18126
18127Patch 8.2.2943
18128Problem: Vim9: check for argument count ignores default values.
18129Solution: Take default argument values into account.
18130Files: src/vim9execute.c
18131
18132Patch 8.2.2944
18133Problem: Vim9: no error when using job or channel as a string.
18134Solution: Be more strict about conversion to string. (closes #8312)
18135Files: src/typval.c, src/job.c, src/proto/job.pro, src/channel.c,
18136 src/proto/channel.pro, src/eval.c, src/vim9execute.c,
18137 src/testdir/test_vim9_builtin.vim
18138
18139Patch 8.2.2945
18140Problem: Some buffer related code is not tested.
18141Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8320)
18142Files: src/termlib.c, src/testdir/test_excmd.vim,
18143 src/testdir/test_recover.vim, src/testdir/test_swap.vim,
18144 src/testdir/test_visual.vim
18145
18146Patch 8.2.2946
18147Problem: Vim9: substitute expression cannot be a List in a :def function.
18148Solution: Use typval2string(). (closes #8330)
18149Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
18150
18151Patch 8.2.2947
18152Problem: Build failure without the channel feature.
18153Solution: Add back #ifdef. (John Marriott)
18154Files: src/eval.c
18155
18156Patch 8.2.2948
18157Problem: Substitute() accepts a number but not a float expression.
18158Solution: Also accept a float. (closes #8331)
18159Files: src/typval.c, src/testdir/test_substitute.vim
18160
18161Patch 8.2.2949 (after 8.2.2948)
18162Problem: Tests failing because there is no error for float to string
18163 conversion.
18164Solution: Change the check for failure to check for correct result. Make
18165 some conversions strict in Vim9 script.
18166Files: src/evalfunc.c, src/float.c, src/findfile.c, src/json.c,
18167 src/filepath.c, src/testdir/test_eval_stuff.vim,
18168 src/testdir/test_execute_func.vim,
18169 src/testdir/test_float_func.vim, src/testdir/test_functions.vim,
18170 src/testdir/test_listdict.vim, src/testdir/test_glob2regpat.vim
18171
18172Patch 8.2.2950
18173Problem: Sound code not fully tested.
18174Solution: Add more sound tests. (Dominique Pellé, closes #8332)
18175Files: src/testdir/test_sound.vim
18176
18177Patch 8.2.2951
18178Problem: Vim9: cannot use heredoc in :def function for :python, :lua, etc.
18179Solution: Concatenate the heredoc lines and pass them in the ISN_EXEC_SPLIT
18180 instruction.
18181Files: src/userfunc.c, src/vim9compile.c, src/vim9.h, src/vim9execute.c,
18182 src/testdir/test_vim9_func.vim,
18183 src/testdir/test_vim9_disassemble.vim
18184
18185Patch 8.2.2952
18186Problem: Recover test fails on big endian systems.
18187Solution: Disable the failing test on big endian systems. (Yegappan
18188 Lakshmanan, closes #8335)
18189Files: src/testdir/test_recover.vim, src/testdir/test_swap.vim
18190
18191Patch 8.2.2953 (after 8.2.2951)
18192Problem: Vim9: leaking memory when using heredoc script.
18193Solution: Free the first line.
18194Files: src/vim9execute.c
18195
18196Patch 8.2.2954
18197Problem: Short file name extension for Scala not recognized.
18198Solution: Recognize *.sc. (closes #8337)
18199Files: runtime/filetype.vim, src/testdir/test_filetype.vim
18200
18201Patch 8.2.2955
18202Problem: Vim9: using filter in compiled command does not work.
18203Solution: Generate EXEC including the command modifier.
18204Files: src/vim9compile.c, src/ex_docmd.c, src/ex_cmds.c,
18205 src/proto/ex_cmds.pro, src/testdir/test_vim9_cmd.vim
18206
18207Patch 8.2.2956
18208Problem: Vim9: need to plan for future additions.
18209Solution: Reserve commands for future use: :type, :class, :enum.
18210Files: src/ex_cmds.h, src/ex_cmdidxs.h
18211
18212Patch 8.2.2957
18213Problem: Using getchar() in Vim9 script is problematic.
18214Solution: Add getcharstr(). (closes #8343)
18215Files: runtime/doc/eval.txt, src/evalfunc.c, src/getchar.c,
Bram Moolenaar47c532e2022-03-19 15:18:53 +000018216 src/proto/getchar.pro, src/testdir/test_functions.vim
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018217
18218Patch 8.2.2958 (after 8.2.2957)
18219Problem: Function list test fails.
18220Solution: Add newly added function to the list. Fix typo.
18221Files: runtime/doc/usr_41.txt, src/testdir/test_function_lists.vim
18222
18223Patch 8.2.2959
18224Problem: sound_playfile() is not tested on MS-Windows.
18225Solution: Make it work and enable the test. (Dominique Pellé, closes #8338)
18226Files: src/sound.c, src/testdir/test_sound.vim
18227
18228Patch 8.2.2960
18229Problem: Swap file recovery not sufficiently tested.
18230Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8339)
18231Files: src/testdir/test_recover.vim
18232
18233Patch 8.2.2961
18234Problem: Keys typed during a :normal command are discarded.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018235Solution: Concatenate saved typeahead and typed keys. (closes #8340)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018236Files: src/getchar.c, src/proto/getchar.pro, src/ex_docmd.c,
18237 src/evalfunc.c, src/debugger.c, src/ui.c, src/proto/ui.pro
18238
18239Patch 8.2.2962
18240Problem: MS-Windows command line arguments have wrong encoding.
18241Solution: Always use utf-8 in get_cmd_argsW(). (Ken Takata, closes #8347)
18242Files: src/os_win32.c
18243
18244Patch 8.2.2963
18245Problem: GUI: mouse move may start Visual mode with a popup visible.
18246Solution: Add special code for mouse move. (closes #8318)
18247Files: src/vim.h, src/gui.c, src/keymap.h, src/term.c
18248
18249Patch 8.2.2964
18250Problem: Vim9: hang when using space after ->. (Naohiro Ono)
18251Solution: Skip over white space to find the function name. (closes #8341)
18252Files: src/eval.c, src/vim9compile.c, src/testdir/test_vim9_expr.vim
18253
18254Patch 8.2.2965
18255Problem: Vim9: crash when calling function that failed to compile.
18256Solution: Fail when trying to call the function. (closes #8344)
18257Files: src/errors.h, src/vim9compile.c, src/testdir/test_vim9_func.vim
18258
18259Patch 8.2.2966
18260Problem: ml_get errors after recovering a file. (Yegappan Lakshmanan)
18261Solution: Fix the cursor position after deleting lines.
18262Files: src/memline.c
18263
18264Patch 8.2.2967
18265Problem: Vim9: crash when using two levels of partials.
18266Solution: Add outer_ref_T and use it in the execution context.
18267Files: src/structs.h, src/vim9execute.c, src/testdir/test_vim9_func.vim
18268
18269Patch 8.2.2968 (after 8.2.2967)
18270Problem: Vim9: memory leak
18271Solution: Unreference pt_outer of partial.
18272Files: src/eval.c
18273
18274Patch 8.2.2969
18275Problem: Subtracting from number option fails when result is zero. (Ingo
18276 Karkat)
18277Solution: Reset the string value when using the numeric value.
18278 (closes #8351)
18279Files: src/evalvars.c, src/testdir/test_vimscript.vim
18280
18281Patch 8.2.2970
18282Problem: Python configure check uses deprecated command.
18283Solution: Use sysconfig instead of distutils if possible. (Zdenek Dohnal,
18284 closes #8354)
18285Files: src/configure.ac, src/auto/configure
18286
18287Patch 8.2.2971
18288Problem: Cannot yank a block without trailing spaces.
18289Solution: Add the "zy" command. (Christian Brabandt, closes #8292)
18290Files: runtime/doc/change.txt, runtime/doc/index.txt, src/normal.c,
18291 src/ops.c, src/register.c, src/structs.h,
18292 src/testdir/test_visual.vim
18293
18294Patch 8.2.2972
18295Problem: "%bd" tries to delete popup window buffers, which fails. (Ralf
18296 Schandl)
18297Solution: Do not try to delete a popup window buffer. (closes #8349)
18298Files: src/buffer.c, src/vim.h, src/testdir/test_popupwin.vim
18299
18300Patch 8.2.2973
18301Problem: Fix for recovery and diff mode not tested.
18302Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8352)
18303Files: src/testdir/test_diffmode.vim, src/testdir/test_prompt_buffer.vim,
18304 src/testdir/test_recover.vim
18305
18306Patch 8.2.2974
18307Problem: Greek spell checking uses wrong case folding.
18308Solution: Fold capital sigma depending on whether it is at the end of a
18309 word or not. (closes #299)
18310Files: src/spell.c, src/proto/spell.pro, src/spellfile.c,
18311 src/spellsuggest.c
18312
18313Patch 8.2.2975
18314Problem: Vim9: can only use an autoload function name as a string.
18315Solution: Load the autoload script when encountered. (closes #8124)
18316Files: src/vim9compile.c, src/evalvars.c, src/scriptfile.c,
18317 src/testdir/test_vim9_func.vim
18318
18319Patch 8.2.2976 (after 8.2.2975)
18320Problem: Build failure without the +eval feature.
18321Solution: Add #ifdefs.
18322Files: src/scriptfile.c
18323
18324Patch 8.2.2977
18325Problem: Crash when using a null function reference. (Naohiro Ono)
18326Solution: Check for an invalid function name. (closes #8367)
18327Files: src/eval.c, src/errors.h, src/testdir/test_functions.vim
18328
18329Patch 8.2.2978 (after 8.2.2977)
18330Problem: Warning for uninitialized variable.
18331Solution: Set return value to FAIL.
18332Files: src/eval.c
18333
18334Patch 8.2.2979
18335Problem: Not all options code is covered by tests.
18336Solution: Add more tests for options. (Yegappan Lakshmanan, closes #8369)
18337Files: src/testdir/test_edit.vim, src/testdir/test_excmd.vim,
18338 src/testdir/test_help.vim, src/testdir/test_mksession.vim,
18339 src/testdir/test_options.vim, src/testdir/test_vartabs.vim,
18340 src/testdir/test_window_cmd.vim
18341
18342Patch 8.2.2980
18343Problem: Popup window test is a bit flaky.
18344Solution: Add a redraw command.
18345Files: src/testdir/test_popupwin.vim
18346
18347Patch 8.2.2981
18348Problem: Recovery test is not run on big-endian systems.
18349Solution: Make it work on big-endian systems. (James McCoy, closes #8368)
18350Files: src/testdir/test_recover.vim
18351
18352Patch 8.2.2982
18353Problem: Vim9: future commands are not reserved yet.
18354Solution: Add commands to be implemented later. Make "this" a reserved
18355 name.
18356Files: runtime/doc/vim9.txt, src/ex_cmds.h, src/ex_cmdidxs.h,
18357 src/vim9script.c, src/testdir/test_vim9_assign.vim
18358
18359Patch 8.2.2983
18360Problem: Vim9: an inline function requires specifying the return type.
18361Solution: Make the return type optional.
18362Files: src/eval.c, src/vim9compile.c, src/userfunc.c,
18363 src/testdir/test_vim9_func.vim
18364
18365Patch 8.2.2984 (after 8.2.2983)
18366Problem: Vim9: Test fails because of missing return statement.
18367Solution: When type is unknown set type to void.
18368Files: src/vim9compile.c
18369
18370Patch 8.2.2985
18371Problem: Vim9: a compiled function cannot be debugged.
18372Solution: Add initial debugging support.
18373Files: src/vim9.h, src/vim9compile.c, src/proto/vim9compile.pro,
18374 src/vim.h, src/eval.c, src/vim9execute.c, src/userfunc.c,
18375 src/vim9type.c, src/testdir/test_debugger.vim,
18376 src/testdir/test_vim9_disassemble.vim
18377
18378Patch 8.2.2986
18379Problem: Build failure without the profile feature.
18380Solution: Add #ifdef.
18381Files: src/vim9compile.c
18382
18383Patch 8.2.2987
18384Problem: Build failure with normal features.
18385Solution: Remove #define.
18386Files: src/vim9execute.c
18387
18388Patch 8.2.2988
18389Problem: Vim9: debugger test fails.
18390Solution: Get the debugger instructions when needed.
18391Files: src/vim.h, src/vim9.h
18392
18393Patch 8.2.2989
18394Problem: Vim9: memory leak when debugging a :def function.
18395Solution: Free the debug instructions.
18396Files: src/vim9compile.c
18397
18398Patch 8.2.2990
18399Problem: Jupyter Notebook files are not recognized.
18400Solution: Recognize *.ipynb. (closes #8375)
18401Files: runtime/filetype.vim, src/testdir/test_filetype.vim
18402
18403Patch 8.2.2991
18404Problem: Vim9: no completion for :vim9 and :legacy.
18405Solution: Expand argument as a command. (closes #8377)
18406Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
18407
18408Patch 8.2.2992
18409Problem: Vim9: completion for :disassemble is incomplete.
18410Solution: Recognize the "debug" and "profile" arguments.
18411Files: src/cmdexpand.c, src/vim9execute.c, src/proto/vim9execute.pro,
18412 src/vim.h, src/testdir/test_cmdline.vim
18413
18414Patch 8.2.2993
18415Problem: 'fileencodings' default value should depend on 'encoding'. (Gary
18416 Johnson)
18417Solution: When 'encoding' is "utf-8" use a different default value for
18418 'fileencodings'.
18419Files: src/mbyte.c, src/option.c, src/proto/option.pro,
18420 src/testdir/test_options.vim
18421
18422Patch 8.2.2994
18423Problem: Various code is not fully tested.
18424Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8378)
18425Files: src/testdir/test_excmd.vim, src/testdir/test_mapping.vim,
18426 src/testdir/test_modeline.vim, src/testdir/test_options.vim,
18427 src/testdir/test_paste.vim, src/vim9compile.c
18428
18429Patch 8.2.2995
18430Problem: Linker errors with dynamic Python 3.10.
18431Solution: Add a couple of library entries. (Zdenek Dohnal, closes #8381,
18432 closes #8356)
18433Files: src/if_python3.c
18434
18435Patch 8.2.2996
18436Problem: Vim9: when debugging cannot inspect local variables.
18437Solution: Make local variables available when debugging.
18438Files: src/vim9execute.c, src/proto/vim9execute.pro, src/vim9compile.c,
18439 src/vim9.h, src/debugger.c, src/testdir/test_debugger.vim
18440
18441Patch 8.2.2997 (after 8.2 2996)
18442Problem: Vim9: disassemble test fails.
18443Solution: Adjust expected output.
18444Files: src/testdir/test_vim9_disassemble.vim
18445
18446Patch 8.2.2998 (after 8.2 2996)
18447Problem: Vim9: disassemble test fails.
18448Solution: Add missing call to lookup_debug_var().
18449Files: src/evalvars.c
18450
18451Patch 8.2.2999
18452Problem: Balloon sometimes does not hide with GTK 3.
18453Solution: Also listen to GDK_LEAVE_NOTIFY. (Johannes Stezenbach)
18454Files: src/gui_beval.c
18455
18456Patch 8.2.3000
18457Problem: Vim9: warning for uninitialized variable.
18458Solution: Add initialization. (John Marriott)
18459Files: src/vim9compile.c
18460
18461Patch 8.2.3001
18462Problem: Vim9: memory leak when compilation fails.
18463Solution: Free the list of variable names.
18464Files: src/vim9compile.c
18465
18466Patch 8.2.3002
18467Problem: Vim doesn't abort on a fatal Tcl error.
18468Solution: Change emsg() to iemsg(). (Dominique Pellé, closes #8383)
18469Files: src/if_tcl.c
18470
18471Patch 8.2.3003
18472Problem: Vim9: closure compiled with wrong compile type.
18473Solution: Use COMPILE_TYPE() when calling a function. (closes #8384)
18474Files: src/vim9execute.c, src/testdir/test_debugger.vim
18475
18476Patch 8.2.3004
18477Problem: Vim9: error for missing colon given while skipping.
18478Solution: Do not give the error when skipping. (closes #8385)
18479Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
18480
18481Patch 8.2.3005
18482Problem: Vim9: using a void value does not give a proper error message.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018483Solution: Give a clear error message. (closes #8387)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018484Files: src/typval.c, src/vim9compile.c, src/vim9.h, src/vim9execute.c,
18485 src/testdir/test_vim9_expr.vim,
18486 src/testdir/test_vim9_disassemble.vim
18487
18488Patch 8.2.3006
18489Problem: Crash when echoing a value very early. (Naruhiko Nishino)
18490Solution: Do not use a NUL to truncate the message, make a copy.
18491 (closes #8388)
18492Files: src/message.c, src/testdir/test_startup.vim
18493
18494Patch 8.2.3007 (after 8.2.3005)
18495Problem: Vim9: test for void value fails.
18496Solution: Adjust expected error. Do not make a copy of void.
18497Files: src/typval.c, src/testdir/test_functions.vim
18498
18499Patch 8.2.3008 (after 8.2.3006)
18500Problem: Startup test may hang.
18501Solution: Add quit command in the script.
18502Files: src/testdir/test_startup.vim
18503
18504Patch 8.2.3009 (after 8.2.3006)
18505Problem: Startup test may hang.
18506Solution: Do not run the test in the GUI.
18507Files: src/testdir/test_startup.vim
18508
18509Patch 8.2.3010
18510Problem: Not enough testing for viminfo code.
18511Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8390)
18512Files: src/register.c, src/testdir/test_fileformat.vim,
18513 src/testdir/test_smartindent.vim, src/testdir/test_viminfo.vim
18514
18515Patch 8.2.3011
18516Problem: Vim9: cannot get argument values during debugging.
18517Solution: Lookup names in the list of arguments. Put debug instruction
18518 halfway for command.
18519Files: src/vim9compile.c, src/vim9execute.c,
18520 src/testdir/test_debugger.vim
18521
18522Patch 8.2.3012
18523Problem: When 'rightleft' is set the line number is sometimes drawn
18524 reversed.
18525Solution: Adjust how space is handled. (Christian Brabandt, closes #8389,
18526 closes #8391)
18527Files: src/drawline.c, src/testdir/test_number.vim
18528
18529Patch 8.2.3013
18530Problem: Vim: when debugging only the first line of a command using line
18531 continuation is displayed.
18532Solution: Find the next command and concatenate lines until that one.
18533 (closes #8392)
18534Files: src/vim9execute.c, src/testdir/test_debugger.vim
18535
18536Patch 8.2.3014
18537Problem: Coverity warns for freeing static string.
18538Solution: Do not assign static string to pointer. (Dominique Pellé,
18539 closes #8397)
18540Files: src/vim9execute.c
18541
18542Patch 8.2.3015
18543Problem: Vim9: Assigning to @# requires a string. (Naohiro Ono)
18544Solution: Accent a number or a string. (closes #8396)
18545Files: src/vim9compile.c, src/vim9execute.c, src/globals.h,
18546 src/testdir/test_vim9_assign.vim
18547
18548Patch 8.2.3016
18549Problem: Confusing error when expression is followed by comma.
18550Solution: Give a different error for trailing text. (closes #8395)
18551Files: src/eval.c, src/testdir/test_let.vim,
18552 src/testdir/test_eval_stuff.vim, src/testdir/test_vim9_expr.vim,
18553 src/testdir/test_vim9_script.vim, src/testdir/test_viminfo.vim,
18554 src/testdir/test_vimscript.vim
18555
18556Patch 8.2.3017
18557Problem: Vim9: debugger shows too many lines.
18558Solution: Truncate at a comment, "enddef", etc. (closes #8392)
18559Files: src/vim9execute.c, src/testdir/test_debugger.vim
18560
18561Patch 8.2.3018
18562Problem: Formatting using quickfixtextfunc is lost when updating location
18563 lists for different buffers. (Yorick Peterse)
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018564Solution: Use the right window for the location list. (Yegappan Lakshmanan,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018565 closes #8400, closes #8403)
18566Files: src/quickfix.c, src/testdir/test_quickfix.vim
18567
18568Patch 8.2.3019
18569Problem: Location list only has the start position.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018570Solution: Make it possible to add an end position. (thinca, closes #8393)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018571Files: runtime/doc/eval.txt, src/quickfix.c,
18572 src/testdir/dumps/Test_quickfix_cwindow_1.dump,
18573 src/testdir/dumps/Test_quickfix_cwindow_2.dump,
18574 src/testdir/test_quickfix.vim, src/testdir/test_tagjump.vim,
18575 src/testdir/test_vim9_expr.vim
18576
18577Patch 8.2.3020
18578Problem: Unreachable code.
18579Solution: Remove the code. (closes #8406)
18580Files: src/ex_docmd.c
18581
18582Patch 8.2.3021
18583Problem: Spaces allowed between option name and "!", "?", etc.
18584Solution: Disallow spaces in Vim9 script, it was not documented.
18585 (closes #8408)
18586Files: src/option.c, src/testdir/test_vim9_script.vim
18587
18588Patch 8.2.3022
18589Problem: Available encryption methods are not strong enough.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018590Solution: Add initial support for xchacha20. (Christian Brabandt,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018591 closes #8394)
18592Files: .github/workflows/ci.yml, runtime/doc/eval.txt,
18593 runtime/doc/options.txt, runtime/doc/various.txt,
18594 src/INSTALLpc.txt, src/Make_cyg_ming.mak, src/Make_mvc.mak,
18595 src/auto/configure, src/blowfish.c, src/bufwrite.c,
18596 src/config.h.in, src/configure.ac, src/crypt.c, src/crypt_zip.c,
18597 src/errors.h, src/evalfunc.c, src/feature.h, src/fileio.c,
18598 src/memline.c, src/option.c, src/optionstr.c,
18599 src/proto/blowfish.pro, src/proto/crypt.pro,
18600 src/proto/crypt_zip.pro, src/structs.h,
18601 src/testdir/samples/crypt_sodium_invalid.txt,
18602 src/testdir/test_crypt.vim, src/undo.c, src/version.c
18603
18604Patch 8.2.3023
18605Problem: Vim9: arguments for execute() not checked at compile time.
18606Solution: Add a function to check the argument types.
18607Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
18608
18609Patch 8.2.3024 (after 8.2.3023)
18610Problem: execute() function test fails.
18611Solution: Adjust test for different error.
18612Files: src/testdir/test_execute_func.vim
18613
18614Patch 8.2.3025
18615Problem: Not enough tests for quickfix end_col and end_lnum.
18616Solution: Add a few more test cases. (Shane-XB-Qian, closes #8409)
18617Files: src/testdir/test_quickfix.vim
18618
18619Patch 8.2.3026
18620Problem: Vim9: cannot set breakpoint in compiled function.
18621Solution: Check for breakpoint when calling a function.
18622Files: src/vim9execute.c, src/structs.h, src/vim.h, src/vim9.h,
18623 src/debugger.c, src/testdir/test_debugger.vim
18624
18625Patch 8.2.3027
18626Problem: Vim9: breakpoint in compiled function not always checked.
18627Solution: Check for breakpoint when calling compiled function from compiled
18628 function.
18629Files: src/vim9execute.c, src/testdir/test_debugger.vim
18630
18631Patch 8.2.3028
18632Problem: GUI mouse events not tested.
18633Solution: Add test_gui_mouse_event(). Add mouse tests. Also add a few
18634 viminfo tests. (Yegappan Lakshmanan, closes #8407)
18635Files: runtime/doc/eval.txt, runtime/doc/testing.txt,
18636 runtime/doc/usr_41.txt, src/evalfunc.c, src/proto/testing.pro,
18637 src/testdir/test_gui.vim, src/testdir/test_viminfo.vim,
18638 src/testing.c
18639
18640Patch 8.2.3029
18641Problem: Vim9: crash when using operator and list unpack assignment.
18642 (Naohiro Ono)
18643Solution: Get variable value before operation. (closes #8416)
18644Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/ex_docmd.c,
18645 src/testdir/test_vim9_assign.vim,
18646 src/testdir/test_vim9_disassemble.vim
18647
18648Patch 8.2.3030
18649Problem: Coverity reports a memory leak.
18650Solution: Fix the leak and a few typos. (Dominique Pellé, closes #8418)
18651Files: src/crypt.c, src/errors.h
18652
18653Patch 8.2.3031
18654Problem: No error if a function name starts with an underscore. (Naohiro
18655 Ono)
18656Solution: In Vim9 script disallow a function name starting with an
18657 underscore, as is mentioned in the help. (closes #8414)
18658Files: src/userfunc.c, src/testdir/test_vim9_func.vim
18659
18660Patch 8.2.3032
18661Problem: Build problems with MSVC, other crypt issues with libsodium.
18662Solution: Adjust MSVC makefile. Disable swap file only when 'key' is set.
18663 Adjust error message used when key is wrong. Fix Coverity issues.
18664 (Christian Brabandt, closes #8420, closes #8411)
18665Files: src/Make_mvc.mak, src/crypt.c, src/errors.h, src/fileio.c,
18666 src/memline.c, src/proto/crypt.pro
18667
18668Patch 8.2.3033
18669Problem: No error when using alpha delimiter with :global.
18670Solution: Check the delimiter like with :substitute. (closes #8415)
18671Files: src/ex_cmds.c, src/testdir/test_global.vim
18672
18673Patch 8.2.3034
18674Problem: Installing packages on github CI sometimes fails.
18675Solution: Update package information first. (Christian Brabandt,
18676 closes #8432)
18677Files: .github/workflows/ci.yml
18678
18679Patch 8.2.3035
18680Problem: Vim9: crash when calling :def function with partial and return
18681 type is not set.
18682Solution: When the return type is not set handle like the return type is
18683 unknown. (closes #8422)
18684Files: src/vim9type.c, src/testdir/test_vim9_func.vim
18685
18686Patch 8.2.3036
18687Problem: Vim9: builtin function arguments not checked at compile time.
18688Solution: Add more argument type specs. Check arguments to test_setmouse()
18689 and test_gui_mouse_event(). (Yegappan Lakshmanan, closes #8425)
18690Files: src/evalfunc.c, src/testdir/test_assert.vim,
18691 src/testdir/test_gui.vim, src/testdir/test_popupwin.vim,
18692 src/testdir/test_vim9_builtin.vim, src/testing.c
18693
18694Patch 8.2.3037
18695Problem: Configure reports libcanberra when checking for libsodium.
18696Solution: Adjust the message. (Ozaki Kiichi, closes #8435)
18697Files: src/configure.ac, src/auto/configure
18698
18699Patch 8.2.3038
18700Problem: Amiga built-in version string doesn't include build date.
18701Solution: Add the build date if available. (Ola Söder, closes #8437)
18702Files: src/os_amiga.c
18703
18704Patch 8.2.3039
18705Problem: Vim9: breakpoint at a comment line does not work.
18706Solution: Add the comment line number to the debug instruction.
18707 (closes #8429)
18708Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
18709 src/testdir/test_debugger.vim,
18710 src/testdir/test_vim9_disassemble.vim
18711
18712Patch 8.2.3040
18713Problem: GUI: dropping files not tested.
18714Solution: Add test_gui_drop_files() and tests. (Yegappan Lakshmanan,
18715 closes #8434)
18716Files: runtime/doc/eval.txt, runtime/doc/testing.txt,
18717 runtime/doc/usr_41.txt, src/evalfunc.c, src/gui.c,
18718 src/proto/testing.pro, src/testdir/test_gui.vim, src/testing.c
18719
18720Patch 8.2.3041
18721Problem: Detecting if the process of a swap file is running fails if the
18722 process is owned by another user.
18723Solution: Check for the ESRCH error. (closes #8436)
18724Files: src/os_unix.c
18725
18726Patch 8.2.3042 (after 8.2.3041)
18727Problem: Swap file test fails.
18728Solution: Check for a very high process ID instead of one, which should be
18729 running.
18730Files: src/testdir/test_swap.vim
18731
18732Patch 8.2.3043
18733Problem: Amiga: cannot get the shell size on MorphOS and AROS.
18734Solution: Use control sequences. (Ola Söder, closes #8438)
18735Files: src/os_amiga.c
18736
18737Patch 8.2.3044
18738Problem: Amiga MorphOS and AROS: process ID is not valid.
18739Solution: Use FindTask to return something which is unique to all processes.
18740 (Ola Söder, closes #8444)
18741Files: src/os_amiga.c
18742
18743Patch 8.2.3045
18744Problem: Minor typos.
18745Solution: Fix the typos. (Christian Brabandt, closes #8441)
18746Files: src/VisVim/README_VisVim.txt, src/evalfunc.c, src/testdir/vim9.vim
18747
18748Patch 8.2.3046
18749Problem: Amiga MorphOS: Term mode is set using DOS packets.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018750Solution: Use the same way of setting term mode on all next gen Amiga-like
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018751 systems. (Ola Söder, closes #8445)
18752Files: src/os_amiga.c
18753
18754Patch 8.2.3047
18755Problem: Increment and decrement don't allow for next command.
18756Solution: Allow for comment and next command. (closes #8442)
18757Files: src/ex_cmds.h, src/vim9script.c, src/testdir/test_vim9_assign.vim
18758
18759Patch 8.2.3048
18760Problem: Strange error for white space after ++ command.
18761Solution: Check for white space explicitly. (closes #8440)
18762Files: src/vim9script.c, src/errors.h, src/vim9compile.c,
18763 src/testdir/test_vim9_assign.vim
18764
18765Patch 8.2.3049
18766Problem: JSON patch file not recognized.
18767Solution: Recognize json-patch as json. (Kevin Locke, closes #8450)
18768Files: runtime/filetype.vim, src/testdir/test_filetype.vim
18769
18770Patch 8.2.3050
18771Problem: Cannot recognize elixir files.
18772Solution: Recognize Elixir-specific files. Check if an .ex file is Euphoria
18773 or Elixir. (Austin Gatlin, closes #8401, closes #8446)
18774Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
18775 src/testdir/test_filetype.vim
18776
18777Patch 8.2.3051
18778Problem: Vim9: for loop with one list variable does not work.
18779Solution: Use a separate flag for unpacking a list. (closes #8452)
18780Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
18781
18782Patch 8.2.3052
18783Problem: Vim9: "legacy call" does not work.
18784Solution: Do not skip "call" after "legacy". (closes #8454)
18785Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
18786
18787Patch 8.2.3053
18788Problem: Vim9: cannot assign to @@ in :def function
18789Solution: Handle '@' like '"'. (closes #8456)
18790Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
18791
18792Patch 8.2.3054
18793Problem: Vim9: unpack assignment using "_" after semicolon fails.
18794Solution: Drop the expression result. (closes #8453)
18795Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_assign.vim
18796
18797Patch 8.2.3055
18798Problem: Strange error for assigning to "x.key" on non-dictionary.
18799Solution: Add a specific error message. (closes #8451)
18800Files: src/eval.c, src/errors.h, src/testdir/test_vim9_assign.vim,
18801 src/testdir/test_listdict.vim, src/testdir/test_let.vim
18802
18803Patch 8.2.3056
18804Problem: Vim9: using default value in lambda gives confusing error.
18805Solution: Pass "default_args" on the first pass to get the arguments.
18806 (closes #8455)
18807Files: src/userfunc.c, src/testdir/test_vim9_func.vim
18808
18809Patch 8.2.3057
18810Problem: Vim9: debugger test fails with normal features and +terminal.
18811 (Dominique Pellé)
18812Solution: Adjust the INSTRUCTIONS macro. (closes #8460)
18813Files: src/vim9.h
18814
18815Patch 8.2.3058 (after 8.2.3056)
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018816Problem: Vim9: cannot use ternary operator in parentheses.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018817Solution: Do not use "==" for a default argument value. (closes #8462)
18818Files: src/userfunc.c, src/testdir/test_vim9_func.vim
18819
18820Patch 8.2.3059 (after 8.2.3056)
18821Problem: Vim9: memory leak when using lambda.
18822Solution: Do not store the default value strings when skipping.
18823Files: src/userfunc.c
18824
18825Patch 8.2.3060 (after 8.2.3056)
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018826Problem: Vim9: cannot use ternary operator in parentheses.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018827Solution: Do not use "=~" for a default argument value. (closes #8462)
18828Files: src/userfunc.c, src/testdir/test_vim9_func.vim
18829
18830Patch 8.2.3061
18831Problem: Testing the shell option is incomplete and spread out.
18832Solution: Move shell tests to one file and increase coverage. (Yegappan
18833 Lakshmanan, closes #8464)
18834Files: src/testdir/Make_all.mak, src/testdir/test_functions.vim,
18835 src/testdir/test_options.vim, src/testdir/test_shell.vim,
18836 src/testdir/test_system.vim
18837
18838Patch 8.2.3062
18839Problem: Internal error when adding several text properties.
18840Solution: Do not handle text properties when deleting a line for splitting a
18841 data block. (closes #8466)
18842Files: src/structs.h, src/memline.c, src/testdir/test_textprop.vim
18843
18844Patch 8.2.3063
18845Problem: Crash when switching 'cryptmethod' to xchaha20 with an existing
18846 undo file. (Martin Tournoij)
18847Solution: Disable reading undo file when decoding can't be done inplace.
18848 (issue #8467)
18849Files: src/fileio.c, src/bufwrite.c
18850
18851Patch 8.2.3064
18852Problem: Vim9: in script cannot set item in uninitialized list.
18853Solution: When a list is NULL allocate an empty one. (closes #8461)
18854Files: src/eval.c, src/testdir/test_vim9_assign.vim
18855
18856Patch 8.2.3065
18857Problem: Vim9: error when sourcing script twice and reusing a function
18858 name.
18859Solution: Check if the function is dead. (closes #8463)
18860Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
18861
18862Patch 8.2.3066
18863Problem: Vim9: debugging lambda does not work.
18864Solution: Use the compile type of the function when compiling a lambda.
18865 (closes #8412)
18866Files: src/vim9compile.c, src/testdir/test_debugger.vim
18867
18868Patch 8.2.3067
18869Problem: Building fails with Athena. (Elimar Riesebieter)
18870Solution: Adjust #ifdefs and add the 'drop_file' feature.
18871Files: src/evalfunc.c, src/testing.c, src/testdir/test_gui.vim
18872
18873Patch 8.2.3068
18874Problem: Unicode tables are slightly outdated.
18875Solution: Update the tables for Unicode release 13. (Christian Brabandt
18876 closes #8430)
18877Files: runtime/tools/unicode.vim, src/mbyte.c
18878
18879Patch 8.2.3069
18880Problem: Error messages are spread out.
18881Solution: Move some error messages to errors.h. Use clearer names.
18882Files: src/errors.h, src/globals.h, src/arglist.c, src/buffer.c,
18883 src/channel.c, src/eval.c, src/evalfunc.c, src/evalvars.c,
18884 src/evalwindow.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c,
18885 src/filepath.c, src/fold.c, src/getchar.c, src/indent.c,
18886 src/list.c, src/map.c, src/mark.c, src/normal.c, src/ops.c,
18887 src/optionstr.c, src/popupwin.c, src/quickfix.c, src/spellfile.c,
18888 src/textprop.c, src/typval.c, src/undo.c, src/userfunc.c,
18889 src/vim9compile.c, src/window.c
18890
18891Patch 8.2.3070
18892Problem: Not enough testing for shell use.
18893Solution: Add a bit more testing. (Yegappan Lakshmanan, closes #8469)
18894Files: src/testdir/test_shell.vim, src/testdir/test_startup.vim
18895
18896Patch 8.2.3071
18897Problem: Shell options are not set properly for PowerShell.
18898Solution: Use better option defaults. (Mike Williams, closes #8459)
18899Files: runtime/doc/eval.txt, runtime/doc/options.txt,
18900 runtime/doc/os_dos.txt, src/fileio.c, src/misc2.c, src/option.c,
18901 src/os_win32.c, src/testdir/test_shell.vim
18902
18903Patch 8.2.3072
18904Problem: The "zy" command does not work well when 'virtualedit' is set to
18905 "block". (Johann Höchtl)
18906Solution: Make endspaces zero. (Christian Brabandt, closes #8468,
18907 closes #8448)
18908Files: src/register.c, src/testdir/test_visual.vim
18909
18910Patch 8.2.3073
18911Problem: When cursor is moved for block append wrong text is inserted.
18912Solution: Calculate an offset. (Christian Brabandt, closes #8433,
18913 closes #8288)
18914Files: src/ops.c, src/testdir/test_blockedit.vim,
18915 src/testdir/test_visual.vim
18916
18917Patch 8.2.3074
18918Problem: popup_atcursor() uses wrong position with concealing.
18919Solution: Keep w_wcol in conceal_check_cursor_line(). (closes #8476)
18920Files: src/screen.c, src/proto/screen.pro, src/normal.c, src/edit.c,
18921 src/ui.c, src/testdir/test_popupwin.vim,
18922 src/testdir/dumps/Test_popupwin_atcursor_pos.dump
18923
18924Patch 8.2.3075
18925Problem: Xxd always reports an old version string. (Ă…smund Ervik)
18926Solution: Update the version string with the last known change date.
18927 (JĂĽrgen Weigert, closes #8475)
18928Files: src/xxd/xxd.c, src/testdir/test_xxd.vim
18929
18930Patch 8.2.3076
18931Problem: Vim9: using try in catch block causes a hang.
18932Solution: Save and restore the ec_in_catch flag. (closes #8478)
18933Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
18934
18935Patch 8.2.3077
18936Problem: Vim9: an error in a catch block is not reported.
18937Solution: Put the "in catch" flag in the try stack. (closes #8478)
18938Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
18939
18940Patch 8.2.3078
18941Problem: Vim9: profile test fails.
18942Solution: Make throw in :catch jump to :finally.
18943Files: src/vim9compile.c, src/vim9execute.c,
18944 src/testdir/test_vim9_script.vim
18945
18946Patch 8.2.3079
18947Problem: Powershell core not supported by default.
18948Solution: Set option defaults for "pwsh". (Mike Williams, closes #8481)
18949Files: runtime/doc/eval.txt, runtime/doc/options.txt,
18950 runtime/doc/os_dos.txt, runtime/doc/os_win32.txt, src/fileio.c,
18951 src/misc2.c, src/option.c, src/os_win32.c,
18952 src/testdir/test_shell.vim
18953
18954Patch 8.2.3080
18955Problem: Recover test fails on 32bit systems. (Ondřej Súkup)
18956Solution: Detect 32/64 bit systems. (Yegappan Lakshmanan, closes #8485,
18957 closes #8479)
18958Files: src/testdir/test_recover.vim
18959
18960Patch 8.2.3081
18961Problem: Cannot catch errors in a channel command.
18962Solution: Instead of skipping the error make it silent. (closes #8477)
18963Files: src/channel.c
18964
18965Patch 8.2.3082
18966Problem: A channel command "echoerr" does not show anything.
18967Solution: Do not use silent errors when using an "echoerr" command.
18968 (closes #8494)
18969Files: src/channel.c, src/testdir/test_channel.py,
18970 src/testdir/test_channel.vim
18971
18972Patch 8.2.3083
18973Problem: Crash when passing null string to charclass().
18974Solution: Bail out when string pointer is NULL. (Christian Brabandt,
18975 closes #8498, closes #8260)
18976Files: src/mbyte.c, src/testdir/test_functions.vim
18977
18978Patch 8.2.3084
18979Problem: Vim9: builtin function argument types are not checked at compile
18980 time.
18981Solution: Add argument types. (Yegappan Lakshmanan, closes #8503)
18982Files: src/evalfunc.c, src/testdir/test_functions.vim,
18983 src/testdir/test_glob2regpat.vim,
18984 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim
18985
18986Patch 8.2.3085
18987Problem: JSONC files are not recognized.
18988Solution: Recognize .jsonc files. (Izhak Jakov, closes #8500)
18989Files: runtime/filetype.vim, src/testdir/test_filetype.vim
18990
18991Patch 8.2.3086
18992Problem: Vim9: breakpoint on "for" does not work.
18993Solution: Use the right line number in ISN_DEBUG. (closes #8486)
18994Files: src/vim9compile.c, src/testdir/test_debugger.vim
18995
18996Patch 8.2.3087
18997Problem: Gemtext files are not recognized.
18998Solution: Recognize .gmi and .gemini files. (closes #8427)
18999Files: runtime/filetype.vim, src/testdir/test_filetype.vim
19000
19001Patch 8.2.3088
19002Problem: With 'virtualedit' set to "block" Visual highlight is wrong after
19003 using "$". (Marco Trosi)
19004Solution: Do not set w_old_cursor_lcol to MAXCOL. (closes #8495)
19005Files: src/drawscreen.c, src/testdir/test_visual.vim,
19006 src/testdir/dumps/Test_visual_block_with_virtualedit.dump
19007
19008Patch 8.2.3089
19009Problem: Garbage collection has useless code.
19010Solution: Bail out when aborting. (closes #8504)
19011Files: src/userfunc.c
19012
19013Patch 8.2.3090
19014Problem: With concealing enabled and indirectly closing a fold the cursor
19015 may be somewhere in a folded line.
19016Solution: Recompute the cursor position when the cursor line can be
19017 concealed. (closes #8480)
19018Files: src/drawscreen.c
19019
19020Patch 8.2.3091
19021Problem: Vim9: default argument expression cannot use previous argument
19022Solution: Correct argument index. (closes #8496)
19023Files: src/vim9compile.c, src/structs.h, src/testdir/test_vim9_func.vim
19024
19025Patch 8.2.3092
19026Problem: Vim9: builtin function test fails without the +channel feature.
19027Solution: Check the +channel feature is supported. (Dominique Pellé,
19028 closes #8507)
19029Files: runtime/doc/eval.txt, src/testdir/test_vim9_builtin.vim
19030
19031Patch 8.2.3093
19032Problem: tablabel_tooltip test fails with Athena. (Dominique Pellé)
19033Solution: Skip the test when using Athena. (closes #8508)
19034Files: src/testdir/test_gui.vim, src/testdir/check.vim
19035
19036Patch 8.2.3094
19037Problem: Test_popup_atcursor_pos() fails without the conceal feature.
19038Solution: Add a check for the conceal feature. (Dominique Pellé,
19039 closes #8505)
19040Files: src/testdir/test_popupwin.vim
19041
19042Patch 8.2.3095 (after 8.2.3088)
19043Problem: With 'virtualedit' set to "block" block selection is wrong after
19044 using "$". (Marco Trosi)
19045Solution: Compute the longest selected line. (closes #8495)
19046Files: src/drawscreen.c, src/testdir/test_visual.vim,
19047 src/testdir/dumps/Test_visual_block_with_virtualedit2.dump
19048
19049Patch 8.2.3096
19050Problem: Temp files remain after running tests.
19051Solution: Delete the right files. (Dominique Pellé, closes #8509)
19052Files: src/testdir/test_debugger.vim, src/testdir/test_lambda.vim,
19053 src/testdir/test_visual.vim
19054
19055
19056Patch 8.2.3097
19057Problem: Crash when using "quit" at recovery prompt and autocommands are
19058 triggered.
19059Solution: Block autocommands when creating an empty buffer to use as the
19060 current buffer. (closes #8506)
19061Files: src/buffer.c, src/testdir/test_swap.vim
19062
19063Patch 8.2.3098
19064Problem: Popup window test is flaky on MS-Windows with GUI.
19065Solution: Skip the check in this situation.
19066Files: src/testdir/test_popupwin.vim
19067
19068Patch 8.2.3099
19069Problem: Vim9: missing catch/finally not reported at script level.
19070Solution: Give an error. (closes #8487)
19071Files: src/structs.h, src/ex_eval.c, src/testdir/test_vim9_script.vim
19072
19073Patch 8.2.3100
19074Problem: Vim9: no error when using type with unknown number of arguments.
19075Solution: Do not ignore argument count of -1. (closes #8492)
19076Files: src/vim9type.c, src/evalfunc.c, src/proto/evalfunc.pro,
19077 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_expr.vim,
19078 src/testdir/test_vim9_func.vim
19079
19080Patch 8.2.3101
19081Problem: Missing function prototype for vim_round().
19082Solution: Add the prototype.
19083Files: src/proto/float.pro
19084
19085Patch 8.2.3102 (after 8.2.3097)
19086Problem: Test for crash fix does not fail without the fix.
19087Solution: Adjust the test sequence. (closes #8506)
19088Files: src/testdir/test_swap.vim
19089
19090Patch 8.2.3103 (after 8.2.3102)
19091Problem: Swap test may fail on some systems when jobs take longer to exit.
19092Solution: Use different file names.
19093Files: src/testdir/test_swap.vim
19094
19095Patch 8.2.3104
19096Problem: Vim9: unspecified function type causes type error.
19097Solution: Don't check type when min_argcount is negative. (issue #8492)
19098Files: src/globals.h, src/vim9type.c, src/testdir/test_vim9_assign.vim
19099
19100Patch 8.2.3105
19101Problem: Vim9: type of partial is wrong when it has arguments.
19102Solution: Subtract arguments from the count. (issue #8492)
19103Files: src/vim9type.c, src/userfunc.c, src/testdir/test_vim9_assign.vim
19104
19105Patch 8.2.3106
19106Problem: Vim9: confusing line number reported for error.
19107Solution: Use the start line number for the store instruction.
19108 (closes #8488)
19109Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
19110
19111Patch 8.2.3107
19112Problem: Vim9: error for arguments while type didn't specify arguments.
19113Solution: Do not update that type to check when no argument count is
19114 specified. (closes #8492)
19115Files: src/userfunc.c, src/testdir/test_vim9_assign.vim
19116
19117Patch 8.2.3108
19118Problem: Test for remote_foreground() fails. (Elimar Riesebieter)
19119Solution: Check that $DISPLAY is set. (Christian Brabandt)
19120Files: src/testdir/check.vim, src/testdir/test_clientserver.vim,
19121 src/testdir/test_vim9_builtin.vim
19122
19123Patch 8.2.3109
19124Problem: Check for $DISPLAY never fails.
19125Solution: Use eval().
19126Files: src/testdir/check.vim
19127
19128Patch 8.2.3110
Bram Moolenaar47c532e2022-03-19 15:18:53 +000019129Problem: A pattern that matches the cursor position is a bit complicated.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019130Solution: Use a dot to indicate the cursor line and column. (Christian
19131 Brabandt, closes #8497, closes #8179)
19132Files: runtime/doc/pattern.txt, src/errors.h, src/regexp_bt.c,
19133 src/regexp_nfa.c, src/testdir/test_regexp_latin.vim
19134
19135Patch 8.2.3111
19136Problem: Vim9: confusing error with extra whitespace before colon.
19137Solution: Check for colon after white space. (closes #8513)
19138Files: src/eval.c, src/vim9compile.c, src/testdir/test_vim9_script.vim
19139
19140Patch 8.2.3112 (after 8.2.3090)
19141Problem: With concealing enabled and indirectly closing a fold the cursor
19142 may be somewhere in a folded line when it is not on the first line
19143 of the fold.
Bram Moolenaar47c532e2022-03-19 15:18:53 +000019144Solution: Check if the cursor is somewhere in the folded text.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019145Files: src/drawscreen.c
19146
19147Patch 8.2.3113
19148Problem: No error when for loop variable shadows script variable.
19149Solution: Check for the error. (closes #8512)
19150Files: src/eval.c, src/testdir/test_vim9_script.vim
19151
19152Patch 8.2.3114
19153Problem: Amiga-like systems: build error checking for running process
19154Solution: Only build swapfile_process_running() on systems where it is
19155 actually used. (Ola Söder, closes #8519)
19156Files: src/memline.c
19157
19158Patch 8.2.3115
19159Problem: Coverity complains about free_wininfo() use.
19160Solution: Add a condition that "wip2" is not equal to "wip". (Neovim #14996)
19161Files: src/window.c
19162
19163Patch 8.2.3116
19164Problem: Vim9: crash when debugging a function with line continuation.
19165Solution: Check for a NULL pointer. (closes #8521)
19166Files: src/vim9execute.c, src/testdir/test_debugger.vim
19167
19168Patch 8.2.3117
19169Problem: Vim9: type not properly checked in for loop.
19170Solution: Have items() return a list of lists. Add runtime type checks.
19171 (closes #8515)
19172Files: src/evalfunc.c, src/globals.h, src/vim9compile.c,
19173 src/testdir/test_vim9_script.vim
19174
19175Patch 8.2.3118
19176Problem: Vim9: "any" type not handled correctly in for loop.
19177Solution: Change compile time check into runtime check. (closes #8516)
19178Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
19179
19180Patch 8.2.3119
19181Problem: Compiler warning for unused argument.
19182Solution: Add UNUSED.
19183Files: src/evalfunc.c
19184
19185Patch 8.2.3120
19186Problem: Crypt with sodium test fails on MS-Windows.
19187Solution: Make the tests pass. (closes #8428)
19188Files: src/testdir/test_crypt.vim
19189
19190Patch 8.2.3121
19191Problem: 'listchars' "exceeds" character appears in foldcolumn. Window
19192 separator is missing. (Leonid V. Fedorenchik)
19193Solution: Only draw the "exceeds" character in the text area. Break the
19194 loop when not drawing the text. (closes #8524)
19195Files: src/drawline.c, src/testdir/test_listchars.vim,
19196 src/testdir/dumps/Test_listchars_01.dump,
19197 src/testdir/dumps/Test_listchars_02.dump,
19198 src/testdir/dumps/Test_listchars_03.dump,
19199 src/testdir/dumps/Test_listchars_04.dump,
19200 src/testdir/dumps/Test_listchars_05.dump
19201
19202Patch 8.2.3122
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019203Problem: With 'nowrap' cursor position is unexpected in narrow window.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019204 (Leonid V. Fedorenchik)
19205Solution: Put cursor on the last non-empty line. (closes #8525)
19206Files: src/move.c, src/testdir/test_listchars.vim,
19207 src/testdir/dumps/Test_listchars_06.dump,
19208 src/testdir/dumps/Test_listchars_07.dump
19209
19210Patch 8.2.3123
19211Problem: Vim9: confusing error when using white space after option, before
19212 one of "!&<".
19213Solution: Give a specific error. (issue #8408)
19214Files: src/errors.h, src/option.c, src/testdir/test_vim9_script.vim
19215
19216Patch 8.2.3124
19217Problem: Vim9: no error for white space between option and "=9".
19218Solution: Check for extraneous white space. (issue #8408)
19219Files: src/option.c, src/testdir/test_vim9_script.vim
19220
19221Patch 8.2.3125
19222Problem: Variables are set but not used.
19223Solution: Move the declarations to the block where they are used.
19224 (closes #8527)
19225Files: src/regexp_nfa.c
19226
19227Patch 8.2.3126
19228Problem: Vim9: for loop error reports wrong line number.
19229Solution: Save and restore the line number when evaluating the expression.
19230 (closes #8514)
19231Files: src/ex_eval.c, src/testdir/test_vim9_script.vim
19232
19233Patch 8.2.3127
19234Problem: Vim9: no error when adding number to list of string.
19235Solution: Check the value type. (closes #8529)
19236Files: src/list.c, src/testdir/test_vim9_builtin.vim
19237
19238Patch 8.2.3128
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019239Problem: Vim9: uninitialized list does not get type checked.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019240Solution: Set the type when initializing the variable. (closes #8529)
19241Files: src/eval.c, src/evalvars.c, src/vim9script.c,
19242 src/userfunc.c, src/proto/vim9script.pro,
19243 src/testdir/test_vim9_builtin.vim
19244
19245Patch 8.2.3129
19246Problem: Vim9: imported uninitialized list does not get type checked.
19247Solution: Get type from imported variable.
19248Files: src/eval.c, src/evalvars.c, src/vim9script.c,
19249 src/proto/vim9script.pro, src/userfunc.c,
19250 src/testdir/test_vim9_script.vim
19251
19252Patch 8.2.3130
19253Problem: Vim9: import test fails.
19254Solution: Rename directory back to "import", use "p" to avoid an error when
19255 the directory already exists.
19256Files: src/testdir/test_vim9_script.vim
19257
19258Patch 8.2.3131
19259Problem: MS-Windows: ipv6 channel test is very flaky in the GUI.
19260Solution: Skip the test.
19261Files: src/testdir/test_channel.vim
19262
19263Patch 8.2.3132
19264Problem: Compiler warns for size_t to colnr_T conversion. (Randall W.
19265 Morris)
19266Solution: Add a type cast.
19267Files: src/drawscreen.c
19268
19269Patch 8.2.3133
19270Problem: Vim9: memory leak when add() fails.
19271Solution: Allocate listitem_T after type check.
19272Files: src/list.c
19273
19274Patch 8.2.3134
19275Problem: Crash when using typename() on a function reference. (Naohiro Ono)
19276Solution: Initialize pointer to NULL. (closes #8531)
19277Files: src/vim9type.c, src/testdir/test_vim9_builtin.vim
19278
19279Patch 8.2.3135
19280Problem: Vim9: builtin function arguments not checked at compile time.
19281Solution: Add more type checks. (Yegappan Lakshmanan, closes #8539)
19282Files: src/channel.c, src/errors.h, src/evalfunc.c, src/proto/typval.pro,
19283 src/terminal.c, src/testdir/test_search.vim,
19284 src/testdir/test_textprop.vim, src/testdir/test_vim9_builtin.vim,
19285 src/testing.c, src/textprop.c, src/typval.c
19286
19287Patch 8.2.3136
19288Problem: No test for E187 and "No swap file".
19289Solution: Add a test. (Dominique Pellé, closes #8540)
19290Files: src/testdir/test_cd.vim, src/testdir/test_swap.vim
19291
19292Patch 8.2.3137
19293Problem: Vim9: no error when a line only has a variable name.
19294Solution: Give an error when an expression is evaluated without an effect.
19295 (closes #8538)
19296Files: src/ex_eval.c, src/errors.h, src/vim9compile.c,
19297 src/testdir/test_vim9_script.vim, src/testdir/test_vim9_expr.vim,
19298 src/testdir/test_vim9_func.vim
19299
19300Patch 8.2.3138 (after 8.2.3137)
19301Problem: Debugger test fails.
19302Solution: Adjust eval command.
19303Files: src/testdir/test_debugger.vim
19304
19305Patch 8.2.3139
19306Problem: Functions for string manipulation are spread out.
19307Solution: Move string related functions to a new source file. (Yegappan
19308 Lakshmanan, closes #8470)
19309Files: Filelist, src/Make_ami.mak, src/Make_cyg_ming.mak,
19310 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
19311 src/eval.c, src/evalfunc.c, src/mbyte.c, src/misc1.c, src/misc2.c,
19312 src/proto.h, src/proto/eval.pro, src/proto/evalfunc.pro,
19313 src/proto/mbyte.pro, src/proto/misc1.pro, src/proto/misc2.pro,
19314 src/proto/strings.pro, src/strings.c
19315
19316Patch 8.2.3140 (after 8.2.3131)
19317Problem: MS-Windows: ipv6 channel test is very flaky also without the GUI.
19318Solution: Skip the test also without the GUI.
19319Files: src/testdir/test_channel.vim
19320
19321Patch 8.2.3141
19322Problem: No error when using :complete for :command without -nargs.
19323Solution: Give an error. (Martin Tournoij, closes #8544, closes #8541)
19324Files: src/usercmd.c, src/errors.h, src/testdir/test_usercommands.vim
19325
19326Patch 8.2.3142
19327Problem: Vim9: type check for has_key() argument is too strict.
19328Solution: Also allow for a number key argument. (closes #8542)
19329Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
19330
19331Patch 8.2.3143
19332Problem: Vim9: A lambda may be compiled with the wrong context if it is
19333 called from a profiled function.
19334Solution: Compile the lambda with and without profiling. (closes #8543)
19335Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
19336
19337Patch 8.2.3144
19338Problem: Vim9: no error when using an invalid value for a line number.
19339Solution: Give an error if the string value is not recognized.
19340 (closes #8536)
19341Files: src/errors.h, src/eval.c, src/testdir/test_vim9_builtin.vim
19342
19343Patch 8.2.3145
19344Problem: Vim9: profile test fails without profile feature.
19345Solution: Check the profile feature is present.
19346Files: src/testdir/test_vim9_script.vim
19347
19348Patch 8.2.3146
19349Problem: Vim9: line number wrong for :execute argument.
19350Solution: Use the line number of the :execute command itself. (closes #8537)
19351Files: src/eval.c, src/testdir/test_vim9_script.vim
19352
19353Patch 8.2.3147
19354Problem: Vim9: profiling does not work with a nested function.
19355Solution: Also compile a nested function without profiling. (closes #8543)
19356 Handle that compiling may cause the table of compiled functions to
19357 change.
19358Files: src/vim9compile.c, src/vim9execute.c,
19359 src/testdir/test_vim9_script.vim
19360
19361Patch 8.2.3148
19362Problem: Vim9: function arg type check does not handle base offset.
19363Solution: Take the base offset into account when checking builtin function
19364 argument types.
19365Files: src/evalfunc.c, src/vim9compile.c,
19366 src/testdir/test_vim9_builtin.vim
19367
19368Patch 8.2.3149 (after 8.2.3141)
19369Problem: Some plugins have a problem with the error check for using
19370 :command with -complete but without -nargs.
19371Solution: In legacy script only give a warning message.
19372Files: src/usercmd.c, src/message.c, src/proto/message.pro,
19373 src/testdir/test_usercommands.vim
19374
19375Patch 8.2.3150
19376Problem: Vim9: argument types are not checked at compile time.
19377Solution: Add more type checks. (Yegappan Lakshmanan, closes #8545)
19378Files: src/evalfunc.c, src/testing.c, src/testdir/test_vim9_builtin.vim
19379
19380Patch 8.2.3151
19381Problem: Vim9: profiling fails if nested function is also profiled.
19382Solution: Use the compile type from the outer function. (closes #8543)
19383Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
19384
19385Patch 8.2.3152
19386Problem: Vim9: accessing "s:" results in an error.
19387Solution: Do not try to lookup a script variable for "s:". (closes #8549)
19388Files: src/evalvars.c, src/testdir/test_vim9_expr.vim
19389
19390Patch 8.2.3153
19391Problem: URLs with a dash in the scheme are not recognized.
19392Solution: Allow for a scheme with a dash, but not at the start or end.
19393 (Tsuyoshi CHO, closes #8299)
19394Files: src/misc1.c, src/testdir/test_buffer.vim
19395
19396Patch 8.2.3154
19397Problem: Vim9: some type checks for builtin functions fail.
19398Solution: Correct the type checks. (Yegappan Lakshmanan, closes #8551,
19399 closes #8550)
19400Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
19401
19402Patch 8.2.3155
19403Problem: Some option related code not covered by tests.
19404Solution: Add a few test cases. (Dominique Pellé, closes #8552)
19405Files: src/testdir/test_options.vim, src/testdir/test_set.vim
19406
19407Patch 8.2.3156
19408Problem: Vim9: term_getansicolors() test fails without +termguicolors.
19409Solution: Add a check for the feature. (Dominique Pellé, closes #8555)
19410Files: src/testdir/test_vim9_builtin.vim
19411
19412Patch 8.2.3157
19413Problem: Crypt test may fail on MS-Windows.
19414Solution: Ignore "[unix]" in the file message. (Christian Brabandt,
19415 closes #8561)
19416Files: src/testdir/test_crypt.vim
19417
19418Patch 8.2.3158
19419Problem: Strange error message when using islocked() with a number.
19420 (Yegappan Lakshmanan)
19421Solution: Check that the name is empty.
19422Files: src/evalfunc.c, src/testdir/test_functions.vim
19423
19424Patch 8.2.3159
19425Problem: Cursor displayed in wrong position after deleting line.
19426Solution: When deleting lines do not approximate botline. (fixes #8559)
19427Files: src/change.c
19428
19429Patch 8.2.3160
19430Problem: 'breakindent' does not work well for bulleted and numbered lists.
19431Solution: Add the "list" entry to 'breakindentopt'. (Christian Brabandt,
19432 closes #8564, closes #1661)
19433Files: runtime/doc/options.txt, src/indent.c, src/structs.h,
19434 src/testdir/test_breakindent.vim
19435
19436Patch 8.2.3161
19437Problem: Vim9: no error when reltime() has invalid arguments.
19438Solution: Add an error. (closes #8562)
19439Files: src/time.c, src/testdir/test_vim9_builtin.vim
19440
19441Patch 8.2.3162
19442Problem: Vim9: argument types are not checked at compile time.
19443Solution: Add more type checks. (Yegappan Lakshmanan, closes #8560)
19444Files: runtime/doc/channel.txt, src/clientserver.c, src/cmdhist.c,
19445 src/errors.h, src/evalfunc.c, src/evalwindow.c, src/filepath.c,
19446 src/globals.h, src/popupwin.c, src/proto/typval.pro, src/sign.c,
19447 src/strings.c, src/terminal.c, src/testdir/test_normal.vim,
19448 src/testdir/test_reltime.vim, src/testdir/test_vim9_builtin.vim,
19449 src/testdir/test_vim9_expr.vim, src/testing.c, src/textprop.c,
19450 src/time.c, src/typval.c
19451
19452Patch 8.2.3163
19453Problem: Location list window may open a wrong file.
19454Solution: Also update the qf_ptr field. (Wei-Chung Wen, closes #8565,
19455 closes #8566)
19456Files: src/quickfix.c, src/testdir/test_quickfix.vim
19457
19458Patch 8.2.3164
19459Problem: MS-Windows: reported version lacks patchlevel, causing some update
19460 tools to update too often. (Klaus Frank)
19461Solution: Add the patchlevel to the version. (Christian Brabandt)
19462Files: src/dosinst.c
19463
19464Patch 8.2.3165
19465Problem: Vim9: in a || expression the error line number may be wrong.
19466Solution: Save and restore the line number when checking the type.
19467 (closes #8569)
19468Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
19469
19470Patch 8.2.3166
19471Problem: Vim9: nested autoload call error overruled by "Unknown error".
19472Solution: Check need_rethrow before giving an "Unknown error".
19473 (closes #8568)
19474Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
19475
19476Patch 8.2.3167
19477Problem: Get E12 in a job callback when searching for tags. (Andy Stewart)
19478Solution: Use the sandbox only for executing a command, not for searching.
19479 (closes #8511)
19480Files: src/tag.c
19481
19482Patch 8.2.3168
19483Problem: Vim9: type error for constant of type any.
19484Solution: Do add a runtime type check if a constant has type any.
19485 (closes #8570)
19486Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
19487
19488Patch 8.2.3169
19489Problem: Vim9: cannot handle nested inline function.
19490Solution: Check for nested inline function. (closes #8575)
19491Files: src/userfunc.c, src/testdir/test_vim9_func.vim,
19492 src/testdir/test_vim9_expr.vim
19493
19494Patch 8.2.3170
19495Problem: Illegal memory access in test.
19496Solution: Check pointer is not before the start of the line.
19497Files: src/userfunc.c
19498
19499Patch 8.2.3171
19500Problem: Another illegal memory access in test.
19501Solution: Check pointer is after the start of the line.
19502Files: src/userfunc.c
19503
19504Patch 8.2.3172
19505Problem: MzScheme test fails. (Christian Brabandt)
19506Solution: Correct function name.
19507Files: src/testdir/test_vim9_builtin.vim
19508
19509Patch 8.2.3173
19510Problem: Vim9: argument types are not checked at compile time.
19511Solution: Add more type checks. (Yegappan Lakshmanan, closes #8581)
19512Files: src/diff.c, src/errors.h, src/evalfunc.c, src/globals.h,
19513 src/job.c, src/proto/typval.pro, src/strings.c, src/terminal.c,
19514 src/testdir/test_vim9_builtin.vim, src/typval.c
19515
19516Patch 8.2.3174
19517Problem: Vim9: "legacy undo" finds "undo" variable.
19518Solution: Do not pass lookup function to find_ex_command(). (closes #8563)
19519Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
19520
19521Patch 8.2.3175
19522Problem: Vim9: using illegal pointer with inline function inside a lambda.
19523Solution: Clear eval_tofree_cmdline when advancing to the next line.
19524 (closes #8578)
19525Files: src/eval.c, src/testdir/test_vim9_func.vim
19526
19527Patch 8.2.3176
19528Problem: Vim9: no type error for comparing number with string.
19529Solution: Add a runtime type check. (closes #8571)
19530Files: src/typval.c, src/errors.h, src/testdir/test_vim9_expr.vim
19531
19532Patch 8.2.3177
19533Problem: Vim9: can not use "for _ in expr" at script level.
19534Solution: Skip assignment if the loop variable is "_".
19535Files: src/eval.c, src/testdir/test_vim9_script.vim
19536
19537Patch 8.2.3178
19538Problem: Vim9: the file name of an :import cannot be an expression.
19539Solution: Accept an expression that results in a string. Do not support
19540 :import in a function.
19541Files: runtime/doc/vim9.txt, src/vim9script.c, src/vim9compile.c,
19542 src/testdir/test_vim9_script.vim
19543
19544Patch 8.2.3179
19545Problem: Vim9: cannot assign to an imported variable at script level.
19546Solution: Lookup imported items when assigning.
19547Files: src/evalvars.c, src/errors.h, src/eval.c,
19548 src/testdir/test_vim9_script.vim
19549
19550Patch 8.2.3180
19551Problem: Vim9: memory leak when concatenating to an imported string.
19552Solution: Clear the destination.
19553Files: src/evalvars.c
19554
19555Patch 8.2.3181
19556Problem: Vim9: builtin function test fails without channel feature.
19557Solution: Add feature checks. (Dominique Pellé, closes #8586) Make feature
19558 checks more consistent.
19559Files: src/testdir/test_vim9_builtin.vim
19560
19561Patch 8.2.3182
19562Problem: Vim9: crash when using removing items from a constant list.
19563 (Yegappan Lakshmanan)
19564Solution: When a list was allocated with items copy them.
19565Files: src/list.c, src/testdir/test_vim9_builtin.vim
19566
19567Patch 8.2.3183
19568Problem: Duplicate error numbers.
19569Solution: Adjust the error numbers.
19570Files: src/errors.h, src/testdir/test_vim9_builtin.vim
19571
19572Patch 8.2.3184
19573Problem: Cannot add a digraph with a leading space. It is not easy to list
19574 existing digraphs.
19575Solution: Add setdigraph(), setdigraphlist(), getdigraph() and
19576 getdigraphlist(). (closes #8580)
19577Files: runtime/doc/digraph.txt, runtime/doc/eval.txt,
19578 runtime/doc/usr_41.txt, src/digraph.c, src/evalfunc.c,
19579 src/ex_docmd.c, src/globals.h, src/errors.h,
19580 src/proto/digraph.pro, src/testdir/test_digraph.vim
19581
19582Patch 8.2.3185
19583Problem: Vim9: start of inline function found in comment line.
19584Solution: Do not check for inline function in comment line. (closes #8589)
19585Files: src/userfunc.c, src/testdir/test_vim9_expr.vim
19586
19587Patch 8.2.3186
19588Problem: Vim9: not all failures for import tested
19589Solution: Test more import failures
19590Files: src/errors.h, src/evalvars.c, src/testdir/test_vim9_script.vim
19591
19592Patch 8.2.3187
19593Problem: Vim9: popup timer callback is not compiled.
19594Solution: Compile the callback when creating the timer.
19595Files: src/vim9compile.c, src/proto/vim9compile.pro, src/popupwin.c
19596
19597Patch 8.2.3188
19598Problem: Vim9: argument types are not checked at compile time.
19599Solution: Add several more type checks, also at runtime. (Yegappan
19600 Lakshmanan, closes #8587)
19601Files: src/blob.c, src/channel.c, src/clientserver.c, src/cmdexpand.c,
19602 src/cmdhist.c, src/dict.c, src/diff.c, src/errors.h, src/eval.c,
19603 src/evalbuffer.c, src/evalfunc.c, src/evalvars.c,
19604 src/evalwindow.c, src/filepath.c, src/globals.h, src/insexpand.c,
19605 src/job.c, src/list.c, src/map.c, src/match.c,
19606 src/proto/typval.pro, src/quickfix.c, src/search.c, src/sign.c,
19607 src/strings.c, src/terminal.c, src/testdir/test_blob.vim,
19608 src/testdir/test_gui.vim, src/testdir/test_vim9_builtin.vim,
19609 src/testing.c, src/textprop.c, src/time.c, src/typval.c
19610
19611Patch 8.2.3189
19612Problem: Vim9: error when using "try|".
19613Solution: Allow for "|" right after a command.
19614Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
19615
19616Patch 8.2.3190
19617Problem: Error messages are spread out.
19618Solution: Move error messages to errors.h and give them a clear name.
19619Files: src/globals.h, src/errors.h, src/buffer.c, src/debugger.c,
19620 src/digraph.c, src/edit.c, src/ex_cmds.c, src/ex_cmds2.c,
19621 src/ex_docmd.c, src/ex_eval.c, src/gui.c, src/list.c, src/main.c,
19622 src/map.c, src/match.c, src/quickfix.c, src/regexp.c,
19623 src/regexp_bt.c, src/regexp_nfa.c, src/register.c, src/search.c,
19624 src/session.c, src/spell.c, src/syntax.c, src/time.c,
19625 src/userfunc.c, src/vim9execute.c, src/window.c
19626
19627Patch 8.2.3191
19628Problem: Vim9: not enough code is tested.
19629Solution: Use CheckLegacyAndVim9Success() in more places. Fix uncovered
19630 problems.
19631Files: src/vim9compile.c, src/vim9execute.c,
19632 src/testdir/test_listdict.vim
19633
19634Patch 8.2.3192 (after 8.2.3190)
19635Problem: Build failure with small version (Tony Mechelynck).
19636Solution: Remove stray #ifdef.
19637Files: src/errors.h
19638
19639Patch 8.2.3193
19640Problem: screenpos() is wrong when the last line is partially visible and
19641 'display' is "lastline".
19642Solution: Also compute the position for a partially visible line.
19643 (closes #8599)
19644Files: src/move.c, src/testdir/test_cursor_func.vim
19645
19646Patch 8.2.3194
19647Problem: Vim9: argument types are not checked at compile time.
19648Solution: Add several more type checks, simplify some. (Yegappan
19649 Lakshmanan, closes #8598)
19650Files: src/diff.c, src/evalbuffer.c, src/evalfunc.c, src/job.c,
19651 src/proto/typval.pro, src/sign.c, src/terminal.c,
19652 src/testdir/test_vim9_builtin.vim, src/typval.c
19653
19654Patch 8.2.3195
19655Problem: Vim9: unclear error when passing too many arguments to lambda.
19656Solution: Pass the expression itself instead of "[expression]".
19657 (closes #8604)
19658Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
19659
19660Patch 8.2.3196
19661Problem: Vim9: bool expression with numbers only fails at runtime.
19662Solution: Check constant to be bool at compile time. (closes #8603)
19663Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
19664
19665Patch 8.2.3197
19666Problem: Error messages are spread out.
19667Solution: Move a few more error messages to errors.h.
19668Files: src/globals.h, src/errors.h, src/edit.c, src/ex_cmds.c,
19669 src/ex_docmd.c, src/evalvars.c, src/option.c, src/quickfix.c,
19670 src/regexp_bt.c, src/regexp_nfa.c, src/regexp.c, src/undo.c,
19671 src/vim9compile.c, src/vim9script.c
19672
19673Patch 8.2.3198
19674Problem: Cannot use 'formatlistpat' for breakindent.
19675Solution: Use a negative list indent. (Maxim Kim, closes #8594)
19676Files: runtime/doc/options.txt, src/indent.c,
19677 src/testdir/test_breakindent.vim
19678
19679Patch 8.2.3199
19680Problem: Vim9: execution speed can be improved.
19681Solution: Make the break counter static.
19682Files: src/vim9execute.c
19683
19684Patch 8.2.3200
19685Problem: Vim9: hard to guess where a type error is given.
19686Solution: Add the function name where possible. (closes #8608)
19687Files: src/dict.c, src/proto/dict.pro, src/eval.c, src/list.c,
19688 src/vim9compile.c, src/vim9execute.c, src/structs.h,
19689 src/vim9type.c, src/proto/vim9type.pro, src/if_py_both.h,
19690 src/errors.h, src/testdir/test_vim9_builtin.vim
19691
19692Patch 8.2.3201 (after 8.2.3200)
19693Problem: Crash in test.
19694Solution: Initialize "where".
19695Files: src/eval.c, src/evalvars.c
19696
19697Patch 8.2.3202
19698Problem: Vim9: tests are only executed for legacy script.
19699Solution: Run more tests also for Vim9 script. Fix uncovered problems.
19700Files: src/vim9execute.c, src/ex_docmd.c, src/testdir/test_listdict.vim
19701
19702Patch 8.2.3203
19703Problem: Vim9: compiled string expression causes type error. (Yegappan
19704 Lakshmanan)
19705Solution: Remove the string type from the stack.
19706Files: src/vim9compile.c, src/evalfunc.c
19707
19708Patch 8.2.3204
19709Problem: Display garbled when 'cursorline' is set and lines wrap. (Gabriel
19710 Dupras)
19711Solution: Avoid inserting lines twice. (closes #7255)
19712Files: src/drawscreen.c, src/testdir/test_cursorline.vim,
19713 src/testdir/dumps/Test_cursorline_redraw_1.dump,
19714 src/testdir/dumps/Test_cursorline_redraw_2.dump
19715
19716Patch 8.2.3205
19717Problem: Coverity reports a null pointer dereference.
19718Solution: Change the logic to avoid Coverity gets confused.
19719Files: src/vim9compile.c
19720
19721Patch 8.2.3206
19722Problem: Vim9: argument types are not checked at compile time.
19723Solution: Add several more type checks. (Yegappan Lakshmanan, closes #8611)
19724Files: runtime/doc/eval.txt, src/blob.c, src/cmdhist.c, src/dict.c,
19725 src/errors.h, src/evalfunc.c, src/filepath.c, src/globals.h,
19726 src/job.c, src/list.c, src/match.c, src/misc1.c, src/popupwin.c,
19727 src/proto/typval.pro, src/sign.c, src/terminal.c,
19728 src/testdir/test_blob.vim, src/testdir/test_vim9_builtin.vim,
19729 src/typval.c
19730
19731Patch 8.2.3207
19732Problem: Vim9: crash when compiling string fails. (Yegappan Lakshmanan)
19733Solution: Adjust the type stack length.
19734Files: src/vim9compile.c, src/testdir/test_vim9_builtin.vim
19735
19736Patch 8.2.3208
19737Problem: Dynamic library load error does not mention why it failed.
19738Solution: Add the error message. (Martin Tournoij, closes #8621)
19739Files: src/globals.h, src/if_cscope.c, src/if_lua.c, src/if_mzsch.c,
19740 src/if_perl.xs, src/if_python.c, src/if_python3.c, src/if_ruby.c,
19741 src/if_tcl.c, src/mbyte.c, src/os_win32.c, src/proto/os_win32.pro,
19742 src/terminal.c
19743
19744Patch 8.2.3209
19745Problem: Vim9: lambda doesn't find block-local variable.
19746Solution: Adjust how a script-local variable is found. (closes #8614)
19747Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
19748
19749Patch 8.2.3210
19750Problem: Vim9: searchpair() sixth argument is compiled. (Yegappan
19751 Lakshmanan)
19752Solution: Only compile the fifth argument.
19753Files: src/vim9compile.c, src/testdir/test_vim9_builtin.vim
19754
19755Patch 8.2.3211
19756Problem: Vim9: argument types are not checked at compile time.
19757Solution: Add several more type checks. Fix type check for matchaddpos().
19758 (Yegappan Lakshmanan, closes #8619)
19759Files: src/channel.c, src/evalfunc.c, src/evalvars.c, src/if_cscope.c,
19760 src/job.c, src/proto/typval.pro,
19761 src/testdir/test_vim9_builtin.vim, src/time.c, src/typval.c
19762
19763Patch 8.2.3212
19764Problem: Vim9: execution speed can be improved.
19765Solution: Use __builtin_expect() to have the compiler produce better code.
19766 (Dominique Pellé, closes #8613)
19767Files: src/vim9execute.c
19768
19769Patch 8.2.3213
19770Problem: NOCOMPOUNDSUGS entry in spell file not tested.
19771Solution: Add a test. (Dominique Pellé, closes #8624)
19772Files: src/testdir/test_spellfile.vim
19773
19774Patch 8.2.3214
19775Problem: MS-Windows: passing /D does not set the install location.
19776Solution: Adjust how the installer uses $VIM. Update the documentation.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019777 (Christian Brabandt, Ken Takata, closes #8605)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019778Files: nsis/gvim.nsi, runtime/doc/os_win32.txt
19779
19780Patch 8.2.3215
19781Problem: Vim9: argument types are not checked at compile time.
19782Solution: Add several more type checks. Sort the argument lists.
19783 (Yegappan Lakshmanan, closes #8626)
19784Files: src/change.c, src/evalfunc.c, src/filepath.c, src/sound.c,
19785 src/testdir/test_gui.vim, src/testdir/test_vim9_builtin.vim,
19786 src/testing.c
19787
19788Patch 8.2.3216
19789Problem: Vim9: crash when using variable in a loop at script level.
19790Solution: Do not clear the variable if a function was defined.
19791 Do not create a new entry in sn_var_vals every time.
19792 (closes #8628)
19793Files: src/eval.c, src/ex_eval.c, src/vim9script.c, src/userfunc.c,
19794 src/evalvars.c, src/structs.h
19795
19796Patch 8.2.3217 (after 8.2.3216)
19797Problem: Build failure.
19798Solution: Add missing changes.
19799Files: src/globals.h
19800
19801Patch 8.2.3218
19802Problem: When using xchaha20 crypt undo file is not removed.
19803Solution: Reset 'undofile' and delete the file. (Christian Brabandt,
19804 closes #8630, closes #8467)
19805Files: src/bufwrite.c, src/crypt.c, src/proto/undo.pro,
19806 src/testdir/test_crypt.vim, src/undo.c
19807
19808Patch 8.2.3219
19809Problem: :find searches non-existing directories.
19810Solution: Check the path is not "..". Update help. (Christian Brabandt,
19811 closes #8612, closes #8533)
19812Files: runtime/doc/editing.txt, src/findfile.c,
19813 src/testdir/test_findfile.vim
19814
19815Patch 8.2.3220
19816Problem: Test_term_setansicolors() fails in some configurations.
19817Solution: Check available features. (Dominique Pellé, closes #8636)
19818Files: src/testdir/test_vim9_builtin.vim
19819
19820Patch 8.2.3221
19821Problem: Vim9: argument types are not checked at compile time.
19822Solution: Add several more type checks. (Yegappan Lakshmanan, closes #8632)
19823Files: src/evalfunc.c, src/popupwin.c, src/proto/typval.pro,
19824 src/testdir/test_assert.vim, src/testdir/test_vim9_builtin.vim,
19825 src/testdir/test_vim9_script.vim, src/testing.c, src/typval.c
19826
19827Patch 8.2.3222
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019828Problem: Vim9: cannot use loop variable later as lambda argument.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019829Solution: When not in function context check the current block ID.
19830 (closes #8637)
19831Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
19832
19833Patch 8.2.3223
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019834Problem: Vim: using {} block in autoloaded omnifunc fails.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019835Solution: Allow using {} block when text is locked. (closes #8631)
19836Files: src/ex_cmds.h, src/testdir/test_ins_complete.vim
19837
19838Patch 8.2.3224
19839Problem: Cannot call script-local function after :vim9cmd. (Christian J.
19840 Robinson)
19841Solution: Skip over "<SNR>123".
19842Files: src/vim9compile.c, src/eval.c, src/testdir/test_vim9_cmd.vim
19843
19844Patch 8.2.3225
19845Problem: Incsearch highlighting is attempted halfway a mapping.
19846Solution: Only do incsearch highlighting if keys were typed or there is no
19847 more typeahead.
19848Files: src/ex_getln.c
19849
19850Patch 8.2.3226
19851Problem: New digraph functions use old naming scheme.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019852Solution: Use the digraph_ prefix. (Hirohito Higashi, closes #8642)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019853Files: runtime/doc/digraph.txt, runtime/doc/eval.txt,
19854 runtime/doc/usr_41.txt, src/digraph.c, src/edit.c, src/errors.h,
19855 src/evalfunc.c, src/proto/digraph.pro,
19856 src/testdir/test_digraph.vim
19857
19858Patch 8.2.3227
19859Problem: 'virtualedit' can only be set globally.
19860Solution: Make 'virtualedit' global-local. (Gary Johnson, closes #8638)
19861Files: runtime/doc/options.txt, src/buffer.c, src/change.c,
19862 src/drawscreen.c, src/edit.c, src/misc2.c, src/normal.c,
19863 src/ops.c, src/option.c, src/option.h, src/optiondefs.h,
19864 src/optionstr.c, src/proto/option.pro, src/register.c,
19865 src/structs.h, src/testdir/test_virtualedit.vim
19866
19867Patch 8.2.3228
19868Problem: Cannot use a simple block for the :command argument. (Maarten
19869 Tournoij)
19870Solution: Recognize a simple {} block. (issue #8623)
19871Files: runtime/doc/map.txt, src/misc2.c, src/proto/misc2.pro,
19872 src/usercmd.c, src/testdir/test_usercommands.vim
19873
19874Patch 8.2.3229
19875Problem: Vim9: runtime and compile time type checks are not the same.
19876Solution: Add more runtime type checks for builtin functions. (Yegappan
19877 Lakshmanan, closes #8646)
19878Files: src/arglist.c, src/change.c, src/channel.c, src/cindent.c,
19879 src/clientserver.c, src/cmdhist.c, src/dict.c, src/diff.c,
19880 src/digraph.c, src/errors.h, src/eval.c, src/evalbuffer.c,
19881 src/evalfunc.c, src/evalwindow.c, src/ex_docmd.c, src/ex_getln.c,
19882 src/filepath.c, src/findfile.c, src/float.c, src/fold.c,
19883 src/getchar.c, src/indent.c, src/insexpand.c, src/job.c,
19884 src/json.c, src/list.c, src/mark.c, src/match.c, src/mbyte.c,
19885 src/menu.c, src/misc1.c, src/move.c, src/popupwin.c,
19886 src/proto/typval.pro, src/quickfix.c, src/search.c, src/sign.c,
19887 src/sound.c, src/strings.c, src/terminal.c,
19888 src/testdir/test_assert.vim, src/testdir/test_blob.vim,
19889 src/testdir/test_execute_func.vim,
19890 src/testdir/test_float_func.vim, src/testdir/test_functions.vim,
19891 src/testdir/test_glob2regpat.vim, src/testdir/test_listdict.vim,
19892 src/testdir/test_vim9_builtin.vim,
19893 src/testdir/test_vim9_script.vim, src/testing.c, src/textprop.c,
19894 src/time.c, src/typval.c, src/undo.c
19895
19896Patch 8.2.3230
19897Problem: Vim9: type error when function return type is not known yet.
19898Solution: When return type is unknown, use "any". (closes #8644)
19899Files: src/vim9compile.c, src/testdir/test_vim9_builtin.vim
19900
19901Patch 8.2.3231
19902Problem: Build failure with small features.
19903Solution: Adjust #ifdef.
19904Files: src/errors.h
19905
19906Patch 8.2.3232 (after 8.2.3229)
19907Problem: system() does not work without a second argument.
19908Solution: Do not require a second argument. (Yegappan Lakshmanan,
19909 closes #8651, closes #8650)
19910Files: src/misc1.c, src/proto/typval.pro,
19911 src/testdir/test_vim9_builtin.vim, src/typval.c
19912
19913Patch 8.2.3233
19914Problem: prop_list() and prop_find() do not indicate the buffer for the
19915 used type.
19916Solution: Add "type_bufnr" to the results. (closes #8647)
19917Files: runtime/doc/textprop.txt, src/testdir/test_textprop.vim,
19918 src/textprop.c
19919
19920Patch 8.2.3234
19921Problem: Crash when printing long string with Lua.
19922Solution: Remove lua_pop(). (Martin Tournoij, closes #8648)
19923Files: src/if_lua.c, src/testdir/test_lua.vim
19924
19925Patch 8.2.3235
19926Problem: Cannot use lambda in {} block in user command. (Martin Tournoij)
19927Solution: Do not go over the end of the lambda.
19928Files: src/userfunc.c, src/testdir/test_usercommands.vim
19929
19930Patch 8.2.3236
19931Problem: mode() does not indicate using CTRL-O in Select mode.
19932Solution: Use "vs" and similar. (closes #8640)
19933Files: runtime/doc/eval.txt, src/globals.h, src/misc1.c, src/normal.c,
19934 src/testdir/test_functions.vim
19935
19936Patch 8.2.3237
19937Problem: When a builtin function gives an error processing continues.
19938Solution: In Vim9 script return FAIL in get_func_tv().
19939Files: src/userfunc.c, src/testdir/test_vim9_assign.vim
19940
19941Patch 8.2.3238
19942Problem: Vim9: error message does not indicate the location.
19943Solution: Add the relevant text. (issue #8634)
19944Files: src/errors.h, src/vim9compile.c, src/testdir/test_vim9_expr.vim
19945
19946Patch 8.2.3239
19947Problem: Vim9: no error using heredoc for a number variable.
19948Solution: Add a type check. (closes #8627)
19949Files: src/vim9compile.c, src/evalvars.c,
19950 src/testdir/test_vim9_assign.vim
19951
19952Patch 8.2.3240
19953Problem: Lua print() does not work properly.
19954Solution: Put back lua_pop().
19955Files: src/if_lua.c, src/testdir/test_lua.vim
19956
19957Patch 8.2.3241
19958Problem: Vim9: memory leak when function reports an error.
19959Solution: Clear the return value.
19960Files: src/userfunc.c
19961
19962Patch 8.2.3242
19963Problem: Vim9: valgrind reports leaks in builtin function test.
19964Solution: Do not start a job.
19965Files: src/testdir/test_vim9_builtin.vim
19966
19967Patch 8.2.3243
19968Problem: MS-Windows: the "edit with multiple Vim" choice is not that
19969 useful.
19970Solution: Change it to "Edit with multiple tabs". (Michael Soyka,
19971 closes #8645)
19972Files: src/GvimExt/gvimext.cpp, src/GvimExt/gvimext.h
19973
19974Patch 8.2.3244
19975Problem: Lua 5.3 print() with a long string crashes.
19976Solution: Use a growarray instead of a Lua buffer. (Yegappan Lakshmanan,
19977 closes #8655)
19978Files: src/if_lua.c, src/misc2.c, src/proto/misc2.pro
19979
19980Patch 8.2.3245
19981Problem: The crypt key may appear in a swap partition.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019982Solution: When using xchacha20 use sodium_mlock(). (Christian Brabandt,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019983 closes #8657)
19984Files: src/buffer.c, src/crypt.c, src/errors.h, src/fileio.c,
19985 src/memline.c, src/vim.h
19986
19987Patch 8.2.3246
19988Problem: Memory use after free.
19989Solution: When clearing a string option set the pointer to "empty_option".
19990Files: src/option.c
19991
19992Patch 8.2.3247
19993Problem: Using uninitialized memory when checking for crypt method.
19994Solution: Check the header length before using the salt and seed.
19995Files: src/fileio.c
19996
19997Patch 8.2.3248
19998Problem: Vim9: error message for wrong input uses wrong line number.
19999Solution: Use the line number of the start of the command. (issue #8653)
20000Files: src/vim9script.c, src/testdir/test_vim9_script.vim
20001
20002Patch 8.2.3249
20003Problem: Vim9: error for re-imported function with default argument.
20004Solution: Do not check argument type if it is still unknown. (closes #8653)
20005Files: src/vim9type.c, src/proto/vim9type.pro, src/vim9script.c,
20006 src/vim.h, src/eval.c, src/vim9execute.c,
20007 src/testdir/test_vim9_script.vim
20008
20009Patch 8.2.3250
20010Problem: MS-Windows: cannot build with libsodium.
20011Solution: Change FEAT_SODIUM into HAVE_SODIUM. (Christian Brabandt,
20012 closes #8668, closes #8663)
20013Files: src/Make_mvc.mak
20014
20015Patch 8.2.3251
20016Problem: Listing builtin_gui as an available terminal is confusing.
20017Solution: Do not list builtin_gui. (Christian Brabandt, closes #8669,
20018 closes #8661)
20019Files: src/term.c, src/testdir/test_termcodes.vim
20020
20021Patch 8.2.3252
20022Problem: Duplicated code for adding buffer lines.
20023Solution: Move code to a common function. Also move map functions to map.c.
20024 (Yegappan Lakshmanan, closes #8665)
20025Files: src/evalbuffer.c, src/evalfunc.c, src/map.c, src/proto/map.pro
20026
20027Patch 8.2.3253
20028Problem: Channel test fails randomly.
20029Solution: Add a sleep after sending the "echoerr" command. (Michael Soyka)
20030Files: src/testdir/test_channel.vim, src/testdir/test_channel.py
20031
20032Patch 8.2.3254
20033Problem: win_gettype() does not recognize a quickfix window.
20034Solution: Add "quickfix" and "loclist". (Yegappan Lakshmanan, closes #8676)
20035Files: runtime/doc/eval.txt, src/evalwindow.c, src/misc2.c,
20036 src/testdir/test_quickfix.vim
20037
20038Patch 8.2.3255
20039Problem: ci" finds following string but ci< and others don't.
20040Solution: When not inside an object find the start. (Connor Lane Smit,
20041 closes #8670)
20042Files: src/search.c, src/testdir/test_textobjects.vim, src/textobject.c
20043
20044Patch 8.2.3256
20045Problem: Executable test may fail on new Ubuntu system.
20046Solution: Consider /usr/bin/cat and /bin/cat the same.
20047Files: src/testdir/test_functions.vim
20048
20049Patch 8.2.3257
Bram Moolenaar1588bc82022-03-08 21:35:07 +000020050Problem: Calling prop_find() with -1 for ID gives erroneous error. (Naohiro
Bram Moolenaarc51cf032022-02-26 12:25:45 +000020051 Ono)
20052Solution: When passing -1 use -2. (closes #8674)
20053Files: src/textprop.c, src/testdir/test_textprop.vim
20054
20055Patch 8.2.3258
20056Problem: Error messages have the wrong text.
20057Solution: Adjust the error message.
20058Files: src/errors.h, src/typval.c, src/testdir/test_vim9_builtin.vim
20059
20060Patch 8.2.3259
20061Problem: When 'indentexpr' causes an error the did_throw flag may remain
20062 set.
20063Solution: Reset did_throw and show the error. (closes #8677)
20064Files: src/indent.c, src/ex_docmd.c, src/proto/ex_docmd.pro
20065
20066Patch 8.2.3260
20067Problem: Build failure with small features.
20068Solution: Add #ifdef.
20069Files: src/ex_docmd.c
20070
20071Patch 8.2.3261
20072Problem: Vim9: when compiling repeat(123, N) return type is number.
20073Solution: Make return type a string. (closes #8664)
20074Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
20075
20076Patch 8.2.3262
20077Problem: Build failure when ABORT_ON_INTERNAL_ERROR is defined.
20078Solution: Adjust how estack_len_before is used.
20079Files: src/ex_docmd.c
20080
20081Patch 8.2.3263
20082Problem: Vim9: "..=" does not accept same types as the ".." operator.
20083Solution: Convert value to string like ".." does. (issue #8664)
20084Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim,
20085 src/testdir/test_vim9_disassemble.vim
20086
20087Patch 8.2.3264 (after 8.2.3263)
20088Problem: Vim9: assign test fails.
20089Solution: Add missing change.
20090Files: src/eval.c
20091
20092Patch 8.2.3265
20093Problem: Smartcase does not work correctly in very magic pattern.
20094Solution: Take the magicness into account when skipping over regexp items.
20095 (Christian Brabandt, closes #8682, closes #7845)
20096Files: src/search.c, src/testdir/test_search.vim
20097
20098Patch 8.2.3266
20099Problem: Vim9: assignment with two indexes may check next line.
20100Solution: Limit the number of lines to avoid checking the next line when
Bram Moolenaar1588bc82022-03-08 21:35:07 +000020101 assigning to a LHS subscript. (closes #8660)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000020102Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
20103
20104Patch 8.2.3267
20105Problem: Vim9: crash when disassembling a function that uses a deleted
20106 script variable.
20107Solution: Check the variable still exists. (closes #8683)
20108Files: src/vim9execute.c, src/testdir/test_vim9_disassemble.vim
20109
20110Patch 8.2.3268
20111Problem: Cannot use a block with :autocmd like with :command.
20112Solution: Add support for a {} block after :autocmd. (closes #8620)
20113Files: runtime/doc/autocmd.txt, runtime/doc/map.txt, src/autocmd.c,
20114 src/proto/autocmd.pro, src/usercmd.c, src/proto/usercmd.pro,
20115 src/ex_docmd.c, src/vim.h, src/testdir/test_autocmd.vim
20116
20117Patch 8.2.3269
20118Problem: Vim9: wrong argument check for partial. (Naohiro Ono)
20119Solution: Handle getting return type without arguments. Correct the minimal
20120 number of arguments for what is included in the partial.
20121 (closes #8667)
20122Files: src/evalfunc.c, src/vim9type.c, src/testdir/test_vim9_func.vim
20123
20124Patch 8.2.3270
20125Problem: prop_find() finds property with ID -2.
20126Solution: Use a separate flag to indicate an ID was specified. (issue #8674)
20127Files: src/textprop.c
20128
20129Patch 8.2.3271
20130Problem: Vim9: cannot use :command or :au with a block in a :def function.
20131Solution: Recognize the start of the block.
20132Files: src/userfunc.c, src/usercmd.c, src/ex_docmd.c,
20133 src/proto/ex_docmd.pro, src/vim9compile.c,
20134 src/testdir/test_vim9_script.vim
20135
20136Patch 8.2.3272
20137Problem: Cannot use id zero with prop_find(). (Naohiro Ono)
20138Solution: Also accept id zero.
20139Files: src/textprop.c, src/testdir/test_textprop.vim
20140
20141Patch 8.2.3273
20142Problem: Autocmd test fails.
20143Solution: Require white space before the "{" that starts a block.
20144Files: src/userfunc.c
20145
20146Patch 8.2.3274
20147Problem: Macro for printf format check can be simplified.
20148Solution: Add ATTRIBUTE_FORMAT_PRINTF(). (Dominique Pellé, issue #8635)
20149Files: src/channel.c, src/gui_xim.c, src/if_mzsch.c, src/nbdebug.c,
20150 src/nbdebug.h, src/netbeans.c, src/proto.h, src/term.c, src/vim.h,
20151 src/vim9execute.c
20152
20153Patch 8.2.3275
20154Problem: Optimizer can use hints about ga_grow() normally succeeding.
20155Solution: Use GA_GROW_FAILS() and GA_GROW_OK() in several places. (Dominique
20156 Pellé, issue #8635)
20157Files: src/arglist.c, src/macros.h, src/vim9execute.c, src/vim9compile.c
20158
20159Patch 8.2.3276
20160Problem: Vim9: exists() can only be evaluated at runtime.
20161Solution: Evaluate at compile time for option name literals. (closes #8437)
20162Files: src/vim9compile.c, src/evalfunc.c, src/proto/evalfunc.pro,
20163 src/testdir/test_vim9_builtin.vim
20164
20165Patch 8.2.3277 (after 8.2.3276)
20166Problem: Vim9: compiled has() does not work properly.
20167Solution: Fix check for has() vs exists().
20168Files: src/vim9compile.c
20169
20170Patch 8.2.3278
20171Problem: Vim9: error when adding 1 to float.
20172Solution: Accept t_number_bool. (closes #8687)
20173Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
20174
20175Patch 8.2.3279
20176Problem: Vim9: cannot use block in cmdline window.
20177Solution: Add EX_CMDWIN to the CMD_block flags. (closes #8689)
20178Files: src/ex_cmds.h, src/testdir/test_vim9_cmd.vim
20179
20180Patch 8.2.3280
20181Problem: 'virtualedit' local to buffer is not the best solution.
20182Solution: Make it window-local. (Gary Johnson, closes #8685)
20183Files: runtime/doc/options.txt, src/buffer.c, src/drawscreen.c,
20184 src/ops.c, src/option.c, src/option.h, src/optionstr.c,
20185 src/structs.h, src/testdir/test_virtualedit.vim
20186
20187Patch 8.2.3281
20188Problem: Vim9: TODO items in tests can be taken care of.
20189Solution: Update test for now working functionality. (closes #8694)
20190Files: src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_func.vim,
20191 src/testdir/test_vim9_script.vim
20192
20193Patch 8.2.3282
20194Problem: Vim9: error about using -complete without -nargs is confusing.
20195Solution: Change the wording.
20196Files: src/usercmd.c, src/errors.h
20197
20198Patch 8.2.3283
20199Problem: Julia filetype is not recognized
20200Solution: Add filetype detection. (Christian Clason, closes #8700)
20201Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20202
20203Patch 8.2.3284
20204Problem: No error for insert() or remove() changing a locked blob.
20205Solution: Check a blob is not locked before changing it. (Sean Dewar,
20206 closes #8696)
20207Files: src/blob.c, src/errors.h, src/eval.c, src/list.c,
20208 src/proto/blob.pro, src/testdir/test_blob.vim,
20209 src/testdir/test_eval_stuff.vim
20210
20211Patch 8.2.3285
20212Problem: Scdoc filetype is not recognized.
20213Solution: Add filetype detection. (Gregory Anders, closes #8701)
20214Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20215
20216Patch 8.2.3286
20217Problem: win_enter_ext() has too many boolean arguments.
20218Solution: use one flags argument with defined values.
20219Files: src/window.c
20220
20221Patch 8.2.3287
20222Problem: Channel events not handled in BufEnter autocommand.
20223Solution: Decrement dont_parse_messages earlier. (Tim Pope, closes #8697)
20224Files: src/window.c, src/testdir/test_channel.vim
20225
20226Patch 8.2.3288
20227Problem: Cannot easily access namespace dictionaries from Lua.
20228Solution: Add vim.g, vim.b, etc. (Yegappan Lakshmanan, closes #8693,
20229 from NeoVim)
20230Files: runtime/doc/if_lua.txt, src/if_lua.c, src/testdir/test_lua.vim
20231
20232Patch 8.2.3289 (after 8.2.3287)
20233Problem: Compiler warning for unused variable with small features.
20234Solution: Rearrange #ifdefs.
20235Files: src/window.c
20236
20237Patch 8.2.3290
20238Problem: Vim9: compiling dict may use pointer after free and leak memory on
20239 failure.
20240Solution: Pass a pointer to generate_PUSHS(). (Zdenek Dohnal, closes #8699)
20241Files: src/vim9compile.c
20242
20243Patch 8.2.3291
20244Problem: Coverity warns for not checking return value.
20245Solution: If dict_add() fails give an error message.
20246Files: src/if_lua.c, src/testdir/test_lua.vim
20247
20248Patch 8.2.3292
20249Problem: Underscore in very magic pattern causes a hang. Pattern with \V
20250 are case sensitive. (Yutao Yuan)
20251Solution: Adjust condition for magicness and advance pointer. (Christian
20252 Brabandt, closes #8707, closes #8704, closes #8705)
20253Files: src/search.c, src/testdir/test_search.vim
20254
20255Patch 8.2.3293
20256Problem: Finding completions may cause an endless loop.
20257Solution: Use a better way to check coming back where the search started.
20258 (Andy Gozas, closes #8672, closes #8671)
20259Files: src/insexpand.c, src/testdir/Make_all.mak,
20260 src/testdir/test_ins_complete_no_halt.vim
20261
20262Patch 8.2.3294
20263Problem: Lua: memory leak when adding dict item fails.
20264Solution: Free the typval and the dict item.
20265Files: src/if_lua.c
20266
20267Patch 8.2.3295
20268Problem: 'cursorline' should not apply to 'breakindent'.
20269Solution: Make 'cursorline' apply to 'breakindent' and 'showbreak'
20270 consistently. (closes #8684)
20271Files: src/drawline.c, src/testdir/dumps/Test_Xcursorline_19.dump,
20272 src/testdir/dumps/Test_Xcursorline_20.dump,
20273 src/testdir/dumps/Test_Xcursorline_21.dump,
20274 src/testdir/dumps/Test_Xcursorline_22.dump,
20275 src/testdir/dumps/Test_Xcursorline_23.dump,
20276 src/testdir/dumps/Test_Xcursorline_24.dump,
20277 src/testdir/dumps/Test_diff_with_cul_bri_01.dump,
20278 src/testdir/dumps/Test_diff_with_cul_bri_02.dump,
20279 src/testdir/dumps/Test_diff_with_cul_bri_03.dump,
20280 src/testdir/dumps/Test_diff_with_cul_bri_04.dump,
20281 src/testdir/test_cursorline.vim, src/testdir/test_diffmode.vim
20282
20283Patch 8.2.3296
20284Problem: Vim9: cannot add a number to a float.
20285Solution: Accept a number if the destination is a float. (closes #8703)
20286Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
20287
20288Patch 8.2.3297
20289Problem: Cannot use all commands inside a {} block after :command and
20290 :autocmd.
20291Solution: Do consider \n to separate commands. (closes #8620)
20292Files: runtime/doc/map.txt, src/ex_docmd.c, src/proto/ex_docmd.pro,
20293 src/ex_eval.c, src/proto/ex_eval.pro, src/eval.c, src/evalvars.c,
20294 src/ex_cmds.c, src/syntax.c, src/userfunc.c, src/vim9compile.c,
20295 src/vim9script.c, src/errors.h, src/testdir/test_autocmd.vim,
20296 src/testdir/test_usercommands.vim
20297
20298Patch 8.2.3298
20299Problem: Build failure with small features.
20300Solution: Add #ifdef.
20301Files: src/ex_docmd.c
20302
20303Patch 8.2.3299
20304Problem: Vim9: exists() does not handle much at compile time.
20305Solution: Handle variable names. (closes #8688)
20306Files: src/vim9compile.c, src/evalfunc.c,
20307 src/testdir/test_vim9_builtin.vim
20308
20309Patch 8.2.3300
20310Problem: Lua: can only execute one Vim command at a time. Not easy to get
20311 the Vim version.
20312Solution: Make vim.command() accept multiple lines. Add vim.version().
20313 (Yegappan Lakshmanan, closes #8716)
20314Files: runtime/doc/if_lua.txt, src/evalfunc.c, src/if_lua.c,
20315 src/proto/evalfunc.pro, src/testdir/test_lua.vim,
20316 src/testdir/test_shell.vim
20317
20318Patch 8.2.3301
20319Problem: Memory allocation functions don't have their own place.
20320Solution: Move memory allocation functions to alloc.c. (Yegappan
20321 Lakshmanan, closes #8717)
20322Files: Filelist, src/Make_ami.mak, src/Make_cyg_ming.mak,
20323 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
20324 src/alloc.c, src/misc2.c, src/proto.h, src/proto/alloc.pro,
20325 src/proto/misc2.pro
20326
20327Patch 8.2.3302
20328Problem: Coverity is not run from github.
20329Solution: Add a coverity script. (James McCoy, closes #8714)
20330Files: .github/workflows/coverity.yml, Filelist
20331
20332Patch 8.2.3303
20333Problem: Some structures could be smaller.
20334Solution: Rearrange members to reduce size. (Dominique Pellé, closes #8725)
20335Files: src/structs.h, src/vim9.h, src/vim9execute.c
20336
20337Patch 8.2.3304
20338Problem: Popup window title with wide characters is truncated.
20339Solution: Use vim_strsize() instead of MB_CHARLEN(). (Naruhiko Nishino,
20340 closes #8721)
20341Files: src/popupwin.c, src/testdir/test_popupwin.vim,
20342 src/testdir/dumps/Test_popupwin_multibytetitle.dump
20343
20344Patch 8.2.3305
20345Problem: Vim9: :finally in skipped block not handled correctly.
20346Solution: Check whether :finally is in a skipped block. (Naruhiko Nishino,
20347 closes #8724)
20348Files: src/ex_eval.c, src/vim9compile.c, src/testdir/test_vim9_script.vim
20349
20350Patch 8.2.3306
20351Problem: Unexpected "No matching autocommands".
20352Solution: Do not give the message when aborting. Mention the arguments in
20353 the message. (closes #8690)
20354Files: src/autocmd.c,
20355
20356Patch 8.2.3307
20357Problem: Vim9: :echoconsole cannot access local variables.
20358Solution: Handle like other :echo commands. (closes #8708)
20359Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c,
20360 src/testdir/test_vim9_script.vim,
20361 src/testdir/test_vim9_disassemble.vim
20362
20363Patch 8.2.3308
20364Problem: Vim9: no runtime check for argument type if a function only has
20365 varargs.
20366Solution: Also check argument types if uf_va_type is set. (closes #8715)
20367Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
20368
20369Patch 8.2.3309
20370Problem: Vim9: divide by zero causes a crash.
20371Solution: Give an error message. (closes #8727)
20372Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
20373
20374Patch 8.2.3310
20375Problem: Vim9: unpack assignment does not mention source of type error.
20376Solution: Mention the argument number. (closes #8719)
20377Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim,
20378 src/testdir/test_vim9_disassemble.vim
20379
20380Patch 8.2.3311
20381Problem: Vim9: check for DO_NOT_FREE_CNT is very slow.
20382Solution: Move to a separate function so it can be skipped by setting
20383 $TEST_SKIP_PAT.
20384Files: src/testdir/test_vim9_expr.vim, src/testdir/runtest.vim
20385
20386Patch 8.2.3312
20387Problem: Vim9: after "if false" line breaks in expression not skipped.
20388Solution: Do parse the expression. (closes #8723)
20389Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
20390
20391Patch 8.2.3313
20392Problem: Unused code in win_exchange() and frame_remove().
20393Solution: Remove the code. (closes #8728)
20394Files: src/window.c
20395
20396Patch 8.2.3314
20397Problem: Behavior of exists() in a :def function is unpredictable.
20398Solution: Add exists_compiled().
20399Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
20400 src/errors.h, src/vim9compile.c, src/testdir/test_vim9_builtin.vim
20401
20402Patch 8.2.3315
20403Problem: Cannot use single quote in a float number for readability.
20404Solution: Support single quotes like in numbers. (closes #8713)
20405Files: src/typval.c, src/float.c, src/proto/float.pro, src/json.c,
20406 src/viminfo.c, src/testdir/test_float_func.vim
20407
20408Patch 8.2.3316 (after 8.2.3315)
20409Problem: Float test fails.
20410Solution: Add missing change.
20411Files: src/evalfunc.c
20412
20413Patch 8.2.3317
20414Problem: Vim9: No error for missing white space before return type.
20415Solution: Check for white space. (closes #8733)
20416Files: src/userfunc.c, src/testdir/test_vim9_func.vim
20417
20418Patch 8.2.3318
20419Problem: Vim9: cannot ignore quotes in number at the command line.
20420Solution: Use in_vim9script() so that after ":vim9" quotes are ignored.
20421Files: src/typval.c, src/testdir/test_float_func.vim
20422
20423Patch 8.2.3319
20424Problem: Coverity action on github does not work.
20425Solution: Remove undefined $SRCDIR. (James McCoy, closes #8739)
20426Files: .github/workflows/coverity.yml
20427
20428Patch 8.2.3320
20429Problem: Some local functions are not static.
20430Solution: Add "static". Move snprintf() related code to strings.c.
20431 (Yegappan Lakshmanan, closes #8734)
20432Files: src/alloc.c, src/channel.c, src/dict.c, src/digraph.c, src/edit.c,
20433 src/ex_docmd.c, src/getchar.c, src/job.c, src/list.c,
20434 src/message.c, src/profiler.c, src/proto/channel.pro,
20435 src/proto/dict.pro, src/proto/digraph.pro, src/proto/edit.pro,
20436 src/proto/ex_docmd.pro, src/proto/getchar.pro, src/proto/job.pro,
20437 src/proto/list.pro, src/proto/profiler.pro, src/proto/spell.pro,
20438 src/proto/vim9compile.pro, src/proto/vim9script.pro,
20439 src/proto/vim9type.pro, src/spell.c, src/strings.c,
20440 src/vim9compile.c, src/vim9script.c, src/vim9type.c, src/window.c
20441
20442Patch 8.2.3321
20443Problem: Some code is not tested.
20444Solution: Add some more tests. (Dominique Pellé, closes #8735)
20445Files: src/testdir/test_excmd.vim, src/testdir/test_writefile.vim
20446
20447Patch 8.2.3322
20448Problem: Vim9: checking type of dict does not check member type.
20449Solution: When getting the type of a typval use dv_type and lv_type.
20450 (closes #8732)
20451Files: src/vim9type.c, src/testdir/test_vim9_builtin.vim
20452
20453Patch 8.2.3323
20454Problem: Help tag for exists_compiled() is wrong. (Maxim Kim)
20455Solution: Adjust the help tag.
20456Files: runtime/doc/eval.txt
20457
20458Patch 8.2.3324
20459Problem: Vim9: Cannot use :silent with :endwhile.
20460Solution: Allow for using the :silent modifier. (closes #8737)
20461Files: src/ex_eval.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
20462 src/vim9compile.c, src/testdir/test_vim9_cmd.vim
20463
20464Patch 8.2.3325
20465Problem: Digraph test fails when LC_ALL is set to "C".
20466Solution: When restoring 'encoding' set it to "utf-8". (closes #8742)
20467Files: src/testdir/test_digraph.vim
20468
20469Patch 8.2.3326
20470Problem: Vim9: no error passing an empty list of the wrong type.
20471Solution: Use ISN_SETTYPE also for "list<any>". (closes #8732)
20472Files: src/vim9compile.c, src/testdir/test_vim9_func.vim,
20473 src/testdir/test_vim9_disassemble.vim
20474
20475Patch 8.2.3327
20476Problem: No check for sysconf() failing.
20477Solution: If sysconf() fails use SIGSTKSZ for the signal stack size.
20478 (Zdenek Dohnal, closes #8743)
20479Files: src/os_unix.c
20480
20481Patch 8.2.3328
20482Problem: Coverity error for not checking return value.
20483Solution: Check value is not negative.
20484Files: src/spellfile.c
20485
20486Patch 8.2.3329
20487Problem: v_lock not set when getting value of environment variable.
20488Solution: Set v_lock to zero.
20489Files: src/typval.c
20490
20491Patch 8.2.3330
20492Problem: Coverity reports using uninitialized field.
20493Solution: Initialize the field early.
20494Files: src/tag.c
20495
20496Patch 8.2.3331
20497Problem: Coverity warns for using value without boundary check.
20498Solution: Add a boundary check.
20499Files: src/viminfo.c
20500
20501Patch 8.2.3332
20502Problem: Vim9: cannot assign to range in list.
20503Solution: Implement overwriting a list range.
20504Files: src/vim9compile.c, src/vim9execute.c, src/list.c,
20505 src/proto/list.pro, src/eval.c, src/proto/eval.pro,
20506 src/testdir/test_listdict.vim, src/testdir/test_vim9_assign.vim
20507
20508Patch 8.2.3333
20509Problem: Vim9: not enough tests run with Vim9.
20510Solution: Run a few more tests in Vim9 script and :def function.
20511Files: src/testdir/test_listdict.vim, src/testdir/vim9.vim
20512
20513Patch 8.2.3334
20514Problem: Vim9: not enough tests run with Vim9.
20515Solution: Run a few more tests in Vim9 script and :def function. Fix
20516 islocked(). Fix error for locking local variable.
20517Files: src/evalfunc.c, src/vim9compile.c, src/testdir/test_listdict.vim
20518
20519Patch 8.2.3335
20520Problem: Vim9: not enough tests run with Vim9.
20521Solution: Run a few more tests in Vim9 script and :def function. Fix that
Bram Moolenaar1588bc82022-03-08 21:35:07 +000020522 items(), keys() and values() return zero for a NULL dict.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000020523 Make join() return an empty string for a NULL list. Make sort()
20524 return an empty list for a NULL list.
20525Files: src/dict.c, src/list.c, src/testdir/test_listdict.vim,
20526 src/testdir/vim9.vim
20527
20528Patch 8.2.3336
20529Problem: Behavior of negative index in list change changed. (Naruhiko
20530 Nishino)
20531Solution: Only change it for Vim9 script. (closes #8749)
20532Files: src/list.c, src/testdir/test_listdict.vim
20533
20534Patch 8.2.3337
20535Problem: Completing "call g:" returns entries with just "g:". (Naohiro Ono)
20536Solution: Skip empty strings returned by get_user_func_name(). (closes #8753)
20537Files: src/evalfunc.c, src/testdir/test_cmdline.vim
20538
20539Patch 8.2.3338
20540Problem: Vim9: no type check when assigning a list range. (Naohiro Ono)
20541Solution: Check the member type. (closes #8750)
20542Files: src/list.c, src/testdir/test_listdict.vim
20543
20544Patch 8.2.3339
20545Problem: Vim9: cannot lock a member in a local dict.
20546Solution: Get the local dict from the stack and pass it to get_lval().
20547Files: src/eval.c, src/vim9execute.c, src/vim9compile.c, src/vim9.h,
20548 src/globals.h, src/testdir/test_vim9_cmd.vim,
20549 src/testdir/test_vim9_disassemble.vim
20550
20551Patch 8.2.3340 (after 8.2.3339)
20552Problem: Accessing uninitialized pointer.
20553Solution: Set pointer to NULL.
20554Files: src/eval.c
20555
20556Patch 8.2.3341
20557Problem: Vim9: function call aborted despite try/catch. (Naohiro Ono)
20558Solution: Ignore error caught by try/catch. (closes #8755)
20559Files: src/evalvars.c, src/vim9execute.c, src/message.c, src/time.c,
20560 src/globals.h, src/testdir/vim9.vim, src/testdir/test_vim9_func.vim
20561
20562Patch 8.2.3342 (after 8.2.3341)
20563Problem: Test for :let errors fails.
20564Solution: Adjust the test and how to avoid a second error message.
20565Files: src/evalvars.c, src/testdir/test_let.vim
20566
20567Patch 8.2.3343 (after 8.2.3342)
20568Problem: Vim9: autoload test fails.
20569Solution: Adjust the way the second message is avoided
20570Files: src/evalvars.c
20571
20572Patch 8.2.3344 (after 8.2.3343)
20573Problem: Vimscript test fails.
20574Solution: Have test verify first error instead of second
20575Files: src/testdir/test_vimscript.vim
20576
20577Patch 8.2.3345
20578Problem: Some code not covered by tests.
20579Solution: Add a few more tests. (Dominique Pellé, closes #8757)
20580Files: src/testdir/test_arglist.vim, src/testdir/test_cmdline.vim,
20581 src/testdir/test_spellfile.vim, src/testdir/test_substitute.vim
20582
20583Patch 8.2.3346
20584Problem: Vim9: no error for using "." for concatenation after ":vim9cmd".
20585 (Naohiro Ono)
20586Solution: Check for Vim9 script syntax. (closes #8756)
20587Files: src/eval.c, src/testdir/test_vim9_cmd.vim
20588
20589Patch 8.2.3347
20590Problem: Check for legacy script is incomplete. (Naohiro Ono)
20591Solution: Also check the :legacy modifier. Use for string concatenation
20592 with "." and others (issue #8756)
20593Files: src/vim9script.c, src/proto/vim9script.pro, src/eval.c,
20594 src/typval.c, src/evalvars.c, src/errors.h, src/ex_docmd.c,
20595 src/testdir/test_vim9_cmd.vim
20596
20597Patch 8.2.3348
20598Problem: line2byte() returns wrong value after adding textprop. (Yuto
20599 Kimura)
20600Solution: Reduce the length by the size of the text property. (closes #8759)
20601Files: src/memline.c, src/testdir/test_textprop.vim
20602
20603Patch 8.2.3349 (after 8.2.3347)
20604Problem: Eval test for scriptversion fails.
20605Solution: Fix off-by-one error.
20606Files: src/vim9script.c
20607
20608Patch 8.2.3350 (after 8.2.3348)
20609Problem: Text properties test fails on MS-Windows.
20610Solution: Set fileformat to unix.
20611Files: src/testdir/test_textprop.vim
20612
20613Patch 8.2.3351
20614Problem: Vim9: using a function by name may delete it. (Naohiro Ono)
20615Solution: Increment the reference count when using a function by name.
20616 (closes #8760)
20617Files: src/evalvars.c, src/testdir/test_vim9_func.vim
20618
20619Patch 8.2.3352
20620Problem: Vim9: error for nested :enddef has wrong line number.
20621Solution: Compute the line number.
20622Files: src/userfunc.c, src/testdir/test_vim9_func.vim
20623
20624Patch 8.2.3353
20625Problem: Vim9: type of argument for negate not checked at compile time.
20626Solution: Add a compile time check.
20627Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim,
20628 src/testdir/test_vim9_script.vim,
20629 src/testdir/test_vim9_disassemble.vim
20630
20631Patch 8.2.3354
20632Problem: Build failure with +byte_offset but without +textprop. (John
20633 Marriott)
20634Solution: Adjust the #ifdef.
20635Files: src/memline.c
20636
20637Patch 8.2.3355
20638Problem: MS-Windows: compiler warning for 64-32 bit conversion.
20639Solution: Add type casts.
20640Files: src/memline.c
20641
20642Patch 8.2.3356
20643Problem: Adding many text properties requires a lot of function calls.
20644Solution: Add the prop_add_list() function. (Yegappan Lakshmanan,
20645 closes #8751)
20646Files: runtime/doc/eval.txt, runtime/doc/textprop.txt,
20647 runtime/doc/usr_41.txt, src/evalfunc.c, src/proto/textprop.pro,
20648 src/testdir/test_textprop.vim, src/testdir/test_vim9_builtin.vim,
20649 src/textprop.c
20650
20651Patch 8.2.3357
20652Problem: Crash when 'virtualedit' is set and window is narrow.
20653Solution: Check that width is not zero. (closes #8767)
20654Files: src/misc2.c, src/testdir/test_number.vim
20655
20656Patch 8.2.3358
20657Problem: Structurizr files are not recognized.
20658Solution: Recognize the file by contents. (Bastian Venthur, closes #8764)
20659Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20660
20661Patch 8.2.3359
20662Problem: Vim9: error for type when variable is not set.
20663Solution: Give a specific error for a NULL function. (closes #8773)
20664Files: src/vim9type.c, src/errors.h, src/testdir/test_vim9_func.vim
20665
20666Patch 8.2.3360
20667Problem: User function completion fails with dict function.
20668Solution: Do not stop sequencing through the list if user functions when
20669 encountering an empty name. (Naohiro Ono, closes #8765,
20670 closes #8774)
20671Files: src/evalfunc.c, src/testdir/test_cmdline.vim
20672
20673Patch 8.2.3361
20674Problem: Vim9: crash with nested :while.
20675Solution: Handle skipping better. (Naruhiko Nishino, closes #8778)
20676Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
20677
20678Patch 8.2.3362
20679Problem: Buffer overflow when completing long tag name.
20680Solution: Allocate the buffer dynamically. (Gregory Anders, closes #8769)
20681Files: src/tag.c, src/testdir/test_tagjump.vim
20682
20683Patch 8.2.3363
20684Problem: When :edit reuses the current buffer the alternate file is set to
20685 the same buffer.
20686Solution: Only set the alternate file when not reusing the buffer.
20687 (closes #8783)
20688Files: src/ex_cmds.c, src/testdir/test_undo.vim,
20689 src/testdir/test_cmdline.vim, src/testdir/test_vim9_builtin.vim,
20690 src/testdir/test_vim9_script.vim
20691
20692Patch 8.2.3364
20693Problem: Vim9: crash when :for is skipped.
20694Solution: Skip more code generation. (Naruhiko Nishino, closes #8777)
20695Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
20696
20697Patch 8.2.3365
20698Problem: Vim9: cannot use option for all operations.
20699Solution: Recognize more operations. (closes #8779)
20700Files: src/vim9compile.c, src/proto/vim9compile.pro, src/ex_docmd.c,
20701 src/testdir/test_vim9_cmd.vim
20702
20703Patch 8.2.3366
20704Problem: Vim9: debugging elseif does not stop before condition.
20705Solution: Move debug statement to after the jump. (closes #8781)
20706Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
20707
20708Patch 8.2.3367
20709Problem: Vim9: :@r executing a register is inconsistent.
20710Solution: Use "@r" as the start of an expression. (issue #8779)
20711Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
20712
20713Patch 8.2.3368
20714Problem: Not all Racket files are recognized.
20715Solution: Also recognize .rktl and .rktd files. (Doug Kearns)
20716Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20717
20718Patch 8.2.3369
20719Problem: Auto formatting after "cw" leaves cursor in wrong spot.
20720Solution: Do not auto-format after the delete. (closes #8789)
20721Files: src/ops.c, src/testdir/test_textformat.vim
20722
20723Patch 8.2.3370
20724Problem: Vim9: no check for white space before type in declaration.
20725 (Naohiro Ono)
20726Solution: Check for white space like in a compiled function. (closes #8785)
20727Files: src/eval.c, src/testdir/test_vim9_assign.vim
20728
20729Patch 8.2.3371
20730Problem: Vim9: :$ENV cannot be followed by ->func() in next line.
20731Solution: Use "$ENV" as the start of an expression. (closes #8790)
20732Files: src/ex_docmd.c, src/vim9compile.c, src/testdir/test_vim9_cmd.vim
20733
20734Patch 8.2.3372
20735Problem: line2byte() value wrong when adding a text property. (Yuto Kimura)
20736Solution: Adjust length for text property. (closes #8772) Also fix it for
20737 deleting a line.
20738Files: src/memline.c, src/testdir/test_textprop.vim
20739
20740Patch 8.2.3373 (after 8.2.3372)
20741Problem: text property test fails on MS-Windows.
20742Solution: Set fileformat to "unix"
20743Files: src/testdir/test_textprop.vim
20744
20745Patch 8.2.3374
20746Problem: Pyret files are not recognized.
20747Solution: Recognize .arr files as Pyret. (Doug Kearns)
20748Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20749
20750Patch 8.2.3375
20751Problem: Using uninitialized memory.
20752Solution: Initialize textprop_save_len.
20753Files: src/memline.c
20754
20755Patch 8.2.3376
20756Problem: Vim9: no warning that "@r" does not do anything.
20757Solution: Give a "no effect" error. (closes #8779)
20758Files: src/ex_eval.c, src/proto/ex_eval.pro, src/vim9compile.c,
20759 src/testdir/test_vim9_cmd.vim
20760
20761Patch 8.2.3377
20762Problem: Vim9: :disass completion does not understand "s:".
20763Solution: Expand "s:" to a pattern. (closes #8780)
20764Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
20765
20766Patch 8.2.3378
20767Problem: MS-Windows: completing environment variables with % is wrong.
20768Solution: Only complete environment variables with $. (Albert Liu,
20769 closes #8791)
20770Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
20771
20772Patch 8.2.3379
20773Problem: Crash when using NULL job.
20774Solution: Copy static string into buffer. (issue #8260)
20775Files: src/job.c, src/testdir/test_channel.vim
20776
20777Patch 8.2.3380
20778Problem: Crash when using NULL string for funcref().
20779Solution: Check for NULL argument. (issue #8260)
20780Files: src/evalfunc.c, src/testdir/test_expr.vim
20781
20782Patch 8.2.3381
20783Problem: Crash when using NULL list with sign functions.
20784Solution: Handle a NULL list like an empty list. (issue #8260)
20785Files: src/globals.h, src/testdir/test_signs.vim
20786
20787Patch 8.2.3382
20788Problem: Crash when getting the type of a NULL partial.
20789Solution: Check for NULL. (closes #8260)
20790Files: src/vim9type.c, src/testdir/test_vim9_builtin.vim
20791
20792Patch 8.2.3383
20793Problem: Vim9: completion for :disassemble adds parenthesis.
20794Solution: Don't add parenthesis. (Naohiro Ono, closes #8802)
20795Files: src/userfunc.c, src/testdir/test_cmdline.vim
20796
20797Patch 8.2.3384
20798Problem: Cannot disable modeline for an individual file.
20799Solution: Recognize "nomodeline" in a modeline. (Hu Jialun, closes #8798)
20800Files: runtime/doc/options.txt, src/buffer.c,
20801 src/testdir/test_modeline.vim
20802
20803Patch 8.2.3385
20804Problem: Escaping for fish shell does not work properly.
20805Solution: Insert a backslash before a backslash. (Jason Cox, closes #8810)
20806Files: runtime/doc/eval.txt, src/strings.c, src/testdir/test_shell.vim
20807
20808Patch 8.2.3386
20809Problem: Using uninitialized memory.
20810Solution: Initialize the rm_ic field. (Dominique Pellé, closes #8800)
20811Files: src/indent.c
20812
20813Patch 8.2.3387
20814Problem: Compiler warning for non-static function.
20815Solution: Make the function static. (Dominique Pellé, closes #8816)
20816Files: src/strings.c
20817
20818Patch 8.2.3388
20819Problem: fnamemodify('path/..', ':p') differs from using 'path/../'. (David
20820 Briscoe)
20821Solution: Include the "/.." in the directory name. (closes #8808)
20822Files: src/os_unix.c, src/testdir/test_fnamemodify.vim
20823
20824Patch 8.2.3389
20825Problem: Cannot stop insert mode completion without side effects.
20826Solution: Add CTRL-X CTRL-Z. (closes #8821)
20827Files: runtime/doc/index.txt, runtime/doc/insert.txt, src/insexpand.c,
20828 src/testdir/test_ins_complete.vim
20829
20830Patch 8.2.3390
20831Problem: Included xdiff code is outdated.
20832Solution: Sync with xdiff in git 2.33. (Christian Brabandt, closes #8431)
20833Files: src/diff.c, src/xdiff/README.txt, src/xdiff/xdiff.h,
20834 src/xdiff/xdiffi.c, src/xdiff/xdiffi.h, src/xdiff/xemit.c,
20835 src/xdiff/xemit.h, src/xdiff/xhistogram.c, src/xdiff/xinclude.h,
20836 src/xdiff/xmacros.h, src/xdiff/xpatience.c, src/xdiff/xprepare.h,
20837 src/xdiff/xtypes.h, src/xdiff/xutils.c, src/xdiff/xutils.h
20838
20839Patch 8.2.3391
20840Problem: Crash with combination of 'linebreak' and other options.
20841Solution: Avoid n_extra to become negative. (Christian Brabandt,
20842 closes #8817)
20843Files: src/drawline.c
20844
20845Patch 8.2.3392
20846Problem: augroup completion escapes regexp pattern characters.
20847Solution: Do not escape the augroup name. (closes #8826)
20848Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
20849
20850Patch 8.2.3393
20851Problem: Escaping for fish shell is skipping some characters.
20852Solution: Escape character after backslash if needed. (Jason Cox,
20853 closes #8827)
20854Files: src/strings.c, src/testdir/test_shell.vim
20855
20856Patch 8.2.3394
20857Problem: Filler lines are wrong when changing text in diff mode.
20858Solution: Don't change the filler lines on every change. Check
20859 scrollbinding when updating the filler lines. (closes #8809)
20860Files: src/move.c, src/diff.c, src/testdir/test_diffmode.vim,
20861 src/testdir/dumps/Test_diff_scroll_change_01.dump,
20862 src/testdir/dumps/Test_diff_scroll_change_02.dump
20863
20864Patch 8.2.3395
20865Problem: Vim9: expression breakpoint not checked in :def function.
20866Solution: Always compile a function for debugging if there is an expression
20867 breakpoint. (closes #8803)
20868Files: src/vim9execute.c, src/proto/vim9execute.pro, src/debugger.c,
20869 src/proto/debugger.pro, src/vim.h, src/vim9.h,
20870 src/testdir/test_debugger.vim
20871
20872Patch 8.2.3396
20873Problem: When libcall() fails invalid pointer may be used.
20874Solution: Initialize the string to NULL. (Yasuhiro Matsumoto, closes #8829)
20875Files: src/evalfunc.c
20876
20877Patch 8.2.3397
20878Problem: No test for what 8.2.3391 fixes.
20879Solution: Add a test. (Yegappan Lakshmanan, closes #8828)
20880Files: src/testdir/test_breakindent.vim
20881
20882Patch 8.2.3398
20883Problem: Html text objects are not fully tested.
20884Solution: Add tests for dbcs encoding and different number of backslashes.
20885 (Dominique Pellé, closes #8831)
20886Files: src/testdir/test_textobjects.vim
20887
20888Patch 8.2.3399
20889Problem: Octave files are not recognized.
20890Solution: Detect Octave files. (Doug Kearns)
20891Files: runtime/autoload/dist/ft.vim, runtime/doc/filetype.txt,
20892 runtime/filetype.vim, src/testdir/test_filetype.vim
20893
20894Patch 8.2.3400
20895Problem: ":z!" is not supported.
20896Solution: Make ":z!" work and add tests. (Dominique Pellé, closes #8836)
20897 Use display height instead of current window height.
20898Files: runtime/doc/various.txt, src/ex_cmds.h, src/ex_cmds.c,
20899 src/testdir/test_ex_z.vim
20900
20901Patch 8.2.3401
20902Problem: Vim9: cannot use a negative count with finddir() and findfile().
20903Solution: Adjust the return type. (closes #8776)
20904Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
20905
20906Patch 8.2.3402
20907Problem: Invalid memory access when using :retab with large value.
20908Solution: Check the number is positive.
20909Files: src/indent.c, src/option.c, src/optionstr.c,
20910 src/testdir/test_retab.vim
20911
20912Patch 8.2.3403 (after 8.2.3402)
20913Problem: Memory leak for :retab with invalid argument.
20914Solution: Free the memory. Make error messages consistent.
20915Files: src/indent.c
20916
20917Patch 8.2.3404
20918Problem: Vim9: no error for white space before "(".
20919Solution: Give an error, like in a compiled function.
20920Files: src/userfunc.c, src/testdir/test_vim9_func.vim
20921
20922Patch 8.2.3405
20923Problem: Cannot have a comment line in a {} block of a user command.
20924Solution: Continue after the line break. (closes #8837)
20925Files: src/ex_docmd.c, src/testdir/test_usercommands.vim
20926
20927Patch 8.2.3406
20928Problem: On some systems tests fail without _REENTRANT. (Elimar
20929 Riesebieter)
20930Solution: Add -D_REENTRANT in configure. (closes #7402)
20931Files: src/configure.ac, src/auto/configure
20932
20933Patch 8.2.3407
20934Problem: Using uninitialized memory with "let g:['bar'] = 2".
20935Solution: Initialize v_type of a new dict item.
20936Files: src/dict.c
20937
20938Patch 8.2.3408
20939Problem: Can delete a numbered function. (Naohiro Ono)
20940Solution: Disallow deleting a numbered function. (closes #8760)
20941Files: src/userfunc.c, src/testdir/test_user_func.vim
20942
20943Patch 8.2.3409
20944Problem: Reading beyond end of line with invalid utf-8 character.
20945Solution: Check for NUL when advancing.
20946Files: src/regexp_nfa.c, src/testdir/test_regexp_utf8.vim
20947
20948Patch 8.2.3410
20949Problem: Crash with linebreak, listchars and large tabstop.
20950Solution: Account for different size listchars for a tab. (closes #8841)
20951Files: src/drawline.c, src/testdir/test_listlbr_utf8.vim
20952
20953Patch 8.2.3411
20954Problem: Vim9: crash when using base name of import. (Naohiro Ono)
20955Solution: Check the import flags. (closes #8843)
20956Files: src/evalvars.c, src/errors.h, src/testdir/test_vim9_script.vim
20957
20958Patch 8.2.3412 (after 8.2.3411)
20959Problem: Vim9: importing the wrong file.
20960Solution: Correct the file name. Delete the file afterwards.
20961Files: src/testdir/test_vim9_script.vim
20962
20963Patch 8.2.3413
20964Problem: Vim9: too many characters are allowed in import name.
20965Solution: Disallow ':' and '#', check for white space. (closes #8845)
20966Files: src/vim9script.c, src/errors.h, src/testdir/test_vim9_script.vim
20967
20968Patch 8.2.3414
20969Problem: fullcommand() gives the wrong name if there is a buffer-local user
20970 command. (Naohiro Ono)
20971Solution: Use a separate function to get the user command name.
20972 (closes #8840)
20973Files: src/usercmd.c, src/proto/usercmd.pro, src/ex_docmd.c,
20974 src/testdir/test_cmdline.vim
20975
20976Patch 8.2.3415
20977Problem: Vim9: Not all function argument types are properly checked.
20978Solution: Add and improve argument type checks. (Yegappan Lakshmanan,
20979 closes #8839)
20980Files: src/channel.c, src/digraph.c, src/evalfunc.c, src/terminal.c,
20981 src/testdir/test_digraph.vim, src/testdir/test_vim9_builtin.vim
20982
20983Patch 8.2.3416
20984Problem: Second error is reported while exception is being thrown.
20985Solution: Do not check for trailing characters when already aborting.
20986 (closes #8842)
20987Files: src/userfunc.c, src/testdir/test_trycatch.vim
20988
20989Patch 8.2.3417
20990Problem: Vim9: a failing debug expression aborts script sourcing.
20991Solution: Do not let expression failure abort script sourcing. (closes #8848)
20992Files: src/debugger.c, src/testdir/test_debugger.vim
20993
20994Patch 8.2.3418
20995Problem: Garbage collection while evaluating may cause trouble.
20996Solution: Disable garbage collection while evaluating an expression.
20997 (Christian Brabandt, issue #8848)
20998Files: src/eval.c
20999
21000Patch 8.2.3419
21001Problem: A failing debug expression may make Vim unusable.
21002Solution: Suppress error messages. (closes #8848)
21003Files: src/debugger.c, src/testdir/test_debugger.vim
21004
21005Patch 8.2.3420
21006Problem: _REENTRANT defined more than once.
21007Solution: Fix configure script. (Christian Brabandt, closes #8852)
21008Files: src/configure.ac, src/auto/configure
21009
21010Patch 8.2.3421
21011Problem: A bit of code is not covered by tests.
21012Solution: Add a few more test cases. (Dominique Pellé, closes #8857)
21013Files: src/testdir/test_functions.vim, src/testdir/test_history.vim,
21014 src/testdir/test_startup.vim
21015
21016Patch 8.2.3422
21017Problem: Vim9: no failure if return type differs from returned variable.
21018Solution: Copy type when copying a list. (closes #8847)
21019Files: src/list.c, src/testdir/test_vim9_func.vim
21020
21021Patch 8.2.3423
21022Problem: Vim9: list += list creates a new list in :def function.
21023Solution: Append to the existing list.
21024Files: src/structs.h, src/vim9compile.c, src/vim9execute.c,
21025 src/testdir/test_vim9_assign.vim
21026
21027Patch 8.2.3424
21028Problem: A sequence of spaces is hard to see in list mode.
21029Solution: Add the "multispace" option to 'listchars'. (closes #8834)
21030Files: runtime/doc/options.txt, src/drawline.c, src/message.c,
21031 src/screen.c, src/structs.h, src/testdir/test_listchars.vim
21032
21033Patch 8.2.3425
21034Problem: Warning for using uninitialized variable.
21035Solution: Initialize it. (John Marriott)
21036Files: src/screen.c
21037
21038Patch 8.2.3426
21039Problem: Crash when deleting a listener in a listener callback. (Naohiro
21040 Ono)
21041Solution: Mark the listener and delete it later. (closes #8863)
21042Files: src/change.c, src/testdir/test_listener.vim
21043
21044Patch 8.2.3427
21045Problem: Double free when list is copied.
21046Solution: Allocate the type when making a copy. (closes #8862)
21047 Clear the type for flattennew(). Avoid a memory leak when
21048 flattennew() fails.
21049Files: src/list.c, src/testdir/test_vim9_builtin.vim
21050
21051Patch 8.2.3428
21052Problem: Using freed memory when replacing. (Dhiraj Mishra)
21053Solution: Get the line pointer after calling ins_copychar().
21054Files: src/normal.c, src/testdir/test_edit.vim
21055
21056Patch 8.2.3429
21057Problem: Leaking memory when assigning to list or dict.
21058Solution: Free the list or dict type before overwriting it.
21059Files: src/vim9type.c, src/evalvars.c
21060
21061Patch 8.2.3430
21062Problem: No generic way to trigger an autocommand on mode change.
21063Solution: Add the ModeChanged autocommand event. (Magnus Gross, closes #8856)
21064Files: runtime/doc/autocmd.txt, src/autocmd.c, src/edit.c,
21065 src/ex_docmd.c, src/ex_getln.c, src/globals.h, src/misc1.c,
21066 src/normal.c, src/proto/autocmd.pro, src/proto/misc1.pro,
21067 src/testdir/test_edit.vim, src/vim.h
21068
21069Patch 8.2.3431
21070Problem: Completion for :disas sorts local functions first.
21071Solution: Sort local functions last, like with :delfunc. (Naohiro Ono,
21072 closes #8860)
21073Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
21074
21075Patch 8.2.3432
21076Problem: Octave/Matlab filetype detection does not work properly.
21077Solution: Update the patterns used for matching. (Doug Kearns)
21078Files: runtime/autoload/dist/ft.vim, src/testdir/test_filetype.vim
21079
21080Patch 8.2.3433
21081Problem: :delcommand does not take a -buffer option.
21082Solution: Add the -buffer option.
21083Files: runtime/doc/map.txt, src/usercmd.c, src/errors.h,
21084 src/testdir/test_usercommands.vim
21085
21086Patch 8.2.3434 (after 8.2.3430)
21087Problem: Function prototype for trigger_modechanged() is incomplete.
21088Solution: Add "void".
21089Files: src/proto/misc1.pro
21090
21091Patch 8.2.3435
21092Problem: Vim9: dict is not passed to dict function.
21093Solution: Keep the dict used until a function call.
21094Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h,
21095 src/testdir/test_vim9_func.vim,
21096 src/testdir/test_vim9_disassemble.vim
21097
21098Patch 8.2.3436
21099Problem: Check for optional bool type has confusing return type.
21100Solution: Explicitly return OK.
21101Files: src/typval.c
21102
21103Patch 8.2.3437
21104Problem: Compiler warnings for 32/64 bit usage.
21105Solution: Add type casts. (Mike Williams, closes #8870)
21106Files: src/screen.c, src/xdiff/xemit.c, src/xdiff/xutils.c
21107
21108Patch 8.2.3438
21109Problem: Cannot manipulate blobs.
21110Solution: Add blob2list() and list2blob(). (Yegappan Lakshmanan,
21111 closes #8868)
21112Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/blob.c,
21113 src/errors.h, src/evalfunc.c, src/proto/blob.pro,
21114 src/proto/typval.pro, src/testdir/test_blob.vim,
21115 src/testdir/test_vim9_builtin.vim, src/typval.c
21116
21117Patch 8.2.3439
21118Problem: Deleted lines go to wrong yank register.
21119Solution: Reset y_append when not calling get_yank_register(). (Christian
21120 Brabandt, closes #8872)
21121Files: src/ops.c, src/proto/register.pro, src/register.c,
21122 src/testdir/test_registers.vim
21123
21124Patch 8.2.3440
21125Problem: Recover test fails if there is an old swap file.
21126Solution: Delete old swap files.
21127Files: src/testdir/test_recover.vim
21128
21129Patch 8.2.3441
21130Problem: MS-Windows: vimtutor can't handle path with spaces.
21131Solution: Add double quotes. (Christian Brabandt, closes #8871)
21132Files: vimtutor.bat
21133
21134Patch 8.2.3442
21135Problem: Vim9: || and && are not handled at compile time when possible.
21136Solution: When using constants generate fewer instructions.
21137Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
21138 src/testdir/test_vim9_disassemble.vim
21139
21140Patch 8.2.3443
21141Problem: Vim9: memory leak when and/or fails.
21142Solution: Also clear the growarray when the length is zero.
21143Files: src/vim9compile.c
21144
21145Patch 8.2.3444
21146Problem: concealed text not revealed when leaving insert mode. (Michael
21147 Soyka)
21148Solution: Check if concealing changed when leaving insert mode.
21149 (closes #8880)
21150Files: src/edit.c, src/testdir/test_conceal.vim,
21151 src/testdir/dumps/Test_conceal_two_windows_07in.dump
21152
21153Patch 8.2.3445
21154Problem: On Solaris longVersion may be declared twice. (Vladimir Marek)
21155Solution: Always declare longVersion in version.c
21156Files: src/globals.h, src/version.c
21157
21158Patch 8.2.3446
21159Problem: Not enough tests for empty string arguments.
21160Solution: Add tests, fix type check. (Yegappan Lakshmanan, closes #8881)
21161Files: runtime/doc/sign.txt, runtime/doc/textprop.txt, src/sign.c,
21162 src/testdir/test_blob.vim, src/testdir/test_vim9_builtin.vim
21163
21164Patch 8.2.3447
21165Problem: A couple of declarations are not ANSI C.
21166Solution: Put argument type inside (). (Yegappan Lakshmanan, closes #8890)
21167Files: src/os_unix.h
21168
21169Patch 8.2.3448
21170Problem: :endtry after function call that throws not found.
21171Solution: Do check for following :endtry if an exception is being thrown.
21172 (closes #8889)
21173Files: src/userfunc.c, src/testdir/test_trycatch.vim
21174
21175Patch 8.2.3449
21176Problem: Sort fails if the sort compare function returns 999.
21177Solution: Adjust value to -1 / 0 / 1. (Yasuhiro Matsumoto, closes #8884)
21178Files: src/list.c, src/testdir/test_sort.vim
21179
21180Patch 8.2.3450
21181Problem: Coveralls action fails.
21182Solution: Disable it for now.
21183Files: .github/workflows/ci.yml
21184
21185Patch 8.2.3451
21186Problem: Not all apache files are recognized.
21187Solution: Adjust the filetype pattern. (Zdenek Dohnal, closes #8882)
21188Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21189
21190Patch 8.2.3452
21191Problem: MPD files are not recognized.
21192Solution: Recognize MPD files as XML. (Steven Penny, closes #8893)
21193Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21194
21195Patch 8.2.3453
21196Problem: Autocmd not executed when editing a directory ending in a path
21197 separator inside try block.
21198Solution: Return NOTDONE instead of FAIL. (closes #8885)
21199Files: src/fileio.c, src/testdir/test_autocmd.vim
21200
21201Patch 8.2.3454
21202Problem: Using a count with "gp" leaves cursor in wrong position. (Naohiro
21203 Ono)
21204Solution: Count the inserted lines. (closes #8899)
21205Files: src/register.c, src/testdir/test_put.vim
21206
21207Patch 8.2.3455 (after 8.2.3454)
21208Problem: Using a count with "gp" leaves '] in wrong position. (Naohiro Ono)
21209Solution: Correct the mark position. (closes #8899)
21210Files: src/register.c, src/testdir/test_put.vim
21211
21212Patch 8.2.3456
21213Problem: Vim9: Not all functions are tested with an empty string argument.
21214Solution: Add tests with empty strings. (Yegappan Lakshmanan, closes #8915)
21215Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
21216
21217Patch 8.2.3457
21218Problem: MS-Windows Vim9: test executed and fails.
21219Solution: Add extra check for not being on MS-Windows.
21220Files: src/testdir/test_vim9_script.vim
21221
21222Patch 8.2.3458
21223Problem: Not all dictdconf files are recognized.
21224Solution: Adjust the pattern. (Doug Kearns)
21225Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21226
21227Patch 8.2.3459
21228Problem: Vim9: need more tests for empty string arguments.
21229Solution: Add more tests. Also use empty argument with menu_info() to get
21230 the top-level menu names. (Yegappan Lakshmanan, closes #8925)
21231Files: runtime/doc/eval.txt, src/menu.c, src/testdir/test_menu.vim,
21232 src/testdir/test_vim9_builtin.vim
21233
21234Patch 8.2.3460
21235Problem: Some type casts are not needed.
21236Solution: Remove unnecessary type casts. (closes #8934)
21237Files: src/autocmd.c, src/buffer.c, src/debugger.c, src/getchar.c,
21238 src/hardcopy.c, src/if_cscope.c, src/move.c, src/tag.c,
21239 src/version.c
21240
21241Patch 8.2.3461
21242Problem: Cannot distinguish Normal and Terminal-Normal mode.
21243Solution: Make mode() return "nt" for Terminal-Normal mode. (issue #8856)
21244Files: runtime/doc/eval.txt, src/misc1.c, src/testdir/test_functions.vim
21245
21246Patch 8.2.3462
21247Problem: The ModeChanged event only uses one character for the new_mode and
21248 old_mode values.
21249Solution: Pass one as first argument to mode(). (issue #8856)
21250Files: src/misc1.c, src/testdir/test_edit.vim
21251
21252Patch 8.2.3463
21253Problem: Pattern matching with ModeChanged not tested.
21254Solution: Add a few more test lines. (issue #8856)
21255Files: src/testdir/test_edit.vim
21256
21257Patch 8.2.3464
21258Problem: nginx files are not recognized.
21259Solution: Add several file patterns. (Chris Aumann, closes #8922)
21260Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21261
21262Patch 8.2.3465
21263Problem: Cannot detect insert scroll mode.
21264Solution: Add "scroll" to complete_info(). (closes #8943)
21265Files: runtime/doc/eval.txt, src/insexpand.c, src/testdir/test_popup.vim
21266
21267Patch 8.2.3466
21268Problem: Completion submode not indicated for virtual replace.
21269Solution: Add submode to "Rv". (closes #8945)
21270Files: runtime/doc/eval.txt, src/misc1.c, src/testdir/test_functions.vim
21271
21272Patch 8.2.3467
21273Problem: CursorHoldI event interferes with "CTRL-G U". (Naohiro Ono)
21274Solution: Restore the flag for "CTRL-G U" after triggering CursorHoldI.
21275 (closes #8937)
21276Files: src/edit.c, src/testdir/test_autocmd.vim
21277
21278Patch 8.2.3468
21279Problem: Problem with :cd when editing file in non-existent directory. (Yee
21280 Cheng Chin)
21281Solution: Prepend the current directory to get the full path. (closes #8903)
21282Files: src/os_unix.c, src/testdir/test_cd.vim
21283
21284Patch 8.2.3469
21285Problem: Some files with json syntax are not recognized.
21286Solution: Add a few file patterns. (Emiliano Ruiz Carletti, closes #8947)
21287Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21288
21289Patch 8.2.3470
21290Problem: Crash with error in :catch and also in :finally.
21291Solution: Only discard an exception if there is one. (closes #8954)
21292Files: src/ex_eval.c, src/testdir/test_trycatch.vim
21293
21294Patch 8.2.3471
21295Problem: Crash when using CTRL-T after an empty search pattern.
21296Solution: Bail out when there is no previous search pattern. (closes #8953)
21297Files: src/ex_getln.c, src/testdir/test_search.vim
21298
21299Patch 8.2.3472
21300Problem: Other crashes with empty search pattern not tested.
21301Solution: Add a few more test lines. (Dominique Pellé)
21302Files: src/testdir/test_search.vim
21303
21304Patch 8.2.3473
21305Problem: Some files with tcl syntax are not recognized.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000021306Solution: Add a few file patterns. (Doug Kearns)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000021307Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21308
21309Patch 8.2.3474
21310Problem: Some places use "Vimscript" instead of "Vim script".
21311Solution: Consistently use "Vim script". (Hirohito Higashi, closes #8910)
21312Files: runtime/doc/if_lua.txt, src/getchar.c, src/if_lua.c
21313
21314Patch 8.2.3475
21315Problem: Expression register set by not executed put command.
21316Solution: Do not set the register if the command is skipped. (closes #8909)
21317Files: src/ex_docmd.c, src/testdir/test_excmd.vim
21318
21319Patch 8.2.3476
21320Problem: Renaming a buffer on startup may cause using freed memory.
21321Solution: Check if the buffer is used in a window. (closes #8955)
21322Files: src/buffer.c, src/testdir/test_startup.vim
21323
21324Patch 8.2.3477 (after 8.2.3476)
21325Problem: Startup test fails on MS-Windows.
21326Solution: Skip the test if not on Unix.
21327Files: src/testdir/test_startup.vim
21328
21329Patch 8.2.3478 (after 8.2.3470)
21330Problem: Still crash with error in :catch and also in :finally.
21331Solution: Only call finish_exception() once. (closes #8954)
21332Files: src/ex_eval.c, src/structs.h
21333
21334Patch 8.2.3479
21335Problem: Crash when calling job_start with an invalid argument. (Virginia
21336 Senioria)
21337Solution: Clear the first item in argv. (closes #8957)
21338Files: src/misc2.c, src/testdir/test_channel.vim
21339
21340Patch 8.2.3480 (after 8.2.3478)
21341Problem: Test does not fail without the fix for a crash.
21342Solution: Write the bad code in a file and source it. (Dominique Pellé,
21343 closes #8961)
21344Files: src/testdir/test_trycatch.vim
21345
21346Patch 8.2.3481
21347Problem: Failures when char is unsigned.
21348Solution: Use int8_T. Make a CI run with unsigned char. (James McCoy,
21349 closes #8936)
21350Files: src/structs.h, .github/workflows/ci.yml
21351
21352Patch 8.2.3482
21353Problem: Reading beyond end of line ending in quote and backslash.
21354Solution: Check for non-NUL after backslash. (closes #8964)
21355Files: src/cindent.c, src/testdir/test_cindent.vim
21356
21357Patch 8.2.3483
21358Problem: #ifdef for using sysinfo() is incomplete.
21359Solution: Also check for HAVE_SYSINFO. Make autoconf check use TRY_LINK.
21360 (closes #8952)
21361Files: src/memline.c, src/configure.ac, src/auto/configure
21362
21363Patch 8.2.3484
21364Problem: Crash when going through spell suggestions.
21365Solution: Limit the text length for finding suggestions to the original
21366 length. Do not update buffers when exiting. (closes #8965)
21367Files: src/spellsuggest.c, src/clipboard.c,
21368 src/testdir/test_spell_utf8.vim
21369
21370Patch 8.2.3485
21371Problem: Python 3 test fails with Python 3.10.
21372Solution: Adjust expected error message. (zdohnal Dohnal, closes #8969)
21373Files: src/testdir/test_python3.vim
21374
21375Patch 8.2.3486
21376Problem: Illegal memory access with invalid sequence of commands.
21377Solution: Do not call leave_block() when not in a try block. (closes #8966)
21378 Reset did_emsg so that exception is shown as an error.
21379Files: src/ex_eval.c, src/testdir/test_trycatch.vim
21380
21381Patch 8.2.3487
21382Problem: Illegal memory access if buffer name is very long.
21383Solution: Make sure not to go over the end of the buffer.
21384Files: src/drawscreen.c, src/testdir/test_statusline.vim
21385
21386Patch 8.2.3488
21387Problem: Issue template is not easy to use.
21388Solution: Use a yaml template. (closes #8928)
21389Files: .github/ISSUE_TEMPLATE/bug_report.md,
21390 .github/ISSUE_TEMPLATE/bug_report.yml
21391
21392Patch 8.2.3489
21393Problem: ml_get error after search with range.
21394Solution: Limit the line number to the buffer line count.
21395Files: src/ex_docmd.c, src/testdir/test_search.vim
21396
21397Patch 8.2.3490
21398Problem: Superfluous return statements.
21399Solution: Remove superfluous return statements from void functions.
21400 (closes #8977)
21401Files: src/buffer.c, src/getchar.c, src/memline.c, src/move.c,
21402 src/option.c
21403
21404Patch 8.2.3491
Bram Moolenaar1588bc82022-03-08 21:35:07 +000021405Problem: xpm2 filetype detection is not so good.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000021406Solution: Adjust the check for xpm2. (closes #8914)
21407Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21408
21409Patch 8.2.3492
21410Problem: Crash when pasting too many times.
21411Solution: Limit the size to what fits in an int. (closes #8962)
21412Files: src/register.c, src/errors.h, src/testdir/test_put.vim
21413
21414Patch 8.2.3493 (after 8.2.3492)
21415Problem: Large count test fails on MS-Windows.
21416Solution: Skip the test on MS-Windows.
21417Files: src/testdir/test_put.vim
21418
21419Patch 8.2.3494
21420Problem: Illegal memory access in utf_head_off.
21421Solution: Check cursor position when reselecting the Visual area.
21422 (closes #8963)
21423Files: src/normal.c, src/testdir/test_visual.vim
21424
21425Patch 8.2.3495
21426Problem: GUI geometry startup test fails on some systems. (Drew Vogel)
21427Solution: Add tolerance to the size check. (closes #8815)
21428Files: src/testdir/test_startup.vim
21429
21430Patch 8.2.3496
21431Problem: Crypt test fails on MS-Windows if xxd was not installed yet.
21432Solution: Use the just built xxd executable if it exists. (James McCoy,
21433 closes #8929)
21434Files: src/testdir/test_crypt.vim
21435
21436Patch 8.2.3497
21437Problem: Put test fails when run by itself.
21438Solution: Source check.vim. (Dominique Pellé, closes #8990)
21439Files: src/testdir/test_put.vim
21440
21441Patch 8.2.3498
21442Problem: Recover test may fail on some systems.
21443Solution: Adjust the little endian and 64 bit detection. (James McCoy,
21444 closes #8941)
21445Files: src/testdir/test_recover.vim
21446
21447Patch 8.2.3499
21448Problem: GUI geometry startup test fails.
21449Solution: Check string values instead of numbers
21450Files: src/testdir/test_startup.vim
21451
21452Patch 8.2.3500
21453Problem: Github CI fails to install clang.
21454Solution: Install llvm-11 explicitly. (Christian Brabandt, closes #8993)
21455Files: .github/workflows/ci.yml
21456
21457Patch 8.2.3501
Bram Moolenaar1588bc82022-03-08 21:35:07 +000021458Problem: tmux filetype detection is incomplete
Bram Moolenaarc51cf032022-02-26 12:25:45 +000021459Solution: Also use tmux for files having text after .conf. (Eric Pruitt,
21460 closes #8971)
21461Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21462
21463Patch 8.2.3502 (after 8.2.2919)
21464Problem: Cannot enter password in shell command.
21465Solution: Revert patch 8.2.2919.
21466Files: src/os_unix.c
21467
21468Patch 8.2.3503
21469Problem: Vim9: using g:pat:cmd is confusing.
21470Solution: Do not recognize g: as the :global command. Also for s:pat:repl.
21471 (closes #8982)
21472Files: runtime/doc/vim9.txt, src/ex_docmd.c, src/ex_cmds.c, src/errors.h,
21473 src/vim9compile.c, src/proto/vim9compile.pro,
21474 src/testdir/test_vim9_cmd.vim
21475
21476Patch 8.2.3504 (after 8.2.3503)
21477Problem: Vim9: warning for signed vs unsigned.
21478Solution: Add type cast.
21479Files: src/vim9compile.c
21480
21481Patch 8.2.3505 (after 8.2.3503)
21482Problem: Vim9: build failure without the +eval feature.
21483Solution: Add #ifdef.
21484Files: src/ex_cmds.c
21485
21486Patch 8.2.3506 (after 8.2.3503)
21487Problem: Vim9: special cases for "g" and "s" insufficiently tested.
21488Solution: Add a few more test cases.
21489Files: src/testdir/test_vim9_cmd.vim
21490
21491Patch 8.2.3507
21492Problem: Generating proto files may fail.
21493Solution: Define __attribute().
21494Files: src/Makefile
21495
21496Patch 8.2.3508 (after 8.2.3503)
21497Problem: Vim9: bad separators for "g" and "s" insufficiently tested.
21498Solution: Add a few more test cases.
21499Files: src/testdir/test_vim9_cmd.vim
21500
21501Patch 8.2.3509
21502Problem: Undo file is not synced. (Sami Farin)
21503Solution: Sync the undo file if 'fsync' is set. (Christian Brabandt,
21504 closes #8879, closes #8920)
21505Files: runtime/doc/options.txt, src/undo.c
21506
21507Patch 8.2.3510
21508Problem: Changes are only detected with one second accuracy.
21509Solution: Use the nanosecond time if possible. (Leah Neukirchen,
21510 closes #8873, closes #8875)
21511Files: runtime/doc/eval.txt, src/auto/configure, src/bufwrite.c,
21512 src/config.h.in, src/configure.ac, src/fileio.c,
21513 src/proto/fileio.pro, src/memline.c, src/netbeans.c,
21514 src/structs.h, src/evalfunc.c, src/testdir/test_stat.vim
21515
21516Patch 8.2.3511
21517Problem: Vim9: entry for loop variable is created every round.
21518Solution: Only create the entry once. (closes #8996)
21519Files: src/evalvars.c, src/vim9script.c
21520
21521Patch 8.2.3512
21522Problem: Timestamp test fails on some systems.
21523Solution: Sleep for a short while.
21524Files: src/testdir/test_stat.vim
21525
21526Patch 8.2.3513
21527Problem: Using freed memory when using a timer and searching. (Dominique
21528 Pellé)
21529Solution: Allocated mr_pattern.
21530Files: src/search.c
21531
21532Patch 8.2.3514
Bram Moolenaar1588bc82022-03-08 21:35:07 +000021533Problem: Autoread test with nanosecond time sometimes fails.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000021534Solution: Mark the test as being flaky.
21535Files: src/testdir/test_stat.vim
21536
21537Patch 8.2.3515
21538Problem: Nano time test fails on Mac and FreeBSD.
21539Solution: Also check nano time when not on Linux. (Ozaki Kiichi,
21540 closes #9000)
21541Files: src/fileio.c
21542
21543Patch 8.2.3516
21544Problem: Terminal window does not have transparent background when
21545 'termguicolors' is used.
21546Solution: Fix the background color. (closes #2361, closes #9002)
21547Files: runtime/doc/terminal.txt, src/highlight.c, src/proto/terminal.pro,
21548 src/terminal.c
21549
21550Patch 8.2.3517
21551Problem: TextChanged does not trigger after TextChangedI.
21552Solution: Store the tick separately for TextChangedI. (Christian Brabandt,
21553 closes #8968, closes #8932)
21554Files: src/buffer.c, src/bufwrite.c, src/edit.c, src/structs.h,
21555 src/testdir/test_autocmd.vim
21556
21557Patch 8.2.3518
21558Problem: Test_xrestore sometimes fails.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000021559Solution: Mark the test as flaky. Move marking test as flaky to the test
Bram Moolenaarc51cf032022-02-26 12:25:45 +000021560 instead of listing them in runtest.
21561Files: src/testdir/test_paste.vim, src/testdir/runtest.vim,
21562 src/testdir/test_autocmd.vim, src/testdir/test_channel.vim,
21563 src/testdir/test_clientserver.vim, src/testdir/test_diffmode.vim,
21564 src/testdir/test_functions.vim, src/testdir/test_gui.vim,
21565 src/testdir/test_mapping.vim, src/testdir/test_popup.vim,
21566 src/testdir/test_quotestar.vim, src/testdir/test_reltime.vim,
21567 src/testdir/test_terminal.vim, src/testdir/test_terminal2.vim,
21568 src/testdir/test_timers.vim
21569
21570Patch 8.2.3519
21571Problem: TOML files are not recognized.
21572Solution: Add filetype patterns for TOML. (Aman Verma, closes #8984)
21573Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21574
21575Patch 8.2.3520
21576Problem: Cannot define a function for thesaurus completion.
21577Solution: Add 'thesaurusfunc'. (Yegappan Lakshmanan, closes #8987,
21578 closes 8950)
21579Files: runtime/doc/insert.txt, runtime/doc/options.txt,
21580 runtime/doc/quickref.txt, src/buffer.c, src/insexpand.c,
21581 src/option.c, src/option.h, src/optiondefs.h, src/optionstr.c,
21582 src/structs.h, src/testdir/test_edit.vim
21583
21584Patch 8.2.3521 (after 8.2.3520)
21585Problem: Options completion test fails.
21586Solution: Add 'thesaurusfunc' to the results.
21587Files: src/testdir/test_options.vim
21588
21589Patch 8.2.3522
21590Problem: Cannot use \x and \u when setting 'listchars'.
21591Solution: Support hex and unicode in hex form. (closes #9006)
21592Files: runtime/doc/options.txt, src/screen.c, src/charset.c,
21593 src/testdir/test_listchars.vim
21594
21595Patch 8.2.3523
21596Problem: Duplicated code in xxd.
21597Solution: Remove duplicated lines. (closes #8972)
21598Files: src/xxd/xxd.c
21599
21600Patch 8.2.3524
21601Problem: GUI: ligatures are not used.
21602Solution: Add the 'guiligatures' option. (Dusan Popovic, closes #8933)
21603Files: runtime/doc/options.txt, src/gui.c, src/gui.h, src/gui_gtk_x11.c,
21604 src/option.h, src/optiondefs.h, src/optionstr.c, src/errors.h,
21605 src/proto/gui.pro, src/proto/gui_gtk_x11.pro,
21606 src/testdir/test_gui.vim
21607
21608Patch 8.2.3525
21609Problem: Option variable name does not match option name. (Christ van
21610 Willigen)
21611Solution: Rename the variable.
21612Files: src/buffer.c, src/insexpand.c, src/option.c, src/optionstr.c,
21613 src/structs.h
21614
21615Patch 8.2.3526
21616Problem: Tests have clumsy check for X11 based GUI.
21617Solution: Add CheckX11BasedGui.
21618Files: src/testdir/check.vim, src/testdir/test_gui.vim,
21619 src/testdir/test_gui_init.vim, src/testdir/setup_gui.vim
21620
21621Patch 8.2.3527
21622Problem: Gcc complains about uninitialized variable. (Tony Mechelynck)
21623Solution: Initialize it.
21624Files: src/gui_gtk_x11.c
21625
21626Patch 8.2.3528
21627Problem: 'thesaurus' and 'thesaurusfunc' do not have the same scope.
21628Solution: Make 'thesaurusfunc' global-local.
21629Files: runtime/doc/options.txt, runtime/doc/insert.txt,
21630 src/optiondefs.h, src/option.h, src/option.c, src/structs.h,
21631 src/insexpand.c, src/testdir/test_edit.vim
21632
21633Patch 8.2.3529
21634Problem: Xxd usage output is incomplete.
21635Solution: Add "bytes" to "-g" flag. (Atsushi Sugawara, closes #8944)
21636Files: src/xxd/xxd.c
21637
21638Patch 8.2.3530
21639Problem: ":buf \{a}" fails while ":edit \{a}" works.
21640Solution: Unescape "\{". (closes #8917)
21641Files: src/vim.h, src/cmdexpand.c, src/evalfunc.c, src/ex_getln.c,
21642 src/proto/ex_getln.pro, src/normal.c, src/session.c,
21643 src/terminal.c, src/vim9execute.c, src/testdir/test_cmdline.vim
21644
21645Patch 8.2.3531 (after 8.2.3530)
21646Problem: Command line completion test fails on MS-Windows.
21647Solution: Do not test with "\{" on MS-Windows.
21648Files: src/testdir/test_cmdline.vim
21649
21650Patch 8.2.3532
21651Problem: The previous '' mark is restored after moving the cursor to the
21652 original jump position. (Tony Chen)
21653Solution: Forget the previous position after checking. (closes #8985)
21654Files: src/mark.c, src/testdir/test_marks.vim
21655
21656Patch 8.2.3533
21657Problem: Inefficient code in xxd.
21658Solution: Don't use "p" when "hextype" is non-zero. (closes #9013)
21659Files: src/xxd/xxd.c
21660
21661Patch 8.2.3534
21662Problem: Autoread test is a bit flaky.
21663Solution: Wait a brief moment before overwriting the file.
21664Files: src/testdir/test_stat.vim
21665
21666Patch 8.2.3535
21667Problem: If-else indenting is confusing.
21668Solution: Add curly brackets and indent. (Dominique Pellé, closes #9010)
21669Files: src/drawscreen.c
21670
21671Patch 8.2.3536
21672Problem: The do_highlight() function is way too long.
21673Solution: Split it into several functions. (Yegappan Lakshmanan,
21674 closes #9011)
21675Files: src/highlight.c
21676
21677Patch 8.2.3537
21678Problem: mode() does not return the right value in 'operatorfunc'.
21679Solution: Reset finish_op while calling 'operatorfunc'.
21680Files: src/ops.c, src/testdir/test_functions.vim
21681
21682Patch 8.2.3538
21683Problem: Else-if indenting is confusing.
21684Solution: Add curly brackets. (Yegappan Lakshmanan, closes #9017)
21685Files: src/highlight.c
21686
21687Patch 8.2.3539
21688Problem: GTK3: with 'rightleft' set scrollbar may move unintentionally.
21689Solution: Ignore events while moving the scrollbar thumb. (closes #8958)
21690Files: src/gui_gtk.c
21691
21692Patch 8.2.3540
21693Problem: The mark '] is wrong after put with a count. (Naohiro Ono)
21694Solution: Use the right line number. (closes #8956)
21695Files: src/register.c, src/testdir/test_put.vim
21696
21697Patch 8.2.3541
21698Problem: Compiler warning for unused variable in tiny version.
21699Solution: Add #ifdef. (John Marriott)
21700Files: src/highlight.c
21701
21702Patch 8.2.3542
21703Problem: Too many comments are old style.
21704Solution: Change comments to // style. (closes #9021)
21705Files: src/buffer.c
21706
21707Patch 8.2.3543
21708Problem: Swapname has double slash when 'directory' ends in double slash.
21709 (Shane Smith)
21710Solution: Remove the superfluous slash. (closes #8876)
21711Files: src/memline.c, src/testdir/test_swap.vim
21712
21713Patch 8.2.3544
21714Problem: Unix: may leak file descriptor when using a non-existing
21715 directory.
21716Solution: Always close the file. (closes #9023)
21717Files: src/os_unix.c
21718
21719Patch 8.2.3545
21720Problem: setcellwidths() may make 'listchars' or 'fillchars' invalid.
21721Solution: Check the value and give an error. (closes #9024)
21722Files: runtime/doc/eval.txt, src/optionstr.c, src/errors.h, src/mbyte.c,
21723 src/testdir/test_utf8.vim
21724
21725Patch 8.2.3546 (after 8.2.3545)
21726Problem: Build failure without the +eval feature.
21727Solution: Add #ifdef. (closes #9025)
21728Files: src/errors.h
21729
21730Patch 8.2.3547
21731Problem: Opening the quickfix window triggers BufWinEnter twice. (Yorick
21732 Peterse)
21733Solution: Only trigger BufWinEnter with "quickfix". (closes #9022)
21734Files: src/ex_cmds.c, src/vim.h, src/quickfix.c, src/buffer.c,
21735 src/testdir/test_quickfix.vim
21736
21737Patch 8.2.3548
Bram Moolenaar1588bc82022-03-08 21:35:07 +000021738Problem: GTK GUI crashes when reading from stdin.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000021739Solution: Do not overwrite the NUL after the string. (closes #9028)
21740Files: src/gui_gtk_x11.c, src/testdir/test_gui.vim
21741
21742Patch 8.2.3549
21743Problem: Mistakes in test comments.
21744Solution: Fix the comments. (closes #9029)
21745Files: src/testdir/test_autocmd.vim
21746
21747Patch 8.2.3550
21748Problem: completion() does not work properly.
21749Solution: Set xp_line and add WILD_HOME_REPLACE. (Shougo Matsushita,
21750 closes #9016)
21751Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
21752
21753Patch 8.2.3551
21754Problem: Checking first character of url twice.
21755Solution: Only check once. (closes #9026)
21756Files: src/misc1.c
21757
21758Patch 8.2.3552
21759Problem: Xxd revert does not handle end of line correctly.
21760Solution: Check for newline first. (closes #9034)
21761Files: src/xxd/xxd.c, src/testdir/test_xxd.vim
21762
21763Patch 8.2.3553 (after 8.2.3552)
21764Problem: Xxd test fails on MS-Windows.
21765Solution: Split shell command in two.
21766Files: src/testdir/test_xxd.vim
21767
21768Patch 8.2.3554
21769Problem: Xxd has various way to exit.
21770Solution: Add function to print error and exit. (closes #9035)
21771Files: src/xxd/xxd.c
21772
21773Patch 8.2.3555
21774Problem: ModeChanged is not triggered on every mode change.
21775Solution: Also trigger on minor mode changes. (Maguns Gross, closes #8999)
21776Files: runtime/doc/autocmd.txt, src/autocmd.c, src/insexpand.c,
21777 src/misc1.c, src/normal.c, src/terminal.c,
21778 src/testdir/test_edit.vim
21779
21780Patch 8.2.3556
21781Problem: Filler lines are incorrect for other window in diff mode after
21782 making a change.
21783Solution: Copy filler lines from the current window. (closes #8809)
21784Files: src/diff.c, src/testdir/test_diffmode.vim,
21785 src/testdir/dumps/Test_diff_scroll_change_03.dump
21786
21787Patch 8.2.3557
21788Problem: Vim9: cannot call imported funcref at script level.
21789Solution: Check for an imported function. (closes #9007)
21790Files: src/userfunc.c, src/testdir/test_vim9_script.vim
21791
21792Patch 8.2.3558 (after 8.2.3557)
21793Problem: Vim9: asserting the wrong variable.
21794Solution: Don't use Foo, use Goo.
21795Files: src/testdir/test_vim9_script.vim
21796
21797Patch 8.2.3559
21798Problem: Loop variable recreated every time.
21799Solution: Keep the loop variable when looping.
21800Files: src/ex_eval.c
21801
21802Patch 8.2.3560
21803Problem: Using freed memory with lambda.
21804Solution: Do not free lines early, keep them until the expression is
21805 finished. (closes #9020)
21806Files: src/eval.c, src/proto/eval.pro, src/userfunc.c, src/vim9compile.c,
21807 src/structs.h, src/globals.h, src/testdir/test_vim9_func.vim
21808
21809Patch 8.2.3561
21810Problem: Cscope has a complicated way of giving an error message.
21811Solution: Use semsg(). (James McCoy, closes #9038)
21812Files: src/if_cscope.c
21813
21814Patch 8.2.3562
21815Problem: Cannot add color names.
21816Solution: Add the v:colornames dictionary. (Drew Vogel, closes #8761)
21817Files: Filelist, READMEdir/README_extra.txt, nsis/gvim.nsi,
21818 runtime/colors/README.txt, runtime/colors/lists/csscolors.vim,
21819 runtime/colors/lists/default.vim, runtime/doc/eval.txt,
21820 runtime/doc/gui_w32.txt, runtime/doc/message.txt,
21821 runtime/doc/os_haiku.txt, runtime/doc/syntax.txt,
21822 runtime/doc/usr_06.txt, src/Makefile, src/evalvars.c,
21823 src/gui_haiku.cc, src/highlight.c, src/gui.c, src/job.c,
21824 src/proto/highlight.pro, src/proto/term.pro, src/term.c,
21825 src/vim.h, src/globals.h, src/errors.h,
21826 src/testdir/test_highlight.vim
21827
21828Patch 8.2.3563 (after 8.2.3562)
21829Problem: Build failure with +eval but without GUI or +termguicolors
21830Solution: Adjust #ifdef. (John Marriott)
21831Files: src/highlight.c
21832
21833Patch 8.2.3564
21834Problem: Invalid memory access when scrolling without a valid screen.
21835Solution: Do not set VALID_BOTLINE in w_valid.
21836Files: src/move.c, src/testdir/test_normal.vim
21837
21838Patch 8.2.3565
21839Problem: Makefile dependencies are outdated. (Gary Johnson)
21840Solution: Run "make depend" and add missing dependencies.
21841Files: src/Makefile
21842
21843Patch 8.2.3566
21844Problem: Build failure on old systems when using nano timestamp.
21845Solution: Define _BSD_SOURCE, _SVID_SOURCE and _DEFAULT_SOURCE. (Gary
21846 Johnson, closes #9054)
21847Files: src/vim.h
21848
21849Patch 8.2.3567
21850Problem: CTRL-I in Insert mode is not tested
21851Solution: Add a test case. (Dominique Pellé, closes #8866)
21852Files: src/testdir/test_edit.vim
21853
21854Patch 8.2.3568
21855Problem: Ctrl-hat test fails with Athena and Motif. (Elimar Riesebieter)
21856Solution: Run the test only with GTK. (Dominique Pellé, closes #9069)
21857Files: src/testdir/test_edit.vim
21858
21859Patch 8.2.3569
21860Problem: Error for :let when vimrc is Vim 9 script.
21861Solution: Prepend :legacy in the code for converting arguments. (Christian
21862 Brabandt, closes #9068, closes #9077)
21863Files: src/os_win32.c
21864
21865Patch 8.2.3570
21866Problem: Test_very_large_count fails on 32bit systems.
21867Solution: Bail out when using 32 bit numbers. (closes #9072)
21868Files: src/testdir/test_put.vim
21869
21870Patch 8.2.3571
21871Problem: Some unicode control characters are considered printable.
21872Solution: Make 0x2060 - 0x2069 not printable.
21873Files: src/mbyte.c
21874
21875Patch 8.2.3572
21876Problem: Memory leak when closing window and using "multispace" in
21877 'listchars'.
21878Solution: Free the memory. (closes #9071)
21879Files: src/window.c, src/testdir/test_listchars.vim
21880
21881Patch 8.2.3573
21882Problem: Cannot decide whether to skip test that fails with 64 bit ints.
21883 (closes #9072)
21884Solution: Add v:sizeofint, v:sizeoflong and v:sizeofpointer. Improve the
21885 check for multiply overflow.
21886Files: runtime/doc/eval.txt, src/vim.h, src/evalvars.c, src/register.c,
21887 src/testdir/test_put.vim
21888
21889Patch 8.2.3574 (after 8.2.3573)
21890Problem: Divide by zero.
21891Solution: Don't check for overflow if multiplicand is zero.
21892Files: src/register.c
21893
21894Patch 8.2.3575 (after 8.2.3574)
21895Problem: Overflow check still fails when sizeof(int) == sizeof(long).
21896Solution: Use a float to check the result.
21897Files: src/register.c
21898
21899Patch 8.2.3576
21900Problem: Some functions are not documented for use with a method.
21901Solution: Add examples. Fix that sign_unplacelist() only takes one
21902 argument. (Sean Dewar, closes #9081)
21903Files: src/evalfunc.c, runtime/doc/eval.txt
21904
21905Patch 8.2.3577 (after 8.2.3574)
21906Problem: Overflow check fails with 32 bit ints.
21907Solution: Only test with 64 bit ints.
21908Files: src/testdir/test_put.vim
21909
21910Patch 8.2.3578
21911Problem: Manipulating highlighting is complicated.
21912Solution: Add the hlget() and hlset() functions. (Yegappan Lakshmanan,
21913 closes #9039)
21914Files: runtime/doc/eval.txt, runtime/doc/syntax.txt,
21915 runtime/doc/usr_41.txt, runtime/doc/windows.txt, src/evalfunc.c,
21916 src/highlight.c, src/proto/highlight.pro,
21917 src/testdir/test_highlight.vim, src/testdir/test_vim9_builtin.vim
21918
21919Patch 8.2.3579
21920Problem: CI sometimes fails for MinGW.
21921Solution: Use backslashes in HandleSwapExists(). (Christian Brabandt,
21922 closes #9078)
21923Files: src/testdir/runtest.vim
21924
21925Patch 8.2.3580
21926Problem: gj does not move properly with a wide character.
21927Solution: Move one to the right. (Christian Brabandt, closes #8702)
21928Files: src/normal.c, src/testdir/test_normal.vim
21929
21930Patch 8.2.3581
21931Problem: Reading character past end of line.
21932Solution: Correct the cursor column.
21933Files: src/ex_docmd.c, src/testdir/test_put.vim
21934
21935Patch 8.2.3582
21936Problem: Reading uninitialized memory when giving spell suggestions.
21937Solution: Check that preword is not empty.
21938Files: src/spellsuggest.c, src/testdir/test_spell.vim
21939
21940Patch 8.2.3583
21941Problem: The "gd" and "gD" commands do not update search stats. (Gary
21942 Johnson)
21943Solution: Clear search stats.
21944Files: src/normal.c, src/testdir/test_search_stat.vim,
21945 src/testdir/dumps/Test_searchstatgd_1.dump,
21946 src/testdir/dumps/Test_searchstatgd_2.dump
21947
21948Patch 8.2.3584
21949Problem: "verbose set efm" reports the location of the :compiler command.
21950 (Gary Johnson)
21951Solution: Add the "-keepscript" argument to :command and use it when
21952 defining CompilerSet.
21953Files: runtime/doc/map.txt, src/ex_cmds2.c, src/usercmd.c, src/ex_cmds.h,
21954 src/testdir/test_compiler.vim
21955
21956Patch 8.2.3585
21957Problem: Crash when passing float to "term_rows" in the options argument of
21958 term_start(). (Virginia Senioria)
21959Solution: Bail out if the argument is not a number. (closes #9116)
21960Files: src/job.c, src/terminal.c, src/testdir/test_terminal.vim
21961
21962Patch 8.2.3586 (after 8.2.3584)
21963Problem: Command completion test fails.
21964Solution: Add new argument to expected output
21965Files: src/testdir/test_usercommands.vim
21966
21967Patch 8.2.3587 (after 8.2.3584)
21968Problem: Compiler test fails with backslash file separator.
21969Solution: Accept slash and backslash.
21970Files: src/testdir/test_compiler.vim
21971
21972Patch 8.2.3588
21973Problem: Break statement is never reached.
21974Solution: Rely on return value of set_chars_option() not changing.
21975 (closes #9103)
21976Files: src/optionstr.c
21977
21978Patch 8.2.3589
21979Problem: Failure when the "term_rows" argument of term_start() is an
21980 unusual value.
21981Solution: Limit to range of zero to 1000. (closes #9116)
21982Files: runtime/doc/terminal.txt, src/job.c, src/testdir/test_terminal.vim
21983
21984Patch 8.2.3590
21985Problem: Test for v:colornames sometimes fails. (Dominique Pellé)
21986Solution: Check features. Clear v:colornames between tests. (Drew Vogel,
21987 closes #9105, closes #9073)
21988Files: runtime/doc/eval.txt, src/highlight.c, src/proto/highlight.pro,
21989 src/testdir/test_highlight.vim
21990
21991Patch 8.2.3591
21992Problem: No event is triggered when closing a window.
21993Solution: Add the WinClosed event. (Naohiro Ono, closes #9110)
21994Files: runtime/doc/autocmd.txt, src/autocmd.c,
21995 src/testdir/test_autocmd.vim, src/vim.h, src/window.c
21996
21997Patch 8.2.3592
21998Problem: Test_hlset fails when terminal has many columns.
21999Solution: Set the number of columns to 80. (Dominique Pellé, closes #9101,
22000 closes #9100)
22001Files: src/testdir/test_highlight.vim
22002
22003Patch 8.2.3593
22004Problem: Directory is wrong after executing "lcd" with win_execute().
22005Solution: Correct the directory when going back to the original window.
22006 (closes #9132)
22007Files: src/evalwindow.c, src/window.c, src/proto/window.pro,
22008 src/testdir/test_execute_func.vim
22009
22010Patch 8.2.3594
22011Problem: Xxd code is a bit difficult to understand.
22012Solution: Move some lines to a separate function. (closes #9037)
22013Files: src/xxd/xxd.c
22014
22015Patch 8.2.3595
22016Problem: Check for signed overflow might not work everywhere.
22017Solution: Limit to 32 bit int. (closes #9043, closes #9067)
22018Files: src/getchar.c
22019
22020Patch 8.2.3596
22021Problem: Crash when using :pedit in Vim9 script.
22022Solution: Move check for arguments to after checking there are arguments.
22023 (Yegappan Lakshmanan, closes #9134, closes #9135)
22024Files: src/popupwin.c, src/testdir/test_vim9_cmd.vim
22025
22026Patch 8.2.3597
22027Problem: Vim seems to hang when writing a very long text to a terminal
22028 window.
22029Solution: Limit the amount of text based on 'termwinscroll'. (issue #9080)
22030Files: runtime/doc/options.txt, src/terminal.c
22031
22032Patch 8.2.3598
22033Problem: RouterOS filetype is not recognized.
22034Solution: Add file and script patterns. (closes #9097)
22035Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22036
22037Patch 8.2.3599
22038Problem: Not all gdbinit files are recognized.
22039Solution: Add "gdbinit". (Doug Kearns)
22040Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22041
22042Patch 8.2.3600 (after 8.2.3598)
22043Problem: Filetype test fails.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000022044Solution: Add missing change.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000022045Files: runtime/scripts.vim
22046
22047Patch 8.2.3601
22048Problem: Check for overflow in put count does not work well.
22049Solution: Improve the overflow check. (Ozaki Kiichi, closes #9102)
22050Files: src/register.c, src/testdir/test_put.vim
22051
22052Patch 8.2.3602
22053Problem: Python3 test fails with Python 3.10 on MS-Windows.
22054Solution: Adjust the expected error. (Ken Takata, closes #9118)
22055Files: src/testdir/test_python3.vim
22056
22057Patch 8.2.3603
22058Problem: Fish filetype not recognized.
22059Solution: Add a file pattern and match script line. (Doug Kearns)
22060Files: runtime/filetype.vim, runtime/scripts.vim,
22061 src/testdir/test_filetype.vim
22062
22063Patch 8.2.3604
22064Problem: Not all sudoers files are recognized.
22065Solution: Add a file pattern. (Doug Kearns, closes #1192)
22066Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22067
22068Patch 8.2.3605
22069Problem: Cannot clear and unlink a highlight group with hlset() in a
22070 single call.
22071Solution: Add the "force" option. (Yegappan Lakshmanan, closes #9117)
22072Files: runtime/doc/eval.txt, src/highlight.c,
22073 src/testdir/test_highlight.vim, src/testdir/test_vim9_builtin.vim,
22074 src/testdir/test_vim9_cmd.vim
22075
22076Patch 8.2.3606
22077Problem: File missing from list of distributed files.
22078Solution: Add the file.
22079Files: Filelist
22080
22081Patch 8.2.3607
22082Problem: GTK3 screen updating is slow.
22083Solution: Remove some of the GTK3-specific code. (closes #9052)
22084Files: src/gui.h, src/gui_gtk_x11.c
22085
22086Patch 8.2.3608
22087Problem: Users who type "q:" instead of ":q" are confused.
22088Solution: Add an autocmd to give a message that explains this is the
22089 command-line window. (Egor Zvorykin, closes #9146)
22090Files: runtime/defaults.vim, src/testdir/test_autocmd.vim,
22091 src/testdir/test_cmdline.vim
22092
22093Patch 8.2.3609
22094Problem: Internal error when ModeChanged is triggered when v:event is
22095 already in use.
22096Solution: Save and restore v:event if needed.
22097Files: src/misc1.c, src/proto/misc1.pro, src/testdir/test_edit.vim,
22098 src/insexpand.c, src/structs.h, src/register.c
22099
22100Patch 8.2.3610
22101Problem: Crash when ModeChanged triggered too early.
22102Solution: Trigger ModeChanged after setting VIsual.
22103Files: src/normal.c, src/testdir/test_edit.vim
22104
22105Patch 8.2.3611
22106Problem: Crash when using CTRL-W f without finding a file name.
22107Solution: Bail out when the file name length is zero.
22108Files: src/findfile.c, src/normal.c, src/testdir/test_visual.vim
22109
22110Patch 8.2.3612
22111Problem: Using freed memory with regexp using a mark.
22112Solution: Get the line again after getting the mark position.
22113Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test_regexp_latin.vim
22114
22115Patch 8.2.3613
22116Problem: :find test fails.
22117Solution: Put length check inside if block.
22118Files: src/findfile.c
22119
22120Patch 8.2.3614
22121Problem: zindex of popup windows not used when redrawing popup menu.
22122Solution: Check the zindex when redrawing the popup menu. (closes #9129,
22123 closes #9089)
22124Files: src/popupmenu.c, src/popupwin.c, src/proto/popupmenu.pro,
22125 src/screen.c, src/testdir/test_popupwin.vim,
22126 src/testdir/dumps/Test_popupwin_popupmenu_masking_1.dump,
22127 src/testdir/dumps/Test_popupwin_popupmenu_masking_2.dump
22128
22129Patch 8.2.3615
22130Problem: When re-formatting with an indent expression the first line of a
22131 paragraph may get the wrong indent. (Martin F. Krafft)
22132Solution: Apply the correct indenting function for the first line.
22133 (Christian Brabandt, closes #9150, closes #9056)
22134Files: src/textformat.c, src/testdir/test_indent.vim
22135
22136Patch 8.2.3616
22137Problem: Arglist test does not clear the argument list consistently.
22138Solution: Call Reset_arglist(). (Shougo Matsushita, closes #9154)
22139Files: src/testdir/test_arglist.vim
22140
22141Patch 8.2.3617
22142Problem: ":verbose pwd" does not mention 'autochdir' was applied.
22143Solution: Remember the last chdir was done by 'autochdir'. (issue #9142)
22144Files: src/globals.h, src/buffer.c, src/ex_docmd.c, src/window.c,
22145 src/main.c, src/netbeans.c, src/os_win32.c,
22146 src/testdir/test_autochdir.vim
22147
22148Patch 8.2.3618
22149Problem: getcwd() is unclear about how 'autochdir' is used.
22150Solution: Update the help for getcwd(). Without any arguments always return
22151 the actual current directory. (closes #9142)
22152Files: runtime/doc/eval.txt, src/filepath.c, src/testdir/test_cd.vim
22153
22154Patch 8.2.3619
22155Problem: Cannot use a lambda for 'operatorfunc'.
22156Solution: Support using a lambda or partial. (Yegappan Lakshmanan,
22157 closes #8775)
22158Files: runtime/doc/map.txt, runtime/doc/options.txt, src/ops.c,
22159 src/option.c, src/optionstr.c, src/proto/ops.pro,
22160 src/proto/option.pro, src/quickfix.c, src/testdir/test_normal.vim
22161
22162Patch 8.2.3620
22163Problem: Memory leak reported in libtlib.
22164Solution: Call del_curterm() when cleaning up memory. Rename term.h to
22165 termdefs.h to avoid a name clash.
22166Files: src/term.c, src/proto/term.pro, src/alloc.c, src/configure.ac,
22167 src/auto/configure, src/config.h.in, src/Makefile,
22168 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Make_vms.mms,
22169 src/term.h, src/termdefs.h
22170
22171Patch 8.2.3621 (after 8.2.3620)
22172Problem: Build failure.
22173Solution: Add missing change.
22174Files: src/vim.h
22175
22176Patch 8.2.3622
22177Problem: "verbose pwd" shows confusing info when :lcd does not change
22178 directory.
22179Solution: Clear last_chdir_reason also when the directory does not change.
22180 (closes #9160)
22181Files: src/ex_docmd.c, src/testdir/test_autochdir.vim
22182
22183Patch 8.2.3623
22184Problem: "$*" is expanded to "nonomatch".
22185Solution: Only add "set nonomatch" when using a csh-like shell. (Christian
22186 Brabandt, closes #9159, closes #9153)
22187Files: src/os_unix.c, src/testdir/test_expand.vim
22188
22189Patch 8.2.3624
22190Problem: When renaming a terminal buffer the status text is not updated.
22191Solution: Clear the cached status text when renaming a terminal buffer.
22192 (closes #9162)
22193Files: src/buffer.c, src/terminal.c, src/proto/terminal.pro,
22194 src/testdir/test_terminal.vim
22195
22196Patch 8.2.3625
22197Problem: Illegal memory access when C-indenting.
22198Solution: Also set the cursor column.
22199Files: src/cindent.c, src/testdir/test_cindent.vim
22200
22201Patch 8.2.3626
22202Problem: "au!" and "au! event" cannot be followed by another command as
22203 documented.
22204Solution: When a bar is found set nextcmd.
22205Files: src/autocmd.c, src/testdir/test_autocmd.vim
22206
22207Patch 8.2.3627
22208Problem: difficult to know where the text starts in a window. (Sergey
22209 Vlasov)
22210Solution: Add the "textoff" entry in the result of getwininfo().
22211 (closes #9163)
22212Files: runtime/doc/eval.txt, src/evalwindow.c,
22213 src/testdir/test_bufwintabinfo.vim
22214
22215Patch 8.2.3628
22216Problem: Looking up terminal colors is a bit slow.
22217Solution: Cache the terminal colors. (closes #9130, closes #9058)
22218Files: src/highlight.c, src/libvterm/include/vterm.h, src/option.c,
22219 src/optionstr.c, src/popupwin.c, src/proto/terminal.pro,
22220 src/structs.h, src/terminal.c, src/window.c,
22221 src/testdir/test_terminal3.vim,
22222 src/testdir/dumps/Test_terminal_color_MyTermCol.dump,
22223 src/testdir/dumps/Test_terminal_color_MyTermCol_over_Terminal.dump,
22224 src/testdir/dumps/Test_terminal_color_MyWinCol.dump,
22225 src/testdir/dumps/Test_terminal_color_MyWinCol_over_group.dump,
22226 src/testdir/dumps/Test_terminal_color_Terminal.dump,
22227 src/testdir/dumps/Test_terminal_color_gui_MyTermCol.dump,
22228 src/testdir/dumps/Test_terminal_color_gui_MyWinCol.dump,
22229 src/testdir/dumps/Test_terminal_color_gui_Terminal.dump,
22230 src/testdir/dumps/Test_terminal_color_gui_transp_MyTermCol.dump,
22231 src/testdir/dumps/Test_terminal_color_gui_transp_MyWinCol.dump,
22232 src/testdir/dumps/Test_terminal_color_gui_transp_Terminal.dump,
22233 src/testdir/dumps/Test_terminal_color_transp_MyTermCol.dump,
22234 src/testdir/dumps/Test_terminal_color_transp_MyWinCol.dump,
22235 src/testdir/dumps/Test_terminal_color_transp_Terminal.dump,
22236 src/testdir/dumps/Test_terminal_popup_MyPopupHlCol.dump,
22237 src/testdir/dumps/Test_terminal_popup_MyTermCol_over_Terminal.dump,
22238 src/testdir/dumps/Test_terminal_popup_MyWinCol.dump,
22239 src/testdir/dumps/Test_terminal_popup_MyWinCol_over_group.dump,
22240 src/testdir/dumps/Test_terminal_popup_gui_MyPopupHlCol.dump,
22241 src/testdir/dumps/Test_terminal_popup_gui_MyTermCol.dump,
22242 src/testdir/dumps/Test_terminal_popup_gui_MyWinCol.dump,
22243 src/testdir/dumps/Test_terminal_popup_gui_Terminal.dump,
22244 src/testdir/dumps/Test_terminal_popup_gui_transp_MyPopupHlCol.dump,
22245 src/testdir/dumps/Test_terminal_popup_gui_transp_MyTermCol.dump,
22246 src/testdir/dumps/Test_terminal_popup_gui_transp_MyWinCol.dump,
22247 src/testdir/dumps/Test_terminal_popup_gui_transp_Terminal.dump,
22248 src/testdir/dumps/Test_terminal_popup_transp_MyPopupHlCol.dump,
22249 src/testdir/dumps/Test_terminal_popup_transp_MyTermCol.dump,
22250 src/testdir/dumps/Test_terminal_popup_transp_MyWinCol.dump,
22251 src/testdir/dumps/Test_terminal_popup_transp_Terminal.dump,
22252 src/testdir/dumps/Test_terminal_wincolor_split_MyWinCol.dump,
22253 src/testdir/dumps/Test_terminal_wincolor_split_MyWinCol2.dump
22254
22255Patch 8.2.3629
22256Problem: Command completion in cmdline window uses global user commands,
22257 not local commands for the window where it was opened from.
22258Solution: Use local commands. (closes #9168)
22259Files: src/ex_getln.c, src/proto/ex_getln.pro, src/evalvars.c,
22260 src/usercmd.c, src/testdir/test_ins_complete.vim
22261
22262Patch 8.2.3630
22263Problem: Printf() with %S does not handle multi-byte correctly.
22264Solution: Count cells instead of bytes. (closes #9169, closes #7486)
22265Files: src/strings.c, src/testdir/test_expr.vim
22266
22267Patch 8.2.3631
22268Problem: "syntax enable" does not work properly in Vim9 context.
22269Solution: Also handle Vim9 context. (closes #9161)
22270Files: src/syntax.c, src/testdir/test_vim9_cmd.vim
22271
22272Patch 8.2.3632
22273Problem: GTK3: undercurl does not get removed properly.
22274Solution: Set the cairo cursor first. (closes #9170)
22275Files: src/gui_gtk_x11.c
22276
22277Patch 8.2.3633
22278Problem: Vim9: line number of lambda is off by one.
22279Solution: Add one to the line number. (closes #9083)
22280Files: src/userfunc.c, src/testdir/test_vim9_func.vim
22281
22282Patch 8.2.3634
22283Problem: Error for already defined function uses wrong line number.
22284Solution: Set SOURCING_LNUM before giving the error message. (closes #9085)
22285Files: src/userfunc.c, src/testdir/test_vim9_func.vim
22286
22287Patch 8.2.3635
22288Problem: GTK: composing underline does not show.
22289Solution: Include composing character in pango call. A few more
22290 optimizations for ligatures. (Dusan Popovic, closes #9171,
22291 closes #9147)
22292Files: src/gui_gtk_x11.c
22293
22294Patch 8.2.3636
22295Problem: Coverity warns for unreachable code.
22296Solution: Remove unreachable else block.
22297Files: src/gui_gtk_x11.c
22298
22299Patch 8.2.3637
22300Problem: Typos in test files.
22301Solution: Correct the typos. (Dominique Pellé, closes #9175)
22302Files: src/testdir/runtest.vim, src/testdir/test_debugger.vim,
22303 src/testdir/test_diffmode.vim, src/testdir/test_edit.vim,
22304 src/testdir/test_excmd.vim, src/testdir/test_flatten.vim,
22305 src/testdir/test_ins_complete.vim, src/testdir/test_normal.vim,
22306 src/testdir/test_options.vim, src/testdir/test_python2.vim,
22307 src/testdir/test_python3.vim, src/testdir/test_quickfix.vim,
22308 src/testdir/test_recover.vim, src/testdir/test_spellfile.vim,
22309 src/testdir/test_syntax.vim, src/testdir/test_termcodes.vim,
22310 src/testdir/test_textobjects.vim, src/testdir/test_trycatch.vim,
22311 src/testdir/test_vim9_script.vim, src/testdir/test_viminfo.vim
22312
22313Patch 8.2.3638
22314Problem: getcompletion() always passes zero as position to custom
22315 completion function.
22316Solution: Pass the pattern length. (closes #9173)
22317Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
22318
22319Patch 8.2.3639 (after 8.2.2922)
22320Problem: Line commented out accidentally.
22321Solution: Uncomment. (Volodymyr Kot, closes #9172)
22322Files: src/main.c
22323
22324Patch 8.2.3640
22325Problem: Freeze when calling term_wait() in a close callback.
22326Solution: Set a "closing" flag to tell term_wait() to return. (closes #9152)
22327Files: src/channel.c, src/terminal.c, src/proto/terminal.pro,
22328 src/testdir/test_terminal.vim
22329
22330Patch 8.2.3641
22331Problem: Xxd code has duplicate expressions.
22332Solution: Refactor to avoid duplication. (closes #9185)
22333Files: src/xxd/xxd.c
22334
22335Patch 8.2.3642
22336Problem: List of distributed files is outdated.
22337Solution: Rename term.h to termdefs.h.
22338Files: Filelist
22339
22340Patch 8.2.3643
22341Problem: Header for source file is outdated.
22342Solution: Make the header more accurate. (closes #9186)
22343Files: src/map.c, src/getchar.c
22344
22345Patch 8.2.3644
22346Problem: Count for 'operatorfunc' in Visual mode is not redone.
22347Solution: Add the count to the redo buffer. (closes #9174)
22348Files: src/normal.c, src/proto/normal.pro, src/ops.c,
22349 src/testdir/test_normal.vim
22350
22351Patch 8.2.3645
22352Problem: Vim9: The "no effect" error is not given for all registers.
22353Solution: Include any character following '@'. (closes #8779)
22354Files: src/ex_eval.c, src/testdir/test_vim9_cmd.vim
22355
22356Patch 8.2.3646
22357Problem: Using <sfile> in a function gives an unexpected result.
22358Solution: Give an error in a Vim9 function. (issue #9189)
22359Files: src/scriptfile.c, src/errors.h, src/testdir/test_vim9_builtin.vim
22360
22361Patch 8.2.3647
22362Problem: GTK: when using ligatures the cursor is drawn wrong.
22363Solution: Clear more characters when ligatures are used. (Dusan Popovic,
22364 closes #9190)
22365Files: src/gui.c
22366
22367Patch 8.2.3648
22368Problem: "verbose pwd" is incorrect after dropping files on Vim.
22369Solution: Set the chdir reason to "drop".
22370Files: src/gui.c
22371
22372Patch 8.2.3649
22373Problem: Vim9: error for variable declared in while loop.
22374Solution: Do not keep the first variable. (closes #9191)
22375Files: src/ex_eval.c, src/testdir/test_vim9_script.vim
22376
22377Patch 8.2.3650
22378Problem: Vim9: for loop variable can be a list member.
22379Solution: Check for valid variable name. (closes #9179)
22380Files: src/vim9compile.c, src/dict.c, src/eval.c, src/evalvars.c,
22381 src/proto/evalvars.pro, src/testdir/test_vim9_script.vim
22382
22383Patch 8.2.3651
22384Problem: Vim9: no error for :lock or :unlock with unknown variable.
22385Solution: Give an error. (closes #9188)
22386Files: src/evalvars.c, src/errors.h, src/testdir/test_vim9_cmd.vim
22387
22388Patch 8.2.3652
22389Problem: Can only get text properties one line at a time.
22390Solution: Add options to prop_list() to use a range of lines and filter by
22391 types. (Yegappan Lakshmanan, closes #9138)
22392Files: runtime/doc/textprop.txt, src/textprop.c,
22393 src/testdir/test_textprop.vim
22394
22395Patch 8.2.3653
22396Problem: Terminal ANSI colors may be wrong.
22397Solution: Initialize the color type. (closes #9198, closes #9197)
22398Files: src/terminal.c
22399
22400Patch 8.2.3654
22401Problem: GTK: a touch-drag does not update the selection.
22402Solution: Add GDK_BUTTON1_MASK to the state. (Chris Dalton, close #9196,
22403 closes #9194)
22404Files: src/gui_gtk_x11.c
22405
22406Patch 8.2.3655
22407Problem: Compiler warning for using size_t for int.
22408Solution: Add a type cast. (Mike Williams, closes #9199)
22409Files: src/vim9compile.c
22410
22411Patch 8.2.3656
Bram Moolenaar1588bc82022-03-08 21:35:07 +000022412Problem: Vim9: no error for an environment variable by itself.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000022413Solution: Give a "without effect" error. (closes #9166)
22414Files: src/ex_eval.c, src/testdir/test_vim9_cmd.vim
22415
22416Patch 8.2.3657
22417Problem: Vim9: debug text misses one line of return statement.
22418Solution: Add a line when not at a debug instruction. (closes #9137)
22419Files: src/vim9execute.c, src/testdir/test_debugger.vim
22420
22421Patch 8.2.3658
22422Problem: Duplicate code in xxd.
22423Solution: Merge duplicated code. Add more tests. (closes #9192)
22424Files: src/xxd/xxd.c, src/testdir/test_xxd.vim
22425
22426Patch 8.2.3659
22427Problem: Integer overflow with large line number.
22428Solution: Check for overflow. (closes #9202)
22429Files: src/errors.h, src/ex_docmd.c, src/testdir/test_excmd.vim
22430 src/normal.c, src/testdir/test_normal.vim
22431
22432Patch 8.2.3660 (after 8.2.3659)
22433Problem: Overflow check uses wrong number.
22434Solution: Divide by ten.
22435Files: src/normal.c
22436
22437Patch 8.2.3661 (after 8.2.3659)
22438Problem: Test for put with large count fails.
22439Solution: Adjust the counts in the test.
22440Files: src/testdir/test_put.vim
22441
22442Patch 8.2.3662
22443Problem: Illegal memory access if malloc() fails.
22444Solution: Check 'foldmethod' is not empty. (closes #9207)
22445Files: src/fold.c
22446
22447Patch 8.2.3663
22448Problem: Using %S in printf() does not work correctly.
22449Solution: Fix the problem and add more tests. (closes #9208)
22450Files: src/strings.c, src/testdir/test_expr.vim
22451
22452Patch 8.2.3664
22453Problem: Cannot adjust sign highlighting for 'cursorline'.
22454Solution: Add CursorLineSign and CursorLineFold highlight groups.
22455 (Gregory Anders, closes #9201)
22456Files: runtime/doc/sign.txt, runtime/doc/syntax.txt, src/drawline.c,
22457 src/highlight.c, src/optiondefs.h, src/popupwin.c,
22458 src/proto/sign.pro, src/sign.c, src/structs.h, src/vim.h,
22459 src/testdir/test_signs.vim
22460
22461Patch 8.2.3665
22462Problem: Cannot use a lambda for 'tagfunc'.
22463Solution: Use 'tagfunc' like 'opfunc'. (Yegappan Lakshmanan, closes #9204)
22464Files: runtime/doc/options.txt, src/buffer.c, src/option.c,
22465 src/optionstr.c, src/proto/tag.pro, src/structs.h, src/tag.c,
22466 src/testdir/test_tagfunc.vim
22467
22468Patch 8.2.3666
22469Problem: Libvterm is outdated.
22470Solution: Include patches from revision 769 to revision 789.
22471Files: Filelist, src/libvterm/Makefile, src/libvterm/doc/seqs.txt,
22472 src/libvterm/include/vterm.h, src/libvterm/src/mouse.c,
22473 src/libvterm/src/parser.c, src/libvterm/src/state.c,
22474 src/libvterm/src/vterm.c, src/libvterm/src/vterm_internal.h,
22475 src/libvterm/t/02parser.test, src/libvterm/t/17state_mouse.test,
22476 src/libvterm/t/29state_fallback.test,
22477 src/libvterm/t/40state_selection.test, src/libvterm/t/harness.c,
22478 src/libvterm/t/run-test.pl, src/libvterm/vterm.pc.in,
22479 src/terminal.c
22480
22481Patch 8.2.3667
22482Problem: Building libvterm fails with MSVC.
22483Solution: Don't use C99 construct.
22484Files: src/libvterm/src/state.c
22485
22486Patch 8.2.3668
22487Problem: Messages may be corrupted.
22488Solution: Use another buffer instead of IObuff. (Yegappan Lakshmanan,
22489 closes #9195)
22490Files: src/highlight.c, src/testdir/test_highlight.vim
22491
22492Patch 8.2.3669
22493Problem: Buffer overflow with long help argument.
22494Solution: Use snprintf().
22495Files: src/help.c, src/testdir/test_help.vim
22496
22497Patch 8.2.3670
22498Problem: Error checks repeated several times.
22499Solution: Move the checks to functions. (closes #9213)
22500Files: src/xxd/xxd.c
22501
22502Patch 8.2.3671
22503Problem: Restarting Insert mode in prompt buffer too often when a callback
22504 switches windows and comes back. (Sean Dewar)
22505Solution: Do not set "restart_edit" when already in Insert mode.
22506 (closes #9212)
22507Files: src/window.c, src/testdir/test_prompt_buffer.vim
22508
22509Patch 8.2.3672 (after 8.2.3670)
22510Problem: Build failure with unsigned char.
22511Solution: Use int instead of char.
22512Files: src/xxd/xxd.c
22513
22514Patch 8.2.3673
22515Problem: Crash when allocating signal stack fails.
22516Solution: Only using sourcing info when available. (closes #9215)
22517Files: src/globals.h, src/message.c
22518
22519Patch 8.2.3674
22520Problem: When ml_get_buf() fails it messes up IObuff.
22521Solution: Return a local pointer. (closes #9214)
22522Files: src/memline.c
22523
22524Patch 8.2.3675
22525Problem: Using freed memory when vim_strsave() fails.
22526Solution: Clear "last_sourcing_name". Check for msg_source() called
22527 recursively. (closes #8217)
22528Files: src/message.c
22529
22530Patch 8.2.3676
22531Problem: Unused runtime file.
22532Solution: Remove rgb.txt.
22533Files: runtime/rgb.txt
22534
22535Patch 8.2.3677
22536Problem: After a put the '] mark is on the last byte of a multi-byte
22537 character.
22538Solution: Move it to the first byte. (closes #9047)
22539Files: src/register.c, src/testdir/test_put.vim
22540
22541Patch 8.2.3678 (after 8.2.3677)
22542Problem: Illegal memory access.
22543Solution: Ignore changed indent when computing byte offset.
22544Files: src/register.c
22545
22546Patch 8.2.3679
22547Problem: objc file detected as Octave. (Antony Lee)
22548Solution: Detect objc by preprocessor lines. (Doug Kearns, closes #9223,
22549 closes #9220)
22550Files: runtime/autoload/dist/ft.vim, src/testdir/test_filetype.vim
22551
22552Patch 8.2.3680
22553Problem: Repeated code in xxd.
22554Solution: Change exit_on_ferror() to getc_or_die(). (closes #9226)
22555Files: src/xxd/xxd.c
22556
22557Patch 8.2.3681
22558Problem: Cannot drag popup window after click on a status line. (Sergey
22559 Vlasov)
22560Solution: Reset on_status_line. (closes #9221)
22561Files: src/mouse.c, src/testdir/test_popupwin.vim,
22562 src/testdir/dumps/Test_popupwin_drag_04.dump
22563
22564Patch 8.2.3682
22565Problem: Vim9: assigning to a script variable drops the required type.
22566Solution: Lookup the type of the variable and use it. (closes #9219)
22567Files: src/evalvars.c, src/vim9script.c, src/proto/vim9script.pro,
22568 src/testdir/test_vim9_assign.vim
22569
22570Patch 8.2.3683
22571Problem: Vim9: cannot use `=expr` in :...do commands.
22572Solution: Add EX_EXPAND to the commands. (closes #9232)
22573Files: src/ex_cmds.h, src/testdir/test_vim9_cmd.vim
22574
22575Patch 8.2.3684
22576Problem: Blockwise insert does not handle autoindent properly.
22577Solution: Adjust text column for indent. (closes #9229)
22578Files: src/ops.c, src/testdir/test_blockedit.vim
22579
22580Patch 8.2.3685
Bram Moolenaar1588bc82022-03-08 21:35:07 +000022581Problem: Visual Studio project files are not recognized.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000022582Solution: Use the xml file type. (Doug Kearns)
22583Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22584
22585Patch 8.2.3686
22586Problem: Filetype detection often mixes up Forth and F#.
22587Solution: Add a function to inspect the file contents. (Doug Kearns)
22588Files: runtime/autoload/dist/ft.vim, runtime/doc/filetype.txt,
22589 runtime/doc/syntax.txt, runtime/filetype.vim, runtime/scripts.vim,
22590 src/testdir/test_filetype.vim
22591
22592Patch 8.2.3687
22593Problem: Blockwise insert does not handle autoindent properly when tab is
22594 inserted.
22595Solution: Adjust text column for indent before computing column.
22596 (closes #9229)
22597Files: src/ops.c, src/testdir/test_blockedit.vim
22598
22599Patch 8.2.3688
22600Problem: The window title is not updated when dragging the scrollbar.
22601Solution: Call maketitle(). (Christian Brabandt, closes #9238, closes #5383)
22602Files: src/gui.c
22603
22604Patch 8.2.3689
22605Problem: ex_let_one() is too long.
22606Solution: Split into multiple functions.
22607Files: src/evalvars.c
22608
22609Patch 8.2.3690
22610Problem: Vim9: "filter #pat# cmd" does not work.
22611Solution: Do not see #pat# as a comment.
22612Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
22613
22614Patch 8.2.3691
22615Problem: Build failure with small features.
22616Solution: Add #ifdef. (Dominique Pellé)
22617Files: src/gui.c
22618
22619Patch 8.2.3692
22620Problem: Vim9: cannot use :func inside a :def function.
22621Solution: Make it work.
22622Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/errors.h,
22623 src/structs.h, src/userfunc.c, src/testdir/test_vim9_func.vim
22624
22625Patch 8.2.3693
22626Problem: Coverity warns for possibly using a NULL pointer.
22627Solution: Check for NULL and give an error.
22628Files: src/vim9execute.c, src/errors.h
22629
22630Patch 8.2.3694
22631Problem: Cannot use quotes in the count of an Ex command.
22632Solution: Add getdigits_quoted(). Give an error when misplacing a quote in
22633 a range. (closes #9240)
22634Files: src/ex_docmd.c, src/charset.c, src/proto/charset.pro,
22635 src/testdir/test_usercommands.vim
22636
22637Patch 8.2.3695
22638Problem: Confusing error for missing key.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000022639Solution: Use the actual key for the error. (closes #9241)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000022640Files: src/eval.c, src/testdir/test_listdict.vim
22641
22642Patch 8.2.3696
22643Problem: Vim9: error for invalid assignment when skipping.
22644Solution: Do not check white space when skipping. (closes #9243)
22645Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
22646
22647Patch 8.2.3697
22648Problem: Cannot drag a popup without a border.
22649Solution: Add the "dragall" option. (closes #9218)
22650Files: runtime/doc/popup.txt, src/mouse.c, src/popupwin.c, src/vim.h,
22651 src/testdir/test_popupwin.vim,
22652 src/testdir/dumps/Test_popupwin_drag_05.dump,
22653 src/testdir/dumps/Test_popupwin_drag_06.dump
22654
22655Patch 8.2.3698
22656Problem: Match highlighting continues over breakindent.
22657Solution: Stop before the end column. (closes #9242)
22658Files: src/match.c, src/proto/match.pro, src/drawline.c,
22659 src/testdir/test_match.vim,
22660 src/testdir/dumps/Test_match_linebreak.dump
22661
22662Patch 8.2.3699
22663Problem: The +title feature adds a lot of #ifdef but little code.
22664Solution: Graduate the +title feature.
22665Files: src/feature.h, src/alloc.c, src/arglist.c, src/autocmd.c,
22666 src/buffer.c, src/bufwrite.c, src/change.c, src/drawscreen.c,
22667 src/evalfunc.c, src/ex_cmds.c, src/ex_docmd.c, src/gui.c,
22668 src/gui_gtk_x11.c, src/if_xcmdsrv.c, src/locale.c, src/main.c,
22669 src/misc2.c, src/netbeans.c, src/option.c, src/optionstr.c,
22670 src/os_amiga.c, src/os_mswin.c, src/os_unix.c, src/os_win32.c,
22671 src/regexp.c, src/term.c, src/ui.c, src/version.c, src/window.c,
22672 src/globals.h, src/option.h, src/optiondefs.h,
22673 runtime/doc/options.txt, runtime/doc/various.txt
22674
22675Patch 8.2.3700
22676Problem: Text property highlighting continues over breakindent.
22677Solution: Stop before the end column. (closes #9242)
22678Files: src/drawline.c, src/testdir/test_textprop.vim,
22679 src/testdir/dumps/Test_prop_linebreak.dump
22680
22681Patch 8.2.3701
22682Problem: Vim9: invalid LHS is not possible.
22683Solution: Remove unreachable error message.
22684Files: src/vim9compile.c
22685
22686Patch 8.2.3702
22687Problem: First key in dict is seen as curly expression and fails.
22688Solution: Ignore failure of curly expression. (closes #9247)
22689Files: src/typval.c, src/dict.c, src/testdir/test_listdict.vim
22690
22691Patch 8.2.3703 (after 8.2.3686)
22692Problem: Most people call F# "fsharp" and not "fs".
22693Solution: Rename filetype "fs" to "fsharp".
22694Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
22695 src/testdir/test_filetype.vim
22696
22697Patch 8.2.3704
22698Problem: Vim9: cannot use a list declaration in a :def function.
22699Solution: Make it work.
22700Files: runtime/doc/vim9.txt, src/vim9compile.c, src/errors.h,
22701 src/testdir/test_vim9_assign.vim
22702
22703Patch 8.2.3705
22704Problem: Cannot pass a lambda name to function() or funcref(). (Yegappan
22705 Lakshmanan)
22706Solution: Handle a lambda name differently.
22707Files: src/userfunc.c, src/proto/userfunc.pro, src/evalfunc.c,
22708 src/testdir/test_expr.vim
22709
22710Patch 8.2.3706 (after 8.2.3700)
22711Problem: Text property highlighting is used on Tab.
22712Solution: Only set in_linebreak when not on a Tab. (closes #9242)
22713Files: src/drawline.c, src/testdir/test_textprop.vim,
22714 src/testdir/dumps/Test_prop_after_tab.dump
22715
22716Patch 8.2.3707
22717Problem: Vim9: constant expression of elseif not recognized.
22718Solution: Set instruction count before generating the expression.
22719Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
22720
22721Patch 8.2.3708 (after 8.2.3707)
22722Problem: Vim9: test fails with different error.
22723Solution: Correct the error number.
22724Files: src/testdir/test_vim9_cmd.vim
22725
22726Patch 8.2.3709
22727Problem: Vim9: backtick expression expanded when not desired.
22728Solution: Only expand a backtick expression for commands that expand their
22729 argument. Remove a few outdated TODO comments.
22730Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
22731
22732Patch 8.2.3710
22733Problem: Vim9: backtick expression expanded for :global.
22734Solution: Check the following command.
22735Files: runtime/doc/vim9.txt, src/vim9compile.c,
22736 src/testdir/test_vim9_cmd.vim
22737
22738Patch 8.2.3711
22739Problem: Vim9: memory leak when compiling :elseif fails.
22740Solution: Cleanup ppconst.
22741Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
22742
22743Patch 8.2.3712
22744Problem: Cannot use Vim9 lambda for 'tagfunc'.
22745Solution: Make it work, add more tests. (Yegappan Lakshmanan, closes #9250)
22746Files: runtime/doc/options.txt, src/insexpand.c, src/option.c,
22747 src/testdir/test_tagfunc.vim
22748
22749Patch 8.2.3713
22750Problem: MS-Windows: No error message if vimgrep pattern is not matching.
22751Solution: Give an error message. (Christian Brabandt, closes #9245,
22752 closes #8762)
22753Files: src/quickfix.c, src/testdir/test_quickfix.vim
22754
22755Patch 8.2.3714
22756Problem: Some unused assignments and ugly code in xxd.
22757Solution: Leave out assignments. Use marcro for fprintf(). (closes #9246)
22758Files: src/xxd/xxd.c
22759
22760Patch 8.2.3715
22761Problem: Vim9: valgrind reports spurious problems for a test.
22762Solution: Move the test to the set that is known to fail.
22763Files: src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_fails.vim
22764
22765Patch 8.2.3716
22766Problem: Vim9: range without a command is not compiled.
22767Solution: Add the ISN_EXECRANGE byte code.
22768Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/vim9compile.c,
22769 src/vim9execute.c, src/vim9.h,
22770 src/testdir/test_vim9_disassemble.vim
22771
22772Patch 8.2.3717
22773Problem: Vim9: error for constant list size is only given at runtime.
22774Solution: Give the error at compile time if possible.
22775Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim,
22776 src/testdir/test_vim9_script.vim,
22777 src/testdir/test_vim9_disassemble.vim
22778
22779Patch 8.2.3718
22780Problem: Compiler warns for unused variable without the +textprop feature.
22781 (John Marriott)
22782Solution: Adjust #ifdefs.
22783Files: src/drawline.c
22784
22785Patch 8.2.3719
22786Problem: MS-Windows: test sometimes runs into existing swap file.
22787Solution: Use a different file name.
22788Files: src/testdir/test_buffer.vim
22789
22790Patch 8.2.3720
22791Problem: Vim9: Internal error when invoking closure in legacy context.
22792Solution: Give a more appropriate error message. (closes #9251)
22793Files: src/errors.h, src/vim9execute.c, src/testdir/test_vim9_func.vim
22794
22795Patch 8.2.3721
22796Problem: Using memory freed by losing the clipboard selection. (Dominique
22797 Pellé)
22798Solution: Check y_array is still valid after calling changed_lines().
22799 (closes #9253)
22800Files: src/errors.h, src/register.c
22801
22802Patch 8.2.3722
22803Problem: Amiga: superfluous messages for freeing lots of yanked text.
22804Solution: Assume that the machine isn't that slow these days.
22805Files: src/register.c
22806
22807Patch 8.2.3723
22808Problem: When using 'linebreak' a text property starts too early.
22809Solution: Decrement "bcol" when looking for property start. (closes #9242)
22810Files: src/drawline.c, src/testdir/test_textprop.vim,
22811 src/testdir/dumps/Test_prop_after_linebreak.dump
22812
22813Patch 8.2.3724
22814Problem: Build error for missing error message in small build.
22815Solution: Correct #ifdef.
22816Files: src/errors.h
22817
22818Patch 8.2.3725
22819Problem: Cannot use a lambda for 'completefunc' and 'omnifunc'.
22820Solution: Implement lambda support. (Yegappan Lakshmanan, closes #9257)
22821Files: runtime/doc/options.txt, src/buffer.c, src/insexpand.c,
22822 src/option.c, src/optionstr.c, src/proto/insexpand.pro,
22823 src/proto/tag.pro, src/proto/userfunc.pro, src/structs.h,
22824 src/tag.c, src/userfunc.c, src/testdir/test_ins_complete.vim,
22825 src/testdir/test_tagfunc.vim
22826
22827Patch 8.2.3726
22828Problem: README file in a config directory gets wrong filetype.
22829Solution: Match README before patterns that match everything in a directory.
22830Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22831
22832Patch 8.2.3727
22833Problem: In a gnome terminal keys are recognized as mouse events.
22834Solution: Only recognize DEC mouse events when four numbers are following.
22835 (closes #9256)
22836Files: src/term.c, src/testdir/test_termcodes.vim
22837
22838Patch 8.2.3728
22839Problem: Internal error when passing range() to list2blob().
22840Solution: Materialize the list first. (closes #9262)
22841Files: src/blob.c, src/testdir/test_blob.vim
22842
22843Patch 8.2.3729
22844Problem: No support for squirrels.
22845Solution: Recognize nuts. (closes #9259)
22846Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22847
22848Patch 8.2.3730
22849Problem: "/etc/Muttrc.d/README" gets filetype muttrc.
22850Solution: Move the Muttrc.d pattern down, add exception for *.rc files.
22851Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22852
22853Patch 8.2.3731
22854Problem: "set! termcap" shows codes in one column, but not keys.
22855Solution: Also use one column for keys. (closes #9258)
22856Files: src/option.c, src/term.c, src/proto/term.pro,
22857 src/testdir/test_set.vim
22858
22859Patch 8.2.3732 (after 8.2.3731)
22860Problem: "set! termcap" test fails.
22861Solution: Account for keys without a t_xx entry.
22862Files: src/testdir/test_set.vim
22863
22864Patch 8.2.3733
22865Problem: Vim9: using "legacy" before range does not work.
22866Solution: Skip over range before parsing command. (closes #9270)
22867Files: src/vim9compile.c, src/usercmd.c, src/testdir/test_vim9_cmd.vim
22868
22869Patch 8.2.3734
22870Problem: Vim9: crash when no pattern match found.
22871Solution: Check for error.
22872Files: src/vim9execute.c
22873
22874Patch 8.2.3735
22875Problem: Cannot use a lambda for 'imactivatefunc'.
22876Solution: Add lambda support for 'imactivatefunc' and 'imstatusfunc'.
22877 (Yegappan Lakshmanan, closes #9275)
22878Files: runtime/doc/options.txt, src/alloc.c, src/gui_xim.c,
22879 src/optionstr.c, src/proto/gui_xim.pro,
22880 src/testdir/test_iminsert.vim, src/testdir/test_ins_complete.vim
22881
22882Patch 8.2.3736
22883Problem: Test fails without the channel feature. (Dominique Pellé)
22884Solution: Source the check.vim script. (closes #9277)
22885Files: src/testdir/test_vim9_fails.vim
22886
22887Patch 8.2.3737
22888Problem: Test fails without the 'autochdir' option.
22889Solution: Check that the option is available. (Dominique Pellé, closes #9272)
22890Files: src/testdir/test_cd.vim
22891
22892Patch 8.2.3738
22893Problem: Screen is cleared when a FocusLost autocommand triggers.
22894Solution: Do not redraw when at the hit-enter or more prompt. (closes #9274)
22895Files: src/misc1.c
22896
22897Patch 8.2.3739
22898Problem: In wrong directory when using win_execute() with 'acd' set.
22899Solution: Restore the directory when returning to the window. (closes #9276)
22900Files: src/window.c, src/testdir/test_autochdir.vim
22901
22902Patch 8.2.3740
22903Problem: Memory left allocated on exit when using Tcl.
22904Solution: Call Tcl_Finalize().
22905Files: src/if_tcl.c, src/proto/if_tcl.pro, src/alloc.c
22906
22907Patch 8.2.3741
22908Problem: Using freed memory in open command.
22909Solution: Make a copy of the current line.
22910Files: src/ex_docmd.c, src/testdir/test_ex_mode.vim
22911
22912Patch 8.2.3742
22913Problem: Dec mouse test fails without gnome terminfo entry.
22914Solution: Check if there is a gnome entry. Also fix 'acd' test on
22915 MS-Windows. (Ozaki Kiichi, closes #9282)
22916Files: src/testdir/test_termcodes.vim, src/testdir/test_autochdir.vim
22917
22918Patch 8.2.3743
22919Problem: ":sign" can add a highlight group without a name.
22920Solution: Give an error if the group name is missing. (closes #9280)
22921Files: src/sign.c, src/errors.h, src/testdir/test_signs.vim
22922
22923Patch 8.2.3744
22924Problem: E854 is not tested; some spelling suggestions are not tested.
22925Solution: Add a couple of tests. (Dominique Pellé, closes #9279)
22926Files: src/testdir/test_options.vim, src/testdir/test_spell.vim
22927
22928Patch 8.2.3745
22929Problem: Autochdir test fails without the +channel feature.
22930Solution: Remove the ch_logfile() call. (Dominique Pellé, closes #9281)
22931Files: src/testdir/test_autochdir.vim
22932
22933Patch 8.2.3746
22934Problem: Cannot disassemble function starting with "debug" or "profile".
22935Solution: Check for white space following. (closes #9273)
22936Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
22937
22938Patch 8.2.3747 (after 8.2.3743)
22939Problem: Cannot remove highlight from an existing sign. (James McCoy)
22940Solution: Only reject empty argument for a new sign.
22941Files: src/sign.c, src/testdir/test_signs.vim
22942
22943Patch 8.2.3748 (after 8.2.3747)
22944Problem: Giving an error for an empty sign argument breaks a plugin.
22945Solution: Do not give an error.
22946Files: src/sign.c, src/errors.h, src/testdir/test_signs.vim
22947
22948Patch 8.2.3749
22949Problem: Error messages are everywhere.
22950Solution: Move more error messages to errors.h and adjust the names.
22951Files: src/errors.h, src/regexp_bt.c, src/regexp.c, src/regexp_nfa.c,
22952 src/globals.h, src/memfile.c, src/tag.c, src/getchar.c,
22953 src/bufwrite.c, src/cmdexpand.c
22954
22955Patch 8.2.3750
22956Problem: Error messages are everywhere.
22957Solution: Move more error messages to errors.h and adjust the names.
22958Files: src/globals.h, src/errors.h, src/blob.c, src/buffer.c,
22959 src/channel.c, src/ex_docmd.c, src/job.c, src/list.c, src/mark.c,
22960 src/misc1.c, src/os_unix.c, src/popupwin.c, src/register.c,
22961 src/session.c, src/spellfile.c, src/term.c, src/userfunc.c
22962
22963Patch 8.2.3751
22964Problem: Cannot assign a lambda to an option that takes a function.
22965Solution: Automatically convert the lambda to a string. (Yegappan
22966 Lakshmanan, closes #9286)
22967Files: runtime/doc/options.txt, src/eval.c, src/proto/eval.pro,
22968 src/evalvars.c, src/if_mzsch.c, src/if_ruby.c, src/if_tcl.c,
22969 src/option.c, src/option.h, src/optiondefs.h,
22970 src/proto/option.pro, src/spell.c, src/typval.c,
22971 src/vim9compile.c, src/testdir/test_iminsert.vim,
22972 src/testdir/test_ins_complete.vim, src/testdir/test_tagfunc.vim
22973
22974Patch 8.2.3752
22975Problem: Build error when using Photon GUI.
22976Solution: Adjust #ifdef. (closes #9288)
22977Files: src/beval.c
22978
22979Patch 8.2.3753
22980Problem: Vim9: function unreferenced while called is never deleted.
22981Solution: Delete a function when no longer referenced.
22982Files: src/vim9execute.c, src/userfunc.c, src/proto/userfunc.pro
22983
22984Patch 8.2.3754 (after 8.2.3615)
22985Problem: Undesired changing of the indent of the first formatted line.
22986Solution: Do not indent the first formatted line.
22987Files: src/textformat.c, src/testdir/test_indent.vim
22988
22989Patch 8.2.3755
22990Problem: Coverity warns for using a buffer in another scope.
22991Solution: Declare the buffer in a common scope.
22992Files: src/evalvars.c
22993
22994Patch 8.2.3756
22995Problem: might crash when callback is not valid.
22996Solution: Check for valid callback. (Yegappan Lakshmanan, closes #9293)
22997Files: src/insexpand.c, src/option.c, src/tag.c, src/job.c,
22998 src/userfunc.c, src/testdir/test_iminsert.vim,
22999 src/testdir/test_ins_complete.vim, src/testdir/test_tagfunc.vim
23000
23001Patch 8.2.3757
23002Problem: An overlong highlight group name is silently truncated.
23003Solution: Give an error if the name is too long. (closes #9289)
23004Files: src/errors.h, src/highlight.c, src/testdir/test_highlight.vim
23005
23006Patch 8.2.3758
23007Problem: Options that take a function insufficiently tested.
23008Solution: Add additional tests and enhance existing tests. (Yegappan
23009 Lakshmanan, closes #9298)
23010Files: src/testdir/test_ins_complete.vim, src/testdir/test_normal.vim,
23011 src/testdir/test_tagfunc.vim
23012
23013Patch 8.2.3759
23014Problem: Quickfix buffer becomes hidden while still in a window.
23015Solution: Check if the closed window is the last window showing the quickfix
23016 buffer. (Yegappan Lakshmanan, closes #9303, closes #9300)
23017Files: src/quickfix.c, src/testdir/test_quickfix.vim, src/window.c
23018
23019Patch 8.2.3760
23020Problem: Not automatically handling gnome terminal mouse like xterm.
23021Solution: Default 'ttymouse' to "xterm" and recognize Focus events.
23022 (issue #9296)
23023Files: src/os_unix.c
23024
23025Patch 8.2.3761
23026Problem: Focus change is not passed on to a terminal window.
23027Solution: If the current window is a terminal and focus events are enabled
23028 send a focus event escape sequence to the terminal.
23029Files: src/ui.c, src/terminal.c, src/proto/terminal.pro,
23030 src/testdir/test_terminal.vim,
23031 src/testdir/dumps/Test_terminal_focus_1.dump,
23032 src/testdir/dumps/Test_terminal_focus_2.dump
23033
23034Patch 8.2.3762
23035Problem: If the quickfix buffer is wiped out getqflist() still returns its
23036 number.
23037Solution: Use zero if the buffer is no longer present. (Yegappan Lakshmanan,
23038 closes #9306)
23039Files: src/quickfix.c, src/testdir/test_quickfix.vim
23040
23041Patch 8.2.3763
23042Problem: When editing the command line a FocusLost callback may cause the
23043 screen to scroll up.
23044Solution: Do not redraw at the last line but at the same place where the
23045 command line was before. (closes #9295)
23046Files: src/ex_getln.c, src/ui.c, src/beval.c, src/channel.c,
23047 src/drawscreen.c, src/proto/drawscreen.pro, src/job.c,
23048 src/popupwin.c, src/sound.c, src/terminal.c, src/time.c,
23049 src/testdir/test_terminal.vim,
23050 src/testdir/dumps/Test_terminal_focus_1.dump,
23051 src/testdir/dumps/Test_terminal_focus_2.dump,
23052 src/testdir/dumps/Test_terminal_focus_3.dump
23053
23054Patch 8.2.3764
23055Problem: Cannot see any text when window was made zero lines or zero
23056 columns.
23057Solution: Ensure there is at least one line and column. (fixes #9307)
23058Files: src/window.c, src/proto/window.pro, src/normal.c, src/edit.c,
23059 src/testdir/test_window_cmd.vim
23060
23061Patch 8.2.3765
23062Problem: Vim9: cannot use a lambda for 'opfunc' and others.
23063Solution: Convert the lambda to a string.
23064Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c,
23065 src/testdir/test_vim9_func.vim,
23066 src/testdir/test_vim9_disassemble.vim
23067
23068Patch 8.2.3766
23069Problem: Converting a funcref to a string leaves out "g:", causing the
23070 meaning of the name depending on the context.
23071Solution: Prepend "g:" for a global function.
23072Files: src/eval.c, src/testdir/test_functions.vim
23073
23074Patch 8.2.3767 (after 8.2.3766)
23075Problem: Crash when using NULL partial.
23076Solution: Check for NULL.
23077Files: src/eval.c
23078
23079Patch 8.2.3768
23080Problem: timer_info() has the wrong repeat value in a timer callback.
23081 (Sergey Vlasov)
23082Solution: Do not add one to the repeat value when in the callback.
23083 (closes #9294)
23084Files: src/time.c, src/testdir/test_timers.vim
23085
23086Patch 8.2.3769
23087Problem: Zig files are not recognized.
23088Solution: Add *.zig. (Gregory Anders, closes #9313)
23089Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23090
23091Patch 8.2.3770
23092Problem: New compiler warnings from clang-12 and clang-13.
23093Solution: Adjust CI and suppress some warnings. (Ozaki Kiichi, closes #9314)
23094Files: .github/workflows/ci.yml, ci/config.mk.clang-12.sed,
23095 src/os_unix.c, src/spellfile.c
23096
23097Patch 8.2.3771
23098Problem: Vim9: accessing freed memory when checking type.
23099Solution: Make a copy of a function type.
23100Files: src/structs.h, src/evalvars.c, src/vim9script.c,
23101 src/testdir/test_vim9_func.vim
23102
23103Patch 8.2.3772
23104Problem: Timer info test fails on slow machine.
23105Solution: Use WaitForAssert().
23106Files: src/testdir/test_timers.vim
23107
23108Patch 8.2.3773
23109Problem: Wrong window size when a modeline changes 'columns' and there is
23110 more than one tabpage. (Michael Soyka)
23111Solution: Adjust the frames of all tabpages. (closes #9315)
23112Files: src/window.c
23113
23114Patch 8.2.3774 (after 8.2.3773)
23115Problem: Test for command line height fails.
23116Solution: Use another way to handle window size change.
23117Files: src/structs.h, src/window.c
23118
23119Patch 8.2.3775
23120Problem: Vim9: lambda compiled without outer context when debugging.
23121Solution: When compiling a lambda for debugging also compile it without.
23122 (closes #9302)
23123Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
23124
23125Patch 8.2.3776
23126Problem: When a tags file line is long a tag may not be found.
23127Solution: When increasing the buffer size read the same line again.
23128Files: src/tag.c, src/testdir/test_taglist.vim
23129
23130Patch 8.2.3777
23131Problem: Spell file write error not checked.
23132Solution: Check writing the prefix conditions. (Bjorn Linse, closes #9323)
23133Files: src/spellfile.c
23134
23135Patch 8.2.3778
23136Problem: Lambda debug test fails in some configurations.
23137Solution: Check feature in a legacy function.
23138Files: src/testdir/test_vim9_script.vim
23139
23140Patch 8.2.3779
23141Problem: Using freed memory when defining a user command from a user
23142 command.
23143Solution: Do not use the command pointer after executing the command.
23144 (closes #9318)
23145Files: src/usercmd.c, src/testdir/test_usercommands.vim
23146
23147Patch 8.2.3780
23148Problem: ":cd" works differently on MS-Windows.
23149Solution: Add the 'cdhome' option. (closes #9324)
23150Files: runtime/doc/editing.txt, runtime/doc/options.txt,
23151 runtime/doc/quickref.txt, runtime/optwin.vim, src/ex_docmd.c,
23152 src/option.h, src/optiondefs.h, src/testdir/runtest.vim,
23153 src/testdir/test_options.vim
23154
23155Patch 8.2.3781
23156Problem: The option window script is outdated.
23157Solution: Add several changes.
23158Files: runtime/optwin.vim
23159
23160Patch 8.2.3782
23161Problem: Vim9: no error if a function shadows a script variable.
23162Solution: Check the function doesn't shadow a variable. (closes #9310)
23163Files: src/userfunc.c, src/evalvars.c, src/vim.h,
23164 src/testdir/test_vim9_script.vim
23165
23166Patch 8.2.3783
23167Problem: Confusing error for using a variable as a function.
23168Solution: If a function is not found but there is a variable, give a more
23169 useful error. (issue #9310)
23170Files: src/eval.c, src/userfunc.c, src/proto/userfunc.pro,
23171 src/structs.h, src/vim9execute.c, src/testdir/test_functions.vim,
23172 src/testdir/test_vim9_script.vim, src/testdir/test_vim9_func.vim
23173
23174Patch 8.2.3784
23175Problem: The help for options is outdated.
23176Solution: Include all the recent changes.
23177Files: runtime/doc/options.txt
23178
23179Patch 8.2.3785
Bram Moolenaar1588bc82022-03-08 21:35:07 +000023180Problem: Running CI on macOS with gcc is not useful.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000023181Solution: Only use clang. (Ozaki Kiichi, closes #9326) Also build with
23182 normal features.
23183Files: .github/workflows/ci.yml
23184
23185Patch 8.2.3786
23186Problem: Test fails because of using Vim9 syntax in legacy function.
23187Solution: Add "call".
23188Files: src/testdir/test_functions.vim
23189
23190Patch 8.2.3787
23191Problem: No proper formatting of a C line comment after a statement.
23192Solution: Find the start of the line comment, insert the comment leader and
23193 indent the comment properly.
23194Files: src/change.c, src/proto/change.pro, src/search.c,
23195 src/proto/search.pro, src/cindent.c, src/edit.c, src/normal.c,
23196 src/textformat.c, src/testdir/test_textformat.vim,
23197 src/testdir/test_cindent.vim
23198
23199Patch 8.2.3788
23200Problem: Lambda for option that is a function may be garbage collected.
23201Solution: Set a reference in the funcref. (Yegappan Lakshmanan,
23202 closes #9330)
23203Files: src/eval.c, src/evalbuffer.c, src/evalvars.c, src/gui_xim.c,
23204 src/insexpand.c, src/ops.c, src/proto/eval.pro,
23205 src/proto/gui_xim.pro, src/proto/insexpand.pro, src/proto/ops.pro,
23206 src/proto/tag.pro, src/quickfix.c, src/tag.c,
23207 src/testdir/test_iminsert.vim, src/testdir/test_ins_complete.vim,
23208 src/testdir/test_normal.vim, src/testdir/test_quickfix.vim,
23209 src/testdir/test_tagfunc.vim
23210
23211Patch 8.2.3789
23212Problem: Test_window_minimal_size can fail on a slow machine.
23213Solution: Do not rely on timers firing at the expected time. (Ozaki Kiichi,
23214 closes #9335)
23215Files: src/testdir/test_window_cmd.vim
23216
23217Patch 8.2.3790
23218Problem: Test for term_gettitle() fails in some environments.
23219Solution: Make the digits after "VIM" optional. (Kenta Sato, closes #9334)
23220Files: src/testdir/test_terminal2.vim
23221
23222Patch 8.2.3791
23223Problem: Build error with +cindent but without +smartindent.
23224Solution: Move declaration of "do_cindent". (John Marriott)
23225Files: src/change.c
23226
23227Patch 8.2.3792
23228Problem: Setting *func options insufficiently tested.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000023229Solution: Improve tests. (Yegappan Lakshmanan, closes #9337)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000023230Files: src/testdir/test_iminsert.vim, src/testdir/test_ins_complete.vim,
23231 src/testdir/test_normal.vim, src/testdir/test_quickfix.vim,
23232 src/testdir/test_tagfunc.vim
23233
23234Patch 8.2.3793
23235Problem: Using "g:Func" as a funcref does not work in script context
23236 because "g:" is dropped.
23237Solution: Keep "g:" in the name. Also add parenthesis to avoid confusing
Bram Moolenaar1588bc82022-03-08 21:35:07 +000023238 operator precedence. (closes #9336)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000023239Files: src/evalvars.c, src/testdir/test_vim9_func.vim
23240
23241Patch 8.2.3794
23242Problem: Vim9: cannot find script-local func using "s:". (Yegappan
23243 Lakshmanan)
23244Solution: Skip the "s:".
23245Files: src/userfunc.c, src/testdir/test_vim9_func.vim
23246
23247Patch 8.2.3795
23248Problem: Too many #ifdefs.
23249Solution: Graduate the jumplist feature.
23250Files: runtime/doc/various.txt, runtime/doc/motion.txt, src/feature.h,
23251 src/buffer.c, src/change.c, src/evalfunc.c, src/ex_docmd.c,
23252 src/mark.c, src/normal.c, src/undo.c, src/version.c,
23253 src/viminfo.c, src/window.c, src/structs.h,
23254 src/testdir/test_changelist.vim, src/testdir/test_jumplist.vim,
23255 src/testdir/test_normal.vim
23256
23257Patch 8.2.3796
23258Problem: The funcexe_T struct members are not named consistently.
23259Solution: Prefix "fe_" to all the members.
23260Files: src/structs.h, src/eval.c, src/list.c, src/regexp.c,
23261 src/terminal.c, src/userfunc.c, src/vim9execute.c
23262
23263Patch 8.2.3797
23264Problem: No good reason to limit the message history in the tiny version.
23265Solution: Always use 200.
23266Files: runtime/doc/message.txt, src/feature.h
23267
23268Patch 8.2.3798
23269Problem: A :def callback function postpones an error message.
23270Solution: Display the error after calling the function. (closes #9340)
23271Files: src/userfunc.c, src/testdir/test_vim9_func.vim,
23272 src/testdir/dumps/Test_opfunc_error.dump
23273
23274Patch 8.2.3799 (after 8.2.3798)
23275Problem: Edit test hangs or fails.
23276Solution: Do not rethrow an exception when inside try/catch.
23277Files: src/userfunc.c
23278
23279Patch 8.2.3800
23280Problem: When cross compiling the output of "uname" cannot be set. (Ben
23281 Reeves)
23282Solution: Use cache variables. (closes #9338)
23283Files: src/configure.ac, src/auto/configure
23284
23285Patch 8.2.3801
23286Problem: If a terminal shows in two windows, only one is redrawn.
23287Solution: Reset the dirty row range only after redrawing all windows.
23288 (closes #9341)
23289Files: src/terminal.c, src/proto/terminal.pro, src/drawscreen.c,
23290 src/testdir/test_terminal.vim
23291
23292Patch 8.2.3802
23293Problem: Terminal in two windows test fails on some systems.
23294Solution: Wait a bit between commands.
23295Files: src/testdir/test_terminal.vim
23296
23297Patch 8.2.3803
23298Problem: Crash when 'writedelay' is set and using a terminal window to
23299 execute a shell command.
23300Solution: Check that "tl_vterm" isn't NULL. (closes #9346)
23301Files: src/terminal.c
23302
23303Patch 8.2.3804
23304Problem: Script context not set when copying 'swf' and 'ts'.
23305Solution: Use COPY_OPT_SCTX with the right argument. (closes #9347)
23306Files: src/option.c
23307
23308Patch 8.2.3805
23309Problem: i3config files are not recognized.
23310Solution: Add patterns to match i3config files. (Quentin Hibon,
23311 closes #7969)
23312Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23313
23314Patch 8.2.3806
23315Problem: Terminal focus test fails sometimes.
23316Solution: Run the test function before others.
23317Files: src/testdir/test_terminal.vim
23318
23319Patch 8.2.3807
23320Problem: Vim9: can call import with star directly.
23321Solution: Check that the import used star.
23322Files: src/userfunc.c, src/eval.c, src/testdir/test_vim9_script.vim
23323
23324Patch 8.2.3808
23325Problem: Vim9: obsolete TODO items
23326Solution: Remove the comments.
23327Files: src/vim9execute.c
23328
23329Patch 8.2.3809
23330Problem: Vim9: crash when garbage collecting a nested partial. (Virginia
23331 Senioria)
23332Solution: Set references in all the funcstacks. (closes #9348)
23333Files: src/vim9execute.c, src/proto/vim9execute.pro, src/structs.h,
23334 src/eval.c, src/testdir/test_vim9_func.vim
23335
23336Patch 8.2.3810
23337Problem: Vim9: expr4 test fails on MS-Windows.
23338Solution: Do not give an error for a missing function name when skipping.
23339Files: src/eval.c, src/testdir/test_vim9_expr.vim
23340
23341Patch 8.2.3811
23342Problem: The opfunc error test fails on a slow machine.
23343Solution: Use WaitForAssert().
23344Files: src/testdir/test_vim9_func.vim
23345
23346Patch 8.2.3812
23347Problem: Vim9: leaking memory in numbered function test.
23348Solution: Skip "g:" when checking for numbered function. Clean up after
23349 errors properly.
23350Files: src/userfunc.c
23351
23352Patch 8.2.3813
23353Problem: confusing error when using :cc without error list. (Gary Johnson)
23354Solution: Give the "no errors" error.
23355Files: src/ex_docmd.c, src/testdir/test_quickfix.vim
23356
23357Patch 8.2.3814
23358Problem: .csx files and .sln files are not recognized.
23359Solution: Add filetype patterns. (Doug Kearns)
23360Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23361
23362Patch 8.2.3815
23363Problem: Vim9: cannot have a multi-line dict inside a block.
23364Solution: Do not split the command at a line break, handle NL characters
23365 as white space.
23366Files: src/ex_docmd.c, src/charset.c, src/proto/charset.pro,
23367 src/eval.c, src/testdir/test_vim9_expr.vim
23368
23369Patch 8.2.3816
Bram Moolenaar1588bc82022-03-08 21:35:07 +000023370Problem: Compiler warning for possible loss of data on MS-Windows.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000023371Solution: Add type cast. (Mike Williams, closes #9349)
23372Files: src/userfunc.c
23373
23374Patch 8.2.3817 (after 8.2.3815)
23375Problem: Vim9: Not using NL as command end does not work for :autocmd.
23376Solution: Only ignore NL for commands with an expression argument.
23377Files: src/ex_cmds.h, src/ex_docmd.c, src/testdir/test_usercommands.vim
23378
23379Patch 8.2.3818
23380Problem: Cannot filter or map characters in a string.
23381Solution: Make filter() and map() work on a string. (Naruhiko Nishino,
23382 closes #9327)
23383Files: runtime/doc/eval.txt, src/errors.h, src/list.c,
23384 src/testdir/test_filter_map.vim
23385
23386Patch 8.2.3819 (after 8.2.3818)
23387Problem: Test fails because error message changed.
23388Solution: Update screendumps.
23389Files: src/testdir/dumps/Test_popupwin_three_errors_1.dump,
23390 src/testdir/dumps/Test_popupwin_three_errors_2.dump
23391
23392Patch 8.2.3820
23393Problem: "vrc" does not replace composing characters, while "rc" does.
23394Solution: Check the byte length including composing characters.
23395 (closes #9351)
23396Files: src/ops.c, src/testdir/test_visual.vim
23397
23398Patch 8.2.3821
23399Problem: ASAN test run fails.
23400Solution: Use asan_symbolize-13 instead of asan_symbolize-11.
23401Files: .github/workflows/ci.yml
23402
23403Patch 8.2.3822
23404Problem: Leaking memory in map() and filter(), cannot use a string argument
23405 in Vim9 script.
23406Solution: Fix the leak, adjust the argument check, also run the tests as
23407 Vim9 script. (Yegappan Lakshmanan, closes #9354)
23408Files: src/errors.h, src/evalfunc.c, src/list.c, src/proto/typval.pro,
23409 src/testdir/test_filter_map.vim,
23410 src/testdir/test_vim9_builtin.vim, src/typval.c
23411
23412Patch 8.2.3823
23413Problem: Test for visual replace is in wrong function.
23414Solution: Move it to another function.
23415Files: src/testdir/test_visual.vim
23416
23417Patch 8.2.3824
23418Problem: No ASAN support for MSVC.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000023419Solution: Add ASAN support and fix a couple of uncovered problems. (Yegappan
Bram Moolenaarc51cf032022-02-26 12:25:45 +000023420 Lakshmanan, closes #9357)
23421Files: src/Make_mvc.mak, src/findfile.c, src/os_mswin.c,
23422 src/testdir/test_fnamemodify.vim
23423
23424Patch 8.2.3825
23425Problem: Various comments could be improved.
23426Solution: Improve the comments.
23427Files: src/getchar.c, src/mbyte.c, src/regexp_nfa.c,
23428 src/testdir/test_edit.vim, src/gui_motif.c
23429
23430Patch 8.2.3826
23431Problem: Vim9: using "g:Func" as a funcref does not work in a :def
23432 function.
23433Solution: Include "g:" in the function name. (closes #9336)
23434Files: src/vim9compile.c, src/testdir/test_vim9_func.vim,
23435 src/testdir/test_vim9_disassemble.vim
23436
23437Patch 8.2.3827
23438Problem: Huntr badge does not really fit in the list.
23439Solution: Move the link to Huntr to the issue template.
23440Files: Filelist, .github/ISSUE_TEMPLATE/bug_report.yml, README.md
23441
23442Patch 8.2.3828
23443Problem: when opening a terminal from a timer the first typed character
23444 is lost. (Virginia Senioria)
23445Solution: When opening a terminal while waiting for a character put K_IGNORE
23446 in the input buffer.
23447Files: src/terminal.c, src/edit.c, src/testdir/test_terminal.vim
23448
23449Patch 8.2.3829
23450Problem: No error when setting a func option to a script-local function.
23451Solution: Give an error if the name starts with "s:". (closes #9358)
23452Files: src/option.c, src/testdir/test_tagfunc.vim,
23453 src/testdir/dumps/Test_set_tagfunc_on_cmdline.dump
23454
23455Patch 8.2.3830
23456Problem: Error messages are spread out.
23457Solution: Move more error messages to errors.h.
23458Files: src/globals.h, src/errors.h, src/buffer.c, src/dict.c, src/diff.c,
23459 src/digraph.c, src/eval.c, src/evalfunc.c, src/evalvars.c,
23460 src/misc2.c, src/quickfix.c, src/typval.c, src/ui.c,
23461 src/userfunc.c, src/vim9compile.c, src/vim9execute.c,
23462 src/vim9type.c, src/window.c
23463
23464Patch 8.2.3831
23465Problem: Opfunc test fails when missing feature changes function name.
23466 (Dominique Pellé)
23467Solution: Check the relevant screen line instead of using a screendump.
23468 (closes #9360)
23469Files: src/testdir/test_vim9_func.vim,
23470 src/testdir/dumps/Test_opfunc_error.dump
23471
23472Patch 8.2.3832 (after 8.2.3830)
23473Problem: Test fails because of changed error message.
23474Solution: Adjust the expected error message.
23475Files: src/testdir/test_vimscript.vim
23476
23477Patch 8.2.3833
23478Problem: Error from term_start() not caught by try/catch.
23479Solution: save and restore did_emsg when applying autocommands. (Ozaki
23480 Kiichi, closes #9361)
23481Files: src/autocmd.c, src/testdir/test_terminal3.vim
23482
23483Patch 8.2.3834
23484Problem: Test_out_cb often fails on Mac.
23485Solution: Increase the timeout with every retry.
23486Files: src/testdir/test_channel.vim
23487
23488Patch 8.2.3835
23489Problem: The inline-function example does not work.
23490Solution: Drop ":let". Add EX_EXPR_ARG to CMD_var. (issue #9352)
23491Files: runtime/doc/vim9.txt, src/ex_cmds.h,
23492 src/testdir/test_vim9_expr.vim
23493
23494Patch 8.2.3836
23495Problem: Vim9: comment after expression not skipped to find NL.
23496Solution: After evaluating an expression look for a newline after a #
23497 comment.
23498Files: src/eval.c
23499
23500Patch 8.2.3837
23501Problem: QNX: crash when compiled with GUI but using terminal.
23502Solution: Check gui.in_use is set. (Hirohito Higashi, closes #9363)
23503Files: src/autocmd.c
23504
23505Patch 8.2.3838
23506Problem: Cannot use script-local function for setting *func options.
23507Solution: Use the script context. (Yegappan Lakshmanan, closes #9362)
23508Files: src/option.c, src/testdir/dumps/Test_set_tagfunc_on_cmdline.dump,
23509 src/testdir/test_ins_complete.vim, src/testdir/test_normal.vim,
23510 src/testdir/test_quickfix.vim, src/testdir/test_tagfunc.vim
23511
23512Patch 8.2.3839
23513Problem: Using \z() with \z1 not tested for syntax highlighting.
23514Solution: Add a test. (Dominique Pellé, closes #9365)
23515Files: src/testdir/test_syntax.vim
23516
23517Patch 8.2.3840
23518Problem: Useless test for negative index in check functions.
23519Solution: Remove the test for negative index. (Naruhiko Nishino,
23520 closes #9364)
23521Files: src/typval.c
23522
23523Patch 8.2.3841
23524Problem: Vim9: outdated TODO items, disabled tests that work.
23525Solution: Remove TODO items, run tests that work now. Check that a dict
23526 item isn't locked.
23527Files: src/vim9execute.c, src/evalvars.c, src/errors.h, src/globals.h,
23528 src/testdir/test_listdict.vim, src/testdir/test_vim9_assign.vim
23529
23530Patch 8.2.3842
23531Problem: Vim9: can change locked list and list items.
23532Solution: Check that a list and list item isn't locked.
23533Files: src/vim9execute.c, src/testdir/test_listdict.vim
23534
23535Patch 8.2.3843
23536Problem: Dep3patch files are not recognized.
23537Solution: Recognize dep3patch files by their location and content. (James
23538 McCoy, closes #9367)
23539Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
23540 src/testdir/test_filetype.vim
23541
23542Patch 8.2.3844
23543Problem: Vim9: no type error if assigning a value with type func(number) to
23544 a variable of type func(string).
23545Solution: Use check_type_maybe(): return MAYBE if a runtime type check is
23546 useful. (issue #8492)
23547Files: src/vim9type.c, src/proto/vim9type.pro, src/vim9compile.c,
23548 src/testdir/test_vim9_assign.vim
23549
23550Patch 8.2.3845
23551Problem: Vim9: test fails when the channel feature is missing.
23552Solution: Check for the channel feature. (Dominique Pellé, closes #9368)
23553Files: src/testdir/test_vim9_builtin.vim
23554
23555Patch 8.2.3846
23556Problem: No error when using control character for 'lcs' or 'fcs'.
23557Solution: Use char2cells() to check the width. (closes #9369)
23558Files: src/screen.c, src/testdir/test_display.vim,
23559 src/testdir/test_listchars.vim
23560
23561Patch 8.2.3847
23562Problem: Illegal memory access when using a lambda with an error.
23563Solution: Avoid skipping over the NUL after a string.
23564Files: src/eval.c, src/testdir/test_lambda.vim
23565
23566Patch 8.2.3848
23567Problem: Cannot use reduce() for a string.
23568Solution: Make reduce() work with a string. (Naruhiko Nishino, closes #9366)
23569Files: runtime/doc/eval.txt, src/errors.h, src/evalfunc.c, src/list.c,
23570 src/typval.c, src/proto/typval.pro, src/testdir/test_listdict.vim,
23571 src/testdir/test_vim9_builtin.vim
23572
23573Patch 8.2.3849
23574Problem: Functions implementing reduce and map are too long.
23575Solution: Use a function for each type of value. Add a few more test cases
23576 and add to the help. (Yegappan Lakshmanan, closes #9370)
23577Files: runtime/doc/eval.txt, src/list.c, src/testdir/test_listdict.vim
23578
23579Patch 8.2.3850
23580Problem: Illegal memory access when displaying a partial.
23581Solution: Terminate the string with a NUL. (closes #9371)
23582Files: src/eval.c, src/testdir/test_messages.vim
23583
23584Patch 8.2.3851
23585Problem: Vim9: overhead when comparing string, dict or function.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000023586Solution: Call the intended compare function directly. Refactor to avoid
Bram Moolenaarc51cf032022-02-26 12:25:45 +000023587 duplicated code.
23588Files: src/vim9execute.c, src/typval.c, src/proto/typval.pro
23589
23590Patch 8.2.3852
23591Problem: Vim9: not enough tests.
23592Solution: Also run existing tests for Vim9 script. Make errors more
23593 consistent.
23594Files: src/testdir/test_listdict.vim, src/eval.c, src/vim9compile.c,
23595 src/errors.h
23596
23597Patch 8.2.3853
23598Problem: Vim9: not enough tests.
23599Solution: Run more existing tests for Vim9 script.
23600Files: src/testdir/test_listdict.vim
23601
23602Patch 8.2.3854
23603Problem: Vim9: inconsistent arguments for test functions.
23604Solution: When :def function and script have different arguments use a list
23605 with two items instead of a separate function.
23606Files: src/testdir/vim9.vim, src/testdir/test_execute_func.vim,
23607 src/testdir/test_float_func.vim, src/testdir/test_functions.vim,
23608 src/testdir/test_glob2regpat.vim, src/testdir/test_listdict.vim,
23609 src/testdir/test_vim9_assign.vim,
23610 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim,
23611 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
23612 src/testdir/test_vim9_script.vim
23613
23614Patch 8.2.3855
23615Problem: Illegal memory access when displaying a blob.
23616Solution: Append a NUL at the end. (Yegappan Lakshmanan, closes #9372)
23617Files: src/blob.c, src/regexp_nfa.c, src/testdir/test_blob.vim,
23618 src/testdir/test_messages.vim
23619
23620Patch 8.2.3856
23621Problem: Vim9: not enough tests.
23622Solution: Run more expression tests also with Vim9. Fix an uncovered
23623 problem.
23624Files: src/vim9compile.c, src/testdir/test_expr.vim, src/testdir/vim9.vim
23625
23626Patch 8.2.3857
23627Problem: Vim9: inconsistent error for using function().
23628Solution: Use a runtime type check for the result of function().
23629 (closes #8492)
23630Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
23631
23632Patch 8.2.3858
23633Problem: Vim9: not enough tests.
23634Solution: Add tests for :try/:catch and :redir. Add missing type check.
23635Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
23636 src/testdir/test_vim9_cmd.vim
23637
23638Patch 8.2.3859
23639Problem: Vim9: some code lines not tested.
23640Solution: Add a few specific tests.
23641Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim, src/errors.h,
23642 src/testdir/test_vim9_script.vim
23643
23644Patch 8.2.3860
23645Problem: Vim9: codecov struggles with the file size.
23646Solution: Split vim9compile.c into four files.
23647Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9instr.c,
23648 src/proto/vim9instr.pro, src/vim9expr.c, src/proto/vim9expr.pro,
23649 src/vim9cmds.c, src/proto/vim9cmds.pro, src/vim9.h,
23650 src/vim9execute.c, src/vim9script.c, src/proto.h,
23651 src/Makefile, src/Make_ami.mak, src/Make_cyg_ming.mak,
23652 src/Make_mvc.mak, src/Make_vms.mms
23653
23654Patch 8.2.3861
23655Problem: List of distributed files is outdated.
23656Solution: Add new files.
23657Files: Filelist
23658
23659Patch 8.2.3862
23660Problem: Crash on exit with EXITFREE and using win_execute().
23661Solution: Also save and restore tp_topframe. (issue #9374)
23662Files: src/evalwindow.c, src/testdir/test_execute_func.vim
23663
23664Patch 8.2.3863 (after 8.2.3860)
23665Problem: Various build flags accidentally enabled.
23666Solution: Revert several lines in Makefile.
23667Files: src/Makefile
23668
23669Patch 8.2.3864
23670Problem: Cannot disable requesting key codes from xterm.
23671Solution: Add the 'xtermcodes' option, default on.
23672Files: runtime/doc/options.txt, runtime/doc/term.txt, src/option.h,
23673 src/optiondefs.h, src/term.c, runtime/optwin.vim
23674
23675Patch 8.2.3865
23676Problem: Vim9: compiler complains about using "try" as a struct member.
23677Solution: Rename "try" to "tryref".
23678Files: src/vim9.h, src/vim9cmds.c, src/vim9execute.c, src/vim9instr.c
23679
23680Patch 8.2.3866
23681Problem: Vim9: type checking global variables is inconsistent.
23682Solution: Use the "unknown" type in more places.
23683Files: src/globals.h, src/vim9expr.c, src/vim9instr.c, src/vim9cmds.c,
23684 src/evalfunc.c, src/testdir/test_vim9_func.vim
23685
23686Patch 8.2.3867
23687Problem: Implementation of some list functions too complicated.
23688Solution: Refactor do_sort_uniq(), f_count() and extend() (Yegappan
23689 Lakshmanan, closes #9378)
23690Files: src/list.c
23691
23692Patch 8.2.3868 (after 8.2.3866)
23693Problem: Vim9: function test fails.
23694Solution: Add missing changes. Add test for earlier patch.
23695Files: src/vim9type.c, src/testdir/test_vim9_disassemble.vim
23696
23697Patch 8.2.3869
23698Problem: Vim9: type checking for "any" is inconsistent.
23699Solution: Always use a runtime type check for using "any" for a more
23700 specific type.
23701Files: src/vim9type.c, src/vim9compile.c, src/vim9expr.c,
23702 src/testdir/test_vim9_func.vim
23703
23704Patch 8.2.3870
23705Problem: MS-Windows: wrong working directory when opening two files with
23706 right-click context menu. (Gabriel Dupras)
23707Solution: Use the working directory and pass it on to the process creation.
23708 (Nir Lichtman, closes #9382, closes #8874)
23709Files: src/GvimExt/gvimext.cpp, src/GvimExt/gvimext.h
23710
23711Patch 8.2.3871
23712Problem: List.c contains code for dict and blob.
23713Solution: Refactor to put code where it belongs. (Yegappan Lakshmanan,
23714 closes #9386)
23715Files: src/blob.c, src/dict.c, src/list.c, src/proto/blob.pro,
23716 src/proto/dict.pro, src/proto/list.pro, src/proto/strings.pro,
23717 src/strings.c, src/structs.h, src/testdir/test_filter_map.vim,
23718 src/testdir/test_listdict.vim, src/testdir/test_sort.vim
23719
23720Patch 8.2.3872
23721Problem: Vim9: finddir() and uniq() return types can be more specific.
23722Solution: Adjust the return type.
23723Files: src/evalfunc.c, src/testdir/vim9.vim,
23724 src/testdir/test_vim9_builtin.vim
23725
23726Patch 8.2.3873
23727Problem: go.mod files are not recognized.
23728Solution: Check for the file name. (closes #9380)
23729Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23730
23731Patch 8.2.3874
23732Problem: Cannot highlight the number column for a sign.
23733Solution: Add the "numhl" argument. (James McCoy, closes #9381)
23734Files: runtime/doc/options.txt, runtime/doc/sign.txt, src/drawline.c,
23735 src/popupwin.c, src/proto/sign.pro, src/sign.c, src/structs.h,
23736 src/testdir/test_signs.vim
23737
23738Patch 8.2.3875
23739Problem: gcc complains about buffer overrun.
23740Solution: Use mch_memmove() instead of STRCPY(). (John Marriott)
23741Files: src/dict.c
23742
23743Patch 8.2.3876
23744Problem: 'cindent' does not recognize inline namespace.
23745Solution: Skip over "inline" to find "namespace". (closes #9383)
23746Files: src/cindent.c, src/testdir/test_cindent.vim
23747
23748Patch 8.2.3877
23749Problem: Function does not abort after a type error in compare
23750Solution: Check getting number fails. (closes #9384)
23751Files: src/typval.c, src/testdir/test_vim9_expr.vim
23752
23753Patch 8.2.3878
23754Problem: Vim9: debugger tries to read more lines than there are.
23755Solution: Check the number of lines. (closes #9394)
23756Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
23757
23758Patch 8.2.3879
23759Problem: getreg() and getregtype() contain dead code.
23760Solution: Remove the needless check. (closes #9392) Also refactor to put
23761 common code in a shared function.
23762Files: src/evalfunc.c
23763
23764Patch 8.2.3880
23765Problem: Solution filter files are not recognized.
23766Solution: Add pattern *.slnf and use json. (Doug Kearns)
23767Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23768
23769Patch 8.2.3881
23770Problem: QNX: crash when compiled with GUI but using terminal.
23771Solution: Check the gui.in_use flag. (Hirohito Higashi, closes #9391)
23772Files: src/main.c
23773
23774Patch 8.2.3882 (after 8.2.3879)
23775Problem: More duplicated code in f_getreginfo().
23776Solution: Also use getreg_get_regname(). (closes #9398)
23777Files: src/evalfunc.c
23778
23779Patch 8.2.3883
23780Problem: Crash when switching to other regexp engine fails.
23781Solution: Check for regprog being NULL.
23782Files: src/ex_cmds.c
23783
23784Patch 8.2.3884
23785Problem: Crash when clearing the argument list while using it.
23786Solution: Lock the argument list for ":all".
23787Files: src/arglist.c, src/testdir/test_arglist.vim
23788
23789Patch 8.2.3885
23790Problem: Arglist test fails.
23791Solution: Adjust for locking the arglist for ":all".
23792Files: src/testdir/test_arglist.vim
23793
23794Patch 8.2.3886
23795Problem: Can define autocmd for every event by using "au!".
23796Solution: Check if a command is present also for "au!".
23797Files: src/autocmd.c, src/testdir/test_autocmd.vim,
23798 src/testdir/test_arglist.vim
23799
23800Patch 8.2.3887
23801Problem: E1135 is used for two different errors.
23802Solution: Renumber one error.
23803Files: src/errors.h, src/testdir/test_mapping.vim
23804
23805Patch 8.2.3888
23806Problem: The argument list may contain duplicates.
23807Solution: Add the :argdedeupe command. (Nir Lichtman, closes #6235)
23808Files: runtime/doc/editing.txt, runtime/doc/index.txt, src/arglist.c,
23809 src/ex_cmdidxs.h, src/ex_cmds.h, src/proto/arglist.pro,
23810 src/testdir/test_arglist.vim
23811
23812Patch 8.2.3889
23813Problem: Duplicate code for translating script-local function name.
23814Solution: Move the code to get_scriptlocal_funcname(). (Yegappan Lakshmanan,
23815 closes #9393)
23816Files: src/evalfunc.c, src/evalvars.c, src/option.c, src/userfunc.c,
23817 src/proto/userfunc.pro, src/testdir/test_expr.vim,
23818 src/testdir/test_normal.vim
23819
23820Patch 8.2.3890
23821Problem: Vim9: type check for using v: variables is basic.
23822Solution: Specify a more precise type.
23823Files: src/evalvars.c, src/proto/evalvars.pro, src/vim9instr.c,
23824 src/testdir/test_vim9_expr.vim
23825
23826Patch 8.2.3891
23827Problem: Github CI: workflows may overlap.
23828Solution: Cancel previous workflows when starting a new one. (Yegappan
23829 Lakshmanan, closes #9400)
23830Files: .github/workflows/ci.yml, .github/workflows/codeql-analysis.yml
23831
23832Patch 8.2.3892
23833Problem: When modifyOtherKeys is used CTRL-C is not recognized.
23834Solution: Check for uppercase C as well, fix minimum length.
23835Files: src/ui.c
23836
23837Patch 8.2.3893
23838Problem: Vim9: many local variables are initialized with an instruction.
23839Solution: Initialize local variables to zero to avoid the instructions.
23840Files: src/vim9execute.c, src/vim9compile.c, src/vim9instr.c,
23841 src/proto/vim9instr.pro, src/vim9cmds.c,
23842 src/testdir/test_vim9_disassemble.vim
23843
23844Patch 8.2.3894
23845Problem: Vim9: no proper type check for first argument of call().
23846Solution: Add specific type check.
23847Files: src/evalfunc.c, src/typval.c, src/proto/typval.pro,
23848 src/errors.h, src/testdir/test_vim9_builtin.vim
23849
23850Patch 8.2.3895
23851Problem: Vim9: confusing error when using function() with a number.
23852Solution: Check for a function or string argument.
23853Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
23854
23855Patch 8.2.3896
23856Problem: Vim9: no test for nested function not available later.
23857Solution: Add a test.
23858Files: src/testdir/test_vim9_func.vim
23859
23860Patch 8.2.3897
23861Problem: Vim9: the second argument of map() and filter() is not checked at
23862 compile time.
23863Solution: Add more specific type check for the second argument.
23864Files: src/evalfunc.c, src/globals.h, src/list.c,
23865 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim,
23866 src/testdir/test_vim9_script.vim
23867
23868Patch 8.2.3898
23869Problem: Vim9: not sufficient testing for variable initialization.
23870Solution: Add another test case.
23871Files: src/testdir/test_vim9_disassemble.vim
23872
23873Patch 8.2.3899 (after 8.2.3897)
23874Problem: Vim9: test for map() on string fails.
23875Solution: Expect string return type.
23876Files: src/evalfunc.c
23877
23878Patch 8.2.3900
23879Problem: It is not easy to use a script-local function for an option.
23880Solution: recognize s: and <SID> at the start of the expression. (Yegappan
23881 Lakshmanan, closes #9401)
23882Files: runtime/doc/diff.txt, runtime/doc/fold.txt,
23883 runtime/doc/options.txt, runtime/doc/print.txt, src/optionstr.c,
23884 src/testdir/test_diffmode.vim, src/testdir/test_edit.vim,
23885 src/testdir/test_fold.vim, src/testdir/test_gf.vim,
23886 src/testdir/test_gui.vim, src/testdir/test_hardcopy.vim,
23887 src/testdir/test_normal.vim
23888
23889Patch 8.2.3901
23890Problem: Vim9: Cannot set 'cpo' in main .vimrc if using Vim9 script.
23891Solution: Do not restore 'cpo' at the end of the main .vimrc.
23892Files: runtime/doc/vim9.txt, runtime/doc/options.txt, src/scriptfile.c,
23893 src/structs.h, src/testdir/test_vim9_script.vim
23894
23895Patch 8.2.3902
23896Problem: Vim9: double free with nested :def function.
23897Solution: Pass "line_to_free" from compile_def_function() and make sure
23898 cmdlinep is valid.
23899Files: src/vim9compile.c, src/userfunc.c, src/proto/userfunc.pro,
23900 src/vim9execute.c, src/testdir/test_vim9_func.vim
23901
23902Patch 8.2.3903
23903Problem: "gM" does not count tabs as expected.
23904Solution: Use linetabsize() instead of mb_string2cells(). (closes #9409)
23905Files: src/normal.c, src/testdir/test_normal.vim
23906
23907Patch 8.2.3904
23908Problem: Vim9: skip expression type is not checked at compile time.
23909Solution: Add argument type checks.
23910Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
23911
23912Patch 8.2.3905
23913Problem: Dockerfile using prefix name not recognized.
23914Solution: Recognize Dockerfile.*. (closes #9410)
23915Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23916
23917Patch 8.2.3906
23918Problem: Vim9 help still contains "under development" warnings.
23919Solution: Remove the explicit warning.
23920Files: runtime/doc/vim9.txt
23921
23922Patch 8.2.3907
23923Problem: Error messages are spread out.
23924Solution: Move error messages to errors.h. Avoid duplicates.
23925Files: src/userfunc.c, src/ex_cmds.c, src/viminfo.c, src/errors.h,
23926 src/testdir/test_user_func.vim
23927
23928Patch 8.2.3908
23929Problem: Cannot use a script-local function for 'foldtext'.
23930Solution: Expand "s:" and "<SID>". (Yegappan Lakshmanan, closes #9411)
23931Files: runtime/doc/fold.txt, src/optionstr.c, src/strings.c,
23932 src/testdir/test_blob.vim, src/testdir/test_expr.vim,
23933 src/testdir/test_filter_map.vim, src/testdir/test_fold.vim,
23934 src/testdir/test_listdict.vim
23935
23936Patch 8.2.3909
23937Problem: Containerfile using prefix name not recognized.
23938Solution: Recognize Containerfile.*.
23939Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23940
23941Patch 8.2.3910
23942Problem: When the compare function of sort() produces and error then sort()
23943 does not abort.
23944Solution: Check if did_emsg was incremented.
23945Files: src/list.c, src/testdir/test_vim9_builtin.vim
23946
23947Patch 8.2.3911
23948Problem: Vim9: type check for filter() does not accept unknown.
23949Solution: Also accept unknown for the return type. (closes #9413)
23950Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
23951
23952Patch 8.2.3912
23953Problem: The ins_complete() function is much too long.
23954Solution: Split it up into multiple functions. (Yegappan Lakshmanan,
23955 closes #9414)
23956Files: src/insexpand.c
23957
23958Patch 8.2.3913
23959Problem: Help for expressions does not mention Vim9 syntax.
23960Solution: Add the rules for Vim9 to the expression help. Rename functions
23961 to match the help.
23962Files: runtime/doc/vim9.txt, runtime/doc/eval.txt, src/vim9expr.c
23963
23964Patch 8.2.3914
23965Problem: Various spelling mistakes in comments.
23966Solution: Fix the mistakes. (Dominique Pellé, closes #9416)
23967Files: src/alloc.c, src/blowfish.c, src/buffer.c, src/cindent.c,
23968 src/clipboard.c, src/diff.c, src/drawline.c, src/edit.c,
23969 src/ex_cmds.c, src/ex_docmd.c, src/findfile.c, src/fold.c,
23970 src/getchar.c, src/gui.c, src/gui_athena.c, src/gui_gtk.c,
23971 src/gui_motif.c, src/gui_photon.c, src/gui_w32.c, src/gui_xmebw.c,
23972 src/if_python.c, src/if_python3.c, src/if_xcmdsrv.c, src/main.c,
23973 src/memline.c, src/menu.c, src/message.c, src/misc1.c, src/move.c,
23974 src/option.c, src/os_amiga.c, src/os_mac.h, src/os_mac_conv.c,
23975 src/os_mswin.c, src/os_unix.c, src/os_win32.c, src/os_win32.h,
23976 src/quickfix.c, src/regexp_nfa.c, src/screen.c, src/scriptfile.c,
23977 src/spell.c, src/spellfile.c, src/spellsuggest.c, src/strings.c,
23978 src/term.c, src/terminal.c, src/testdir/test_debugger.vim,
23979 src/testdir/test_source.vim, src/textformat.c, src/userfunc.c,
23980 src/vim.h, src/vim9.h, src/vim9cmds.c, src/vim9execute.c,
23981 src/winclip.c, src/window.c
23982
23983Patch 8.2.3915
23984Problem: illegal memory access when completing with invalid bytes.
23985Solution: Avoid going over the end of the completion text.
23986Files: src/insexpand.c, src/testdir/test_ins_complete.vim
23987
23988Patch 8.2.3916
23989Problem: No error for passing an invalid line number to append().
23990Solution: In Vim9 script check for a non-negative number. (closes #9417)
23991Files: src/evalbuffer.c, src/textprop.c, src/errors.h, src/indent.c,
23992 src/eval.c, src/testdir/test_vim9_builtin.vim
23993
23994Patch 8.2.3917
23995Problem: The eval.txt help file is way too big.
23996Solution: Move the builtin function details to a separate file.
23997Files: runtime/doc/eval.txt, runtime/doc/builtin.txt,
23998 runtime/doc/Makefile, runtime/doc/help.txt, runtime/doc/remote.txt
23999
24000Patch 8.2.3918 (after 8.2.3916)
24001Problem: Function list test fails.
24002Solution: Adjust the test for the new location of the function list.
24003Files: src/testdir/test_function_lists.vim
24004
24005Patch 8.2.3919
24006Problem: Vim9: wrong argument for append() results in two errors.
24007Solution: Check did_emsg. Also for setline(). Adjust the help for
24008 appendbufline().
24009Files: runtime/doc/builtin.txt, src/evalbuffer.c, src/typval.c,
24010 src/testdir/test_vim9_builtin.vim
24011
24012Patch 8.2.3920
24013Problem: Restoring directory after using another window is inefficient.
24014Solution: Only restore the directory for win_execute(). Apply 'autochdir'
24015 only when needed.
24016Files: src/evalwindow.c, src/testdir/test_autochdir.vim
24017
24018Patch 8.2.3921
24019Problem: The way xdiff is used is inefficient.
24020Solution: Use hunk_func instead of the out_line callback. (Lewis Russell,
24021 closes #9344)
24022Files: src/diff.c
24023
24024Patch 8.2.3922
24025Problem: Cannot build with dynamic Ruby 3.1.
24026Solution: Add "_EXTRA" variables for CI. Add missing functions. (Ozaki
24027 Kiichi, closes #9420)
24028Files: ci/config.mk.clang-12.sed, ci/config.mk.clang.sed,
24029 ci/config.mk.sed, src/Makefile, src/auto/configure,
24030 src/config.mk.in, src/configure.ac, src/if_ruby.c, src/vim.h
24031
24032Patch 8.2.3923
24033Problem: Vim9: double free if a nested function has a line break in the
24034 argument list.
24035Solution: Set cmdlinep when freeing the previous line.
24036Files: src/userfunc.c, src/testdir/test_vim9_func.vim
24037
24038Patch 8.2.3924
24039Problem: Vim9: no error if something follows :enddef in a nested function.
24040Solution: Give an error. Move common code to a function.
24041Files: src/userfunc.c, src/vim9compile.c, src/errors.h,
24042 src/testdir/test_vim9_func.vim
24043
24044Patch 8.2.3925
24045Problem: Diff mode confused by NUL bytes.
24046Solution: Handle NUL bytes differently. (Christian Brabandt, closes #9421,
24047 closes #9418)
24048Files: src/diff.c, src/testdir/test_diffmode.vim,
24049 src/testdir/dumps/Test_diff_bin_01.dump,
24050 src/testdir/dumps/Test_diff_bin_02.dump,
24051 src/testdir/dumps/Test_diff_bin_03.dump,
24052 src/testdir/dumps/Test_diff_bin_04.dump
24053
24054Patch 8.2.3926 (after 8.2.3920)
24055Problem: Build failure without the 'autochdir' option. (John Marriott)
24056Solution: Add #ifdefs.
24057Files: src/evalwindow.c
24058
24059Patch 8.2.3927
24060Problem: Vim9: double free when using lambda.
24061Solution: Don't free both cmdline and line_to_free.
24062Files: src/userfunc.c
24063
24064Patch 8.2.3928
24065Problem: Heredoc test fails.
24066Solution: Correct order of function arguments.
24067Files: src/userfunc.c
24068
24069Patch 8.2.3929
Bram Moolenaar1588bc82022-03-08 21:35:07 +000024070Problem: Using uninitialized variable.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024071Solution: Set the option flags to zero for a terminal option.
24072Files: src/option.c
24073
24074Patch 8.2.3930
24075Problem: getcmdline() argument has a misleading type.
24076Solution: Use the correct type, even though the value is not used.
24077Files: src/ex_getln.c, src/proto/ex_getln.pro, src/ex_docmd.c,
24078 src/normal.c, src/register.c, src/userfunc.c
24079
24080Patch 8.2.3931
24081Problem: Coverity reports a memory leak.
24082Solution: Free memory in case of failure.
24083Files: src/diff.c
24084
24085Patch 8.2.3932
24086Problem: C line comment not formatted properly.
24087Solution: If a line comment follows after "#if" the next line is not the end
24088 of a paragraph.
24089Files: src/textformat.c, src/testdir/test_textformat.vim
24090
24091Patch 8.2.3933
24092Problem: After ":cd" fails ":cd -" is incorrect.
24093Solution: Set the previous directory only after successfully changing
24094 directory. (Richard Doty, closes #9419, closes #8983)
24095Files: src/ex_docmd.c, src/testdir/test_cd.vim
24096
24097Patch 8.2.3934
24098Problem: Repeating line comment is undesired for "O" command.
24099Solution: Do not copy line comment leader for "O". (closes #9426)
24100Files: src/change.c, src/testdir/test_textformat.vim
24101
24102Patch 8.2.3935
24103Problem: CTRL-U in Insert mode does not fix the indent.
24104Solution: Fix the indent when 'cindent' is set.
24105Files: src/edit.c, src/testdir/test_textformat.vim
24106
24107Patch 8.2.3936
24108Problem: No proper test for maintaining change mark in diff mode.
24109Solution: Run the test with internal and external diff. (Sean Dewar,
24110 closes #9424)
24111Files: src/testdir/test_diffmode.vim
24112
24113Patch 8.2.3937
24114Problem: Insert mode completion function is too long.
24115Solution: Refactor into multiple functions. (Yegappan Lakshmanan,
24116 closes #9423)
24117Files: src/insexpand.c, src/testdir/test_ins_complete.vim
24118
24119Patch 8.2.3938
24120Problem: Line comment start is also found in a string.
24121Solution: Skip line comments in a string.
24122Files: src/cindent.c, src/proto/cindent.pro, src/search.c,
24123 src/testdir/test_textformat.vim
24124
24125Patch 8.2.3939
24126Problem: MS-Windows: fnamemodify('', ':p') does not work.
24127Solution: Do not consider an empty string a full path. (Yegappan Lakshmanan,
24128 closes #9428, closes #9427)
24129Files: src/os_mswin.c, src/testdir/test_fnamemodify.vim
24130
24131Patch 8.2.3940
24132Problem: Match highlight disappears when doing incsearch for ":s/pat".
24133Solution: Only use line limit for incsearch highlighting. (closes #9425)
24134Files: src/match.c, src/testdir/test_match.vim,
24135 src/testdir/dumps/Test_match_with_incsearch_1.dump,
24136 src/testdir/dumps/Test_match_with_incsearch_2.dump
24137
24138Patch 8.2.3941
24139Problem: SIGTSTP is not handled.
24140Solution: Handle SIGTSTP like pressing CTRL-Z. (closes #9422)
24141Files: runtime/doc/autocmd.txt, src/ex_docmd.c, src/os_unix.c,
24142 src/proto/ex_docmd.pro, src/testdir/test_signals.vim
24143
24144Patch 8.2.3942
24145Problem: Coverity reports a possible memory leak.
24146Solution: Free the array if allocation fails.
24147Files: src/insexpand.c
24148
24149Patch 8.2.3943
24150Problem: Compiler warning from gcc for uninitialized variable.
24151Solution: Initialize variable. (closes #9429)
24152Files: src/diff.c
24153
24154Patch 8.2.3944
24155Problem: Insert mode completion functions are too long.
24156Solution: Split up into multiple functions. (Yegappan Lakshmanan,
24157 closes #9431)
24158Files: src/insexpand.c, src/testdir/test_ins_complete.vim
24159
24160Patch 8.2.3945
24161Problem: Vim9: partial variable argument types are wrong, leading to a
24162 crash.
24163Solution: When adjusting the argument count also adjust the argument types.
24164 (closes #9433)
24165Files: src/vim9type.c, src/userfunc.c, src/testdir/test_vim9_assign.vim
24166
24167Patch 8.2.3946
24168Problem: When an internal error makes Vim exit the error is not seen.
24169Solution: Add the error to the test output.
24170Files: src/message.c, src/testdir/runtest.vim
24171
24172Patch 8.2.3947
24173Problem: Unnecessary check for NULL pointer.
24174Solution: Remove the check. (closes #9434)
24175Files: src/ex_docmd.c
24176
24177Patch 8.2.3948
24178Problem: Vim9: failure with partial with unknown argument count.
24179Solution: Do not copy argument types if there aren't any.
24180Files: src/vim9type.c
24181
24182Patch 8.2.3949
24183Problem: Using freed memory with /\%V.
24184Solution: Get the line again after getvvcol().
24185Files: src/regexp.c, src/testdir/test_regexp_latin.vim
24186
24187Patch 8.2.3950
24188Problem: Going beyond the end of the line with /\%V.
24189Solution: Check for valid column in getvcol().
24190Files: src/charset.c, src/testdir/test_regexp_latin.vim
24191
24192Patch 8.2.3951
24193Problem: Vim9: memory leak when text after a nested function.
24194Solution: Free the function if text is found after "enddef".
24195Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
24196
24197Patch 8.2.3952
24198Problem: First line not redrawn when adding lines to an empty buffer.
24199Solution: Adjust the argument to appended_lines(). (closes #9439,
24200 closes #9438)
24201Files: src/ex_cmds.c, src/testdir/test_excmd.vim
24202
24203Patch 8.2.3953
24204Problem: Insert completion code is too complicated.
24205Solution: More refactoring. Move function arguments into a struct.
24206 (Yegappan Lakshmanan, closes #9437)
24207Files: src/insexpand.c
24208
24209Patch 8.2.3954
24210Problem: Vim9: no error for shadowing if script var is declared later.
24211Solution: Check argument names when compiling a function.
24212Files: src/vim9compile.c, src/testdir/test_vim9_func.vim,
24213 src/testdir/test_vim9_assign.vim
24214
24215Patch 8.2.3955
24216Problem: Error messages are spread out.
24217Solution: Move more errors to errors.h.
24218Files: src/errors.h, src/globals.h, src/debugger.c, src/ex_cmds.c,
24219 src/help.c, src/sign.c, src/spellfile.c
24220
24221Patch 8.2.3956
24222Problem: Duplicate assignment.
24223Solution: Remove the second assignment. (closes #9442)
24224Files: src/evalfunc.c
24225
24226Patch 8.2.3957
24227Problem: Error messages are spread out.
24228Solution: Move more errors to errors.h.
24229Files: src/errors.h, src/globals.h, src/arglist.c, src/bufwrite.c,
Bram Moolenaar47c532e2022-03-19 15:18:53 +000024230 src/evalvars.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_eval.c,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024231 src/help.c, src/scriptfile.c, src/usercmd.c, src/userfunc.c,
24232 src/vim9cmds.c, src/vim9compile.c
24233
24234Patch 8.2.3958
24235Problem: Build failure compiling xxd with "-std=c2x".
24236Solution: define _XOPEN_SOURCE. (Yegappan Lakshmanan, closes #9444)
24237Files: src/xxd/xxd.c
24238
24239Patch 8.2.3959
24240Problem: Error messages are spread out.
24241Solution: Move more errors to errors.h.
24242Files: src/errors.h, src/autocmd.c, src/bufwrite.c, src/evalvars.c,
24243 src/ex_docmd.c, src/ex_eval.c, src/ex_getln.c, src/fileio.c,
24244 src/getchar.c, src/gui.c, src/locale.c, src/map.c
24245
24246Patch 8.2.3960
24247Problem: Error messages are spread out.
24248Solution: Move more errors to errors.h.
24249Files: src/errors.h, src/alloc.c, src/arglist.c, src/autocmd.c,
24250 src/blob.c, src/blowfish.c, src/buffer.c, src/bufwrite.c
24251
24252Patch 8.2.3961
24253Problem: Error messages are spread out.
24254Solution: Move more errors to errors.h.
Bram Moolenaar47c532e2022-03-19 15:18:53 +000024255Files: src/errors.h, src/globals.h, src/arglist.c, src/autocmd.c,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024256 src/blob.c, src/bufwrite.c, src/channel.c, src/clipboard.c,
24257 src/cmdexpand.c, src/debugger.c, src/dict.c, src/eval.c,
24258 src/evalfunc.c, src/evalvars.c, src/evalwindow.c, src/ex_cmds.c,
24259 src/ex_docmd.c, src/ex_eval.c, src/ex_getln.c, src/fileio.c,
24260 src/filepath.c, src/gui_gtk_x11.c, src/gui_haiku.cc,
24261 src/gui_photon.c, src/gui_w32.c, src/gui_x11.c, src/highlight.c,
24262 src/indent.c, src/insexpand.c, src/job.c, src/json.c, src/list.c,
24263 src/map.c, src/mark.c, src/match.c, src/mbyte.c, src/menu.c,
24264 src/message.c, src/misc2.c, src/ops.c, src/option.c,
24265 src/optionstr.c, src/popupwin.c, src/quickfix.c, src/screen.c,
24266 src/scriptfile.c, src/search.c, src/sign.c, src/spell.c,
24267 src/spellfile.c, src/strings.c, src/syntax.c, src/terminal.c,
24268 src/testing.c, src/textprop.c, src/time.c, src/userfunc.c,
24269 src/vim9cmds.c, src/vim9execute.c, src/vim9script.c, src/window.c
24270
24271Patch 8.2.3962 (after 8.2.3961)
24272Problem: Build fails for missing error message.
24273Solution: Add changes in missed file.
24274Files: src/regexp_bt.c
24275
24276Patch 8.2.3963
24277Problem: Build failure with tiny and small features. (Tony Mechelynck)
24278Solution: Adjust #ifdefs.
24279Files: src/errors.h, src/message.c
24280
24281Patch 8.2.3964
24282Problem: Some common lisp and scheme files not recognized.
24283Solution: Recognize *.asd as lisp and *.sld as scheme. (Alex Vear,
24284 closes #9447)
24285Files: runtime/filetype.vim, src/testdir/test_filetype.vim
24286
24287Patch 8.2.3965
24288Problem: Vim9: no easy way to check if Vim9 script is supported.
24289Solution: Add has('vim9script').
24290Files: runtime/doc/vim9.txt, src/evalfunc.c,
24291 src/testdir/test_vim9_script.vim
24292
24293Patch 8.2.3966
24294Problem: When using feedkeys() abbreviations may be blocked.
24295Solution: Reset tb_no_abbr_cnt when running out of characters.
24296 (closes #9448)
24297Files: src/getchar.c, src/testdir/test_feedkeys.vim
24298
24299Patch 8.2.3967
24300Problem: Error messages are spread out.
24301Solution: Move more errors to errors.h.
24302Files: src/errors.h, src/globals.h, src/feature.h, src/arglist.c,
24303 src/autocmd.c, src/blob.c, src/bufwrite.c, src/channel.c,
24304 src/cmdexpand.c, src/dict.c, src/diff.c, src/eval.c,
24305 src/evalfunc.c, src/evalvars.c, src/ex_cmds.c, src/ex_docmd.c,
24306 src/fileio.c, src/filepath.c, src/getchar.c, src/gui_gtk_x11.c,
24307 src/gui_x11.c, src/hardcopy.c, src/help.c, src/highlight.c,
24308 src/if_cscope.c, src/if_lua.c, src/if_mzsch.c, src/if_perl.xs,
24309 src/if_python.c, src/if_python3.c, src/if_ruby.c, src/if_tcl.c,
24310 src/if_xcmdsrv.c, src/indent.c, src/insexpand.c, src/job.c,
24311 src/list.c, src/main.c, src/map.c, src/match.c, src/mbyte.c,
24312 src/message.c, src/misc1.c, src/option.c, src/optionstr.c,
24313 src/os_mswin.c, src/os_unix.c, src/os_win32.c, src/popupwin.c,
24314 src/profiler.c, src/quickfix.c, src/scriptfile.c, src/search.c,
24315 src/session.c, src/sign.c, src/spell.c, src/spellfile.c,
24316 src/spellsuggest.c, src/syntax.c, src/tag.c, src/terminal.c,
24317 src/testing.c, src/textprop.c, src/typval.c, src/userfunc.c,
24318 src/vim9execute.c, src/vim9expr.c, src/vim9instr.c,
24319 src/vim9script.c
24320
24321Patch 8.2.3968
24322Problem: Build failure.
24323Solution: Add missing changes.
24324Files: src/strings.c, src/vim9compile.c
24325
24326Patch 8.2.3969
24327Problem: Value of MAXCOL not available in Vim script.
24328Solution: Add v:maxcol. (Naohiro Ono, closes #9451)
24329Files: runtime/doc/builtin.txt, runtime/doc/eval.txt, src/evalvars.c,
24330 src/testdir/test_cursor_func.vim, src/testdir/test_normal.vim,
24331 src/testdir/test_put.vim, src/vim.h
24332
24333Patch 8.2.3970
24334Problem: Error messages are spread out.
24335Solution: Move more errors to errors.h.
24336Files: src/errors.h, src/globals.h, src/buffer.c, src/bufwrite.c,
24337 src/clientserver.c, src/cmdhist.c, src/dict.c, src/edit.c,
24338 src/eval.c, src/evalfunc.c, src/evalvars.c, src/ex_cmds.c,
24339 src/ex_docmd.c, src/ex_eval.c, src/ex_getln.c, src/gui_w32.c,
24340 src/gui_x11.c, src/if_xcmdsrv.c, src/insexpand.c, src/json.c,
24341 src/match.c, src/menu.c, src/option.c, src/optionstr.c,
24342 src/os_mswin.c, src/quickfix.c, src/regexp_bt.c, src/regexp_nfa.c,
24343 src/scriptfile.c, src/sign.c, src/spellfile.c, src/undo.c,
24344 src/userfunc.c, src/vim9cmds.c, src/vim9compile.c,
24345 src/vim9execute.c, src/vim9expr.c, src/window.c
24346
24347Patch 8.2.3971
24348Problem: Build fails.
24349Solution: Use the right error message name.
24350Files: src/typval.c
24351
24352Patch 8.2.3972
24353Problem: Error messages are spread out.
24354Solution: Move the last errors from globals.h to errors.h.
24355Files: src/errors.h, src/globals.h, src/eval.c, src/evalfunc.c,
24356 src/evalvars.c, src/evalwindow.c, src/ex_eval.c, src/list.c,
24357 src/match.c, src/menu.c, src/popupmenu.c, src/search.c,
24358 src/vim9cmds.c, src/vim9expr.c
24359
24360Patch 8.2.3973
24361Problem: Tiny build fails.
24362Solution: Adjust #ifdefs
24363Files: src/errors.h
24364
24365Patch 8.2.3974
24366Problem: Vim9: LISTAPPEND instruction does not check for a locked list.
24367Solution: Check whether the list is locked. (closes #9452)
24368Files: src/vim9execute.c, src/testdir/test_vim9_builtin.vim
24369
24370Patch 8.2.3975
24371Problem: Error messages are spread out.
24372Solution: Move more error messages to errors.h.
24373Files: src/errors.h, src/clientserver.c, src/fileio.c, src/gui.c,
24374 src/gui_beval.c, src/gui_w32.c, src/gui_x11.c, src/if_cscope.c,
24375 src/if_xcmdsrv.c, src/os_mswin.c, src/sign.c, src/viminfo.c,
24376 src/window.c
24377
24378Patch 8.2.3976
24379Problem: FEARG_LAST is never used. (Dominique Pellé)
24380Solution: Remove FEARG_LAST and the related code.
24381Files: src/evalfunc.c
24382
24383Patch 8.2.3977
24384Problem: Error messages are spread out.
24385Solution: Move more error messages to errors.h.
24386Files: src/errors.h, src/change.c, src/clientserver.c, src/eval.c,
24387 src/gui_xim.c, src/if_cscope.c, src/if_py_both.h, src/if_python.c,
24388 src/if_python3.c, src/if_ruby.c, src/if_tcl.c, src/main.c,
24389 src/mark.c, src/match.c, src/memfile.c, src/memline.c,
24390 src/terminal.c, src/textprop.c, src/userfunc.c
24391
24392Patch 8.2.3978
Bram Moolenaar1588bc82022-03-08 21:35:07 +000024393Problem: Build error when using dynamically loaded Python 3.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024394Solution: Adjust #ifdef.
24395Files: src/errors.h
24396
24397Patch 8.2.3979
24398Problem: Vim9: the feature is not mentioned in the right places.
24399Solution: Add +vim9script to the help and :version output.
24400Files: runtime/doc/builtin.txt, runtime/doc/various.txt, src/version.c
24401
24402Patch 8.2.3980
24403Problem: If 'operatorfunc' invokes an operator the remembered Visual mode
24404 may be changed. (Naohiro Ono)
24405Solution: Save and restore the information for redoing the Visual area.
24406 (closes #9455)
24407Files: src/ops.c, src/testdir/test_normal.vim
24408
24409Patch 8.2.3981
24410Problem: Vim9: debugging a for loop doesn't stop before it starts.
24411Solution: Keep the DEBUG instruction before the expression is evaluated.
24412 (closes #9456)
24413Files: src/vim9cmds.c, src/testdir/test_vim9_disassemble.vim
24414
24415Patch 8.2.3982
24416Problem: Some lines of code not covered by tests.
24417Solution: Add a few more test cases. (Dominique Pellé, closes #9453)
24418Files: src/testdir/test_filter_map.vim, src/testdir/test_highlight.vim,
24419 src/testdir/test_regexp_latin.vim, src/testdir/test_search.vim,
24420 src/testdir/test_vim9_builtin.vim
24421
24422Patch 8.2.3983
24423Problem: Error messages are spread out.
24424Solution: Move more error messages to errors.h.
24425Files: src/errors.h, src/ex_docmd.c, src/fileio.c, src/filepath.c,
24426 src/findfile.c, src/hardcopy.c, src/memfile.c, src/memline.c,
24427 src/menu.c, src/normal.c, src/regexp_bt.c
24428
24429Patch 8.2.3984 (after 8.2.3981)
24430Problem: Debugger test fails.
24431Solution: Adjust the test for modified debugging of a for loop.
24432Files: src/testdir/test_debugger.vim
24433
24434Patch 8.2.3985
24435Problem: Error messages are spread out.
24436Solution: Move more error messages to errors.h.
24437Files: src/errors.h, src/findfile.c, src/fold.c, src/hardcopy.c,
24438 src/highlight.c, src/map.c, src/message.c, src/normal.c,
24439 src/option.c, src/os_amiga.c, src/os_unix.c, src/os_win32.c,
24440 src/quickfix.c, src/regexp.c, src/register.c, src/search.c,
24441 src/syntax.c, src/tag.c, src/term.c, src/typval.c, src/undo.c,
24442 src/window.c
24443
24444Patch 8.2.3986
24445Problem: Error messages are spread out.
24446Solution: Move more error messages to errors.h.
24447Files: src/errors.h, src/evalvars.c, src/ex_cmds.c, src/ex_docmd.c,
24448 src/fileio.c, src/fold.c, src/gui_x11.c, src/hardcopy.c,
24449 src/help.c, src/highlight.c, src/if_cscope.c, src/json.c,
24450 src/map.c, src/netbeans.c, src/popupwin.c, src/usercmd.c,
24451 src/userfunc.c
24452
24453Patch 8.2.3987
24454Problem: Error messages are spread out.
24455Solution: Move more error messages to errors.h.
24456Files: src/errors.h, src/digraph.c, src/ex_eval.c, src/gui.c,
24457 src/hardcopy.c, src/if_cscope.c, src/if_tcl.c, src/if_xcmdsrv.c,
24458 src/mbyte.c, src/misc2.c, src/netbeans.c, src/option.c,
24459 src/optionstr.c, src/quickfix.c, src/regexp.c, src/tag.c,
24460 src/term.c, src/viminfo.c
24461
24462Patch 8.2.3988 (after 8.2.3987)
24463Problem: Tiny build fails.
24464Solution: Fix misplaced #ifdef.
24465Files: src/errors.h
24466
24467Patch 8.2.3989
24468Problem: Some insert completion code is not tested.
24469Solution: Add a few tests. Refactor thesaurus completion. (Yegappan
24470 Lakshmanan, closes #9460)
24471Files: src/insexpand.c, src/testdir/test_edit.vim,
24472 src/testdir/test_ins_complete.vim
24473
24474Patch 8.2.3990
24475Problem: Testing wrong operator.
24476Solution: Test "g@" instead of "r_". (Naohiro Ono, closes #9463)
24477Files: src/testdir/test_normal.vim
24478
24479Patch 8.2.3991
24480Problem: Vim9: error when extending dict<any> with another type that it was
24481 initialized with.
24482Solution: Also set the type for dict<any> if the initializer has a more
24483 specific type. (closes #9461)
24484Files: src/vim9compile.c, src/vim9type.c, src/vim9.h, src/eval.c,
24485 src/list.c, src/vim9script.c, src/testdir/test_vim9_assign.vim,
24486 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_func.vim
24487
24488Patch 8.2.3992
24489Problem: Wrong local-additions in the help with language mix.
24490Solution: Adjust how the local additions list is generated. (Hirohito
24491 Higashi, closes #9464)
24492Files: src/help.c, src/testdir/test_help.vim
24493
24494Patch 8.2.3993
24495Problem: When recording a change in Select mode the first typed character
24496 appears twice.
24497Solution: When putting the character back into typeahead remove it from
24498 recorded characters. (closes #9462)
24499Files: src/getchar.c, src/proto/getchar.pro, src/normal.c,
24500 src/testdir/test_registers.vim
24501
24502Patch 8.2.3994
24503Problem: Vim9: extend() complains about the type even when it was not
24504 declared.
24505Solution: Only check the list or dict type when it was declared.
24506Files: src/list.c, src/testdir/test_vim9_builtin.vim
24507
24508Patch 8.2.3995
24509Problem: Not all sshconfig files are detected as such.
24510Solution: Adjust the patterns used for sshconfig detection. (David Auer,
24511 closes #9322)
24512Files: runtime/filetype.vim, src/testdir/test_filetype.vim
24513
24514Patch 8.2.3996
24515Problem: Vim9: type checking for list and dict lacks information about
24516 declared type.
24517Solution: Add dv_decl_type and lv_decl_type. Refactor the type stack to
24518 store two types in each entry.
24519Files: src/structs.h, src/dict.c, src/list.c, src/vim9type.c,
24520 src/proto/vim9type.pro, src/vim9instr.c, src/proto/vim9instr.pro,
24521 src/vim9compile.c, src/evalfunc.c, src/proto/evalfunc.pro,
24522 src/evalbuffer.c, src/proto/evalbuffer.pro, src/vim9expr.c,
24523 src/vim9cmds.c, src/testdir/test_vim9_assign.vim,
24524 src/testdir/test_vim9_builtin.vim
24525
24526Patch 8.2.3997
24527Problem: Vim9: not enough testing for extend() and map().
24528Solution: Add more test cases. Fix uncovered problems. Remove unused type
24529 fields.
24530Files: src/structs.h, src/dict.c, src/list.c, src/vim9compile.c,
24531 src/testdir/test_vim9_builtin.vim,
24532 src/testdir/test_vim9_disassemble.vim
24533
24534Patch 8.2.3998
24535Problem: Asan error for adding zero to NULL.
24536Solution: Do not compute pointer if there are no entries.
24537Files: src/vim9type.c
24538
24539Patch 8.2.3999
24540Problem: Redundant check for NUL byte.
24541Solution: Remove the check for a NUL byte. (closes #9471)
24542Files: src/ex_docmd.c
24543
24544Patch 8.2.4000
24545Problem: Coverity warns for checking for NULL pointer after using it.
24546Solution: Remove check for NULL.
24547Files: src/help.c
24548
24549Patch 8.2.4001
24550Problem: Insert complete code uses global variables.
24551Solution: Make variables local to the file and use accessor functions.
24552 (Yegappan Lakshmanan, closes #9470)
24553Files: src/edit.c, src/getchar.c, src/globals.h, src/insexpand.c,
24554 src/proto/insexpand.pro, src/search.c
24555
24556Patch 8.2.4002
24557Problem: First char typed in Select mode can be wrong.
24558Solution: Escape special bytes in the input buffer. (closes #9469)
24559Files: src/getchar.c, src/testdir/test_utf8.vim
24560
24561Patch 8.2.4003
24562Problem: Error messages are spread out.
24563Solution: Move more error messages to errors.h.
24564Files: src/errors.h, src/channel.c, src/ex_docmd.c, src/ex_eval.c,
24565 src/gui_at_fs.c, src/hardcopy.c, src/if_cscope.c, src/menu.c,
24566 src/netbeans.c, src/optionstr.c, src/os_mswin.c, src/sign.c,
24567 src/typval.c
24568
24569Patch 8.2.4004
24570Problem: Old compiler complains about struct init with variable.
Bram Moolenaar47c532e2022-03-19 15:18:53 +000024571Solution: Set the struct member later. (John Marriott)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024572Files: src/evalfunc.c
24573
24574Patch 8.2.4005
24575Problem: Error messages are spread out.
24576Solution: Move more error messages to errors.h.
24577Files: src/errors.h, src/dict.c, src/eval.c, src/evalfunc.c,
24578 src/evalvars.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_eval.c,
24579 src/filepath.c, src/gui.c, src/gui_w32.c, src/hardcopy.c,
24580 src/help.c, src/highlight.c, src/if_python.c, src/list.c,
24581 src/misc1.c, src/normal.c, src/quickfix.c, src/regexp.c,
24582 src/regexp_bt.c, src/regexp_nfa.c, src/typval.c, src/userfunc.c
24583
24584Patch 8.2.4006
24585Problem: Vim9: crash when declaring variable on the command line.
24586Solution: Use a temporary type list. (closes #9474)
24587Files: src/eval.c, src/testdir/test_vim9_assign.vim
24588
24589Patch 8.2.4007
24590Problem: Session does not restore help buffer properly when "options' is
24591 missing from 'sessionoptions'.
24592Solution: Use a ":help" command to create the help window. (closes #9475,
24593 closes #9458, closes #9472)
24594Files: src/session.c, src/testdir/test_mksession.vim
24595
24596Patch 8.2.4008
24597Problem: Error messages are spread out.
24598Solution: Move more error messages to errors.h.
24599Files: src/errors.h, src/diff.c, src/digraph.c, src/evalfunc.c,
24600 src/evalvars.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c,
24601 src/insexpand.c, src/match.c, src/memline.c, src/menu.c,
24602 src/ops.c, src/profiler.c, src/quickfix.c, src/regexp.c,
24603 src/regexp_bt.c, src/regexp_nfa.c, src/register.c, src/spell.c,
24604 src/spell.h, src/spellfile.c, src/strings.c, src/syntax.c,
24605 src/typval.c, src/undo.c, src/userfunc.c
24606
24607Patch 8.2.4009
24608Problem: Reading one byte beyond the end of the line.
24609Solution: Check for NUL byte first.
24610Files: src/vim9compile.c, src/ex_docmd.c, src/testdir/test_vim9_func.vim
24611
24612Patch 8.2.4010
24613Problem: Error messages are spread out.
24614Solution: Move more error messages to errors.h.
24615Files: src/errors.h, src/crypt.c, src/diff.c, src/ex_docmd.c,
24616 src/ex_getln.c, src/fileio.c, src/findfile.c, src/float.c,
24617 src/gui.c, src/highlight.c, src/if_mzsch.c, src/if_py_both.h,
24618 src/if_python.c, src/if_python3.c, src/insexpand.c, src/match.c,
24619 src/memline.c, src/option.c, src/popupwin.c, src/regexp.c,
24620 src/regexp_nfa.c, src/spellfile.c, src/strings.c, src/syntax.c,
24621 src/textprop.c, src/typval.c, src/undo.c, src/usercmd.c,
24622 src/userfunc.c, src/window.c
24623
24624Patch 8.2.4011
24625Problem: Test fails because of changed error number.
24626Solution: Restore old duplicate error message.
24627Files: src/errors.h, src/match.c
24628
24629Patch 8.2.4012
24630Problem: Error messages are spread out.
24631Solution: Move the last error messages to errors.h.
24632Files: src/errors.h, src/channel.c, src/clientserver.c, src/diff.c,
24633 src/evalfunc.c, src/evalvars.c, src/ex_cmds2.c, src/ex_docmd.c,
24634 src/gui_w32.c, src/help.c, src/if_mzsch.c, src/if_py_both.h,
24635 src/if_python.c, src/job.c, src/json.c, src/list.c, src/option.c,
24636 src/optionstr.c, src/quickfix.c, src/regexp.c, src/regexp_nfa.c,
24637 src/register.c, src/scriptfile.c, src/sign.c, src/syntax.c,
24638 src/tag.c, src/terminal.c, src/textprop.c, src/typval.c,
24639 src/undo.c, src/userfunc.c, src/vim9compile.c, src/viminfo.c
24640
24641Patch 8.2.4013
24642Problem: Build failure without the spell feature.
24643Solution: Adjust #ifdefs.
24644Files: src/errors.h
24645
24646Patch 8.2.4014
24647Problem: Git and gitcommit file types not properly recognized.
24648Solution: Adjust filetype detection. (Tim Pope, closes #9477)
24649Files: runtime/filetype.vim, runtime/scripts.vim,
24650 src/testdir/test_filetype.vim
24651
24652Patch 8.2.4015
24653Problem: Build failure with tiny features. (Tony Mechelynck)
24654Solution: Adjust #ifdefs.
24655Files: src/errors.h
24656
24657Patch 8.2.4016
24658Problem: Vim9: incorrect error for argument that is shadowing var.
24659Solution: Ignore variable that is not in block where the function was
24660 defined.
24661Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
24662
24663Patch 8.2.4017
24664Problem: Gcc warns for misleading indent in Athena menu code.
24665Solution: Add curlies around the two statements. (Dominique Pellé,
24666 closes #9480)
24667Files: src/gui_athena.c
24668
24669Patch 8.2.4018
24670Problem: ml_get error when win_execute redraws with Visual selection.
24671Solution: Disable Visual area temporarily. (closes #9479)
24672Files: src/evalwindow.c, src/proto/evalwindow.pro, src/structs.h,
24673 src/evalbuffer.c, src/proto/evalbuffer.pro, src/evalvars.c,
24674 src/if_py_both.h, src/evalfunc.c,
24675 src/testdir/test_execute_func.vim
24676
24677Patch 8.2.4019
24678Problem: Vim9: import mechanism is too complicated.
24679Solution: Do not use the Javascript mechanism but a much simpler one.
24680Files: runtime/doc/vim9.txt, src/vim9script.c, src/proto/vim9script.pro,
24681 src/errors.h, src/structs.h, src/eval.c, src/proto/eval.pro,
24682 src/evalvars.c, src/proto/evalvars.pro, src/userfunc.c,
24683 src/vim9expr.c, src/vim9compile.c, src/vim9execute.c,
24684 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_script.vim
24685
24686Patch 8.2.4020 (after 8.2.4019)
24687Problem: Debugger test fails.
24688Solution: Fix import statement.
24689Files: src/testdir/test_debugger.vim
24690
24691Patch 8.2.4021 (after 8.2.4019)
24692Problem: Missing part of the :import changes.
24693Solution: Add changes in vim9cmds.c.
24694Files: src/vim9cmds.c
24695
24696Patch 8.2.4022
24697Problem: Two error messages in the wrong file.
24698Solution: Use the error message from errors.h.
24699Files: src/popupwin.c, src/usercmd.c
24700
24701Patch 8.2.4023
24702Problem: Using uninitialized variable.
24703Solution: Initialize "ufunc" also when an item is not exported.
24704Files: src/vim9script.c
24705
24706Patch 8.2.4024
24707Problem: Confusing error message if imported name is used directly.
24708Solution: Give a better error message.
24709Files: src/eval.c, src/proto/eval.pro, src/evalvars.c, src/userfunc.c,
24710 src/testdir/test_vim9_script.vim
24711
24712Patch 8.2.4025
24713Problem: Error for import not ending in .vim does not work for .vimrc.
24714Solution: Check that .vim is the end. (closes #9484)
24715Files: src/vim9script.c, src/errors.h, src/testdir/test_vim9_script.vim
24716
24717Patch 8.2.4026
24718Problem: ml_get error with specific win_execute() command. (Sean Dewar)
24719Solution: Check cursor and Visual area are OK.
24720Files: src/evalwindow.c, src/testdir/test_execute_func.vim
24721
24722Patch 8.2.4027
24723Problem: Import test fails on MS-Windows.
24724Solution: Use a different directory name.
24725Files: src/testdir/test_vim9_script.vim
24726
24727Patch 8.2.4028
24728Problem: ml_get error with :doautoall and Visual area. (Sean Dewar)
24729Solution: Disable Visual mode while executing autocommands.
24730Files: src/structs.h, src/autocmd.c, src/testdir/test_autocmd.vim
24731
24732Patch 8.2.4029
24733Problem: Debugging NFA regexp my crash, cached indent may be wrong.
24734Solution: Fix some debug warnings in the NFA regexp code. Make sure log_fd
24735 is set when used. Fix breakindent and indent caching. (Christian
24736 Brabandt, closes #9482)
24737Files: src/indent.c, src/optionstr.c, src/regexp_nfa.c
24738
24739Patch 8.2.4030
24740Problem: A script local funcref is not found from a mapping.
24741Solution: When looking for a function, also find a script-local funcref.
24742 (closes #9485)
24743Files: src/evalvars.c, src/proto/evalvars.pro, src/userfunc.c,
24744 src/testdir/test_vim9_script.vim
24745
24746Patch 8.2.4031
24747Problem: Crash in xterm with only two lines. (Dominique Pellé)
24748Solution: Only perform xterm compatibility test if possible. (closes #9488)
24749Files: src/term.c, src/testdir/test_startup.vim
24750
24751Patch 8.2.4032
24752Problem: ATTRIBUTE_NORETURN is not needed.
24753Solution: Use NORETURN(). (Ozaki Kiichi, closes #9487)
24754Files: src/if_ruby.c, src/vim.h
24755
24756Patch 8.2.4033
24757Problem: Running filetype tests leaves directory behind.
24758Solution: Delete the top directory. (closes #9483)
24759Files: src/testdir/test_filetype.vim
24760
24761Patch 8.2.4034
24762Problem: Coverity warns for possibly using a NULL pointer.
24763Solution: Check v_partial is not NULL.
24764Files: src/vim9type.c
24765
24766Patch 8.2.4035
24767Problem: Timer triggered at the debug prompt may cause trouble.
24768Solution: Do not trigger any timer at the debug prompt. (closes #9481)
24769Files: src/time.c
24770
24771Patch 8.2.4036
24772Problem: Vim9: script test file is getting too long.
24773Solution: Split the import/export functionality to a separate file.
Bram Moolenaar47c532e2022-03-19 15:18:53 +000024774Files: src/testdir/test_vim9_script.vim, src/testdir/test_vim9_import.vim,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024775 src/testdir/Make_all.mak
24776
24777Patch 8.2.4037
24778Problem: Insert mode completion is insufficiently tested.
24779Solution: Add more tests. Fix uncovered memory leak. (Yegappan Lakshmanan,
24780 closes #9489)
24781Files: src/insexpand.c, src/testdir/test_ins_complete.vim
24782
24783Patch 8.2.4038
24784Problem: Various code not used when features are disabled.
24785Solution: Add #ifdefs. (Dominique Pellé, closes #9491)
24786Files: src/alloc.c, src/buffer.c, src/charset.c, src/clipboard.c,
24787 src/cmdhist.c, src/crypt.c, src/edit.c, src/eval.c,
24788 src/evalbuffer.c, src/evalfunc.c, src/ex_docmd.c, src/globals.h,
24789 src/gui_xim.c, src/hashtab.c, src/highlight.c, src/insexpand.c,
24790 src/main.c, src/mark.c, src/message.c, src/misc1.c, src/misc2.c,
24791 src/ops.c, src/option.c, src/option.h, src/optionstr.c,
24792 src/register.c, src/scriptfile.c, src/tag.c, src/term.c,
24793 src/typval.c, src/usercmd.c, src/userfunc.c, src/vim9script.c,
24794 src/vim9type.c
24795
24796Patch 8.2.4039
24797Problem: The xdiff library is linked in even when not used.
24798Solution: Use configure to decide whether xdiff object files are included.
24799Files: src/Makefile, src/config.mk.in, src/configure.ac,
24800 src/auto/configure, src/feature.h
24801
24802Patch 8.2.4040
24803Problem: Keeping track of allocated lines in user functions is too
24804 complicated.
24805Solution: Instead of freeing individual lines keep them all until the end.
24806Files: src/alloc.c, src/proto/alloc.pro, src/vim9compile.c,
24807 src/userfunc.c, src/proto/userfunc.pro, src/message.c,
24808 src/usercmd.c, src/viminfo.c, src/testdir/test_vim9_func.vim
24809
24810Patch 8.2.4041
Bram Moolenaar1588bc82022-03-08 21:35:07 +000024811Problem: Using uninitialized pointer.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024812Solution: Store "ht" when variable is in another script.
24813Files: src/evalvars.c
24814
24815Patch 8.2.4042
24816Problem: Vim9: build error.
24817Solution: Use grow array instead of character pointer.
24818Files: src/vim9execute.c
24819
24820Patch 8.2.4043
24821Problem: Using int for second argument of ga_init2().
Bram Moolenaar1588bc82022-03-08 21:35:07 +000024822Solution: Remove unnecessary type cast (int) when using sizeof().
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024823Files: src/arglist.c, src/channel.c, src/cmdexpand.c, src/dict.c,
24824 src/digraph.c, src/eval.c, src/evalfunc.c, src/evalvars.c,
24825 src/evalwindow.c, src/ex_docmd.c, src/fileio.c, src/filepath.c,
24826 src/findfile.c, src/fold.c, src/hardcopy.c, src/help.c,
24827 src/job.c, src/list.c, src/menu.c, src/os_win32.c, src/register.c,
24828 src/scriptfile.c, src/spellfile.c, src/spellsuggest.c,
24829 src/strings.c, src/syntax.c, src/tag.c, src/terminal.c,
24830 src/undo.c, src/usercmd.c, src/userfunc.c, src/vim9execute.c,
24831 src/viminfo.c, src/window.c, src/if_py_both.h
24832
24833Patch 8.2.4044
24834Problem: Vim9: no error when importing the same script twice.
24835Solution: Give an error, unless it is a reload.
24836Files: src/vim9script.c, src/errors.h, src/testdir/test_vim9_import.vim
24837
24838Patch 8.2.4045
24839Problem: Some global functions are only used in one file.
24840Solution: Make the functions static. (Yegappan Lakshmanan, closes #9492)
24841Files: src/ex_getln.c, src/highlight.c, src/proto/ex_getln.pro,
24842 src/proto/highlight.pro, src/proto/vim9compile.pro,
24843 src/proto/vim9instr.pro, src/proto/window.pro, src/vim9compile.c,
24844 src/vim9instr.c, src/window.c
24845
24846Patch 8.2.4046
24847Problem: Some error messages not in the right place.
24848Solution: Adjust the errors file. Fix typo.
24849Files: src/errors.h, src/regexp_bt.c, src/typval.c,
24850
24851Patch 8.2.4047
24852Problem: Depending on the build features error messages are unused.
24853Solution: Add #ifdefs. (Dominique Pellé, closes #9493)
24854Files: src/errors.h
24855
24856Patch 8.2.4048
24857Problem: gcc complains about use of "%p" in printf.
24858Solution: Add (void *) typecast. (Dominique Pellé, closes #9494)
24859Files: src/if_py_both.h
24860
24861Patch 8.2.4049
24862Problem: Vim9: reading before the start of the line with "$" by itself.
24863Solution: Do not subtract one when reporting the error.
24864Files: src/vim9expr.c, src/testdir/test_vim9_expr.vim
24865
24866Patch 8.2.4050
24867Problem: Vim9: need to prefix every item in an autoload script.
24868Solution: First step in supporting "vim9script autoload" and "import
24869 autoload".
24870Files: runtime/doc/repeat.txt, runtime/doc/vim9.txt, src/structs.h,
24871 src/errors.h, src/vim9script.c, src/scriptfile.c,
24872 src/proto/scriptfile.pro, src/userfunc.c, src/eval.c,
24873 src/evalvars.c, src/vim9compile.c, src/proto/vim9compile.pro,
24874 src/vim9expr.c, src/testdir/test_vim9_script.vim
24875
24876Patch 8.2.4051
24877Problem: Compiler complains about possibly uninitialized variable.
24878Solution: Add code to avoid a compiler warning. (John Marriott)
24879Files: src/scriptfile.c
24880
24881Patch 8.2.4052
24882Problem: Not easy to resize a window from a plugin.
24883Solution: Add win_move_separator() and win_move_statusline() functions.
24884 (Daniel Steinberg, closes #9486)
24885Files: runtime/doc/builtin.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
24886 src/evalwindow.c, src/proto/evalwindow.pro,
24887 src/testdir/test_window_cmd.vim
24888
24889Patch 8.2.4053
24890Problem: Vim9: autoload mechanism doesn't fully work yet.
24891Solution: Define functions and variables with their autoload name, add the
24892 prefix when calling a function, find the variable in the table of
24893 script variables.
24894Files: src/structs.h, src/scriptfile.c, src/proto/scriptfile.pro,
24895 src/vim9script.c, src/proto/vim9script.pro, src/userfunc.c,
24896 src/evalvars.c, src/testdir/test_vim9_script.vim
24897
24898Patch 8.2.4054 (after 8.2.4053)
24899Problem: Vim9 script test fails.
24900Solution: Add missing change.
24901Files: src/vim9compile.c
24902
24903Patch 8.2.4055
24904Problem: Vim9: line break in expression causes v:errmsg to be filled.
24905 (Yegappan Lakshmanan)
24906Solution: Do not give an error when skipping over an expression.
24907Files: src/userfunc.c, src/testdir/test_vim9_expr.vim
24908
24909Patch 8.2.4056
24910Problem: Vim9: memory leak when exporting function in autoload script.
24911Solution: Free the name if replacing it.
24912Files: src/scriptfile.c
24913
24914Patch 8.2.4057
24915Problem: Vim9: not fully implementing the autoload mechanism.
24916Solution: Allow for exporting a legacy function. Improve test coverage.
24917Files: src/vim9script.c, src/testdir/test_vim9_import.vim,
24918 src/testdir/test_vim9_script.vim
24919
24920Patch 8.2.4058
24921Problem: Vim9: import test failure in wrong line.
24922Solution: Adjust line number.
24923Files: src/testdir/test_vim9_import.vim
24924
24925Patch 8.2.4059
24926Problem: Vim9: an expression of a map cannot access script-local items.
24927 (Maxim Kim)
24928Solution: Use the script ID of where the map was defined.
24929Files: src/getchar.c, src/map.c, src/proto/map.pro,
24930 src/testdir/test_vim9_import.vim
24931
24932Patch 8.2.4060
24933Problem: win_execute() is slow on systems where getcwd() or chdir() is
24934 slow. (Rick Howe)
24935Solution: Avoid using getcwd() and chdir() if no local directory is used and
24936 'acd' is not set. (closes #9504)
24937Files: src/evalwindow.c
24938
24939Patch 8.2.4061
24940Problem: Codecov bash script is deprecated.
24941Solution: Use the codecov action. (Ozaki Kiichi, closes #9505)
24942Files: .github/workflows/ci.yml
24943
24944Patch 8.2.4062
24945Problem: Match highlighting of tab too short.
24946Solution: Do not stop match highlighting if on a Tab. (Christian Brabandt,
24947 closes #9507, closes #9500)
24948Files: src/drawline.c, src/testdir/test_match.vim,
24949 src/testdir/dumps/Test_match_tab_linebreak.dump
24950
24951Patch 8.2.4063
24952Problem: Vim9: exported function in autoload script not found. (Yegappan
24953 Lakshmanan)
24954Solution: Use the autoload prefix to search for the function.
24955Files: src/userfunc.c, src/testdir/test_vim9_import.vim
24956
24957Patch 8.2.4064
24958Problem: Foam files are not detected.
24959Solution: Detect the foam filetype by the path and file contents. (Mohammed
24960 Elwardi Fadeli, closes #9501)
24961Files: runtime/filetype.vim, runtime/autoload/dist/ft.vim,
24962 src/testdir/test_filetype.vim
24963
24964Patch 8.2.4065
24965Problem: Computation overflow with large count for :yank.
24966Solution: Avoid an overflow.
24967Files: src/ex_docmd.c, src/testdir/test_excmd.vim
24968
24969Patch 8.2.4066
24970Problem: Vim9: imported autoload script loaded again.
24971Solution: Do not create a new imported_T every time.
24972Files: src/vim9script.c, src/vim9compile.c,
24973 src/testdir/test_vim9_import.vim
24974
24975Patch 8.2.4067
24976Problem: Vim9: cannot call imported function with :call. (Drew Vogel)
24977Solution: Translate the function name. (closes #9510)
24978Files: src/userfunc.c, src/testdir/test_vim9_import.vim
24979
24980Patch 8.2.4068 (after 8.2.4066)
24981Problem: Vim9: import test fails.
24982Solution: Add missing change.
24983Files: src/scriptfile.c
24984
24985Patch 8.2.4069
24986Problem: Vim9: import test fails on MS-Windows.
24987Solution: Ignore case. Adjust test to avoid name that only differs in case.
24988Files: src/eval.c, src/scriptfile.c, src/testdir/test_vim9_import.vim
24989
24990Patch 8.2.4070
24991Problem: Using uninitialized memory when reading empty file.
24992Solution: Check for empty file before checking for NL. (Dominique Pellé,
24993 closes #9511)
24994Files: src/filepath.c, src/testdir/test_eval_stuff.vim
24995
24996Patch 8.2.4071
24997Problem: Vim9: no detection of return in try/endtry. (Dominique Pellé)
24998Solution: Check if any of the blocks inside try/endtry did not end in
24999 return.
25000Files: src/vim9.h, src/vim9compile.c, src/vim9cmds.c,
25001 src/testdir/test_vim9_script.vim
25002
25003Patch 8.2.4072
25004Problem: Vim9: compiling function fails when autoload script is not loaded
25005 yet.
25006Solution: Depend on runtime loading.
25007Files: src/vim9expr.c, src/vim9script.c, src/vim9instr.c,
25008 src/vim9execute.c, src/testdir/test_vim9_import.vim
25009
25010Patch 8.2.4073
25011Problem: Coverity warns for using NULL pointer.
25012Solution: Bail out when running out of memory. Check for running over end of
25013 a string.
25014Files: src/userfunc.c,
25015
25016Patch 8.2.4074
25017Problem: Going over the end of NameBuff.
25018Solution: Check length when appending a space.
25019Files: src/drawscreen.c, src/testdir/test_edit.vim
25020
25021Patch 8.2.4075 (after 8.2.4073)
25022Problem: Test failures.
25023Solution: Change check for NULL pointer.
25024Files: src/userfunc.c
25025
25026Patch 8.2.4076
25027Problem: Memory leak in autoload import.
25028Solution: Do not overwrite the autoload prefix.
25029Files: src/vim9script.c
25030
25031Patch 8.2.4077
25032Problem: Not all Libsensors files are recognized.
25033Solution: Add "sensors.d/*" pattern. (Doug Kearns)
25034Files: runtime/filetype.vim, src/testdir/test_filetype.vim
25035
25036Patch 8.2.4078
25037Problem: Terminal test for current directory not used on FreeBSD.
25038Solution: Make it work on FreeBSD. (Ozaki Kiichi, closes #9516) Add
25039 TermWait() inside Run_shell_in_terminal() as a generic solution.
25040Files: src/testdir/test_terminal3.vim, src/testdir/term_util.vim,
25041 src/testdir/test_terminal.vim, src/testdir/test_terminal2.vim,
25042 src/testdir/test_mapping.vim
25043
25044Patch 8.2.4079
25045Problem: MS-Windows: "gvim --version" didn't work when build with VIMDLL.
25046Solution: Adjust #ifdef. (Ken Takata, closes #9517)
25047Files: src/main.c
25048
25049Patch 8.2.4080
25050Problem: Not sufficient test coverage for xxd.
25051Solution: Add a few more test cases. (Erki Auerswald, closes #9515)
25052Files: src/testdir/test_xxd.vim
25053
25054Patch 8.2.4081
25055Problem: CodeQL reports problem in if_cscope causing it to fail.
25056Solution: Use execvp() instead of execl(). Merge the header file into the
25057 source file. (Ozaki Kiichi, closes #9519)
25058Files: Filelist, src/Make_cyg_ming.mak, src/Make_mvc.mak,
25059 src/Make_vms.mms, src/Makefile, src/if_cscope.c, src/if_cscope.h,
25060 src/testdir/test_cscope.vim
25061
25062Patch 8.2.4082
25063Problem: Check for autoload file name and prefix fails. (Christian J.
25064 Robinson)
25065Solution: Only lower case the prefix on systems where the file name is not
25066 case sensitive.
25067Files: src/scriptfile.c, src/testdir/test_vim9_import.vim
25068
25069Patch 8.2.4083
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025070Problem: Vim9: no test for "vim9script autoload" and using script variable
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025071 in the same script.
25072Solution: Add a simple test. Fix uncovered problem.
25073Files: src/evalvars.c, src/testdir/test_vim9_import.vim
25074
25075Patch 8.2.4084
25076Problem: Memory leak when looking for autoload prefixed variable.
25077Solution: Free the concatenated string.
25078Files: src/evalvars.c
25079
25080Patch 8.2.4085
25081Problem: Vim9: no test for using import in legacy script.
25082Solution: Add a test.
25083Files: src/testdir/test_vim9_import.vim
25084
25085Patch 8.2.4086
25086Problem: "cctx" argument of find_func_even_dead() is unused.
25087Solution: Remove the argument.
25088Files: src/userfunc.c, src/proto/userfunc.pro, src/vim9compile.c,
25089 src/vim9instr.c, src/evalfunc.c, src/evalvars.c, src/testing.c,
25090 src/vim9execute.c, src/vim9expr.c, src/vim9script.c,
25091 src/vim9type.c
25092
25093Patch 8.2.4087
25094Problem: Cannot test items from an autoload script easily.
25095Solution: Add the "autoload" value for test_override().
25096Files: runtime/doc/testing.txt, src/testing.c, src/globals.h,
25097 src/vim9script.c, src/testdir/test_vim9_import.vim
25098
25099Patch 8.2.4088
25100Problem: Xxd cannot output everything in one line.
25101Solution: Make zero columns mean infinite columns. (Erik Auerswald,
25102 closes #9524)
25103Files: runtime/doc/xxd.1, runtime/doc/xxd.man, src/testdir/test_xxd.vim,
25104 src/xxd/xxd.c
25105
25106Patch 8.2.4089 (after 8.2.4078)
25107Problem: Terminal test for current directory fails on FreeBSD.
25108Solution: Skip the test.
25109Files: src/testdir/test_terminal3.vim
25110
25111Patch 8.2.4090
25112Problem: After restoring a session buffer order can be quite different.
25113Solution: Create buffers first. (Evgeni Chasnovski, closes #9520)
25114Files: src/session.c, src/testdir/test_mksession.vim
25115
25116Patch 8.2.4091
25117Problem: Virtcol is recomputed for statusline unnecessarily.
25118Solution: Just use "w_virtcol". (closes #9523)
25119Files: src/buffer.c, src/testdir/test_statusline.vim
25120
25121Patch 8.2.4092
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025122Problem: macOS CI: unnecessarily doing "Install packages".
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025123Solution: Only do "Install packages" for huge build. (Ozaki Kiichi,
25124 closes #9521)
25125Files: .github/workflows/ci.yml
25126
25127Patch 8.2.4093
25128Problem: Cached breakindent values not initialized properly.
25129Solution: Initialize and cache formatlistpat. (Christian Brabandt,
25130 closes #9526, closes #9512)
25131Files: runtime/doc/options.txt, src/indent.c, src/option.c,
25132 src/proto/option.pro, src/testdir/test_breakindent.vim
25133
25134Patch 8.2.4094
25135Problem: 'virtualedit' is window-local but using buffer-local enum.
25136Solution: Use window-local enum. (closes #9529)
25137Files: src/option.h, src/optiondefs.h
25138
25139Patch 8.2.4095
25140Problem: Sed script not recognized by the first line.
25141Solution: Recognize a sed script starting with "#n". (Doug Kearns)
25142Files: runtime/scripts.vim, src/testdir/test_filetype.vim
25143
25144Patch 8.2.4096
25145Problem: Linux CI: unnecessarily installing packages
25146Solution: Only install packages for huge build. (Ozaki Kiichi,
25147 closes #9530)
25148Files: .github/workflows/ci.yml
25149
25150Patch 8.2.4097
25151Problem: Wrong number in error message on 32 bit system. (John Paul Adrian
25152 Glaubitz)
25153Solution: Add type cast. (closes #9527)
25154Files: src/vim9compile.c
25155
25156Patch 8.2.4098
25157Problem: Typing "interrupt" at debug prompt may keep exception around,
25158 causing function calls to fail.
25159Solution: Discard any exception at the toplevel. (closes #9532)
25160Files: src/main.c
25161
25162Patch 8.2.4099
25163Problem: Vim9: cannot use Vim9 syntax in mapping.
25164Solution: Add <ScriptCmd> to use the script context for a command.
25165Files: runtime/doc/map.txt, src/normal.c, src/getchar.c,
25166 src/proto/getchar.pro, src/ex_getln.c, src/edit.c, src/terminal.c,
25167 src/keymap.h, src/insexpand.c, src/misc2.c, src/ops.c,
25168 src/testdir/test_vim9_import.vim
25169
25170Patch 8.2.4100
25171Problem: Early return when getting the 'formatlistpat' value.
25172Solution: Remove the first line. (Christian Brabandt)
25173Files: src/option.c, src/testdir/test_breakindent.vim
25174
25175Patch 8.2.4101
25176Problem: Warning for unused argument in tiny version.
25177Solution: Add "UNUSED".
25178Files: src/getchar.c
25179
25180Patch 8.2.4102
25181Problem: Vim9: import cannot be used after method.
25182Solution: Recognize an imported function name. (closes #9496)
25183Files: src/eval.c, src/testdir/test_vim9_import.vim
25184
25185Patch 8.2.4103
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025186Problem: Vim9: variable declared in for loop not initialized.
25187Solution: Always initialize the variable. (closes #9535)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025188Files: src/vim9instr.c, src/proto/vim9instr.pro, src/vim9compile.c,
25189 src/testdir/test_vim9_assign.vim
25190
25191Patch 8.2.4104
25192Problem: Vim9: lower casing the autoload prefix causes problems.
25193Solution: Always store the prefix with case preserved.
25194Files: src/scriptfile.c, src/testdir/test_vim9_import.vim
25195
25196Patch 8.2.4105
25197Problem: Translation related comment in the wrong place.
25198Solution: Move it back with the text. (Ken Takata, closes #9537)
25199Files: src/errors.h, src/ex_docmd.c
25200
25201Patch 8.2.4106
25202Problem: Going over the end of the w_lines array.
25203Solution: Break out of the loop when "idx" is too big. (issue #9540)
25204Files: src/drawscreen.c
25205
25206Patch 8.2.4107
25207Problem: Script context not restored after using <ScriptCmd>.
25208Solution: Also restore context when not in a script. (closes #9536)
25209 Add the 'c' flag to feedkeys() to be able to test this.
25210Files: runtime/doc/builtin.txt, src/getchar.c, src/evalfunc.c,
25211 src/testdir/test_mapping.vim
25212
25213Patch 8.2.4108
25214Problem: Going over the end of the w_lines array.
25215Solution: Check not going over the end and limit to Rows. (issue #9540)
25216Files: src/drawscreen.c
25217
25218Patch 8.2.4109
25219Problem: MS-Windows: high dpi support is outdated.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025220Solution: Improve High DPI support by using PerMonitorV2. (Ken Takata
25221 closes #9525, closes #3102)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025222Files: src/gui.c, src/gui.h, src/gui_w32.c, src/vim.manifest
25223
25224Patch 8.2.4110
25225Problem: Coverity warns for using NULL pointer.
25226Solution: Check "evalarg" is not NULL. Skip errors when "verbose" is false.
25227Files: src/eval.c
25228
25229Patch 8.2.4111
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025230Problem: Potential problem when map is deleted while executing.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025231Solution: Reset last used map pointer when deleting a mapping.
25232Files: src/map.c
25233
25234Patch 8.2.4112
25235Problem: Function not deleted at end of test.
25236Solution: Delete the function.
25237Files: src/testdir/test_diffmode.vim
25238
25239Patch 8.2.4113
25240Problem: Typo on DOCMD_RANGEOK results in not recognizing command.
25241Solution: Correct the typo. (closes #9539)
25242Files: src/vim.h, src/testdir/test_mapping.vim
25243
25244Patch 8.2.4114
25245Problem: Vim9: type checking for a funcref does not work for when it is
25246 used in a method.
25247Solution: Pass the base to where the type is checked.
25248Files: src/vim9type.c, src/proto/vim9type.pro, src/userfunc.c,
25249 src/testdir/test_vim9_expr.vim
25250
25251Patch 8.2.4115
25252Problem: Cannot use a method with a complex expression.
25253Solution: Evaluate the expression after "->" and use the result.
25254Files: src/eval.c, src/errors.h, src/testdir/test_vim9_expr.vim
25255
25256Patch 8.2.4116
25257Problem: Vim9: cannot use a method with a complex expression in a :def
25258 function.
25259Solution: Implement compiling the expression.
25260Files: src/vim9expr.c, src/testdir/test_vim9_expr.vim
25261
25262Patch 8.2.4117
25263Problem: Vim9: wrong white space error after using imported item.
25264Solution: Don't skip over white space. (closes #9544)
25265Files: src/eval.c, src/testdir/test_vim9_import.vim
25266
25267Patch 8.2.4118
25268Problem: Using UNUSED for argument that is used.
25269Solution: Remove UNUSED.
25270Files: src/usercmd.c
25271
25272Patch 8.2.4119
25273Problem: Build failure when disabling the channel feature.
25274Solution: Adjust #ifdef. (Dominique Pellé, closes #9545)
25275Files: src/misc2.c
25276
25277Patch 8.2.4120
25278Problem: Block insert goes over the end of the line.
25279Solution: Handle invalid byte better. Fix inserting the wrong text.
25280Files: src/ops.c, src/testdir/test_visual.vim
25281
25282Patch 8.2.4121
25283Problem: Visual test fails on MS-Windows.
25284Solution: Set 'isprint' so that the character used is not printable.
25285Files: src/testdir/test_visual.vim
25286
25287Patch 8.2.4122
25288Problem: ":command Cmd" does not show custom completion argument.
25289Solution: Show the completion argument when using ":verbose".
25290Files: src/usercmd.c, src/testdir/test_usercommands.vim
25291
25292Patch 8.2.4123
25293Problem: Complete function cannot be import.Name.
25294Solution: Dereference the function name if needed. Also: do not see
25295 "import.Name" as a builtin function. (closes #9541)
25296Files: src/userfunc.c, src/eval.c, src/testdir/test_vim9_import.vim
25297
25298Patch 8.2.4124
25299Problem: Vim9: method in compiled function may not see script item.
25300Solution: Make sure not to skip to the next line. (closes #9496)
25301Files: src/vim9expr.c, src/testdir/test_vim9_expr.vim
25302
25303Patch 8.2.4125
25304Problem: Completion tests fail.
25305Solution: Disable error messages while dereferencing the function name.
25306Files: src/eval.c
25307
25308Patch 8.2.4126
25309Problem: Crash on exit when built with dynamic Tcl and EXITFREE is defined.
25310 (Dominique Pellé)
25311Solution: Only call Tcl_Finalize() when initialized. (closes #9546)
25312Files: src/if_tcl.c
25313
25314Patch 8.2.4127
25315Problem: Build failure without the +eval feature.
25316Solution: Add #ifdef.
25317Files: src/usercmd.c
25318
25319Patch 8.2.4128
25320Problem: Crash when method cannot be found. (Christian J. Robinson)
25321Solution: Don't mix up pointer names.
25322Files: src/eval.c, src/testdir/test_vim9_expr.vim
25323
25324Patch 8.2.4129
25325Problem: Building with +sound but without +eval fails. (Dominique Pellé)
25326Solution: Disable canberra in tiny and small build. (closes #9548)
25327Files: src/configure.ac, src/auto/configure
25328
25329Patch 8.2.4130
25330Problem: MS-Windows: MSVC build may have libraries duplicated.
25331Solution: Improve the MSVC Makefile. (Ken Takata, closes #9547)
25332Files: src/Make_mvc.mak
25333
25334Patch 8.2.4131
25335Problem: Vim9: calling function in autoload import does not work in a :def
25336 function.
25337Solution: When a variable is not found and a PCALL follows use a funcref.
25338 (closes #9550)
25339Files: src/vim9execute.c, src/testdir/test_vim9_import.vim
25340
25341Patch 8.2.4132
25342Problem: Vim9: wrong error message when autoload script can't be found.
25343Solution: Correct check for using autoload with wrong name.
25344Files: src/vim9script.c, src/testdir/test_vim9_import.vim
25345
25346Patch 8.2.4133
25347Problem: output of ":scriptnames" goes into the message history, while this
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025348 does not happen for other commands, such as ":ls".
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025349Solution: Use msg_outtrans() instead of smsg(). (closes #9551)
25350Files: src/scriptfile.c, src/testdir/test_scriptnames.vim
25351
25352Patch 8.2.4134
25353Problem: MS-Windows: test for import with absolute path fails.
25354Solution: Handle path starting with slash as an absolute path.
25355Files: src/vim9script.c
25356
25357Patch 8.2.4135
25358Problem: Vim9: ":scriptnames" shows unloaded imported autoload script.
25359Solution: Mark the unloaded script with "A". (closes #9552)
25360Files: runtime/doc/repeat.txt, src/scriptfile.c,
25361 src/testdir/test_vim9_import.vim
25362
25363Patch 8.2.4136
25364Problem: Vim9: the "autoload" argument of ":vim9script" is not useful.
25365Solution: Remove the argument. (closes #9555)
25366Files: runtime/doc/vim9.txt, runtime/doc/repeat.txt, src/vim9script.c,
25367 src/errors.h, src/testdir/test_vim9_import.vim
25368
25369Patch 8.2.4137
25370Problem: Vim9: calling import with and without method is inconsistent.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025371Solution: Set a flag that a parenthesis follows to compile_load_scriptvar().
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025372 Add some more tests. Improve error message.
25373Files: src/vim9expr.c, src/vim9execute.c, src/vim9script.c,
25374 src/testdir/test_vim9_import.vim
25375
25376Patch 8.2.4138
25377Problem: Vim9: no error for return with argument when the function does not
25378 return anything.
25379Solution: Give an error for the invalid argument. (issue #9497)
25380Files: src/vim9cmds.c, src/testdir/test_vim9_func.vim
25381
25382Patch 8.2.4139
25383Problem: Using freed memory if an expression abbreviation deletes the
25384 abbreviation.
25385Solution: Do not access the pointer after evaluating the expression.
25386Files: src/map.c, src/testdir/test_mapping.vim
25387
25388Patch 8.2.4140
25389Problem: maparg() does not indicate the type of script where it was defined.
25390Solution: Add "scriptversion".
25391Files: runtime/doc/builtin.txt, src/map.c, src/testdir/test_maparg.vim
25392
25393Patch 8.2.4141 (after 8.2.4140)
25394Problem: Vim9 builtin functions test fails.
25395Solution: Add "scriptversion" item to maparg() result.
25396Files: src/testdir/test_vim9_builtin.vim
25397
25398Patch 8.2.4142
25399Problem: Build failure with normal features without persistent undo.
25400Solution: Adjust #ifdef. (closes #9557)
25401Files: src/fileio.c
25402
25403Patch 8.2.4143
25404Problem: MS-Windows: IME support for Win9x is obsolete.
25405Solution: Remove the Win9x code. (Ken Takata, closes #9559)
25406Files: src/gui_w32.c
25407
25408Patch 8.2.4144
25409Problem: Cannot load libsodium dynamically.
25410Solution: Support dynamic loading on MS-Windows. (Ken Takata, closes #9554)
25411Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/buffer.c,
25412 src/crypt.c, src/memline.c, src/proto/crypt.pro
25413
25414Patch 8.2.4145
25415Problem: Confusing error when using name of import for a function.
25416Solution: Pass a flag to trans_function_name().
25417Files: src/vim.h, src/userfunc.c, src/proto/userfunc.pro, src/eval.c,
25418 src/testdir/test_vim9_import.vim
25419
25420Patch 8.2.4146
25421Problem: Vim9: shadowed function can be used in compiled function but not
25422 at script level.
25423Solution: Also give an error in a compiled function. (closes #9563)
25424Files: src/vim9expr.c
25425
25426Patch 8.2.4147
25427Problem: E464 does not always include the offending command.
25428Solution: Add another error message with "%s". (closes #9564)
25429Files: src/errors.h, src/vim9compile.c, src/ex_docmd.c,
25430 src/testdir/test_vim9_script.vim
25431
25432Patch 8.2.4148
25433Problem: Deleting any mapping may cause <ScriptCmd> to not set the script
25434 context.
25435Solution: Only reset last_used_map if it is the deleted mapping.
25436 (closes #9568)
25437Files: src/map.c, src/getchar.c, src/proto/getchar.pro,
25438 src/testdir/test_mapping.vim
25439
25440Patch 8.2.4149
25441Problem: Test override not restored, autocommand left behind.
25442Solution: Correct restoring test override. Delete autocommand afterwards.
25443Files: src/testdir/test_autocmd.vim, src/testdir/test_mapping.vim
25444
25445Patch 8.2.4150
25446Problem: Coverity warns for using pointer after free.
25447Solution: Swap statements, even though using the pointer is no problem.
25448Files: src/map.c
25449
25450Patch 8.2.4151
25451Problem: Reading beyond the end of a line.
25452Solution: For block insert only use the offset for correcting the length.
25453Files: src/ops.c, src/testdir/test_visual.vim
25454
25455Patch 8.2.4152
25456Problem: Block insert with double wide character fails.
25457Solution: Adjust the expected output.
25458Files: src/testdir/test_utf8.vim
25459
25460Patch 8.2.4153
25461Problem: MS-Windows: Global IME is no longer supported.
25462Solution: Remove the Global IME implementation. (Ken Takata, closes #9562)
25463Files: Filelist, runtime/doc/mbyte.txt, src/Make_mvc.mak, src/dimm.idl,
25464 src/glbl_ime.cpp, src/glbl_ime.h, src/gui_w32.c, src/vim.h
25465
25466Patch 8.2.4154
25467Problem: ml_get error when exchanging windows in Visual mode.
25468Solution: Correct end of Visual area when entering another buffer.
25469Files: src/window.c, src/testdir/test_visual.vim
25470
25471Patch 8.2.4155
25472Problem: Translating strftime() argument results in check error.
25473Solution: Add gettext comment.
25474Files: src/time.c
25475
25476Patch 8.2.4156
25477Problem: Fileinfo message overwrites echo'ed message.
25478Solution: Reset need_fileinfo when displaying a message. (Rob Pilling,
25479 closes #9569)
25480Files: src/message.c, src/testdir/test_messages.vim,
25481 src/testdir/dumps/Test_fileinfo_after_echo.dump
25482
25483Patch 8.2.4157
25484Problem: Terminal test fails because Windows sets the title.
25485Solution: Add the "vterm_title" testing override and use it in the test.
25486 (Ozaki Kiichi, closes #9556)
25487Files: runtime/doc/testing.txt, src/globals.h, src/terminal.c,
25488 src/testing.c, src/testdir/test_terminal.vim
25489
25490Patch 8.2.4158
25491Problem: MS-Windows: memory leak in :browse.
25492Solution: Free stuff before returning. (Ken Takata, closes #9574)
25493Files: src/gui_w32.c
25494
25495Patch 8.2.4159
25496Problem: MS-Windows: _WndProc() is very long.
25497Solution: Move code to separate functions. (Ken Takata, closes #9573)
25498Files: src/gui_w32.c
25499
25500Patch 8.2.4160
25501Problem: Cannot change the register used for Select mode delete.
25502Solution: Make CTRL-R set the register to be used when deleting text for
25503 Select mode. (Shougo Matsushita, closes #9531)
25504Files: runtime/doc/visual.txt, src/globals.h, src/normal.c, src/ops.c,
25505 src/testdir/test_selectmode.vim
25506
25507Patch 8.2.4161
25508Problem: Vim9: warning for missing white space after imported variable.
25509Solution: Do not skip white space. (closes #9567)
25510Files: src/vim9expr.c, src/testdir/test_vim9_import.vim
25511
25512Patch 8.2.4162
25513Problem: Vim9: no error for redefining function with export.
25514Solution: Check for existing function with/without prefix. (closes #9577)
25515Files: src/userfunc.c, src/scriptfile.c, src/testdir/test_vim9_import.vim
25516
25517Patch 8.2.4163
25518Problem: No error for omitting function name after autoload prefix.
25519Solution: Check for missing function name. (issue #9577)
25520Files: src/userfunc.c, src/testdir/test_vim9_import.vim
25521
25522Patch 8.2.4164 (after 8.2.4162)
25523Problem: Error in legacy code for function shadowing variable.
25524Solution: Only give the error in Vim9 script.
25525Files: src/userfunc.c
25526
25527Patch 8.2.4165
25528Problem: The nv_g_cmd() function is too long.
25529Solution: Move code to separate functions. (Yegappan Lakshmanan,
25530 closes #9576)
25531Files: src/normal.c
25532
25533Patch 8.2.4166
25534Problem: Undo synced when switching buffer in another window.
25535Solution: Do not sync undo when not needed. (closes #9575)
25536Files: src/buffer.c, src/testdir/test_timers.vim
25537
25538Patch 8.2.4167
25539Problem: Vim9: error message for old style import.
25540Solution: Use another error message. Add a test.
25541Files: src/evalvars.c, src/errors.h, src/testdir/test_vim9_import.vim
25542
25543Patch 8.2.4168 (after 8.2.4163)
25544Problem: Disallowing empty function name breaks existing plugins.
25545Solution: Allow empty function name in legacy script.
25546Files: src/userfunc.c, src/testdir/test_autoload.vim,
25547 src/testdir/sautest/autoload/foo.vim
25548
25549Patch 8.2.4169
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025550Problem: MS-Windows: unnecessary casts and other minor things.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025551Solution: Clean up the MS-Windows code. (Ken Takata, closes #9583)
25552Files: src/gui_w32.c
25553
25554Patch 8.2.4170
25555Problem: MS-Windows: still using old message API calls.
25556Solution: Call the "W" functions directly. (Ken Takata, closes #9582)
25557Files: src/gui_w32.c, src/os_mswin.c, src/os_win32.c, src/os_win32.h
25558
25559Patch 8.2.4171
25560Problem: Cannot invoke option function using autoload import.
25561Solution: Expand the import to an autoload function name. (closes #9578)
25562Files: src/userfunc.c, src/evalvars.c, src/proto/evalvars.pro,
25563 src/option.c, src/testdir/test_vim9_import.vim
25564
25565Patch 8.2.4172
25566Problem: Filetype detection for BASIC is not optimal.
25567Solution: Improve BASIC filetype detection. (Doug Kearns)
25568Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
25569 src/testdir/test_filetype.vim
25570
25571Patch 8.2.4173
25572Problem: Cannot use an import in 'foldexpr'.
25573Solution: Set the script context to where 'foldexpr' was set. (closes #9584)
25574 Fix that the script context was not set for all buffers.
25575Files: src/eval.c, src/proto/eval.pro, src/fold.c, src/structs.h,
25576 src/option.c, src/testdir/test_vim9_import.vim
25577
25578Patch 8.2.4174
25579Problem: Vim9: can use an autoload name in normal script.
25580Solution: Disallow using an autoload name.
25581Files: src/userfunc.c, src/errors.h, src/testdir/test_vim9_import.vim
25582
25583Patch 8.2.4175
25584Problem: MS-Windows: runtime check for multi-line balloon is obsolete.
25585Solution: Remove the obsolete code. (Ken Takata, closes #9592)
25586Files: src/evalfunc.c, src/gui_w32.c, src/proto/gui_w32.pro
25587
25588Patch 8.2.4176
25589Problem: Vim9: cannot use imported function with call().
25590Solution: Translate the function name. (closes #9590)
25591Files: src/evalfunc.c, src/testdir/test_vim9_import.vim
25592
25593Patch 8.2.4177
25594Problem: Vim9: autoload script not loaded after "vim9script noclear".
25595Solution: Check IMP_FLAGS_AUTOLOAD properly. (closes #9593)
25596Files: src/vim9compile.c, src/testdir/test_vim9_import.vim
25597
25598Patch 8.2.4178
25599Problem: Vim9: invalid error for return type of lambda when debugging.
25600Solution: Do not check the return type of a lambda. (closes #9589)
25601Files: src/vim9cmds.c
25602
25603Patch 8.2.4179
25604Problem: 'foldtext' is evaluated in the current script context.
25605Solution: Use the script context where the option was set.
25606Files: src/fold.c, src/buffer.c, src/eval.c, src/proto/eval.pro,
25607 src/findfile.c, src/testdir/test_vim9_import.vim
25608
25609Patch 8.2.4180
25610Problem: 'balloonexpr' is evaluated in the current script context.
25611Solution: Use the script context where the option was set.
25612Files: src/beval.c, src/option.c, src/proto/option.pro,
25613 src/testdir/test_balloon.vim,
25614 src/testdir/dumps/Test_balloon_eval_term_01.dump,
25615 src/testdir/dumps/Test_balloon_eval_term_01a.dump,
25616 src/testdir/dumps/Test_balloon_eval_term_02.dump
25617
25618Patch 8.2.4181
25619Problem: Vim9: cannot use an import in 'diffexpr'.
25620Solution: Set the script context when evaluating 'diffexpr'. Do not require
25621 'diffexpr' to return a bool, it was ignored anyway.
25622Files: src/evalvars.c, src/testdir/test_vim9_import.vim
25623
25624Patch 8.2.4182 (after 8.2.4182)
25625Problem: Memory leak when evaluating 'diffexpr'.
25626Solution: Use free_tv() instead of clear_tv().
25627Files: src/evalvars.c
25628
25629Patch 8.2.4183
25630Problem: Cannot use an import in 'formatexpr'.
25631Solution: Set the script context when evaluating 'formatexpr'.
25632Files: src/textformat.c, src/testdir/test_vim9_import.vim
25633
25634Patch 8.2.4184
25635Problem: Cannot use an import in 'includeexpr'.
25636Solution: Set the script context when evaluating 'includeexpr'
25637Files: src/findfile.c, src/testdir/test_vim9_import.vim
25638
25639Patch 8.2.4185
25640Problem: Cannot use an import in 'indentexpr'.
25641Solution: Set the script context when evaluating 'indentexpr'
25642Files: src/indent.c, src/testdir/test_vim9_import.vim
25643
25644Patch 8.2.4186
25645Problem: Cannot use an import in 'patchexpr'.
25646Solution: Set the script context when evaluating 'patchexpr'. Do not
25647 require 'patchexpr' to return a bool, it was ignored anyway.
25648Files: src/evalvars.c, src/testdir/test_vim9_import.vim
25649
25650Patch 8.2.4187
25651Problem: Gnuplot file not recognized.
25652Solution: Recognize ".gnuplot". (closes #9588)
25653Files: runtime/filetype.vim, src/testdir/test_filetype.vim
25654
25655Patch 8.2.4188
25656Problem: Not all gitconfig files are recognized.
25657Solution: Add a few more patterns. (Tim Pope, closes #9597)
25658Files: runtime/filetype.vim, src/testdir/test_filetype.vim
25659
25660Patch 8.2.4189
25661Problem: MS-Windows: code for "old look" is obsolete.
25662Solution: Delete obsolete code. Use "MS Shell Dlg" font. (Ken Takata,
25663 closes #9596)
25664Files: src/gui_w32.c
25665
25666Patch 8.2.4190
25667Problem: All conceal tests are skipped without the screendumps feature.
25668Solution: Only skip the tests that use screendumps. (closes #9599)
25669Files: src/testdir/test_conceal.vim
25670
25671Patch 8.2.4191
25672Problem: json5 files are not recognized.
25673Solution: Add a pattern for json5 files. (closes #9601)
25674Files: runtime/filetype.vim, src/testdir/test_filetype.vim
25675
25676Patch 8.2.4192
25677Problem: Cannot use an import in 'printexpr'.
25678Solution: Set the script context when evaluating 'printexpr'.
25679Files: src/evalvars.c, src/testdir/test_vim9_import.vim
25680
25681Patch 8.2.4193
25682Problem: Cannot use an import in 'charconvert'.
25683Solution: Set the script context when evaluating 'charconvert'. Also expand
25684 script-local functions in 'charconvert'.
25685Files: src/evalvars.c, src/optionstr.c, src/testdir/test_vim9_import.vim
25686
25687Patch 8.2.4194
25688Problem: MS-Windows: code for calculating font size is duplicated.
25689Solution: Move the code to a function. (Ken Takata, closes #9603)
25690Files: src/gui_w32.c
25691
25692Patch 8.2.4195
25693Problem: Resizing terminal may cause to behave like CTRL-Z.
25694Solution: Set "got_tstp" only when in_mch_suspend is set. (Dorian Bivolaru,
25695 closes #9602, closes #9586)
25696Files: src/os_unix.c
25697
25698Patch 8.2.4196
25699Problem: Various file types not recognized.
25700Solution: Add patterns to recognize more file types (closes #9607)
25701Files: runtime/filetype.vim, src/testdir/test_filetype.vim
25702
25703Patch 8.2.4197
25704Problem: Cannot use an import in the "expr" part of 'spellsuggest'.
25705Solution: Set the script context when evaluating "expr" of 'spellsuggest'.
25706Files: src/evalvars.c, src/testdir/test_vim9_import.vim
25707
25708Patch 8.2.4198
25709Problem: Vim9: the switch for executing instructions is too long.
25710Solution: Move some code to separate functions.
25711Files: src/vim9execute.c
25712
25713Patch 8.2.4199
25714Problem: MS-Windows: Support for MSVC before 2003 is not useful.
25715Solution: Remove the exceptions for MSVC 6.0. (Ken Takata, closes #9616)
25716Files: src/GvimExt/gvimext.h, src/ex_docmd.c, src/feature.h,
25717 src/gui_w32.c, src/if_cscope.c, src/if_ole.cpp, src/if_ruby.c,
25718 src/macros.h, src/os_mswin.c, src/os_win32.c, src/os_win32.h,
25719 src/proto/os_win32.pro, src/time.c, src/vim.h
25720
25721Patch 8.2.4200
25722Problem: Some tests do not clean up properly.
25723Solution: Delete created files. (Yegappan Lakshmanan, closes #9611)
25724Files: src/testdir/test_filetype.vim, src/testdir/test_messages.vim,
25725 src/testdir/test_vim9_import.vim
25726
25727Patch 8.2.4201
25728Problem: When using the GUI CTRL-Z does not stop gvim.
25729Solution: When using the GUI set SIGTSTP to SIG_DFL. (Andrew Maltsev,
25730 closes #9570)
25731Files: src/os_unix.c
25732
25733Patch 8.2.4202
25734Problem: Vim9: cannot export function that exists globally.
25735Solution: When checking if a function already exists only check for
25736 script-local functions. (closes #9615)
Bram Moolenaar47c532e2022-03-19 15:18:53 +000025737Files: src/userfunc.c, src/proto/userfunc.pro, src/vim.h,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025738 src/vim9compile.c, src/vim9instr.c,
25739 src/testdir/test_vim9_import.vim
25740
25741Patch 8.2.4203
25742Problem: Entering a character with CTRL-V may include modifiers.
25743Solution: Reset "mod_mask" when entering a character with digits after
25744 CTRL-V. (closes #9610)
25745Files: src/edit.c, src/testdir/test_edit.vim
25746
25747Patch 8.2.4204
25748Problem: screenpos() has non-zero row for invisible text.
25749Solution: Only add the window row when the text is visible. (closes #9618)
25750Files: src/move.c, src/testdir/test_cursor_func.vim
25751
25752Patch 8.2.4205
25753Problem: The normal_cmd() function is too long.
25754Solution: Move parts to separate functions. (Yegappan Lakshmanan,
25755 closes #9608)
25756Files: src/normal.c
25757
25758Patch 8.2.4206
25759Problem: Condition with many "(" causes a crash.
25760Solution: Limit recursion to 1000.
25761Files: src/errors.h, src/eval.c, src/testdir/test_eval_stuff.vim
25762
25763Patch 8.2.4207 (after 8.2.4206)
25764Problem: Recursion test fails with MSVC.
25765Solution: Use a smaller limit for MSVC.
25766Files: src/eval.c
25767
25768Patch 8.2.4208
25769Problem: Using setbufvar() may change the window title.
25770Solution: Do not redraw when creating the autocommand window. (closes #9613)
25771Files: src/autocmd.c, src/testdir/test_functions.vim
25772
25773Patch 8.2.4209
25774Problem: partial in 'opfunc' cannot use an imported function.
25775Solution: Also expand the function name in a partial. (closes #9614)
25776Files: src/evalvars.c, src/testdir/test_vim9_import.vim
25777
25778Patch 8.2.4210 (after 8.2.4208)
25779Problem: Window title test fails in some configurations.
25780Solution: Only run the test if the title can be obtained.
25781Files: src/testdir/test_functions.vim
25782
25783Patch 8.2.4211 (after 8.2.4208)
25784Problem: Window title test still fails in some configurations.
25785Solution: Use WaitForAssert().
25786Files: src/testdir/test_functions.vim
25787
25788Patch 8.2.4212 (after 8.2.4208)
25789Problem: Window title test still fails in some configurations.
25790Solution: Explicitly set the 'title' option.
25791Files: src/testdir/test_functions.vim
25792
25793Patch 8.2.4213
25794Problem: Too much code for supporting old MSVC versions.
25795Solution: Remove MSVC 2003 support. (Ken Takata, closes #9623)
25796Files: Filelist, src/INSTALLpc.txt, src/Make_mvc.mak, src/gui_w32.c,
25797 src/msvcsetup.bat, src/os_win32.c
25798
25799Patch 8.2.4214
25800Problem: Illegal memory access with large 'tabstop' in Ex mode.
25801Solution: Allocate enough memory.
25802Files: src/ex_getln.c, src/testdir/test_ex_mode.vim
25803
25804Patch 8.2.4215
25805Problem: Illegal memory access when copying lines in Visual mode.
25806Solution: Adjust the Visual position after copying lines.
25807Files: src/ex_cmds.c, src/testdir/test_visual.vim
25808
25809Patch 8.2.4216
25810Problem: Vim9: cannot use a function from an autoload import directly.
25811Solution: Add the AUTOLOAD instruction to figure out at runtime.
25812 (closes #9620)
25813Files: src/vim9expr.c, src/vim9.h, src/vim9execute.c, src/vim9instr.c,
25814 src/proto/vim9instr.pro, src/testdir/test_vim9_import.vim,
25815 src/testdir/test_vim9_disassemble.vim
25816
25817Patch 8.2.4217
25818Problem: Illegal memory access when undo makes Visual area invalid.
25819Solution: Correct the Visual area after undo.
25820Files: src/undo.c, src/testdir/test_visual.vim
25821
25822Patch 8.2.4218
25823Problem: Illegal memory access with bracketed paste in Ex mode.
25824Solution: Reserve space for the trailing NUL.
25825Files: src/edit.c, src/testdir/test_paste.vim
25826
25827Patch 8.2.4219
25828Problem: Reading before the start of the line.
25829Solution: Check boundary before trying to read the character.
25830Files: src/register.c, src/testdir/test_visual.vim
25831
25832Patch 8.2.4220
25833Problem: MS-Windows: some old compiler support remains.
25834Solution: Remove obsolete compiler support. (Ken Takata, closes #9627)
25835Files: src/Make_mvc.mak, src/vim.h
25836
25837Patch 8.2.4221
25838Problem: Some functions in normal.c are very long.
25839Solution: Move code to separate functions. (Yegappan Lakshmanan,
25840 closes #9628)
25841Files: src/normal.c
25842
25843Patch 8.2.4222
25844Problem: MS-Windows: clumsy way to suppress progress on CI.
25845Solution: Check for "$CI" in the Makefile itself. (Ken Takata, closes #9631)
25846Files: .github/workflows/ci.yml, ci/appveyor.bat, src/Make_mvc.mak
25847
25848Patch 8.2.4223
25849Problem: Long/int compiler warnings; function arguments swapped.
25850Solution: Add type casts. Swap arguments. (Ken Takata, closes #9632)
25851Files: src/alloc.c, src/eval.c, src/vim9script.c
25852
25853Patch 8.2.4224
25854Problem: Vim9: no error when using a number for map() second argument
25855Solution: Disallow number to string conversion. (closes #9630)
25856Files: src/eval.c, src/evalfunc.c, src/testdir/test_vim9_builtin.vim
25857
25858Patch 8.2.4225
25859Problem: Vim9: depth argument of :lockvar not parsed in :def function.
25860Solution: Parse the optional depth argument. (closes #9629)
25861 Fix that locking doesn't work for a non-materialize list.
25862Files: src/vim9cmds.c, src/evalvars.c, src/structs.h, src/evalfunc.c,
25863 src/errors.h, src/vim9execute.c, src/testdir/test_vim9_cmd.vim,
25864 src/testdir/test_vim9_disassemble.vim
25865
25866Patch 8.2.4226 (after 8.2.4224)
25867Problem: Filter-map test fails.
25868Solution: Only reject number argument in Vim9 script.
25869Files: src/eval.c
25870
25871Patch 8.2.4227
25872Problem: Vim9: using "lockvar!" in :def function does not work.
25873Solution: Add "!" instead of "-1". (closes #9634)
25874Files: src/vim9cmds.c, src/testdir/test_vim9_cmd.vim
25875
25876Patch 8.2.4228
25877Problem: No tests for clicking in the GUI tabline.
25878Solution: Add test functions to generate the events. Add tests using the
25879 functions. (Yegappan Lakshmanan, closes #9638)
25880Files: runtime/doc/builtin.txt, runtime/doc/testing.txt,
25881 runtime/doc/usr_41.txt, src/evalfunc.c, src/normal.c,
25882 src/proto/testing.pro, src/testdir/test_diffmode.vim,
25883 src/testdir/test_gui.vim, src/testdir/test_normal.vim,
25884 src/testing.c
25885
25886Patch 8.2.4229
25887Problem: Possible crash when invoking timer callback fails.
25888Solution: Initialize the typval. Give an error for an empty callback.
25889 (closes #9636)
25890Files: src/time.c, src/testdir/test_vim9_builtin.vim
25891
25892Patch 8.2.4230
25893Problem: MS-Windows: set_guifontwide() is included but won't work.
25894Solution: Include set_guifontwide() only for X11. (Ken Takata, closes #9640)
25895Files: src/gui.c
25896
25897Patch 8.2.4231
25898Problem: Vim9: map() gives type error when type was not declared.
25899Solution: Only check the type when it was declared, like extend() does.
25900 (closes #9635)
25901Files: src/list.c, src/evalfunc.c, src/vim9instr.c,
25902 src/testdir/test_vim9_builtin.vim,
25903 src/testdir/test_vim9_assign.vim
25904
25905Patch 8.2.4232 (after 8.2.4231)
25906Problem: Some compilers don't like a goto label without statement.
25907Solution: Return instead of using a goto.
25908Files: src/list.c
25909
25910Patch 8.2.4233
25911Problem: Crash when recording and using Select mode.
25912Solution: When deleting the last recorded character check there is something
25913 to delete.
25914Files: src/getchar.c, src/testdir/test_registers.vim
25915
25916Patch 8.2.4234
25917Problem: test_garbagecollect_now() does not check v:testing as documented.
25918Solution: Give an error if v:testing is not set.
25919Files: src/testing.c, src/errors.h, src/testdir/test_functions.vim
25920
25921Patch 8.2.4235
25922Problem: Invalid check for NULL pointer.
25923Solution: Remove the check.
25924Files: src/getchar.c
25925
25926Patch 8.2.4236
25927Problem: Accessing freed memory.
25928Solution: Set the bh_curr pointer to NULL.
25929Files: src/getchar.c
25930
25931Patch 8.2.4237
25932Problem: Record buffer wrong if character in Select mode was not typed.
25933Solution: Only delete the tail from the record buffer if the character was
25934 typed. (closes #9650)
25935Files: src/normal.c, src/testdir/test_registers.vim
25936
25937Patch 8.2.4238
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010025938Problem: *.tf file could be filetype "tf" or "terraform".
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025939Solution: Detect the type from the file contents. (closes #9642)
25940Files: runtime/filetype.vim, runtime/autoload/dist/ft.vim,
25941 src/testdir/test_filetype.vim
25942
25943Patch 8.2.4239
25944Problem: Build fails with unusual configuration.
25945Solution: Adjust #ifdef. (closes #9651)
25946Files: src/testing.c
25947
25948Patch 8.2.4240
25949Problem: Error for using flatten() in Vim9 script is unclear.
25950Solution: Add a remark to use flattennew().
25951Files: src/errors.h
25952
25953Patch 8.2.4241
25954Problem: Some type casts are redundant.
25955Solution: Remove the type casts. (closes #9643)
25956Files: src/blob.c, src/buffer.c, src/channel.c, src/clientserver.c,
25957 src/clipboard.c, src/drawline.c, src/drawscreen.c, src/edit.c,
25958 src/evalfunc.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_eval.c,
25959 src/fold.c, src/if_cscope.c, src/json.c, src/match.c,
25960 src/memline.c, src/message.c, src/misc1.c, src/normal.c,
25961 src/ops.c, src/option.c, src/optionstr.c, src/os_unix.c,
25962 src/register.c, src/sign.c, src/spellfile.c, src/tag.c, src/ui.c,
25963 src/undo.c, src/window.c
25964
25965Patch 8.2.4242
25966Problem: Put in Visual mode cannot be repeated.
25967Solution: Use "P" to put without yanking the deleted text into the unnamed
25968 register. (Shougo Matsushita, closes #9591)
25969Files: runtime/doc/visual.txt, src/normal.c, src/register.c,
25970 src/testdir/test_visual.vim
25971
25972Patch 8.2.4243
25973Problem: Lua tests fail with Lua 5.4.4.
25974Solution: Check messages like before Lua 5.4.3. (Jakub KulĂ­k, closes #9652)
25975Files: src/testdir/test_lua.vim
25976
25977Patch 8.2.4244
25978Problem: MS-Windows: warning from MSVC on debug build.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025979Solution: Adjust "/opt" options. Remove unused variables. Make variables
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025980 uppercase for consistency. (Ken Takata, closes #9647)
25981Files: src/Make_mvc.mak
25982
25983Patch 8.2.4245
25984Problem: ":retab 0" may cause illegal memory access.
25985Solution: Limit the value of 'tabstop' to 10000.
25986Files: src/option.c, src/vim.h, src/indent.c,
25987 src/testdir/test_options.vim
25988
25989Patch 8.2.4246
25990Problem: One error message not in errors.h. (Antonio Colombo)
25991Solution: Move the message and rename.
25992Files: src/errors.h, src/if_perl.xs
25993
25994Patch 8.2.4247
25995Problem: Stack corruption when looking for spell suggestions.
25996Solution: Prevent the depth increased too much. Add a five second time
25997 limit to finding suggestions.
25998Files: src/spellsuggest.c, src/testdir/test_spell.vim
25999
26000Patch 8.2.4248
26001Problem: No proper test for moving the window separator.
26002Solution: Add a test. Add comment in code. (closes #9656)
26003Files: src/window.c, src/testdir/test_window_cmd.vim
26004
26005Patch 8.2.4249
26006Problem: The timeout limit for spell suggestions is always 5000 milli
26007 seconds.
26008Solution: Add the "timeout" entry to 'spellsuggest'.
26009Files: runtime/doc/options.txt, src/spellsuggest.c,
26010 src/testdir/test_spell.vim
26011
26012Patch 8.2.4250
26013Problem: Channel out callback test is flaky on Mac.
26014Solution: Assign high priority to the test process. (Ozaki Kiichi,
26015 closes #9653)
26016Files: src/testdir/test_channel_pipe.py, src/testdir/thread_util.py
26017
26018Patch 8.2.4251
26019Problem: Vala files are not recognized.
26020Solution: Add the *.vala pattern. (closes #9654)
26021Files: runtime/filetype.vim, src/testdir/test_filetype.vim
26022
26023Patch 8.2.4252
26024Problem: Generating the normal command table at runtime is inefficient.
26025Solution: Generate the table with a Vim script and put it in a header file.
26026 (Yegappan Lakshmanan, closes #9648)
26027Files: Filelist, runtime/doc/builtin.txt, runtime/doc/usr_41.txt,
26028 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Make_vms.mms,
26029 src/Makefile, src/create_nvcmdidxs.vim, src/evalfunc.c,
26030 src/main.c, src/normal.c, src/nv_cmdidxs.h, src/proto/normal.pro
26031
26032Patch 8.2.4253
26033Problem: Using freed memory when substitute uses a recursive function call.
26034Solution: Make a copy of the substitute text.
26035Files: src/ex_cmds.c, src/testdir/test_substitute.vim
26036
26037Patch 8.2.4254
26038Problem: Using short instead of int.
26039Solution: Use int. (closes #9658)
26040Files: src/if_cscope.c
26041
26042Patch 8.2.4255
26043Problem: Theoretical computation overflow.
26044Solution: Perform multiplication in a wider type. (closes #9657)
26045Files: src/alloc.c, src/drawline.c, src/eval.c, src/evalfunc.c,
26046 src/ex_docmd.c, src/hardcopy.c, src/list.c, src/memfile.c,
26047 src/memline.c, src/popupwin.c
26048
26049Patch 8.2.4256
26050Problem: MS-Windows: compiler warnings when compiled with /W4.
26051Solution: Small adjustments to the code. (Ken Takata, closes #9659)
26052Files: src/gui_w32.c, src/os_win32.c
26053
26054Patch 8.2.4257
26055Problem: Vim9: finding global function without g: prefix but not finding
26056 global variable is inconsistent.
26057Solution: Require using g: for a global function. Change the vim9.vim
26058 script into a Vim9 script with exports. Fix that import in legacy
26059 script does not work.
26060Files: src/vim9expr.c, src/evalfunc.c, src/eval.c, src/userfunc.c,
26061 src/testdir/vim9.vim, src/testdir/test_vim9_assign.vim,
26062 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim,
26063 src/testdir/test_vim9_disassemble.vim,
26064 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
26065 src/testdir/test_vim9_import.vim,
26066 src/testdir/test_vim9_script.vim, src/testdir/test_blob.vim,
26067 src/testdir/test_execute_func.vim, src/testdir/test_debugger.vim,
26068 src/testdir/test_expr.vim, src/testdir/test_filter_map.vim,
26069 src/testdir/test_float_func.vim, src/testdir/test_functions.vim,
26070 src/testdir/test_glob2regpat.vim, src/testdir/test_highlight.vim,
26071 src/testdir/test_iminsert.vim, src/testdir/test_ins_complete.vim,
26072 src/testdir/test_listdict.vim, src/testdir/test_mapping.vim,
26073 src/testdir/test_normal.vim, src/testdir/test_popupwin.vim,
26074 src/testdir/test_profile.vim, src/testdir/test_quickfix.vim,
26075 src/testdir/test_tagfunc.vim, src/testdir/test_textprop.vim,
26076 src/testdir/test_usercommands.vim
26077
26078Patch 8.2.4258
26079Problem: Coverity warns for array overrun.
26080Solution: Restrict depth to MAXWLEN - 1.
26081Files: src/spellsuggest.c
26082
26083Patch 8.2.4259
26084Problem: Number of test functions for GUI events is growing.
26085Solution: Use one function with a dictionary. (Yegappan Lakshmanan,
26086 closes #9660)
26087Files: runtime/doc/builtin.txt, runtime/doc/testing.txt,
26088 runtime/doc/usr_41.txt, src/evalfunc.c, src/proto/testing.pro,
26089 src/testdir/test_gui.vim, src/testdir/test_vim9_builtin.vim,
26090 src/testing.c
26091
26092Patch 8.2.4260
26093Problem: Vim9: can still use a global function without g: at the script
26094 level.
26095Solution: Also check for g: at the script level. (issue #9637)
26096Files: src/userfunc.c, src/proto/userfunc.pro, src/evalvars.c,
26097 src/vim9expr.c, src/testdir/test_vim9_assign.vim,
26098 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim,
26099 src/testdir/test_vim9_disassemble.vim,
26100 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
26101 src/testdir/test_vim9_import.vim,
26102 src/testdir/test_ins_complete.vim, src/testdir/test_popupwin.vim,
26103 src/testdir/dumps/Test_popupwin_scroll_11.dump,
26104 src/testdir/dumps/Test_popupwin_scroll_12.dump
26105
26106Patch 8.2.4261
26107Problem: Accessing invalid memory when a regular expression checks the
26108 Visual area while matching in a string.
26109Solution: Do not try matching the Visual area in a string.
26110Files: src/regexp.c, src/testdir/test_help.vim
26111
26112Patch 8.2.4262 (after 8.2.4261)
26113Problem: Some search tests fail.
26114Solution: Use a better way to reject searching for the Visual area.
26115Files: src/regexp.c
26116
26117Patch 8.2.4263
26118Problem: No test for the GUI find/replace dialog.
26119Solution: Add a test function and a test. (Yegappan Lakshmanan,
26120 closes #9662)
26121Files: runtime/doc/testing.txt, src/testdir/test_gui.vim, src/testing.c
26122
26123Patch 8.2.4264
26124Problem: Vim9: can use old style autoload function name.
26125Solution: Give an error for old style autoload function name.
26126Files: src/errors.h, src/userfunc.c, src/testdir/test_vim9_import.vim,
26127 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
26128
26129Patch 8.2.4265 (after 8.2.4264)
26130Problem: Autoload tests fails.
26131Solution: Use export instead of name with #.
26132Files: src/testdir/sautest/autoload/auto9.vim,
Bram Moolenaar47c532e2022-03-19 15:18:53 +000026133 src/testdir/test_autoload.vim, src/testdir/test_ins_complete.vim
Bram Moolenaarc51cf032022-02-26 12:25:45 +000026134
26135Patch 8.2.4266
26136Problem: Compiler warning for uninitialized variable.
26137Solution: Initialize saved_did_emsg.
26138Files: src/userfunc.c
26139
26140Patch 8.2.4267
26141Problem: Unused entry in keymap enum.
26142Solution: Remove the entry.
26143Files: src/keymap.h
26144
26145Patch 8.2.4268
26146Problem: CI log output is long.
26147Solution: Group output in sections. (Ozaki Kiichi, closes #9670)
26148Files: .github/workflows/ci.yml
26149
26150Patch 8.2.4269
26151Problem: Coverity warns for using a NULL pointer.
26152Solution: Check for "name" to not be NULL.
26153Files: src/userfunc.c
26154
26155Patch 8.2.4270
26156Problem: Generating nv_cmdidxs.h requires building Vim twice.
26157Solution: Move the table into a separate file and use a separate executable
26158 to extract the command characters. (Ozaki Kiichi, closes #9669)
26159Files: src/normal.c, src/nv_cmds.h, Filelist, runtime/doc/builtin.txt,
26160 runtime/doc/usr_41.txt, src/Make_cyg_ming.mak, src/Make_mvc.mak,
26161 src/Make_vms.mms, src/Makefile, src/create_nvcmdidxs.c,
26162 src/create_nvcmdidxs.vim, src/evalfunc.c, src/proto/normal.pro
26163
26164Patch 8.2.4271
26165Problem: MS-Windows: cannot build with Ruby 3.1.0.
26166Solution: Adjust the DLL name and include directory. (Ken Takata,
26167 closes #9666)
26168Files: src/Make_cyg_ming.mak, src/Make_mvc.mak
26169
26170Patch 8.2.4272
26171Problem: Vim9 expr test fails without the channel feature. (Dominique
26172 Pellé)
26173Solution: Remove "g:" before "CheckFeature". (closes #9671)
26174Files: src/testdir/test_vim9_expr.vim
26175
26176Patch 8.2.4273
26177Problem: The EBCDIC support is outdated.
26178Solution: Remove the EBCDIC support.
26179Files: src/ascii.h, src/charset.c, src/cindent.c, src/digraph.c,
26180 src/edit.c, src/eval.c, src/evalfunc.c, src/ex_cmds.c,
26181 src/feature.h, src/filepath.c, src/findfile.c, src/getchar.c,
26182 src/gui.c, src/gui_motif.c, src/hardcopy.c, src/help.c,
26183 src/macros.h, src/map.c, src/mark.c, src/misc2.c, src/normal.c,
26184 src/ops.c, src/option.c, src/option.h, src/optiondefs.h,
26185 src/os_unix.c, src/proto/evalfunc.pro, src/regexp.c,
26186 src/regexp_bt.c, src/regexp_nfa.c, src/register.c, src/screen.c,
26187 src/spell.c, src/strings.c, src/structs.h, src/term.c,
26188 src/version.c, src/viminfo.c, src/testdir/test_edit.vim,
26189 src/testdir/test_exec_while_if.vim, src/testdir/test_expr.vim,
26190 src/testdir/test_gf.vim, src/testdir/test_regexp_utf8.vim
26191
26192Patch 8.2.4274
26193Problem: Basic and form filetype detection is incomplete.
26194Solution: Add a separate function for .frm files. (Doug Kearns, closes #9675)
26195Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
26196 src/testdir/test_filetype.vim
26197
26198Patch 8.2.4275
26199Problem: Cannot use an autoload function from a package under start.
26200Solution: Also look in the "start" package directory. (Bjorn Linse,
26201 closes #7193)
26202Files: src/scriptfile.c, src/testdir/test_packadd.vim
26203
26204Patch 8.2.4276
26205Problem: Separate test function for the GUI scrollbar.
26206Solution: Use test_gui_event(). (Yegappan Lakshmanan, closes #9674)
26207Files: runtime/doc/builtin.txt, runtime/doc/testing.txt,
26208 runtime/doc/usr_41.txt, src/evalfunc.c, src/testing.c,
26209 src/proto/testing.pro, src/testdir/test_gui.vim,
26210 src/testdir/test_vim9_builtin.vim
26211
26212Patch 8.2.4277
26213Problem: Vim9: an import does not shadow a command modifier.
26214Solution: Do not accept a command modifier followed by a dot.
26215Files: src/ex_docmd.c, src/testdir/test_vim9_import.vim
26216
26217Patch 8.2.4278
26218Problem: Build with Athena GUI fails. (Elimar Riesebieter)
26219Solution: Add #ifdef.
26220Files: src/testing.c
26221
26222Patch 8.2.4279
26223Problem: Vim9: cannot change item type with map() after range().
26224Solution: Split the return type in current type and declared type.
26225 (closes #9665)
26226Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9instr.c,
26227 src/vim9type.c, src/proto/vim9type.pro,
26228 src/testdir/test_vim9_builtin.vim
26229
26230Patch 8.2.4280 (after 8.2.4279)
26231Problem: list-dict test crashes.
26232Solution: Check declared type for add().
26233Files: src/vim9expr.vim
26234
26235Patch 8.2.4281
26236Problem: Using freed memory with :lopen and :bwipe.
26237Solution: Do not use a wiped out buffer.
26238Files: src/buffer.c, src/testdir/test_quickfix.vim
26239
26240Patch 8.2.4282
26241Problem: Restricted mode requires the -Z command line option.
26242Solution: Use restricted mode when $SHELL ends in "nologin" or "false".
26243 (closes #9681)
26244Files: runtime/doc/starting.txt, src/option.c,
26245 src/testdir/test_restricted.vim
26246
26247Patch 8.2.4283
26248Problem: Using a variable for the return value is not needed.
26249Solution: Return the value directly. (closes #9687)
26250Files: src/ex_docmd.c, src/misc2.c
26251
26252Patch 8.2.4284
26253Problem: Old mac resources files are no longer used.
26254Solution: Delete the unused files. (Ozaki Kiichi, closes #9688)
26255Files: Filelist, src/Makefile, src/dehqx.py, src/infplist.xml,
26256 src/os_mac.rsr.hqx, src/os_mac_rsrc/app.icns,
26257 src/os_mac_rsrc/doc-txt.icns, src/os_mac_rsrc/doc.icns
26258
26259Patch 8.2.4285
26260Problem: Vim9: type of item in for loop not checked properly.
26261Solution: Adjust the type checking. (closes #9683)
26262Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9cmds.c,
26263 src/testdir/test_vim9_script.vim
26264
26265Patch 8.2.4286
26266Problem: Vim9: strict type checking after copy() and deepcopy().
26267Solution: Allow type to change after making a copy. (closes #9644)
26268Files: src/eval.c, src/proto/eval.pro, src/dict.c, src/proto/dict.pro,
26269 src/list.c, src/proto/list.pro, src/evalfunc.c, src/vim9execute.c,
26270 src/vim9type.c, src/proto/vim9type.pro, src/evalvars.c,
26271 src/testdir/test_vim9_builtin.vim,
26272 src/testdir/test_vim9_assign.vim
26273
26274Patch 8.2.4287
26275Problem: Cannot assign empty list with any list type to variable with
26276 specific list type.
26277Solution: Use unknown list type for empty list if the specified type is any.
26278Files: src/vim9type.c, src/testdir/test_vim9_assign.vim,
26279 src/testdir/test_vim9_func.vim
26280
26281Patch 8.2.4288
26282Problem: Preprocessor indents are inconsistent.
26283Solution: Fix preprocessor indents. (Ken Takata, closes #9691)
26284Files: src/arglist.c, src/change.c, src/ex_cmds.c, src/gui.c,
26285 src/hashtab.c, src/indent.c, src/ops.c, src/os_win32.c
26286
26287Patch 8.2.4289
26288Problem: Warnings reported by MSVC.
26289Solution: Rename variables and other fixes. (Ken Takata, closes #9689)
26290Files: src/cmdexpand.c, src/drawscreen.c, src/filepath.c, src/getchar.c,
26291 src/menu.c, src/os_win32.c, src/version.c
26292
26293Patch 8.2.4290
26294Problem: MS-Windows: using type casts for timer IDs.
26295Solution: Remove type casts and use the right type. (Ken Takata,
26296 closes #9690) Remove old debug comments. Rename variables and
26297 functions.
26298Files: src/gui_w32.c
26299
26300Patch 8.2.4291
26301Problem: Error number used twice.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000026302Solution: Renumber the errors.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000026303Files: src/errors.h
26304
26305Patch 8.2.4292 (after 8.2.4291)
26306Problem: Test fails.
26307Solution: Adjust the expected error number.
26308Files: src/testdir/test_vim9_cmd.vim
26309
26310Patch 8.2.4293
26311Problem: Vim9: when copying a list it gets type list<any> even when the
26312 original list did not have a type.
26313Solution: Only set the type when the original list has a type. (closes #9692)
26314Files: src/list.c, src/testdir/test_vim9_expr.vim
26315
26316Patch 8.2.4294
26317Problem: MS-Windows: #ifdefs for Cygwin are too complicated.
26318Solution: Simplify the conditions. (Ken Takata, closes #9693)
26319Files: src/evalfunc.c, src/main.c, src/os_unix.c, src/os_win32.c,
26320 src/os_win32.h
26321
26322Patch 8.2.4295
26323Problem: Vim9: concatenating two lists may result in wrong type.
26324Solution: Remove the type instead of using list<any>. (closes #9692)
26325Files: src/list.c, src/testdir/test_vim9_expr.vim
26326
26327Patch 8.2.4296
26328Problem: Vim9: not all code covered by tests.
26329Solution: Add a few more tests for corner cases. Fix hang when single quote
26330 is missing.
26331Files: src/vim9expr.c, src/testdir/test_vim9_assign.vim,
26332 src/testdir/test_vim9_cmd.vim, src/testdir/test_vim9_expr.vim
26333
26334Patch 8.2.4297
26335Problem: Vim9: not all code covered by tests.
26336Solution: Add a couple more tests.
26337Files: src/testdir/test_vim9_script.vim,
26338 src/testdir/test_vim9_disassemble.vim
26339
26340Patch 8.2.4298
26341Problem: Divide by zero with huge tabstop value.
26342Solution: Reject tabstop value that overflows to zero.
26343Files: src/indent.c, src/testdir/test_vartabs.vim
26344
26345Patch 8.2.4299
26346Problem: SafeState autocommand interferes with debugging.
26347Solution: Do not trigger SafeState while debugging. (closes #9697)
26348Files: src/main.c
26349
26350Patch 8.2.4300 (after 8.2.4299)
26351Problem: Cannot build tiny version. (Tony Mechelynck)
26352Solution: Add #ifdef.
26353Files: src/main.c
26354
26355Patch 8.2.4301
26356Problem: Vim9: type error for copy of dict.
26357Solution: Do not use dict<any> but no type. (closes #9696)
26358Files: src/dict.c, src/testdir/test_vim9_builtin.vim
26359
26360Patch 8.2.4302
26361Problem: Vim9: return type of getline() is too strict.
26362Solution: Make the declared type list<any>. Also do this for other
26363 functions returning a list of a specific type.
26364Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
26365
26366Patch 8.2.4303
26367Problem: A few messages should not be translated.
26368Solution: Remove _(). (Dominique Pellé, closes #9702)
26369Files: src/syntax.c
26370
26371Patch 8.2.4304
26372Problem: Vim9: slice() makes a copy but doesn't change the type.
26373Solution: Change the declared type like copy(). (closes #9696)
26374Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
26375
26376Patch 8.2.4305
26377Problem: Tex filetype detection fails.
26378Solution: Check value to be positive. (closes #9704)
26379Files: runtime/autoload/dist/ft.vim, src/testdir/test_filetype.vim
26380
26381Patch 8.2.4306
26382Problem: No test for fixed perl filetype check.
26383Solution: Add a test. Sort test functions.
26384Files: src/testdir/test_filetype.vim
26385
26386Patch 8.2.4307
26387Problem: A few more messages should not be translated.
26388Solution: Remove _().
26389Files: src/syntax.c
26390
26391Patch 8.2.4308
26392Problem: Vim9: cannot list autoload function.
26393Solution: Don't give an error for using # when listing a function.
26394 (closes #9703)
26395Files: src/userfunc.c, src/testdir/test_vim9_import.vim
26396
26397Patch 8.2.4309
26398Problem: Vim9: crash when using a partial in the wrong context.
26399Solution: Don't use an NULL outer pointer. (closes #9706)
26400Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
26401
26402Patch 8.2.4310
26403Problem: Vim9: constant list and dict get a declaration type other than
26404 "any".
26405Solution: A constant list and dict have a declared member type "any".
26406 (closes #9701)
26407Files: src/vim9instr.c, src/vim9type.c, src/proto/vim9type.pro,
26408 src/testdir/test_vim9_builtin.vim
26409
26410Patch 8.2.4311
26411Problem: Vim9: changing script variable type not caught at compile time.
26412Solution: Set the declared type.
26413Files: src/vim9instr.c, src/testdir/test_vim9_assign.vim
26414
26415Patch 8.2.4312
26416Problem: No error for using :vim9script in a :def function.
26417Solution: Give an error when compiling.
26418Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
26419
26420Patch 8.2.4313
26421Problem: Vim9: cannot change type of list after making a slice.
26422Solution: Adjust the declared member type. (closes #9696)
26423Files: src/vim9expr.c, src/testdir/test_vim9_builtin.vim
26424
26425Patch 8.2.4314 (after 8.2.4312)
26426Problem: Test fails where lines are skipped.
26427Solution: Only give an error when not skipping commands.
26428Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
26429
26430Patch 8.2.4315
26431Problem: Put in Visual mode not fully tested.
26432Solution: Add a few more test cases. (closes #9708)
26433Files: src/testdir/test_visual.vim
26434
26435Patch 8.2.4316
26436Problem: __CYGWIN32__ is not defined on 64 bit systems.
26437Solution: Update #ifdefs. (Ken Takata, closes #9709)
26438Files: src/main.c, src/os_unix.c, src/pty.c, src/vim.h
26439
26440Patch 8.2.4317
26441Problem: MS-Windows: Vim exits when Python 3 initialisation fails.
26442Solution: Hook into the exit() function to recover from the failure.
26443 (Ken Takata, closes #9710)
26444Files: runtime/doc/if_pyth.txt, src/if_python3.c, src/os_win32.c,
26445 src/errors.h, src/proto/os_win32.pro
26446
26447Patch 8.2.4318
26448Problem: Various comment and indent mistakes, returning wrong zero.
26449Solution: Fix the mistakes. Return NULL instead of FAIL.
26450Files: src/clientserver.c, src/eval.c, src/evalvars.c, src/vim9cmds.c,
26451 src/window.c
26452
26453Patch 8.2.4319
26454Problem: :put does not work properly in compiled function. (John Beckett)
26455Solution: Adjust the direction when using line zero.
26456Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
26457
26458Patch 8.2.4320
26459Problem: Athena and Motif: when maximized scrollbar position is wrong.
26460Solution: Implement the scrollbar padding functions. (closes #9712)
26461Files: src/gui_athena.c, src/gui_motif.c
26462
26463Patch 8.2.4321
26464Problem: Vim9: crash when using a funcref to a closure.
26465Solution: Copy pt_outer to the new partial. (closes #9714)
26466Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
26467
26468Patch 8.2.4322
26469Problem: Vim9: crash when using funcref with closure.
26470Solution: Keep a reference to the funcref that has the outer context.
26471 (closes #9716)
26472Files: src/evalfunc.c, src/structs.h, src/eval.c, src/vim9execute.c,
26473 src/testdir/test_vim9_func.vim
26474
26475Patch 8.2.4323
26476Problem: Vim9: nested function name can start with "_".
26477Solution: Use same rule for function name for nested functions.
26478 (closes #9713)
26479Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
26480
26481Patch 8.2.4324
26482Problem: Vim9: script-local function name can start with "_".
26483Solution: Check for leading capital after "s:". Correct error message.
26484Files: src/userfunc.c, src/errors.h, src/vim9compile.c,
26485 src/testdir/test_vim9_func.vim
26486
26487Patch 8.2.4325
26488Problem: 'wildmenu' only shows few matches.
26489Solution: Add the "pum" option: use a popup menu to show the matches.
26490 (Yegappan Lakshmanan et al., closes #9707)
26491Files: runtime/doc/options.txt, src/vim.h, src/cmdexpand.c,
26492 src/drawscreen.c, src/evalfunc.c, src/ex_getln.c, src/option.h,
26493 src/optionstr.c, src/popupmenu.c, src/proto/cmdexpand.pro,
26494 src/testdir/test_cmdline.vim,
26495 src/testdir/dumps/Test_wildmenu_pum_01.dump,
26496 src/testdir/dumps/Test_wildmenu_pum_02.dump,
26497 src/testdir/dumps/Test_wildmenu_pum_03.dump,
26498 src/testdir/dumps/Test_wildmenu_pum_04.dump,
26499 src/testdir/dumps/Test_wildmenu_pum_05.dump,
26500 src/testdir/dumps/Test_wildmenu_pum_06.dump,
26501 src/testdir/dumps/Test_wildmenu_pum_07.dump,
26502 src/testdir/dumps/Test_wildmenu_pum_08.dump,
26503 src/testdir/dumps/Test_wildmenu_pum_09.dump,
26504 src/testdir/dumps/Test_wildmenu_pum_10.dump,
26505 src/testdir/dumps/Test_wildmenu_pum_11.dump,
26506 src/testdir/dumps/Test_wildmenu_pum_12.dump,
26507 src/testdir/dumps/Test_wildmenu_pum_13.dump,
26508 src/testdir/dumps/Test_wildmenu_pum_14.dump,
26509 src/testdir/dumps/Test_wildmenu_pum_15.dump,
26510 src/testdir/dumps/Test_wildmenu_pum_16.dump,
26511 src/testdir/dumps/Test_wildmenu_pum_17.dump,
26512 src/testdir/dumps/Test_wildmenu_pum_18.dump,
26513 src/testdir/dumps/Test_wildmenu_pum_19.dump,
26514 src/testdir/dumps/Test_wildmenu_pum_20.dump,
26515 src/testdir/dumps/Test_wildmenu_pum_21.dump,
26516 src/testdir/dumps/Test_wildmenu_pum_22.dump,
26517 src/testdir/dumps/Test_wildmenu_pum_23.dump,
26518 src/testdir/dumps/Test_wildmenu_pum_24.dump,
26519 src/testdir/dumps/Test_wildmenu_pum_25.dump,
26520 src/testdir/dumps/Test_wildmenu_pum_26.dump,
26521 src/testdir/dumps/Test_wildmenu_pum_27.dump,
26522 src/testdir/dumps/Test_wildmenu_pum_28.dump,
26523 src/testdir/dumps/Test_wildmenu_pum_29.dump
26524
26525Patch 8.2.4326
26526Problem: "o" and "O" copying comment not sufficiently tested.
26527Solution: Add a test case. (closes #9718)
26528Files: src/testdir/test_textformat.vim
26529
26530Patch 8.2.4327
26531Problem: May end up with no current buffer.
26532Solution: When deleting the current buffer to not pick a quickfix buffer as
26533 the new current buffer.
26534Files: src/buffer.c, src/testdir/test_quickfix.vim
26535
26536Patch 8.2.4328
Bram Moolenaar1588bc82022-03-08 21:35:07 +000026537Problem: Command line complete matches cleared when typing character.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000026538 (Dominique Pellé)
26539Solution: Only remove a popup menu if there is one.
26540Files: src/ex_getln.c, src/testdir/test_cmdline.vim,
26541 src/testdir/dumps/Test_wildmenu_pum_30.dump,
26542 src/testdir/dumps/Test_wildmenu_pum_31.dump
26543
26544Patch 8.2.4329
26545Problem: No support for end line number and column in 'errorformat'.
26546Solution: Add %e and %k. (closes #9624)
26547Files: runtime/doc/quickfix.txt, src/quickfix.c,
26548 src/testdir/test_quickfix.vim
26549
26550Patch 8.2.4330
26551Problem: Vim9: no error if script imports itself.
26552Solution: Give an error when a script imports itself.
26553Files: src/vim9script.c, src/errors.h, src/testdir/test_vim9_import.vim
26554
26555Patch 8.2.4331
26556Problem: Vim9: no test for existing script variable in block.
26557Solution: Add a test.
26558Files: src/testdir/test_vim9_func.vim
26559
26560Patch 8.2.4332
26561Problem: Vim9: incomplete test for existing script variable in block.
26562Solution: Add a couple more tests. Fix uncovered problem.
26563Files: src/userfunc.c, src/vim9compile.c, src/proto/vim9compile.pro,
26564 src/vim9script.c, src/vim9expr.c, src/testdir/test_vim9_func.vim
26565
26566Patch 8.2.4333
26567Problem: cstack not always passed to where it is needed.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000026568Solution: Pass cstack through functions.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000026569Files: src/eval.c, src/vim9expr.c, src/vim9script.c,
26570 src/proto/vim9script.pro, src/vim9compile.c,
26571 src/proto/vim9compile.pro
26572
26573Patch 8.2.4334
26574Problem: Command line popup menu not positioned correctly.
26575Solution: Also use vim_strsize() on the existing text. (Naruhiko Nishino,
26576 closes #9727)
26577Files: src/cmdexpand.c, src/testdir/test_cmdline.vim,
26578 src/testdir/dumps/Test_wildmenu_pum_32.dump
26579
26580Patch 8.2.4335
26581Problem: No autocommand event triggered before changing directory. (Ronnie
26582 Magatti)
26583Solution: Add DirChangedPre. (closes #9721)
26584Files: runtime/doc/autocmd.txt, src/ex_docmd.c, src/proto/ex_docmd.pro,
26585 src/vim.h, src/autocmd.c, src/misc2.c,
26586 src/testdir/test_autocmd.vim
26587
26588Patch 8.2.4336
26589Problem: Using :filter for :scriptnames does not work. (Ben Jackson)
26590Solution: Call message_filtered(). (closes #9720)
26591Files: src/scriptfile.c, src/testdir/test_filter_cmd.vim
26592
26593Patch 8.2.4337
26594Problem: Part of condition is always true.
26595Solution: Remove that part of the condition. (closes #9729)
26596Files: src/filepath.c
26597
26598Patch 8.2.4338
26599Problem: An error from an expression mapping messes up the display.
26600Solution: When the expression results in an empty string return K_IGNORE.
26601 In cmdline mode redraw the command line. (closes #9726)
26602Files: src/getchar.c, src/testdir/test_mapping.vim,
26603 src/testdir/dumps/Test_map_expr_2.dump,
26604 src/testdir/dumps/Test_map_expr_3.dump,
26605 src/testdir/dumps/Test_map_expr_4.dump
26606
26607Patch 8.2.4339
26608Problem: CTRL-A does not work properly with the cmdline popup menu.
26609Solution: Fix issues with CTRL-A. Add more tests for the cmdline popup
26610 menu. Remove TermWait() before VeriryScreenDump(). Refactor the
26611 cmdline popup code. (Yegappan Lakshmanan, closes #9735)
26612Files: src/cmdexpand.c, src/ex_getln.c, src/popupmenu.c,
26613 src/testdir/screendump.vim, src/testdir/test_bufline.vim,
26614 src/testdir/test_cmdline.vim, src/testdir/test_conceal.vim,
26615 src/testdir/test_cursorline.vim, src/testdir/test_diffmode.vim,
26616 src/testdir/test_display.vim, src/testdir/test_highlight.vim,
26617 src/testdir/test_match.vim, src/testdir/test_popup.vim,
26618 src/testdir/test_search_stat.vim, src/testdir/test_terminal.vim,
26619 src/testdir/test_textprop.vim,
26620 src/testdir/dumps/Test_wildmenu_pum_33.dump,
26621 src/testdir/dumps/Test_wildmenu_pum_34.dump,
26622 src/testdir/dumps/Test_wildmenu_pum_35.dump,
26623 src/testdir/dumps/Test_wildmenu_pum_36.dump,
26624 src/testdir/dumps/Test_wildmenu_pum_37.dump
26625
26626Patch 8.2.4340
26627Problem: Amiga: mch_can_exe() is not implemented.
26628Solution: Implement mch_can_exe() for Amiga OS 4. (Ola Söder, closes #9731)
26629Files: src/os_amiga.c
26630
26631Patch 8.2.4341
26632Problem: Command line not redrawn when finishing popup menu and the screen
26633 has scrolled up.
26634Solution: Redraw the command line after updating the screen. (closes #9722)
26635Files: src/cmdexpand.c, src/testdir/test_cmdline.vim,
26636 src/testdir/dumps/Test_wildmenu_pum_38.dump
26637
26638Patch 8.2.4342
26639Problem: CI will soon switch to other windows version.
26640Solution: Use "windows-2019" instead of "windows-latest". (Ozaki Kiichi,
26641 closes #9740)
26642Files: .github/workflows/ci.yml
26643
26644Patch 8.2.4343
26645Problem: When reloading not all properties are detected.
26646Solution: Add the "edit" value to v:fcs_choice. (Rob Pilling, closes #9579)
26647Files: runtime/doc/editing.txt, runtime/doc/eval.txt, src/fileio.c,
26648 src/proto/fileio.pro, src/message.c, src/spellfile.c,
26649 src/testdir/test_filechanged.vim
26650
26651Patch 8.2.4344
26652Problem: Amiga: header file included twice.
26653Solution: Remove #include. (Ola Söder, closes #9733)
26654Files: src/memfile.c
26655
26656Patch 8.2.4345
26657Problem: <amatch> is expanded like a file name for DirChangedPre.
26658Solution: Do not expand <amatch>. (closes #9742) Also for the User event.
26659Files: src/autocmd.c, src/testdir/test_autocmd.vim
26660
26661Patch 8.2.4346
26662Problem: A custom statusline may cause Esc to work like Enter on the
26663 command line when the popup menu is displayed.
26664Solution: Save and restore KeyTyped. (closes #9749)
26665Files: src/drawscreen.c, src/testdir/test_cmdline.vim,
26666 src/testdir/dumps/Test_wildmenu_pum_39.dump
26667
26668Patch 8.2.4347
26669Problem: In some build setups UNUSED is not defined.
26670Solution: Change the logic of how UNUSED is defined. (Ola Söder,
26671 closes #9734)
26672Files: src/vim.h
26673
26674Patch 8.2.4348
26675Problem: "legacy exe cmd" does not do what one would expect.
26676Solution: Apply the "legacy" and "vim9script" command modifiers to the
26677 argument of ":execute".
26678Files: runtime/doc/vim9.txt, src/globals.h, src/eval.c, src/ex_docmd.c,
26679 src/testdir/test_vim9_cmd.vim
26680
26681Patch 8.2.4349
26682Problem: FileChangedShell test fails on MS-Windows.
26683Solution: Skip the test on MS-Windows.
26684Files: src/testdir/test_filechanged.vim
26685
26686Patch 8.2.4350
26687Problem: FEAT_GUI_ENABLED defined but never used.
26688Solution: Remove the #define. (Ola Söder, closes #9732)
26689Files: src/vim.h
26690
26691Patch 8.2.4351
26692Problem: No coverage is measured on MS-Windows CI.
26693Solution: Enable coverage on MS-Windows. (Ozaki Kiichi, closes #9750)
26694Files: .github/workflows/ci.yml
26695
26696Patch 8.2.4352
26697Problem: ReScript files are not recognized.
26698Solution: Add the *.res and *.resi patterns. (Ananda Umamil, closes #9752)
26699Files: runtime/filetype.vim, src/testdir/test_filetype.vim
26700
26701Patch 8.2.4353
26702Problem: CI does not use the latest Lua and Python.
26703Solution: Use Lua 5.4.2 and Python 3.10. (closes #9744)
26704Files: .github/workflows/ci.yml
26705
26706Patch 8.2.4354
26707Problem: Dynamic loading of libsodium not handled properly.
26708Solution: Fix has() and :version. Show an error message when loading fails.
26709 Fix memory leaks. (Ken Takata, closes #9754)
26710Files: src/crypt.c, src/evalfunc.c, src/gui_dwrite.cpp, src/if_cscope.c,
26711 src/os_win32.c, src/proto/crypt.pro, src/proto/os_win32.pro,
26712 src/version.c
26713
26714Patch 8.2.4355
26715Problem: Unnecessary call to check_colorcolumn().
26716Solution: Remove the call. (Sean Dewar, closes #9748)
26717Files: src/option.c, src/window.c
26718
26719Patch 8.2.4356
26720Problem: Command line completion functions are very long.
26721Solution: Refactor into multiple functions. (Yegappan Lakshmanan,
26722 closes #9753)
26723Files: src/cmdexpand.c
26724
26725Patch 8.2.4357 (after 8.2.4348)
26726Problem: sticky command modifiers are too sticky.
26727Solution: Do not apply command modifiers to a sourced script. (closes #9751)
26728Files: src/scriptfile.c, src/testdir/test_vim9_cmd.vim
26729
26730Patch 8.2.4358
26731Problem: Vim9: line number of exception is not set.
26732Solution: Set the line number before throwing an exception. (closes #9755)
26733Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
26734
26735Patch 8.2.4359
26736Problem: crash when repeatedly using :retab.
26737Solution: Bail out when the line is getting too long.
26738Files: src/indent.c, src/testdir/test_retab.vim
26739
26740Patch 8.2.4360
26741Problem: Vim9: allowing use of "s:" leads to inconsistencies.
26742Solution: Disallow using "s:" in Vim9 script at the script level.
26743Files: src/userfunc.c, src/proto/userfunc.pro, src/errors.h,
26744 src/vim9compile.c, src/eval.c, src/testdir/vim9.vim,
26745 src/testdir/test_vim9_assign.vim,
26746 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim,
26747 src/testdir/test_vim9_disassemble.vim,
26748 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
26749 src/testdir/test_vim9_import.vim, src/testdir/test_vim9_script.vim
26750
26751Patch 8.2.4361 (after 8.2.4360)
26752Problem: Vim9: some tests fail.
26753Solution: Fix the tests, mostly by removing "s:".
26754Files: src/testdir/test_expr.vim, src/testdir/test_functions.vim,
26755 src/testdir/test_ins_complete.vim, src/testdir/test_normal.vim,
26756 src/testdir/test_tagfunc.vim
26757
26758Patch 8.2.4362
26759Problem: :retab may allocate too much memory.
26760Solution: Bail out when allocating more than MAXCOL bytes.
26761Files: src/indent.c
26762
26763Patch 8.2.4363
26764Problem: MS-Windows: running out of memory for a very long line.
26765Solution: Use a 32 bit value for MAXCOL also when ints are 64 bits.
26766Files: src/vim.h
26767
26768Patch 8.2.4364
26769Problem: MS-Windows: still running out of memory for a very long line.
26770Solution: Check for negative length.
26771Files: src/indent.c
26772
26773Patch 8.2.4365 (after 8.2.4348)
26774Problem: sticky command modifiers are too sticky.
26775Solution: Do not apply command modifiers to a called function. (closes #9751)
26776Files: src/userfunc.c, src/testdir/test_vim9_cmd.vim
26777
26778Patch 8.2.4366
26779Problem: Not enough tests for command line completion.
26780Solution: Add a few more tests. (Yegappan Lakshmanan, closes #9760)
26781Files: src/cmdexpand.c, src/testdir/test_cmdline.vim,
26782 src/testdir/test_usercommands.vim
26783
26784Patch 8.2.4367
26785Problem: Calling in_vim9script() multiple times.
26786Solution: Call it once and keep the result.
26787Files: src/userfunc.c, src/eval.c
26788
26789Patch 8.2.4368
26790Problem: Amiga: a few compiler warnings.
26791Solution: Adjust #ifdefs. Add "UNUSED". (Ola Söder, closes #9756,
26792 closes #9757)
26793Files: src/term.c, src/os_amiga.c
26794
26795Patch 8.2.4369
26796Problem: Redundant #ifdef argument.
26797Solution: Remove unused MSWIN. (Ola Söder, closes #9758)
26798Files: src/feature.h
26799
26800Patch 8.2.4370
26801Problem: MS-Windows: libsodium.dll not included with the installer.
26802Solution: Add the file to the installer if it exists. (Christian Brabandt,
26803 closes #9762)
26804Files: nsis/gvim.nsi
26805
26806Patch 8.2.4371
26807Problem: Vim9: can create a script variable from a legacy function.
26808Solution: Disallow creating a script variable from a function.
26809Files: src/evalvars.c, src/errors.h, src/testdir/test_vim9_script.vim
26810
26811Patch 8.2.4372
26812Problem: Filetype detection from file contents is in legacy script.
26813Solution: Use a compiled function for filetype detection.
26814Files: runtime/scripts.vim, runtime/autoload/dist/script.vim
26815
26816Patch 8.2.4373
26817Problem: Expression test fails.
26818Solution: Make the test work with latest Vim9 syntax.
26819Files: src/testdir/test_expr.vim
26820
26821Patch 8.2.4374
26822Problem: Unreachable code.
26823Solution: Remove outdated code lines.
26824Files: src/vim9compile.c
26825
26826Patch 8.2.4375
26827Problem: ctx_imports is not used.
26828Solution: Delete ctx_imports. Add missing dependency.
26829Files: src/vim9.h, src/vim9compile.c, src/proto/vim9compile.pro,
26830 src/eval.c, src/evalfunc.c, src/evalvars.c, src/userfunc.c,
26831 src/vim9expr.c, src/vim9script.c, src/Makefile
26832
26833Patch 8.2.4376
26834Problem: Not enough tests for command line completion.
26835Solution: Add a few more tests. (Yegappan Lakshmanan, closes #9771)
26836Files: src/testdir/test_cmdline.vim, src/testdir/test_usercommands.vim
26837
26838Patch 8.2.4377
26839Problem: CI steps for Windows are a bit unorganized.
26840Solution: Organize CI test steps on Windows. (Ozaki Kiichi, closes #9764)
26841Files: .github/workflows/ci.yml
26842
26843Patch 8.2.4378
26844Problem: Incsearch highlight broken when calling searchcount() in 'tabLine'
26845 function. (Mirko Palmer)
26846Solution: Save and restore the incsearch state. (Christian Brabandt,
26847 closes #9763, closes #9633)
26848Files: src/search.c, src/testdir/test_search_stat.vim,
26849 src/testdir/dumps/Test_searchstat_inc_1.dump,
26850 src/testdir/dumps/Test_searchstat_inc_2.dump,
26851 src/testdir/dumps/Test_searchstat_inc_3.dump
26852
26853Patch 8.2.4379
26854Problem: An empty change is reported to a listener.
26855Solution: Do not report an empty change. (closes #9768) Remove unused
26856 return value.
26857Files: src/undo.c, src/change.c, src/testdir/test_listener.vim
26858
26859Patch 8.2.4380
26860Problem: Small differences between Chinese translation files.
26861Solution: Add rule for converting UTF-8 to gb2312. (closes #9773)
26862Files: src/po/Makefile, src/po/Make_all.mak
26863
26864Patch 8.2.4381 (after 8.2.4380)
26865Problem: Translation file listed twice.
26866Solution: Remove one entry.
26867Files: src/po/Make_all.mak
26868
26869Patch 8.2.4382 (after 8.2.4346)
26870Problem: A custom 'tabline' may cause Esc to work like Enter on the
26871 command line when the popup menu is displayed.
26872Solution: Save and restore KeyTyped. (closes #9776)
26873Files: src/drawscreen.c, src/screen.c, src/testdir/test_cmdline.vim,
26874 src/testdir/dumps/Test_wildmenu_pum_40.dump
26875
26876Patch 8.2.4383
26877Problem: Vim9: unused code lines.
26878Solution: Rely on either "cctx" or "cstack" to not be NULL.
26879Files: src/vim9compile.c
26880
26881Patch 8.2.4384
26882Problem: Vim9: error message not tested, some code not tested.
26883Solution: Add a couple of test cases. Give an error for a command modifier
26884 without a command.
26885Files: src/errors.h, src/vim9compile.c, src/ex_docmd.c,
26886 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_cmd.vim
26887
26888Patch 8.2.4385 (after 8.2.4384)
26889Problem: Cannot build tiny version.
26890Solution: Adjust #ifdefs.
26891Files: src/errors.h
26892
26893Patch 8.2.4386 (after 8.2.4384)
26894Problem: Still cannot build tiny version.
26895Solution: Adjust #ifdefs.
26896Files: src/ex_docmd.c
26897
26898Patch 8.2.4387
26899Problem: Command line completion doesn't always work properly.
26900Solution: Adjust triggering after a "|". Add more tests. (Yegappan
26901 Lakshmanan, closes #9779)
26902Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
26903
26904Patch 8.2.4388
26905Problem: Dead code in op_insert().
26906Solution: Remove condition and else block. (closes #9782)
26907Files: src/ops.c
26908
26909Patch 8.2.4389
26910Problem: screenpos() does not handle a position in a closed fold.
26911Solution: Check if the position is inside a closed fold. (closes #9778)
26912Files: src/move.c, src/testdir/test_cursor_func.vim
26913
26914Patch 8.2.4390
26915Problem: Vim9: list from declaration with inferred type does not set the
26916 type on the value.
26917Solution: When inferring the type in a variable declaration also set the
26918 type of the list or dictionary. (closes #9705) Do not set the
26919 type when the member is "any".
26920Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim,
26921 src/testdir/test_vim9_builtin.vim,
26922 src/testdir/test_vim9_disassemble.vim
26923
26924Patch 8.2.4391
26925Problem: Command line executed when typing Esc in the GUI.
26926Solution: Move saving/restoring KeyTyped to build_stl_str_hl().
26927 (closes #9783)
26928Files: src/buffer.c, src/screen.c
26929
26930Patch 8.2.4392 (after 8.2.4002)
26931Problem: MS-Windows with VIMDLL: Escaping CSI is wrong.
26932Solution: Put back #ifdef. (Ken Takata, closes #9769)
26933Files: src/getchar.c
26934
26935Patch 8.2.4393
26936Problem: Possible number overflow with nested folds.
26937Solution: Avoid a negative line number.
26938Files: src/fold.c
26939
26940Patch 8.2.4394 (after 8.2.4392)
26941Problem: UTF8 select mode test fails on MS-Windows.
26942Solution: Revert the #ifdef change.
26943Files: src/getchar.c
26944
26945Patch 8.2.4395
26946Problem: Some code lines not covered by tests.
26947Solution: Add a few more test cases. Fix getting more than one error for
26948 invalid assignment.
26949Files: src/evalvars.c, src/errors.h, src/vim9compile.c,
26950 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_cmd.vim,
26951 src/testdir/test_vim9_func.vim
26952
26953Patch 8.2.4396 (after 8.2.4395)
26954Problem: Python3 test fails.
26955Solution: Remove "let".
26956Files: src/testdir/test_vim9_func.vim
26957
26958Patch 8.2.4397
26959Problem: Crash when using many composing characters in error message.
26960Solution: Use mb_cptr2char_adv() instead of mb_ptr2char_adv().
26961Files: src/testing.c, src/testdir/test_assert.vim
26962
26963Patch 8.2.4398
26964Problem: Some command completion functions are too long.
26965Solution: Refactor code into separate functions. Add a few more tests.
26966 (Yegappan Lakshmanan, closes #9785)
26967Files: src/cmdexpand.c, src/ex_getln.c, src/usercmd.c,
26968 src/proto/usercmd.pro, src/testdir/test_cmdline.vim
26969
26970Patch 8.2.4399
26971Problem: Crash after ml_get error.
26972Solution: When returning "???" flush the line and set ml_line_lnum.
26973Files: src/memline.c
26974
26975Patch 8.2.4400 (after 8.2.4394)
26976Problem: MS-Windows: cannot use the mouse in the console with VIMDLL.
26977Solution: use add_char2buf() instead of fix_input_buffer(). (closes #9784,
26978 closes #9769)
26979Files: src/getchar.c
26980
26981Patch 8.2.4401
26982Problem: Map listing does not clear the rest of the command line.
26983Solution: Call msg_clear_eos(). (closes #5623, closes #5962)
26984Files: src/map.c, src/testdir/test_mapping.vim,
26985 src/testdir/dumps/Test_map_list_1.dump
26986
26987Patch 8.2.4402
26988Problem: Missing parenthesis may cause unexpected problems.
26989Solution: Add more parenthesis is macros. (closes #9788)
26990Files: src/autocmd.c, src/charset.c, src/drawline.c, src/drawscreen.c,
26991 src/evalfunc.c, src/fileio.c, src/fold.c, src/getchar.c,
26992 src/highlight.c, src/memline.c, src/normal.c, src/quickfix.c,
26993 src/regexp.c, src/search.c, src/sha256.c, src/spell.c,
26994 src/spellfile.c, src/spellsuggest.c, src/syntax.c, src/window.c
26995
26996Patch 8.2.4403
26997Problem: ml_get error with nested folds and deleting lines.
26998Solution: Correct the last line number before calling hasFoldingWin().
26999Files: src/change.c
27000
27001Patch 8.2.4404
27002Problem: Vim9: some code not covered by tests.
27003Solution: Add a few specific test cases.
27004Files: src/vim9execute.c, src/testdir/test_vim9_func.vim,
27005 src/testdir/test_vim9_import.vim
27006
27007Patch 8.2.4405
27008Problem: Compiler warning for unused variable without the +folding feature.
27009 (Tony Mechelynck)
27010Solution: Add #ifdef.
27011Files: src/change.c
27012
27013Patch 8.2.4406
27014Problem: Expand functions use confusing argument names.
27015Solution: Rename "file" to "match". Refactor some completion code. Add a
27016 few more tests. (Yegappan Lakshmanan, closes #9790)
27017Files: src/cmdexpand.c, src/testdir/test_usercommands.vim
27018
27019Patch 8.2.4407
27020Problem: Vim9: some code not covered by tests.
27021Solution: Add more tests. Avoid giving two errors. Remove dead code.
27022Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim,
27023 src/testdir/test_vim9_cmd.vim, src/testdir/test_vim9_func.vim
27024
27025Patch 8.2.4408
27026Problem: Vim9: some code not covered by tests.
27027Solution: Add a few more tests. Correct error message. Allow unlet on dict
27028 with a number key.
27029Files: src/vim9execute.c, src/errors.h, src/testdir/test_vim9_assign.vim
27030
27031Patch 8.2.4409
27032Problem: Vim9: some code not covered by tests.
27033Solution: Add a few more tests. Fix reported line number.
27034Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim
27035
27036Patch 8.2.4410
27037Problem: Vim9: some code not covered by tests.
27038Solution: Add a few more tests. Remove dead code.
27039Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim,
27040 src/testdir/test_vim9_cmd.vim, src/testdir/test_vim9_expr.vim,
27041 src/testdir/test_vim9_script.vim
27042
27043Patch 8.2.4411
27044Problem: Bicep files are not recognized.
27045Solution: Match *.bicep files. (Dundar Goc, closes #9791)
27046Files: runtime/filetype.vim, src/testdir/test_filetype.vim
27047
27048Patch 8.2.4412
27049Problem: Translation cleanup script does not remove empty lines at end.
27050Solution: Remove empty lines at the end. (Ken Takata, closes #9794)
27051Files: src/po/cleanup.vim
27052
27053Patch 8.2.4413
27054Problem: Vim9: Coverity warns for using NULL pointer.
27055Solution: Give an internal error when funcref function can't be found.
27056Files: src/vim9execute.c
27057
27058Patch 8.2.4414
27059Problem: Solidity files are not recognized.
27060Solution: Add the *.sol pattern. (Dundar Goc, closes #9792)
27061Files: runtime/filetype.vim, src/testdir/test_filetype.vim
27062
27063Patch 8.2.4415
27064Problem: Function argument name conflicts with C++ keyword.
27065Solution: Rename the argument.
27066Files: src/usercmd.c, src/proto/usercmd.pro
27067
27068Patch 8.2.4416
27069Problem: Vim9: using a script-local function requires using "s:" when
27070 setting 'completefunc'.
27071Solution: Do not require "s:" in Vim9 script. (closes #9796)
27072Files: runtime/doc/options.txt, src/userfunc.c,
27073 src/testdir/test_ins_complete.vim
27074
27075Patch 8.2.4417 (after 8.2.4416)
27076Problem: Using NULL pointer.
27077Solution: Set offset after checking for NULL pointer.
27078Files: src/userfunc.c
27079
27080Patch 8.2.4418
27081Problem: Crash when using special multi-byte character.
27082Solution: Don't use isalpha() for an arbitrary character.
27083Files: src/charset.c, src/proto/charset.pro, src/filepath.c,
27084 src/testdir/test_autochdir.vim
27085
27086Patch 8.2.4419
27087Problem: Illegal memory access when using exactly 20 highlights.
27088Solution: Add one more item in the array. (Brandon Richardson,
27089 closes #9800)
27090Files: src/buffer.c, src/testdir/test_tabline.vim
27091
27092Patch 8.2.4420
27093Problem: Menu translations are inconsistent.
27094Solution: Add a Makefile to convert between encodings. (Ada (Haowen) Yu,
27095 closes #9801)
27096Files: runtime/lang/Makefile, runtime/lang/menu_af_af.latin1.vim,
27097 runtime/lang/menu_ca_es.latin1.vim,
27098 runtime/lang/menu_chinese_gb.936.vim,
27099 runtime/lang/menu_chinese_taiwan.950.vim,
27100 runtime/lang/menu_cs_cz.iso_8859-2.vim,
27101 runtime/lang/menu_cs_cz.utf-8.vim,
27102 runtime/lang/menu_czech_czech_republic.1250.vim,
27103 runtime/lang/menu_czech_czech_republic.ascii.vim,
27104 runtime/lang/menu_da.utf-8.vim,
27105 runtime/lang/menu_de_de.latin1.vim,
27106 runtime/lang/menu_eo.utf-8.vim,
27107 runtime/lang/menu_es_es.latin1.vim,
27108 runtime/lang/menu_fi_fi.latin1.vim,
27109 runtime/lang/menu_fr_fr.latin1.vim,
27110 runtime/lang/menu_hu_hu.iso_8859-2.vim,
27111 runtime/lang/menu_hu_hu.utf-8.vim,
27112 runtime/lang/menu_is_is.latin1.vim,
27113 runtime/lang/menu_it_it.latin1.vim,
27114 runtime/lang/menu_ja_jp.euc-jp.vim,
27115 runtime/lang/menu_ja_jp.utf-8.vim,
27116 runtime/lang/menu_japanese_japan.932.vim,
27117 runtime/lang/menu_ko_kr.euckr.vim,
27118 runtime/lang/menu_ko_kr.utf-8.vim,
27119 runtime/lang/menu_nl_nl.latin1.vim,
27120 runtime/lang/menu_no_no.latin1.vim,
27121 runtime/lang/menu_pl_pl.iso_8859-2.vim,
27122 runtime/lang/menu_pl_pl.utf-8.vim,
27123 runtime/lang/menu_polish_poland.1250.vim,
27124 runtime/lang/menu_pt_br.vim, runtime/lang/menu_pt_pt.vim,
27125 runtime/lang/menu_ru.utf-8.vim,
27126 runtime/lang/menu_ru_ru.koi8-r.vim,
27127 runtime/lang/menu_ru_ru.utf-8.vim, runtime/lang/menu_ru_ru.vim,
27128 runtime/lang/menu_sk_sk.iso_8859-2.vim,
27129 runtime/lang/menu_sl_si.cp1250.vim,
27130 runtime/lang/menu_sl_si.latin2.vim,
27131 runtime/lang/menu_sl_si.utf-8.vim,
27132 runtime/lang/menu_slovak_slovak_republic.1250.vim,
27133 runtime/lang/menu_sr_rs.ascii.vim,
27134 runtime/lang/menu_sr_rs.iso_8859-2.vim,
27135 runtime/lang/menu_sr_rs.iso_8859-5.vim,
27136 runtime/lang/menu_sr_rs.utf-8.vim,
27137 runtime/lang/menu_sv_se.latin1.vim,
27138 runtime/lang/menu_tr_tr.cp1254.vim,
27139 runtime/lang/menu_tr_tr.iso_8859-9.vim,
27140 runtime/lang/menu_tr_tr.utf-8.vim,
27141 runtime/lang/menu_uk_ua.cp1251.vim,
27142 runtime/lang/menu_uk_ua.koi8-u.vim,
27143 runtime/lang/menu_uk_ua.utf-8.vim, runtime/lang/menu_vi_vn.vim,
27144 runtime/lang/menu_zh_cn.utf-8.vim,
27145 runtime/lang/menu_zh_tw.utf-8.vim
27146
27147Patch 8.2.4421
27148Problem: Some installed files and directories have wrong permissions.
27149Solution: Adjust the Makefile and shell to set permissions. (closes #9793)
27150Files: src/Makefile, src/installman.sh
27151
27152Patch 8.2.4422
27153Problem: Autochdir test fails on MS-Windows.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000027154Solution: Expect another error on MS-Windows.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000027155Files: src/testdir/test_autochdir.vim
27156
27157Patch 8.2.4423
27158Problem: "make nvcmdidxs" fails.
27159Solution: Use "-S" instead of "-u" to source the script.
27160Files: src/Makefile
27161
27162Patch 8.2.4424
27163Problem: ".gts" and ".gjs" files are not recognized.
27164Solution: Recognize Glimmer flavored typescript and javascript.
27165 (closes #9799)
27166Files: runtime/filetype.vim, src/testdir/test_filetype.vim
27167
27168Patch 8.2.4425
27169Problem: map() function does not check function arguments at compile time.
27170Solution: Give an error if the arguments of a map() function are wrong.
27171Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim,
27172 src/testdir/test_vim9_func.vim
27173
27174Patch 8.2.4426
27175Problem: map() function on string and blob does not check argument types at
27176 compile time.
27177Solution: Check string and blob argument types. Support "0z1234->func()".
27178Files: src/vim9compile.c, src/evalfunc.c, src/ex_docmd.c,
27179 src/testdir/test_vim9_builtin.vim
27180
27181Patch 8.2.4427
27182Problem: getchar() may return modifiers if no character is available.
27183Solution: Do not process modifiers when there is no character. (closes #9806)
27184Files: src/getchar.c, src/testdir/test_functions.vim
27185
27186Patch 8.2.4428
27187Problem: Crash when switching tabpage while in the cmdline window.
27188Solution: Disallow switching tabpage when in the cmdline window.
27189Files: src/window.c, src/proto/window.pro, src/evalvars.c,
27190 src/evalvars.c, src/usercmd.c
27191
27192Patch 8.2.4429
27193Problem: Using script-local function from the wrong script when using a
27194 partial. (Yegappan Lakshmanan)
27195Solution: Include the script ID in the partial name.
27196Files: src/userfunc.c, src/proto/userfunc.pro, src/evalfunc.c,
27197 src/vim9type.c, src/testdir/test_vim9_import.vim
27198
Bram Moolenaard799daa2022-06-20 11:17:32 +010027199Patch 8.2.4430
27200Problem: GTK: crash when using 'guiligatures' and reading from stdin.
27201Solution: Make a copy of the message. (Amon Sha, closes #9719, closes #9814)
27202Files: src/fileio.c
27203
27204Patch 8.2.4431
27205Problem: Unnecessary condition when assigning to a variable.
27206Solution: Remove the condition.
27207Files: src/evalvars.c
27208
27209Patch 8.2.4432 (after 8.2.4428)
27210Problem: Cannot use settabvar() while the cmdline window is open.
27211Solution: Only give an error when actually switching tabpage.
27212 (closes #9813)
27213Files: src/window.c
27214
27215Patch 8.2.4433
27216Problem: CI: cannot see interface versions for MS-Windows.
27217Solution: List the interface versions. (Ken Takata, closes #9811)
27218Files: .github/workflows/ci.yml
27219
27220Patch 8.2.4434
27221Problem: Duplicate check for cmdline window.
27222Solution: Remove the second check. (Sean Dewar, closes #9816)
27223Files: src/window.c
27224
27225Patch 8.2.4435
27226Problem: Dead code in checking map() arguments. (Dominique Pellé)
27227Solution: Remove the first return statement. (closes #9815)
27228Files: src/evalfunc.c
27229
27230Patch 8.2.4436
27231Problem: Crash with weird 'vartabstop' value.
27232Solution: Check for running into the end of the line.
27233Files: src/indent.c, src/testdir/test_vartabs.vim
27234
27235Patch 8.2.4437
27236Problem: Vartabs test fails on MS-Windows.
27237Solution: Use iso8859-1 'encoding'. (Ken Takata, closes #9818)
27238Files: src/testdir/test_vartabs.vim
27239
27240Patch 8.2.4438
27241Problem: Crash on exit when using cmdline window.
27242Solution: Reset "cmdwin_type" before exiting. (closes #9817)
27243Files: src/ui.c, src/testdir/test_exit.vim
27244
27245Patch 8.2.4439
27246Problem: Accepting "iso8859" 'encoding' as "iso-8859-".
27247Solution: use "iso8859" as "iso-8859-1".
27248Files: src/mbyte.c, src/testdir/test_options.vim
27249
27250Patch 8.2.4440
27251Problem: Crash with specific regexp pattern and string.
27252Solution: Stop at the start of the string.
27253Files: src/regexp_bt.c, src/testdir/test_regexp_utf8.vim
27254
27255Patch 8.2.4441
27256Problem: Vim9: function argument of filter() not checked like map().
27257Solution: Also check the function argument of filter().
27258Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
27259
27260Patch 8.2.4442 (after 8.2.4438)
27261Problem: Test for error reading input fails on MS-Windows.
27262Solution: Don't run the test on MS-Windows.
27263Files: src/testdir/test_exit.vim
27264
27265Patch 8.2.4443 (after 8.2.4440)
27266Problem: Regexp pattern test fails on Mac.
27267Solution: Do not use a swapfile for the buffer.
27268Files: src/testdir/test_regexp_utf8.vim
27269
27270Patch 8.2.4444
27271Problem: Beep caused by test. ASAN reports leaks.
27272Solution: Do not put a NL at the end of the script. Make the text work on
27273 MS-Windows. Do not run the test with ASAN.
27274Files: src/testdir/test_exit.vim
27275
27276Patch 8.2.4445
27277Problem: Exit test fails on MS-Windows anyway.
27278Solution: Skip the test on MS-Windows.
27279Files: src/testdir/test_exit.vim
27280
27281Patch 8.2.4446
27282Problem: Vim9: cannot refer to a global function like a local one.
27283Solution: When g:name is not a variable but a function, use a function
27284 reference. (closes #9826)
27285Files: src/vim9execute.c, src/testdir/test_vim9_builtin.vim
27286
27287Patch 8.2.4447
27288Problem: Vim9: can still use s:var in a compiled function.
27289Solution: Disallow using s:var for Vim9 script. (closes #9824)
27290Files: runtime/doc/vim9.txt, src/vim9expr.c, src/vim9compile.c,
27291 src/testdir/test_vim9_assign.vim
27292
27293Patch 8.2.4448 (after 8.2.4447)
27294Problem: Filetype detection is failing.
27295Solution: Do not use "s:" where it is no longer allowed.
27296Files: runtime/autoload/dist/ft.vim,
27297
27298Patch 8.2.4449
27299Problem: vim9: function argument of sort() not checked at compile time.
27300Solution: Add a compile time check.
27301Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
27302
27303Patch 8.2.4450 (after 8.2.4449)
27304Problem: List sort test fails.
27305Solution: Pass a valid "how" argument.
27306Files: src/testdir/test_listdict.vim
27307
27308Patch 8.2.4451 (after 8.2.4450)
27309Problem: sort() fails when ignoring case.
27310Solution: Accept a number one argument in sort().
27311Files: src/evalfunc.c, src/testdir/test_listdict.vim
27312
27313Patch 8.2.4452
27314Problem: Test for what 8.2.4436 fixes does not check for regression.
27315Solution: Set several options. (Ken Takata, closes #9830)
27316Files: src/testdir/test_vartabs.vim
27317
27318Patch 8.2.4453
27319Problem: :helpgrep may free an option that was not allocated. (Yegappan
27320 Lakshmanan)
27321Solution: Check if the value was allocated.
27322Files: src/option.c, src/proto/option.pro, src/quickfix.c,
27323 src/testdir/test_quickfix.vim
27324
27325Patch 8.2.4454
27326Problem: Resetting cmdwin_type only for one situation.
27327Solution: Reset cmdwin_type before closing windows. (closes #9822)
27328Files: src/ui.c, src/window.c, src/testdir/test_exit.vim
27329
27330Patch 8.2.4455
27331Problem: Accepting one and zero for the second sort() argument is strange.
27332Solution: Disallow using one and zero in Vim9 script.
27333Files: runtime/doc/builtin.txt, src/evalfunc.c, src/list.c,
27334 src/testdir/test_listdict.vim
27335
27336Patch 8.2.4456
27337Problem: Terminal test may fail on some machines.
27338Solution: Increase wait time. (Zdenek Dohnal, closes #9834)
27339Files: src/testdir/test_terminal.vim
27340
27341Patch 8.2.4457
27342Problem: The GPM library can only be linked statically.
27343Solution: Make it possible to load the GPM library dynamically. (Damien)
27344Files: runtime/doc/various.txt, src/config.h.in, src/configure.ac,
27345 src/Makefile, src/evalfunc.c, src/feature.h, src/os_unix.c,
27346 src/proto/os_unix.pro, src/version.c
27347
27348Patch 8.2.4458
27349Problem: Vim9: compiling filter() call fails with funcref that has unknown
27350 arguments.
27351Solution: Do not check the arguments if they are unknown at compile time.
27352 (closes #9835)
27353Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
27354
27355Patch 8.2.4459
27356Problem: Vim9: compiling sort() call fails with a funcref that has unknown
27357 arguments.
27358Solution: Do not check the arguments if they are unknown at compile time.
27359 (closes #9835)
27360Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
27361
27362Patch 8.2.4460
27363Problem: Vim9: wrong error for defining dict function.
27364Solution: Explicitly check for trying to define a dict function.
27365 (closes 9827)
27366Files: src/errors.h, src/userfunc.c, src/vim9compile.c,
27367 src/testdir/test_vim9_func.vim
27368
27369Patch 8.2.4461
27370Problem: MS-Windows: garbage characters on stdout with VIMDLL.
27371Solution: Don't call gui_focus_change() when about to quit. (Ken Takata,
27372 closes #9840)
27373Files: src/gui_w32.c
27374
27375Patch 8.2.4462
27376Problem: Not enough testing for quickfix code.
27377Solution: Add more tests. Fix uncovered problem. (Yegappan Lakshmanan,
27378 closes #9839)
27379Files: src/quickfix.c, src/window.c, src/testdir/test_makeencoding.vim,
27380 src/testdir/test_quickfix.vim
27381
27382Patch 8.2.4463
27383Problem: Completion only uses strict matching.
27384Solution: Add the "fuzzy" item for 'wildoptions'. (Yegappan Lakshmanan,
27385 closes #9803)
27386Files: runtime/doc/options.txt, src/buffer.c, src/cmdexpand.c,
27387 src/option.c, src/option.h, src/optionstr.c,
27388 src/proto/cmdexpand.pro, src/proto/option.pro,
27389 src/proto/search.pro, src/search.c, src/structs.h,
27390 src/testdir/gen_opt_test.vim, src/testdir/test_cmdline.vim
27391
27392Patch 8.2.4464
27393Problem: Dtrace files are recognized as filetype D.
27394Solution: Add a pattern for Dtrace files. (Teubel György, closes #9841)
27395 Add some more testing.
27396Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
27397 src/testdir/test_filetype.vim
27398
27399Patch 8.2.4465
27400Problem: Fuzzy completion does not order matches properly.
27401Solution: Do not use regular expression match. (Yegappan Lakshmanan,
27402 closes #9843)
27403Files: src/cmdexpand.c, src/search.c, src/testdir/test_cmdline.vim
27404
27405Patch 8.2.4466
27406Problem: MS-Windows: illegal memory access in installer when using
27407 "create-directories" as the final argument.
27408Solution: Check the argument count. (Cam Sinclair, closes #9844)
27409Files: src/dosinst.c
27410
27411Patch 8.2.4467
27412Problem: Running filetype test leaves file behind.
27413Solution: Delete the file.
27414Files: src/testdir/test_filetype.vim
27415
27416Patch 8.2.4468
27417Problem: Coverity warns for uninitialized struct member.
27418Solution: Set color.index to zero.
27419Files: src/terminal.c
27420
27421Patch 8.2.4469
27422Problem: Coverity warns for uninitialized variable.
27423Solution: Set the value to zero.
27424Files: src/ex_getln.c
27425
27426Patch 8.2.4470
27427Problem: Coverity warns for uninitialized variable.
27428Solution: Set can_spell to zero.
27429Files: src/drawline.c
27430
27431Patch 8.2.4471
27432Problem: Coverity warns for uninitialized variable.
27433Solution: Set flags to zero.
27434Files: src/vim9cmds.c
27435
27436Patch 8.2.4472
27437Problem: Coverity warns for use of a freed function name.
27438Solution: Only check an autoload name when is prefixed.
27439Files: src/userfunc.c
27440
27441Patch 8.2.4473
27442Problem: Coverity warnds for not checking return value of ftell().
27443Solution: Bail out if ftell() returns a negative value.
27444Files: src/spellfile.c
27445
27446Patch 8.2.4474
27447Problem: Memory allocation failures not tested in quickfix code.
27448Solution: Add alloc IDs and tests. (Yegappan Lakshmanan, closes #9848)
27449Files: src/alloc.h, src/quickfix.c, src/vim.h,
27450 src/testdir/test_quickfix.vim
27451
27452Patch 8.2.4475
27453Problem: Fuzzy cmdline completion does not work for lower case.
27454Solution: Also use fuzzy completion for lower case input. (Yegappan
27455 Lakshmanan, closes #9849)
27456Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
27457
27458Patch 8.2.4476
27459Problem: Operator name spelled wrong.
27460Solution: Change trinary to ternary. (Goc Dundar, closes #9850)
27461Files: src/testdir/test_expr.vim, src/testdir/test_vim9_expr.vim,
27462 src/testdir/test_vimscript.vim
27463
27464Patch 8.2.4477
27465Problem: Crash when using fuzzy completion.
27466Solution: Temporary fix: put back regexp. (closes #9851)
27467Files: src/cmdexpand.c
27468
27469Patch 8.2.4478
27470Problem: Crash when using fuzzy completion.
27471Solution: Temporary fix: put back regexp. (closes #9852, closes #9851)
27472Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
27473
27474Patch 8.2.4479
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010027475Problem: No fuzzy completion for maps and abbreviations.
Bram Moolenaard799daa2022-06-20 11:17:32 +010027476Solution: Fuzzy complete maps and abbreviations. (Yegappan Lakshmanan,
27477 closes #9856)
27478Files: src/cmdexpand.c, src/map.c, src/proto/map.pro, src/search.c,
27479 src/testdir/test_cmdline.vim
27480
27481Patch 8.2.4480
27482Problem: Suspending with CTRL-Z does not work on Android.
27483Solution: Do not handle SIGTSTP. (closes #9854)
27484Files: src/os_unix.c
27485
27486Patch 8.2.4481
27487Problem: Cmdline popup menu not removed when 'lazyredraw' is set.
27488Solution: Temporarily reset 'lazyredraw' when removing the popup menu.
27489 (closes #9857)
27490Files: src/cmdexpand.c, src/testdir/test_cmdline.vim,
27491 src/testdir/dumps/Test_wildmenu_pum_41.dump
27492
27493Patch 8.2.4482
27494Problem: No fuzzy cmdline completion for user defined completion.
27495Solution: Add fuzzy completion for user defined completion. (Yegappan
27496 Lakshmanan, closes #9858)
27497Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
27498
27499Patch 8.2.4483
27500Problem: Command completion makes two rounds to collect matches.
27501Solution: Use a growarray to collect matches. (Yegappan Lakshmanan,
27502 closes #9860)
27503Files: src/buffer.c, src/cmdexpand.c, src/map.c,
27504 src/testdir/test_cmdline.vim
27505
27506Patch 8.2.4484
27507Problem: Vim9: some error messages are not tested.
27508Solution: Add a few more test cases. Delete dead code.
27509Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim,
27510 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim
27511
27512Patch 8.2.4485
27513Problem: Compiler warning for uninitialized variable.
27514Solution: Initialize the variable. (John Marriott)
27515Files: src/cmdexpand.c
27516
27517Patch 8.2.4486
27518Problem: MS-Windows GUI: slow scrolling with maximized window.
27519Solution: Use a better way to check the window is on screen. (Ken Takata,
27520 closes #9865)
27521Files: src/gui_w32.c
27522
27523Patch 8.2.4487
27524Problem: Vim9: cannot compare with v:null.
27525Solution: Allow comparing anything with v:null. (closes #9866)
27526Files: src/vim9instr.c, src/typval.c, src/proto/typval.pro,
27527 src/vim9.h, src/vim9execute.c, src/evalvars.c,
27528 src/testdir/test_vim9_expr.vim,
27529 src/testdir/test_vim9_disassemble.vim
27530
27531Patch 8.2.4488 (after 8.2.4487)
27532Problem: Build error with +eval but without +channel or +job.
27533Solution: Add #ifdef. (John Marriott)
27534Files: src/typval.c
27535
27536Patch 8.2.4489 (after 8.2.4487)
27537Problem: Failing test for comparing v:null with number.
27538Solution: Allow comparing v:null with number in legacy script.
27539 (Ken Takata, closes #9873) Also do this for float.
27540Files: src/typval.c, src/testdir/test_vimscript.vim
27541
27542Patch 8.2.4490
27543Problem: Terminal focus reporting only works for xterm-like terminals.
27544 (Jonathan Rascher)
27545Solution: Remove the "focus_mode" flag. (closes #9859)
27546Files: src/term.c
27547
27548Patch 8.2.4491
27549Problem: MS-Windows makefile dependencies are outdated.
27550Solution: Update dependencies. (Ken Takata, closes #9876)
27551Files: src/Make_cyg_ming.mak, src/Make_mvc.mak
27552
27553Patch 8.2.4492
27554Problem: No error if an option is given an invalid value with
27555 ":let &opt = val".
27556Solution: Give the error. (closes #9864)
27557Files: src/evalvars.c, src/testdir/test_options.vim
27558
27559Patch 8.2.4493 (after 8.2.4492)
27560Problem: Options test fails in the GUI.
27561Solution: Do not save and restore 'term'.
27562Files: src/testdir/gen_opt_test.vim
27563
27564Patch 8.2.4494
27565Problem: The find_tags() function is much too long.
27566Solution: Refactor the function. (Yegappan Lakshmanan, closes #9869)
27567Files: src/quickfix.c, src/tag.c, src/testdir/test_tagjump.vim
27568
27569Patch 8.2.4495
27570Problem: Help test fails in 24 line terminal.
27571Solution: Use up to 23 lines for text.
27572Files: src/testdir/test_help.vim
27573
27574Patch 8.2.4496 (after 8.2.4494)
27575Problem: Coverity gives warnings after tags code refactoring.
27576Solution: Avoid the warnings. (Yegappan Lakshmanan, closes #9882)
27577Files: src/tag.c
27578
27579Patch 8.2.4497
27580Problem: Wrong color for half of wide character next to pum scrollbar.
27581Solution: Redraw the screen cell with the right color. (closes #9874)
27582Files: src/screen.c, src/testdir/test_ins_complete.vim,
27583 src/testdir/dumps/Test_scrollbar_on_wide_char.dump
27584
27585Patch 8.2.4498
27586Problem: Using <Plug> with "noremap" does not work.
27587Solution: Always remap <Plug>. (closes #9879, closes #9789)
27588Files: runtime/doc/map.txt, src/getchar.c, src/testdir/test_mapping.vim
27589
27590Patch 8.2.4499
27591Problem: Vim9: at the script level declarations leak from try block to
27592 catch and finally block.
27593Solution: End the block and start a new one. (closes #9883)
27594Files: src/ex_eval.c, src/testdir/test_vim9_script.vim
27595
27596Patch 8.2.4500
27597Problem: Vim9: can declare a global variable on the command line.
27598Solution: Disallow declaring a variable on the command line. (closes #9881)
27599Files: src/errors.h, src/evalvars.c, src/testdir/test_vim9_assign.vim,
27600 src/testdir/test_vim9_script.vim,
27601 src/testdir/dumps/Test_vim9_reject_declaration.dump
27602
27603Patch 8.2.4501
27604Problem: With 'showbreak' set and after the end of the line the cursor
27605 may be displayed in the wrong position.
27606Solution: Do not apply 'showbreak' after the end of the line. (closes #9884)
27607Files: src/charset.c, src/testdir/test_breakindent.vim,
27608 src/testdir/dumps/Test_cursor_position_with_showbreak.dump
27609
27610Patch 8.2.4502
27611Problem: In the GUI a modifier is not recognized for the key typed after
27612 CTRL-X, which may result in a mapping to be used. (Daniel
27613 Steinberg)
27614Solution: Recognize a modifier starting with CSI. (closes #9889)
27615Files: src/getchar.c, src/testdir/test_ins_complete.vim
27616
27617Patch 8.2.4503
27618Problem: Vim9: there is no point in supporting :Print and :mode.
27619Solution: Do not recognize :Print and :mode as commands. (closes #9870)
27620Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
27621
27622Patch 8.2.4504
27623Problem: When there is a partially matching map and modifyOtherKeys is
27624 active a full map may not work.
27625Solution: Only simplify modifiers when there is no matching mapping.
27626 (closes #8792)
27627Files: src/getchar.c, src/testdir/test_termcodes.vim
27628
27629Patch 8.2.4505
27630Problem: Vim9: outdated "autocmd nested" still works.
27631Solution: Do not accept the :autocmd argument "nested" without "++" in Vim9
27632 script.
27633Files: src/autocmd.c, src/errors.h, src/testdir/test_autocmd.vim
27634
27635Patch 8.2.4506
27636Problem: "pattern not found" for :global is not an error message.
27637Solution: In Vim9 script make this an actual error, so that try/catch can be
27638 used as expected.
27639Files: src/ex_cmds.c, src/errors.h, src/testdir/test_global.vim
27640
27641Patch 8.2.4507 (after 8.2.4506)
27642Problem: Test fails because of new error message.
27643Solution: Avoid the test fails.
27644Files: src/testdir/test_vim9_cmd.vim
27645
27646Patch 8.2.4508
27647Problem: Vim9: cannot assign to a global variable on the command line.
27648Solution: Allow using :vim9cmd for assignment on the command line.
27649Files: src/evalvars.c, src/testdir/test_vim9_script.vim,
27650 src/testdir/dumps/Test_vim9_reject_declaration.dump,
27651 src/testdir/dumps/Test_vim9_reject_declaration_1.dump,
27652 src/testdir/dumps/Test_vim9_reject_declaration_2.dump
27653
27654Patch 8.2.4509
27655Problem: Vim9: can declare a variable with ":va".
27656Solution: Disallow using ":va", require using ":var".
27657Files: src/evalvars.c, src/errors.h, src/vim9compile.c,
27658 src/testdir/test_vim9_assign.vim
27659
27660Patch 8.2.4510
27661Problem: Vim9: shortening commands leads to confusing script.
27662Solution: In Vim9 script require at least ":cont" for ":continue", "const"
27663 instead of "cons", "break" instead of "brea", "catch" instead of
27664 "cat", "else" instead of "el" "elseif" instead of "elsei" "endfor"
27665 instead of "endfo" "endif" instead of "en" "endtry" instead of
27666 "endt", "finally" instead of "fina", "throw" instead of "th",
27667 "while" instead of "wh".
27668Files: src/ex_cmds.h, src/ex_docmd.c, src/errors.h, src/evalvars.c,
27669 src/vim9compile.c, src/testdir/test_vim9_script.vim
27670
27671Patch 8.2.4511
27672Problem: Filetype test fails.
27673Solution: Change "endw" to "endwhile".
27674Files: runtime/autoload/dist/ft.vim
27675
27676Patch 8.2.4512
27677Problem: The find_tags_in_file() function is much too long.
27678Solution: Refactor into multiple smaller functions. (Yegappan Lakshmanan,
27679 closes #9892)
27680Files: Filelist, src/Makefile, src/quickfix.c, src/tag.c,
27681 src/testdir/test83-tags2, src/testdir/test83-tags3,
27682 src/testdir/test_tagjump.vim
27683
27684Patch 8.2.4513
27685Problem: Window-local directory is not applied if 'acd' fails.
27686Solution: Don't call do_autochdir(). (closes #9891)
27687Files: src/window.c, src/testdir/test_autochdir.vim
27688
27689Patch 8.2.4514
27690Problem: Vim9: some flow commands can be shortened.
27691Solution: Also require using the full name for ":return", ":enddef",
27692 ":continue", ":export" and ":import".
27693Files: src/ex_cmds.h, src/ex_docmd.c, src/errors.h, src/userfunc.c,
27694 src/testdir/test_vim9_script.vim
27695
27696Patch 8.2.4515
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010027697Problem: Old substitute syntax is still supported.
Bram Moolenaard799daa2022-06-20 11:17:32 +010027698Solution: Disallow using backslash after ":s" in Vim9 script.
27699Files: src/ex_cmds.c, src/errors.h, src/testdir/test_substitute.vim
27700
27701Patch 8.2.4516 (after 8.2.4515)
27702Problem: Build failure without the +eval feature.
27703Solution: Move error message outside of #ifdef.
27704Files: src/errors.h
27705
27706Patch 8.2.4517
27707Problem: MS-Windows: cannot specify location of sodium library.
27708Solution: Allow for using a path for SODIUM. (Ken Takata, closes #9896)
27709Files: src/Make_cyg_ming.mak
27710
27711Patch 8.2.4518
27712Problem: The binary tag search feature is always enabled.
27713Solution: Remove the #ifdefs. Add a few more tests. (Yegappan Lakshmanan,
27714 closes #9893)
27715Files: src/evalfunc.c, src/feature.h, src/tag.c, src/version.c,
27716 src/testdir/test_tagjump.vim, src/testdir/test_taglist.vim
27717
27718Patch 8.2.4519
27719Problem: Vim9: Can still use ":fini" and ":finis" for ":finish".
27720Solution: Require using ":finish".
27721Files: src/ex_cmds.h, src/testdir/test_vim9_script.vim
27722
27723Patch 8.2.4520
27724Problem: Using wrong highlight for cursor line number.
27725Solution: Take filler lines into account when using CursorLineNr.
27726 (closes #9897)
27727Files: src/drawline.c, src/testdir/test_diffmode.vim,
27728 src/testdir/dumps/Test_diff_with_cursorline_number_01.dump,
27729 src/testdir/dumps/Test_diff_with_cursorline_number_02.dump
27730
27731Patch 8.2.4521 (after 8.2.4520)
27732Problem: Build failure without the +diff feature. (John Marriott)
27733Solution: Define filler+lines if not declaring it.
27734Files: src/drawline.c
27735
27736Patch 8.2.4522 (after 8.2.4492)
27737Problem: GUI test fails with Motif. (Dominique Pellé)
27738Solution: Remove using an invalid value for 'guifontset'.
27739Files: src/testdir/test_gui.vim
27740
27741Patch 8.2.4523
27742Problem: When gvim is started maximized the 'window' option isn't set
27743 properly. (Christian J. Robinson)
27744Solution: Check if 'windows' was already set or not. (Ken Takata,
27745 closes #9904)
27746Files: src/term.c
27747
27748Patch 8.2.4524
27749Problem: MS-Windows: cannot build with some sodium libraries.
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010027750Solution: Make the DLL name configurable. Add build instructions.
Bram Moolenaard799daa2022-06-20 11:17:32 +010027751 (Ken Takata, closes #9905)
27752Files: src/INSTALLpc.txt, src/Make_cyg_ming.mak, src/Make_mvc.mak,
27753 src/crypt.c
27754
27755Patch 8.2.4525
27756Problem: Some GUI tests don't work on Athena.
27757Solution: Skip tests that won't work. (Yegappan Lakshmanan, closes #9902)
27758Files: src/testdir/test_gui.vim
27759
27760Patch 8.2.4526
27761Problem: Vim9: cannot set variables to a null value.
27762Solution: Add null_list, null_job, etc.
27763Files: runtime/doc/vim9.txt, src/eval.c, src/proto/eval.pro,
27764 src/vim9expr.c, src/vim9script.c, src/vim9instr.c,
27765 src/vim9compile.c, src/vim9execute.c, src/vim9.h, src/vim9type.c,
27766 src/evalvars.c, src/testdir/test_vim9_assign.vim,
27767 src/testdir/test_vim9_disassemble.vim,
27768 src/testdir/test_vim9_func.vim, src/testdir/test_expr.vim
27769
27770Patch 8.2.4527
27771Problem: The Athena GUI is old and does not work well.
27772Solution: Remove the Athena GUI from configure to find out who still wants
27773 support for this GUI.
27774Files: src/configure.ac, src/auto/configure, src/Makefile
27775
27776Patch 8.2.4528
27777Problem: Crash when using null_function for a partial.
27778Solution: Don't call fname_trans_sid() with NULL. (closes #9908)
27779Files: src/userfunc.c, src/testdir/test_vim9_func.vim
27780
27781Patch 8.2.4529
27782Problem: Vim9: comparing partial with function fails.
27783Solution: Support this comparison. Avoid a crash. (closes #9909)
27784 Add more test cases.
27785Files: src/vim9instr.c, src/userfunc.c, src/vim9type.c,
27786 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim,
27787 src/testdir/test_vim9_func.vim, src/testdir/test_vimscript.vim
27788
27789Patch 8.2.4530
27790Problem: Making comparison with null work changes legacy behavior.
27791Solution: Only use the better comparison in Vim9 script. (closes #9910)
27792Files: src/typval.c, src/testdir/test_expr.vim
27793
27794Patch 8.2.4531
27795Problem: LGTM warnings for condition always true and buffer size too small.
27796Solution: Remove the useless condition. Make the buffer larger. (Goc
27797 Dundar, closes #9914)
27798Files: src/charset.c, src/term.c
27799
27800Patch 8.2.4532
27801Problem: Suspending with CTRL-Z does not work on OpenBSD.
27802Solution: Adjust #ifdef for SIGTSTP. (Stuart Henderson, closes #9912)
27803Files: src/os_unix.c
27804
27805Patch 8.2.4533
27806Problem: Vim9: no test that after assigning null the type is still checked.
27807Solution: Add a test.
27808Files: src/testdir/test_vim9_assign.vim
27809
27810Patch 8.2.4534
27811Problem: Vim9: "is" operator with empty string and null returns true.
27812Solution: Consider empty string and null to be different for "is".
27813Files: src/typval.c, src/vim9execute.c, src/testdir/test_vim9_expr.vim
27814
27815Patch 8.2.4535
27816Problem: Filename modifer ":8" removes the filename.
27817Solution: Use strncpy() instead of vim_strncpy(). (Christian Brabandt,
27818 closes #9918, closes #8600)
27819Files: src/filepath.c, src/testdir/test_shortpathname.vim
27820
27821Patch 8.2.4536 (after 8.2.4534)
27822Problem: Debugger test fails when breaking on expression.
27823Solution: Compare strings with "==" instead of "is".
27824Files: src/debugger.c
27825
27826Patch 8.2.4537
27827Problem: Output from linter and language server shows up in git.
27828Solution: Add patterns to .gitignore. (Goc Dundar, closes #9925)
27829Files: .gitignore
27830
27831Patch 8.2.4538
27832Problem: The find_tags_in_file() function is too long.
27833Solution: Refactor into smaller functions. (Yegappan Lakshmanan,
27834 closes #9920)
27835Files: src/tag.c, src/testdir/test_tagjump.vim
27836
27837Patch 8.2.4539
27838Problem: When comparing special v:none and v:null are handled the same when
27839 compiling.
27840Solution: Pass more information so that v:none can be handled differently at
27841 compile time. (issue #9923)
27842Files: src/vim9instr.c, src/vim9compile.c, src/globals.h,
27843 src/testdir/test_vim9_expr.vim
27844
27845Patch 8.2.4540
27846Problem: Line number for error is off by one.
27847Solution: Remember the line number of the comparison. (closes #9923)
27848Files: src/eval.c, src/testdir/test_vim9_expr.vim
27849
27850Patch 8.2.4541
27851Problem: Crash in debugger when a variable is not available in the current
27852 block.
27853Solution: Check for a NULL name. (closes #9926)
27854Files: src/vim9execute.c, src/testdir/test_debugger.vim
27855
27856Patch 8.2.4542
27857Problem: Vim9: "break" inside try/catch not handled correctly.
27858Solution: First jump to :endtry. (closes #9927)
27859Files: src/vim9cmds.c, src/vim9.h, src/testdir/test_vim9_script.vim
27860
27861Patch 8.2.4543
27862Problem: Coverity warning for refactored tag search code.
27863Solution: Avoid the warnings. Update comments. Add one more test case.
27864 (Yegappan Lakshmanan, closes #9928)
27865Files: src/tag.c, src/testdir/test_tagjump.vim
27866
27867Patch 8.2.4544
27868Problem: Coverity warnings for not using returned value.
27869Solution: Assign to vim_ignored.
27870Files: src/tag.c
27871
27872Patch 8.2.4545
27873Problem: MS-Windows: the installed icon is low resolution.
27874Solution: Use a better icon. Install vim.ico. (Christian Brabandt,
27875 closes #9931, closes #9930)
27876Files: Filelist, nsis/gvim.nsi, src/vim.ico, runtime/bitmaps/vim.ico
27877
27878Patch 8.2.4546
27879Problem: Duplicate #undef.
27880Solution: Remove one #undef. (closes #9932)
27881Files: src/regexp_nfa.c
27882
27883Patch 8.2.4547
27884Problem: The neXTaw GUI is old and does not work well.
27885Solution: Remove the neXTaw GUI from configure to find out who still wants
27886 support for this GUI.
27887Files: src/configure.ac, src/auto/configure, src/Makefile
27888
27889Patch 8.2.4548
27890Problem: Script-local function is deleted when used in a funcref.
27891Solution: Do not consider a function starting with "<SNR>" reference
27892 counted. (closes #9916, closes #9820)
27893Files: src/userfunc.c, src/testdir/test_vim9_func.vim
27894
27895Patch 8.2.4549
27896Problem: Cannot build with Motif and editres. (Tony Mechelynck)
27897Solution: Fix configure mistake.
27898Files: src/configure.ac, src/auto/configure
27899
27900Patch 8.2.4550
27901Problem: Motif: cannot set the color of the scrollbar thumb.
27902Solution: Remove #ifdef.
27903Files: src/gui_motif.c
27904
27905Patch 8.2.4551
27906Problem: When mapping <Esc> terminal codes are not recognized.
27907Solution: Specifically recognize a mapping with just <Esc> and check for
27908 terminal codes even though there is no partial mapping.
27909 (closes #9903)
27910Files: src/getchar.c, src/testdir/test_termcodes.vim
27911
27912Patch 8.2.4552
27913Problem: In a :def function "put = expr" does not work.
27914Solution: Skip over white space. (closes #9936)
27915Files: src/vim9cmds.c, src/testdir/test_vim9_cmd.vim
27916
27917Patch 8.2.4553
27918Problem: Linear tag search is a bit slow.
27919Solution: Remove a vim_ftell() call. (Yegappan Lakshmanan, closes #9937)
27920Files: src/tag.c, src/testdir/test_taglist.vim
27921
27922Patch 8.2.4554
27923Problem: Vim9: using null values not sufficiently tested.
27924Solution: Add more tests. Fix uncovered problem.
27925Files: src/vim9type.c, src/testdir/test_vim9_assign.vim,
27926 src/testdir/test_vim9_func.vim
27927
27928Patch 8.2.4555
27929Problem: getmousepos() returns the wrong column. (Ernie Rael)
27930Solution: Limit to the text size, not the number of bytes.
27931Files: src/mouse.c, src/testdir/test_functions.vim
27932
27933Patch 8.2.4556
27934Problem: Test fails without the +job or +channel feature. (Dominique Pellé)
27935Solution: Adjust #ifdefs. Pass on skip flag. (closes #9942)
27936Files: src/eval.c, src/vim9compile.c
27937
27938Patch 8.2.4557
27939Problem: Confusing comment about 'cursorlineopt'.
27940Solution: Adjust comment. (closes #9939) Add parenthesis around logical
27941 OR.
27942Files: src/drawline.c
27943
27944Patch 8.2.4558
27945Problem: Motif: using default colors does not work as expected.
27946Solution: Do not try to store the default colors, use the resources.
27947 (closes #9933)
27948Files: src/gui_motif.c, src/gui.h
27949
27950Patch 8.2.4559 (after 8.24555)
27951Problem: getmousepos() returns the screen column. (Ernie Rael)
27952Solution: Return the text column, as documented.
27953Files: src/mouse.c, src/testdir/test_functions.vim
27954
27955Patch 8.2.4560
27956Problem: Suspending with CTRL-Z does not work on DragonFlyBSD.
27957Solution: Adjust #ifdef. (Ozaki Kiichi, closes #9943)
27958Files: src/os_unix.c
27959
27960Patch 8.2.4561
27961Problem: Build failure with some combination of features. (John Marriott)
27962Solution: Adjust #ifdef.
27963Files: src/mouse.c
27964
27965Patch 8.2.4562
27966Problem: Linear tag search is not optimal.
27967Solution: Improve linear tag search performance. (Yegappan Lakshmanan,
27968 closes #9944)
27969Files: src/tag.c
27970
27971Patch 8.2.4563
27972Problem: "z=" in Visual mode may go beyond the end of the line.
27973Solution: Adjust "badlen".
27974Files: src/spellsuggest.c, src/testdir/test_spell.vim
27975
27976Patch 8.2.4564
27977Problem: Running test leaves file behind. (Dominique Pellé)
27978Solution: Run the profiling in a separate Vim instance. (closes #9952)
27979Files: src/testdir/test_vim9_script.vim
27980
27981Patch 8.2.4565
27982Problem: No command line completion for :breakadd and :breakdel.
27983Solution: Add completion for :breakadd and :breakdel. (Yegappan Lakshmanan,
27984 closes #9950)
27985Files: runtime/doc/builtin.txt, src/cmdexpand.c, src/spellsuggest.c,
27986 src/usercmd.c, src/vim.h, src/testdir/test_cmdline.vim,
27987 src/testdir/test_writefile.vim
27988
27989Patch 8.2.4566
27990Problem: Check for existing buffer in session file does not work for files
27991 in the home directory.
27992Solution: Use fnamemodify(). (James Cherti, closes #9945) Add a test.
27993Files: src/session.c, src/testdir/test_mksession.vim
27994
27995Patch 8.2.4567
27996Problem: Bracketed paste doesn't work well in Visual linewise mode.
27997Solution: Handle linewise Visual mode differently. (closes #9947)
27998Files: src/normal.c, src/testdir/test_paste.vim
27999
28000Patch 8.2.4568
28001Problem: getmousepos() does not compute the column below the last line.
28002Solution: Also compute the column when the mouse is below the last line.
28003 (Sean Dewar, closes #9946)
28004Files: src/mouse.c, src/testdir/test_functions.vim
28005
28006Patch 8.2.4569
28007Problem: Coverity warning for not using a return value.
28008Solution: Add "(void)".
28009Files: src/popupwin.c
28010
28011Patch 8.2.4570
28012Problem: No command line completion for :profile and :profdel.
28013Solution: Implement completion. (Yegappan Lakshmanan, closes #9955)
28014Files: src/cmdexpand.c, src/profiler.c, src/testdir/test_cmdline.vim,
28015 src/testdir/test_profile.vim
28016
28017Patch 8.2.4571
28018Problem: Not all gdb files are recognized.
28019Solution: Add a few more patterns for gdb. (Jade Lovelace, closes #9956)
28020Files: runtime/filetype.vim, src/testdir/test_filetype.vim
28021
28022Patch 8.2.4572
28023Problem: Vim9: return type "any" is sometimes changed to first returned
28024 type. (Virginia Senioria)
28025Solution: Do not change the return type if declared as "any". (closes #9949)
28026Files: src/vim9cmds.c, src/testdir/test_vim9_func.vim
28027
28028Patch 8.2.4573
28029Problem: A nested function (closure) is compiled for debugging without
28030 context.
28031Solution: Check if a nested function is marked for debugging before
28032 compiling it. Give an error when trying to compile a closure
28033 without its context. (closes #9951)
28034Files: src/vim9compile.c, src/vim9execute.c, src/proto/vim9execute.pro,
28035 src/vim9expr.c, src/errors.h
28036
28037Patch 8.2.4574
28038Problem: Vim9: test for profiling fails.
28039Solution: Mark function for profiling earlier to avoid E1271.
28040Files: src/testdir/test_vim9_script.vim
28041
28042Patch 8.2.4575
28043Problem: Vim9: test for profiling still fails.
28044Solution: Update flags for profiling and breakpoints when obtaining the
28045 compile type. Do not set the FC_CLOSURE flag for a toplevel
28046 function.
28047Files: src/vim.h, src/vim9compile.c, src/proto/vim9compile.pro,
28048 src/eval.c, src/vim9execute.c, src/vim9expr.c, src/vim9instr.c,
28049 src/vim9.h
28050
28051Patch 8.2.4576
28052Problem: Vim9: error for comparing with null can be annoying.
28053Solution: Allow comparing anything with null. (closes #9948)
28054Files: src/vim9instr.c, src/typval.c, src/testdir/test_vim9_expr.vim
28055
28056Patch 8.2.4577
28057Problem: Message test is flaky. (Elimar Riesebieter)
28058Solution: Trigger the autocommand event only after startup is finished.
28059Files: src/testdir/test_messages.vim
28060
28061Patch 8.2.4578
28062Problem: No warning when an autoload script for completion function has an
28063 error.
28064Solution: Do not ignore errors when a function name is given with a dot or
28065 '#' character. (closes #9958)
28066Files: src/eval.c, src/testdir/test_cmdline.vim
28067
28068Patch 8.2.4579
28069Problem: Cannot use page-up and page-down in the command line completion
28070 popup menu.
28071Solution: Check for to page-up and page-down keys. (Yegappan Lakshmanan,
28072 closes #9960)
28073Files: src/cmdexpand.c, src/ex_getln.c, src/spellsuggest.c, src/vim.h,
28074 src/testdir/test_cmdline.vim,
28075 src/testdir/dumps/Test_wildmenu_pum_42.dump,
28076 src/testdir/dumps/Test_wildmenu_pum_43.dump,
28077 src/testdir/dumps/Test_wildmenu_pum_44.dump,
28078 src/testdir/dumps/Test_wildmenu_pum_45.dump,
28079 src/testdir/dumps/Test_wildmenu_pum_46.dump,
28080 src/testdir/dumps/Test_wildmenu_pum_47.dump,
28081 src/testdir/dumps/Test_wildmenu_pum_48.dump,
28082 src/testdir/dumps/Test_wildmenu_pum_49.dump,
28083 src/testdir/dumps/Test_wildmenu_pum_50.dump
28084
28085Patch 8.2.4580
28086Problem: Vim9: incorrect error for shadowing variable.
28087Solution: Do not pass the context when compiling a referenced function.
28088Files: src/vim9expr.c, src/testdir/test_vim9_func.vim
28089
28090Patch 8.2.4581
28091Problem: Null types not fully tested.
28092Solution: Add some more tests using null types.
28093Files: src/testdir/test_vim9_expr.vim
28094
28095Patch 8.2.4582
28096Problem: Useless code handling a type declaration.
28097Solution: Remove the code and give an error.
28098Files: src/eval.c, src/errors.h, src/testdir/test_vim9_script.vim,
28099 src/testdir/dumps/Test_misplaced_type.dump
28100
28101Patch 8.2.4583 (after 8.2.4582)
28102Problem: Screendump test fails.
28103Solution: Check that making a screendump is possible.
28104Files: src/testdir/test_vim9_script.vim
28105
28106Patch 8.2.4584 (after 8.2.4578)
28107Problem: Error for using autoload function in custom completion.
28108Solution: Do not check for errors when using an autoload function.
28109 (closes #9962)
28110Files: src/eval.c, src/testdir/test_cmdline.vim
28111
28112Patch 8.2.4585
28113Problem: Cannot use keypad page-up/down for completion menu.
28114Solution: Recognize the keypad keys. (Yegappan Lakshmanan, closes #9963)
28115Files: src/ex_getln.c, src/testdir/test_cmdline.vim
28116
28117Patch 8.2.4586
28118Problem: Vim9: no error for using lower case name for "func" argument.
28119 (Ernie Rael)
28120Solution: Check the name as soon as the type is known.
28121Files: src/userfunc.c, src/testdir/test_vim9_func.vim
28122
28123Patch 8.2.4587
28124Problem: Vim9: double free after unpacking a list.
28125Solution: Make a copy of the value instead of moving it. (closes #9968)
28126Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
28127
28128Patch 8.2.4588
28129Problem: Mapping with key code after other matching mapping does not work.
28130Solution: Change ">" to ">=". (closes #9903)
28131Files: src/getchar.c, src/testdir/test_termcodes.vim
28132
28133Patch 8.2.4589
28134Problem: Cannot index the g: dictionary.
28135Solution: Recognize using "g:[key]". (closes #9969)
28136Files: src/ex_docmd.c, src/eval.c, src/vim9compile.c,
28137 src/testdir/test_vim9_assign.vim
28138
28139Patch 8.2.4590
28140Problem: Vim9: range type check has wrong offset.
28141Solution: Adjust offset for CHECKTYPE. Remove other type check.
28142Files: src/vim9compile.c, src/vim9execute.c,
28143 src/testdir/test_vim9_assign.vim
28144
28145Patch 8.2.4591
28146Problem: Cursor line not updated when a callback moves the cursor.
28147Solution: Check if the cursor moved. (closes #9970)
28148Files: src/main.c, src/drawscreen.c, src/proto/drawscreen.pro,
28149 src/testdir/test_cursorline.vim,
28150 src/testdir/dumps/Test_cursorline_callback_1.dump
28151
28152Patch 8.2.4592
28153Problem: Search continues after giving E1204.
28154Solution: Return failure after giving E1204. (closes #9972)
28155Files: src/regexp_nfa.c
28156
28157Patch 8.2.4593
28158Problem: Unnecessary call to redraw_later().
28159Solution: Remove the call to redraw_later() in op_yank(). (closes #9971)
28160Files: src/register.c
28161
28162Patch 8.2.4594
28163Problem: Need to write script to a file to be able to source them.
28164Solution: Make ":source" use lines from the current buffer. (Yegappan
28165 Lakshmanan et al., closes #9967)
28166Files: runtime/doc/repeat.txt, runtime/doc/todo.txt, src/alloc.c,
28167 src/digraph.c, src/eval.c, src/ex_cmds.h, src/scriptfile.c,
28168 src/proto/scriptfile.pro, src/vim9script.c,
28169 src/testdir/test_source.vim
28170
28171Patch 8.2.4595
28172Problem: X11: using --remote-wait may keep the CPU busy.
28173Solution: Set the timeout for select() on every call. (Jacopo Secchiero,
28174 closes #9973)
28175Files: src/if_xcmdsrv.c
28176
28177Patch 8.2.4596
28178Problem: Installing tutor binary may fail.
28179Solution: Fix the dependency. (Sergei Trofimovich, closes #9978)
28180Files: src/Makefile
28181
28182Patch 8.2.4597
28183Problem: LuaV_debug() not covered by tests.
28184Solution: Add a test. (Dominique Pellé, closes #9980)
28185Files: src/testdir/test_lua.vim
28186
28187Patch 8.2.4598
28188Problem: Profile completion test sometimes fails.
28189Solution: Delete the .res file before running tests.
28190Files: src/testdir/runtest.vim
28191
28192Patch 8.2.4599
28193Problem: GTK: get assertion errors when scrolling a split window.
28194Solution: Use GDK_IS_DRAWABLE() on the scrollbar window. (closes #9982)
28195Files: src/gui_gtk.c
28196
28197Patch 8.2.4600
28198Problem: Vim9: not enough test coverage for executing :def function.
28199Solution: Add a few more tests. Fix inconsistencies.
28200Files: src/vim9execute.c, src/evalvars.c, src/proto/evalvars.pro,
28201 src/testdir/test_listdict.vim, src/testdir/test_vim9_assign.vim,
28202 src/testdir/test_vim9_cmd.vim
28203
28204Patch 8.2.4601
28205Problem: Vim9: not enough test coverage for executing :def function.
28206Solution: Add a few more tests.
28207Files: src/testdir/test_vim9_script.vim, src/testdir/test_vim9_func.vim,
28208 src/testdir/test_vim9_cmd.vim
28209
28210Patch 8.2.4602
28211Problem: Vim9: not enough test coverage for executing :def function.
28212Solution: Add a few more tests. Fix uncovered problem. Remove dead code.
28213Files: src/vim9execute.c, src/vim9.h, src/vim9instr.c,
28214 src/proto/vim9instr.pro, src/vim9compile.c,
28215 src/testdir/test_vim9_script.vim, src/testdir/test_vim9_expr.vim
28216
28217Patch 8.2.4603
28218Problem: Sourcing buffer lines is too complicated.
28219Solution: Simplify the code. Make it possible to source Vim9 script lines.
28220 (Yegappan Lakshmanan, closes #9974)
28221Files: runtime/doc/repeat.txt, src/ex_docmd.c, src/proto/scriptfile.pro,
28222 src/scriptfile.c, src/structs.h, src/testdir/test_source.vim
28223
28224Patch 8.2.4604
28225Problem: Error for redefining a script item may be confusing.
28226Solution: Put quotes around the name.
28227Files: src/errors.h
28228
28229Patch 8.2.4605
28230Problem: Error for arguments of remote_expr() even when the +clientserver
28231 feature is not included.
28232Solution: Move #ifdef.
28233Files: src/clientserver.c
28234
28235Patch 8.2.4606 (after 8.2.4605)
28236Problem: Test fails because of changed error message.
28237Solution: Update the expected error message
28238Files: src/testdir/test_vim9_import.vim
28239
28240Patch 8.2.4607
28241Problem: Sourcing buffer lines may lead to errors for conflicts.
28242Solution: Add the ++clear argument. (Yegappan Lakshmanan, closes #9991)
28243Files: runtime/doc/repeat.txt, src/scriptfile.c, src/vim9script.c,
28244 src/proto/vim9script.pro, src/testdir/test_source.vim
28245
28246Patch 8.2.4608
28247Problem: getcompletion() does not work properly when 'wildoptions
28248 contains "fuzzy".
28249Solution: Do not use addstar(). (Yegappan Lakshmanan, closes #9992,
28250 closes #9986)
28251Files: runtime/doc/builtin.txt, src/cmdexpand.c,
28252 src/testdir/test_cmdline.vim
28253
28254Patch 8.2.4609
28255Problem: :unhide does not check for failing to close a window.
28256Solution: When closing a window fails continue with the next one. Do not
28257 try closing the autocmd window. (closes #9984)
28258Files: src/buffer.c, src/window.c, src/proto/window.pro,
28259 src/testdir/test_autocmd.vim
28260
28261Patch 8.2.4610
28262Problem: Some conditions are always true.
28263Solution: Remove the useless conditions. (closes #9993)
28264Files: src/clientserver.c, src/drawline.c, src/drawscreen.c,
28265 src/ex_cmds.c, src/fileio.c, src/message.c, src/misc2.c,
28266 src/ops.c, src/sign.c, src/spell.c, src/vim9cmds.c, src/window.c
28267
28268Patch 8.2.4611
28269Problem: Typos in tests; one lua line not covered by test.
28270Solution: Fix typos. Add test case. (Dominique Pellé, closes #9994)
28271Files: src/testdir/test_breakindent.vim, src/testdir/test_crypt.vim,
28272 src/testdir/test_cursorline.vim, src/testdir/test_digraph.vim,
28273 src/testdir/test_gui.vim, src/testdir/test_lua.vim,
28274 src/testdir/test_regexp_latin.vim, src/testdir/test_signals.vim,
28275 src/testdir/test_spell.vim, src/testdir/test_statusline.vim,
28276 src/testdir/test_vim9_disassemble.vim,
28277 src/testdir/test_vim9_expr.vim, src/testdir/test_vimscript.vim
28278
28279Patch 8.2.4612
28280Problem: Vim9: cannot use a recursive call in a nested function. (Sergey
28281 Vlasov)
28282Solution: Define the funcref before compiling the function. (closes #9989)
28283Files: src/vim9compile.c, src/vim9instr.c, src/proto/vim9instr.pro,
28284 src/vim9expr.c, src/testdir/test_vim9_func.vim
28285
28286Patch 8.2.4613
28287Problem: Return type of swapfile_unchanged() is wrong.
28288Solution: Use "int". (closes #10000 Yeah!)
28289Files: src/memline.c
28290
28291Patch 8.2.4614
28292Problem: Redrawing too much when 'cursorline' is set and jumping around.
28293Solution: Rely on win_update() to redraw the current and previous cursor
28294 line, do not mark lines as modified. (closes #9996)
28295Files: src/drawline.c, src/drawscreen.c, src/move.c, src/proto/move.pro,
28296 src/option.c
28297
28298Patch 8.2.4615
28299Problem: Mapping with escaped bar does not work in :def function. (Sergey
28300 Vlasov)
28301Solution: Do not remove the backslash. (closes #10002)
28302Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/syntax.c,
28303 src/vim9cmds.c, src/testdir/test_vim9_cmd.vim
28304
28305Patch 8.2.4616
28306Problem: Vim9: Declarations in a {} block of a user command do not use Vim9
28307 rules if defined in a legacy script. (Yegappan Lakshmanan)
28308Solution: Pretend the script is Vim9 script.
28309Files: src/usercmd.c, src/testdir/test_usercommands.vim
28310
28311Patch 8.2.4617
28312Problem: No completion for :scriptnames.
28313Solution: Implement :scriptnames completion. (Yegappan Lakshmanan,
28314 closes #10005)
28315Files: runtime/doc/builtin.txt, src/cmdexpand.c, src/ex_cmds.h,
28316 src/scriptfile.c, src/usercmd.c, src/vim.h,
28317 src/testdir/test_cmdline.vim, src/testdir/test_quickfix.vim
28318
28319Patch 8.2.4618
28320Problem: Command line completion does not recognize single letter commands.
28321Solution: Use the condition from find_ex_command().
28322Files: src/ex_docmd.c
28323
28324Patch 8.2.4619
28325Problem: Mapping is cancelled when mouse moves and popup is visible.
28326Solution: Only generate mouse moved events when a popup may use them.
28327 (closes #10004)
28328Files: src/gui.c, src/globals.h, src/popupwin.c
28329
28330Patch 8.2.4620 (after 8.2.4618)
28331Problem: Two letter substitute commands don't work. (Yegappan Lakshmanan)
28332Solution: Invert condition.
28333Files: src/ex_docmd.c
28334
28335Patch 8.2.4621
28336Problem: Crash when using the tabline right-click menu.
28337Solution: Use XtPointer for XmNuserData. (closes #10009)
28338Files: src/gui_motif.c
28339
28340Patch 8.2.4622
28341Problem: Vim9: Crash with :execute and :finish. (Sergey Vlasov)
28342Solution: Check for NULL. (closes #10011)
28343Files: src/eval.c, src/testdir/test_vim9_script.vim
28344
28345Patch 8.2.4623
28346Problem: Coverity warns for using uninitialized field.
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010028347Solution: Initialize the field to zero.
Bram Moolenaard799daa2022-06-20 11:17:32 +010028348Files: src/ex_docmd.c
28349
28350Patch 8.2.4624
28351Problem: Old Coverity warning for resource leak.
28352Solution: Close the file if memory allocation fails.
28353Files: src/diff.c
28354
28355Patch 8.2.4625
28356Problem: Old Coverity warning for resource leak.
28357Solution: Call FreeWild() if expanding matches did not fail.
28358Files: src/help.c
28359
28360Patch 8.2.4626
28361Problem: Visual area not fully updated when removing sign in Visual mode
28362 while scrolling.
28363Solution: Adjust check for topline. (closes #10017)
28364Files: src/drawscreen.c, src/testdir/test_display.vim,
28365 src/testdir/dumps/Test_display_scroll_update_visual.dump
28366
28367Patch 8.2.4627
28368Problem: flatten() does not use maxdepth correctly.
28369Solution: Use a recursive implementation. (closes #10020)
28370Files: src/list.c, src/testdir/test_flatten.vim
28371
28372Patch 8.2.4628
28373Problem: Not enough testing for 2/3 letter substitute commands.
28374Solution: Add more tests. (Yegappan Lakshmanan, closes #10019)
28375Files: src/testdir/test_cmdline.vim, src/testdir/test_substitute.vim
28376
28377Patch 8.2.4629
28378Problem: flattennew() makes a deep copy unnecessarily.
28379Solution: Use a shallow copy. (issue #10012)
28380Files: src/list.c
28381
28382Patch 8.2.4630
28383Problem: 'cursorline' not always updated with 'cursorlineopt' is
28384 "screenline".
28385Solution: Call check_redraw_cursorline() more often. (closes #10013)
28386Files: src/normal.c, src/edit.c, src/testdir/test_cursorline.vim,
28387 src/testdir/dumps/Test_cursorline_screenline_1.dump,
28388 src/testdir/dumps/Test_cursorline_screenline_2.dump
28389
28390Patch 8.2.4631
28391Problem: Crash when switching window in BufWipeout autocommand.
28392Solution: Put any buffer in the window to avoid it being NULL.
28393 (closes #10024)
28394Files: src/window.c, src/buffer.c, src/testdir/test_autocmd.vim
28395
28396Patch 8.2.4632
28397Problem: Using freed memory in flatten().
28398Solution: Clear typval after recursing into list.
28399Files: src/list.c
28400
28401Patch 8.2.4633
28402Problem: Visual range does not work before command modifiers.
28403Solution: Move Visual range to after command modifiers.
28404Files: src/ex_docmd.c, src/testdir/test_source.vim
28405
28406Patch 8.2.4634
28407Problem: Vim9: cannot initialize a variable to null_list.
28408Solution: Give negative count to NEWLIST. (closes #10027)
28409 Also fix inconsistencies in comparing with null values.
28410Files: src/vim9instr.c, src/proto/vim9instr.pro, src/vim9.h,
28411 src/vim9compile.c, src/vim9expr.c, src/vim9execute.c,
28412 src/evalvars.c, src/typval.c, src/testdir/test_vim9_expr.vim,
28413 src/testdir/test_vim9_builtin.vim,
28414 src/testdir/test_vim9_disassemble.vim
28415
28416Patch 8.2.4635 (after 8.2.4634)
28417Problem: Tests using null list or dict fail.
28418Solution: Only use the new rules for Vim9 script.
28419Files: src/evalvars.c
28420
28421Patch 8.2.4636 (after 8.2.4633)
28422Problem: Not using Visual range.
28423Solution: Put the command pointer back to the range.
28424Files: src/ex_docmd.c
28425
28426Patch 8.2.4637
28427Problem: Warning for using uninitialized variable. (Tony Mechelynck)
28428Solution: Initialize it.
28429Files: src/ex_docmd.c
28430
28431Patch 8.2.4638
28432Problem: Superfluous check if a redraw is needed for 'cursorline'.
28433Solution: Remove check_redraw_cursorline(). (closes #10030, closes #10029)
28434Files: src/drawscreen.c, src/proto/drawscreen.pro, src/edit.c,
28435 src/main.c, src/normal.c, src/move.c,
28436 src/testdir/dumps/Test_cursorcolumn_callback_1.dump,
28437 src/testdir/dumps/Test_relativenumber_callback_1.dump,
28438 src/testdir/test_highlight.vim, src/testdir/test_number.vim
28439
28440Patch 8.2.4639
28441Problem: Not sufficient parenthesis in preprocessor macros.
28442Solution: Add more parenthesis. (closes #10031)
28443Files: src/globals.h, src/gui.h, src/if_py_both.h, src/macros.h,
28444 src/option.h, src/regexp.h, src/spell.h, src/structs.h, src/vim.h,
28445 src/vim9.h
28446
28447Patch 8.2.4640
28448Problem: Some boolean options use "long" instead of "int".
28449Solution: Adjust the type. (James McCoy, closes #10033)
28450Files: src/option.h
28451
28452Patch 8.2.4641
28453Problem: May mark the wrong window for redrawing.
28454Solution: Use redraw_win_later(). (closes #10032)
28455Files: src/move.c
28456
28457Patch 8.2.4642
28458Problem: Vim9: in :def function script var cannot be null.
28459Solution: Only initialize a script variable when not set to a null value.
28460 (closes #10034)
28461Files: src/vim9execute.c, src/vim9type.c, src/globals.h, src/evalvars.c,
28462 src/vim.h, src/vim9script.c, src/testdir/test_vim9_expr.vim
28463
28464Patch 8.2.4643
28465Problem: Vim9: variable may be locked unintentionally.
28466Solution: Clear "v_lock". (closes #10036)
28467Files: src/vim9execute.c, src/testdir/test_vim9_builtin.vim
28468
28469Patch 8.2.4644
28470Problem: Redrawing too often when 'relativenumber' is set.
28471Solution: Only redraw when the cursor line changed. (Lewis Russell,
28472 closes #10040)
28473Files: src/change.c, src/drawscreen.c, src/structs.h
28474
28475Patch 8.2.4645
28476Problem: 'shortmess' changed when session does not store options.
28477Solution: Save and restore 'shortmess' if needed. (James Charti,
28478 closes #10037)
28479Files: src/session.c, src/testdir/test_mksession.vim
28480
28481Patch 8.2.4646
28482Problem: Using buffer line after it has been freed in old regexp engine.
28483Solution: After getting mark get the line again.
28484Files: src/regexp_bt.c, src/testdir/test_regexp_latin.vim
28485
28486Patch 8.2.4647
28487Problem: "source" can read past end of copied line.
28488Solution: Add a terminating NUL.
28489Files: src/scriptfile.c, src/testdir/test_source.vim
28490
28491Patch 8.2.4648
28492Problem: Handling LSP messages is a bit slow.
28493Solution: Included support for LSP messages. (Yegappan Lakshmanan,
28494 closes #10025)
28495Files: runtime/doc/channel.txt, src/channel.c, src/job.c, src/json.c,
28496 src/proto/json.pro, src/structs.h, src/testdir/test_channel.vim,
28497 src/testdir/test_channel_lsp.py
28498
28499Patch 8.2.4649
28500Problem: Various formatting problems.
28501Solution: Improve the code formatting.
28502Files: src/mark.c, src/quickfix.c, src/regexp_nfa.c, src/register.c,
28503 src/testdir/test_filechanged.vim, src/gui_athena.c,
28504 src/gui_motif.c, src/os_unix.c
28505
28506Patch 8.2.4650
28507Problem: "import autoload" only works with using 'runtimepath'.
28508Solution: Also support a relative and absolute file name.
28509Files: runtime/doc/vim9.txt, src/structs.h, src/scriptfile.c,
28510 src/proto/scriptfile.pro, src/vim9script.c, src/vim9expr.c,
28511 src/vim9.h, src/vim9execute.c, src/vim9instr.c,
28512 src/proto/vim9instr.pro, src/vim.h, src/userfunc.c,
28513 src/proto/userfunc.pro, src/testdir/test_vim9_import.vim,
28514 src/testdir/test_vim9_disassemble.vim
28515
28516Patch 8.2.4651 (after 8.2.4650)
28517Problem: Test fails because path differs.
28518Solution: Only compare the tail of the path.
28519Files: src/testdir/test_vim9_disassemble.vim
28520
28521Patch 8.2.4652 (after 8.2.4650)
28522Problem: Leaking memory if assignment fails.
28523Solution: Clear assigned value on failure.
28524Files: src/vim9execute.c
28525
28526Patch 8.2.4653
28527Problem: "import autoload" does not check the file name.
28528Solution: Give an error if the file is not readable. (closes #10049)
28529Files: src/filepath.c, src/proto/filepath.pro, src/errors.h,
28530 src/ex_cmds.c, src/ex_docmd.c, src/spellfile.c,
28531 src/testdir/test_vim9_import.vim
28532
28533Patch 8.2.4654 (after 8.2.4653)
28534Problem: Missing changes for import check.
28535Solution: Add missing changes.
28536Files: src/vim9script.c
28537
28538Patch 8.2.4655
28539Problem: Command line completion popup menu positioned wrong when using a
28540 terminal window.
28541Solution: Position the popup menu differently when editing the command line.
28542 (Yegappan Lakshmanan, closes #10050, closes #10035)
28543Files: src/popupmenu.c, src/testdir/test_cmdline.vim,
28544 src/testdir/test_terminal.vim,
28545 src/testdir/dumps/Test_wildmenu_pum_term_01.dump
28546
28547Patch 8.2.4656
28548Problem: Vim9: can't use items from "import autoload" with autoload
28549 directory name.
28550Solution: Let sn_autoload_prefix overrule sn_import_autoload.
28551 (closes #10054)
28552Files: src/structs.h, src/vim9instr.c, src/vim9expr.c, src/vim9script.c,
28553 src/testdir/test_vim9_import.vim
28554
28555Patch 8.2.4657
28556Problem: Errors for functions are sometimes hard to read.
28557Solution: Use printable_func_name() in more places.
28558Files: src/vim9execute.c, src/userfunc.c, src/proto/userfunc.pro,
28559 src/vim9expr.c, src/eval.c, src/vim9instr.c, src/vim9type.c,
28560 src/testdir/test_vim9_expr.vim
28561
28562Patch 8.2.4658
28563Problem: Org-mode files are not recognized.
28564Solution: Add patterns to recognize "org" files. (closes #10046)
28565Files: runtime/filetype.vim, src/testdir/test_filetype.vim
28566
28567Patch 8.2.4659
28568Problem: Invalid memory access when using printable function name.
28569Solution: Adjust copied name length.
28570Files: src/userfunc.c
28571
28572Patch 8.2.4660
28573Problem: Cursorcolumn is sometimes not correct.
28574Solution: Recompute the cursor column when entering Insert mode and the
28575 cursor is on a character wider than a screen cell. (closes #10057)
28576Files: src/edit.c, src/testdir/test_highlight.vim,
28577 src/testdir/dumps/Test_cursorcolumn_insert_on_tab_1.dump,
28578 src/testdir/dumps/Test_cursorcolumn_insert_on_tab_2.dump
28579
28580Patch 8.2.4661
28581Problem: Coverity warning for using uninitialized variable.
28582Solution: Initialize variable to NULL.
28583Files: src/vim9expr.c
28584
28585Patch 8.2.4662
28586Problem: No error for using out of range list index.
28587Solution: Check list index at script level like in compiled function.
28588 (closes #10051)
28589Files: src/vim.h, src/evalvars.c, src/list.c, src/proto/list.pro,
28590 src/eval.c, src/vim9execute.c, src/testdir/test_vim9_assign.vim
28591
28592Patch 8.2.4663
28593Problem: Occasional crash when running the GUI tests.
28594Solution: Check that the line index is not too high. (closes #8681)
28595Files: src/screen.c
28596
28597Patch 8.2.4664
28598Problem: Elvish files are not recognized.
28599Solution: Recognize .elv files. (Bruno Roque, closes #10058)
28600Files: runtime/filetype.vim, src/testdir/test_filetype.vim
28601
28602Patch 8.2.4665
28603Problem: Popup with "minwidth" and scrollbar not updated properly.
28604Solution: Adjust the computation if the window width. (closes #10061)
28605Files: src/popupwin.c, src/testdir/test_popupwin.vim,
28606 src/testdir/dumps/Test_popupwin_previewpopup_4.dump,
28607 src/testdir/dumps/Test_popupwin_previewpopup_5.dump,
28608 src/testdir/dumps/Test_popupwin_previewpopup_7.dump,
28609 src/testdir/dumps/Test_popupwin_previewpopup_8.dump,
28610 src/testdir/dumps/Test_popupwin_previewpopup_9.dump,
28611 src/testdir/dumps/Test_popupwin_previewpopup_10.dump,
28612 src/testdir/dumps/Test_popupwin_drag_minwidth_1.dump,
28613 src/testdir/dumps/Test_popupwin_drag_minwidth_2.dump,
28614 src/testdir/dumps/Test_popupwin_drag_minwidth_3.dump
28615
28616Patch 8.2.4666
28617Problem: Vim9: assignment not recognized in skipped block.
28618Solution: When skipping assume identifier exists. (closes #10059)
28619Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9cmds.c,
28620 src/testdir/test_vim9_cmd.vim, src/testdir/test_vim9_script.vim
28621
28622Patch 8.2.4667
28623Problem: expandcmd() fails on an error.
28624Solution: On failure return the command unmodified. (yegappan Lakshmanan,
28625 closes #10063)
28626Files: runtime/doc/builtin.txt, src/evalfunc.c,
28627 src/testdir/test_expand.vim
28628
28629Patch 8.2.4668
28630Problem: Buffer allocation failures insufficiently tested.
28631Solution: Add tests for memory allocation failures. (Yegappan Lakshmanan,
28632 closes #10064)
28633Files: src/alloc.h, src/buffer.c, src/popupwin.c, src/window.c,
28634 src/testdir/test_buffer.vim, src/testdir/test_swap.vim
28635
28636Patch 8.2.4669
28637Problem: In compiled code len('string') is not inlined.
28638Solution: Compute the length at compile time if possible. (closes #10065)
28639Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9expr.c,
28640 src/testdir/test_vim9_disassemble.vim
28641
28642Patch 8.2.4670
28643Problem: Memory allocation failures for new tab page not tested.
28644Solution: Add tests with failing memory allocation. (Yegappan Lakshmanan,
28645 closes #10067)
28646Files: src/alloc.h, src/blob.c, src/buffer.c, src/window.c,
28647 src/testdir/test_blob.vim, src/testdir/test_buffer.vim,
28648 src/testdir/test_tabpage.vim, src/testdir/test_window_cmd.vim
28649
28650Patch 8.2.4671
28651Problem: 'wildignorecase' is sometimes not used for glob().
28652Solution: Also use 'wildignorecase' when there are no wildcards.
28653 (closes #10066, closes #8350)
28654Files: src/filepath.c, src/testdir/test_functions.vim
28655
28656Patch 8.2.4672
28657Problem: Using :normal with Ex mode may make :substitute hang.
28658Solution: When getting an empty line behave like 'q' was typed.
28659 (closes #10070)
28660Files: src/ex_cmds.c, src/testdir/test_normal.vim
28661
28662Patch 8.2.4673
28663Problem: Redrawing a vertically split window is slow when using CTRL-F and
28664 CTRL-B.
28665Solution: When deciding on USE_REDRAW bail out if scrolling more than three
28666 lines. (issue #8002)
28667Files: src/screen.c
28668
28669Patch 8.2.4674
28670Problem: Cannot force getting MouseMove events.
28671Solution: Add the 'mousemoveevent' option with implementaiton for the GUI.
28672 (Ernie Rael, closes #10044)
28673Files: runtime/doc/gui.txt, runtime/doc/options.txt,
28674 runtime/doc/testing.txt, src/gui.c, src/option.h,
28675 src/optiondefs.h, src/testing.c, src/testdir/test_gui.vim
28676
28677Patch 8.2.4675
28678Problem: No error for missing expression after :elseif. (Ernie Rael)
28679Solution: Check for missing expression. (closes #10068)
28680Files: src/ex_eval.c, src/testdir/test_vim9_script.vim
28681
28682Patch 8.2.4676 (after 8.2.4675)
28683Problem: Test fails with different error.
28684Solution: Add argument to :elseif.
28685Files: src/testdir/test_vimscript.vim
28686
28687Patch 8.2.4677
28688Problem: The Athena GUI support is outdated.
28689Solution: Remove the Athena GUI code.
28690Files: Filelist, src/Makefile, src/proto.h, src/clipboard.c,
28691 src/gui_athena.c, src/proto/gui_athena.pro, src/gui_at_sb.c,
28692 src/gui_at_sb.h, src/gui_at_fs.c, src/gui_motif.c, src/evalfunc.c,
28693 src/gui.c, src/gui_beval.c, src/gui_x11.c, src/if_mzsch.c,
28694 src/main.c, src/menu.c, src/mouse.c, src/version.c, src/feature.h,
28695 src/gui.h, src/structs.h, src/vim.h, src/testdir/gui_init.vim,
28696 src/testdir/setup_gui.vim, src/testdir/test_clientserver.vim,
28697 src/testdir/test_edit.vim, src/testdir/test_gui.vim,
28698 src/testdir/test_highlight.vim, src/testdir/test_quotestar.vim,
28699 src/testdir/test_startup.vim, runtime/doc/gui.txt,
28700 runtime/doc/gui_x11.txt
28701
28702Patch 8.2.4678
28703Problem: Vim9: not all code is tested.
28704Solution: Add a few more tests.
28705Files: src/vim9execute.c, src/testdir/test_vim9_script.vim,
28706 src/testdir/test_vim9_import.vim, src/testdir/test_vim9_cmd.vim
28707
28708Patch 8.2.4679
28709Problem: Cannot have expandcmd() give an error message for mistakes.
28710Solution: Add an optional argument to give errors. Fix memory leak when
28711 expanding files fails. (Yegappan Lakshmanan, closes #10071)
28712Files: runtime/doc/builtin.txt, src/evalfunc.c, src/filepath.c,
28713 src/testdir/test_expand.vim, src/testdir/test_vim9_builtin.vim
28714
28715Patch 8.2.4680
28716Problem: Build failure without +postscript.
28717Solution: Use another error message.
28718Files: src/vim9execute.c, src/testdir/test_vim9_import.vim
28719
28720Patch 8.2.4681
28721Problem: Build fails with a combination of features.
28722Solution: Remove #ifdef for alloc_clear_id(). (John Marriott)
28723Files: src/alloc.c
28724
28725Patch 8.2.4682
28726Problem: Vim9: can use :unlockvar for const variable. (Ernie Rael)
28727Solution: Check whether the variable is a const.
28728Files: src/ex_docmd.c, src/evalvars.c, src/vim9script.c,
28729 src/proto/vim9script.pro, src/eval.c, src/userfunc.c,
28730 src/testdir/test_vim9_cmd.vim
28731
28732Patch 8.2.4683
28733Problem: Verbose check with dict_find() to see if a key is present.
28734Solution: Add dict_has_key(). (Yegappan Lakshmanan, closes #10074)
28735Files: src/channel.c, src/dict.c, src/evalwindow.c, src/filepath.c,
28736 src/highlight.c, src/json.c, src/match.c, src/popupwin.c,
28737 src/proto/dict.pro, src/quickfix.c, src/search.c, src/sign.c,
28738 src/tag.c, src/terminal.c, src/testing.c, src/textprop.c,
28739 src/time.c
28740
28741Patch 8.2.4684
28742Problem: Cannot open a channel on a Unix domain socket.
28743Solution: Add Unix domain socket support. (closes #10062)
28744Files: runtime/doc/channel.txt, src/channel.c, src/testdir/check.vim,
28745 src/testdir/shared.vim, src/testdir/test_channel.py,
28746 src/testdir/test_channel.vim, src/testdir/test_channel_unix.py,
28747 src/testdir/test_cmdline.vim
28748
28749Patch 8.2.4685
28750Problem: When a swap file is found for a popup there is no dialog and the
28751 buffer is loaded anyway.
28752Solution: Silently load the buffer read-only. (closes #10073)
28753Files: runtime/doc/popup.txt, src/memline.c, src/popupwin.c, src/vim.h,
28754 src/buffer.c, src/testdir/test_popupwin.vim
28755
28756Patch 8.2.4686
28757Problem: Configure doesn't find the Motif library with Cygwin.
28758Solution: Check for libXm.dll.a. (Kelvin Lee, closes #10077)
28759Files: src/configure.ac, src/auto/configure
28760
28761Patch 8.2.4687
28762Problem: "vimgrep /\%v/ *" may cause a crash.
28763Solution: When compiling the pattern with the old engine fails, restore the
28764 regprog of the new engine instead of leaving it NULL.
28765 (closes #10079)
28766Files: src/regexp.c
28767
28768Patch 8.2.4688
28769Problem: New regexp engine does not give an error for "\%v".
28770Solution: Check for a value argument. (issue #10079)
28771Files: src/regexp_nfa.c, src/errors.h, src/regexp_bt.c,
28772 src/testdir/test_regexp_latin.vim
28773
28774Patch 8.2.4689
28775Problem: Using <Cmd> in a mapping does not work for mouse keys in Insert
28776 mode. (Sergey Vlasov)
28777Solution: When reading the <Cmd> argument do not use the stuff buffer.
28778 (closes #10080)
28779Files: src/getchar.c
28780
28781Patch 8.2.4690
28782Problem: Channel tests fail on MS-Windows.
28783Solution: Check if the AF_UNIX attribute exists. (closes #10083)
28784Files: src/testdir/test_channel.py, src/testdir/test_channel_unix.py
28785
28786Patch 8.2.4691 (after 8.2.4689)
28787Problem: Solution for <Cmd> in a mapping causes trouble.
28788Solution: Use another solution: put back CTRL-O after reading the <Cmd>
28789 sequence.
28790Files: src/getchar.c
28791
28792Patch 8.2.4692
28793Problem: No test for what 8.2.4691 fixes.
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010028794Solution: Add a test. Use a more generic solution. (closes #10090)
Bram Moolenaard799daa2022-06-20 11:17:32 +010028795Files: src/getchar.c, src/mouse.c, src/testdir/test_mapping.vim
28796
28797Patch 8.2.4693 (after 8.2.4688)
28798Problem: new regexp does not accept pattern "\%>0v".
28799Solution: Do accept digit zero.
28800Files: src/regexp_bt.c, src/regexp_nfa.c,
28801 src/testdir/test_regexp_latin.vim
28802
28803Patch 8.2.4694
28804Problem: Avoidance of #elif causes more preproc nesting.
28805Solution: Use #elif where it is useful. (Ozaki Kiichi, closes #10081)
28806Files: src/option.c, src/optiondefs.h, src/optionstr.c, src/version.c
28807
28808Patch 8.2.4695
28809Problem: JSON encoding could be faster.
28810Solution: Optimize encoding JSON strings. (closes #10086)
28811Files: src/json.c, src/testdir/test_json.vim
28812
28813Patch 8.2.4696
28814Problem: delete() with "rf" argument does not report a failure.
28815Solution: Return -1 if the directory could not be removed. (closes #10078)
28816Files: src/fileio.c, src/testdir/test_functions.vim
28817
28818Patch 8.2.4697
28819Problem: Vim9: crash when adding a duplicate key to a dictionary.
28820Solution: Clear the stack item when it has been moved into the dictionary.
28821 (closes #10087)
28822Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
28823
28824Patch 8.2.4698
28825Problem: Vim9: script variable has no flag that it was set.
28826Solution: Add a flag that it was set, to avoid giving it a value when used.
28827 (closes #10088)
28828Files: src/structs.h, src/vim9script.c, src/vim9execute.c,
28829 src/evalvars.c, src/testdir/test_vim9_assign.vim,
28830 src/testdir/test_vim9_builtin.vim
28831
28832Patch 8.2.4699
28833Problem: Hard to reproduce hang when reading from a channel.
28834Solution: Check for readahead before starting to wait. (closes #10093,
28835 closes #7781, closes #6364)
28836Files: src/channel.c
28837
28838Patch 8.2.4700
28839Problem: Buffer remains active if a WinClosed event throws an exception.
28840Solution: Ignore aborting() when closing the buffer. (closes #10097)
28841Files: src/window.c, src/testdir/test_autocmd.vim
28842
28843Patch 8.2.4701
28844Problem: Kuka Robot Language files not recognized.
28845Solution: Recognize *.src and *.dat files. (Patrick Meiser-Knosowski,
28846 closes #10096)
28847Files: runtime/filetype.vim, src/testdir/test_filetype.vim,
28848 runtime/autoload/dist/ft.vim
28849
28850Patch 8.2.4702
28851Problem: C++ scope labels are hard-coded.
28852Solution: Add 'cinscopedecls' to define the labels. (Rom Praschan,
28853 closes #10109)
28854Files: runtime/doc/indent.txt, runtime/doc/options.txt,
28855 runtime/doc/quickref.txt, runtime/optwin.vim, src/buffer.c,
28856 src/cindent.c, src/option.c, src/option.h, src/optiondefs.h,
28857 src/optionstr.c, src/structs.h, src/testdir/test_cindent.vim
28858
28859Patch 8.2.4703 (after 8.2.4702)
28860Problem: Memory leak in handling 'cinscopedecls'.
28861Solution: Free the memory before returning.
28862Files: src/cindent.c
28863
28864Patch 8.2.4704
28865Problem: Using "else" after return or break increases indent.
28866Solution: Remove "else" and reduce indent. (Goc Dundar, closes #10099)
28867Files: src/fileio.c, src/memline.c, src/option.c, src/syntax.c
28868
28869Patch 8.2.4705
28870Problem: reg_executing may not be cleared.
28871Solution: Reset reg_executing later. (closes #10111, closes #10110)
28872Files: src/ex_docmd.c, src/getchar.c, src/globals.h, src/structs.h,
28873 src/testdir/test_registers.vim
28874
28875Patch 8.2.4706
28876Problem: Buffer remains active if a WinClosed event throws an exception
28877 when there are multiple tabpages.
28878Solution: Ignore aborting() when closing the buffer. (closes #10101)
28879Files: src/window.c, src/testdir/test_autocmd.vim
28880
28881Patch 8.2.4707
28882Problem: Redrawing could be a bit more efficient.
28883Solution: Optimize redrawing. (closes #10105)
28884Files: src/change.c, src/edit.c, src/testdir/test_highlight.vim,
28885 src/testdir/dumps/Test_cursorcolumn_insert_on_tab_3.dump
28886
28887Patch 8.2.4708
28888Problem: PHP test files are not recognized.
28889Solution: Add the *.phpt pattern. (Julien Voisin, closes #10112)
28890Files: runtime/filetype.vim, src/testdir/test_filetype.vim
28891
28892Patch 8.2.4709
28893Problem: After :redraw the statusline highlight might be used.
28894Solution: Clear the screen attribute after redrawing the screen.
28895 (closes #10108)
28896Files: src/ex_docmd.c
28897
28898Patch 8.2.4710
28899Problem: Smart indenting does not work after completion.
28900Solution: Set "can_si". (Christian Brabandt, closes #10113, closes #558)
28901Files: src/edit.c, src/testdir/test_ins_complete.vim
28902
28903Patch 8.2.4711
28904Problem: When 'insermode' is set :edit from <Cmd> mapping misbehaves.
28905Solution: Don't set "need_start_insertmode" when already in Insert mode.
28906 (closes #10116)
28907Files: src/ex_cmds.c, src/testdir/test_edit.vim
28908
28909Patch 8.2.4712
28910Problem: Only get profiling information after exiting.
28911Solution: Add "profile dump" and "profile stop". (Marco Hinz, Yegappan
28912 Lakshmanan, closes #10107)
28913Files: runtime/doc/repeat.txt, src/profiler.c,
28914 src/testdir/test_profile.vim
28915
28916Patch 8.2.4713
28917Problem: Plugins cannot track text scrolling.
28918Solution: Add the WinScrolled event. (closes #10102)
28919Files: runtime/doc/autocmd.txt, src/autocmd.c, src/proto/autocmd.pro,
28920 src/edit.c, src/gui.c, src/main.c, src/structs.h, src/vim.h,
28921 src/window.c, src/proto/window.pro, src/testdir/test_autocmd.vim
28922
28923Patch 8.2.4714
28924Problem: Using g:filetype_dat and g:filetype_src not tested.
28925Solution: Add a test. (Patrick Meiser-Knosowski, closes #10117)
28926Files: src/testdir/test_filetype.vim
28927
28928Patch 8.2.4715
28929Problem: Vagrantfile not recognized.
28930Solution: Recognize Vagrantfile as ruby. (Julien Voisin, closes #10119)
28931Files: runtime/filetype.vim, src/testdir/test_filetype.vim
28932
28933Patch 8.2.4716
28934Problem: Memory allocation failure not tested when defining a function.
28935Solution: Add a test. (Yegappan Lakshmanan, closes #10127)
28936Files: src/alloc.c, src/alloc.h, src/proto/alloc.pro, src/userfunc.c,
28937 src/testdir/test_user_func.vim, src/testdir/test_vim9_func.vim
28938
28939Patch 8.2.4717
28940Problem: For TextYankPost v:event does not contain information about the
28941 operation being inclusive or not.
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010028942Solution: Add "inclusive" to v:event. (Justin M. Keyes, Yegappan Lakshmanan,
Bram Moolenaard799daa2022-06-20 11:17:32 +010028943 closes #10125)
28944Files: runtime/doc/autocmd.txt, src/register.c,
28945 src/testdir/test_autocmd.vim
28946
28947Patch 8.2.4718
28948Problem: @@@ in the last line sometimes drawn in the wrong place.
28949Solution: Make sure the column is valid. (closes #10130)
28950Files: src/drawscreen.c, src/screen.c, src/testdir/test_display.vim
28951 src/testdir/dumps/Test_display_lastline_1.dump,
28952 src/testdir/dumps/Test_display_lastline_2.dump,
28953 src/testdir/dumps/Test_display_lastline_3.dump,
28954 src/testdir/dumps/Test_display_lastline_4.dump
28955
28956Patch 8.2.4719
28957Problem: ">" marker sometimes not displayed in the jumplist.
28958Solution: If the buffer no longer exists show "-invalid-". (Christian
28959 Brabandt, closes #10131, closes #10100)
28960Files: runtime/doc/motion.txt, src/mark.c, src/testdir/Make_all.mak,
28961 src/testdir/test_alot.vim, src/testdir/test_jumplist.vim,
28962 src/testdir/test_jumps.vim
28963
28964Patch 8.2.4720
28965Problem: ABB Rapid files are not recognized properly.
28966Solution: Add checks for ABB Rapid files. (Patrick Meiser-Knosowski,
28967 closes #10104)
28968Files: runtime/autoload/dist/ft.vim, runtime/doc/filetype.txt,
28969 runtime/filetype.vim, src/testdir/test_filetype.vim
28970
28971Patch 8.2.4721
28972Problem: Cooklang files are not recognized.
28973Solution: recognize *.cook files. (Goc Dundar, closes #10120)
28974Files: runtime/filetype.vim, src/testdir/test_filetype.vim
28975
28976Patch 8.2.4722
28977Problem: When a recording is ended with a mapped key that key is also
28978 recorded.
28979Solution: Remember the previous last_recorded_len. (closes #10122)
28980Files: src/getchar.c, src/testdir/test_registers.vim
28981
28982Patch 8.2.4723
28983Problem: The ModeChanged autocmd event is inefficient.
28984Solution: Avoid allocating memory. (closes #10134) Rename
28985 trigger_modechanged() to may_trigger_modechanged().
28986Files: src/misc1.c, src/proto/misc1.pro, src/edit.c, src/ex_docmd.c,
28987 src/ex_getln.c, src/insexpand.c, src/normal.c, src/terminal.c,
28988 src/autocmd.c
28989
28990Patch 8.2.4724
28991Problem: Current instance of last search pattern not easily spotted.
28992Solution: Add CurSearch highlighting. (closes #10133)
28993Files: runtime/doc/options.txt, runtime/doc/syntax.txt, src/highlight.c,
28994 src/match.c, src/normal.c, src/optiondefs.h, src/structs.h,
28995 src/vim.h, src/normal.c, src/testdir/test_search.vim,
28996 src/testdir/dumps/Test_hlsearch_cursearch_multiple_line.dump,
28997 src/testdir/dumps/Test_hlsearch_cursearch_single_line_1.dump,
28998 src/testdir/dumps/Test_hlsearch_cursearch_single_line_2.dump,
28999 src/testdir/dumps/Test_hlsearch_cursearch_single_line_3.dump
29000
29001Patch 8.2.4725 (after 8.2.4724)
29002Problem: Unused variable in tiny build.
29003Solution: Add #ifdef.
29004Files: src/normal.c
29005
29006Patch 8.2.4726
29007Problem: Cannot use expand() to get the script name.
29008Solution: Support expand('<script>'). (closes #10121)
29009Files: runtime/doc/cmdline.txt, src/errors.h, src/ex_docmd.c,
29010 src/scriptfile.c, src/vim.h, src/testdir/test_expand.vim
29011
29012Patch 8.2.4727
29013Problem: Unused code.
29014Solution: Remove code and add #ifdefs. (Dominique Pellé, closes #10136)
29015Files: runtime/doc/editing.txt, runtime/doc/eval.txt,
29016 runtime/doc/vim9.txt, src/errors.h, src/option.c, src/search.c,
29017 src/proto/search.pro
29018
29019Patch 8.2.4728
29020Problem: No test that v:event cannot be modified.
29021Solution: Add a test. (closes #10139)
29022Files: src/testdir/test_autocmd.vim
29023
29024Patch 8.2.4729
29025Problem: HEEx and Surface templates do not need a separate filetype.
29026Solution: Use Eelixir for the similar filetypes. (Aaron Tinio, closes #10124)
29027Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29028
29029Patch 8.2.4730
29030Problem: MS-Windows GUI: cannot use CTRL-/.
29031Solution: Handle the WM_KEYUP event. (Yasuhiro Matsumoto, closes #10141)
29032Files: src/gui_w32.c
29033
29034Patch 8.2.4731
29035Problem: The changelist index is not remembered per buffer.
29036Solution: Keep the changelist index per window and buffer. (closes #10135,
29037 closes #2173)
29038Files: src/buffer.c, src/evalfunc.c, src/structs.h,
29039 src/testdir/test_changelist.vim
29040
29041Patch 8.2.4732
29042Problem: Duplicate code to free fuzzy matches.
29043Solution: Bring back fuzmatch_str_free().
29044Files: src/search.c, src/proto/search.pro, src/cmdexpand.c
29045
29046Patch 8.2.4733 (after 8.2.4729)
29047Problem: HEEx and Surface do need a separate filetype.
29048Solution: Revert 8.2.4729. (closes #10147)
29049Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29050
29051Patch 8.2.4734
29052Problem: getcharpos() may change a mark position.
29053Solution: Copy the mark position. (closes #10148)
29054Files: src/eval.c, src/testdir/test_cursor_func.vim
29055
29056Patch 8.2.4735
29057Problem: Quickfix tests can be a bit hard to read.
29058Solution: Use heredoc instead of strings and line continuation. (Yegappan
29059 Lakshmanan, closes #10145)
29060Files: src/testdir/test_quickfix.vim
29061
29062Patch 8.2.4736
29063Problem: Build problem for Cygwin with Motif.
29064Solution: Undefine ControlMask. (Kelvin Lee, closes #10152)
29065Files: src/mbyte.c
29066
29067Patch 8.2.4737
29068Problem: // in JavaScript string recognized as comment.
29069Solution: Only check for linecomment if 'cindent' is set. (closes #10151)
29070Files: src/change.c, src/testdir/test_textformat.vim
29071
29072Patch 8.2.4738
29073Problem: Esc on commandline executes command instead of abandoning it.
29074Solution: Save and restore KeyTyped when removing the popup menu.
29075 (closes #10154)
29076Files: src/cmdexpand.c, src/testdir/test_cmdline.vim,
29077 src/testdir/dumps/Test_wildmenu_with_pum_foldexpr_1.dump,
29078 src/testdir/dumps/Test_wildmenu_with_pum_foldexpr_2.dump
29079
29080Patch 8.2.4739
29081Problem: Accessing freed memory after WinScrolled autocmd event.
29082Solution: Check the window pointer is still valid. (closes #10156)
29083 Remove the argument from may_trigger_winscrolled().
29084Files: src/window.c, src/proto/window.pro, src/edit.c, src/gui.c,
29085 src/main.c, src/testdir/test_autocmd.vim
29086
29087Patch 8.2.4740
29088Problem: When expand() fails there is no error message.
29089Solution: When 'verbose' is set give an error message.
29090Files: runtime/doc/builtin.txt, src/evalfunc.c,
29091 src/testdir/test_expand.vim
29092
29093Patch 8.2.4741 (after 8.2.4740)
29094Problem: Startup test fails.
29095Solution: Avoid an error for verbose expansion. Fix that the "0verbose"
29096 command modifier doesn't work.
29097Files: runtime/syntax/syntax.vim, runtime/syntax/synload.vim,
29098 src/structs.h, src/ex_docmd.c, src/testdir/test_excmd.vim
29099
29100Patch 8.2.4742
29101Problem: There is no way to start logging very early in startup.
29102Solution: Add the --log argument. Include the date in the start message in
29103 the log file. Avoid a duplicate message when forking. Log an
29104 executed shell command.
29105Files: runtime/doc/starting.txt, runtime/doc/channel.txt,
29106 src/main.c, src/channel.c, src/os_unix.c, src/os_win32.c,
29107 src/testdir/test_startup.vim
29108
29109Patch 8.2.4743
29110Problem: Clang 14 is available on CI.
29111Solution: Switch from clang 13 to 14. (closes #10157)
29112Files: .github/workflows/ci.yml
29113
29114Patch 8.2.4744
29115Problem: A terminal window can't use the bell.
29116Solution: Add bell support for the terminal window. (closes #10178)
29117Files: runtime/doc/options.txt, src/gui_w32.c, src/option.h,
29118 src/optionstr.c, src/terminal.c
29119
29120Patch 8.2.4745 (after 8.2.4744)
29121Problem: Using wrong flag for using bell in the terminal.
29122Solution: Change to use BO_TERM.
29123Files: src/terminal.c, src/misc1.c
29124
29125Patch 8.2.4746
29126Problem: Supercollider filetype not recognized.
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010029127Solution: Match file extensions and check file contents to detect
Bram Moolenaard799daa2022-06-20 11:17:32 +010029128 supercollider. (closes #10142)
29129Files: runtime/filetype.vim, runtime/autoload/dist/ft.vim,
29130 src/testdir/test_filetype.vim
29131
29132Patch 8.2.4747
29133Problem: No filetype override for .sys files.
29134Solution: Add g:filetype_sys. (Patrick Meiser-Knosowski, closes #10181)
29135Files: runtime/doc/filetype.txt, runtime/autoload/dist/ft.vim,
29136 src/testdir/test_filetype.vim
29137
29138Patch 8.2.4748
29139Problem: Cannot use an imported function in a mapping.
29140Solution: Recognize <SID>name.Func.
29141Files: runtime/doc/vim9.txt, src/term.c, src/vim9execute.c,
29142 src/proto/vim9execute.pro, src/scriptfile.c,
29143 src/testdir/test_vim9_import.vim
29144
29145Patch 8.2.4749
29146Problem: <script> is not expanded in autocmd context.
29147Solution: Add the context to the pattern struct. (closes #10144)
29148 Rename AutoPatCmd to AutoPatCmd_T.
29149Files: src/autocmd.c, src/proto/autocmd.pro, src/scriptfile.c,
29150 src/structs.h, src/testdir/test_expand.vim
29151
29152Patch 8.2.4750
29153Problem: Small pieces of dead code.
29154Solution: Remove the dead code. (Goc Dundar, closes #10190) Rename the
29155 qftf_cb struct member to avoid confusion.
29156Files: src/ex_cmds.c, src/misc1.c, src/optionstr.c, src/quickfix.c
29157
29158Patch 8.2.4751 (after 8.2.4748)
29159Problem: Mapping <SID>name.Func does not work for script in autoload
29160 directory.
29161Solution: Use the # form for a script in the autoload directory.
29162 (closes #10186)
29163Files: src/term.c, src/testdir/test_vim9_import.vim
29164
29165Patch 8.2.4752
29166Problem: Wrong 'statusline' value can cause illegal memory access.
29167Solution: Properly check the value. (closes #10192)
29168Files: src/optionstr.c, src/testdir/test_options.vim
29169
29170Patch 8.2.4753
29171Problem: Error from setting an option is silently ignored.
29172Solution: Handle option value errors better. Fix uses of N_().
29173Files: src/option.c, src/proto/option.pro, src/optionstr.c,
29174 src/channel.c, src/crypt.c, src/diff.c, src/edit.c,
29175 src/eval.c, src/evalfunc.c, src/evalvars.c, src/ex_cmds2.c,
29176 src/ex_docmd.c, src/ex_getln.c, src/getchar.c, src/gui.c,
29177 src/gui_gtk_x11.c, src/help.c, src/highlight.c, src/if_tcl.c,
29178 src/main.c, src/memline.c, src/message_test.c,
29179 src/popupmenu.c, src/quickfix.c, src/scriptfile.c, src/spell.c,
29180 src/spellfile.c, src/term.c, src/undo.c, src/vim9script.c
29181
29182Patch 8.2.4754
29183Problem: Still using cached values after unsetting some known environment
29184 variables.
29185Solution: Take care of the side effects. (closes #10194)
29186Files: src/evalfunc.c, src/evalvars.c, src/misc1.c, src/proto/misc1.pro,
29187 src/vim9execute.c, src/optionstr.c, src/testdir/test_environ.vim
29188
29189Patch 8.2.4755
29190Problem: Cannot use <SID>FuncRef in completion spec.
29191Solution: Dereference a function name in another way. (closes #10197)
29192Files: src/eval.c, src/testdir/test_vim9_import.vim
29193
29194Patch 8.2.4756 (after 8.2.4754)
29195Problem: Build error without the +eval feature.
29196Solution: Adjust #ifdefs.
29197Files: src/misc1.c
29198
29199Patch 8.2.4757
29200Problem: List of libraries to suppress lsan errors is outdated.
29201Solution: Add another library. (closes #10201)
29202Files: src/testdir/lsan-suppress.txt
29203
29204Patch 8.2.4758
29205Problem: When using an LSP channel want to get the message ID.
29206Solution: Have ch_sendexpr() return the ID. (Yegappan Lakshmanan,
29207 closes #10202)
29208Files: runtime/doc/channel.txt, src/channel.c, src/evalfunc.c,
29209 src/testdir/test_channel.vim
29210
29211Patch 8.2.4759
29212Problem: CurSearch highlight does not work for multi-line match.
29213Solution: Check cursor position before adjusting columns. (closes #10133)
29214Files: src/structs.h, src/match.c, src/testdir/test_search.vim,
29215 src/testdir/dumps/Test_hlsearch_cursearch_multiple_line.dump,
29216 src/testdir/dumps/Test_hlsearch_cursearch_multiple_line_1.dump,
29217 src/testdir/dumps/Test_hlsearch_cursearch_multiple_line_2.dump,
29218 src/testdir/dumps/Test_hlsearch_cursearch_multiple_line_3.dump,
29219 src/testdir/dumps/Test_hlsearch_cursearch_multiple_line_4.dump,
29220 src/testdir/dumps/Test_hlsearch_cursearch_multiple_line_5.dump
29221
29222Patch 8.2.4760
29223Problem: Using matchfuzzy() on a long list can take a while.
29224Solution: Add a limit to the number of matches. (Yasuhiro Matsumoto,
29225 closes #10189)
29226Files: runtime/doc/builtin.txt, src/search.c,
29227 src/testdir/test_matchfuzzy.vim
29228
29229Patch 8.2.4761
29230Problem: Documentation for using LSP messages is incomplete.
29231Solution: Update the documentation. (Yegappan Lakshmanan, closes #10206)
29232Files: runtime/doc/channel.txt
29233
29234Patch 8.2.4762
29235Problem: Using freed memory when using synstack() and synID() in WinEnter.
29236Solution: Check using the syntax window. (closes #10204)
29237Files: src/syntax.c, src/testdir/test_syntax.vim
29238
29239Patch 8.2.4763
29240Problem: Using invalid pointer with "V:" in Ex mode.
29241Solution: Correctly handle the command being changed to "+".
29242Files: src/ex_docmd.c, src/testdir/test_ex_mode.vim
29243
29244Patch 8.2.4764
29245Problem: CI uses an older gcc version.
29246Solution: Use GCC 11. (closes #10185)
29247Files: .github/workflows/ci.yml, src/testdir/lsan-suppress.txt
29248
29249Patch 8.2.4765
29250Problem: Function matchfuzzy() sorts too many items.
29251Solution: Only put matches in the array. (Yegappan Lakshmanan,
29252 closes #10208)
29253Files: src/search.c
29254
29255Patch 8.2.4766
29256Problem: KRL files using "deffct" not recognized.
29257Solution: Adjust the pattern used for matching. (Patrick Meiser-Knosowski,
29258 closes #10200)
29259Files: runtime/autoload/dist/ft.vim, src/testdir/test_filetype.vim
29260
29261Patch 8.2.4767
29262Problem: Openscad files are not recognized.
29263Solution: Add a filetype pattern. (Niklas Adam, closes #10199)
29264Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29265
29266Patch 8.2.4768
29267Problem: CI: codecov upload sometimes does not work.
29268Solution: Use action v3 instead of v2. (closes #10209)
29269Files: .github/workflows/ci.yml
29270
29271Patch 8.2.4769
29272Problem: Build warning with UCRT.
29273Solution: Adjust #ifdef for _wenviron. (John Marriott)
29274Files: src/evalfunc.c
29275
29276Patch 8.2.4770
29277Problem: Cannot easily mix expression and heredoc.
29278Solution: Support `=expr` in heredoc. (Yegappan Lakshmanan, closes #10138)
29279Files: runtime/doc/eval.txt, src/evalvars.c, src/userfunc.c,
29280 src/testdir/test_let.vim, src/testdir/test_vim9_assign.vim
29281
29282Patch 8.2.4771
29283Problem: Coverity warns for not checking return value.
29284Solution: Check return value of rettv_dict_alloc().
29285Files: src/channel.c
29286
29287Patch 8.2.4772
29288Problem: Old Coverity warning for not checking ftell() return value.
29289Solution: Check return value of fseek() and ftell().
29290Files: src/misc1.c
29291
29292Patch 8.2.4773
29293Problem: Build failure without the +eval feature.
29294Solution: Use other error message. Avoid warnings.
29295Files: src/misc1.c, src/cindent.c, src/term.c
29296
29297Patch 8.2.4774
29298Problem: Crash when using a number for lambda name.
29299Solution: Check the type of the lambda reference.
29300Files: src/eval.c, src/errors.h, src/testdir/test_lambda.vim
29301
29302Patch 8.2.4775
29303Problem: SpellBad highlighting does not work in Konsole.
29304Solution: Do not keep t_8u defined for Konsole. Redraw when t_8u is reset.
29305 (closes #10177)
29306Files: src/term.c
29307
29308Patch 8.2.4776
29309Problem: GTK: 'lines' and 'columns' may change during startup.
29310Solution: Ignore stale GTK resize events. (Ernie Rael, closes #10179)
29311Files: src/gui_gtk_x11.c
29312
29313Patch 8.2.4777 (after 8.2.4775)
29314Problem: Screendump tests fail because of a redraw.
29315Solution: Do not output t_8u before receiving termresponse. Redraw only
29316 when t_8u is not reset and termresponse is received.
29317Files: src/term.c
29318
29319Patch 8.2.4778
29320Problem: Pacman files use dosini filetype.
29321Solution: Use conf instead. (Chaoren Lin, closes #10213)
29322Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29323
29324Patch 8.2.4779
29325Problem: lsan suppression is too version specific.
29326Solution: Leave out the version number. (Christian Brabandt, closes #10214)
29327Files: src/testdir/lsan-suppress.txt
29328
29329Patch 8.2.4780
29330Problem: Parsing an LSP message fails when it is split.
29331Solution: Collapse the received data before parsing. (Yegappan Lakshmanan,
29332 closes #10215)
29333Files: runtime/doc/channel.txt, src/channel.c,
29334 src/testdir/test_channel.vim, src/testdir/test_channel_lsp.py
29335
29336Patch 8.2.4781
29337Problem: Maxima files are not recognized.
29338Solution: Add patterns to detect Maxima files. (Doron Behar, closes #10211)
29339Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29340
29341Patch 8.2.4782
29342Problem: Accessing freed memory.
29343Solution: Clear evalarg after checking for trailing characters.
29344 (issue #10218)
29345Files: src/userfunc.c, src/testdir/test_lambda.vim
29346
29347Patch 8.2.4783
29348Problem: Coverity warns for leaking memory.
29349Solution: Use another strategy freeing "theline".
29350Files: src/evalvars.c
29351
29352Patch 8.2.4784
29353Problem: Lamba test with timer is flaky.
29354Solution: Adjust sleep time on retry.
29355Files: src/testdir/test_lambda.vim
29356
29357Patch 8.2.4785
29358Problem: Visual mode not stopped early enough if win_gotoid() goes to
29359 another buffer. (Sergey Vlasov)
29360Solution: Stop Visual mode before jumping to another buffer. (closes #10217)
29361Files: src/evalwindow.c, src/testdir/test_vim9_builtin.vim,
29362 src/testdir/dumps/Test_win_gotoid_1.dump,
29363 src/testdir/dumps/Test_win_gotoid_2.dump,
29364 src/testdir/dumps/Test_win_gotoid_3.dump
29365
29366Patch 8.2.4786 (after 8.2.4785)
29367Problem: Test for win_gotoid() in Visual mode fails on Mac.
29368Solution: Skip the test on MacOS.
29369Files: src/testdir/test_vim9_builtin.vim
29370
29371Patch 8.2.4787
29372Problem: prop_find() does not find the right property.
29373Solution: Fix the scan order. (closes #10220)
29374Files: src/textprop.c, src/testdir/test_textprop.vim
29375
29376Patch 8.2.4788
29377Problem: Large payload for LSP message not tested.
29378Solution: Add a test with a large LSP payload. (Yegappan Lakshmanan,
29379 closes #10223)
29380Files: src/channel.c, src/testdir/test_channel.vim,
29381 src/testdir/test_channel_lsp.py
29382
29383Patch 8.2.4789
29384Problem: The cursor may be in the in wrong place when using :redraw while
29385 editing the cmdline.
29386Solution: When editing the command line let :redraw update the command line
29387 too. (closes #10210)
29388Files: src/ex_docmd.c, src/testdir/test_cmdline.vim,
29389 src/testdir/dumps/Test_redraw_in_autocmd_1.dump,
29390 src/testdir/dumps/Test_redraw_in_autocmd_2.dump
29391
29392Patch 8.2.4790
29393Problem: Lilypond filetype not recognized.
29394Solution: Add patterns for lilypond. (Doug Kearns)
29395Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29396
29397Patch 8.2.4791
29398Problem: Autocmd events triggered in different order when reusing an empty
29399 buffer.
29400Solution: Call buff_freeall() earlier. (Charlie Groves, closes #10198)
29401Files: src/buffer.c, src/testdir/test_autocmd.vim
29402
29403Patch 8.2.4792
29404Problem: Indent operator creates an undo entry for every line.
29405Solution: Create one undo entry for all lines. (closes #10227)
29406Files: src/indent.c, src/testdir/test_indent.vim
29407
29408Patch 8.2.4793
29409Problem: Recognizing Maxima filetype even though it might be another.
29410Solution: Remove *.mc and *.dem patterns from Maxima files
29411Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29412
29413Patch 8.2.4794
29414Problem: Compiler warning for not initialized variable.
29415Solution: Initialize the variable. (John Marriott)
29416Files: src/indent.c
29417
29418Patch 8.2.4795
29419Problem: 'cursorbind' scrolling depends on whether 'cursorline' is set.
29420Solution: Always call validate_cursor(). (Christian Brabandt, closes #10230,
29421 closes #10014)
29422Files: src/move.c, src/testdir/README.txt,
29423 src/testdir/test_cursorline.vim,
29424 src/testdir/dumps/Test_hor_scroll_1.dump,
29425 src/testdir/dumps/Test_hor_scroll_2.dump,
29426 src/testdir/dumps/Test_hor_scroll_3.dump,
29427 src/testdir/dumps/Test_hor_scroll_4.dump
29428
29429Patch 8.2.4796 (after 8.2.4795)
29430Problem: File left behind after running cursorline tests.
29431Solution: Uncomment the line that deletes the file.
29432Files: src/testdir/test_cursorline.vim
29433
29434Patch 8.2.4797
29435Problem: getwininfo() may get oudated values.
29436Solution: Make sure w_botline is up-to-date. (closes #10226)
29437Files: src/evalwindow.c, src/testdir/test_bufwintabinfo.vim
29438
29439Patch 8.2.4798
29440Problem: t_8u option was reset even when set by the user.
29441Solution: Only reset t_8u when using the default value. (closes #10239)
29442Files: src/term.c
29443
29444Patch 8.2.4799
29445Problem: Popup does not use correct topline.
29446Solution: Also add one when firstline is negative. (closes #10229)
29447Files: src/popupwin.c, src/testdir/test_popupwin.vim
29448
29449Patch 8.2.4800 (after 8.2.4798)
29450Problem: Missing test update for adjusted t_8u behavior.
29451Solution: Update and extend the test.
29452Files: src/testdir/test_termcodes.vim
29453
29454Patch 8.2.4801 (after 8.2.4795)
29455Problem: Fix for cursorbind fix not fully tested.
29456Solution: Add another test case. (Christian Brabandt, closes #10240)
29457Files: src/testdir/test_cursorline.vim,
29458 src/testdir/dumps/Test_hor_scroll_5.dump
29459
29460Patch 8.2.4802
29461Problem: Test is not cleaned up.
29462Solution: Make test clean up after itself. Avoid NUL. (closes #10233)
29463Files: src/testdir/test_autocmd.vim
29464
29465Patch 8.2.4803
29466Problem: WinScrolled not always triggered when scrolling with the mouse.
29467Solution: Add calls to may_trigger_winscrolled(). (closes #10246)
29468Files: src/mouse.c, src/testdir/test_autocmd.vim
29469
29470Patch 8.2.4804
29471Problem: Expression in heredoc doesn't work for compiled function.
29472Solution: Implement compiling the heredoc expressions. (Yegappan Lakshmanan,
29473 closes #10232)
29474Files: runtime/doc/eval.txt, src/evalvars.c, src/proto/evalvars.pro,
29475 src/ex_getln.c, src/vim9compile.c, src/proto/vim9compile.pro,
29476 src/testdir/test_vim9_assign.vim
29477
29478Patch 8.2.4805
29479Problem: CurSearch used for all matches in current line.
29480Solution: Don't use the non-zero line count. (closes #10247)
29481Files: src/match.c, src/testdir/test_search.vim,
29482 src/testdir/dumps/Test_hlsearch_cursearch_single_line_1.dump,
29483 src/testdir/dumps/Test_hlsearch_cursearch_single_line_2.dump,
29484 src/testdir/dumps/Test_hlsearch_cursearch_single_line_2a.dump,
29485 src/testdir/dumps/Test_hlsearch_cursearch_single_line_2b.dump
29486
29487Patch 8.2.4806
29488Problem: A mapping using <LeftDrag> does not start Select mode.
29489Solution: When checking for starting select mode with the mouse also do this
29490 when there is typeahead. (closes #10249)
29491Files: src/normal.c
29492
29493Patch 8.2.4807
29494Problem: Processing key events in Win32 GUI is not ideal.
29495Solution: Improve processing of key events. (closes #10155)
29496Files: src/gui_w32.c
29497
29498Patch 8.2.4808
29499Problem: Unused item in engine struct.
29500Solution: Remove "expr". Add comment with tags.
29501Files: src/regexp.h
29502
29503Patch 8.2.4809
29504Problem: Various things not properly tested.
29505Solution: Add various test cases. (Yegappan Lakshmanan, closes #10259)
29506Files: src/testdir/test_blob.vim, src/testdir/test_debugger.vim,
29507 src/testdir/test_listdict.vim, src/testdir/test_vim9_builtin.vim,
29508 src/testdir/test_vim9_import.vim, src/testdir/test_vim9_script.vim
29509
29510Patch 8.2.4810 (after 8.2.4808)
29511Problem: Missing changes in one file.
29512Solution: Also change the struct initializers.
29513Files: src/regexp.c
29514
29515Patch 8.2.4811 (after 8.2.4807)
29516Problem: Win32 GUI: caps lock doesn't work.
29517Solution: Handle VK_CAPITAL. (closes #10260, closes #10258)
29518Files: src/gui_w32.c
29519
29520Patch 8.2.4812
29521Problem: Unused struct item.
29522Solution: Remove "lines" match_T. Simplify the code. (closes #10256)
29523Files: src/match.c, src/structs.h
29524
29525Patch 8.2.4813
29526Problem: Pasting text while indent folding may mess up folds.
29527Solution: Adjust the way folds are split. (Brandon Simmons, closes #10254)
29528Files: src/fold.c, src/testdir/test_fold.vim
29529
29530Patch 8.2.4814
29531Problem: Possible to leave a popup window with win_gotoid().
29532Solution: Give an error when trying to leave a popup window with
29533 win_gotoid(). (closes #10253)
29534Files: src/evalwindow.c, src/testdir/test_terminal3.vim
29535
29536Patch 8.2.4815 (after 8.2.4776)
29537Problem: Cannot build with older GTK version.
29538Solution: Use gtk_window_get_size() instead of gdk_window_get_width() and
29539 gdk_window_get_height(). (Ernie Rael, closes #10257)
29540Files: src/gui_gtk_x11.c
29541
29542Patch 8.2.4816
29543Problem: Still using older codecov app in some places of CI.
29544Solution: Use v3.1.0. (closes #10209)
29545Files: .github/workflows/ci.yml
29546
29547Patch 8.2.4817
29548Problem: Win32 GUI: modifiers are not always used.
29549Solution: Handle more modifiers. (closes #10269)
29550Files: src/gui_w32.c
29551
29552Patch 8.2.4818 (after 8.2 4806)
29553Problem: No test for what 8.2.4806 fixes.
29554Solution: Add a test. (closes #10272)
29555Files: src/testdir/test_mapping.vim
29556
29557Patch 8.2.4819
29558Problem: Unmapping simplified keys also deletes other mapping.
29559Solution: Only unmap a mapping with m_simplified set. (closes #10270)
29560Files: src/map.c, src/testdir/test_mapping.vim
29561
29562Patch 8.2.4820
29563Problem: No simple programmatic way to find a specific mapping.
29564Solution: Add getmappings(). (Ernie Rael, closes #10273)
29565Files: runtime/doc/builtin.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
29566 src/map.c, src/proto/map.pro, src/testdir/test_maparg.vim
29567
29568Patch 8.2.4821
29569Problem: Crash when imported autoload script was deleted.
29570Solution: Initialize local variable. (closes #10274) Give a more meaningful
29571 error message.
29572Files: src/eval.c, src/vim9script.c, src/testdir/test_vim9_import.vim
29573
29574Patch 8.2.4822
29575Problem: Setting ufunc to NULL twice.
29576Solution: Set ufunc to NULL in find_exported(). (closes #19275)
29577Files: src/eval.c, src/vim9script.c
29578
29579Patch 8.2.4823
29580Problem: Concatenating more than 2 strings in a :def function is
29581 inefficient.
29582Solution: Add a count to the CONCAT instruction. (closes #10276)
29583Files: src/vim9.h, src/vim9cmds.c, src/vim9compile.c, src/vim9execute.c,
29584 src/vim9expr.c, src/vim9instr.c, src/proto/vim9instr.pro,
29585 src/testdir/test_vim9_disassemble.vim
29586
29587Patch 8.2.4824
29588Problem: Expression is evaluated multiple times.
29589Solution: Evaluate expression once and store the result. (closes #10278)
29590Files: src/map.c
29591
29592Patch 8.2.4825
29593Problem: Can only get a list of mappings.
29594Solution: Add the optional {abbr} argument. (Ernie Rael, closes #10277)
29595 Rename to maplist(). Rename test file.
29596Files: runtime/doc/builtin.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
29597 src/map.c, src/proto/map.pro, src/testdir/test_maparg.vim,
29598 src/testdir/test_map_functions.vim, src/testdir/Make_all.mak
29599
29600Patch 8.2.4826
29601Problem: .cshtml files are not recognized.
29602Solution: Use html filetype for .cshtml files. (Julien Voisin, closes #10212)
29603Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29604
29605Patch 8.2.4827
29606Problem: Typo in variable name. (Gabriel Dupras)
29607Solution: Rename the variable.
29608Files: src/map.c
29609
29610Patch 8.2.4828
29611Problem: Fix for unmapping simplified key not fully tested.
29612Solution: Add a test case. (closes #10292)
29613Files: src/map.c, src/testdir/test_mapping.vim
29614
29615Patch 8.2.4829
29616Problem: A key may be simplified to NUL.
29617Solution: Use K_ZERO instead. Use macros instead of hard coded values.
29618 (closes #10290)
29619Files: src/getchar.c, src/misc2.c, src/testdir/test_termcodes.vim
29620
29621Patch 8.2.4830
29622Problem: Possible endless loop if there is unused typahead.
29623Solution: Only loop when the typeahead changed.
29624Files: src/channel.c
29625
29626Patch 8.2.4831
29627Problem: Crash when using maparg() and unmapping simplified keys.
29628Solution: Do not keep a mapblock pointer. (closes #10294)
29629Files: src/map.c, src/testdir/test_map_functions.vim
29630
29631Patch 8.2.4832
29632Problem: Passing zero instead of NULL to a pointer argument.
29633Solution: Use NULL. (closes #10296)
29634Files: src/getchar.c, src/term.c
29635
29636Patch 8.2.4833
29637Problem: Failure of mapping not checked for.
29638Solution: Check return value of ins_typebuf(). (closes #10299)
29639Files: src/getchar.c, src/term.c, src/testdir/test_termcodes.vim
29640
29641Patch 8.2.4834
29642Problem: Vim9: some lines not covered by tests.
29643Solution: Add a few more tests. Remove dead code.
29644Files: src/vim9execute.c, src/vim9instr.c, src/vim9.h,
29645 src/testdir/test_vim9_expr.vim
29646
29647Patch 8.2.4835
29648Problem: Vim9: some lines not covered by tests.
29649Solution: Add a few more tests. Fix disassemble output.
29650Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim,
29651 src/testdir/test_vim9_script.vim,
29652 src/testdir/test_vim9_disassemble.vim
29653
29654Patch 8.2.4836
29655Problem: Vim9: some lines not covered by tests.
29656Solution: Remove dead code. Add disassemble tests.
29657Files: src/vim9execute.c, src/vim9.h,
29658 src/testdir/test_vim9_disassemble.vim
29659
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010029660Patch 8.2.4837 (after patch 8.2.0919)
Bram Moolenaard799daa2022-06-20 11:17:32 +010029661Problem: Modifiers not simplified when timed out or using feedkeys() with
29662 'n" flag.
29663Solution: Adjust how mapped flag and timeout are used. (closes #10305)
29664Files: src/getchar.c, src/testdir/test_paste.vim,
29665 src/testdir/test_termcodes.vim
29666
29667Patch 8.2.4838
29668Problem: Checking for absolute path is not trivial.
29669Solution: Add isabsolutepath(). (closes #10303)
29670Files: runtime/doc/builtin.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
29671 src/filepath.c, src/proto/filepath.pro,
29672 src/testdir/test_functions.vim
29673
29674Patch 8.2.4839
29675Problem: Compiler warning for unused argument.
29676Solution: Add "UNUSED".
29677Files: src/gui_gtk_x11.c
29678
29679Patch 8.2.4840
29680Problem: Heredoc expression evaluated even when skipping.
29681Solution: Don't evaluate when "skip" is set. (closes #10306)
29682Files: src/evalvars.c, src/testdir/test_let.vim
29683
29684Patch 8.2.4841
29685Problem: Empty string considered an error for expand() when 'verbose' is
29686 set. (Christian Brabandt)
29687Solution: Do not give an error for an empty result. (closes #10307)
29688Files: src/evalfunc.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
29689 src/filepath.c, src/testdir/test_expand_func.vim
29690
29691Patch 8.2.4842 (after 8.2.4841)
29692Problem: expand("%:p") is not empty when there is no buffer name.
29693Solution: When ignoring errors still return NULL. (closes #10311)
29694Files: src/ex_docmd.c, src/testdir/test_expand_func.vim
29695
29696Patch 8.2.4843 (after 8.2.4807)
29697Problem: Win32 GUI: Treating CTRL + ALT as AltGr is not backwards
29698 compatible. (Axel Bender)
29699Solution: Make a difference between left and right menu keys.
29700 (closes #10308)
29701Files: src/gui_w32.c
29702
29703Patch 8.2.4844
29704Problem: <C-S-I> is simplified to <S-Tab>.
29705Solution: Do not simplify CTRL if there is also SHIFT. (closes #10313)
29706Files: src/getchar.c, src/testdir/test_gui.vim
29707
29708Patch 8.2.4845
29709Problem: Duplicate code.
29710Solution: Move code below if/else. (closes #10314)
29711Files: src/misc1.c
29712
29713Patch 8.2.4846 (after 8.2.4844)
29714Problem: Termcodes test fails.
29715Solution: use CTRL-SHIFT-V to insert an unsimplified key. (closes #10316)
29716Files: runtime/doc/cmdline.txt, src/edit.c, src/getchar.c,
29717 src/testdir/test_gui.vim
29718
29719Patch 8.2.4847
29720Problem: Crash when using uninitialized function pointer.
29721Solution: Check for NULL pointer. (closes #10319, closes #10319)
29722Files: src/eval.c, src/testdir/test_vim9_script.vim
29723
29724Patch 8.2.4848
29725Problem: Local completion with mappings and simplification not working.
29726Solution: Fix local completion <C-N>/<C-P> mappings not ignored if keys are
29727 not simplified. (closes #10323)
29728Files: src/getchar.c, src/testdir/test_popup.vim
29729
29730Patch 8.2.4849
29731Problem: Gleam filetype not detected.
29732Solution: Add a pattern for Gleam files. (Mathias Jean Johansen,
29733 closes #10326)
29734Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29735
29736Patch 8.2.4850
29737Problem: Mksession mixes up "tabpages" and "curdir" arguments.
29738Solution: Correct logic for storing tabpage in session. (closes #10312)
29739Files: src/session.c, src/testdir/test_mksession.vim
29740
29741Patch 8.2.4851
29742Problem: Compiler warning for uninitialized variable.
29743Solution: Use another variable to decide to restore option values.
29744Files: src/session.c
29745
29746Patch 8.2.4852
29747Problem: ANSI color index to RGB value not correct.
29748Solution: Convert the cterm index to ANSI index. (closes #10321,
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010029749 closes #9836)
Bram Moolenaard799daa2022-06-20 11:17:32 +010029750Files: src/term.c
29751
29752Patch 8.2.4853
29753Problem: CI with FreeBSD is a bit outdated.
29754Solution: Use 12.3 instead of 12.1. (closes #10333)
29755Files: .cirrus.yml
29756
29757Patch 8.2.4854
29758Problem: Array size does not match usage.
29759Solution: Make array size 3 instead of 4. (Christian Brabandt, closes #10336)
29760Files: src/term.c
29761
29762Patch 8.2.4855
29763Problem: Robot files are not recognized.
29764Solution: Add patterns for robot files. (Zoe Roux, closes #10339)
29765Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29766
29767Patch 8.2.4856
29768Problem: MinGW compiler complains about unknown escape sequence.
29769Solution: Avoid using a backslash in path. (Christian Brabandt,
29770 closes #10337)
29771Files: .github/workflows/ci.yml
29772
29773Patch 8.2.4857
29774Problem: Yaml indent for multiline is wrong.
29775Solution: Adjust patterns. (closes #10328, closes #8740)
29776Files: runtime/indent/yaml.vim, runtime/indent/testdir/yaml.in,
29777 runtime/indent/testdir/yaml.ok
29778
29779Patch 8.2.4858
29780Problem: K_SPECIAL may be escaped twice.
29781Solution: Avoid double escaping. (closes #10340)
29782Files: src/highlight.c, src/misc2.c, src/proto/misc2.pro, src/term.c,
29783 src/typval.c, src/testdir/test_eval_stuff.vim,
29784 src/testdir/test_feedkeys.vim, src/testdir/test_functions.vim,
29785 src/testdir/test_mapping.vim
29786
29787Patch 8.2.4859
29788Problem: wget2 files are not recognized.
29789Solution: Add patterns to recognize wget2. (Doug Kearns)
29790Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29791
29792Patch 8.2.4860
29793Problem: MS-Windows: always uses current directory for executables.
29794Solution: Check the NoDefaultCurrentDirectoryInExePath environment variable.
29795 (Yasuhiro Matsumoto, closes #10341)
29796Files: runtime/doc/builtin.txt, src/os_win32.c,
29797 src/testdir/test_functions.vim
29798
29799Patch 8.2.4861
29800Problem: It is not easy to restore saved mappings.
29801Solution: Make mapset() accept a dict argument. (Ernie Rael, closes #10295)
29802Files: runtime/doc/builtin.txt, src/errors.h, src/evalfunc.c, src/map.c,
29803 src/typval.c, src/proto/typval.pro,
29804 src/testdir/test_map_functions.vim,
29805 src/testdir/test_vim9_builtin.vim
29806
29807Patch 8.2.4862
29808Problem: Vim9: test may fail when run with valgrind.
29809Solution: Wait longer for callback if needed.
29810Files: src/testdir/test_vim9_script.vim
29811
29812Patch 8.2.4863
29813Problem: Accessing freed memory in test without the +channel feature.
29814 (Dominique Pellé)
29815Solution: Do not generted PUSHCHANNEL or PUSHJOB if they are not
29816 implemented. (closes #10350)
29817Files: src/vim9instr.c, src/errors.h, src/vim9compile.c,
29818 src/testdir/test_vim9_script.vim
29819
29820Patch 8.2.4864 (after 8.2.4863)
29821Problem: Vim9: script test fails.
29822Solution: Remove "if" around declaration.
29823Files: src/testdir/test_vim9_script.vim
29824
29825Patch 8.2.4865
29826Problem: :startinsert right after :stopinsert does not work when popup menu
29827 is still visible.
29828Solution: Use ins_compl_active() instead of pum_visible(). (closes #10352)
29829Files: src/edit.c, src/testdir/test_ins_complete.vim
29830
29831Patch 8.2.4866
29832Problem: Duplicate code in "get" functions.
29833Solution: Use get_var_from() for getwinvar(), gettabvar(), gettabwinvar()
29834 and getbufvar(). (closes #10335)
29835Files: src/evalvars.c
29836
29837Patch 8.2.4867
29838Problem: Listing of mapping with K_SPECIAL is wrong.
29839Solution: Adjust escaping of special characters. (closes #10351)
29840Files: src/map.c, src/message.c, src/testdir/test_mapping.vim
29841
29842Patch 8.2.4868
29843Problem: When closing help window autocmds triggered for the wrong window.
29844Solution: Figure out the new current window earlier. (closes #10348)
29845Files: src/window.c, src/testdir/test_help.vim
29846
29847Patch 8.2.4869
29848Problem: Expression in command block does not look after NL.
29849Solution: Skip over NL to check what follows. (closes #10358)
29850Files: src/eval.c, src/proto/eval.pro, src/vim9script.c,
29851 src/testdir/test_usercommands.vim
29852
29853Patch 8.2.4870
29854Problem: Vim9: expression in :substitute is not compiled.
29855Solution: Use an INSTR instruction if possible. (closes #10334)
29856Files: src/evalfunc.c, src/regexp.c, src/vim9execute.c, src/vim9expr.c,
29857 src/testdir/test_vim9_builtin.vim,
29858 src/testdir/test_vim9_disassemble.vim
29859
29860Patch 8.2.4871
29861Problem: Vim9: in :def function no error for using a range with a command
29862 that does not accept one.
29863Solution: Check for the command to accept a range. (closes #10330)
29864Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
29865
29866Patch 8.2.4872
29867Problem: Vim9: no error for using an expression only at the script level
29868 when followed by an empty line.
29869Solution: Do not check the line number but whether something follows.
29870 (closes #10357)
29871Files: src/ex_eval.c, src/testdir/test_vim9_cmd.vim
29872
29873Patch 8.2.4873
29874Problem: Vim9: using "else" differs from using "endif/if !cond".
29875Solution: Leave the block and enter another one. (closes #10320)
29876Files: src/ex_eval.c, src/testdir/test_vim9_script.vim
29877
29878Patch 8.2.4874
29879Problem: Win32 GUI: horizontal scroll wheel not handled properly.
29880Solution: Also handle WM_MOUSEHWHEEL. (closes #10309)
29881Files: src/gui_w32.c
29882
29883Patch 8.2.4875
29884Problem: MS-Windows: some .exe files are not recognized.
29885Solution: Parse APPEXECLINK junctions. (closes #10302)
29886Files: src/os_mswin.c, src/proto/os_mswin.pro, src/os_win32.c,
29887 src/os_win32.h, src/testdir/test_functions.vim
29888
29889Patch 8.2.4876
29890Problem: MS-Windows: Shift-BS results in strange character in powershell.
29891Solution: Add K_S_BS. (Christian Brabandt, closes #10283, closes #10279)
29892Files: src/edit.c, src/keymap.h, src/term.c, src/testdir/shared.vim,
29893 src/testdir/test_edit.vim
29894
29895Patch 8.2.4877
29896Problem: MS-Windows: Using Normal colors for termguicolors causes problems.
29897Solution: Do not use Normal colors to set sg_gui_fg and sg_gui_bg.
29898 (Christian Brabandt, closes #10317, closes #10241)
29899Files: src/highlight.c
29900
29901Patch 8.2.4878
29902Problem: Valgrind warning for using uninitialized variable.
29903Solution: Initialize the type of newtv.
29904Files: src/strings.c
29905
29906Patch 8.2.4879
29907Problem: Screendump test may fail when using valgrind.
29908Solution: Wait longer for the first screendump.
29909Files: src/testdir/test_vim9_builtin.vim, src/testdir/screendump.vim
29910
29911Patch 8.2.4880
29912Problem: Vim9: misplaced elseif causes invalid memory access.
29913Solution: Check cs_idx not to be negative.
29914Files: src/ex_eval.c
29915
29916Patch 8.2.4881
29917Problem: "P" in Visual mode still changes some registers.
29918Solution: Make "P" in Visual mode not change any register. (Shougo
29919 Matsushita, closes #10349)
29920Files: runtime/doc/change.txt, runtime/doc/index.txt,
29921 runtime/doc/visual.txt, src/normal.c, src/testdir/test_visual.vim
29922
29923Patch 8.2.4882
29924Problem: Cannot make 'breakindent' use a specific column.
29925Solution: Add the "column" entry in 'breakindentopt'. (Christian Brabandt,
29926 closes #10362, closes #10325)
29927Files: runtime/doc/options.txt, src/indent.c, src/structs.h,
29928 src/testdir/test_breakindent.vim
29929
29930Patch 8.2.4883
29931Problem: String interpolation only works in heredoc.
29932Solution: Support interpolated strings. Use syntax for heredoc consistent
29933 with strings, similar to C#. (closes #10327)
29934Files: runtime/doc/eval.txt, src/errors.h, src/eval.c, src/evalvars.c,
29935 src/proto/evalvars.pro, src/typval.c, src/proto/typval.pro,
29936 src/vim9compile.c, src/proto/vim9compile.pro, src/vim9expr.c,
29937 src/testdir/test_debugger.vim, src/testdir/test_expr.vim,
29938 src/testdir/test_let.vim, src/testdir/test_vim9_assign.vim,
29939 src/testdir/test_vim9_disassemble.vim
29940
29941Patch 8.2.4884
29942Problem: Test fails without the job/channel feature. (Dominique Pellé)
29943Solution: Add condition.
29944Files: src/testdir/test_vim9_script.vim
29945
29946Patch 8.2.4885 (after 8.2.4884)
29947Problem: Test fails with the job/channel feature.
29948Solution: Move check for job/channel separately.
29949Files: src/testdir/test_vim9_script.vim
29950
29951Patch 8.2.4886
29952Problem: Vim9: redir in skipped block seen as assignment.
29953Solution: Check for valid assignment.
29954Files: src/ex_docmd.c, src/testdir/test_vim9_assign.vim
29955
29956Patch 8.2.4887
29957Problem: Channel log does not show invoking a timer callback.
29958Solution: Add a ch_log() call.
29959Files: src/time.c
29960
29961Patch 8.2.4888
29962Problem: Line number of lambda ignores line continuation.
29963Solution: Use the line number of where the arguments are. Avoid outputting
29964 "..." twice. (closes #10364)
29965Files: src/userfunc.c
29966
29967Patch 8.2.4889
29968Problem: CI only tests with FreeBSD 12.
29969Solution: Also test with FreeBSD 13. (closes #10366)
29970Files: .cirrus.yml
29971
29972Patch 8.2.4890
29973Problem: Inconsistent capitalization in error messages.
29974Solution: Make capitalization consistent. (Doug Kearns)
29975Files: src/errors.h
29976
29977Patch 8.2.4891
29978Problem: Vim help presentation could be better.
29979Solution: Add an imported file for extra Vim help support. Show highlight
29980 names in the color they have.
29981Files: Filelist, runtime/import/dist/vimhelp.vim
29982
29983Patch 8.2.4892
29984Problem: Test failures because of changed error messages.
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010029985Solution: Adjust the expected error messages.
Bram Moolenaard799daa2022-06-20 11:17:32 +010029986Files: src/testdir/test_vim9_assign.vim,
29987 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim,
29988 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim,
29989 src/testdir/test_expand.vim, src/testdir/test_tcl.vim,
29990 src/testdir/test_vimscript.vim
29991
29992Patch 8.2.4893 (after 8.2.4891)
29993Problem: Distributed import files are not installed.
29994Solution: Add rules to Makefile and NSIS.
29995Files: src/Makefile, nsis/gvim.nsi
29996
29997Patch 8.2.4894
29998Problem: MS-Windows: not using italics.
29999Solution: Use italics. Simplify the code. (closes #10359)
30000Files: src/term.c
30001
30002Patch 8.2.4895
30003Problem: Buffer overflow with invalid command with composing chars.
30004Solution: Check that the whole character fits in the buffer.
30005Files: src/ex_docmd.c, src/testdir/test_cmdline.vim
30006
30007Patch 8.2.4896 (after 8.2.4869)
30008Problem: Expression in command block does not look after NL when command is
30009 typed.
30010Solution: Skip over NL also when not in a script. (closes #10358)
30011Files: src/eval.c, src/testdir/test_usercommands.vim
30012
30013Patch 8.2.4897
30014Problem: Comment inside an expression in lambda ignores the rest of the
30015 expression.
30016Solution: Truncate the line at the comment. (closes #10367)
30017Files: src/eval.c, src/testdir/test_lambda.vim
30018
30019Patch 8.2.4898
30020Problem: Coverity complains about pointer usage.
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010030021Solution: Move code for increment/decrement.
Bram Moolenaard799daa2022-06-20 11:17:32 +010030022Files: src/vim9compile.c
30023
30024Patch 8.2.4899
30025Problem: With latin1 encoding CTRL-W might go before the start of the
30026 command line.
30027Solution: Check already being at the start of the command line.
30028Files: src/ex_getln.c, src/testdir/test_cmdline.vim
30029
30030Patch 8.2.4900
30031Problem: Vim9 expression test fails without the job feature.
30032Solution: Add a check for the job feature. (Dominique Pellé, closes #10373)
30033Files: src/testdir/test_vim9_expr.vim
30034
30035Patch 8.2.4901
30036Problem: NULL pointer access when using invalid pattern.
30037Solution: Check for failed regexp program.
30038Files: src/buffer.c, src/testdir/test_buffer.vim
30039
30040Patch 8.2.4902
30041Problem: Mouse wheel scrolling is inconsistent.
30042Solution: Use the MS-Winows system setting. (closes #10368)
30043Files: runtime/doc/scroll.txt, src/gui_w32.c, src/mouse.c,
30044 src/proto/mouse.pro, src/testing.c, src/testdir/test_gui.vim
30045
30046Patch 8.2.4903
30047Problem: Cannot get the current cmdline completion type and position.
30048Solution: Add getcmdcompltype() and getcmdscreenpos(). (Shougo Matsushita,
30049 closes #10344)
30050Files: runtime/doc/builtin.txt, runtime/doc/usr_41.txt, src/cmdexpand.c,
30051 src/proto/cmdexpand.pro, src/evalfunc.c, src/ex_getln.c,
30052 src/proto/ex_getln.pro, src/usercmd.c, src/proto/usercmd.pro,
30053 src/testdir/test_cmdline.vim
30054
30055Patch 8.2.4904
30056Problem: codecov includes MS-Windows install files.
30057Solution: Ignore dosinst.c and uninstall.c.
30058Files: .codecov.yml
30059
30060Patch 8.2.4905
30061Problem: codecov includes MS-Windows install header file.
30062Solution: Ignore dosinst.h.
30063Files: .codecov.yml
30064
30065Patch 8.2.4906
30066Problem: MS-Windows: cannot use transparent background.
30067Solution: Make transparent background work with 'termguicolors' and NONE
30068 background color. (Yasuhiro Matsumoto, closes #10310, closes #7162)
30069Files: runtime/doc/options.txt, src/os_win32.c, src/term.c
30070
30071Patch 8.2.4907
30072Problem: Some users do not want a line comment always inserted.
30073Solution: Add the '/' flag to 'formatoptions' to not repeat the comment
30074 leader after a statement when using "o".
30075Files: runtime/doc/change.txt, src/option.h, src/change.c,
30076 src/testdir/test_textformat.vim
30077
30078Patch 8.2.4908
30079Problem: No text formatting for // comment after a statement.
30080Solution: format a comment when the 'c' flag is in 'formatoptions'.
30081Files: src/textformat.c, src/testdir/test_textformat.vim
30082
30083Patch 8.2.4909
30084Problem: MODE_ enum entries names are too generic.
30085Solution: use CH_MODE_.
30086Files: src/structs.h, src/channel.c, src/job.c, src/terminal.c
30087
30088Patch 8.2.4910
30089Problem: Imperfect coding.
30090Solution: Make code nicer.
30091Files: src/ex_getln.c
30092
30093Patch 8.2.4911
30094Problem: The mode #defines are not clearly named.
30095Solution: Prepend MODE_. Renumber them to put the mapped modes first.
30096Files: src/vim.h, src/autocmd.c, src/buffer.c, src/change.c,
30097 src/charset.c, src/cindent.c, src/clipboard.c, src/debugger.c,
30098 src/digraph.c, src/drawline.c, src/drawscreen.c, src/edit.c,
30099 src/evalfunc.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c,
30100 src/fileio.c, src/fold.c, src/getchar.c, src/globals.h, src/gui.c,
30101 src/gui_gtk.c, src/gui_w32.c, src/gui_xim.c, src/indent.c,
30102 src/insexpand.c, src/macros.h, src/main.c, src/map.c, src/menu.c,
30103 src/message.c, src/misc1.c, src/misc2.c, src/mouse.c,
30104 src/netbeans.c, src/normal.c, src/ops.c, src/option.c,
30105 src/os_unix.c, src/os_win32.c, src/popupmenu.c, src/search.c,
30106 src/tag.c, src/screen.c, src/term.c, src/terminal.c,
30107 src/textformat.c, src/window.c
30108
30109Patch 8.2.4912
30110Problem: Using execute() to define a lambda doesn't work. (Ernie Rael)
30111Solution: Put the getline function in evalarg. (closes #10375)
30112Files: src/eval.c, src/evalfunc.c, src/proto/evalfunc.pro,
30113 src/testdir/test_vim9_func.vim
30114
30115Patch 8.2.4913
30116Problem: Popup_hide() does not always have effect.
30117Solution: Add the POPF_HIDDEN_FORCE flag. (closes #10376)
30118Files: src/popupwin.c, src/vim.h, src/testdir/test_popupwin.vim,
30119 src/testdir/dumps/Test_popup_prop_not_visible_01a.dump,
30120 src/testdir/dumps/Test_popup_prop_not_visible_01b.dump
30121
30122Patch 8.2.4914
30123Problem: String interpolation in :def function may fail.
30124Solution: Do not terminate the expression. (closes #10377)
30125Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
30126
30127Patch 8.2.4915
30128Problem: Sometimes the cursor is in the wrong position.
30129Solution: When the cursor moved to another line, recompute w_botline.
30130 (closes #9736)
30131Files: src/move.c
30132
30133Patch 8.2.4916 (after 8.2.4915)
30134Problem: Mouse in Insert mode test fails.
30135Solution: Fix the test and check relevant positions.
30136Files: src/testdir/test_edit.vim
30137
30138Patch 8.2.4917
30139Problem: Fuzzy expansion of option names is not right.
30140Solution: Pass the fuzzy flag down the call chain. (Christian Brabandt,
30141 closes #10380, closes #10318)
30142Files: src/cmdexpand.c, src/option.c, src/proto/option.pro,
30143 src/testdir/test_options.vim
30144
30145Patch 8.2.4918
30146Problem: Conceal character from matchadd() displayed too many times.
30147Solution: Check the syntax flag. (closes #10381, closes #7268)
30148Files: src/drawline.c, src/testdir/test_matchadd_conceal.vim
30149
30150Patch 8.2.4919
30151Problem: Can add invalid bytes with :spellgood.
30152Solution: Check for a valid word string.
30153Files: src/mbyte.c, src/spellfile.c, src/errors.h,
30154 src/testdir/test_spell_utf8.vim
30155
30156Patch 8.2.4920 (after 8.2.4902)
30157Problem: MS-Windows GUI: unused variables.
30158Solution: Delete the variables. (John Marriott)
30159Files: src/gui_w32.c
30160
30161Patch 8.2.4921
30162Problem: Spell test fails because of new illegal byte check.
30163Solution: Remove the test.
30164Files: src/testdir/test_spell.vim
30165
30166Patch 8.2.4922 (after 8.2.4916)
30167Problem: Mouse test fails on MS-Windows.
30168Solution: Set 'mousemodel' to "extend".
30169Files: src/testdir/test_edit.vim
30170
30171Patch 8.2.4923
30172Problem: Test checks for terminal feature unnecessarily.
30173Solution: Remove CheckRunVimInTerminal. (closes #10383)
30174Files: src/testdir/test_matchadd_conceal.vim
30175
30176Patch 8.2.4924
30177Problem: maparg() may return a string that cannot be reused.
30178Solution: use msg_outtrans_special() instead of str2special().
30179 (closes #10384)
30180Files: src/message.c, src/option.c, src/testdir/test_map_functions.vim,
30181 src/testdir/test_mapping.vim, src/testdir/test_options.vim
30182
30183Patch 8.2.4925
30184Problem: Trailing backslash may cause reading past end of line.
30185Solution: Check for NUL after backslash.
30186Files: src/textobject.c, src/testdir/test_textobjects.vim
30187
30188Patch 8.2.4926
30189Problem: #ifdef for crypt feature around too many lines.
30190Solution: Move code outside of #ifdef. (closes #10388)
30191Files: src/option.c
30192
30193Patch 8.2.4927
30194Problem: Return type of remove() incorrect when using three arguments.
30195Solution: Use first argument type when there are three arguments.
30196 (closes #10387)
30197Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
30198
30199Patch 8.2.4928
30200Problem: Various white space and cosmetic mistakes.
30201Solution: Change spaces to tabs, improve comments.
30202Files: src/bufwrite.c, src/channel.c, src/cindent.c, src/crypt.c,
30203 src/debugger.c, src/digraph.c, src/edit.c, src/evalwindow.c,
30204 src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c, src/fileio.c,
30205 src/filepath.c, src/gui.c, src/highlight.c, src/indent.c,
30206 src/insexpand.c, src/job.c, src/keymap.h, src/macros.h,
30207 src/menu.c, src/misc1.c, src/misc2.c, src/mouse.c, src/move.c,
30208 src/normal.c, src/ops.c, src/option.c, src/option.h, src/search.c,
30209 src/session.c, src/spellsuggest.c, src/structs.h, src/tag.c,
30210 src/term.c, src/terminal.c, src/textformat.c, src/typval.c,
30211 src/ui.c, src/userfunc.c, src/vim.h, src/vim9.h,
30212 src/vim9compile.c, src/vim9execute.c, src/window.c,
30213 src/testdir/test_cursorline.vim, src/os_unix.c, src/if_lua.c,
30214 src/if_py_both.h, src/os_amiga.c, src/os_win32.c, src/os_mswin.c,
30215 src/os_vms.c, src/os_vms_conf.h
30216
30217Patch 8.2.4929
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010030218Problem: Off-by-one error in statusline item.
Bram Moolenaard799daa2022-06-20 11:17:32 +010030219Solution: Subtrace one less. (closes #10394, closes #5599)
30220Files: src/buffer.c, src/testdir/test_statusline.vim,
30221 src/testdir/dumps/Test_statusline_hl.dump
30222
30223Patch 8.2.4930
30224Problem: Interpolated string expression requires escaping.
30225Solution: Do not require escaping in the expression.
30226Files: runtime/doc/eval.txt, src/typval.c, src/proto/typval.pro,
30227 src/dict.c, src/eval.c, src/evalvars.c, src/proto/evalvars.pro,
30228 src/vim9compile.c, src/proto/vim9compile.pro, src/vim9expr.c,
30229 src/vim9instr.c, src/alloc.c, src/proto/alloc.pro,
30230 src/testdir/test_expr.vim, src/testdir/test_let.vim
30231
30232Patch 8.2.4931
30233Problem: Crash with sequence of Perl commands.
30234Solution: Move PUTBACK to another line. (closes #10386)
30235Files: src/if_perl.xs
30236
30237Patch 8.2.4932
30238Problem: Not easy to filter the output of maplist().
30239Solution: Add mode_bits to the dictionary. (Ernie Rael, closes #10356)
30240Files: runtime/doc/builtin.txt, src/map.c,
30241 src/testdir/test_map_functions.vim,
30242 src/testdir/test_vim9_builtin.vim
30243
30244Patch 8.2.4933
30245Problem: A few more capitalization mistakes in error messages.
30246Solution: Adjust capitalization. (Doug Kearns)
30247Files: src/errors.h
30248
30249Patch 8.2.4934
30250Problem: String interpolation fails when not evaluating.
30251Solution: Skip the expression when not evaluating. (closes #10398)
30252Files: src/typval.c, src/evalvars.c, src/proto/evalvars.pro,
30253 src/testdir/test_vim9_expr.vim
30254
30255Patch 8.2.4935
30256Problem: With 'foldmethod' "indent" some lines are not included in the
30257 fold. (Oleg Koshovetc)
30258Solution: Fix it. (Brandon Simmons, closes #10399, closes #3214)
30259Files: src/fold.c, src/testdir/test_fold.vim
30260
30261Patch 8.2.4936
30262Problem: MS-Windows: mouse coordinates for scroll event are wrong.
30263Solution: Convert coordinates to the text area coordinates. (closes #10400)
30264Files: src/gui_w32.c
30265
30266Patch 8.2.4937 (after 8.2.4931)
30267Problem: No test for what 8.2.4931 fixes.
30268Solution: Add a test that triggers a valgrind error.
30269Files: src/testdir/test_perl.vim
30270
30271Patch 8.2.4938
30272Problem: Crash when matching buffer with invalid pattern.
30273Solution: Check for NULL regprog.
30274Files: src/buffer.c, src/testdir/test_buffer.vim
30275
30276Patch 8.2.4939
30277Problem: matchfuzzypos() with "matchseq" does not have all positions.
30278Solution: Also add a position for white space. (closes #10404)
30279Files: runtime/doc/builtin.txt, src/search.c,
30280 src/testdir/test_matchfuzzy.vim
30281
30282Patch 8.2.4940
30283Problem: Some code is never used.
30284Solution: Remove dead code. Add a few more test cases.
30285Files: src/vim9expr.c, src/proto/vim9expr.pro, src/vim9compile.c,
30286 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim
30287
30288Patch 8.2.4941
30289Problem: '[ and '] marks may be wrong after undo.
30290Solution: Adjust the '[ and '] marks if needed. (closes #10407, closes #1281)
30291Files: src/undo.c, src/testdir/test_undo.vim
30292
30293Patch 8.2.4942
30294Problem: Error when setting 'filetype' in help file again.
30295Solution: Deal with text property type already existing. (closes #10409)
30296Files: runtime/import/dist/vimhelp.vim
30297
30298Patch 8.2.4943
30299Problem: Changing 'switchbuf' may have no effect.
30300Solution: Handle 'switchbuf' in didset_string_options(). (Sean Dewar,
30301 closes #10406)
30302Files: src/optionstr.c, src/testdir/test_options.vim
30303
30304Patch 8.2.4944
30305Problem: Text properties are wrong after "cc". (Axel Forsman)
30306Solution: Pass the deleted byte count to inserted_bytes(). (closes #10412,
30307 closes #7737, closes #5763)
30308Files: src/change.c, src/testdir/test_textprop.vim
30309
30310Patch 8.2.4945
30311Problem: Inconsistent use of white space.
30312Solution: Use Tabs and Spaces consistently.
30313Files: src/os_amiga.c, src/if_py_both.h, src/os_win32.c, src/os_mswin.c,
30314 src/os_vms.c, src/os_vms_conf.h
30315
30316Patch 8.2.4946
30317Problem: Vim9: some code not covered by tests.
30318Solution: Add a few more test cases. Remove dead code.
30319Files: src/vim9expr.c, src/testdir/test_vim9_expr.vim,
30320 src/testdir/test_vim9_builtin.vim
30321
30322Patch 8.2.4947
30323Problem: Text properties not adjusted when accepting spell suggestion.
30324Solution: Adjust text properties when text changes. (closes #10414)
30325Files: src/spell.c, src/spellsuggest.c, src/testdir/test_textprop.vim
30326
30327Patch 8.2.4948
30328Problem: Cannot use Perl heredoc in nested :def function. (Virginia
30329 Senioria)
30330Solution: Only concatenate heredoc lines when not in a nested function.
30331 (closes #10415)
30332Files: src/userfunc.c, src/testdir/test_vim9_func.vim
30333
30334Patch 8.2.4949
30335Problem: Vim9: some code not covered by tests.
30336Solution: Add a few more test cases. Fix double error message.
30337Files: src/vim9expr.c, src/testdir/test_vim9_expr.vim
30338
30339Patch 8.2.4950
30340Problem: Text properties position wrong after shifting text.
30341Solution: Adjust the text properties when shifting a block of text.
30342 (closes #10418)
30343Files: src/ops.c, src/testdir/test_textprop.vim
30344
30345Patch 8.2.4951
30346Problem: Smart indenting done when not enabled.
30347Solution: Check option values before setting can_si. (closes #10420)
30348Files: src/indent.c, src/proto/indent.pro, src/change.c, src/edit.c,
30349 src/ops.c, src/testdir/test_smartindent.vim
30350
30351Patch 8.2.4952
30352Problem: GUI test will fail if color scheme changes.
30353Solution: Reduce the test for now.
30354Files: src/testdir/test_gui.vim
30355
30356Patch 8.2.4953
30357Problem: With 'smartindent' inserting '}' after completion goes wrong.
30358Solution: Check the cursor is in indent. (closes #10420)
30359Files: src/indent.c, src/testdir/test_smartindent.vim
30360
30361Patch 8.2.4954
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010030362Problem: Inserting line breaks text property spanning more than one line.
Bram Moolenaard799daa2022-06-20 11:17:32 +010030363Solution: Check TP_FLAG_CONT_PREV and TP_FLAG_CONT_NEXT. (closes #10423)
30364Files: src/textprop.c, src/testdir/test_textprop.vim
30365
30366Patch 8.2.4955
30367Problem: Text property in wrong position after auto-indent.
30368Solution: Adjust text property columns. (closes #10422, closes #7719)
30369Files: src/change.c, src/testdir/test_textprop.vim
30370
30371Patch 8.2.4956
30372Problem: Reading past end of line with "gf" in Visual block mode.
30373Solution: Do not include the NUL in the length.
30374Files: src/normal.c, src/testdir/test_gf.vim
30375
30376Patch 8.2.4957
30377Problem: Text properties in a wrong position after a block change.
30378Solution: Adjust the properties columns. (closes #10427)
30379Files: src/ops.c, src/testdir/test_textprop.vim
30380
30381Patch 8.2.4958
30382Problem: A couple conditions are always true.
30383Solution: Remove the conditions. (Goc Dundar, closes #10428)
30384Files: src/evalfunc.c, src/quickfix.c
30385
30386Patch 8.2.4959
30387Problem: Using NULL regexp program.
30388Solution: Check for regexp program becoming NULL in more places.
30389Files: src/buffer.c, src/testdir/test_buffer.vim
30390
30391Patch 8.2.4960
30392Problem: Text properties that cross line boundary are not correctly updated
30393 for a deleted line.
30394Solution: Correct computing location of text property entry. (Paul Ollis,
30395 closes #10431, closes #10430)
30396Files: src/memline.c, src/testdir/test_textprop.vim
30397
30398Patch 8.2.4961
30399Problem: Build error with a certain combination of features.
30400Solution: Adjust #if. (John Marriott)
30401Files: src/memline.c
30402
30403Patch 8.2.4962
30404Problem: Files show up in git status.
30405Solution: Adjust the list of ignored files. Clean up more test files.
30406 (Shane xb Qian, closes #9929)
30407Files: .gitignore, src/testdir/Makefile
30408
30409Patch 8.2.4963
30410Problem: Expanding path with "/**" may overrun end of buffer.
30411Solution: Use vim_snprintf().
30412Files: src/filepath.c
30413
30414Patch 8.2.4964
30415Problem: MS-Windows GUI: mouse event test is flaky.
30416Solution: Add a short delay after generating a mouse event.
30417Files: src/testdir/test_gui.vim
30418
30419Patch 8.2.4965
30420Problem: GUI: testing mouse move event depends on screen cell size.
30421Solution: Multiply the row and column with the screen cell size.
30422Files: runtime/doc/testing.txt, src/testing.c, src/testdir/test_gui.vim
30423
30424Patch 8.2.4966
30425Problem: MS-Windows GUI: mouse event test gets extra event.
30426Solution: Ignore one move event.
30427Files: src/testdir/test_gui.vim
30428
30429Patch 8.2.4967 (after 8.2.4966)
30430Problem: MS-Windows GUI: mouse event test sometimes fails.
30431Solution: Ignore one move event only if there is an extra event.
30432Files: src/testdir/test_gui.vim
30433
30434Patch 8.2.4968
30435Problem: Reading past end of the line when C-indenting.
30436Solution: Check for NUL.
30437Files: src/cindent.c, src/testdir/test_cindent.vim
30438
30439Patch 8.2.4969
30440Problem: Changing text in Visual mode may cause invalid memory access.
30441Solution: Check the Visual position after making a change.
30442Files: src/change.c, src/edit.c, src/misc2.c, src/proto/misc2.pro,
30443 src/testdir/test_visual.vim
30444
30445Patch 8.2.4970
30446Problem: "eval 123" gives an error, "eval 'abc'" does not.
30447Solution: Also give an error when evaluating only a string. (closes #10434)
30448Files: src/ex_eval.c, src/testdir/test_vim9_cmd.vim
30449
30450Patch 8.2.4971
30451Problem: Vim9: interpolated string seen as range.
30452Solution: Recognize an interpolated string at the start of a command line.
30453 (closes #10434)
30454Files: src/ex_docmd.c, src/testdir/test_vim9_expr.vim
30455
30456Patch 8.2.4972
30457Problem: Vim9: compilation fails when using dict member when skipping.
30458Solution: Do not generate ISN_USEDICT when skipping. (closes #10433)
30459Files: src/vim9expr.c, src/testdir/test_vim9_expr.vim
30460
30461Patch 8.2.4973
30462Problem: Vim9: type error for list unpack mentions argument.
30463Solution: Mention variable. (close #10435)
30464Files: src/vim9.h, src/vim9execute.c, src/vim9instr.c,
30465 src/proto/vim9instr.pro, src/vim9compile.c,
30466 src/testdir/test_vim9_script.vim,
30467 src/testdir/test_vim9_disassemble.vim
30468
30469Patch 8.2.4974
30470Problem: ":so" command may read after end of buffer.
30471Solution: Compute length of text properly.
30472Files: src/scriptfile.c, src/testdir/test_source.vim
30473
30474Patch 8.2.4975
30475Problem: Recursive command line loop may cause a crash.
30476Solution: Limit recursion of getcmdline().
30477Files: src/ex_getln.c, src/testdir/test_cmdline.vim
30478
30479Patch 8.2.4976
30480Problem: Coverity complains about not restoring a saved value.
30481Solution: Restore value before handling error.
30482Files: src/vim9execute.c
30483
30484Patch 8.2.4977
30485Problem: Memory access error when substitute expression changes window.
30486Solution: Disallow changing window in substitute expression.
30487Files: src/ex_cmds.c, src/testdir/test_substitute.vim
30488
30489Patch 8.2.4978
30490Problem: No error if engine selection atom is not at the start.
30491Solution: Give an error. (Christian Brabandt, closes #10439)
30492Files: runtime/doc/pattern.txt, src/errors.h, src/regexp_bt.c,
30493 src/regexp_nfa.c, src/testdir/test_regexp_latin.vim
30494
30495Patch 8.2.4979
30496Problem: Accessing freed memory when line is flushed.
30497Solution: Make a copy of the pattern to search for.
30498Files: src/window.c, src/testdir/test_tagjump.vim
30499
30500Patch 8.2.4980
30501Problem: When 'shortmess' contains 'A' loading a session may still warn for
30502 an existing swap file. (Melker Ă–sterberg)
30503Solution: Keep the 'A' flag to 'shortmess' in the session file.
30504 (closes #10443)
30505Files: src/session.c, src/testdir/test_mksession.vim
30506
30507Patch 8.2.4981
30508Problem: It is not possible to manipulate autocommands.
30509Solution: Add functions to add, get and set autocommands. (Yegappan
30510 Lakshmanan, closes #10291)
30511Files: runtime/doc/autocmd.txt, runtime/doc/builtin.txt,
30512 runtime/doc/usr_41.txt, src/autocmd.c, src/evalfunc.c,
30513 src/proto/autocmd.pro, src/testdir/test_autocmd.vim,
30514 src/testdir/test_vim9_builtin.vim
30515
30516Patch 8.2.4982
30517Problem: Colors in terminal window are not 100% correct.
30518Solution: Use g:terminal_ansi_colors as documented. (closes #10429,
30519 closes #7227 closes #10347)
30520Files: src/job.c, src/option.c, src/proto/term.pro,
30521 src/terminal.c, src/proto/terminal.pro, src/term.c,
30522 src/testdir/test_functions.vim, src/testdir/test_terminal.vim
30523
30524Patch 8.2.4983 (after 8.2.4982)
30525Problem: Colors test fails in the GUI.
30526Solution: Reset g:terminal_ansi_colors.
30527Files: src/testdir/test_functions.vim
30528
30529Patch 8.2.4984
30530Problem: Dragging statusline fails for window with winbar.
30531Solution: Fix off-by-one error. (closes #10448)
30532Files: src/mouse.c, src/testdir/test_winbar.vim
30533
30534Patch 8.2.4985
30535Problem: PVS warns for possible array underrun.
30536Solution: Add a check for a positive value. (Goc Dundar, closes #10451)
30537Files: src/spell.c
30538
30539Patch 8.2.4986
30540Problem: Some github actions are outdated.
30541Solution: Update CodeQl to v2, update checkout to v3. (closes #10450)
30542Files: .github/workflows/ci.yml, .github/workflows/codeql-analysis.yml,
30543 .github/workflows/coverity.yml
30544
30545Patch 8.2.4987
30546Problem: After deletion a small fold may be closable.
30547Solution: Check for a reverse range. (Brandon Simmons, closes #10457)
30548Files: src/fold.c, src/testdir/test_fold.vim
30549
30550Patch 8.2.4988
30551Problem: Textprop in wrong position when replacing multi-byte chars.
30552Solution: Adjust textprop position. (closes #10461)
30553Files: src/change.c, src/testdir/test_textprop.vim
30554
30555Patch 8.2.4989
30556Problem: Cannot specify a function name for :defcompile.
30557Solution: Implement a function name argument for :defcompile.
30558Files: runtime/doc/vim9.txt, src/userfunc.c, src/proto/userfunc.pro,
30559 src/vim9execute.c, src/ex_cmds.h, src/testdir/test_vim9_cmd.vim,
30560 src/testdir/test_vim9_disassemble.vim
30561
30562Patch 8.2.4990 (after 8.2.4989)
30563Problem: Memory leak when :defcompile fails.
30564Solution: Free fname when returning early.
30565Files: src/userfunc.c
30566
30567Patch 8.2.4991
30568Problem: No test for what patch 8.1.0535 fixes.
30569Solution: Add a test. (closes #10462)
30570Files: src/testdir/test_fold.vim
30571
30572Patch 8.2.4992 (after 8.2.4989)
30573Problem: Compiler warning for possibly uninitialized variable. (Tony
30574 Mechelynck)
30575Solution: Initialize variable in the caller instead of in the function.
30576Files: src/userfunc.c, src/vim9execute.c
30577
30578Patch 8.2.4993
30579Problem: smart/C/lisp indenting is optional, which makes the code more
30580 complex, while it only reduces the executable size a bit.
30581Solution: Graduate FEAT_CINDENT, FEAT_SMARTINDENT and FEAT_LISP.
30582Files: runtime/doc/builtin.txt, runtime/doc/indent.txt,
30583 runtime/doc/options.txt, runtime/doc/various.txt, src/feature.h,
30584 src/buffer.c, src/change.c, src/cindent.c, src/charset.c,
30585 src/edit.c, src/evalfunc.c, src/indent.c, src/insexpand.c,
30586 src/main.c, src/mouse.c, src/ops.c, src/option.c, src/optionstr.c,
30587 src/register.c, src/search.c, src/textformat.c, src/version.c,
30588 src/option.h, src/optiondefs.h, src/structs.h, src/globals.h,
30589 src/testdir/test_edit.vim
30590
30591Patch 8.2.4994
30592Problem: Tests are using legacy functions.
30593Solution: Convert a few tests to use :def functions.
30594Files: src/testdir/test_cindent.vim
30595
30596Patch 8.2.4995 (after 8.2.4992)
30597Problem: Still a compiler warning for possibly uninitialized variable.
30598 (Tony Mechelynck)
30599Solution: Initialize variables.
30600Files: src/vim9execute.c
30601
30602Patch 8.2.4996 (after 8.2.4969)
30603Problem: setbufline() may change Visual selection. (Qiming Zhao)
30604Solution: Disable Visual mode when using another buffer. (closes #10466)
30605Files: src/evalbuffer.c, src/testdir/test_bufline.vim
30606
30607Patch 8.2.4997
30608Problem: Python: changing hidden buffer can cause the display to be messed
30609 up.
30610Solution: Do not mark changed lines when using another buffer. (Paul Ollis,
30611 closes #10437, closes #7972)
30612Files: src/if_py_both.h, src/testdir/test_python3.vim
30613
30614Patch 8.2.4998
30615Problem: Vim9: crash when using multiple funcref().
30616Solution: Check if varargs type is NULL. (closes #10467)
30617Files: src/vim9type.c, src/testdir/test_vim9_func.vim
30618
30619Patch 8.2.4999
30620Problem: Filetype test table is not properly sorted.
30621Solution: Sort by filetype. (Doug Kearns)
30622Files: src/testdir/test_filetype.vim
30623
30624Patch 8.2.5000
30625Problem: No patch for documentation updates.
30626Solution: Update documentation files.
30627Files: runtime/doc/arabic.txt, runtime/doc/autocmd.txt,
30628 runtime/doc/builtin.txt, runtime/doc/change.txt,
30629 runtime/doc/channel.txt, runtime/doc/cmdline.txt,
30630 runtime/doc/diff.txt, runtime/doc/digraph.txt,
30631 runtime/doc/editing.txt, runtime/doc/eval.txt,
30632 runtime/doc/filetype.txt, runtime/doc/fold.txt,
30633 runtime/doc/ft_ada.txt, runtime/doc/ft_ps1.txt,
30634 runtime/doc/ft_raku.txt, runtime/doc/ft_rust.txt,
30635 runtime/doc/ft_sql.txt, runtime/doc/gui.txt,
30636 runtime/doc/gui_w32.txt, runtime/doc/helphelp.txt,
30637 runtime/doc/help.txt, runtime/doc/if_cscop.txt,
30638 runtime/doc/if_lua.txt, runtime/doc/if_perl.txt,
30639 runtime/doc/if_pyth.txt, runtime/doc/if_tcl.txt,
30640 runtime/doc/indent.txt, runtime/doc/index.txt,
30641 runtime/doc/insert.txt, runtime/doc/intro.txt,
30642 runtime/doc/map.txt, runtime/doc/mbyte.txt,
30643 runtime/doc/message.txt, runtime/doc/motion.txt,
30644 runtime/doc/netbeans.txt, runtime/doc/options.txt,
30645 runtime/doc/os_dos.txt, runtime/doc/os_vms.txt,
30646 runtime/doc/os_win32.txt, runtime/doc/pattern.txt,
30647 runtime/doc/pi_netrw.txt, runtime/doc/pi_zip.txt,
30648 runtime/doc/popup.txt, runtime/doc/print.txt,
30649 runtime/doc/quickfix.txt, runtime/doc/quickref.txt,
30650 runtime/doc/remote.txt, runtime/doc/repeat.txt,
30651 runtime/doc/rileft.txt, runtime/doc/scroll.txt,
30652 runtime/doc/sign.txt, runtime/doc/spell.txt,
30653 runtime/doc/sponsor.txt, runtime/doc/starting.txt,
30654 runtime/doc/syntax.txt, runtime/doc/tabpage.txt,
30655 runtime/doc/tagsrch.txt, runtime/doc/terminal.txt,
30656 runtime/doc/term.txt, runtime/doc/testing.txt,
30657 runtime/doc/textprop.txt, runtime/doc/tips.txt,
30658 runtime/doc/todo.txt, runtime/doc/uganda.txt,
30659 runtime/doc/undo.txt, runtime/doc/usr_02.txt,
30660 runtime/doc/usr_04.txt, runtime/doc/usr_05.txt,
30661 runtime/doc/usr_06.txt, runtime/doc/usr_08.txt,
30662 runtime/doc/usr_09.txt, runtime/doc/usr_12.txt,
30663 runtime/doc/usr_20.txt, runtime/doc/usr_29.txt,
30664 runtime/doc/usr_40.txt, runtime/doc/usr_41.txt,
30665 runtime/doc/usr_45.txt, runtime/doc/usr_46.txt,
30666 runtime/doc/usr_50.txt, runtime/doc/usr_51.txt,
30667 runtime/doc/usr_52.txt, runtime/doc/usr_90.txt,
30668 runtime/doc/usr_toc.txt, runtime/doc/various.txt,
30669 runtime/doc/version5.txt, runtime/doc/version6.txt,
30670 runtime/doc/version7.txt, runtime/doc/version8.txt,
30671 runtime/doc/version9.txt, runtime/doc/vi_diff.txt,
30672 runtime/doc/vim9.txt, runtime/doc/visual.txt,
30673 runtime/doc/windows.txt, runtime/doc/tags, runtime/doc/Makefile
30674
30675Patch 8.2.5001
30676Problem: Checking translations affects the search pattern history.
30677Solution: Use "keeppatterns". (Doug Kearns)
30678Files: src/po/check.vim
30679
30680Patch 8.2.5002
30681Problem: deletebufline() may change Visual selection.
30682Solution: Disable Visual mode when using another buffer. (closes #10469)
30683Files: src/evalbuffer.c, src/testdir/test_bufline.vim
30684
30685Patch 8.2.5003
30686Problem: Cannot do bitwise shifts.
30687Solution: Add the >> and << operators. (Yegappan Lakshmanan, closes #8457)
30688Files: runtime/doc/eval.txt, src/errors.h, src/eval.c, src/structs.h,
30689 src/vim.h, src/vim9execute.c, src/vim9expr.c,
30690 src/testdir/test_expr.vim, src/testdir/test_vim9_disassemble.vim,
30691 src/testdir/test_vim9_expr.vim
30692
30693Patch 8.2.5004
30694Problem: Right shift on negative number does not work as documented.
30695Solution: Use a uvarnumber_T type cast.
30696Files: runtime/doc/eval.txt, src/eval.c, src/vim9expr.c,
30697 src/vim9execute.c, src/charset.c, src/testdir/test_expr.vim
30698
30699Patch 8.2.5005 (after 8.2.5003)
30700Problem: Compiler warning for uninitialized variable. (John Marriott)
30701Solution: Initialize the pointer to NULL.
30702Files: src/vim9expr.vim
30703
30704Patch 8.2.5006 (after 8.2.5003)
30705Problem: Asan warns for undefined behavior.
30706Solution: Cast the shifted value to unsigned.
30707Files: src/eval.c, src/vim9expr.c, src/vim9execute.c
30708
30709Patch 8.2.5007
30710Problem: Spell suggestion may use uninitialized memory. (Zdenek Dohnal)
30711Solution: Avoid going over the end of the word.
30712Files: src/spellsuggest.c, src/testdir/test_spell_utf8.vim
30713
30714Patch 8.2.5008
30715Problem: When 'formatoptions' contains "/" wrongly wrapping a long trailing
30716 comment.
30717Solution: Pass the OPENLINE_FORMAT flag.
30718Files: src/change.c, src/vim.h, src/textformat.c,
30719 src/testdir/test_textformat.vim
30720
30721Patch 8.2.5009
30722Problem: Fold may not be closeable after appending.
30723Solution: Set the fd_small flag to MAYBE. (Brandon Simmons, closes #10471)
30724Files: src/fold.c, src/testdir/test_fold.vim
30725
30726Patch 8.2.5010
30727Problem: The terminal debugger uses various global variables.
30728Solution: Add a dictionary to hold the terminal debugger preferences.
30729Files: runtime/doc/terminal.txt,
30730 runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
30731
30732Patch 8.2.5011
30733Problem: Replacing an autocommand requires several lines.
30734Solution: Add the "replace" flag to autocmd_add(). (Yegappan Lakshmanan,
30735 closes #10473)
30736Files: runtime/doc/autocmd.txt, runtime/doc/builtin.txt, src/autocmd.c,
30737 src/testdir/test_autocmd.vim
30738
30739Patch 8.2.5012
30740Problem: Cannot select one character inside ().
30741Solution: Do not try to extend the area if it is empty. (closes #10472,
30742 closes #6616)
30743Files: src/textobject.c, src/testdir/test_textobjects.vim
30744
30745Patch 8.2.5013
30746Problem: After text formatting the cursor may be in an invalid position.
30747Solution: Correct the cursor position after formatting.
30748Files: src/textformat.c, src/testdir/test_textformat.vim
30749
30750Patch 8.2.5014
30751Problem: Byte offsets are wrong when using text properties.
30752Solution: Make sure text properties do not affect the byte counts.
30753 (Paul Ollis, closes #10474)
30754Files: src/memline.c, src/textprop.c, src/testdir/test_textprop.vim
30755
30756Patch 8.2.5015
30757Problem: Hoon and Moonscript files are not recognized.
30758Solution: Add filetype patterns. (Goc Dundar, closes #10478)
30759Files: runtime/filetype.vim, src/testdir/test_filetype.vim
30760
30761Patch 8.2.5016
30762Problem: Access before start of text with a put command.
30763Solution: Check the length is more than zero.
30764Files: src/register.c, src/testdir/test_put.vim
30765
30766Patch 8.2.5017
30767Problem: Gcc 12.1 warns for uninitialized variable.
30768Solution: Initialize the variable. (closes #10476)
30769Files: src/evalvars.c
30770
30771Patch 8.2.5018
30772Problem: Vim9: some code is not covered by tests.
30773Solution: Delete dead code.
30774Files: src/vim9instr.c, src/proto/vim9instr.pro, src/vim9compile.c,
30775 src/vim9expr.c,
30776
30777Patch 8.2.5019
30778Problem: Cannot get the first screen column of a character.
30779Solution: Let virtcol() optionally return a list. (closes #10482,
30780 closes #7964)
30781Files: runtime/doc/builtin.txt, src/evalfunc.c,
30782 src/testdir/test_functions.vim, src/testdir/test_vim9_builtin.vim
30783
30784Patch 8.2.5020
30785Problem: Using 'imstatusfunc' and 'imactivatefunc' breaks 'foldopen'.
30786Solution: Save and restore the KeyTyped flag. (closes #10479)
30787Files: src/gui_xim.c, src/testdir/test_iminsert.vim
Bram Moolenaarc51cf032022-02-26 12:25:45 +000030788
30789
Bram Moolenaard799daa2022-06-20 11:17:32 +010030790Patch 8.2.5021
30791Problem: Build fails with normal features and +terminal. (Dominique Pellé)
30792Solution: Add #ifdefs. (closes #10484)
30793Files: src/terminal.c
30794
30795Patch 8.2.5022
30796Problem: 'completefunc'/'omnifunc' error does not end completion.
30797Solution: Check if there was an error or exception. (closes #10486,
30798 closes #4218)
30799Files: src/insexpand.c, src/testdir/test_ins_complete.vim
30800
30801Patch 8.2.5023
30802Problem: Substitute overwrites allocated buffer.
30803Solution: Disallow undo when in a substitute command.
30804Files: src/normal.c, src/undo.c, src/testdir/test_substitute.vim
30805
30806Patch 8.2.5024
30807Problem: Using freed memory with "]d".
30808Solution: Copy the pattern before searching.
30809Files: src/normal.c, src/testdir/test_tagjump.vim
30810
30811Patch 8.2.5025
30812Problem: Vim9: a few lines not covered by tests.
30813Solution: Add a few tests.
30814Files: src/vim9script.c, src/testdir/test_vim9_assign.vim,
30815 src/testdir/test_vim9_import.vim
30816
30817Patch 8.2.5026
30818Problem: Vim9: a few lines not covered by tests.
30819Solution: Delete dead code. Add a few test cases. make "12->func()" work.
30820Files: src/vim9type.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
30821 src/vim9compile.c, src/testdir/test_vim9_assign.vim,
30822 src/testdir/test_vim9_func.vim
30823
30824Patch 8.2.5027
30825Problem: Error for missing :endif when an exception was thrown. (Dani
30826 Dickstein)
30827Solution: Do not give an error when aborting. (closes #10490)
30828Files: src/ex_docmd.c, src/testdir/test_trycatch.vim
30829
30830Patch 8.2.5028
30831Problem: Syntax regexp matching can be slow.
30832Solution: Adjust the counters for checking the timeout to check about once
30833 per msec. (closes #10487, closes #2712)
30834Files: src/regexp_bt.c, src/regexp_nfa.c
30835
30836Patch 8.2.5029
30837Problem: "textlock" is always zero.
30838Solution: Remove "textlock" and rename "textwinlock" to "textlock".
30839 (closes #10489)
30840Files: runtime/doc/insert.txt, runtime/doc/tags, src/beval.c,
30841 src/change.c, src/edit.c, src/errors.h, src/eval.c, src/ex_cmds.c,
30842 src/ex_getln.c, src/proto/ex_getln.pro, src/globals.h,
30843 src/indent.c, src/insexpand.c, src/map.c, src/register.c,
30844 src/undo.c, src/window.c, src/testdir/test_edit.vim,
30845 src/testdir/test_ins_complete.vim, src/testdir/test_popup.vim,
30846 src/testdir/test_quickfix.vim
30847
30848Patch 8.2.5030
30849Problem: autocmd_add() can only handle one event and pattern.
30850Solution: Support a list of events and patterns. (Yegappan Lakshmanan,
30851 closes #10483)
30852Files: runtime/doc/builtin.txt, src/autocmd.c, src/errors.h,
30853 src/testdir/test_autocmd.vim
30854
30855Patch 8.2.5031
30856Problem: Cannot easily run the benchmarks.
30857Solution: Have "make benchmark" in the src directory work.
30858Files: src/Makefile, src/testdir/Makefile
30859
30860Patch 8.2.5032
30861Problem: Python 3 test fails without the GUI.
30862Solution: Check the balloon_eval feature is available.
30863Files: src/testdir/test_python3.vim
30864
30865Patch 8.2.5033 (after 8.2.5030)
30866Problem: Build error with +eval but without +quickfix. Warning for
30867 uninitialized variable.
30868Solution: Adjust #ifdefs. (John Marriott)
30869Files: src/errors.h, src/autocmd.c
30870
30871Patch 8.2.5034
30872Problem: There is no way to get the byte index from a virtual column.
30873Solution: Add virtcol2col(). (Yegappan Lakshmanan, closes #10477,
30874 closes #10098)
30875Files: runtime/doc/builtin.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
30876 src/move.c, src/proto/move.pro, src/testdir/test_cursor_func.vim
30877
30878Patch 8.2.5035
30879Problem: When splitting a window the changelist position moves.
30880Solution: Set the changelist index a bit later. (closes #10493)
30881Files: src/window.c, src/testdir/test_changelist.vim,
30882 src/testdir/test_normal.vim
30883
30884Patch 8.2.5036 (after 8.2.5028)
30885Problem: Using two counters for timeout check in NFA engine.
30886Solution: Use only one counter. Tune the counts based on guessing.
30887Files: src/regexp_nfa.c
30888
30889Patch 8.2.5037
30890Problem: Cursor position may be invalid after "0;" range.
30891Solution: Check the cursor position when it was set by ";" in the range.
30892Files: src/ex_docmd.c, src/testdir/test_excmd.vim
30893
30894Patch 8.2.5038
30895Problem: A finished terminal in a popup window does not show a scrollbar.
30896Solution: Show the scrollbar if the terminal job is finished. (closes
30897 #10497)
30898Files: src/popupwin.c, src/testdir/test_popupwin.vim,
30899 src/testdir/dumps/Test_popupwin_poptermscroll_1.dump,
30900 src/testdir/dumps/Test_popupwin_poptermscroll_2.dump,
30901 src/testdir/dumps/Test_popupwin_poptermscroll_3.dump
30902
30903Patch 8.2.5039
30904Problem: Confusing error if first argument of popup_create() is wrong.
30905Solution: Give a more informative error.
30906Files: src/popupwin.c, src/testdir/test_popupwin.vim, src/errors.h,
30907 src/testdir/dumps/Test_popup_settext_07.dump
30908
30909Patch 8.2.5040
30910Problem: Scrollbar thumb in scrolled popup not visible.
30911Solution: Show at least one thumb character. (fixes 10492)
30912Files: src/popupwin.c, src/testdir/test_popupwin.vim,
30913 src/testdir/dumps/Test_popupwin_scroll_13.dump
30914
30915Patch 8.2.5041
30916Problem: Cannot close a terminal popup with "NONE" job.
30917Solution: Adjust the conditions for whether a job is running.
30918 (closes #10498)
30919Files: src/buffer.c, src/terminal.c, src/proto/terminal.pro,
30920 src/undo.c, src/testdir/test_popupwin.vim
30921
30922Patch 8.2.5042
30923Problem: Scrollbar thumb in tall scrolled popup not visible.
30924Solution: Show at least one thumb character. (fixes 10492)
30925Files: src/popupwin.c, src/testdir/test_popupwin.vim,
30926 src/testdir/dumps/Test_popupwin_scroll_13.dump
30927
30928Patch 8.2.5043
30929Problem: Can open a cmdline window from a substitute expression.
30930Solution: Disallow opening a command line window when text or buffer is
30931 locked.
30932Files: src/buffer.c, src/ex_getln.c, src/proto/ex_getln.pro,
30933 src/window.c, src/testdir/test_substitute.vim
30934
30935Patch 8.2.5044 (after 8.2.5043)
30936Problem: Command line test fails.
30937Solution: Also beep when cmdline win can't be opened because of locks.
30938 Make the test not beep. Make the test pass on MS-Windows.
30939Files: src/ex_getln.c, src/testdir/test_substitute.vim
30940
30941Patch 8.2.5045
30942Problem: Can escape a terminal popup window when the job is finished.
30943Solution: Only check for a finished job where it is relevant.
30944 (closes #10253)
30945Files: src/popupwin.c, src/testdir/test_popupwin.vim,
30946 src/testdir/dumps/Test_popupwin_poptermscroll_1.dump,
30947 src/testdir/dumps/Test_popupwin_poptermscroll_2.dump,
30948 src/testdir/dumps/Test_popupwin_poptermscroll_3.dump,
30949 src/testdir/dumps/Test_popupwin_poptermscroll_4.dump
30950
30951Patch 8.2.5046
30952Problem: vim_regsub() can overwrite the destination.
30953Solution: Pass the destination length, give an error when it doesn't fit.
30954Files: src/regexp.h, src/regexp.c, src/proto/regexp.pro, src/eval.c,
30955 src/ex_cmds.c
30956
30957Patch 8.2.5047
30958Problem: CurSearch highlight is often wrong.
30959Solution: Remember the last highlighted position and redraw when needed.
30960Files: src/globals.h, src/match.c, src/drawscreen.c, src/change.c,
30961 src/testdir/test_search.vim,
30962 src/testdir/dumps/Test_hlsearch_cursearch_changed_1.dump
30963
30964Patch 8.2.5048
30965Problem: When using XIM the gui test may fail.
30966Solution: Only use --not-a-term when not using XIM.
30967Files: src/testdir/test_gui.vim
30968
30969Patch 8.2.5049
30970Problem: Insufficient tests for autocommands.
30971Solution: Add a few more tests. (Yegappan Lakshmanan, closes #10507)
30972Files: src/autocmd.c, src/testdir/gen_opt_test.vim,
30973 src/testdir/test_autocmd.vim, src/testdir/test_cmdline.vim
30974
30975Patch 8.2.5050
30976Problem: Using freed memory when searching for pattern in path.
30977Solution: Make a copy of the line.
30978Files: src/search.c, src/testdir/test_tagjump.vim
30979
30980Patch 8.2.5051
30981Problem: Check for autocmd_add() event argument is confusing.
30982Solution: Make the code more straightforward.
30983Files: src/autocmd.c
30984
30985Patch 8.2.5052
30986Problem: CI checkout step title is a bit cryptic.
30987Solution: Add a better title. (closes #10509)
30988Files: .github/workflows/ci.yml, .github/workflows/coverity.yml,
30989 .github/workflows/codeql-analysis.yml
30990
30991Patch 8.2.5053
30992Problem: Cannot have a comment halfway an expression in an autocmd command
30993 block.
30994Solution: When skipping over the NL also skip over comments. (closes #10519)
30995Files: src/eval.c, src/testdir/test_autocmd.vim
30996
30997Patch 8.2.5054
30998Problem: No good filetype for conf files similar to dosini.
30999Solution: Add the confini filetype. (closes #10518)
31000Files: runtime/filetype.vim, src/testdir/test_filetype.vim
31001
31002Patch 8.2.5055
31003Problem: Statusline is not updated when terminal title changes.
31004Solution: Redraw the status line when the title changes. (issue #10425)
31005Files: src/terminal.c
31006
31007Patch 8.2.5056
31008Problem: The channel log only contains some of the raw terminal output.
31009Solution: Add the "o" flag to log all terminal output. Use it for "--log".
31010Files: runtime/doc/channel.txt, runtime/doc/starting.txt, src/main.c,
31011 src/channel.c, src/vim.h, src/term.c, src/edit.c, src/normal.c,
31012 src/optionstr.c
31013
31014Patch 8.2.5057
31015Problem: Using gettimeofday() for timeout is very inefficient.
31016Solution: Set a platform dependent timer. (Paul Ollis, closes #10505)
31017Files: src/auto/configure, src/config.h.in, src/configure.ac,
31018 src/drawscreen.c, src/errors.h, src/evalfunc.c, src/ex_cmds.c,
31019 src/ex_getln.c, src/match.c, src/os_mac.h, src/os_macosx.m,
31020 src/os_unix.c, src/os_win32.c, src/proto/os_unix.pro,
31021 src/proto/os_win32.pro, src/proto/regexp.pro, src/quickfix.c,
31022 src/regexp.c, src/regexp.h, src/regexp_bt.c, src/regexp_nfa.c,
31023 src/screen.c, src/search.c, src/structs.h, src/syntax.c,
31024 src/testdir/test_hlsearch.vim, src/testdir/test_search.vim,
31025 src/testdir/test_syntax.vim
31026
31027Patch 8.2.5058
31028Problem: input() does not handle composing characters properly.
31029Solution: Use mb_cptr2char_adv() instead of mb_ptr2char_adv().
31030 (closes #10527)
31031Files: src/getchar.c, src/testdir/test_functions.vim
31032
31033Patch 8.2.5059
31034Problem: Autoconf 2.71 produces many obsolete warnings.
31035Solution: Replace obsolete macros with non-obsolete ones, where the
31036 functionality does not change. (issue #10528)
31037Files: src/configure.ac, src/auto/configure
31038
31039Patch 8.2.5060 (after 8.2.5059)
31040Problem: Running configure fails.
31041Solution: Remove line break.
31042Files: src/configure.ac, src/auto/configure
31043
31044Patch 8.2.5061
31045Problem: C89 requires signal handlers to return void.
31046Solution: Drop RETSIGTYPE and hard-code a void return value.
31047Files: src/configure.ac, src/auto/configure, src/if_cscope.c,
31048 src/os_unix.c, src/pty.c, src/os_mac.h, src/os_vms_conf.h,
31049 src/config.h.in, src/osdef1.h.in
31050
31051Patch 8.2.5062
31052Problem: Coverity warns for dead code.
31053Solution: Remove the dead code.
31054Files: src/os_unix.c, src/match.c
31055
31056Patch 8.2.5063
31057Problem: Error for a command may go over the end of IObuff.
31058Solution: Truncate the message.
31059Files: src/ex_docmd.c, src/testdir/test_cmdline.vim
31060
31061Patch 8.2.5064
31062Problem: No test for what 8.1.0052 fixes.
31063Solution: Add a test. (closes #10531)
31064Files: src/getchar.c, src/testdir/test_mapping.vim
31065
31066Patch 8.2.5065
31067Problem: Wrong return type for main() in tee.c.
31068Solution: Use "int" instead of "void". Remove unused variable.
31069Files: src/tee/tee.c
31070
31071Patch 8.2.5066
31072Problem: Can specify multispace listchars only for whole line.
31073Solution: Add "leadmultispace". (Christian Brabandt, closes #10496)
31074Files: runtime/doc/options.txt, src/drawline.c, src/message.c,
31075 src/screen.c, src/structs.h, src/window.c,
31076 src/testdir/test_listchars.vim
31077
31078Patch 8.2.5067
31079Problem: Timer_create is not available on every Mac system. (Hisashi T
31080 Fujinaka)
31081Solution: Adjust #ifdef.
31082Files: src/os_unix.c
31083
31084Patch 8.2.5068
31085Problem: Gcc 12.1 warning when building tee.
31086Solution: Change type to size_t. (John Marriott)
31087Files: src/tee/tee.c
31088
31089Patch 8.2.5069
31090Problem: Various warnings from clang on MS-Windows.
31091Solution: Fix the code to avoid the warnings. (Yegappan Lakshmanan,
31092 closes #10538)
31093Files: src/dosinst.c, src/fileio.c, src/gui_w32.c, src/os_mswin.c,
31094 src/os_win32.c
31095
31096Patch 8.2.5070
31097Problem: Unnecessary code.
31098Solution: Remove code that isn't needed. (closes #10534)
31099Files: src/message.c, src/screen.c
31100
31101Patch 8.2.5071
31102Problem: With some Mac OS version clockid_t is redefined.
31103Solution: Adjust #ifdefs. (Ozaki Kiichi, closes #10549)
31104Files: src/os_mac.h
31105
31106Patch 8.2.5072
31107Problem: Using uninitialized value and freed memory in spell command.
31108Solution: Initialize "attr". Check for empty line early.
31109Files: src/spell.c, src/testdir/test_spell_utf8.vim
31110
31111Patch 8.2.5073
31112Problem: Clang on MS-Windows produces warnings.
31113Solution: Avoid the warnings. (Yegappan Lakshmanan, closes #10546)
31114Files: src/dosinst.c, src/dosinst.h, src/gui_dwrite.cpp, src/gui_w32.c,
31115 src/iscygpty.c, src/libvterm/src/vterm_internal.h, src/mbyte.c,
31116 src/os_win32.c, src/os_win32.h, src/term.c, src/xdiff/xinclude.h
31117
31118Patch 8.2.5074
31119Problem: Spell test fails on MS-Windows.
31120Solution: Do not change 'encoding'
31121Files: src/testdir/test_spell_utf8.vim
31122
31123Patch 8.2.5075
31124Problem: Clang gives an out of bounds warning.
31125Solution: adjust conditional expression (John Marriott)
31126Files: src/ui.c
31127
31128Patch 8.2.5076
31129Problem: Unnecessary code.
31130Solution: Remove code and replace with function call. (closes #10552)
31131Files: src/drawline.c, src/getchar.c
31132
31133Patch 8.2.5077
31134Problem: Various warnings from clang on MS-Windows.
31135Solution: Avoid the warnings. (Yegappan Lakshmanan, closes #10553)
31136Files: src/dosinst.c, src/dosinst.h, src/filepath.c, src/gui_w32.c,
31137 src/misc1.c, src/os_win32.c
31138
31139Patch 8.2.5078
31140Problem: Substitute test has a one second delay.
31141Solution: Use ":silent!". Add another test case. (closes #10558)
31142Files: src/testdir/test_substitute.vim
31143
31144Patch 8.2.5079
31145Problem: DirChanged autocommand may use freed memory. (Shane-XB Qian)
31146Solution: Free the memory later. (closes #10555)
31147Files: src/ex_docmd.c, src/testdir/test_autocmd.vim
31148
31149Patch 8.2.5080
31150Problem: When indenting gets out of hand it is hard to stop.
31151Solution: When line gets too long set got_int.
31152Files: src/indent.c
31153
31154Patch 8.2.5081
31155Problem: Autocmd test fails on MS-Windows.
31156Solution: Set shellslash to get forward slashes.
31157Files: src/testdir/test_autocmd.vim
31158
31159Patch 8.2.5082 (after 8.2.5080)
31160Problem: Retab test fails.
31161Solution: Disable the test for now.
31162Files: src/testdir/test_retab.vim
31163
31164Patch 8.2.5083
31165Problem: Autocmd test still fails on MS-Windows.
31166Solution: Change backward to forward slashes.
31167Files: src/testdir/test_autocmd.vim
31168
31169Patch 8.2.5084
31170Problem: When the GUI shows a dialog tests get stuck.
31171Solution: Add the --gui-dialog-file argument.
31172Files: runtime/doc/starting.txt, src/Make_mvc.mak, src/gui.c, src/main.c,
31173 src/message.c, src/os_mswin.c, src/proto/gui.pro,
31174 src/proto/main.pro, src/structs.h, src/testdir/Make_dos.mak,
31175 src/testdir/Make_ming.mak, src/testdir/Makefile,
31176 src/testdir/runtest.vim, src/testdir/shared.vim
31177
31178Patch 8.2.5085
31179Problem: Gcc gives warning for signed/unsigned difference.
31180Solution: Use a different pointer type. (John Marriott)
31181Files: src/os_mswin.c
31182
31183Patch 8.2.5086
31184Problem: CI runs on Windows 2019.
31185Solution: Switch to Windows 2022. (closes #10566)
31186Files: .github/workflows/ci.yml
31187
31188Patch 8.2.5087
31189Problem: Cannot build with clang on MS-Windows.
31190Solution: Add support for building with clang. (Yegappan Lakshmanan,
31191 closes #10557)
31192Files: src/GvimExt/Make_ming.mak, src/INSTALLpc.txt,
31193 src/Make_cyg_ming.mak
31194
31195Patch 8.2.5088
31196Problem: Value of cmod_verbose is a bit complicated to use.
31197Solution: Use zero for not set, value + 1 when set. (closes #10564)
31198Files: src/ex_docmd.c, src/ex_getln.c, src/globals.h, src/structs.h
31199
31200Patch 8.2.5089
31201Problem: Some functions return a different value on failure.
31202Solution: Initialize the return value earlier. (Yegappan Lakshmanan,
31203 closes #10568)
31204Files: src/autocmd.c, src/dict.c, src/evalfunc.c, src/list.c
31205
31206Patch 8.2.5090
31207Problem: MS-Windows: vim.def is no longer used.
31208Solution: Delete vim.def. (Ken Takata, closes #10569)
31209Files: Filelist, Makefile, src/vim.def
31210
31211Patch 8.2.5091
31212Problem: Terminal test fails with some shell commands.
31213Solution: Disable setting the window title. (closes #10530)
31214Files: src/testdir/test_terminal.vim
31215
31216Patch 8.2.5092
31217Problem: Using "'<,'>" in Ex mode may compare unrelated pointers.
31218Solution: Set eap->cmd to "+" only later.
31219Files: src/ex_docmd.c
31220
31221Patch 8.2.5093
31222Problem: Error message for unknown command may mention the command twice.
31223 (Malcolm Rowe)
31224Solution: Add the did_append_cmd flag. (closes #10570)
31225Files: src/ex_docmd.c
31226
31227Patch 8.2.5094
31228Problem: MS-Windows GUI: empty command may cause a dialog.
31229Solution: Delete the dialog file. Improve the message.
31230Files: src/testdir/runtest.vim, src/testdir/test_ex_mode.vim
31231
31232Patch 8.2.5095
31233Problem: Terminal test still fails with some shell commands.
31234Solution: Disable setting the window title in the Vim instance running in a
31235 terminal window. (closes #10530)
31236Files: src/testdir/test_terminal.vim
31237
31238Patch 8.2.5096 (after 8.2.5095)
31239Problem: Terminal test still fails with some shell commands.
31240Solution: Add missing "call". (closes #10530)
31241Files: src/testdir/test_terminal.vim
31242
31243Patch 8.2.5097
31244Problem: Using uninitialized memory when using 'listchars'.
31245Solution: Use the length returned by mb_char2bytes(). (closes #10576)
31246Files: src/message.c
31247
31248Patch 8.2.5098
31249Problem: Spelldump test sometimes hangs.
31250Solution: Catch the problem of the spell file not being found to avoid
31251 hanging in the download dialog.
31252Files: src/testdir/test_spell.vim
31253
31254Patch 8.2.5099
31255Problem: Some terminal tests are not retried.
31256Solution: Mark terminal tests as flaky.
31257Files: src/testdir/test_terminal.vim
31258
31259Patch 8.2.5100
31260Problem: Memory usage tests are not retried.
31261Solution: Mark memory usage tests as flaky.
31262Files: src/testdir/test_memory_usage.vim
31263
31264Patch 8.2.5101
31265Problem: MS-Windows with MinGW: $CC may be "cc" instead of "gcc".
31266Solution: Set $CC if it is not matching "clang". (Yegappan Lakshmanan,
31267 closes #10578)
31268Files: src/INSTALLpc.txt, src/Make_cyg_ming.mak
31269
31270Patch 8.2.5102
31271Problem: Interrupt not caught in test.
31272Solution: Consider an exception thrown in the current try/catch when got_int
31273 is set. Also catch early exit when not using try/catch.
31274Files: src/indent.c, src/testing.c, src/testdir/test_retab.vim,
31275 src/testdir/runtest.vim
31276
31277Patch 8.2.5103
31278Problem: Build fails with small features.
31279Solution: Add #ifdef. Skip test on MS-Windows.
31280Files: src/indent.c, src/testdir/test_retab.vim
31281
31282Patch 8.2.5104 (after 8.2.5103)
31283Problem: Test hangs on MS-Windows.
31284Solution: Skip another test on MS-Windows.
31285Files: src/testdir/test_retab.vim
31286
31287Patch 8.2.5105 (after 8.2.5104)
31288Problem: Test still hangs on MS-Windows.
31289Solution: Skip "nocatch" test the right way.
31290Files: src/testdir/test_retab.vim
31291
31292Patch 8.2.5106
31293Problem: Default cmdwin mappings are re-mappable.
31294Solution: Make the default mappings not re-mappable. (closes #10580) Use
31295 symbols for the first do_map() argument.
31296Files: src/vim.h, src/ex_getln.c, src/map.c, src/proto/map.pro,
31297 src/digraph.c, src/netbeans.c
31298
31299Patch 8.2.5107
31300Problem: Some callers of rettv_list_alloc() check for not OK. (Christ van
31301 Willegen)
31302Solution: Use "==" instead of "!=" when checking the return value.
31303Files: src/evalbuffer.c, src/channel.c, src/cmdexpand.c, src/evalfunc.c,
31304 src/evalwindow.c, src/insexpand.c, src/job.c, src/list.c,
31305 src/map.c, src/menu.c, src/mouse.c, src/move.c, src/sign.c,
31306 src/textprop.c, src/term.c, src/time.c
31307
31308Patch 8.2.5108
31309Problem: Retab test disabled because it hangs on MS-Windows.
31310Solution: Also set got_int at the other place a overlong text is detected.
31311Files: src/indent.c, src/testdir/test_retab.vim
31312
31313Patch 8.2.5109
31314Problem: Mode not updated after CTRL-O CTRL-C in Insert mode.
31315Solution: Set redraw_mode and use it. (closes #10581)
31316Files: src/main.c, src/normal.c, src/testdir/test_normal.vim,
31317 src/testdir/dumps/Test_mode_updated_1.dump
31318
31319Patch 8.2.5110
31320Problem: Icon filetype not recognized from the first line.
31321Solution: Add a check for the first line. (Doug Kearns)
31322Files: runtime/autoload/dist/script.vim, src/testdir/test_filetype.vim
31323
31324Patch 8.2.5111
31325Problem: No test for --gui-dialog-file.
31326Solution: Add a test.
31327Files: src/testdir/test_gui.vim
31328
31329Patch 8.2.5112 (after 8.2.5111)
31330Problem: Gui test hangs on MS-Windows.
31331Solution: Use "!start" to start Vim.
31332Files: src/testdir/test_gui.vim
31333
31334Patch 8.2.5113
31335Problem: Timer becomes invalid after fork/exec, :gui gives errors. (Gabriel
31336 Dupras)
31337Solution: Delete the timer befor forking. (closes #10584)
31338Files: src/os_unix.c, src/proto/os_unix.pro, src/gui.c
31339
31340Patch 8.2.5114
31341Problem: Time limit on searchpair() does not work properly.
31342Solution: Set the time limit once instead of for each regexp. (closes #10562)
31343Files: src/search.c, src/evalfunc.c, src/testdir/test_search.vim
31344
31345Patch 8.2.5115
31346Problem: Search timeout is overrun with some patterns.
31347Solution: Check for timeout in more places. Make the flag volatile and
31348 atomic. Use assert_inrange() to see what happened.
31349Files: src/regexp_nfa.c, src/regexp_bt.c, src/regexp.c, src/os_unix.c,
31350 src/proto/os_unix.pro, src/testdir/test_search.vim
31351
31352Patch 8.2.5116
31353Problem: "limit" option of matchfuzzy() not always respected.
31354Solution: Remove "else". (Kazuyuki Miyagi, closes #10586)
31355Files: runtime/doc/builtin.txt, src/search.c,
31356 src/testdir/test_matchfuzzy.vim
31357
31358Patch 8.2.5117
31359Problem: Crash when calling a Lua callback from a :def function. (Bohdan
31360 Makohin)
31361Solution: Handle FC_CFUNC in call_user_func_check(). (closes #10587)
31362Files: src/userfunc.c, src/testdir/test_lua.vim
31363
31364Patch 8.2.5118
31365Problem: MS-Windows: sending a message to another Vim may hang if that Vim
31366 is halted.
31367Solution: Add a timeout to serverSendToVim(). (Ken Takata, closes #10585)
31368Files: runtime/pack/dist/opt/editexisting/plugin/editexisting.vim,
31369 src/os_mswin.c
31370
31371Patch 8.2.5119
31372Problem: CI uses cache v2.
31373Solution: Use cache v3. (closes #10588)
31374Files: .github/workflows/ci.yml
31375
31376Patch 8.2.5120
31377Problem: Searching for quotes may go over the end of the line.
31378Solution: Check for running into the NUL.
31379Files: src/textobject.c
31380
31381Patch 8.2.5121
31382Problem: Interrupt test sometimes fails.
31383Solution: Use a different file name.
31384Files: src/testdir/test_interrupt.vim
31385
31386Patch 8.2.5122
31387Problem: Lisp indenting my run over the end of the line.
31388Solution: Check for NUL earlier.
31389Files: src/indent.c, src/testdir/test_indent.vim
31390
31391Patch 8.2.5123
31392Problem: Using invalid index when looking for spell suggestions.
31393Solution: Do not decrement the index when it is zero.
31394Files: src/spellsuggest.c, src/testdir/test_spell.vim
31395
31396Patch 8.2.5124
31397Problem: When syntax timeout test fails it does not show the time.
31398Solution: Use assert_inrange().
31399Files: src/testdir/test_syntax.vim
31400
31401Patch 8.2.5125
31402Problem: MS-Windows: warnings from MinGW compyler.
31403Solution: Use "volatile". (Yasuhiro Matsumoto, closes #10589) Initialize
31404 variable.
31405Files: src/os_win32.c, src/proto/os_win32.pro, src/map.c
31406
31407Patch 8.2.5126
31408Problem: Substitute may overrun destination buffer.
31409Solution: Disallow switching buffers in a substitute expression.
31410Files: src/ex_docmd.c, src/testdir/test_substitute.vim
31411
31412Patch 8.2.5127
31413Problem: Using assert_true() does not show value on failure.
31414Solution: Use assert_inrange(). (closes #10593)
31415Files: src/testdir/test_channel.vim, src/testdir/test_hlsearch.vim
31416
31417Patch 8.2.5128
31418Problem: Syntax highlighting disabled when using synID() in searchpair()
31419 skip expression and it times out. (Jaehwang Jung)
31420Solution: Add the redrawtime_limit_set flag. (closes #10562)
31421Files: src/globals.h, src/drawscreen.c, src/syntax.c
31422
31423Patch 8.2.5129
31424Problem: Timeout handling is not optimal.
31425Solution: Avoid setting timeout_flag twice. Adjust the pointer when
31426 stopping the regexp timeout. Adjust variable name.
31427Files: src/os_unix.c, src/os_win32.c, src/regexp.c
Bram Moolenaarc51cf032022-02-26 12:25:45 +000031428
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010031429Patch 8.2.5130
31430Problem: Edit test for mode message fails when using valgrind.
31431Solution: Use WaitForAssert(). Run beep test later.
31432Files: src/testdir/test_edit.vim
31433
31434Patch 8.2.5131
31435Problem: Timeout implementation is not optimal.
31436Solution: Further improvements for timeouts. Add a test for searchpair()
31437 timeout. (partly by Paul Ollis)
31438Files: src/configure.ac, src/auto/configure,
31439 src/testdir/test_hlsearch.vim, src/testdir/test_search.vim
31440
31441Patch 8.2.5132
31442Problem: :mkview test doesn't test much.
31443Solution: Save the view with the folds closed. (James McCoy, closes #10596)
31444Files: src/testdir/test_mksession.vim
31445
31446Patch 8.2.5133
31447Problem: MacOS: build fails.
31448Solution: Remove "#if 0" from timer_delete().
31449Files: src/os_macosx.m
31450
31451Patch 8.2.5134
31452Problem: Function has confusing name.
31453Solution: Rename tgetent_error() to invoke_tgetent().
31454Files: src/term.c
31455
31456Patch 8.2.5135
31457Problem: Running configure gives warnings for main() return type.
31458Solution: Specify "int" return type. Avoid a few more warnings.
31459Files: src/configure.ac, src/auto/configure
31460
31461Patch 8.2.5136
31462Problem: Debugger test fails when run with valgrind.
31463Solution: Wait longer when using valgrind.
31464Files: src/testdir/shared.vim, src/testdir/test_debugger.vim,
31465 src/testdir/test_search.vim
31466
31467Patch 8.2.5137
31468Problem: Cannot build without the +channel feature. (Dominique Pellé)
31469Solution: Add #ifdef around ch_log() calls. (closes #10598)
31470Files: src/os_unix.c, src/regexp_nfa.c, src/regexp_bt.c
31471
31472Patch 8.2.5138
31473Problem: Various small issues.
31474Solution: Various small improvments.
31475Files: src/filepath.c, src/job.c, src/mark.c, src/move.c,
31476 src/popupwin.c, src/testdir/test_filetype.vim
31477
31478Patch 8.2.5139
31479Problem: TIME_WITH_SYS_TIME is no longer supported by autoconf.
31480Solution: Always include time.h.
31481Files: src/os_unix.h
31482
31483Patch 8.2.5140
31484Problem: Seachpair timeout test is flaky.
31485Solution: Mark the test as flaky so it is retried.
31486Files: src/testdir/test_search.vim
31487
31488Patch 8.2.5141
31489Problem: Using "volatile int" in a signal handler might be wrong.
31490Solution: Use "volatile sig_atomic_t".
31491Files: src/os_unix.c, src/proto/os_unix.pro, src/os_win32.c,
31492 src/proto/os_win32.pro, src/regexp.c,
31493
31494Patch 8.2.5142
31495Problem: Startup test fails if there is a status bar at the top of the
31496 screen. (Ernie Rael)
31497Solution: Use a larger vertical offset in the test.
31498Files: src/testdir/test_startup.vim
31499
31500Patch 8.2.5143
31501Problem: Some tests fail when using valgrind. Spurious leak reports.
31502Solution: Use WaitForAssert(). Avoid failing fork/exec. Skip tests where a
31503 job is killed when running valgrind.
31504Files: src/testdir/test_iminsert.vim, src/testdir/test_popup.vim,
31505 src/testdir/test_cscope.vim, src/testdir/test_channel.vim
31506
31507Patch 8.2.5144
31508Problem: With 'lazyredraw' set completion menu may be displayed wrong.
31509Solution: When the popup menu is visible do not insert a screen line.
31510 (closes #10601)
31511Files: src/screen.c
31512
31513Patch 8.2.5145
31514Problem: Exit test causes spurious valgrind reports.
31515Solution: Skip test. Add CheckNotValgrind.
31516Files: src/testdir/test_exit.vim, src/testdir/check.vim,
31517 src/testdir/test_channel.vim
31518
31519Patch 8.2.5146
31520Problem: Memory leak when substitute expression nests.
31521Solution: Use an array of expression results.
31522Files: src/alloc.c, src/regexp.c, src/proto/regexp.pro,
31523 src/errors.h, src/ex_cmds.c, src/testdir/test_substitute.vim
31524
31525Patch 8.2.5147
31526Problem: Flaky test always fails on retry.
31527Solution: Delete the created function.
31528Files: src/testdir/test_search.vim
31529
31530Patch 8.2.5148
31531Problem: Invalid memory access when using an expression on the command line.
31532Solution: Make sure the position does not go negative.
31533Files: src/ex_getln.c, src/testdir/test_cmdline.vim
31534
31535Patch 8.2.5149 (after 8.2.5148)
31536Problem: Cannot build without the +eval feature. (Tony Mechelynck)
31537Solution: Add #ifdefs.
31538Files: src/ex_getln.c
31539
31540Patch 8.2.5150
31541Problem: Read past the end of the first line with ":0;'{".
31542Solution: When on line zero check the column is valid for line one.
31543Files: src/ex_docmd.c, src/testdir/test_cmdline.vim
31544
31545Patch 8.2.5151
31546Problem: Reading beyond the end of the line with lisp indenting.
31547Solution: Avoid going over the NUL at the end of the line.
31548Files: src/indent.c, src/testdir/test_lispwords.vim
31549
31550Patch 8.2.5152
31551Problem: search() gets stuck with "c" and skip evaluates to true.
31552Solution: Reset the SEARCH_START option. (closes #10608)
31553Files: src/evalfunc.c, src/testdir/test_syntax.vim
31554
31555Patch 8.2.5153
31556Problem: "make uninstall" does not remove colors/lists.
31557Solution: Add a line to the Makefile. (closes #10609)
31558Files: src/Makefile
31559
31560Patch 8.2.5154
31561Problem: Still mentioning version8, some cosmetic issues.
31562Solution: Prefer mentioning version9, cosmetic improvements.
31563Files: src/version.c, src/if_tcl.c, src/regexp.c,
31564 src/testdir/test_gui.vim, src/os_unix.c, Filelist, src/Makefile
31565
31566Patch 8.2.5155
31567Problem: In diff mode windows may get out of sync. (Gary Johnson)
31568Solution: Avoid that the other window scrolls for 'cursorbind'.
31569Files: src/move.c, src/testdir/test_diffmode.vim,
31570 src/testdir/dumps/Test_diff_scroll_1.dump,
31571 src/testdir/dumps/Test_diff_scroll_2.dump
31572
31573Patch 8.2.5156
31574Problem: Search timeout test often fails with FreeBSD.
31575Solution: Double the maximum time.
31576Files: src/testdir/test_search.vim
31577
31578Patch 8.2.5157
31579Problem: MS-Windows GUI: CTRL-key combinations do not always work.
31580Solution: Handle special key combinations better. (closes #10613,
31581 closes #10602, closes #10579)
31582Files: src/gui_w32.c
Bram Moolenaarc51cf032022-02-26 12:25:45 +000031583
31584
31585 vim:tw=78:ts=8:noet:ft=help:norl: