blob: 323829a59ceea480dca32e768b9fe493bb5ab4bf [file] [log] [blame]
Bram Moolenaar8a3b8052022-06-26 12:21:15 +01001*version9.txt* For Vim version 8.2. Last change: 2022 Jun 25
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
Bram Moolenaar8a3b8052022-06-26 12:21:15 +0100465The C omni-complete plugin (|ft-c-omni|), the file type detection script
466(ft.vim) and the syntax menu generation script (makemenu.vim) have been
467rewritten using the Vim9 script syntax.
468
Bram Moolenaara57b5532022-06-24 11:48:03 +0100469A large number of tests have been added to verify the Vim functionality. Most
470of the old style tests have been converted to new style tests using the new
471style assert_* functions.
472
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100473Many Coverity static analysis warnings have been fixed.
Bram Moolenaarc51cf032022-02-26 12:25:45 +0000474
475==============================================================================
476COMPILE TIME CHANGES *compile-changes-9*
477
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100478The following features are now enabled in all the builds:
479 |+cindent|
480 |+jumplist|
481 |+lispindent|
482 |+num64|
483 |+smartindent|
484 |+tag_binary|
485 |+title|
486
487The following features have been removed. They are either obsolete or didn't
488work properly:
Bram Moolenaara57b5532022-06-24 11:48:03 +0100489 - Athena and neXTaw GUI support (use Motif instead)
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100490 - EBCDIC support
Bram Moolenaara57b5532022-06-24 11:48:03 +0100491 - Atari MiNT and BeOS
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100492 - Mac Carbon GUI (use MacVim instead)
493
494The rgb.txt file is no longer included, use colors/lists/default.vim instead.
495
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100496Several large source files were split, mainly to make it easier to inspect
497code coverage information. Source files have also been refactored for
498maintainability.
Bram Moolenaarc51cf032022-02-26 12:25:45 +0000499
Bram Moolenaara57b5532022-06-24 11:48:03 +0100500Support for building Vim with Mingw64 clang compiler on MS-Windows.
501
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100502Support for building Vim with Python 3.10, Lua 5.4.4, Perl 5.34 and
503Ruby 3.1.0.
504
Bram Moolenaarc51cf032022-02-26 12:25:45 +0000505==============================================================================
506PATCHES *patches-9* *bug-fixes-9*
507 *patches-after-8.2*
508
509The list of patches that got included since 8.2.0. This includes all the new
510features, but does not include runtime file changes (syntax, indent, help,
511etc.)
512
513Patch 8.2.0001
514Problem: #endif comments do not reflect corresponding #ifdef.
515Solution: Update the comments. (Rene Nyffenegger, closes #5351)
516Files: src/ui.c
517
518Patch 8.2.0002
519Problem: "dj" only deletes first line of closed fold.
520Solution: Adjust last line of operator for linewise motion. (closes #5354)
521Files: src/ops.c, src/testdir/test_fold.vim
522
523Patch 8.2.0003
524Problem: Build file dependencies are incomplete.
525Solution: Fix the dependencies. (Ken Takata, closes #5356)
526Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Make_vms.mms,
527 src/Makefile
528
529Patch 8.2.0004
530Problem: Get E685 and E931 if buffer reload is interrupted.
531Solution: Do not abort deleting a dummy buffer. (closes #5361)
532Files: src/buffer.c, src/proto/buffer.pro, src/testdir/test_trycatch.vim,
533 src/ex_cmds.c, src/ex_getln.c, src/misc2.c, src/quickfix.c,
534 src/window.c, src/vim.h
535
536Patch 8.2.0005
537Problem: Duplication in version info.
538Solution: Use preprocessor string concatenation. (Ken Takata, closes #5357)
539Files: src/version.h
540
541Patch 8.2.0006
542Problem: Test using long file name may fail. (Vladimir Lomov)
543Solution: Limit the name length. (Christian Brabandt, closes #5358)
544Files: src/testdir/test_display.vim
545
546Patch 8.2.0007
547Problem: Popup menu positioned wrong with folding in two tabs.
548Solution: Update the cursor line height. (closes #5353)
549Files: src/move.c, src/proto/move.pro, src/popupmenu.c,
550 src/testdir/test_ins_complete.vim,
551 src/testdir/dumps/Test_pum_with_folds_two_tabs.dump
552
553Patch 8.2.0008
554Problem: Test72 is old style.
555Solution: Convert to new style test. (Yegappan Lakshmanan, closes #5362)
556Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
557 src/testdir/test72.in, src/testdir/test72.ok,
558 src/testdir/test_undo.vim
559
560Patch 8.2.0009
561Problem: VMS: terminal version doesn't build.
562Solution: Move MIN definition. Adjust #ifdefs. (Zoltan Arpadffy)
563Files: src/bufwrite.c, src/fileio.c, src/ui.c, src/xxd/Make_vms.mms
564
565Patch 8.2.0010
566Problem: Test64 is old style.
567Solution: Convert to new style test. (Yegappan Lakshmanan, closes #5363)
568Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
569 src/testdir/test64.in, src/testdir/test64.ok,
570 src/testdir/test95.in, src/testdir/test_regexp_latin.vim
571
572Patch 8.2.0011
573Problem: Screen updating wrong when opening preview window.
574Solution: Redraw the window when the preview window opens.
575Files: src/popupmenu.c, src/testdir/test_ins_complete.vim,
576 src/testdir/dumps/Test_pum_with_preview_win.dump
577
578Patch 8.2.0012
579Problem: Some undo functionality is not tested.
580Solution: Add a few more test cases. (Dominique Pellé, closes #5364)
581Files: src/testdir/test_undo.vim
582
583Patch 8.2.0013
584Problem: Not using a typedef for condstack.
585Solution: Add a typedef.
586Files: src/structs.h, src/ex_docmd.c, src/ex_eval.c, src/userfunc.c,
587 src/ex_cmds.h, src/proto/ex_eval.pro
588
589Patch 8.2.0014
590Problem: Test69 and test95 are old style.
591Solution: Convert to new style tests. (Yegappan Lakshmanan, closes #5365)
592Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
593 src/testdir/test69.in, src/testdir/test69.ok,
594 src/testdir/test95.in, src/testdir/test95.ok,
595 src/testdir/test_regexp_utf8.vim, src/testdir/test_textformat.vim
596
597Patch 8.2.0015
598Problem: Not all modeline variants are tested.
599Solution: Add modeline tests. (Dominique Pellé, closes #5369)
600Files: src/testdir/test_modeline.vim
601
602Patch 8.2.0016
603Problem: Test name used twice, option not restored properly.
604Solution: Rename function, restore option with "&".
605Files: src/testdir/test_textformat.vim
606
607Patch 8.2.0017
608Problem: OS/2 and MS-DOS are still mentioned, even though support was
609 removed long ago.
610Solution: Update documentation. (Yegappan Lakshmanan, closes #5368)
611Files: runtime/doc/autocmd.txt, runtime/doc/change.txt,
612 runtime/doc/cmdline.txt, runtime/doc/editing.txt,
613 runtime/doc/eval.txt, runtime/doc/gui.txt, runtime/doc/insert.txt,
614 runtime/doc/options.txt, runtime/doc/print.txt,
615 runtime/doc/quickfix.txt, runtime/doc/repeat.txt,
616 runtime/doc/starting.txt, runtime/doc/usr_01.txt,
617 runtime/doc/usr_05.txt, runtime/doc/usr_41.txt,
618 runtime/doc/vi_diff.txt, runtime/gvimrc_example.vim,
619 runtime/tools/README.txt, runtime/vimrc_example.vim, src/feature.h
620
621Patch 8.2.0018
622Problem: :join does not add white space where it should. (Zdenek Dohnal)
623Solution: Handle joining multiple lines properly.
624Files: src/ops.c, src/testdir/test_join.vim
625
626Patch 8.2.0019
627Problem: Cannot get number of lines of another buffer.
628Solution: Add "linecount" to getbufinfo(). (Yasuhiro Matsumoto,
629 closes #5370)
630Files: src/evalbuffer.c, src/testdir/test_bufwintabinfo.vim,
631 runtime/doc/eval.txt
632
633Patch 8.2.0020
634Problem: Mouse clicks in the command line not tested.
635Solution: Add tests. (Dominique Pellé, closes #5366)
636Files: src/testdir/test_termcodes.vim
637
638Patch 8.2.0021
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000639Problem: Timer test fails too often on Travis with macOS.
Bram Moolenaarc51cf032022-02-26 12:25:45 +0000640Solution: Be less strict with the time.
641Files: src/testdir/test_timers.vim
642
643Patch 8.2.0022
644Problem: Click in popup window doesn't close it in the GUI. (Sergey Vlasov)
645Solution: When processing the selection also send a button release event.
646 (closes #5367)
647Files: src/gui.c
648
649Patch 8.2.0023
650Problem: Command line editing not sufficiently tested.
651Solution: Add more tests. (Dominique Pellé, closes #5374)
652Files: src/testdir/Make_all.mak, src/testdir/test_alot.vim,
653 src/testdir/test_cmdline.vim, src/testdir/test_ex_mode.vim
654
655Patch 8.2.0024
656Problem: Filetype Rego not recognized.
657Solution: Add *.rego. (Matt Dunford, closes #5376)
658Files: runtime/filetype.vim, src/testdir/test_filetype.vim
659
660Patch 8.2.0025
661Problem: Repeated word in comment.
662Solution: Remove one. (Rene Nyffenegger, closes #5384)
663Files: src/structs.h
664
665Patch 8.2.0026
666Problem: Still some /* */ comments.
667Solution: Convert to // comments.
668Files: src/message.c, src/message_test.c, src/misc1.c, src/misc2.c,
669 src/move.c
670
671Patch 8.2.0027
672Problem: Still some /* */ comments.
673Solution: Convert to // comments.
674Files: src/iid_ole.c, src/indent.c, src/insexpand.c, src/iscygpty.c,
675 src/version.c
676
677Patch 8.2.0028
678Problem: Searchpairpos() is not tested.
679Solution: Add tests. Also improve searchpair() testing. (Dominique Pellé,
680 closes #5388)
681Files: src/testdir/test_search.vim
682
683Patch 8.2.0029
684Problem: MS-Windows: crash with empty job command.
685Solution: Check for NULL result. (Yasuhiro Matsumoto, closes #5390)
686Files: src/channel.c, src/testdir/test_channel.vim
687
688Patch 8.2.0030
689Problem: "gF" does not work on output of "verbose command".
690Solution: Recognize " line " and translations. (closes #5391)
691Files: src/globals.h, src/eval.c, src/findfile.c, src/testdir/test_gf.vim
692
693Patch 8.2.0031 (after 8.2.0029)
694Problem: MS-Windows: test for empty job fails
695Solution: Check for error message, make it also fail on Unix.
696Files: src/channel.c, src/testdir/test_channel.vim
697
698Patch 8.2.0032 (after 8.2.0031)
699Problem: MS-Windows: test for blank job fails
700Solution: Check before escaping.
701Files: src/channel.c, src/testdir/test_channel.vim
702
703Patch 8.2.0033
704Problem: Crash when make_extmatch() runs out of memory.
705Solution: Check for NULL. (Dominique Pellé, closes #5392)
706Files: src/regexp_bt.c, src/regexp_nfa.c
707
708Patch 8.2.0034
709Problem: Missing check for out of memory.
710Solution: Check for NULL after vim_strsave(). (Dominique Pellé,
711 closes #5393)
712Files: src/filepath.c
713
714Patch 8.2.0035
715Problem: Saving and restoring called_emsg is clumsy.
716Solution: Count the number of error messages.
717Files: src/message.c, src/buffer.c, src/channel.c, src/drawscreen.c,
718 src/ex_cmds2.c, src/gui.c, src/highlight.c, src/main.c,
719 src/regexp.c, src/search.c, src/testing.c, src/globals.h
720
721Patch 8.2.0036
722Problem: Not enough test coverage for match functions.
723Solution: Add a few more test cases. (Dominique Pellé, closes #5394)
724 Add error number.
725Files: src/testdir/test_match.vim
726
727Patch 8.2.0037
728Problem: Missing renamed message.
729Solution: Now really add the error number.
730Files: src/highlight.c
731
732Patch 8.2.0038
733Problem: Spell suggestions insufficiently tested.
734Solution: Add spell suggestion tests. (Dominique Pellé, closes #5398)
735Files: src/testdir/test_spell.vim
736
737Patch 8.2.0039
738Problem: Memory access error when "z=" has no suggestions.
739Solution: Check for negative index.
740Files: src/testdir/test_spell.vim, src/spellsuggest.c
741
742Patch 8.2.0040
743Problem: Timers test is still flaky on Travis for Mac.
744Solution: Run separately instead of as part of test_alot.
745Files: src/testdir/Make_all.mak, src/testdir/test_alot.vim
746
747Patch 8.2.0041
748Problem: Leaking memory when selecting spell suggestion.
749Solution: Free previous value at the right time.
750Files: src/spellsuggest.c
751
752Patch 8.2.0042
753Problem: Clearing funccal values twice.
754Solution: Remove clearing individual fields.
755Files: src/userfunc.c
756
757Patch 8.2.0043
758Problem: Timers test is still flaky on Travis for Mac.
759Solution: Increase maximum expected time.
760Files: src/testdir/test_timers.vim
761
762Patch 8.2.0044
763Problem: Expression type is used inconsistently.
764Solution: Add "ETYPE_IS" and "ETYPE_ISNOT" as separate enum values. Rename
765 "TYPE_" to "ETYPE_" to avoid confusion.
766Files: src/structs.h, src/eval.c, src/proto/eval.pro, src/debugger.c
767
768Patch 8.2.0045 (after 8.2.0044)
769Problem: Script test fails.
770Solution: For numbers "is" and "isnot" work like "==" and "!=".
771Files: src/eval.c
772
773Patch 8.2.0046
774Problem: Tests for spell suggestions are slow.
775Solution: Use shorter words. Test with latin1 and utf-8 to cover more code.
776 (Dominique Pellé, closes #5399)
777Files: src/testdir/test_spell.vim
778
779Patch 8.2.0047
780Problem: Cannot skip tests for specific MS-Windows platform.
781Solution: Add windowsversion().
782Files: src/os_win32.c, src/globals.h, src/evalfunc.c,
783 runtime/doc/eval.txt, src/testdir/gen_opt_test.vim,
784 src/testdir/test_options.vim
785
786Patch 8.2.0048
787Problem: Another timers test is flaky on Travis for Mac.
788Solution: Increase maximum expected time.
789Files: src/testdir/test_timers.vim
790
791Patch 8.2.0049
792Problem: Command line completion not fully tested.
793Solution: Add more test cases. Make help sorting stable. (Dominique Pellé,
794 closes #5402)
795Files: src/ex_cmds.c, src/testdir/test_cd.vim,
796 src/testdir/test_cmdline.vim, src/testdir/test_help.vim,
797 src/testdir/test_menu.vim, src/testdir/test_options.vim,
798 src/testdir/test_syntax.vim
799
800Patch 8.2.0050
801Problem: After deleting a file mark it is still in viminfo.
802Solution: When a file mark was deleted more recently than the mark in the
803 merged viminfo file was updated, do not store the mark. (Pavol
804 Juhas, closes #5401, closes #1339)
805Files: src/mark.c, src/testdir/test_marks.vim,
806 src/testdir/test_viminfo.vim, src/viminfo.c
807
808Patch 8.2.0051 (after 8.2.0049)
809Problem: Command line completion test skipped. (Christian Brabandt)
810Solution: Invert condition.
811Files: src/testdir/test_cmdline.vim
812
813Patch 8.2.0052
814Problem: More-prompt not properly tested.
815Solution: Add a test case. (Dominique Pellé, closes #5404)
816Files: src/testdir/test_messages.vim
817
818Patch 8.2.0053
819Problem: windowsversion() does not always return the right value.
820Solution: Add a compatibility section in the manifest. (Ken Takata,
821 closes #5407)
822Files: src/gvim.exe.mnf
823
824Patch 8.2.0054
825Problem: :diffget and :diffput don't have good completion.
826Solution: Add proper completion. (Dominique Pellé, closes #5409)
827Files: runtime/doc/eval.txt, src/buffer.c, src/cmdexpand.c,
828 src/testdir/test_diffmode.vim, src/usercmd.c, src/vim.h
829
830Patch 8.2.0055
831Problem: Cannot use ":gui" in vimrc with VIMDLL enabled.
832Solution: Change the logic, check "gui.starting". (Ken Takata, closes #5408)
833Files: src/gui.c
834
835Patch 8.2.0056
836Problem: Execution stack is incomplete and inefficient.
837Solution: Introduce a proper execution stack and use it instead of
838 sourcing_name/sourcing_lnum. Create a string only when used.
839Files: src/structs.h, src/globals.h, src/autocmd.c, src/buffer.c
840 src/debugger.c, src/ex_docmd.c, src/ex_eval.c, src/highlight.c,
841 src/main.c, src/map.c, src/message.c, src/proto/scriptfile.pro,
842 src/scriptfile.c, src/option.c, src/profiler.c, src/spellfile.c,
843 src/term.c, src/testing.c, src/usercmd.c, src/userfunc.c,
844 src/kword_test.c, src/testdir/test_debugger.vim
845
846Patch 8.2.0057 (after 8.2.0056)
847Problem: Cannot build with small features.
848Solution: Add #ifdefs.
849Files: src/scriptfile.c
850
851Patch 8.2.0058
852Problem: Running tests changes ~/.viminfo.
853Solution: Make 'viminfo' empty when summarizing tests results. (closes #5414)
854Files: src/testdir/summarize.vim
855
856Patch 8.2.0059
857Problem: Compiler warnings for unused variables in small build. (Tony
858 Mechelynck)
859Solution: Add #ifdef.
860Files: src/scriptfile.c
861
862Patch 8.2.0060
863Problem: Message test only runs with one encoding. (Dominique Pellé)
864Solution: Run the test with "utf-8" and "latin1". Fix underflow. (related
865 to #5410)
866Files: src/message_test.c, src/message.c
867
868Patch 8.2.0061
869Problem: The execute stack can grow big and never shrinks.
870Solution: Reduce the size in garbage collect.
871Files: src/eval.c
872
873Patch 8.2.0062
874Problem: Memory test is flaky on FreeBSD.
875Solution: Add a short sleep before getting the first size.
876Files: src/testdir/test_memory_usage.vim
877
878Patch 8.2.0063
879Problem: Wrong size argument to vim_snprintf(). (Dominique Pellé)
880Solution: Reduce the size by the length. (related to #5410)
881Files: src/ops.c
882
883Patch 8.2.0064
884Problem: Diffmode completion doesn't use per-window setting.
885Solution: Check if a window is in diff mode. (Dominique Pellé, closes #5419)
886Files: src/buffer.c, src/testdir/test_diffmode.vim
887
888Patch 8.2.0065
889Problem: Amiga and alikes: autoopen only used on Amiga OS4.
890Solution: Adjust #ifdefs. (Ola Söder, closes #5413)
891Files: src/os_amiga.c
892
893Patch 8.2.0066
894Problem: Some corners of vim_snprintf() are not tested.
895Solution: Add a test in C. (Dominique Pellé, closes #5422)
896Files: src/message_test.c
897
898Patch 8.2.0067
899Problem: ERROR_UNKNOWN clashes on some systems.
900Solution: Rename ERROR_ to FCERR_. (Ola Söder, closes #5415)
901Files: src/evalfunc.c, src/userfunc.c, src/vim.h
902
903Patch 8.2.0068
904Problem: Crash when using Python 3 with "utf32" encoding. (Dominique Pellé)
905Solution: Use "utf-8" whenever enc_utf8 is set. (closes #5423)
906Files: src/testdir/test_python3.vim, src/if_py_both.h
907
908Patch 8.2.0069
909Problem: ETYPE_ is used for two different enums.
910Solution: Rename one to use EXPR_.
911Files: src/structs.h, src/eval.c, src/debugger.c
912
913Patch 8.2.0070
914Problem: Crash when using Python 3 with "debug" encoding. (Dominique Pellé)
915Solution: Use "euc-jp" whenever enc_dbcs is set.
916Files: src/testdir/test_python3.vim, src/if_py_both.h
917
918Patch 8.2.0071
919Problem: Memory test often fails on Cirrus CI.
920Solution: Allow for more tolerance in the upper limit. Remove sleep.
921Files: src/testdir/test_memory_usage.vim
922
923Patch 8.2.0072 (after 8.2.0071)
924Problem: Memory test still fails on Cirrus CI.
925Solution: Allow for a tiny bit more tolerance in the upper limit.
926Files: src/testdir/test_memory_usage.vim
927
928Patch 8.2.0073
929Problem: Initializing globals with COMMA is clumsy.
930Solution: Use INIT2(), INIT3(), etc.
931Files: src/vim.h, src/globals.h
932
933Patch 8.2.0074
934Problem: Python 3 unicode test sometimes fails.
935Solution: Make 'termencoding' empty. Correct number of error message.
936Files: src/change.c, runtime/doc/options.txt, runtime/doc/message.txt,
937 src/testdir/test_python3.vim
938
939Patch 8.2.0075
940Problem: Python 3 unicode test still sometimes fails.
941Solution: Skip the test when 'termencoding' is not empty.
942Files: src/testdir/test_python3.vim
943
944Patch 8.2.0076
945Problem: Python 3 unicode test fails on MS-Windows.
946Solution: Do not set 'encoding' to "debug" on MS-Windows.
947Files: src/testdir/test_python3.vim
948
949Patch 8.2.0077
950Problem: settagstack() cannot truncate at current index.
951Solution: Add the "t" action. (Yegappan Lakshmanan, closes #5417)
952Files: runtime/doc/eval.txt, src/evalfunc.c, src/tag.c,
953 src/testdir/test_tagjump.vim
954
955Patch 8.2.0078
956Problem: Expanding <sfile> works differently the second time.
957Solution: Keep the expanded name when redefining a function. (closes #5425)
958Files: src/testdir/test_vimscript.vim, src/userfunc.c
959
960Patch 8.2.0079
961Problem: Python 3 unicode test still fails on MS-Windows.
962Solution: Do not set 'encoding' to "euc-tw" on MS-Windows.
963Files: src/testdir/test_python3.vim
964
965Patch 8.2.0080
966Problem: Globals using INIT4() are not in the tags file.
967Solution: Adjust the tags command.
968Files: src/configure.ac, src/auto/configure
969
970Patch 8.2.0081
971Problem: MS-Windows also need the change to support INIT4().
972Solution: Add the ctags arguments. (Ken Takata)
973Files: src/Make_cyg_ming.mak, src/Make_mvc.mak
974
975Patch 8.2.0082
976Problem: When reusing a buffer listeners are not cleared. (Axel Forsman)
977Solution: Clear listeners when reusing a buffer. (closes #5431)
978Files: src/testdir/test_listener.vim, src/buffer.c
979
980Patch 8.2.0083
981Problem: Text properties wrong when tabs and spaces are exchanged.
982Solution: Take text properties into account. (Nobuhiro Takasaki,
983 closes #5427)
984Files: src/edit.c, src/testdir/test_textprop.vim
985
986Patch 8.2.0084
987Problem: Complete item "user_data" can only be a string.
988Solution: Accept any type of variable. (closes #5412)
989Files: src/testdir/test_ins_complete.vim, src/insexpand.c, src/dict.c,
990 src/proto/dict.pro, src/eval.c, runtime/doc/insert.txt
991
992Patch 8.2.0085
993Problem: Dead code in builtin functions.
994Solution: Clean up the code.
995Files: src/evalvars.c, src/sound.c, src/textprop.c
996
997Patch 8.2.0086 (after 8.2.0084)
998Problem: Build error for small version. (Tony Mechelynck)
999Solution: Only use "user_data" with the +eval feature. Remove unused
1000 variable.
1001Files: src/insexpand.c, src/dict.c
1002
1003Patch 8.2.0087
1004Problem: Crash in command line expansion when out of memory.
1005Solution: Check for NULL pointer. Also make ExpandGeneric() static.
1006 (Dominique Pellé, closes #5437)
1007Files: src/cmdexpand.c, src/proto/cmdexpand.pro
1008
1009Patch 8.2.0088
1010Problem: Insufficient tests for tags; bug in using extra tag field when
1011 using an ex command to position the cursor.
1012Solution: Fix the bug, add more tests. (Yegappan Lakshmanan, closes #5439)
1013Files: runtime/doc/tagsrch.txt, src/tag.c,
1014 src/testdir/test_ins_complete.vim, src/testdir/test_tagfunc.vim,
1015 src/testdir/test_tagjump.vim, src/testdir/test_taglist.vim
1016
1017Patch 8.2.0089
1018Problem: Crash when running out of memory in :setfiletype completion.
1019Solution: Do not allocate memory. (Dominique Pellé, closes #5438)
1020Files: src/cmdexpand.c
1021
1022Patch 8.2.0090
1023Problem: Generated files show up in git status.
1024Solution: Ignore a few more files.
1025Files: .gitignore
1026
1027Patch 8.2.0091
1028Problem: Compiler warnings for size_t / int types.
1029Solution: Change type to size_t. (Mike Williams)
1030Files: src/scriptfile.c
1031
1032Patch 8.2.0092
1033Problem: Tags functionality insufficiently tested.
1034Solution: Add more tags tests. (Yegappan Lakshmanan, closes #5446)
1035Files: src/testdir/test_tagjump.vim
1036
1037Patch 8.2.0093
1038Problem: win_splitmove() can make Vim hang.
1039Solution: Check windows exists in the current tab page. (closes #5444)
1040Files: src/testdir/test_window_cmd.vim, src/evalwindow.c
1041
1042Patch 8.2.0094
1043Problem: MS-Windows: cannot build with Strawberry Perl 5.30.
1044Solution: Define __builtin_expect() as a workaround. (Ken Takata,
1045 closes #5267)
1046Files: src/if_perl.xs
1047
1048Patch 8.2.0095
1049Problem: Cannot specify exit code for :cquit.
1050Solution: Add optional argument. (Thinca, Yegappan Lakshmanan, closes #5442)
1051Files: runtime/doc/quickfix.txt, src/ex_cmds.h, src/ex_docmd.c,
1052 src/testdir/test_quickfix.vim
1053
1054Patch 8.2.0096
1055Problem: Cannot create tiny popup window in last column. (Daniel Steinberg)
1056Solution: Remove position limit. (closes #5447)
1057Files: src/popupwin.c, src/testdir/test_popupwin.vim,
1058 src/testdir/dumps/Test_popupwin_20.dump,
1059 src/testdir/dumps/Test_popupwin_21.dump
1060
1061Patch 8.2.0097
1062Problem: Crash with autocommand and spellfile. (Tim Pope)
1063Solution: Do not pop exestack when not pushed. (closes #5450)
1064Files: src/testdir/test_autocmd.vim, src/spellfile.c
1065
1066Patch 8.2.0098
1067Problem: Exe stack length can be wrong without being detected.
1068Solution: Add a check when ABORT_ON_INTERNAL_ERROR is defined.
1069Files: src/macros.h, src/autocmd.c, src/buffer.c, src/ex_docmd.c,
1070 src/main.c, src/map.c, src/scriptfile.c, src/spellfile.c,
1071 src/userfunc.c
1072
1073Patch 8.2.0099
1074Problem: Use of NULL pointer when out of memory.
1075Solution: Check for NULL pointer. (Dominique Pellé, closes #5449)
1076Files: src/cmdexpand.c
1077
1078Patch 8.2.0100
1079Problem: Macros for Ruby are too complicated.
1080Solution: Do not use DYNAMIC_RUBY_VER, use RUBY_VERSION. (Ken Takata,
1081 closes #5452)
1082Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/auto/configure,
1083 src/configure.ac, src/if_ruby.c
1084
1085Patch 8.2.0101
1086Problem: Crash when passing null object to ":echomsg".
1087Solution: Check for NULL pointer. (Yasuhiro Matsumoto, closes #5460)
1088Files: src/eval.c, src/testdir/test_messages.vim
1089
1090Patch 8.2.0102
1091Problem: Messages test fails in small version.
1092Solution: Only use test_null_job() when available.
1093Files: src/testdir/test_messages.vim
1094
1095Patch 8.2.0103
1096Problem: Using null object with execute() has strange effects.
1097Solution: Give an error message for Job and Channel.
1098Files: src/testdir/test_execute_func.vim, src/globals.h, src/eval.c,
1099 src/evalfunc.c
1100
1101Patch 8.2.0104
1102Problem: Using channel or job with ":execute" has strange effects.
1103Solution: Give an error message for Job and Channel.
1104Files: src/testdir/test_eval_stuff.vim, src/eval.c
1105
1106Patch 8.2.0105
1107Problem: Vim license not easy to find on github.
1108Solution: Add a separate LICENCE file. (closes #5458)
1109Files: LICENSE, Filelist
1110
1111Patch 8.2.0106
1112Problem: Printf formats are not exactly right.
1113Solution: Adjust signed/unsigned conversions. (Frazer Clews, closes #5456)
1114Files: runtime/tools/ccfilter.c, src/libvterm/src/parser.c,
1115 src/libvterm/src/pen.c, src/ui.c
1116
1117Patch 8.2.0107
1118Problem: Hgignore is out of sync from gitignore.
1119Solution: Add lines to hgignore. (Ken Takata)
Bram Moolenaar47c532e2022-03-19 15:18:53 +00001120Files: .hgignore
Bram Moolenaarc51cf032022-02-26 12:25:45 +00001121
1122Patch 8.2.0108
1123Problem: When sign text is changed a manual redraw is needed. (Pontus
1124 Lietzler)
1125Solution: Redraw automatically. (closes #5455)
1126Files: src/testdir/test_signs.vim, src/sign.c,
1127 src/testdir/dumps/Test_sign_cursor_1.dump,
1128 src/testdir/dumps/Test_sign_cursor_2.dump,
1129 src/testdir/dumps/Test_sign_cursor_3.dump,
1130 src/testdir/dumps/Test_sign_cursor_01.dump,
1131 src/testdir/dumps/Test_sign_cursor_02.dump
1132
1133Patch 8.2.0109
1134Problem: Corrupted text properties when expanding spaces.
1135Solution: Reallocate the line. (Nobuhiro Takasaki, closes #5457)
1136Files: src/edit.c, src/testdir/test_textprop.vim
1137
1138Patch 8.2.0110
1139Problem: prop_find() is not implemented.
1140Solution: Implement prop_find(). (Ryan Hackett, closes #5421, closes #4970)
1141Files: src/evalfunc.c, src/proto/textprop.pro,
1142 src/testdir/test_textprop.vim, src/textprop.c,
1143 runtime/doc/textprop.txt
1144
1145Patch 8.2.0111
1146Problem: VAR_SPECIAL is also used for booleans.
1147Solution: Add VAR_BOOL for better type checking.
1148Files: src/structs.h, src/dict.c, src/eval.c, src/evalfunc.c,
1149 src/evalvars.c, src/if_lua.c, src/if_mzsch.c, src/if_py_both.h,
1150 src/if_ruby.c, src/json.c, src/popupmenu.c, src/proto/dict.pro,
1151 src/testing.c, src/vim.h, src/viminfo.c
1152
1153Patch 8.2.0112
1154Problem: Illegal memory access when using 'cindent'.
1155Solution: Check for NUL byte. (Dominique Pellé, closes #5470)
1156Files: src/cindent.c, src/testdir/test_cindent.vim
1157
1158Patch 8.2.0113 (after 8.2.0095)
1159Problem: "make cmdidxs" fails.
1160Solution: Allow address for ":cquit". Add --not-a-term to avoid a delay.
1161Files: src/ex_cmds.h, src/Makefile, src/Make_cyg_ming.mak,
1162 src/Make_mvc.mak
1163
1164Patch 8.2.0114
1165Problem: Info about sourced scripts is scattered.
1166Solution: Use scriptitem_T for info about a script, including s: variables.
1167 Drop ga_scripts.
1168Files: src/structs.h, src/evalvars.c, src/scriptfile.c, src/eval.c
1169
1170Patch 8.2.0115
1171Problem: Byte2line() does not work correctly with text properties. (Billie
1172 Cleek)
1173Solution: Take the bytes of the text properties into account.
1174 (closes #5334)
1175Files: src/testdir/test_textprop.vim, src/memline.c
1176
1177Patch 8.2.0116
1178Problem: BufEnter autocmd not triggered on ":tab drop". (Andy Stewart)
1179Solution: Decrement autocmd_no_enter for the last file. (closes #1660,
1180 closes #5473)
1181Files: src/arglist.c, src/testdir/test_tabpage.vim
1182
1183Patch 8.2.0117
1184Problem: Crash when using gettabwinvar() with invalid arguments. (Yilin
1185 Yang)
1186Solution: Use "curtab" if "tp" is NULL. (closes #5475)
1187Files: src/evalwindow.c, src/testdir/test_getvar.vim
1188
1189Patch 8.2.0118
1190Problem: Crash when cycling to buffers involving popup window .
1191Solution: Do not decrement buffer reference count.
1192Files: src/popupwin.c, src/testdir/test_popupwin.vim,
1193 src/testdir/dumps/Test_popupwin_infopopup_7.dump
1194
1195Patch 8.2.0119
1196Problem: Message test fails on some platforms. (Elimar Riesebieter)
1197Solution: Add type cast to vim_snprintf() argument. (Dominique Pellé)
1198Files: src/message_test.c
1199
1200Patch 8.2.0120
1201Problem: virtcol() does not check arguments to be valid, which may lead to
1202 a crash.
1203Solution: Check the column to be valid. Do not decrement MAXCOL.
1204 (closes #5480)
1205Files: src/evalfunc.c, src/testdir/test_marks.vim
1206
1207Patch 8.2.0121
1208Problem: filter() and map() on blob don't work.
1209Solution: Correct the code. (closes #5483)
1210Files: src/list.c, src/testdir/test_blob.vim
1211
1212Patch 8.2.0122
1213Problem: Readme files still mention MS-DOS.
1214Solution: Update readme files. (Ken Takata, closes #5486)
1215Files: README.md, README.txt, READMEdir/README_dos.txt,
1216 READMEdir/README_srcdos.txt, READMEdir/README_w32s.txt,
1217 runtime/doc/os_win32.txt
1218
1219Patch 8.2.0123
1220Problem: complete_info() does not work when CompleteDone is triggered.
1221Solution: Trigger CompleteDone before clearing the info.
1222Files: src/insexpand.c, runtime/doc/autocmd.txt,
1223 src/testdir/test_ins_complete.vim
1224
1225Patch 8.2.0124
1226Problem: Compiler warnings for variable types.
1227Solution: Change type, add type cast. (Mike Williams)
1228Files: src/memline.c
1229
1230Patch 8.2.0125
1231Problem: :mode no longer works for any system.
1232Solution: Always give an error message.
1233Files: src/ex_docmd.c, runtime/doc/quickref.txt, src/os_amiga.c,
1234 src/proto/os_amiga.pro, src/os_mswin.c, src/proto/os_mswin.pro,
1235 src/os_unix.c, src/proto/os_unix.pro
1236
1237Patch 8.2.0126 (after 8.2.0124)
1238Problem: Textprop test fails.
1239Solution: Fix sign in computation.
1240Files: src/memline.c
1241
1242Patch 8.2.0127
1243Problem: Some buffer commands work in a popup window.
1244Solution: Disallow :bnext, :bprev, etc. (Naruhiko Nishino, closes #5494)
1245Files: src/ex_docmd.c, src/testdir/test_popupwin.vim
1246
1247Patch 8.2.0128
1248Problem: Cannot list options one per line.
1249Solution: Use ":set!" to list one option per line.
1250Files: src/ex_docmd.c, src/option.c, src/proto/option.pro, src/vim.h,
1251 src/ex_cmds.h, src/optiondefs.h, src/testdir/test_options.vim,
1252 runtime/doc/options.txt
1253
1254Patch 8.2.0129
1255Problem: MS-Windows installer doesn't use Turkish translations.
1256Solution: Enable the Turkish translations and fix a few. (Emir Sarı,
1257 closes #5493)
1258Files: nsis/gvim.nsi, nsis/lang/turkish.nsi
1259
1260Patch 8.2.0130
1261Problem: Python3 ranges are not tested.
1262Solution: Add test. (Dominique Pellé, closes #5498)
1263Files: src/testdir/test_python3.vim
1264
1265Patch 8.2.0131
1266Problem: Command line is not cleared when switching tabs and the command
1267 line height differs.
1268Solution: Set the "clear_cmdline" flag when needed. (Naruhiko Nishino,
1269 closes #5495)
1270Files: src/testdir/dumps/Test_cmdlineclear_tabenter.dump,
1271 src/testdir/test_cmdline.vim, src/window.c
1272
1273Patch 8.2.0132
1274Problem: Script may be re-used when deleting and creating a new one.
1275Solution: When the inode matches, also check the file name.
1276Files: src/scriptfile.c, src/testdir/test_source.vim
1277
1278Patch 8.2.0133
1279Problem: Invalid memory access with search command.
1280Solution: When :normal runs out of characters in bracketed paste mode break
1281 out of the loop.(closes #5511)
1282Files: src/testdir/test_search.vim, src/edit.c
1283
1284Patch 8.2.0134
1285Problem: Some map functionality not covered by tests.
1286Solution: Add tests. (Yegappan Lakshmanan, closes #5504)
1287Files: src/testdir/test_maparg.vim, src/testdir/test_mapping.vim
1288
1289Patch 8.2.0135 (after 8.2.0133)
1290Problem: Bracketed paste can still cause invalid memory access. (Dominique
1291 Pellé)
1292Solution: Check for NULL pointer.
1293Files: src/edit.c, src/testdir/test_search.vim
1294
1295Patch 8.2.0136
1296Problem: Stray ch_logfile() call.
1297Solution: Remove it. (closes #5503)
1298Files: src/testdir/test_source.vim
1299
1300Patch 8.2.0137
1301Problem: Crash when using win_execute() from a new tab.
1302Solution: Set the tp_*win pointers. (Ozaki Kiichi, closes #5512)
1303Files: src/testdir/test_winbuf_close.vim, src/window.c
1304
1305Patch 8.2.0138
1306Problem: Memory leak when starting a job fails.
1307Solution: Free the list of arguments. (Ozaki Kiichi, closes #5510)
1308Files: src/channel.c, src/testdir/test_channel.vim
1309
1310Patch 8.2.0139
1311Problem: MS-Windows: default for IME is inconsistent.
1312Solution: Also make IME default enabled with MVC. (Ken Takata, closes #5508)
1313Files: src/Make_mvc.mak
1314
1315Patch 8.2.0140
1316Problem: CI does not test building doc tags.
1317Solution: Add the vimtags/gcc build. Cleanup showing version. (Ozaki Kiichi,
1318 closes #5513)
1319Files: .travis.yml, Filelist, ci/if_ver-1.vim, ci/if_ver-2.vim,
1320 ci/if_ver-cmd.vim, runtime/doc/Makefile, runtime/doc/doctags.vim,
1321 src/testdir/if_ver-1.vim, src/testdir/if_ver-2.vim
1322
1323Patch 8.2.0141
1324Problem: No swift filetype detection.
1325Solution: Add swift, swiftgyb and sil. (Emir Sarı, closes #5517)
1326Files: runtime/filetype.vim, src/testdir/test_filetype.vim
1327
1328Patch 8.2.0142
1329Problem: Possible to enter popup window with CTRL-W p. (John Devin)
1330Solution: Check entered window is not a popup window. (closes #5515)
1331Files: src/window.c, src/popupwin.c, src/testdir/test_popupwin.vim,
1332 src/testdir/dumps/Test_popupwin_previewpopup_9.dump,
1333 src/testdir/dumps/Test_popupwin_previewpopup_10.dump
1334
1335Patch 8.2.0143
1336Problem: Coverity warning for possible use of NULL pointer.
1337Solution: Check argv is not NULL.
1338Files: src/channel.c
1339
1340Patch 8.2.0144
1341Problem: Some mapping code is not fully tested.
1342Solution: Add more test cases. (Yegappan Lakshmanan, closes #5519)
1343Files: src/testdir/test_langmap.vim, src/testdir/test_maparg.vim,
1344 src/testdir/test_mapping.vim
1345
1346Patch 8.2.0145
1347Problem: Using #error for compilation errors should be OK now.
1348Solution: Use #error. (Ken Takata, closes #5299)
1349Files: src/blowfish.c, src/vim.h
1350
1351Patch 8.2.0146
1352Problem: Wrong indent when 'showbreak' and 'breakindent' are set and
1353 'briopt' includes "sbr".
1354Solution: Reset "need_showbreak" where needed. (Ken Takata, closes #5523)
1355Files: src/drawline.c, src/testdir/test_breakindent.vim
1356
1357Patch 8.2.0147
1358Problem: Block Visual mode operators not correct when 'linebreak' set.
1359Solution: Set w_p_lbr to lbr_saved more often. (Ken Takata, closes #5524)
1360Files: src/ops.c, src/testdir/test_listlbr.vim
1361
1362Patch 8.2.0148
1363Problem: Mapping related function in wrong source file.
1364Solution: Move the function. Add a few more test cases. (Yegappan
1365 Lakshmanan, closes #5528)
1366Files: src/map.c, src/proto/term.pro, src/term.c,
1367 src/testdir/test_mapping.vim
1368
1369Patch 8.2.0149
1370Problem: Maintaining a Vim9 branch separately is more work.
1371Solution: Merge the Vim9 script changes.
1372Files: README.md, README_VIM9.md, runtime/doc/Makefile,
1373 runtime/doc/eval.txt, runtime/doc/options.txt, runtime/doc/tags,
1374 runtime/doc/vim9.txt, runtime/ftplugin/vim.vim,
1375 runtime/indent/vim.vim, runtime/syntax/vim.vim,
1376 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Makefile, src/blob.c,
1377 src/channel.c, src/dict.c, src/eval.c, src/evalbuffer.c,
1378 src/evalfunc.c, src/evalvars.c, src/ex_cmdidxs.h, src/ex_cmds.h,
1379 src/ex_docmd.c, src/ex_eval.c, src/filepath.c, src/globals.h,
1380 src/gui.c, src/if_lua.c, src/if_py_both.h, src/insexpand.c,
1381 src/json.c, src/list.c, src/macros.h, src/main.c, src/message.c,
1382 src/misc1.c, src/proto.h, src/proto/blob.pro, src/proto/eval.pro,
1383 src/proto/evalfunc.pro, src/proto/evalvars.pro,
1384 src/proto/ex_docmd.pro, src/proto/ex_eval.pro, src/proto/list.pro,
1385 src/proto/message.pro, src/proto/scriptfile.pro,
1386 src/proto/userfunc.pro, src/proto/vim9compile.pro,
1387 src/proto/vim9execute.pro, src/proto/vim9script.pro,
1388 src/scriptfile.c, src/session.c, src/structs.h, src/syntax.c,
1389 src/testdir/Make_all.mak, src/testdir/test_vim9_expr.vim,
1390 src/testdir/test_vim9_script.vim, src/testing.c, src/userfunc.c,
1391 src/vim.h, src/vim9.h, src/vim9compile.c, src/vim9execute.c,
1392 src/vim9script.c, src/viminfo.c
1393
1394Patch 8.2.0150
1395Problem: Cannot define python function when using :execute. (Yasuhiro
1396 Matsumoto)
1397Solution: Do not recognize "def" inside "function.
1398Files: src/testdir/test_vim9_script.vim, src/userfunc.c
1399
1400Patch 8.2.0151
1401Problem: Detecting a script was already sourced is unreliable.
1402Solution: Do not use the inode number.
1403Files: src/scriptfile.c, src/structs.h, src/testdir/test_vim9_script.vim
1404
1405Patch 8.2.0152
1406Problem: Restoring ctrl_x_mode is not needed.
1407Solution: Remove restoring the old value, it's changed again soon.
1408Files: src/insexpand.c
1409
1410Patch 8.2.0153
1411Problem: Warning shows when listing version info.
1412Solution: Use "-u NONE". (Ozaki Kiichi, closes #5534)
1413Files: .travis.yml
1414
1415Patch 8.2.0154
1416Problem: Reallocating the list of scripts is inefficient.
1417Solution: Instead of using a growarray of scriptitem_T, store pointers and
1418 allocate each scriptitem_T separately. Also avoids that the
1419 growarray pointers change when sourcing a new script.
1420Files: src/globals.h, src/eval.c, src/evalvars.c, src/ex_docmd.c,
1421 src/profiler.c, src/scriptfile.c, src/vim9compile.c,
1422 src/vim9execute.c, src/vim9script.c
1423
1424Patch 8.2.0155
1425Problem: Warnings from MinGW compiler. (John Marriott) Json test fails when
1426 building without +float feature.
1427Solution: Init variables. Fix Json parsing. Skip a few tests that require
1428 the +float feature.
1429Files: src/vim9script.c, src/vim9compile.c, src/vim9execute.c,
1430 src/if_py_both.h, src/json.c, src/testdir/test_method.vim
1431
1432Patch 8.2.0156
1433Problem: Various typos in source files and tests.
1434Solution: Fix the typos. (Emir Sarı, closes #5532)
1435Files: Makefile, src/INSTALLvms.txt, src/Make_vms.mms, src/beval.h,
1436 src/buffer.c, src/charset.c, src/evalvars.c, src/ex_cmds.c,
1437 src/ex_docmd.c, src/getchar.c, src/gui.c, src/gui_mac.c,
1438 src/gui_photon.c, src/if_perl.xs,
1439 src/libvterm/t/11state_movecursor.test,
1440 src/libvterm/t/41screen_unicode.test, src/mbyte.c, src/memline.c,
1441 src/normal.c, src/ops.c, src/option.c, src/option.h,
1442 src/os_unix.c, src/os_win32.c, src/quickfix.c, src/register.c,
1443 src/spell.c, src/tag.c, src/term.c,
1444 src/testdir/test_breakindent.vim, src/testdir/test_channel.vim,
1445 src/testdir/test_cindent.vim, src/testdir/test_digraph.vim,
1446 src/testdir/test_edit.vim, src/testdir/test_netbeans.vim,
1447 src/testdir/test_quickfix.vim, src/testdir/test_registers.vim,
1448 src/testdir/test_stat.vim, src/ui.c, src/xxd/xxd.c
1449
1450Patch 8.2.0157
1451Problem: Vim9 script files not in list of distributed files.
1452Solution: Add the entries.
1453Files: Filelist
1454
1455Patch 8.2.0158 (after 8.2.0123)
1456Problem: Triggering CompleteDone earlier is not backwards compatible.
1457 (Daniel Hahler)
1458Solution: Add CompleteDonePre instead.
1459Files: src/insexpand.c, runtime/doc/autocmd.txt, src/autocmd.c,
1460 src/vim.h, src/testdir/test_ins_complete.vim
1461
1462Patch 8.2.0159
1463Problem: Non-materialized range() list causes problems. (Fujiwara Takuya)
1464Solution: Materialize the list where needed.
1465Files: src/testdir/test_functions.vim, src/testdir/test_python3.vim,
1466 src/userfunc.c, src/evalfunc.c, src/highlight.c, src/evalvars.c,
1467 src/popupmenu.c, src/insexpand.c, src/json.c, src/channel.c,
1468 src/eval.c
1469
1470Patch 8.2.0160 (after 8.2.0159)
1471Problem: Range test fails.
1472Solution: Include change in list code. (#5541)
1473Files: src/list.c
1474
1475Patch 8.2.0161
1476Problem: Not recognizing .gv file as dot filetype.
1477Solution: Add *.gv to dot pattern. (closes #5544)
1478Files: runtime/filetype.vim, src/testdir/test_filetype.vim
1479
1480Patch 8.2.0162
1481Problem: Balloon test fails in the GUI.
1482Solution: Skip test in the GUI.
1483Files: src/testdir/test_functions.vim
1484
1485Patch 8.2.0163
1486Problem: Test hangs on MS-Windows console.
1487Solution: use feedkeys() instead of test_feedinput(). (Ken Takata)
1488Files: src/testdir/test_functions.vim, src/testing.c
1489
1490Patch 8.2.0164
1491Problem: Test_alot takes too long.
1492Solution: Run several tests individually.
1493Files: src/testdir/test_alot.vim, src/testdir/Make_all.mak
1494
1495Patch 8.2.0165
1496Problem: Coverity warning for using NULL pointer.
1497Solution: Add missing "else".
1498Files: src/vim9compile.c
1499
1500Patch 8.2.0166
1501Problem: Coverity warning for using uninitialized variable.
1502Solution: Check for failure.
1503Files: src/vim9execute.c
1504
1505Patch 8.2.0167
1506Problem: Coverity warning for ignoring return value.
1507Solution: Check the return value and jump if failed.
1508Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
1509
1510Patch 8.2.0168
1511Problem: Coverity warning for assigning NULL to an option.
1512Solution: Use empty string instead of NULL.
1513Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
1514
1515Patch 8.2.0169
1516Problem: Coverity warning for dead code.
1517Solution: Check if inside try-finally.
1518Files: src/vim9execute.c
1519
1520Patch 8.2.0170
1521Problem: Coverity warning for ignoring return value.
1522Solution: Check the return value and return if failed.
1523Files: src/vim9compile.c
1524
1525Patch 8.2.0171
1526Problem: Coverity warning for using uninitialized buffer.
1527Solution: Check the skip flag.
1528Files: src/userfunc.c
1529
1530Patch 8.2.0172
1531Problem: Coverity warning for not restoring character.
1532Solution: Restore the character also in case of failure.
1533Files: src/vim9script.c
1534
1535Patch 8.2.0173
1536Problem: Build fails with old compiler.
1537Solution: Do not use anonymous unions. (John Marriott)
1538Files: src/vim9compile.c, src/evalvars.c, src/list.c, src/structs.h,
1539 src/evalfunc.c, src/channel.c, src/if_mzsch.c, src/if_py_both.h
1540
1541Patch 8.2.0174
1542Problem: Various commands not completely tested.
1543Solution: Add more test cases. (Yegappan Lakshmanan, closes #5551)
1544Files: src/testdir/test_excmd.vim, src/testdir/test_fnameescape.vim,
1545 src/testdir/test_ga.vim, src/testdir/test_global.vim,
1546 src/testdir/test_move.vim, src/testdir/test_options.vim,
1547 src/testdir/test_packadd.vim, src/testdir/test_sort.vim,
1548 src/testdir/test_substitute.vim, src/testdir/test_textformat.vim,
1549 src/testdir/test_writefile.vim
1550
1551Patch 8.2.0175
1552Problem: Crash when removing list element in map().
1553Solution: Lock the list. (closes #2652)
1554Files: src/testdir/test_filter_map.vim, src/list.c
1555
1556Patch 8.2.0176
1557Problem: Generating os headers does not work for Swedish.
1558Solution: Set the locale to C. (Christian Brabandt, closes #5258)
1559Files: src/osdef.sh
1560
1561Patch 8.2.0177
1562Problem: Memory leak in get_tags().
1563Solution: Free matches when finding a pseudo-tag line. (Dominique Pellé,
1564 closes #5553)
1565Files: src/tag.c
1566
1567Patch 8.2.0178
1568Problem: With VTP the screen may not be restored properly.
1569Solution: Add another set of saved RGB values. (Nobuhiro Takasaki,
1570 closes #5548)
1571Files: src/os_win32.c
1572
1573Patch 8.2.0179
1574Problem: Still a few places where range() does not work.
1575Solution: Fix using range() causing problems.
1576Files: src/terminal.c, src/testdir/test_functions.vim,
1577 src/testdir/test_popupwin.vim, src/popupwin.c, src/tag.c,
1578 src/testdir/dumps/Test_popupwin_20.dump,
1579 src/testdir/dumps/Test_popupwin_21.dump,
1580 src/testdir/dumps/Test_popup_settext_07.dump, src/globals.h
1581
1582Patch 8.2.0180
1583Problem: Test for wrapmargin fails if terminal is not 80 columns.
1584Solution: Vertical split the window. (Ken Takata, closes #5554)
1585Files: src/testdir/test_textformat.vim
1586
1587Patch 8.2.0181
1588Problem: Problems parsing :term arguments.
1589Solution: Improve parsing, fix memory leak, add tests. (Ozaki Kiichi,
1590 closes #5536)
1591Files: src/channel.c, src/proto/channel.pro, src/structs.h,
1592 src/terminal.c, src/testdir/test_terminal.vim
1593
1594Patch 8.2.0182
1595Problem: Min() and max() materialize a range() list.
1596Solution: Compute the result without materializing the list. (#5541)
1597Files: src/evalfunc.c
1598
1599Patch 8.2.0183
1600Problem: Tests fail when the float feature is disabled.
1601Solution: Skip tests that don't work without float support.
1602Files: src/testdir/shared.vim, src/testdir/test_blob.vim,
1603 src/testdir/test_channel.vim, src/testdir/test_cscope.vim,
1604 src/testdir/test_execute_func.vim, src/testdir/test_expr.vim,
1605 src/testdir/test_functions.vim, src/testdir/test_lambda.vim,
1606 src/testdir/test_listdict.vim, src/testdir/test_lua.vim,
1607 src/testdir/test_options.vim, src/testdir/test_partial.vim,
1608 src/testdir/test_ruby.vim, src/testdir/test_sort.vim,
1609 src/testdir/test_timers.vim, src/testdir/test_true_false.vim,
1610 src/testdir/test_user_func.vim, src/testdir/test_vim9_expr.vim,
1611 src/testdir/test_vimscript.vim, src/testdir/test_regexp_latin.vim,
1612 src/testdir/test_glob2regpat.vim
1613
1614Patch 8.2.0184
1615Problem: Blob test fails.
1616Solution: Check for different error when float feature is missing.
1617Files: src/testdir/test_blob.vim
1618
1619Patch 8.2.0185
1620Problem: Vim9 script: cannot use "if has()" to skip lines.
1621Solution: Evaluate constant expression at runtime.
1622Files: src/vim9compile.c, src/evalfunc.c, src/proto/evalfunc.pro,
1623 src/userfunc.c, src/testdir/test_vim9_script.vim
1624
1625Patch 8.2.0186
1626Problem: A couple of tests may fail when features are missing.
1627Solution: Check for features. (Dominique Pellé, closes #5561)
1628Files: src/testdir/test_functions.vim, src/testdir/test_highlight.vim
1629
1630Patch 8.2.0187
1631Problem: Redundant code.
1632Solution: Remove unused assignments. (Dominique Pellé, closes #5557)
1633Files: src/vim9compile.c
1634
1635Patch 8.2.0188
1636Problem: Check commands don't work well with Vim9 script.
1637Solution: Improve constant expression handling.
1638Files: src/vim9compile.c, src/testdir/check.vim,
1639 src/testdir/test_vim9_expr.vim
1640
1641Patch 8.2.0189
1642Problem: cd() with NULL argument crashes.
1643Solution: Check for NULL. (Ken Takata, closes #5558)
1644Files: src/testdir/test_cd.vim, src/ex_docmd.c
1645
1646Patch 8.2.0190
1647Problem: Kotlin files are not recognized.
1648Solution: Detect Kotlin files. (Alkeryn, closes #5560)
1649Files: runtime/filetype.vim, src/testdir/test_filetype.vim
1650
1651Patch 8.2.0191
1652Problem: Cannot put a terminal in a popup window.
1653Solution: Allow opening a terminal in a popup window. It will always have
1654 keyboard focus until closed.
1655Files: src/popupwin.c, src/proto/popupwin.pro, src/terminal.c,
1656 src/proto/terminal.pro, src/macros.h, src/mouse.c,
1657 src/highlight.c, src/drawline.c, src/optionstr.c, src/window.c,
1658 src/testdir/test_terminal.vim,
1659 src/testdir/dumps/Test_terminal_popup_1.dump,
1660 src/testdir/dumps/Test_terminal_popup_2.dump,
1661 src/testdir/dumps/Test_terminal_popup_3.dump
1662
1663Patch 8.2.0192 (after 8.2.0191)
1664Problem: Build failure without +terminal feature.
1665Solution: Add #ifdefs.
1666Files: src/popupwin.c
1667
1668Patch 8.2.0193 (after 8.2.0191)
1669Problem: Still build failure without +terminal feature.
1670Solution: Add more #ifdefs.
1671Files: src/macros.h
1672
1673Patch 8.2.0194 (after 8.2.0193)
1674Problem: Some commands can cause problems in terminal popup.
1675Solution: Disallow more commands.
1676Files: src/macros.h, src/popupwin.c, src/proto/popupwin.pro,
1677 src/arglist.c, src/ex_docmd.c, src/window.c,
1678 src/testdir/test_terminal.vim
1679
1680Patch 8.2.0195
1681Problem: Some tests fail when run in the GUI.
1682Solution: Make sure the window width is enough. In the GUI run terminal Vim
1683 in the terminal, if possible.
1684Files: src/testdir/test_highlight.vim, src/testdir/check.vim,
1685 src/testdir/test_terminal.vim
1686
1687Patch 8.2.0196
1688Problem: Blocking commands for a finished job in a popup window.
1689Solution: Do not block commands if the job has finished. Adjust test.
1690Files: src/popupwin.c, src/testdir/test_popupwin.vim, src/window.c,
1691 src/terminal.c, src/proto/terminal.pro
1692
1693Patch 8.2.0197
1694Problem: Some Ex commands not sufficiently tested.
1695Solution: Add more tests. (Yegappan Lakshmanan, closes #5565)
1696Files: src/testdir/test_global.vim, src/testdir/test_help.vim,
1697 src/testdir/test_help_tagjump.vim, src/testdir/test_options.vim,
1698 src/testdir/test_substitute.vim, src/testdir/test_textformat.vim,
1699 src/testdir/test_writefile.vim
1700
1701Patch 8.2.0198
1702Problem: No tests for y/n prompt.
1703Solution: Add tests. (Dominique Pellé, closes #5564)
1704Files: src/testdir/test_messages.vim
1705
1706Patch 8.2.0199
1707Problem: Vim9 script commands not sufficiently tested.
1708Solution: Add more tests. Fix script-local function use.
1709Files: src/vim9execute.c, src/testdir/test_vim9_script.vim,
1710 src/userfunc.c
1711
1712Patch 8.2.0200
1713Problem: Vim9 script commands not sufficiently tested.
1714Solution: Add more tests. Fix storing global variable. Make script
1715 variables work.
1716Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h, src/evalvars.c,
1717 src/proto/evalvars.pro, src/testdir/test_vim9_script.vim,
1718 src/misc1.c, src/proto/misc1.pro
1719
1720Patch 8.2.0201
1721Problem: Cannot assign to an imported variable.
1722Solution: Make it work.
1723Files: src/evalvars.c, src/vim9compile.c, src/proto/vim9compile.pro,
1724 src/userfunc.c, src/testdir/test_vim9_script.vim
1725
1726Patch 8.2.0202
1727Problem: When 'lazyredraw' is set the window title may not be updated.
1728Solution: Set "do_redraw" before entering the main loop. (Jason Franklin)
1729Files: src/main.c
1730
1731Patch 8.2.0203
1732Problem: :helptags and some other functionality not tested.
1733Solution: Add more tests. (Yegappan Lakshmanan, closes #5567)
1734Files: src/testdir/test_compiler.vim, src/testdir/test_ex_mode.vim,
1735 src/testdir/test_excmd.vim, src/testdir/test_filechanged.vim,
1736 src/testdir/test_help.vim, src/testdir/test_help_tagjump.vim,
1737 src/testdir/test_timers.vim, src/testdir/test_window_cmd.vim
1738
1739Patch 8.2.0204
1740Problem: Crash when using winnr('j') in a popup window.
1741Solution: Do not search for neighbors in a popup window. (closes #5568)
1742Files: src/window.c, src/testdir/test_popupwin.vim, src/evalwindow.c
1743
1744Patch 8.2.0205
1745Problem: Error code E899 used twice.
1746Solution: Use E863 for the terminal in popup error.
1747Files: src/popupwin.c
1748
1749Patch 8.2.0206
1750Problem: Calling Vim9 function using default argument fails.
1751Solution: Give an appropriate error. (closes #5572)
1752Files: src/testdir/test_vim9_script.vim, src/vim9compile.c,
1753 src/vim9execute.c
1754
1755Patch 8.2.0207
1756Problem: Crash when missing member type on list argument.
1757Solution: Check for invalid type. (closes #5572)
1758Files: src/userfunc.c, src/testdir/test_vim9_script.vim
1759
1760Patch 8.2.0208
1761Problem: Fnamemodify() does not apply ":~" when followed by ":.".
1762Solution: Don't let a failing ":." cause the ":~" to be skipped. (Yasuhiro
1763 Matsumoto, closes #5577)
1764Files: runtime/doc/cmdline.txt, src/filepath.c,
1765 src/testdir/test_fnamemodify.vim
1766
1767Patch 8.2.0209
1768Problem: Function a bit far away from where it's used.
1769Solution: Move function close to where it's used. (Ken Takata, closes #5569)
1770Files: src/fileio.c, src/filepath.c
1771
1772Patch 8.2.0210
1773Problem: Coverity complains about uninitialized field.
1774Solution: Initialize the field.
1775Files: src/vim9compile.c
1776
1777Patch 8.2.0211
1778Problem: Test for ANSI colors fails without an "ls" command.
1779Solution: Use "dir". (Ken Takata, closes #5582)
1780Files: src/testdir/test_functions.vim
1781
1782Patch 8.2.0212
1783Problem: Missing search/substitute pattern hardly tested.
1784Solution: Add test_clear_search_pat() and tests. (Yegappan Lakshmanan,
1785 closes #5579)
1786Files: runtime/doc/eval.txt, runtime/doc/testing.txt,
1787 runtime/doc/usr_41.txt, src/evalfunc.c, src/proto/regexp.pro,
1788 src/proto/search.pro, src/proto/testing.pro, src/regexp.c,
1789 src/search.c, src/testdir/test_quickfix.vim,
1790 src/testdir/test_search.vim, src/testdir/test_sort.vim,
1791 src/testdir/test_substitute.vim, src/testing.c
1792
1793Patch 8.2.0213
1794Problem: Configure does not recognize gcc 10.0 and later.
1795Solution: Adjust the pattern matching the version number. (Sergei
1796 Trofimovich, closes #5580)
1797Files: src/configure.ac, src/auto/configure
1798
1799Patch 8.2.0214
1800Problem: A popup window with a terminal can be made hidden.
1801Solution: Disallow hiding a terminal popup.
1802Files: src/testdir/test_terminal.vim, src/popupwin.c,
1803 src/testdir/dumps/Test_terminal_popup_4.dump
1804
1805Patch 8.2.0215 (after 8.2.0208)
1806Problem: Wrong file name shortening. (Ingo Karkat)
1807Solution: Better check for path separator. (Yasuhiro Matsumoto,
1808 closes #5583, closes #5584)
1809Files: src/filepath.c, src/testdir/test_fnamemodify.vim
1810
1811Patch 8.2.0216
1812Problem: Several Vim9 instructions are not tested.
1813Solution: Add more tests. Fix :disassemble output. Make catch with pattern
1814 work.
1815Files: src/testdir/test_vim9_script.vim, src/vim9execute.c,
1816 src/vim9compile.c
1817
1818Patch 8.2.0217 (after 8.2.0214)
1819Problem: Terminal test fails on Mac.
1820Solution: Add a short wait.
1821Files: src/testdir/test_terminal.vim
1822
1823Patch 8.2.0218
1824Problem: Several Vim9 instructions are not tested.
1825Solution: Add more tests.
1826Files: src/testdir/test_vim9_script.vim
1827
1828Patch 8.2.0219 (after 8.2.0217)
1829Problem: Terminal test still fails on Mac.
1830Solution: Skip part of the test on Mac.
1831Files: src/testdir/test_terminal.vim
1832
1833Patch 8.2.0220
1834Problem: Terminal test did pass on Mac.
1835Solution: Remove the skip again.
1836Files: src/testdir/test_terminal.vim
1837
1838Patch 8.2.0221
1839Problem: No test for Vim9 += and ..=.
1840Solution: Add tests.
1841Files: src/testdir/test_vim9_script.vim
1842
1843Patch 8.2.0222
1844Problem: Vim9: optional function arguments don't work yet.
1845Solution: Implement optional function arguments.
1846Files: src/userfunc.c, src/vim9compile.c, src/vim9execute.c,
1847 src/structs.h, src/testdir/test_vim9_script.vim
1848
1849Patch 8.2.0223
1850Problem: Some instructions not yet tested.
1851Solution: Disassemble more instructions. Move tests to a new file. Compile
1852 call to s:function().
1853Files: src/testdir/test_vim9_script.vim, src/testdir/Make_all.mak,
1854 src/testdir/test_vim9_disassemble.vim, src/vim9compile.c,
1855 src/userfunc.c, src/proto/userfunc.pro, src/vim.h
1856
1857Patch 8.2.0224
1858Problem: compiling :elseif not tested yet.
1859Solution: Add test for :elseif. Fix generating jumps.
1860Files: src/testdir/test_vim9_script.vim, src/vim9compile.c,
1861 src/testdir/test_vim9_disassemble.vim
1862
1863Patch 8.2.0225
1864Problem: compiling lambda not tested yet.
1865Solution: Add test for lambda and funcref. Drop unused instruction arg.
1866Files: src/testdir/test_vim9_disassemble.vim, src/vim9.h,
1867 src/vim9execute.c
1868
1869Patch 8.2.0226
1870Problem: Compiling for loop not tested.
1871Solution: Add a test. Make variable initialization work for more types.
1872Files: src/testdir/test_vim9_disassemble.vim, src/vim9compile.c
1873
1874Patch 8.2.0227
1875Problem: Compiling a few instructions not tested.
1876Solution: Add more test cases.
1877Files: src/testdir/test_vim9_disassemble.vim
1878
1879Patch 8.2.0228
1880Problem: Configure does not recognize gcc version on BSD.
1881Solution: Do not use "\+" in the pattern matching the version number. (Ozaki
1882 Kiichi, closes #5590)
1883Files: src/configure.ac, src/auto/configure
1884
1885Patch 8.2.0229
1886Problem: Compare instructions not tested.
1887Solution: Add test cases. Fix disassemble with line continuation.
1888Files: src/testdir/test_vim9_disassemble.vim, src/vim9execute.c,
1889 src/vim9compile.c
1890
1891Patch 8.2.0230
1892Problem: Terminal popup test is flaky.
1893Solution: Increase wait time a bit.
1894Files: src/testdir/test_terminal.vim
1895
1896Patch 8.2.0231
1897Problem: Silent system command may clear the screen.
1898Solution: Do not clear the screen in t_te.
1899Files: src/term.c
1900
1901Patch 8.2.0232
1902Problem: The :compiler command causes a crash. (Daniel Steinberg)
1903Solution: Do not use the script index if it isn't set.
1904Files: src/ex_docmd.c, src/testdir/test_compiler.vim
1905
1906Patch 8.2.0233
1907Problem: Crash when using garbagecollect() in between rand().
1908Solution: Redesign the rand() and srand() implementation. (Yasuhiro
1909 Matsumoto, closes #5587, closes #5588)
1910Files: src/evalfunc.c, src/testdir/test_random.vim,
1911 runtime/doc/testing.txt, runtime/doc/eval.txt
1912
1913Patch 8.2.0234
1914Problem: Message test fails on SunOS.
1915Solution: Adjust expectation for printf "%p". (Ozaki Kiichi, closes #5595)
1916Files: src/message_test.c
1917
1918Patch 8.2.0235
1919Problem: Draw error when an empty group is removed from 'statusline'.
1920Solution: Do not use highlighting from a removed group.
1921Files: src/buffer.c, src/testdir/test_statusline.vim,
1922 src/testdir/dumps/Test_statusline_1.dump
1923
1924Patch 8.2.0236
1925Problem: MS-Windows uninstall doesn't delete vimtutor.bat.
1926Solution: Change directory before deletion. (Ken Takata, closes #5603)
1927Files: src/uninstall.c
1928
1929Patch 8.2.0237
1930Problem: Crash when setting 'wincolor' on finished terminal window.
1931 (Bakudankun)
1932Solution: Check that the vterm is not NULL. (Yasuhiro Matsumoto, closes
1933 #5607, closes #5610)
1934Files: src/terminal.c, src/testdir/test_terminal.vim
1935
1936Patch 8.2.0238
1937Problem: MS-Windows: job_stop() results in exit value zero.
1938Solution: Call TerminateJobObject() with -1 instead of 0. (Yasuhiro
1939 Matsumoto, closes #5150, closes #5614)
1940Files: src/os_win32.c, src/testdir/test_channel.vim
1941
1942Patch 8.2.0239
1943Problem: MS-Windows: 'env' job option does not override existing
1944 environment variables. (Tim Pope)
1945Solution: Set the environment variables later. (Yasuhiro Matsumoto,
1946 closes #5485, closes #5608)
1947Files: src/os_win32.c, src/testdir/test_channel.vim
1948
1949Patch 8.2.0240
1950Problem: Using memory after it was freed. (Dominique Pellé)
1951Solution: Do not mix conversion buffer with other buffer.
1952Files: src/viminfo.c, src/vim.h
1953
1954Patch 8.2.0241
1955Problem: Crash when setting 'buftype' to "quickfix".
1956Solution: Check that error list is not NULL. (closes #5613)
1957Files: src/quickfix.c, src/testdir/test_quickfix.vim
1958
1959Patch 8.2.0242
1960Problem: Preview popup window test fails with long directory name. (Jakub
1961 Kądziołka)
1962Solution: Use "silent cd". (closes #5615)
1963Files: src/testdir/test_popupwin.vim
1964
1965Patch 8.2.0243
1966Problem: Insufficient code coverage for ex_docmd.c functions.
1967Solution: Add more tests. (Yegappan Lakshmanan, closes #5618)
1968Files: src/testdir/Make_all.mak, src/testdir/test_arglist.vim,
1969 src/testdir/test_buffer.vim, src/testdir/test_cd.vim,
1970 src/testdir/test_cmdline.vim, src/testdir/test_ex_mode.vim,
1971 src/testdir/test_excmd.vim, src/testdir/test_mapping.vim,
1972 src/testdir/test_quickfix.vim, src/testdir/test_search.vim,
1973 src/testdir/test_sort.vim, src/testdir/test_source.vim,
1974 src/testdir/test_substitute.vim, src/testdir/test_undo.vim,
1975 src/testdir/test_vimscript.vim, src/testdir/test_window_cmd.vim,
1976 src/testdir/test_writefile.vim
1977
1978Patch 8.2.0244
1979Problem: Compiler warning in Lua interface.
1980Solution: Add type cast. (Ken Takata, closes #5621)
1981Files: src/if_lua.c
1982
1983Patch 8.2.0245
1984Problem: MSVC: error message if the auto directory already exists.
1985Solution: Add "if not exists". (Ken Takata, closes #5620)
1986Files: src/Make_mvc.mak
1987
1988Patch 8.2.0246
1989Problem: MSVC: deprecation warnings with Ruby.
1990Solution: Move _CRT_SECURE_NO_DEPRECATE to build file. (Ken Takata,
1991 closes #5622)
1992Files: src/Make_mvc.mak, src/if_ruby.c, src/os_win32.h, src/vim.h,
1993 src/vimio.h
1994
1995Patch 8.2.0247
1996Problem: Misleading comment in NSIS installer script.
1997Solution: Negate the meaning of the comment. (Ken Takata, closes #5627)
1998Files: nsis/gvim.nsi
1999
2000Patch 8.2.0248
2001Problem: MS-Windows: dealing with deprecation is too complicated.
2002Solution: Use io.h directly. Move _CRT_SECURE_NO_DEPRECATE to the build
2003 file. Suppress C4091 warning by setting "_WIN32_WINNT". (Ken
2004 Takata, closes #5626)
2005Files: src/Make_mvc.mak, src/dosinst.h, src/vim.h, src/vimio.h,
2006 src/winclip.c, Filelist
2007
2008Patch 8.2.0249
2009Problem: MS-Windows: various warnings.
2010Solution: Set the charset to utf-8. Add _WIN32_WINNT and _USING_V110_SDK71_.
2011 (Ken Takata, closes #5625)
2012Files: src/GvimExt/Makefile, src/Make_mvc.mak
2013
2014Patch 8.2.0250
2015Problem: test_clear_search_pat() is unused.
2016Solution: Remove the function. (Yegappan Lakshmanan, closes #5624)
2017Files: runtime/doc/eval.txt, runtime/doc/testing.txt,
2018 runtime/doc/usr_41.txt, src/evalfunc.c, src/proto/regexp.pro,
2019 src/proto/search.pro, src/proto/testing.pro, src/regexp.c,
2020 src/search.c, src/testdir/test_writefile.vim, src/testing.c
2021
2022Patch 8.2.0251
2023Problem: A couple of function return types can be more specific.
2024Solution: Use a better return type. (Ken Takata, closes #5629)
2025Files: src/evalfunc.c, src/globals.h
2026
2027Patch 8.2.0252
2028Problem: Windows compiler warns for using size_t.
2029Solution: Change to int. (Mike Williams)
2030Files: src/vim9compile.c
2031
2032Patch 8.2.0253
2033Problem: Crash when using :disassemble without argument. (Dhiraj Mishra)
2034Solution: Check for missing argument. (Dominique Pellé, closes #5635,
2035 closes #5637)
2036Files: src/vim9execute.c, src/testdir/test_vim9_disassemble.vim,
2037 src/ex_cmds.h
2038
2039Patch 8.2.0254
2040Problem: Compiler warning for checking size_t to be negative.
2041Solution: Only check for zero. (Zoltan Arpadffy)
2042Files: src/vim9compile.c
2043
2044Patch 8.2.0255
2045Problem: VMS: missing files in build.
2046Solution: Add the files. (Zoltan Arpadffy)
2047Files: src/Make_vms.mms
2048
2049Patch 8.2.0256
2050Problem: Time and timer related code is spread out.
2051Solution: Move time and timer related code to a new file. (Yegappan
2052 Lakshmanan, closes #5604)
2053Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
2054 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
2055 src/evalfunc.c, src/ex_cmds.c, src/ex_cmds2.c, src/main.c,
2056 src/memline.c, src/misc1.c, src/misc2.c, src/proto.h,
2057 src/proto/ex_cmds.pro, src/proto/ex_cmds2.pro, src/proto/main.pro,
2058 src/proto/memline.pro, src/proto/misc1.pro, src/proto/misc2.pro,
2059 src/proto/time.pro, src/time.c
2060
2061Patch 8.2.0257
2062Problem: Cannot recognize a terminal in a popup window.
2063Solution: Add the win_gettype() function.
2064Files: runtime/doc/eval.txt, src/evalfunc.c, src/evalwindow.c,
2065 src/proto/evalwindow.pro, src/testdir/test_cmdline.vim,
2066 src/testdir/test_terminal.vim,
2067 src/testdir/dumps/Test_terminal_popup_1.dump
2068
2069Patch 8.2.0258
2070Problem: ModifyOtherKeys cannot be temporarily disabled.
2071Solution: Add echoraw() with an example for modifyOtherKeys.
2072Files: runtime/doc/eval.txt, src/evalfunc.c,
2073 src/testdir/test_functions.vim,
2074 src/testdir/dumps/Test_functions_echoraw.dump
2075
2076Patch 8.2.0259
2077Problem: Terminal in popup test sometimes fails.
2078Solution: Clear the command line.
2079Files: src/testdir/test_terminal.vim,
2080 src/testdir/dumps/Test_terminal_popup_1.dump
2081
2082Patch 8.2.0260
2083Problem: Several lines of code are duplicated.
2084Solution: Move duplicated code to a function. (Yegappan Lakshmanan,
2085 closes #5330)
2086Files: src/option.c, src/os_unix.c, src/os_win32.c, src/proto/term.pro,
2087 src/quickfix.c, src/regexp.c, src/regexp_bt.c, src/regexp_nfa.c,
2088 src/term.c
2089
2090Patch 8.2.0261
2091Problem: Some code not covered by tests.
2092Solution: Add test cases. (Yegappan Lakshmanan, closes #5645)
2093Files: src/testdir/test_buffer.vim, src/testdir/test_cmdline.vim,
2094 src/testdir/test_exists.vim, src/testdir/test_filechanged.vim,
2095 src/testdir/test_fileformat.vim, src/testdir/test_mapping.vim,
2096 src/testdir/test_marks.vim, src/testdir/test_normal.vim,
2097 src/testdir/test_plus_arg_edit.vim, src/testdir/test_quickfix.vim,
2098 src/testdir/test_tabpage.vim, src/testdir/test_visual.vim,
2099 src/testdir/test_window_cmd.vim, src/testdir/test_writefile.vim
2100
2101Patch 8.2.0262 (after 8.2.0261)
2102Problem: Fileformat test fails on MS-Windows.
2103Solution: Set fileformat of buffer.
2104Files: src/testdir/test_fileformat.vim
2105
2106Patch 8.2.0263
2107Problem: A few new Vim9 messages are not localized.
2108Solution: Add the gettext wrapper. (Dominique Pellé, closes #5647)
2109Files: src/vim9compile.c, src/vim9execute.c
2110
2111Patch 8.2.0264 (after 8.2.0262)
2112Problem: Fileformat test still fails on MS-Windows.
2113Solution: Set fileformat of buffer in the right place.
2114Files: src/testdir/test_fileformat.vim
2115
2116Patch 8.2.0265
2117Problem: "eval" after "if 0" doesn't check for following command.
2118Solution: Add "eval" to list of commands that check for a following command.
2119 (closes #5640)
2120Files: src/ex_docmd.c, src/testdir/test_expr.vim
2121
2122Patch 8.2.0266
2123Problem: Terminal in popup test sometimes fails on Mac.
2124Solution: Add a short delay.
2125Files: src/testdir/test_terminal.vim
2126
2127Patch 8.2.0267
2128Problem: No check for a following command when calling a function fails.
2129Solution: Also check for a following command when inside a try block.
2130 (closes #5642)
2131Files: src/userfunc.c, src/testdir/test_user_func.vim
2132
2133Patch 8.2.0268 (after 8.2.0267)
2134Problem: Trycatch test fails.
2135Solution: When calling function fails only check for following command, do
2136 not give another error.
2137Files: src/userfunc.c
2138
2139Patch 8.2.0269
2140Problem: Vim9: operator after list index does not work. (Yasuhiro
2141 Matsumoto)
2142Solution: After indexing a list change the type to the list member type.
2143 (closes #5651)
2144Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
2145
2146Patch 8.2.0270
2147Problem: Some code not covered by tests.
2148Solution: Add test cases. (Yegappan Lakshmanan, closes #5649)
2149Files: src/testdir/test_autocmd.vim, src/testdir/test_buffer.vim,
2150 src/testdir/test_edit.vim, src/testdir/test_ex_mode.vim,
2151 src/testdir/test_excmd.vim, src/testdir/test_expand.vim,
2152 src/testdir/test_filetype.vim, src/testdir/test_findfile.vim,
2153 src/testdir/test_join.vim, src/testdir/test_move.vim,
2154 src/testdir/test_normal.vim, src/testdir/test_registers.vim,
2155 src/testdir/test_source.vim, src/testdir/test_tabpage.vim,
2156 src/testdir/test_tagjump.vim, src/testdir/test_vimscript.vim,
2157 src/testdir/test_visual.vim, src/testdir/test_window_cmd.vim,
2158 src/testdir/test_writefile.vim
2159
2160Patch 8.2.0271
2161Problem: The "num64" feature is available everywhere and building without
2162 it causes problems.
2163Solution: Graduate the "num64" feature. (James McCoy, closes #5650)
2164Files: src/evalfunc.c, src/feature.h, src/message.c, src/structs.h,
2165 src/testdir/test_expr.vim, src/testdir/test_largefile.vim,
2166 src/testdir/test_sort.vim, src/testdir/test_vimscript.vim,
2167 src/version.c
2168
2169Patch 8.2.0272
2170Problem: ":helptags ALL" gives error for directories without write
2171 permission. (Matěj Cepl)
2172Solution: Ignore errors for ":helptags ALL". (Ken Takata, closes #5026,
2173 closes #5652)
2174Files: src/ex_cmds.c, src/testdir/test_help.vim
2175
2176Patch 8.2.0273
2177Problem: MS-Windows uninstall may delete wrong batch file.
2178Solution: Add specific marker in the generated batch file. (Ken Takata,
2179 closes #5654)
2180Files: src/Make_mvc.mak, src/dosinst.c, src/dosinst.h, src/uninstall.c
2181
2182Patch 8.2.0274
2183Problem: Hang with combination of feedkeys(), Ex mode and :global.
2184 (Yegappan Lakshmanan)
2185Solution: Add the pending_exmode_active flag.
2186Files: src/ex_docmd.c, src/globals.h, src/getchar.c,
2187 src/testdir/test_ex_mode.vim
2188
2189Patch 8.2.0275
2190Problem: Some Ex code not covered by tests.
2191Solution: Add test cases. (Yegappan Lakshmanan, closes #5659)
2192Files: src/testdir/test_arglist.vim, src/testdir/test_autocmd.vim,
2193 src/testdir/test_excmd.vim, src/testdir/test_quickfix.vim,
2194 src/testdir/test_search.vim, src/testdir/test_swap.vim,
2195 src/testdir/test_window_cmd.vim
2196
2197Patch 8.2.0276
2198Problem: Vim9: not allowing space before ")" in function call is too
2199 restrictive. (Ben Jackson)
2200Solution: Skip space before the ")". Adjust other space checks.
2201Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
2202
2203Patch 8.2.0277
2204Problem: Vim9: not all instructions covered by tests.
2205Solution: Add more test cases.
2206Files: src/testdir/test_vim9_disassemble.vim
2207
2208Patch 8.2.0278
2209Problem: Channel test is flaky on Mac.
2210Solution: Reset variable before sending message.
2211Files: src/testdir/test_channel.vim
2212
2213Patch 8.2.0279
2214Problem: Vim9: no test for deleted :def function.
2215Solution: Add a test. Clear uf_cleared flag when redefining a function.
2216Files: src/userfunc.c, src/testdir/test_vim9_script.vim
2217
2218Patch 8.2.0280
2219Problem: Vim9: throw in :def function not caught higher up.
2220Solution: Set "need_rethrow".
2221Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
2222
2223Patch 8.2.0281
2224Problem: Two placed signs in the same line are not combined. E.g. in the
2225 terminal debugger a breakpoint and the PC cannot be both be
2226 displayed.
2227Solution: Combine the sign column and line highlight attributes.
2228Files: src/sign.c, src/testdir/test_signs.vim,
2229 src/testdir/dumps/Test_sign_cursor_3.dump,
2230 src/testdir/dumps/Test_sign_cursor_4.dump
2231
2232Patch 8.2.0282
2233Problem: Vim9: setting number option not tested.
2234Solution: Add more tests. Fix assigning to global variable.
2235Files: src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim,
2236 src/vim9execute.c
2237
2238Patch 8.2.0283
2239Problem: Vim9: failing to load script var not tested.
2240Solution: Add more tests. Fix using s: in old script.
2241Files: src/testdir/test_vim9_expr.vim, src/vim9compile.c,
2242 src/testdir/test_vim9_script.vim
2243
2244Patch 8.2.0284
2245Problem: Vim9: assignment test fails.
2246Solution: Avoid duplicating "s:".
2247Files: src/vim9compile.c
2248
2249Patch 8.2.0285
2250Problem: Unused error message. Cannot create s:var.
2251Solution: Remove the error message. Make assignment to s:var work.
2252Files: src/vim9compile.c, src/vim9execute.c,
2253 src/testdir/test_vim9_script.vim
2254
2255Patch 8.2.0286
2256Problem: Cannot use popup_close() for a terminal popup.
2257Solution: Allow using popup_close(). (closes #5666)
2258Files: src/popupwin.c, runtime/doc/popup.txt,
2259 src/testdir/test_terminal.vim,
2260 src/testdir/dumps/Test_terminal_popup_5.dump,
2261 src/testdir/dumps/Test_terminal_popup_6.dump
2262
2263Patch 8.2.0287
2264Problem: Vim9: return in try block not tested; catch with pattern not
2265 tested.
2266Solution: Add tests. Make it work.
2267Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
2268
2269Patch 8.2.0288
2270Problem: Vim9: some float and blob operators not tested.
2271Solution: Add float and blob tests. Fix addition.
2272Files: src/testdir/test_vim9_expr.vim, src/vim9compile.c
2273
2274Patch 8.2.0289
2275Problem: Vim9: :echo did not clear the rest of the line.
2276Solution: Call msg_clr_eos(). (Ken Takata, closes #5668)
2277Files: src/vim9execute.c
2278
2279Patch 8.2.0290
2280Problem: Running individual test differs from all tests.
2281Solution: Pass on environment variables. (Yee Cheng Chin, closes #5672)
2282Files: src/testdir/Makefile, src/testdir/README.txt
2283
2284Patch 8.2.0291
2285Problem: Vim9: assigning [] to list<string> doesn't work.
2286Solution: Use void for empty list and dict. (Ken Takata, closes #5669)
2287Files: src/vim9compile.c, src/globals.h, src/testdir/test_vim9_script.vim
2288
2289Patch 8.2.0292
2290Problem: Vim9: CHECKNR and CHECKTYPE instructions not tested.
2291Solution: Add tests.
2292Files: src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim
2293
2294Patch 8.2.0293
2295Problem: Various Ex commands not sufficiently tested.
2296Solution: Add more test cases. (Yegappan Lakshmanan, closes #5673)
2297Files: src/testdir/test_arglist.vim, src/testdir/test_cmdline.vim,
2298 src/testdir/test_ex_mode.vim, src/testdir/test_excmd.vim,
2299 src/testdir/test_expand.vim, src/testdir/test_filetype.vim,
2300 src/testdir/test_filter_cmd.vim, src/testdir/test_global.vim,
2301 src/testdir/test_normal.vim, src/testdir/test_plus_arg_edit.vim,
2302 src/testdir/test_quickfix.vim, src/testdir/test_trycatch.vim,
2303 src/testdir/test_vimscript.vim
2304
2305Patch 8.2.0294
2306Problem: Cannot use Ex command that is also a function name.
2307Solution: Recognize an Ex command by a colon prefix.
2308Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
2309 runtime/doc/vim9.txt
2310
2311Patch 8.2.0295
2312Problem: Highlighting for :s wrong when using different separator.
2313Solution: Use separate argument for search direction and separator. (Rob
2314 Pilling, closes #5665)
2315Files: src/ex_docmd.c, src/ex_getln.c, src/gui.c, src/normal.c,
2316 src/proto/search.pro, src/quickfix.c, src/search.c, src/spell.c,
2317 src/tag.c, src/testdir/dumps/Test_incsearch_substitute_15.dump,
2318 src/testdir/test_search.vim
2319
2320Patch 8.2.0296
2321Problem: Mixing up "long long" and __int64 may cause problems. (John
2322 Marriott)
2323Solution: Pass varnumber_T to vim_snprintf(). Add v:numbersize.
2324Files: src/message.c, src/eval.c, src/fileio.c, src/json.c, src/ops.c,
2325 src/vim.h, src/structs.h, src/evalvars.c, runtime/doc/eval.txt,
2326 runtime/doc/various.txt, src/testdir/test_eval_stuff.vim
2327
2328Patch 8.2.0297
2329Problem: Compiler warnings for the Ruby interface.
2330Solution: Undefine a few macros, fix initialization. (Ozaki Kiichi,
2331 closes #5677)
2332Files: src/if_ruby.c
2333
2334Patch 8.2.0298
2335Problem: Vim9 script: cannot start command with a string constant.
2336Solution: Recognize expression starting with '('.
2337Files: src/ex_docmd.c, src/vim9compile.c,
2338 src/testdir/test_vim9_script.vim, runtime/doc/vim9.txt
2339
2340Patch 8.2.0299
2341Problem: Vim9: ISN_STORE with argument not tested. Some cases in tv2bool()
2342 not tested.
2343Solution: Add tests. Add test_unknown() and test_void().
2344Files: src/testing.c, src/proto/testing.pro, src/evalfunc.c,
2345 src/testdir/test_vim9_disassemble.vim,
2346 src/testdir/test_vim9_expr.vim, runtime/doc/eval.txt,
2347 runtime/doc/testing.txt
2348
2349Patch 8.2.0300
2350Problem: Vim9: expression test fails without channel support.
2351Solution: Add has('channel') check.
2352Files: src/testdir/test_vim9_expr.vim
2353
2354Patch 8.2.0301
2355Problem: Insufficient testing for exception handling and the "attention"
2356 prompt.
2357Solution: Add test cases. (Yegappan Lakshmanan, closes #5681)
2358Files: src/testdir/test_swap.vim, src/testdir/test_trycatch.vim
2359
2360Patch 8.2.0302
2361Problem: Setting 'term' may cause error in TermChanged autocommand.
2362Solution: Use aucmd_prepbuf() to switch to the buffer where the autocommand
2363 is to be executed. (closes #5682)
2364Files: src/term.c, src/testdir/test_autocmd.vim
2365
2366Patch 8.2.0303
2367Problem: TermChanged test fails in the GUI.
2368Solution: Skip the test when running the GUI.
2369Files: src/testdir/test_autocmd.vim
2370
2371Patch 8.2.0304
2372Problem: Terminal test if failing on some systems.
2373Solution: Wait for the job to finish. (James McCoy)
2374Files: src/testdir/test_terminal.vim
2375
2376Patch 8.2.0305
2377Problem: Relativenumber test fails on some systems. (James McCoy)
2378Solution: Clear the command line.
2379Files: src/testdir/test_number.vim,
2380 src/testdir/dumps/Test_relnr_colors_2.dump,
2381 src/testdir/dumps/Test_relnr_colors_3.dump
2382
2383Patch 8.2.0306
2384Problem: Vim9: :substitute(pat(repl does not work in Vim9 script.
2385Solution: Remember starting with a colon. (closes #5676)
2386Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
2387
2388Patch 8.2.0307
2389Problem: Python 3 vim.eval not well tested.
2390Solution: Add a test. (Dominique Pellé, closes #5680)
2391Files: src/testdir/test_python3.vim
2392
2393Patch 8.2.0308
2394Problem: 'showbreak' does not work for a very long line. (John Little)
2395Solution: Check whether 'briopt' contains "sbr". (Ken Takata, closes #5523,
2396 closes #5684)
2397Files: src/drawline.c, src/testdir/test_breakindent.vim
2398
2399Patch 8.2.0309
2400Problem: Window-local values have confusing name.
2401Solution: Rename w_p_bri* to w_briopt_*.
2402Files: src/structs.h, src/indent.c, src/drawline.c
2403
2404Patch 8.2.0310
2405Problem: Autocmd test fails on a slow system.
2406Solution: Adjust the expectations. (James McCoy, closes #5685)
2407Files: src/testdir/test_autocmd.vim
2408
2409Patch 8.2.0311
2410Problem: Vim9: insufficient script tests.
2411Solution: Add tests. Free imports when re-using a script.
2412Files: src/testdir/test_vim9_script.vim, src/scriptfile.c
2413
2414Patch 8.2.0312
2415Problem: Vim9: insufficient script tests.
2416Solution: Add more tests. Make "import * as Name" work.
2417Files: src/testdir/test_vim9_script.vim, src/vim9script.c,
2418 src/proto/vim9script.pro, src/vim9compile.c
2419
2420Patch 8.2.0313
2421Problem: Vim9: insufficient script tests.
2422Solution: Add tests. Make import of alphanumeric name work.
2423Files: src/testdir/test_vim9_script.vim, src/vim9script.c
2424
2425Patch 8.2.0314
2426Problem: Short name not set for terminal buffer.
2427Solution: Set the short name. (closes #5687)
2428Files: src/terminal.c, src/testdir/test_terminal.vim
2429
2430Patch 8.2.0315
2431Problem: Build failure on HP-UX system.
2432Solution: Use LONG_LONG_MIN instead of LLONG_MIN. Add type casts for switch
2433 statement. (John Marriott)
2434Files: src/structs.h, src/json.c
2435
2436Patch 8.2.0316
2437Problem: ex_getln.c code has insufficient test coverage.
2438Solution: Add more tests. Fix a problem. (Yegappan Lakshmanan, closes #5693)
2439Files: src/cmdhist.c, src/testdir/test_cmdline.vim,
2440 src/testdir/test_functions.vim, src/testdir/test_history.vim,
2441 src/testdir/test_menu.vim
2442
2443Patch 8.2.0317
2444Problem: MSVC: _CRT_SECURE_NO_DEPRECATE not defined on DEBUG build.
2445Solution: Move where CFLAGS is updated. (Ken Takata, closes #5692)
2446Files: src/Make_mvc.mak
2447
2448Patch 8.2.0318
2449Problem: Vim9: types not sufficiently tested.
2450Solution: Add tests with more types.
2451Files: src/globals.h, src/vim9compile.c,
2452 src/testdir/test_vim9_script.vim, src/testdir/test_vim9_expr.vim
2453
2454Patch 8.2.0319
2455Problem: File missing in distribution, comments outdated.
2456Solution: Correct path of README file. Update comments.
2457Files: Filelist, src/evalvars.c, src/register.c, src/if_python3.c
2458
2459Patch 8.2.0320
2460Problem: No Haiku support.
2461Solution: Add support for Haiku. (Emir Sarı, closes #5605)
2462Files: Filelist, runtime/doc/Makefile, runtime/doc/eval.txt,
2463 runtime/doc/gui.txt, runtime/doc/help.txt,
2464 runtime/doc/options.txt, runtime/doc/os_haiku.txt,
2465 runtime/doc/starting.txt, runtime/doc/tags,
2466 runtime/gvimrc_example.vim, runtime/vimrc_example.vim,
2467 src/INSTALL, src/Makefile, src/auto/configure, src/configure.ac,
2468 src/evalfunc.c, src/feature.h, src/fileio.c, src/globals.h,
2469 src/gui.c, src/gui.h, src/gui_haiku.cc, src/gui_haiku.h,
2470 src/mbyte.c, src/menu.c, src/misc1.c, src/mouse.c, src/option.h,
2471 src/os_haiku.h, src/os_haiku.rdef, src/os_unix.c, src/os_unix.h,
2472 src/osdef1.h.in, src/proto.h, src/proto/gui_haiku.pro, src/pty.c,
2473 src/screen.c, src/structs.h, src/term.c, src/version.c, src/vim.h
2474
2475Patch 8.2.0321
2476Problem: Vim9: ":execute" does not work yet.
2477Solution: Add ISN_EXECUTE. (closes #5699) Also make :echo work with more
2478 than one argument.
2479Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
2480 src/testdir/test_vim9_disassemble.vim,
2481 src/testdir/test_vim9_script.vim
2482
2483Patch 8.2.0322
2484Problem: Vim9: error checks not tested.
2485Solution: Add more test cases. Avoid error for function loaded later.
2486Files: src/vim9compile.c, src/evalvars.c, src/testdir/test_vim9_script.vim
2487
2488Patch 8.2.0323
2489Problem: Vim9: calling a function that is defined later is slow.
2490Solution: Once the function is found update the instruction so it can be
2491 called directly.
2492Files: src/vim9execute.c, src/testdir/test_vim9_script.vim,
2493 src/testdir/test_vim9_disassemble.vim
2494
2495Patch 8.2.0324
2496Problem: Text property not updated correctly when inserting/deleting.
2497Solution: Use the right column when deleting. Make zero-width text
2498 properties respect start_incl and end_incl. (Axel Forsman,
2499 closes #5696, closes #5679)
2500Files: src/change.c, src/textprop.c, src/testdir/test_listener.vim,
2501 src/testdir/test_textprop.vim
2502
2503Patch 8.2.0325
2504Problem: Ex_getln.c code not covered by tests.
2505Solution: Add a few more tests. (Yegappan Lakshmanan, closes #5702)
2506Files: src/testdir/test_cmdline.vim, src/testdir/test_ex_mode.vim,
2507 src/testdir/test_functions.vim, src/testdir/test_history.vim,
2508 src/testdir/test_options.vim
2509
2510Patch 8.2.0326
2511Problem: Compiler warning for using uninitialized variable. (Yegappan
2512 Lakshmanan)
2513Solution: Do not jump to failed but return.
2514Files: src/vim9execute.c
2515
2516Patch 8.2.0327
2517Problem: Crash when opening and closing two popup terminal windows.
2518Solution: Check that prevwin is valid. (closes #5707)
2519Files: src/popupwin.c, src/testdir/test_terminal.vim
2520
2521Patch 8.2.0328
2522Problem: No redraw when leaving terminal-normal mode in a terminal popup
2523 window.
2524Solution: Redraw the popup window. (closes #5708)
2525Files: src/macros.h, src/vim.h, src/terminal.c, src/drawscreen.c,
2526 src/move.c, src/popupwin.c, src/testdir/test_terminal.vim,
2527 src/testdir/dumps/Test_terminal_popup_7.dump,
2528 src/testdir/dumps/Test_terminal_popup_8.dump
2529
2530Patch 8.2.0329
2531Problem: Popup filter converts 0x80 bytes.
2532Solution: Keep 0x80 bytes as-is. (Ozaki Kiichi, closes #5706)
2533Files: src/popupwin.c, src/testdir/test_popupwin.vim
2534
2535Patch 8.2.0330
2536Problem: Build error with popup window but without terminal.
2537Solution: Add #ifdef.
2538Files: src/popupwin.c
2539
2540Patch 8.2.0331
2541Problem: Internal error when using test_void() and test_unknown().
2542 (Dominique Pellé)
2543Solution: Give a normal error.
2544Files: src/evalfunc.c, src/testdir/test_functions.vim,
2545 src/testdir/test_vimscript.vim
2546
2547Patch 8.2.0332
2548Problem: Some code in ex_getln.c not covered by tests.
2549Solution: Add a few more tests. (Yegappan Lakshmanan, closes #5710)
2550Files: src/testdir/test_arabic.vim, src/testdir/test_cmdline.vim
2551
2552Patch 8.2.0333
2553Problem: Terminal in popup test is flaky.
2554Solution: Make sure redraw is done before opening the popup.
2555Files: src/testdir/test_terminal.vim,
2556 src/testdir/dumps/Test_terminal_popup_1.dump
2557
2558Patch 8.2.0334
2559Problem: Abort called when using test_void(). (Dominique Pellé)
2560Solution: Only give an error, don't abort.
2561Files: src/message.c, src/proto/message.pro, src/evalfunc.c,
2562 src/eval.c, src/json.c, src/testdir/test_functions.vim
2563
2564Patch 8.2.0335
2565Problem: No completion for :disassemble.
2566Solution: Make completion work. Also complete script-local functions if the
2567 name starts with "s:".
2568Files: src/cmdexpand.c, src/testdir/test_cmdline.vim,
2569 runtime/doc/vim9.txt
2570
2571Patch 8.2.0336
2572Problem: Vim9: insufficient test coverage for compiling.
2573Solution: Add more tests.
2574Files: src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim,
2575 src/vim9.h, src/vim9compile.c, src/vim9execute.c
2576
2577Patch 8.2.0337
2578Problem: Build fails on a few systems.
2579Solution: Use vim_snprintf() instead of snprintf().
2580Files: src/cmdexpand.c
2581
2582Patch 8.2.0338
2583Problem: Build failure without the channel feature.
2584Solution: Add #ifdef
2585Files: src/vim9compile.c
2586
2587Patch 8.2.0339
2588Problem: Vim9: function return type may depend on arguments.
2589Solution: Instead of a fixed return type use a function to figure out the
2590 return type.
2591Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9compile.c,
2592 src/evalbuffer.c, src/proto/evalbuffer.pro,
2593 src/testdir/test_vim9_script.vim
2594
2595Patch 8.2.0340
2596Problem: Vim9: function and partial types not tested.
2597Solution: Support more for partial, add tests.
2598Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
2599 src/testdir/test_vim9_script.vim
2600
2601Patch 8.2.0341
2602Problem: Using ":for" in Vim9 script gives an error.
2603Solution: Pass the LET_NO_COMMAND flag. (closes #5715)
2604Files: src/eval.c, src/testdir/test_vim9_script.vim
2605
2606Patch 8.2.0342
2607Problem: Some code in ex_getln.c not covered by tests.
2608Solution: Add more tests. (Yegappan Lakshmanan, closes #5717)
2609Files: src/testdir/test_cmdline.vim, src/testdir/test_ex_mode.vim,
2610 src/testdir/test_history.vim, src/testdir/test_iminsert.vim
2611
2612Patch 8.2.0343
2613Problem: Vim9: using wrong instruction, limited test coverage.
2614Solution: Use ISN_PUSHJOB. Add a few more tests.
2615Files: src/vim9compile.c, src/vim9execute.c,
2616 src/testdir/test_vim9_script.vim,
2617 src/testdir/test_vim9_disassemble.vim
2618
2619Patch 8.2.0344
2620Problem: ":def" not skipped properly.
2621Solution: Add CMD_def to list of commands the require evaluation even when
2622 not being executed.
2623Files: src/ex_docmd.c
2624
2625Patch 8.2.0345
2626Problem: Compiler warning when building without the float feature.
2627Solution: Add #ifdef. (John Marriott)
2628Files: src/evalfunc.c
2629
2630Patch 8.2.0346
2631Problem: Vim9: finding common list type not tested.
2632Solution: Add more tests. Fix listing function. Fix overwriting type.
2633Files: src/vim9compile.c, src/userfunc.c,
2634 src/testdir/test_vim9_script.vim, src/testdir/runtest.vim,
2635 src/testdir/test_vim9_disassemble.vim
2636
2637Patch 8.2.0347
2638Problem: Various code not covered by tests.
2639Solution: Add more test coverage. (Yegappan Lakshmanan, closes #5720)
2640Files: src/testdir/gen_opt_test.vim, src/testdir/test86.in,
2641 src/testdir/test_cmdline.vim, src/testdir/test_digraph.vim,
2642 src/testdir/test_ex_mode.vim, src/testdir/test_history.vim
2643
2644Patch 8.2.0348
2645Problem: Vim9: not all code tested.
2646Solution: Add a few more tests. fix using "b:" in literal dictionary.
2647Files: src/testdir/test_vim9_expr.vim, src/vim9compile.c,
2648 src/proto/vim9compile.pro, src/testdir/test_vim9_script.vim
2649
2650Patch 8.2.0349
2651Problem: Vim9: constant expression not well tested.
2652Solution: Add tests for "if" with constant expression.
2653Files: src/testdir/test_vim9_script.vim
2654
2655Patch 8.2.0350
2656Problem: Vim9: expression tests don't use recognized constants.
2657Solution: Recognize "true" and "false" as constants. Make skipping work for
2658 assignment and expression evaluation.
2659Files: src/vim9compile.c
2660
2661Patch 8.2.0351
2662Problem: Terminal in popup test is still a bit flaky.
2663Solution: Clear and redraw before opening the popup.
2664Files: src/testdir/test_terminal.vim
2665
2666Patch 8.2.0352
2667Problem: FreeBSD: test for sourcing utf-8 is skipped.
2668Solution: Run the matchadd_conceal test separately to avoid that setting
2669 'term' to "ansi" causes problems for other tests. (Ozaki Kiichi,
2670 closes #5721)
2671Files: src/testdir/Make_all.mak, src/testdir/test_alot_utf8.vim,
2672 src/testdir/test_source_utf8.vim
2673
2674Patch 8.2.0353
2675Problem: Vim9: while loop not tested.
2676Solution: Add test with "while", "break" and "continue"
2677Files: src/testdir/test_vim9_script.vim
2678
2679Patch 8.2.0354
2680Problem: Python 3.9 does not define _Py_DEC_REFTOTAL. (Zdenek Dohnal)
2681Solution: Remove it, it was only for debugging.
2682Files: src/if_python3.c
2683
2684Patch 8.2.0355
2685Problem: Vim9: str_val is confusing, it's a number
2686Solution: Rename to stnr_val.
2687Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c
2688
2689Patch 8.2.0356
2690Problem: MS-Windows: feedkeys() with VIMDLL cannot handle CSI correctly.
2691Solution: Modify mch_inchar() to encode CSI bytes. (Ozaki Kiichi, Ken
2692 Takata, closes #5726)
2693Files: src/getchar.c, src/os_win32.c, src/testdir/test_popupwin.vim
2694
2695Patch 8.2.0357
2696Problem: Cannot delete a text property matching both id and type. (Axel
2697 Forsman)
2698Solution: Add the "both" argument.
2699Files: src/textprop.c, runtime/doc/textprop.txt,
2700 src/testdir/test_textprop.vim
2701
2702Patch 8.2.0358
2703Problem: Insufficient testing for indent.c.
2704Solution: Add indent tests. (Yegappan Lakshmanan, closes #5736)
2705Files: src/testdir/Make_all.mak, src/testdir/test_ex_mode.vim,
2706 src/testdir/test_expand_func.vim, src/testdir/test_indent.vim,
2707 src/testdir/test_lispwords.vim, src/testdir/test_smartindent.vim,
2708 src/testdir/test_vartabs.vim
2709
2710Patch 8.2.0359
2711Problem: popup_atcursor() may hang. (Yasuhiro Matsumoto)
2712Solution: Take the decoration into account. (closes #5728)
2713Files: src/popupwin.c, src/testdir/test_popupwin.vim
2714
2715Patch 8.2.0360
2716Problem: Yaml files are only recognized by the file extension.
2717Solution: Check for a line starting with "%YAML". (Jason Franklin)
2718Files: runtime/scripts.vim, src/testdir/test_filetype.vim
2719
2720Patch 8.2.0361
2721Problem: Internal error when using "0" for a callback.
2722Solution: Give a normal error. (closes #5743)
2723Files: src/evalvars.c, src/testdir/test_timers.vim
2724
2725Patch 8.2.0362
2726Problem: MS-Windows: channel test fails if grep is not available.
2727Solution: Use another command. (Ken Takata, closes #5739)
2728Files: src/testdir/test_channel.vim
2729
2730Patch 8.2.0363
2731Problem: Some Normal mode commands not tested.
2732Solution: Add more tests. (Yegappan Lakshmanan, closes #5746)
2733Files: src/testdir/test_cindent.vim, src/testdir/test_cmdline.vim,
2734 src/testdir/test_edit.vim, src/testdir/test_indent.vim,
2735 src/testdir/test_normal.vim, src/testdir/test_prompt_buffer.vim,
2736 src/testdir/test_virtualedit.vim, src/testdir/test_visual.vim
2737
2738Patch 8.2.0364
2739Problem: Printf test failing on Haiku.
2740Solution: Make a difference between int and short. (Dominique Pellé,
2741 closes #5749)
2742Files: src/message.c
2743
2744Patch 8.2.0365
2745Problem: Tag kind can't be a multibyte character. (Marcin Szamotulski)
2746Solution: Recognize multibyte character. (closes #5724)
2747Files: src/tag.c, src/testdir/test_taglist.vim
2748
2749Patch 8.2.0366
2750Problem: Hardcopy command not tested enough.
2751Solution: Add tests for printing. (Dominique Pellé, closes #5748)
2752Files: src/testdir/test_hardcopy.vim
2753
2754Patch 8.2.0367
2755Problem: Can use :pedit in a popup window.
2756Solution: Disallow it.
Bram Moolenaar47c532e2022-03-19 15:18:53 +00002757Files: src/ex_docmd.c, src/testdir/test_popupwin.vim
Bram Moolenaarc51cf032022-02-26 12:25:45 +00002758
2759Patch 8.2.0368
2760Problem: Vim9: import that redefines local variable does not fail.
2761Solution: Check for already defined symbols.
2762Files: src/vim9script.c, src/proto/vim9script.pro, src/vim9compile.c,
2763 src/proto/vim9compile.pro, src/testdir/test_vim9_script.vim
2764
2765Patch 8.2.0369
2766Problem: Various Normal mode commands not fully tested.
2767Solution: Add more tests. (Yegappan Lakshmanan, closes #5751)
2768Files: src/testdir/test_arglist.vim, src/testdir/test_changelist.vim,
2769 src/testdir/test_charsearch.vim, src/testdir/test_cmdline.vim,
2770 src/testdir/test_edit.vim, src/testdir/test_ex_mode.vim,
2771 src/testdir/test_excmd.vim, src/testdir/test_gf.vim,
2772 src/testdir/test_iminsert.vim, src/testdir/test_increment.vim,
2773 src/testdir/test_marks.vim, src/testdir/test_normal.vim,
2774 src/testdir/test_prompt_buffer.vim, src/testdir/test_put.vim,
2775 src/testdir/test_registers.vim, src/testdir/test_tagjump.vim,
2776 src/testdir/test_visual.vim
2777
2778Patch 8.2.0370
2779Problem: The typebuf_was_filled flag is sometimes not reset, which may
2780 cause a hang.
2781Solution: Make sure typebuf_was_filled is reset when the typeahead buffer is
2782 empty.
2783Files: src/edit.c, src/getchar.c,
2784
2785Patch 8.2.0371
2786Problem: Crash with combination of terminal popup and autocmd.
2787Solution: Disallow closing a popup that is the current window. Add a check
2788 that the current buffer is valid. (closes #5754)
2789Files: src/macros.h, src/buffer.c, src/popupwin.c, src/terminal.c,
2790 src/testdir/test_terminal.vim
2791
2792Patch 8.2.0372
2793Problem: Prop_find() may not find text property at start of the line.
2794Solution: Adjust the loop to find properties. (Axel Forsman, closes #5761,
2795 closes #5663)
Bram Moolenaar47c532e2022-03-19 15:18:53 +00002796Files: src/textprop.c, src/testdir/test_textprop.vim
Bram Moolenaarc51cf032022-02-26 12:25:45 +00002797
2798Patch 8.2.0373
2799Problem: Type of term_sendkeys() is unknown.
2800Solution: Just return zero. (closes #5762)
2801Files: src/terminal.c, src/testdir/test_terminal.vim
2802
2803Patch 8.2.0374
2804Problem: Using wrong printf directive for jump location.
2805Solution: Change "%lld" to "%d". (James McCoy, closes #5773)
2806Files: src/vim9execute.c
2807
2808Patch 8.2.0375
2809Problem: Coverity warning for not using return value.
2810Solution: Move error message to separate function.
2811Files: src/popupwin.c
2812
2813Patch 8.2.0376
2814Problem: Nasty callback test fails on some systems.
2815Solution: Increase the sleep time.
2816Files: src/testdir/test_terminal.vim
2817
2818Patch 8.2.0377
2819Problem: No CI test for a big-endian system.
2820Solution: Test with s390x. (James McCoy, closes #5772)
2821Files: .travis.yml
2822
2823Patch 8.2.0378
2824Problem: prop_find() does not find all props.
2825Solution: Check being in the start line. (Axel Forsman, closes #5776)
2826Files: src/textprop.c, src/testdir/test_textprop.vim
2827
2828Patch 8.2.0379
2829Problem: Gcc warns for ambiguous else.
2830Solution: Add braces. (Dominique Pellé, closes #5778)
2831Files: src/textprop.c
2832
2833Patch 8.2.0380
2834Problem: Tiny popup when creating a terminal popup without minwidth.
2835Solution: Use a default minimum size of 5 lines of 20 characters.
2836Files: src/popupwin.c, src/testdir/test_terminal.vim,
2837 src/testdir/dumps/Test_terminal_popup_m1.dump
2838
2839Patch 8.2.0381
2840Problem: Using freed memory with :lvimgrep and autocommand. (extracted from
2841 POC by Dominique Pellé)
2842Solution: Avoid deleting a dummy buffer used in a window. (closes #5777)
2843Files: src/quickfix.c, src/testdir/test_quickfix.vim
2844
2845Patch 8.2.0382
2846Problem: Some tests fail when run under valgrind.
2847Solution: Increase timeouts.
2848Files: src/testdir/test_autocmd.vim, src/testdir/test_debugger.vim,
2849 src/testdir/test_channel.vim, src/testdir/test_ins_complete.vim,
2850 src/testdir/test_terminal.vim,
2851 src/testdir/dumps/Test_terminal_popup_1.dump,
2852 src/testdir/dumps/Test_terminal_popup_2.dump,
2853 src/testdir/dumps/Test_terminal_popup_3.dump,
2854 src/testdir/dumps/Test_terminal_popup_5.dump,
2855 src/testdir/dumps/Test_terminal_popup_6.dump,
2856 src/testdir/dumps/Test_terminal_popup_7.dump,
2857 src/testdir/dumps/Test_terminal_popup_8.dump,
2858 src/testdir/dumps/Test_terminal_popup_m1.dump
2859
2860Patch 8.2.0383
2861Problem: Wrong feature check causes test not to be run.
2862Solution: Use CheckFunction instead of CheckFeature. (Ozaki Kiichi,
2863 closes #5781)
2864Files: src/testdir/test_channel.vim
2865
2866Patch 8.2.0384
2867Problem: Travis CI has warnings.
2868Solution: Avoid warnings, clean up the config. (Ozaki Kiichi, closes #5779)
2869Files: .travis.yml
2870
2871Patch 8.2.0385
2872Problem: Menu functionality insufficiently tested.
2873Solution: Add tests. Add menu_info(). (Yegappan Lakshmanan, closes #5760)
2874Files: runtime/doc/eval.txt, runtime/doc/gui.txt, runtime/doc/usr_41.txt,
2875 src/evalfunc.c, src/menu.c, src/proto/menu.pro,
2876 src/testdir/test_menu.vim, src/testdir/test_popup.vim,
2877 src/testdir/test_termcodes.vim
2878
2879Patch 8.2.0386 (after 8.2.0385)
2880Problem: Part from unfinished patch got included.
2881Solution: Undo that part.
2882Files: src/evalfunc.c
2883
2884Patch 8.2.0387
2885Problem: Error for possible NULL argument to qsort().
2886Solution: Don't call qsort() when there is nothing to sort. (Dominique
2887 Pellé, closes #5780)
2888Files: src/spellsuggest.c
2889
2890Patch 8.2.0388
2891Problem: Printmbcharset option not tested.
2892Solution: Add a test. Enable PostScript for AppVeyor build. (Dominique
2893 Pellé, closes #5783)
2894Files: appveyor.yml, src/testdir/test_hardcopy.vim
2895
2896Patch 8.2.0389
2897Problem: Delayed redraw when shifting text from Insert mode.
2898Solution: Use msg_attr_keep() instead of msg(). (closes #5782)
2899Files: src/ops.c
2900
2901Patch 8.2.0390
2902Problem: Terminal postponed scrollback test is flaky.
2903Solution: Add delay in between sending keys. Rename dump files.
2904Files: src/testdir/test_terminal.vim,
2905 src/testdir/dumps/Test_terminal_01.dump,
2906 src/testdir/dumps/Test_terminal_02.dump,
2907 src/testdir/dumps/Test_terminal_03.dump,
2908 src/testdir/dumps/Test_terminal_scrollback_1.dump,
2909 src/testdir/dumps/Test_terminal_scrollback_2.dump,
2910 src/testdir/dumps/Test_terminal_scrollback_3.dump
2911
2912Patch 8.2.0391 (after 8.2.0377)
2913Problem: CI test coverage dropped.
2914Solution: Set $DISPLAY also for non-GUI builds. (James McCoy, closes #5788)
2915Files: .travis.yml
2916
2917Patch 8.2.0392
2918Problem: Coverity warns for using array index out of range.
2919Solution: Add extra "if" to avoid warning.
2920Files: src/menu.c
2921
2922Patch 8.2.0393
2923Problem: Coverity warns for not using return value.
2924Solution: Add (void).
2925Files: src/popupmenu.c
2926
2927Patch 8.2.0394
2928Problem: Coverity complains about using NULL pointer.
2929Solution: Use empty string when option value is NULL.
2930Files: src/optionstr.c
2931
2932Patch 8.2.0395
2933Problem: Build fails with FEAT_EVAL but without FEAT_MENU.
2934Solution: Add #ifdef. (John Marriott)
2935Files: src/evalfunc.c
2936
2937Patch 8.2.0396
2938Problem: Cmdexpand.c insufficiently tested.
2939Solution: Add more tests. (Yegappan Lakshmanan, closes #5789)
2940Files: src/testdir/test_cmdline.vim, src/testdir/test_taglist.vim,
2941 src/testdir/test_terminal.vim, src/testdir/test_usercommands.vim
2942
2943Patch 8.2.0397
2944Problem: Delayed screen update when using undo from Insert mode.
2945Solution: Update w_topline and cursor shape before sleeping. (closes #5790)
2946Files: src/normal.c
2947
2948Patch 8.2.0398
2949Problem: Profile test fails when two functions take same time.
2950Solution: Add a short sleep in once function. (closes #5797)
2951Files: src/testdir/test_profile.vim
2952
2953Patch 8.2.0399
2954Problem: Various memory leaks.
2955Solution: Avoid the leaks. (Ozaki Kiichi, closes #5803)
2956Files: src/ex_docmd.c, src/ex_getln.c, src/menu.c, src/message.c,
2957 src/scriptfile.c, src/userfunc.c
2958
2959Patch 8.2.0400
2960Problem: Not all tests using a terminal are in the list of flaky tests.
2961Solution: Introduce the test_is_flaky flag.
2962Files: src/testdir/runtest.vim, src/testdir/term_util.vim,
2963 src/testdir/screendump.vim, src/testdir/test_autocmd.vim
2964
2965Patch 8.2.0401
2966Problem: Not enough test coverage for evalvars.c.
2967Solution: Add more tests. (Yegappan Lakshmanan, closes #5804)
2968Files: src/testdir/test_cmdline.vim, src/testdir/test_const.vim,
2969 src/testdir/test_diffmode.vim, src/testdir/test_excmd.vim,
2970 src/testdir/test_functions.vim, src/testdir/test_let.vim,
2971 src/testdir/test_listdict.vim, src/testdir/test_spell.vim,
2972 src/testdir/test_unlet.vim, src/testdir/test_user_func.vim,
2973 src/testdir/test_vimscript.vim
2974
2975Patch 8.2.0402 (after 8.2.0401)
2976Problem: Setting local instead of global flag.
2977Solution: Prepend "g:" to "test_is_flaky".
2978Files: src/testdir/term_util.vim, src/testdir/screendump.vim,
2979 src/testdir/test_autocmd.vim
2980
2981Patch 8.2.0403
2982Problem: When 'buftype' is "nofile" there is no overwrite check.
2983Solution: Also check for existing file when 'buftype' is set.
2984 (closes #5807)
2985Files: src/ex_cmds.c, src/testdir/test_options.vim
2986
2987Patch 8.2.0404
2988Problem: Writefile() error does not give a hint.
2989Solution: Add remark about first argument.
2990Files: src/filepath.c, src/testdir/test_writefile.vim
2991
2992Patch 8.2.0405
2993Problem: MSVC: build fails with some combination of features.
2994Solution: Enable CHANNEL if TERMINAL is enabled. (Mike Williams)
2995Files: src/Make_mvc.mak
2996
2997Patch 8.2.0406
2998Problem: FileReadCmd event not well tested.
2999Solution: Add a test.
3000Files: src/testdir/test_autocmd.vim
3001
3002Patch 8.2.0407
3003Problem: No early check if :find and :sfind have an argument.
3004Solution: Add EX_NEEDARG.
3005Files: src/ex_cmds.h, src/testdir/test_findfile.vim,
3006 src/testdir/test_find_complete.vim
3007
3008Patch 8.2.0408
3009Problem: Delete() commented out for testing.
3010Solution: Undo commenting-out.
3011Files: src/testdir/test_vim9_disassemble.vim
3012
3013Patch 8.2.0409
3014Problem: Search test leaves file behind.
3015Solution: Delete the file. Also use Check commands.
3016Files: src/testdir/test_search.vim
3017
3018Patch 8.2.0410
3019Problem: Channel test fails too often on slow Mac.
3020Solution: Increase waiting time to 10 seconds.
3021Files: src/testdir/test_channel.vim
3022
3023Patch 8.2.0411
3024Problem: Mac: breakcheck is using a value from the stone ages.
3025Solution: Delete BREAKCHECK_SKIP from the Mac header file. (Ben Jackson)
3026Files: src/os_mac.h
3027
3028Patch 8.2.0412
3029Problem: MS-Windows: cannot use vimtutor from the start menu.
3030Solution: Better check for writable directory. Use the right path for the
3031 executable. (Wu Yongwei, closes #5774, closes #5756)
3032Files: vimtutor.bat
3033
3034Patch 8.2.0413
3035Problem: Buffer menu does not handle special buffers properly.
3036Solution: Keep a dictionary with buffer names to reliably keep track of
3037 entries.
3038 Also trigger BufFilePre and BufFilePost for command-line and
3039 terminal buffers when the name changes.
3040Files: src/testdir/test_alot.vim, src/testdir/Make_all.mak,
3041 runtime/menu.vim, src/ex_getln.c, src/terminal.c,
3042 src/testdir/test_menu.vim
3043
3044Patch 8.2.0414
3045Problem: Channel connect_waittime() test is flaky.
3046Solution: Set the test_is_flaky flag. Use test_is_flaky for more tests.
3047Files: src/testdir/test_channel.vim, src/testdir/test_terminal.vim,
3048 src/testdir/runtest.vim
3049
3050Patch 8.2.0415
3051Problem: Bsdl filetype is not detected.
3052Solution: Add an entry in the filetype list. (Daniel Kho, closes #5810)
3053Files: runtime/filetype.vim, src/testdir/test_filetype.vim
3054
3055Patch 8.2.0416
3056Problem: Test leaves file behind.
3057Solution: Delete the file.
3058Files: src/testdir/test_indent.vim
3059
3060Patch 8.2.0417
3061Problem: Travis CI config can be improved.
3062Solution: Remove COVERAGE variable. Add load-snd-dummy script. add "-i NONE"
3063 to avoid messages about viminfo. (Ozaki Kiichi, closes #5813)
3064Files: .travis.yml, ci/load-snd-dummy.sh
3065
3066Patch 8.2.0418
3067Problem: Code in eval.c not sufficiently covered by tests.
3068Solution: Add more tests. (Yegappan Lakshmanan, closes #5815)
3069Files: src/testdir/test_blob.vim, src/testdir/test_channel.vim,
3070 src/testdir/test_cmdline.vim, src/testdir/test_eval_stuff.vim,
3071 src/testdir/test_expr.vim, src/testdir/test_functions.vim,
3072 src/testdir/test_job_fails.vim, src/testdir/test_lambda.vim,
3073 src/testdir/test_let.vim, src/testdir/test_listdict.vim,
3074 src/testdir/test_marks.vim, src/testdir/test_method.vim,
3075 src/testdir/test_normal.vim, src/testdir/test_unlet.vim,
3076 src/testdir/test_usercommands.vim, src/testdir/test_vimscript.vim,
3077 src/testdir/test_window_cmd.vim
3078
3079Patch 8.2.0419
3080Problem: Various memory leaks in Vim9 script code.
3081Solution: Fix the leaks. (Ozaki Kiichi, closes #5814)
3082Files: src/proto/vim9compile.pro, src/scriptfile.c, src/structs.h,
3083 src/testdir/test_vim9_script.vim, src/vim9.h, src/vim9compile.c,
3084 src/vim9execute.c, src/vim9script.c
3085
3086Patch 8.2.0420
3087Problem: Vim9: cannot interrupt a loop with CTRL-C.
3088Solution: Check for CTRL-C once in a while. Doesn't fully work yet.
3089Files: src/misc1.c, src/proto/misc1.pro,
3090 src/testdir/test_vim9_script.vim
3091
3092Patch 8.2.0421
3093Problem: Interrupting with CTRL-C does not always work.
3094Solution: Recognize CTRL-C while modifyOtherKeys is set.
3095Files: src/ui.c, src/testdir/test_vim9_script.vim, src/evalfunc.c
3096
3097Patch 8.2.0422
3098Problem: Crash when passing popup window to win_splitmove(). (john Devin)
3099Solution: Disallow moving a popup window. (closes #5816)
3100Files: src/testdir/test_popupwin.vim, src/evalwindow.c
3101
3102Patch 8.2.0423
3103Problem: In some environments a few tests are expected to fail.
3104Solution: Add $TEST_MAY_FAIL to list tests that should not cause make to
3105 fail.
3106Files: src/testdir/runtest.vim
3107
3108Patch 8.2.0424
3109Problem: Checking for wrong return value. (Tom)
3110Solution: Invert the check and fix the test.
3111Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
3112
3113Patch 8.2.0425
3114Problem: Code for modeless selection not sufficiently tested.
3115Solution: Add tests. Move mouse code functionality to a common script file.
3116 (Yegappan Lakshmanan, closes #5821)
3117Files: src/testdir/Make_all.mak, src/testdir/gen_opt_test.vim,
3118 src/testdir/mouse.vim, src/testdir/test_edit.vim,
3119 src/testdir/test_global.vim, src/testdir/test_modeless.vim,
3120 src/testdir/test_normal.vim, src/testdir/test_selectmode.vim,
3121 src/testdir/test_termcodes.vim, src/testdir/test_visual.vim,
3122 src/ui.c
3123
3124Patch 8.2.0426
3125Problem: Some errors were not tested for.
3126Solution: Add tests. (Dominique Pellé, closes #5824)
3127Files: src/testdir/test_buffer.vim, src/testdir/test_options.vim,
3128 src/testdir/test_tcl.vim, src/testdir/test_terminal.vim,
3129 src/testdir/test_window_cmd.vim
3130
3131Patch 8.2.0427
3132Problem: It is not possible to check for a typo in a feature name.
3133Solution: Add an extra argument to has().
3134Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/check.vim,
3135 src/testdir/test_functions.vim
3136
3137Patch 8.2.0428
3138Problem: Buffer name may leak.
3139Solution: Free the buffer name before overwriting it.
3140Files: src/terminal.c
3141
3142Patch 8.2.0429
3143Problem: No warning when test checks for option that never exists.
3144Solution: In tests check that the option can exist.
3145Files: src/testdir/check.vim
3146
3147Patch 8.2.0430
3148Problem: Window creation failure not properly tested.
3149Solution: Improve the test. (Yegappan Lakshmanan, closes #5826)
3150Files: src/testdir/test_cmdline.vim, src/testdir/test_window_cmd.vim
3151
3152Patch 8.2.0431
3153Problem: Some compilers don't support using \e for Esc. (Yegappan
3154 Lakshmanan)
3155Solution: use \033 instead.
3156Files: src/ui.c
3157
3158Patch 8.2.0432
3159Problem: A few tests fail in a huge terminal.
3160Solution: Make the tests pass. (Dominique Pellé, closes #5829)
3161Files: src/testdir/test_autocmd.vim, src/testdir/test_options.vim,
3162 src/testdir/test_termcodes.vim, src/testdir/test_terminal.vim,
3163 src/testdir/test_window_cmd.vim
3164
3165Patch 8.2.0433
3166Problem: INT signal not properly tested.
3167Solution: Add a test. Also clean up some unnecessary lines. (Dominique
3168 Pellé, closes #5828)
3169Files: src/testdir/test_display.vim, src/testdir/test_ex_mode.vim,
3170 src/testdir/test_excmd.vim, src/testdir/test_messages.vim,
3171 src/testdir/test_signals.vim
3172
3173Patch 8.2.0434
3174Problem: MS-Windows with VTP: Normal color not working.
3175Solution: After changing the Normal color update the VTP console color.
3176 (Nobuhiro Takasaki, closes #5836)
3177Files: src/highlight.c
3178
3179Patch 8.2.0435
3180Problem: Channel contents might be freed twice.
3181Solution: Call either channel_free_channel() or channel_free(), not both.
3182 (Nobuhiro Takasaki, closes #5835)
3183Files: src/channel.c
3184
3185Patch 8.2.0436
3186Problem: No warnings for incorrect printf arguments.
3187Solution: Fix attribute in declaration. Fix uncovered mistakes. (Dominique
3188 Pellé, closes #5834)
3189Files: src/proto.h, src/eval.c, src/ops.c, src/spellfile.c,
3190 src/vim9compile.c, src/vim9execute.c, src/viminfo.c, src/gui.c
3191
3192Patch 8.2.0437
3193Problem: MS-Windows installer contains old stuff.
3194Solution: Rely on Windows NT. (Ken Takata, closes #5832)
3195Files: src/dosinst.c
3196
3197Patch 8.2.0438
3198Problem: Terminal noblock test is very flaky on BSD.
3199Solution: Change WaitFor() to WaitForAssert() to be able to see why it
3200 failed. Add a short wait in between sending keys.
3201Files: src/testdir/test_terminal.vim
3202
3203Patch 8.2.0439
3204Problem: :disassemble has minor flaws.
3205Solution: Format the code. Use (int) instead of (char) for %c.
3206 (also by James McCoy, closes #5831)
3207Files: src/vim9execute.c
3208
3209Patch 8.2.0440
3210Problem: Terminal noblock test is still very flaky on BSD.
3211Solution: Increase the waiting time.
3212Files: src/testdir/test_terminal.vim
3213
3214Patch 8.2.0441
3215Problem: Terminal noblock test is still failing on BSD.
3216Solution: Reduce the amount of text.
3217Files: src/testdir/test_terminal.vim
3218
3219Patch 8.2.0442
3220Problem: Channel contents might be used after being freed.
3221Solution: Reset the job channel before freeing the channel.
3222Files: src/channel.c
3223
3224Patch 8.2.0443
3225Problem: Clipboard code is spread out.
3226Solution: Move clipboard code to its own file. (Yegappan Lakshmanan,
3227 closes #5827)
3228Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
3229 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
3230 src/clipboard.c, src/ops.c, src/proto.h, src/proto/clipboard.pro,
3231 src/proto/ops.pro, src/proto/register.pro, src/proto/ui.pro,
3232 src/register.c, src/ui.c
3233
3234Patch 8.2.0444
3235Problem: Swap file test fails on some systems.
3236Solution: Preserve the swap file. Send NL terminated keys.
3237Files: src/testdir/test_swap.vim
3238
3239Patch 8.2.0445
3240Problem: Png and xpm files not in MS-Windows zip file.
3241Solution: Move files to shared between Unix and Windows target.
3242Files: Filelist
3243
3244Patch 8.2.0446
3245Problem: Listener with undo of deleting all lines not tested.
3246Solution: Add a test.
3247Files: src/testdir/test_listener.vim
3248
3249Patch 8.2.0447
3250Problem: Terminal scroll tests fails on some systems.
3251Solution: Remove the fixed 100msec wait for Win32. Add a loop to wait until
3252 scrolling has finished. (James McCoy, closes #5842)
3253Files: src/testdir/test_terminal.vim
3254
3255Patch 8.2.0448
3256Problem: Various functions not properly tested.
3257Solution: Add more tests, especially for failures. (Yegappan Lakshmanan,
3258 closes #5843)
3259Files: runtime/doc/eval.txt, src/testdir/test_blob.vim,
3260 src/testdir/test_breakindent.vim, src/testdir/test_charsearch.vim,
3261 src/testdir/test_clientserver.vim, src/testdir/test_cmdline.vim,
3262 src/testdir/test_exists.vim, src/testdir/test_expand_func.vim,
3263 src/testdir/test_expr.vim, src/testdir/test_file_perm.vim,
3264 src/testdir/test_functions.vim, src/testdir/test_gui.vim,
3265 src/testdir/test_listdict.vim, src/testdir/test_marks.vim,
3266 src/testdir/test_partial.vim, src/testdir/test_registers.vim,
3267 src/testdir/test_search.vim, src/testdir/test_spell.vim,
3268 src/testdir/test_substitute.vim, src/testdir/test_syn_attr.vim,
3269 src/testdir/test_syntax.vim, src/testdir/test_taglist.vim,
3270 src/testdir/test_utf8.vim, src/testdir/test_vartabs.vim,
3271 src/testdir/test_window_cmd.vim
3272
3273Patch 8.2.0449
3274Problem: Vim9: crash if return type is invalid. (Yegappan Lakshmanan)
3275Solution: Always return some type, not NULL.
3276Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
3277
3278Patch 8.2.0450
3279Problem: Not enough testing for restricted mode and function calls.
3280Solution: Add more tests. (Yegappan Lakshmanan, closes #5847)
3281Files: src/testdir/test_method.vim, src/testdir/test_restricted.vim,
3282 src/testdir/test_vim9_script.vim
3283
3284Patch 8.2.0451
3285Problem: Win32: double-width character displayed incorrectly.
3286Solution: First move the cursor to the first column. (Nobuhiro Takasaki,
3287 closes #5848)
3288Files: src/os_win32.c
3289
3290Patch 8.2.0452
3291Problem: channel_parse_messages() fails when called recursively.
3292Solution: Return for a recursive call. (closes #5835)
3293Files: src/channel.c
3294
3295Patch 8.2.0453
3296Problem: Trailing space in job_start() command causes empty argument.
3297Solution: Ignore trailing space. (closes #5851)
3298Files: src/misc2.c, src/testdir/test_channel.vim
3299
3300Patch 8.2.0454
3301Problem: Some tests fail when the system is slow.
3302Solution: Make the run number global, use in the test to increase the
3303 waiting time. (closes #5841)
3304Files: src/testdir/runtest.vim, src/testdir/test_functions.vim
3305
3306Patch 8.2.0455
3307Problem: Cannot set the highlight group for a specific terminal.
3308Solution: Add the "highlight" option to term_start(). (closes #5818)
3309Files: src/terminal.c, src/structs.h, src/channel.c,
3310 src/testdir/test_terminal.vim, runtime/doc/terminal.txt,
3311 src/testdir/dumps/Test_terminal_popup_Terminal.dump,
3312 src/testdir/dumps/Test_terminal_popup_MyTermCol.dump
3313
3314Patch 8.2.0456
3315Problem: Test_confirm_cmd is flaky.
3316Solution: Add a term_wait() call. (closes #5854)
3317Files: src/testdir/test_excmd.vim
3318
3319Patch 8.2.0457
3320Problem: Test_quotestar() often fails when run under valgrind.
3321Solution: Wait longer for the GUI to start.
3322Files: src/testdir/test_quotestar.vim
3323
3324Patch 8.2.0458
3325Problem: Missing feature check in test function.
3326Solution: Add check commands.
3327Files: src/testdir/test_excmd.vim
3328
3329Patch 8.2.0459
3330Problem: Cannot check if a function name is correct.
3331Solution: Add "?funcname" to exists().
3332Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_exists.vim,
3333 src/testdir/check.vim
3334
3335Patch 8.2.0460 (after 8.2.0459)
3336Problem: Build failure because of wrong feature name.
3337Solution: Correct feature name.
3338Files: src/evalfunc.c
3339
3340Patch 8.2.0461
3341Problem: Confirm test fails on amd64 system. (Alimar Riesebieter)
3342Solution: Add an extra WaitForAssert(). (Dominique Pellé)
3343Files: src/testdir/test_excmd.vim
3344
3345Patch 8.2.0462
3346Problem: Previewwindow test fails on some systems. (James McCoy)
3347Solution: Wait a bit after sending the "o". (closes #5849)
3348Files: src/testdir/test_popup.vim,
3349 src/testdir/dumps/Test_popup_and_previewwindow_01.dump
3350
3351Patch 8.2.0463
3352Problem: Build error without float and channel feature. (John Marriott)
3353Solution: Define return types always.
3354Files: src/globals.h, src/evalfunc.c
3355
3356Patch 8.2.0464
3357Problem: Typos and other small problems.
3358Solution: Fix the typos. Add missing files to the distribution.
3359Files: Filelist, src/buffer.c, src/drawline.c, src/gui_gtk_x11.c,
3360 src/os_unixx.h, src/proto/popupwin.pro
3361
3362Patch 8.2.0465
3363Problem: Vim9: dead code and wrong return type.
3364Solution: Remove dead code. Fix return type. Add more tests.
3365Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
3366
3367Patch 8.2.0466 (after 8.2.0452)
3368Problem: Not parsing messages recursively breaks the govim plugin.
3369Solution: When called recursively do handle messages but do not close
3370 channels.
3371Files: src/channel.c
3372
3373Patch 8.2.0467
3374Problem: Vim9: some errors are not tested
3375Solution: Add more tests. Fix that Vim9 script flag is not reset.
3376Files: src/vim9compile.c, src/scriptfile.c, src/dict.c,
3377 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim
3378
3379Patch 8.2.0468
3380Problem: GUI: pixel dust with some fonts and characters.
3381Solution: Always redraw the character before the cursor. (Nir Lichtman,
3382 closes #5549, closes #5856)
3383Files: src/gui.c, src/proto/gui.pro, src/screen.c
3384
3385Patch 8.2.0469
3386Problem: Vim9: no error for missing ] after list.
3387Solution: Add error message. Add more tests.
3388Files: src/globals.h, src/list.c, src/userfunc.c,
3389 src/testdir/test_vim9_expr.vim, src/testdir/test_lambda.vim
3390
3391Patch 8.2.0470
3392Problem: Test_confirm_cmd_cancel() can fail on a slow system.
3393Solution: Use WaitForAssert(). (Ozaki Kiichi, closes #5861)
3394Files: src/testdir/test_excmd.vim
3395
3396Patch 8.2.0471
3397Problem: Missing change to compile_list().
3398Solution: Add error message.
3399Files: src/vim9compile.c
3400
3401Patch 8.2.0472
3402Problem: Terminal highlight name is set twice, leaking memory.
3403Solution: Delete one.
3404Files: src/terminal.c
3405
3406Patch 8.2.0473
3407Problem: Variables declared in an outer scope.
3408Solution: Declare variables only in the scope where they are used.
3409Files: src/evalvars.c
3410
3411Patch 8.2.0474 (after 8.2.0403)
3412Problem: Cannot use :write when using a plugin with BufWriteCmd.
3413Solution: Reset BF_NOTEDITED after BufWriteCmd. (closes #5807)
3414Files: src/fileio.c, src/testdir/test_autocmd.vim
3415
3416Patch 8.2.0475
3417Problem: Channel out_cb test still fails sometimes on Mac.
3418Solution: Use an even longer timeout.
3419Files: src/testdir/test_channel.vim
3420
3421Patch 8.2.0476
3422Problem: Terminal nasty callback test fails sometimes.
3423Solution: use term_wait() instead of a sleep. (Yee Cheng Chin, closes #5865)
3424Files: src/testdir/test_terminal.vim
3425
3426Patch 8.2.0477
3427Problem: Vim9: error messages not tested.
3428Solution: Add more tests.
3429Files: src/testdir/test_vim9_expr.vim, src/vim9execute.c
3430
3431Patch 8.2.0478
3432Problem: New buffers are not added to the Buffers menu.
3433Solution: Turn number into string. (Yee Cheng Chin, closes #5864)
3434Files: runtime/menu.vim, src/testdir/test_menu.vim
3435
3436Patch 8.2.0479
3437Problem: Unloading shared libraries on exit has no purpose.
3438Solution: Do not unload shared libraries on exit.
3439Files: src/if_lua.c, src/if_perl.xs, src/if_python.c, src/if_python3.c,
3440 src/if_ruby.c, src/if_tcl.c
3441
3442Patch 8.2.0480
3443Problem: Vim9: some code is not tested.
3444Solution: Add more tests.
3445Files: src/testdir/test_vim9_expr.vim, src/vim9compile.c
3446
3447Patch 8.2.0481
3448Problem: Travis is still using trusty.
3449Solution: Adjust config to use bionic. (Ozaki Kiichi, closes #5868)
3450Files: .travis.yml, src/testdir/lsan-suppress.txt
3451
3452Patch 8.2.0482
3453Problem: Channel and sandbox code not sufficiently tested.
3454Solution: Add more tests. (Yegappan Lakshmanan, closes #5855)
3455Files: src/option.h, src/testdir/test_channel.vim,
3456 src/testdir/test_clientserver.vim, src/testdir/test_cmdline.vim,
3457 src/testdir/test_edit.vim, src/testdir/test_excmd.vim,
3458 src/testdir/test_normal.vim, src/testdir/test_prompt_buffer.vim,
3459 src/testdir/test_restricted.vim, src/testdir/test_smartindent.vim,
3460 src/testdir/test_substitute.vim, src/testdir/test_terminal.vim,
3461 src/testdir/test_textformat.vim, src/testdir/test_visual.vim
3462
3463Patch 8.2.0483
3464Problem: Vim9: "let x = x + 1" does not give an error.
3465Solution: Hide the variable when compiling the expression.
3466Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
3467
3468Patch 8.2.0484
3469Problem: Vim9: some error messages not tested.
3470Solution: Add more tests.
3471Files: src/testdir/test_vim9_expr.vim
3472
3473Patch 8.2.0485 (after 8.2.0483)
3474Problem: Vim9 script test fails.
3475Solution: Stricter condition for adding new local variable.
3476Files: Stricter condition for adding new local variable.
3477
3478Patch 8.2.0486
3479Problem: Vim9: some code and error messages not tested.
3480Solution: Add more tests.
3481Files: src/vim9compile.c, src/evalvars.c, src/testdir/test_vim9_expr.vim,
3482 src/testdir/test_vim9_script.vim
3483
3484Patch 8.2.0487
3485Problem: Vim9: compiling not sufficiently tested.
3486Solution: Add more tests. Fix bug with PCALL.
3487Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h,
3488 src/testdir/test_vim9_script.vim,
3489 src/testdir/test_vim9_disassemble.vim
3490
3491Patch 8.2.0488
3492Problem: Vim9: Compiling can break when using a lambda inside :def.
3493Solution: Do not keep a pointer to the dfunc_T for longer time.
3494Files: src/vim9compile.c, src/vim9.h
3495
3496Patch 8.2.0489
3497Problem: Vim9: memory leaks.
3498Solution: Free memory in the right place. Add hints for using asan.
3499Files: src/vim9compile.c, src/testdir/lsan-suppress.txt, src/Makefile
3500
3501Patch 8.2.0490
3502Problem: Win32: VTP doesn't respect 'restorescreen'.
3503Solution: Use escape codes to switch to alternate screen. (Nobuhiro
3504 Takasaki, closes #5872)
3505Files: src/os_win32.c
3506
3507Patch 8.2.0491
3508Problem: Cannot recognize a <script> mapping using maparg().
3509Solution: Add the "script" key. (closes #5873)
3510Files: src/map.c, runtime/doc/eval.txt, src/testdir/test_maparg.vim
3511
3512Patch 8.2.0492
3513Problem: Vim9: some error messages not tested.
3514Solution: Add more tests. Remove dead code. Fix uncovered bugs.
3515Files: src/vim9compile.c, src/vim9execute.c,
3516 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim
3517
3518Patch 8.2.0493
3519Problem: Vim9: some error messages not tested.
3520Solution: Add more tests. Fix uncovered bugs.
3521Files: src/vim9compile.c, src/vim9execute.c, src/testing.c, src/eval.c,
3522 src/proto/testing.pro, src/evalfunc.c, runtime/doc/eval.txt,
3523 runtime/doc/testing.txt, src/testdir/test_vim9_script.vim
3524
3525Patch 8.2.0494
3526Problem: Vim9: asan error.
3527Solution: Only get the type when there is one.
3528Files: src/vim9compile.c
3529
3530Patch 8.2.0495
3531Problem: Vim9: some code not tested.
3532Solution: Add more tests. Support more const expressions.
3533Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
3534
3535Patch 8.2.0496
3536Problem: Vim9: disassemble test fails.
3537Solution: Separate test cases with recognized constant expressions.
3538Files: src/testdir/test_vim9_disassemble.vim
3539
3540Patch 8.2.0497
3541Problem: Too verbose output from the asan build in Travis.
3542Solution: Filter out suppression messages. (Ozaki Kiichi, closes #5874)
3543Files: .travis.yml
3544
3545Patch 8.2.0498
3546Problem: Coverity complains about uninitialized field.
3547Solution: Initialize the whole typval_T.
3548Files: src/vim9compile.c
3549
3550Patch 8.2.0499
3551Problem: Calling a lambda is slower than evaluating a string.
3552Solution: Make calling a lambda faster. (Ken Takata, closes #5727)
3553Files: src/userfunc.c
3554
3555Patch 8.2.0500
3556Problem: Using the same loop in many places.
3557Solution: Define more FOR_ALL macros. (Yegappan Lakshmanan, closes #5339)
3558Files: src/arglist.c, src/autocmd.c, src/buffer.c, src/change.c,
3559 src/channel.c, src/cmdexpand.c, src/diff.c, src/eval.c,
3560 src/evalbuffer.c, src/evalfunc.c, src/evalvars.c,
3561 src/evalwindow.c, src/ex_cmds2.c, src/filepath.c, src/globals.h,
3562 src/gui.c, src/if_py_both.h, src/if_ruby.c, src/insexpand.c,
3563 src/list.c, src/misc2.c, src/netbeans.c, src/popupwin.c,
3564 src/quickfix.c, src/screen.c, src/sign.c, src/spell.c,
3565 src/spellfile.c, src/spellsuggest.c, src/tag.c, src/terminal.c,
3566 src/userfunc.c, src/window.c
3567
3568Patch 8.2.0501
3569Problem: Vim9: script test fails when channel feature is missing.
3570Solution: Add a has() condition.
3571Files: src/testdir/test_vim9_script.vim
3572
3573Patch 8.2.0502
3574Problem: Vim9: some code is not tested.
3575Solution: Add more tests. Fix uncovered problems.
3576Files: src/vim9compile.c, src/regexp.c, src/proto/regexp.pro,
3577 src/cmdexpand.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_eval.c,
3578 src/ex_getln.c, src/highlight.c, src/search.c, src/syntax.c,
3579 src/tag.c, src/userfunc.c, src/testdir/test_vim9_script.vim,
3580 src/testdir/test_vim9_disassemble.vim
3581
3582Patch 8.2.0503
3583Problem: Vim9: some code is not tested.
3584Solution: Add tests. Fix uncovered problems.
3585Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
3586
3587Patch 8.2.0504
3588Problem: Vim9: leaking scope memory when compilation fails.
3589Solution: Cleanup the scope list.
3590Files: src/vim9compile.c
3591
3592Patch 8.2.0505
3593Problem: term_gettty() not sufficiently tested.
3594Solution: Add more asserts. (Dominique Pellé, closes #5877)
3595Files: src/testdir/test_terminal.vim
3596
3597Patch 8.2.0506
3598Problem: Coverity complains about ignoring return value.
3599Solution: Add (void).
3600Files: src/userfunc.c
3601
3602Patch 8.2.0507 (after 8.2.0472)
3603Problem: Getbufvar() may get the wrong dictionary. (David le Blanc)
3604Solution: Check for empty name. (closes #5878)
3605Files: src/evalvars.c, src/testdir/test_functions.vim
3606
3607Patch 8.2.0508
3608Problem: Vim9: func and partial types not done yet
3609Solution: Fill in details about func declaration, drop a separate partial
3610 declaration.
3611Files: runtime/doc/vim9.txt, src/vim9compile.c, src/globals.h,
3612 src/structs.h, src/evalfunc.c, src/testdir/test_vim9_expr.vim,
3613 src/testdir/test_vim9_script.vim,
3614 src/testdir/test_vim9_disassemble.vim
3615
3616Patch 8.2.0509
3617Problem: various code is not properly tested.
3618Solution: Add more tests. (Yegappan Lakshmanan, closes #5871)
3619Files: src/main.c, src/testdir/check.vim, src/testdir/shared.vim,
3620 src/testdir/term_util.vim, src/testdir/test_clientserver.vim,
3621 src/testdir/test_ex_mode.vim, src/testdir/test_expand.vim,
3622 src/testdir/test_functions.vim, src/testdir/test_options.vim,
3623 src/testdir/test_startup.vim, src/testdir/test_textformat.vim,
3624 src/testdir/test_trycatch.vim, src/testdir/test_viminfo.vim
3625
3626Patch 8.2.0510
3627Problem: Coverity complains about using uninitialized variable.
3628Solution: Assign a value to "scol". Move code inside NULL check.
3629Files: src/beval.c, src/popupwin.c
3630
3631Patch 8.2.0511
3632Problem: Cscope code not fully tested.
3633Solution: Add more test cases. (Dominique Pellé, closes #5886)
3634Files: src/testdir/test_cscope.vim
3635
3636Patch 8.2.0512
3637Problem: Vim9: no optional arguments in func type.
3638Solution: Check for question mark after type. Find function reference
3639 without function().
3640Files: src/vim9compile.c, src/vim9execute.c, src/structs.h,
3641 src/globals.h, src/vim.h, src/vim9.h, src/userfunc.c,
3642 src/testdir/Make_all.mak, src/testdir/test_vim9_script.vim,
3643 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
3644 src/testdir/test_vim9_disassemble.vim
3645
3646Patch 8.2.0513
3647Problem: Reading past allocated memory when using varargs.
3648Solution: Fix copying function argument types.
3649Files: src/vim9compile.c
3650
3651Patch 8.2.0514
3652Problem: Several global functions are used in only one file.
3653Solution: Make the functions static. (Yegappan Lakshmanan, closes #5884)
3654Files: src/drawscreen.c, src/evalvars.c, src/getchar.c, src/list.c,
3655 src/proto/drawscreen.pro, src/proto/evalvars.pro,
3656 src/proto/getchar.pro, src/proto/list.pro, src/proto/version.pro,
3657 src/version.c
3658
3659Patch 8.2.0515
3660Problem: Some compilers cannot add to "void *".
3661Solution: Cast to "char *".
3662Files: src/vim9compile.c
3663
3664Patch 8.2.0516
3665Problem: Client-server code is spread out.
3666Solution: Move client-server code to a new file. (Yegappan Lakshmanan,
3667 closes #5885)
3668Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
3669 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
3670 src/clientserver.c, src/evalfunc.c, src/main.c, src/proto.h,
3671 src/proto/clientserver.pro, src/proto/main.pro
3672
3673Patch 8.2.0517
3674Problem: Vim9: cannot separate "func" and "func(): void".
3675Solution: Use VAR_ANY for "any" and VAR_UNKNOWN for "no type".
3676Files: src/structs.h, src/globals.h, src/eval.c, src/evalfunc.c,
3677 src/evalvars.c, src/testing.c, src/vim9compile.c,
3678 src/vim9execute.c, src/viminfo.c, src/if_py_both.h, src/json.c,
3679 src/testdir/test_vim9_func.vim
3680
3681Patch 8.2.0518
3682Problem: A terminal falls back to setting $TERM to "xterm".
3683Solution: Use "xterm-color" if more than 16 colors are supported and
3684 "xterm-256color" if at least 256 colors are supported.
3685 (closes #5887)
3686Files: src/os_unix.c
3687
3688Patch 8.2.0519
3689Problem: Vim9: return type not properly checked.
3690Solution: Check type properly, also at runtime.
3691Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
3692
3693Patch 8.2.0520
3694Problem: Tests are not listed in sorted order.
3695Solution: Move test_ex_mode. (Doug Richardson, closes #5889)
3696Files: src/testdir/Make_all.mak
3697
3698Patch 8.2.0521
3699Problem: Crash when reading a blob fails.
3700Solution: Avoid keeping a pointer to a freed blob object. (Dominique Pellé,
3701 closes #5890) Adjust error messages.
3702Files: src/filepath.c, src/testdir/test_blob.vim
3703
3704Patch 8.2.0522
3705Problem: Several errors are not tested for.
3706Solution: Add tests. (Yegappan Lakshmanan, closes #5892)
3707Files: src/testdir/test_autocmd.vim, src/testdir/test_clientserver.vim,
3708 src/testdir/test_digraph.vim, src/testdir/test_expand.vim,
3709 src/testdir/test_expr.vim, src/testdir/test_functions.vim,
3710 src/testdir/test_gui.vim, src/testdir/test_highlight.vim,
3711 src/testdir/test_ins_complete.vim, src/testdir/test_lambda.vim,
3712 src/testdir/test_listdict.vim, src/testdir/test_normal.vim,
3713 src/testdir/test_options.vim, src/testdir/test_preview.vim,
3714 src/testdir/test_user_func.vim, src/testdir/test_vim9_func.vim,
3715 src/testdir/test_vim9_script.vim, src/testdir/test_viminfo.vim,
3716 src/testdir/test_vimscript.vim, src/testdir/test_window_cmd.vim
3717
3718Patch 8.2.0523
3719Problem: Loops are repeated.
3720Solution: Use FOR_ALL_ macros. (Yegappan Lakshmanan, closes #5882)
3721Files: src/buffer.c, src/drawscreen.c, src/evalfunc.c, src/evalwindow.c,
3722 src/globals.h, src/gui_athena.c, src/gui_gtk.c, src/gui_motif.c,
3723 src/gui_w32.c, src/list.c, src/menu.c, src/popupmenu.c,
3724 src/popupwin.c, src/quickfix.c, src/syntax.c, src/time.c,
3725 src/userfunc.c, src/vim9compile.c
3726
3727Patch 8.2.0524
3728Problem: Win32: searching for file matches is slow.
3729Solution: Instead of making another round to find any short filename, check
3730 for the short name right away. Avoid using an ordinary file like a
3731 directory. (Nir Lichtman, closes #5883)
3732Files: src/filepath.c
3733
3734Patch 8.2.0525 (after 8.2.0524)
3735Problem: Win32: typo in assignment and misplaced paren.
3736Solution: Fix the syntax.
3737Files: src/filepath.c
3738
3739Patch 8.2.0526
3740Problem: Gcc 9 complains about empty statement.
3741Solution: Add {}. (Dominique Pellé, closes #5894)
3742Files: src/evalfunc.c
3743
3744Patch 8.2.0527
3745Problem: Vim9: function types insufficiently tested.
3746Solution: Add more tests. Fix white space check. Add "test_vim9" target.
3747Files: src/vim9compile.c, src/testdir/test_vim9_func.vim, src/Makefile,
3748 src/testdir/Makefile, src/testdir/Make_all.mak
3749
3750Patch 8.2.0528
3751Problem: Vim9: function arguments insufficiently tested.
3752Solution: Check types. Add more tests. Fix function with varargs only.
3753Files: src/vim9compile.c, src/userfunc.c, src/testdir/test_vim9_func.vim
3754
3755Patch 8.2.0529
3756Problem: Vim9: function argument with default not checked.
3757Solution: Check type of argument with default value.
3758Files: src/vim9compile.c, src/userfunc.c, src/testdir/test_vim9_func.vim
3759
3760Patch 8.2.0530
3761Problem: Test crashes on s390. (James McCoy)
3762Solution: Explicitly define an 8 big signed type. (closes #5897)
3763Files: src/structs.h
3764
3765Patch 8.2.0531
3766Problem: Various errors not tested.
3767Solution: Add tests. (Yegappan Lakshmanan, closes #5895)
3768Files: src/testdir/test_search.vim, src/testdir/test_source.vim,
3769 src/testdir/test_syntax.vim, src/testdir/test_user_func.vim,
3770 src/testdir/test_vimscript.vim
3771
3772Patch 8.2.0532
3773Problem: Cannot use simplify() as a method.
3774Solution: Add FEARG_1. (closes #5896)
3775Files: runtime/doc/eval.txt, src/evalfunc.c,
3776 src/testdir/test_functions.vim
3777
3778Patch 8.2.0533
3779Problem: Tests using term_wait() can still be flaky.
3780Solution: Increase the wait time when rerunning a test. (James McCoy,
3781 closes #5899) Halve the initial times to make tests run faster
3782 when there is no rerun.
3783Files: src/testdir/term_util.vim, src/testdir/test_arglist.vim,
3784 src/testdir/test_autocmd.vim, src/testdir/test_balloon.vim,
3785 src/testdir/test_bufline.vim, src/testdir/test_channel.vim,
3786 src/testdir/test_cmdline.vim, src/testdir/test_conceal.vim,
3787 src/testdir/test_cursorline.vim, src/testdir/test_debugger.vim,
3788 src/testdir/test_diffmode.vim, src/testdir/test_display.vim,
3789 src/testdir/test_functions.vim, src/testdir/test_highlight.vim,
3790 src/testdir/test_ins_complete.vim, src/testdir/test_mapping.vim,
3791 src/testdir/test_match.vim, src/testdir/test_matchadd_conceal.vim,
3792 src/testdir/test_messages.vim, src/testdir/test_number.vim,
3793 src/testdir/test_popup.vim, src/testdir/test_popupwin.vim,
3794 src/testdir/test_profile.vim, src/testdir/test_search.vim,
3795 src/testdir/test_search_stat.vim, src/testdir/test_startup.vim,
3796 src/testdir/test_startup_utf8.vim,
3797 src/testdir/test_statusline.vim, src/testdir/test_suspend.vim,
3798 src/testdir/test_swap.vim, src/testdir/test_tagjump.vim,
3799 src/testdir/test_terminal.vim, src/testdir/test_terminal_fail.vim,
3800 src/testdir/test_timers.vim, src/testdir/test_vimscript.vim
3801
3802Patch 8.2.0534
3803Problem: Client-server test fails under valgrind.
3804Solution: Use WaitForAssert().
3805Files: src/testdir/test_clientserver.vim
3806
3807Patch 8.2.0535
3808Problem: Regexp patterns not fully tested.
3809Solution: Add more regexp tests and others. (Yegappan Lakshmanan,
3810 closes #5901)
3811Files: src/testdir/test_marks.vim, src/testdir/test_options.vim,
3812 src/testdir/test_regexp_latin.vim, src/testdir/test_search.vim
3813
3814Patch 8.2.0536
3815Problem: Vim9: some compilation code not tested.
3816Solution: Add more test cases.
3817Files: src/evalvars.c, src/proto/evalvars.pro, src/vim9compile.c,
3818 src/testdir/test_vim9_expr.vim
3819
3820Patch 8.2.0537
3821Problem: Vim9: no check for sandbox when setting v:var.
3822Solution: Check for sandbox.
3823Files: src/evalvars.c, src/testdir/test_vim9_script.vim
3824
3825Patch 8.2.0538
3826Problem: Vim9: VAR_PARTIAL is not used during compilation.
3827Solution: Remove VAR_PARTIAL.
3828Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c
3829
3830Patch 8.2.0539
3831Problem: Comparing two NULL list fails.
3832Solution: Change the order of comparing two lists.
3833Files: src/list.c, src/testdir/test_assert.vim
3834
3835Patch 8.2.0540
3836Problem: Regexp and other code not tested.
3837Solution: Add more tests. (Yegappan Lakshmanan, closes #5904)
3838Files: src/testdir/test_backspace_opt.vim, src/testdir/test_expr.vim,
3839 src/testdir/test_increment.vim, src/testdir/test_normal.vim,
3840 src/testdir/test_options.vim, src/testdir/test_regexp_latin.vim,
3841 src/testdir/test_search.vim, src/testdir/test_substitute.vim,
3842 src/testdir/test_terminal.vim, src/testdir/test_virtualedit.vim
3843
3844Patch 8.2.0541
3845Problem: Travis CI does not give compiler warnings.
3846Solution: Add flags for warnings. Fix uncovered problems. (Ozaki Kiichi,
3847 closes #5898)
3848Files: .travis.yml, ci/config.mk.clang.sed, ci/config.mk.gcc.sed,
3849 ci/config.mk.sed, src/if_perl.xs, src/if_ruby.c,
3850 src/libvterm/t/harness.c
3851
3852Patch 8.2.0542
3853Problem: No test for E386.
3854Solution: Add a test. (Dominique Pellé, closes #5911)
3855Files: src/testdir/test_search.vim
3856
3857Patch 8.2.0543
3858Problem: Vim9: function with varargs does not work properly.
3859Solution: Improve function type spec and add tests. Fix bugs.
3860Files: runtime/doc/vim9.txt, src/vim9compile.c, src/vim9execute.c,
3861 src/structs.h, src/testdir/test_vim9_func.vim
3862
3863Patch 8.2.0544
3864Problem: Memory leak in search test.
3865Solution: Free msgbuf. (Dominique Pellé, closes #5912)
3866Files: src/search.c
3867
3868Patch 8.2.0545
3869Problem: Unused arguments ignored in non-standard way.
3870Solution: Add UNUSED instead of (void).
3871Files: src/libvterm/t/harness.c
3872
3873Patch 8.2.0546
3874Problem: Vim9: varargs implementation is inefficient.
3875Solution: Create list without moving the arguments.
3876Files: src/vim9compile.c, src/vim9execute.c
3877
3878Patch 8.2.0547
3879Problem: Win32: restoring screen not always done right.
3880Solution: Use a more appropriate method. (Nobuhiro Takasaki, closes #5909)
3881Files: src/os_win32.c
3882
3883Patch 8.2.0548
3884Problem: Vim9: not all possible func type errors tested.
3885Solution: Add more tests.
3886Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
3887
3888Patch 8.2.0549
3889Problem: User systemd files not recognized.
3890Solution: Add filetype patterns. (Kevin Locke, closes #5914)
3891Files: runtime/filetype.vim, src/testdir/test_filetype.vim
3892
3893Patch 8.2.0550
3894Problem: Some changes in the libvterm upstream code.
3895Solution: Include some changes.
3896Files: src/libvterm/t/harness.c
3897
3898Patch 8.2.0551
3899Problem: Not all code for options is tested.
3900Solution: Add more tests. (Yegappan Lakshmanan, closes #5913)
3901Files: src/testdir/test_options.vim, src/testdir/test_python3.vim,
3902 src/testdir/test_undo.vim, src/testdir/test_vimscript.vim
3903
3904Patch 8.2.0552
3905Problem: Vim9: some errors not covered by tests.
3906Solution: Add more tests. Check Funcref argument types.
3907Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
3908
3909Patch 8.2.0553 (after 8.2.0550)
3910Problem: Error for unused argument.
3911Solution: Add UNUSED.
3912Files: src/libvterm/t/harness.c
3913
3914Patch 8.2.0554
3915Problem: The GUI doesn't set t_Co.
3916Solution: In the GUI set t_Co to 256 * 256 * 256. (closes #5903)
3917Files: src/term.c, src/proto/term.pro, src/gui.c,
3918 src/testdir/test_gui.vim
3919
3920Patch 8.2.0555
3921Problem: Vim9: line continuation is not always needed.
3922Solution: Recognize continuation lines automatically in list and dict.
3923Files: runtime/doc/vim9.txt, src/vim9compile.c,
3924 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim
3925
3926Patch 8.2.0556
3927Problem: Vim9: memory leak when finding common type.
3928Solution: Store allocated memory in type growarray.
3929Files: src/vim9compile.c
3930
3931Patch 8.2.0557
3932Problem: No IPv6 support for channels.
3933Solution: Add IPv6 support. (Ozaki Kiichi, closes #5893)
3934Files: .travis.yml, runtime/doc/channel.txt, runtime/doc/various.txt,
3935 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/auto/configure,
3936 src/channel.c, src/config.h.in, src/configure.ac, src/evalfunc.c,
3937 src/proto/channel.pro, src/testdir/check.vim,
3938 src/testdir/runtest.vim, src/testdir/test_cdo.vim,
3939 src/testdir/test_channel.py, src/testdir/test_channel.vim,
3940 src/testdir/test_channel_6.py, src/testdir/test_escaped_glob.vim,
3941 src/testdir/test_getcwd.vim, src/testdir/test_hide.vim
3942
3943Patch 8.2.0558
3944Problem: Vim9: dict code not covered by tests.
3945Solution: Remove dead code, adjust test case.
3946Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
3947
3948Patch 8.2.0559
3949Problem: Clearing a struct is verbose.
3950Solution: Define and use CLEAR_FIELD() and CLEAR_POINTER().
3951Files: src/vim.h, src/blowfish.c, src/channel.c, src/charset.c,
3952 src/clipboard.c, src/diff.c, src/eval.c, src/evalfunc.c,
3953 src/ex_cmds2.c, src/ex_docmd.c, src/ex_getln.c, src/findfile.c,
3954 src/gui_gtk_f.c, src/gui_mac.c, src/gui_motif.c, src/gui_w32.c,
3955 src/gui_x11.c, src/hardcopy.c, src/hashtab.c, src/highlight.c,
3956 src/if_mzsch.c, src/insexpand.c, src/kword_test.c, src/list.c,
3957 src/main.c, src/map.c, src/memfile.c, src/message_test.c,
3958 src/misc1.c, src/netbeans.c, src/normal.c, src/ops.c,
3959 src/option.c, src/os_mswin.c, src/os_win32.c, src/popupmenu.c,
3960 src/quickfix.c, src/regexp.c, src/regexp_bt.c, src/regexp_nfa.c,
3961 src/search.c, src/sign.c, src/spell.c, src/spellfile.c,
3962 src/spellsuggest.c, src/syntax.c, src/tag.c, src/terminal.c,
3963 src/time.c, src/undo.c, src/userfunc.c, src/vim9compile.c,
3964 src/vim9execute.c, src/if_py_both.h
3965
3966Patch 8.2.0560
3967Problem: Compiler warning in tiny build.
3968Solution: Move declaration inside #ifdef. (Dominique Pellé, closes #5915)
3969Files: src/ex_docmd.c
3970
3971Patch 8.2.0561
3972Problem: Vim9: cannot split function call in multiple lines.
3973Solution: Find more arguments in following lines.
3974Files: runtime/doc/vim9.txt, src/vim9compile.c,
3975 src/testdir/test_vim9_script.vim
3976
3977Patch 8.2.0562
3978Problem: Vim9: cannot split an expression into multiple lines.
3979Solution: Continue in next line after an operator.
3980Files: runtime/doc/vim9.txt, src/macros.h, src/vim9compile.c,
3981 src/testdir/test_vim9_expr.vim
3982
3983Patch 8.2.0563
3984Problem: Vim9: cannot split a function line.
3985Solution: Continue in next line so long as the function isn't done.
3986Files: runtime/doc/vim9.txt, src/userfunc.c, src/proto/userfunc.pro,
3987 src/vim9compile.c, src/testdir/test_vim9_func.vim
3988
3989Patch 8.2.0564
3990Problem: Vim9: calling a def function from non-vim9 may fail.
3991Solution: Convert varargs to a list.
3992Files: src/testdir/test_vim9_func.vim, src/vim9execute.c
3993
3994Patch 8.2.0565
3995Problem: Vim9: tests contain superfluous line continuation.
3996Solution: Remove line continuation no longer needed. Skip empty lines.
3997Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
3998 src/testdir/test_vim9_disassemble.vim
3999
4000Patch 8.2.0566
4001Problem: Vim9: variable can be used uninitialized.
4002Solution: Jump to after where variable is used.
4003Files: src/vim9execute.c
4004
4005Patch 8.2.0567
4006Problem: Vim9: cannot put comments halfway expressions.
4007Solution: Support # comments in many places.
4008Files: runtime/doc/vim9.txt, src/vim9compile.c, src/userfunc.c,
4009 src/ex_docmd.c, src/testdir/test_vim9_func.vim,
4010 src/testdir/test_vim9_script.vim
4011
4012Patch 8.2.0568
4013Problem: The man filetype plugin overwrites the unnamed register.
4014Solution: Use the black hole register. (Jason Franklin)
4015Files: runtime/ftplugin/man.vim, src/testdir/test_man.vim
4016
4017Patch 8.2.0569
4018Problem: Build failure with tiny version.
4019Solution: Add #ifdef.
4020Files: src/ex_docmd.c
4021
4022Patch 8.2.0570
4023Problem: Vim9: no error when omitting type from argument.
4024Solution: Enforce specifying argument types.
4025Files: src/userfunc.c, src/ex_eval.c, src/testdir/test_vim9_script.vim,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00004026 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_expr.vim,
Bram Moolenaarc51cf032022-02-26 12:25:45 +00004027 src/testdir/test_vim9_disassemble.vim
4028
4029Patch 8.2.0571
4030Problem: Double free when passing invalid argument to job_start().
4031Solution: Clear the argument when freed. (Masato Nishihata, closes #5926)
4032Files: src/misc2.c, src/testdir/test_channel.vim
4033
4034Patch 8.2.0572 (after 8.2.0571)
4035Problem: Using two lines for free and reset.
4036Solution: Use VIM_CLEAR() instead. (Yegappan Lakshmanan)
4037Files: src/misc2.c
4038
4039Patch 8.2.0573
4040Problem: using :version twice leaks memory
4041Solution: Only initialize variables once. (Dominique Pellé, closes #5917)
4042Files: src/testdir/Make_all.mak, src/testdir/test_alot.vim,
4043 src/testdir/test_version.vim, src/version.c, src/globals.h
4044
4045Patch 8.2.0574
4046Problem: Ipv6 feature not shown in :version output.
4047Solution: Add ipv6 in :version output. (Ozaki Kiichi, closes #5924)
4048Files: runtime/doc/eval.txt, src/version.c
4049
4050Patch 8.2.0575
4051Problem: :digraph! not tested.
4052Solution: Add a test. (Dominique Pellé, closes #5925)
4053Files: src/testdir/test_digraph.vim
4054
4055Patch 8.2.0576
4056Problem: Some errors are not covered by tests.
4057Solution: Add a few more tests. (Dominique Pellé, closes #5920)
4058Files: src/testdir/test_buffer.vim, src/testdir/test_digraph.vim,
4059 src/testdir/test_expr.vim, src/testdir/test_messages.vim
4060
4061Patch 8.2.0577
4062Problem: Not all modifiers supported for :options.
4063Solution: Use all cmdmod.split flags. (closes #4401)
4064Files: src/usercmd.c, src/proto/usercmd.pro, src/scriptfile.c,
4065 src/testdir/test_options.vim, src/testdir/test_usercommands.vim
4066
4067Patch 8.2.0578
4068Problem: Heredoc for interfaces does not support "trim".
4069Solution: Update the script heredoc support to be same as the :let command.
4070 (Yegappan Lakshmanan, closes #5916)
4071Files: runtime/doc/if_lua.txt, runtime/doc/if_mzsch.txt,
4072 runtime/doc/if_perl.txt, runtime/doc/if_pyth.txt,
4073 runtime/doc/if_ruby.txt, runtime/doc/if_tcl.txt, src/evalvars.c,
4074 src/ex_getln.c, src/proto/evalvars.pro, src/testdir/test86.in,
4075 src/testdir/test87.in, src/testdir/test_lua.vim,
4076 src/testdir/test_perl.vim, src/testdir/test_python2.vim,
4077 src/testdir/test_python3.vim, src/testdir/test_pyx2.vim,
4078 src/testdir/test_pyx3.vim, src/testdir/test_ruby.vim,
4079 src/testdir/test_tcl.vim, src/userfunc.c, src/vim9compile.c
4080
4081Patch 8.2.0579
4082Problem: Coverity warns for unused value.
4083Solution: Change order and use "else if".
4084Files: src/os_unix.c
4085
4086Patch 8.2.0580
4087Problem: Window size wrong if 'ea' is off and 'splitright' is on and
4088 splitting then closing a window.
4089Solution: Put abandoned window space in the right place. (Mark Waggoner)
4090Files: src/testdir/test_winbuf_close.vim, src/window.c
4091
4092Patch 8.2.0581 (after 8.2.0547)
4093Problem: Win32 console: the cursor position is always top-left.
4094Solution: Revert the patch for restoring screen.
4095Files: src/os_win32.c
4096
4097Patch 8.2.0582
4098Problem: Color ramp test does not show text colors.
4099Solution: Add a row of 16 text colors and 16 bold text colors.
4100Files: src/testdir/color_ramp.vim
4101
4102Patch 8.2.0583
4103Problem: Vim9: # comment not recognized in :def function.
4104Solution: Recognize and skip # comment.
4105Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
4106
4107Patch 8.2.0584
4108Problem: Viminfo file uses obsolete function file_readable().
4109Solution: Use filereadable(). (closes #5934)
4110Files: src/session.c
4111
4112Patch 8.2.0585
4113Problem: Vim9: # comment not recognized after :vim9script.
4114Solution: Check script type. Make comment after ":echo" work. And in
4115 several other places.
4116Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/eval.c,
4117 src/vim9compile.c, src/testdir/test_vim9_script.vim
4118
4119Patch 8.2.0586
4120Problem: Vim9: # comment not sufficiently tested
4121Solution: Check for preceding white space.
4122Files: src/eval.c, src/testdir/test_vim9_script.vim
4123
4124Patch 8.2.0587
4125Problem: Compiler warning for unused variable.
4126Solution: Add UNUSED.
4127Files: src/ex_docmd.c
4128
4129Patch 8.2.0588
4130Problem: Putty does not use "sgr" 'ttymouse' by default.
4131Solution: Make "sgr" the default for Putty. (Christian Brabandt,
4132 closes #5942)
4133Files: src/term.c
4134
4135Patch 8.2.0589
4136Problem: .bsd file type not recognized.
4137Solution: Recognize .bsd as BSDL. (Daniel Kho, closes #5945)
4138Files: runtime/filetype.vim, src/testdir/test_filetype.vim
4139
4140Patch 8.2.0590
4141Problem: No 'backspace' value allows ignoring the insertion point.
4142Solution: Add the "nostop" and 3 values. (Christian Brabandt, closes #5940)
4143Files: runtime/doc/options.txt, src/edit.c, src/option.c, src/option.h,
4144 src/optionstr.c, src/testdir/gen_opt_test.vim,
4145 src/testdir/test_backspace_opt.vim
4146
4147Patch 8.2.0591
4148Problem: MS-Windows: should always support IPv6
4149Solution: Add build flag. (Ozaki Kiichi, closes #5944)
4150Files: src/Make_cyg_ming.mak, src/Make_mvc.mak
4151
4152Patch 8.2.0592
4153Problem: MS-Windows with VTP: cursor is not made invisible.
4154Solution: Output the code to make the cursor visible or invisible. (Nobuhiro
4155 Takasaki, closes #5941)
4156Files: src/os_win32.c
4157
4158Patch 8.2.0593
4159Problem: Finding a user command is not optimal.
4160Solution: Start further down in the list of commands.
4161Files: src/ex_cmds.h, src/ex_docmd.c
4162
4163Patch 8.2.0594
4164Problem: MS-Windows: cannot build with WINVER set to 0x0501.
4165Solution: Only use inet_ntop() when available. (Ozaki Kiichi, closes #5946)
4166Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/auto/configure,
4167 src/channel.c, src/config.h.in, src/configure.ac
4168
4169Patch 8.2.0595
4170Problem: Vim9: not all commands using ends_excmd() tested.
4171Solution: Find # comment after regular commands. Add more tests. Report
4172 error for where it was caused.
4173Files: src/ex_docmd.c, src/vim9compile.c, src/vim9execute.c, src/usercmd.c,
4174 src/evalfunc.c, src/userfunc.c, src/proto/userfunc.pro,
4175 src/testdir/test_vim9_script.vim,
4176 src/testdir/test_vim9_disassemble.vim
4177
4178Patch 8.2.0596
4179Problem: Crash in test49.
4180Solution: Check the right pointer.
4181Files: src/userfunc.c, src/testdir/test_eval.ok
4182
4183Patch 8.2.0597
4184Problem: Test_eval is old style.
4185Solution: Change some tests to a new style test.
4186Files: src/testdir/test_eval.in, src/testdir/test_eval.ok,
4187 src/testdir/test_eval_stuff.vim
4188
4189Patch 8.2.0598
4190Problem: Test_eval_stuff fails in normal terminal.
4191Solution: Close the new window.
4192Files: src/testdir/test_eval_stuff.vim
4193
4194Patch 8.2.0599
4195Problem: Netbeans interface insufficiently tested.
4196Solution: Add more tests. (Yegappan Lakshmanan, closes #5921)
4197Files: runtime/doc/netbeans.txt, src/netbeans.c, src/os_win32.c,
4198 src/testdir/runtest.vim, src/testdir/test_netbeans.py,
4199 src/testdir/test_netbeans.vim
4200
4201Patch 8.2.0600
4202Problem: Vim9: cannot read or write w:, t: and b: variables.
4203Solution: Implement load and store for w:, t: and b: variables.
Bram Moolenaar47c532e2022-03-19 15:18:53 +00004204 (closes #5950)
Bram Moolenaarc51cf032022-02-26 12:25:45 +00004205Files: src/testdir/test_vim9_disassemble.vim,
4206 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim,
4207 src/vim9.h, src/vim9compile.c, src/vim9execute.c
4208
4209Patch 8.2.0601
4210Problem: Vim9: :unlet is not compiled.
4211Solution: Implement :unlet instruction and check for errors.
4212Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9.h,
4213 src/vim9execute.c, src/evalvars.c, src/proto/evalvars.pro,
4214 src/eval.c, src/testdir/test_vim9_script.vim,
4215 src/testdir/test_vim9_disassemble.vim
4216
4217Patch 8.2.0602
4218Problem: :unlet $VAR does not work properly.
4219Solution: Make ":lockvar $VAR" fail. Check the "skip" flag.
4220Files: src/evalvars.c, src/globals.h, src/testdir/test_vimscript.vim
4221
4222Patch 8.2.0603
4223Problem: Configure does not detect moonjit.
4224Solution: Add check for moonjit. (Shlomi Fish, closes #5947)
4225Files: src/configure.ac, src/auto/configure
4226
4227Patch 8.2.0604
4228Problem: :startinsert in a terminal window used later.
4229Solution: Ignore :startinsert in a terminal window. (closes #5952)
4230Files: src/ex_docmd.c, src/testdir/test_terminal.vim
4231
4232Patch 8.2.0605
4233Problem: Vim9: cannot unlet an environment variable.
4234Solution: Implement unlet for $VAR.
4235Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
4236 src/testdir/test_vim9_script.vim,
4237 src/testdir/test_vim9_disassemble.vim
4238
4239Patch 8.2.0606
4240Problem: Several syntax HL errors not checked.
4241Solution: Add tests. (Yegappan Lakshmanan, closes #5954)
4242Files: src/testdir/test_syntax.vim
4243
4244Patch 8.2.0607
4245Problem: Gcc warns for using uninitialized variable. (John Marriott)
4246Solution: Set name_end also for environment variables.
4247Files: src/evalvars.c
4248
4249Patch 8.2.0608
4250Problem: Warning from clang when building message test.
4251Solution: Use a void pointer. (Dominique Pellé, closes #5958)
4252Files: src/message_test.c
4253
4254Patch 8.2.0609
4255Problem: Configure does not detect moonjit correctly.
4256Solution: Double the brackets. (Ozaki Kiichi)
4257Files: src/configure.ac, src/auto/configure
4258
4259Patch 8.2.0610
4260Problem: Some tests are still old style.
4261Solution: Convert to new style tests. (Yegappan Lakshmanan, closes #5957)
4262Files: src/testdir/test_blob.vim, src/testdir/test_cursor_func.vim,
4263 src/testdir/test_eval.in, src/testdir/test_eval.ok,
4264 src/testdir/test_eval_func.vim, src/testdir/test_eval_stuff.vim,
4265 src/testdir/test_expr.vim, src/testdir/test_filter_map.vim,
4266 src/testdir/test_functions.vim, src/testdir/test_listdict.vim,
4267 src/testdir/test_sort.vim, src/testdir/test_syntax.vim,
4268 src/testdir/test_utf8.vim, src/testdir/test_vimscript.vim
4269
4270Patch 8.2.0611
4271Problem: Vim9: no check for space before #comment.
4272Solution: Add space checks.
4273Files: src/eval.c, src/evalvars.c, src/ex_docmd.c,
4274 src/testdir/test_vim9_script.vim
4275
4276Patch 8.2.0612
4277Problem: Vim9: no check for space before #comment.
4278Solution: Add space checks.
4279Files: src/ex_eval.c, src/ex_cmds.c, src/regexp.c, src/proto/regexp.pro,
4280 src/gui.c, src/highlight.c, src/testdir/test_vim9_script.vim,
4281 src/testdir/test_sort.vim
4282
4283Patch 8.2.0613
4284Problem: Vim9: no check for space before #comment.
4285Solution: Add space checks.
4286Files: src/highlight.c, src/menu.c, src/syntax.c,
4287 src/testdir/test_vim9_script.vim,
4288 runtime/lang/menu_de_de.latin1.vim
4289
4290Patch 8.2.0614
4291Problem: Get ml_get error when deleting a line in 'completefunc'. (Yegappan
4292 Lakshmanan)
4293Solution: Lock the text while evaluating 'completefunc'.
4294Files: src/insexpand.c, src/globals.h, src/edit.c, src/ex_getln.c,
4295 src/undo.c, src/testdir/test_edit.vim, src/testdir/test_excmd.vim,
4296 src/testdir/test_gf.vim, src/testdir/test_popup.vim,
4297 src/testdir/test_ex_mode.vim, runtime/doc/insert.txt
4298
4299Patch 8.2.0615
4300Problem: Regexp benchmark test is old style.
4301Solution: Make it a new style test. Fix using a NULL list. Add more tests.
4302 (Yegappan Lakshmanan, closes #5963)
4303Files: src/evalbuffer.c, src/testdir/Make_dos.mak,
4304 src/testdir/Make_ming.mak, src/testdir/Makefile,
4305 src/testdir/bench_re_freeze.in, src/testdir/bench_re_freeze.vim,
4306 src/testdir/test_autocmd.vim, src/testdir/test_bench_regexp.vim,
4307 src/testdir/test_blob.vim, src/testdir/test_bufline.vim,
4308 src/testdir/test_channel.vim, src/testdir/test_cmdline.vim,
4309 src/testdir/test_functions.vim, src/testdir/test_ins_complete.vim,
4310 src/testdir/test_popupwin.vim, src/testdir/test_prompt_buffer.vim,
4311 src/testdir/test_tagjump.vim, src/testdir/test_window_cmd.vim
4312
4313Patch 8.2.0616
4314Problem: Build error when disabling the diff feature.
4315Solution: Move parenthesis outside of #ifdef. (Tom Ryder)
4316Files: src/drawline.c
4317
4318Patch 8.2.0617
4319Problem: New error check triggers in Swedish menu.
4320Solution: Insert backslash. (Mats Tegner, closes #5966)
4321Files: runtime/lang/menu_sv_se.latin1.vim
4322
4323Patch 8.2.0618
4324Problem: Echoing a null list results in no output. (Yegappan Lakshmanan)
Bram Moolenaar47c532e2022-03-19 15:18:53 +00004325Solution: Return "[]" instead of NULL in echo_string_core().
Bram Moolenaarc51cf032022-02-26 12:25:45 +00004326Files: src/eval.c, src/testdir/test_messages.vim
4327
4328Patch 8.2.0619
4329Problem: Null dict is not handled like an empty dict.
4330Solution: Fix the code and add tests. (Yegappan Lakshmanan, closes #5968)
4331Files: src/dict.c, src/eval.c, src/testdir/test_blob.vim,
4332 src/testdir/test_expr.vim, src/testdir/test_filter_map.vim,
4333 src/testdir/test_let.vim, src/testdir/test_listdict.vim,
4334 src/testdir/test_search.vim, src/testdir/test_unlet.vim,
4335 src/testdir/test_usercommands.vim, src/testdir/test_vimscript.vim
4336
4337Patch 8.2.0620
4338Problem: Error in menu translations.
4339Solution: Insert a backslash before a space.
4340Files: runtime/lang/menu_it_it.latin1.vim,
4341 runtime/lang/menu_chinese_gb.936.vim
4342
4343Patch 8.2.0621
4344Problem: After running tests asan files may remain.
4345Solution: Clean up asan files with "make testclean".
4346Files: src/testdir/Makefile, src/Makefile
4347
4348Patch 8.2.0622
4349Problem: Haiku: GUI does not compile.
4350Solution: Various fixes. (Emir Sarı, closes #5961)
4351Files: Filelist, README.md, READMEdir/README_haiku.txt,
4352 runtime/doc/os_haiku.txt, src/Makefile, src/beval.h,
4353 src/gui_haiku.cc, src/proto/gui_haiku.pro
4354
4355Patch 8.2.0623
4356Problem: Typo in test comment. (Christ van Willegen)
4357Solution: Avoid mixing up a data structure with a body part.
4358Files: src/testdir/test_listdict.vim
4359
4360Patch 8.2.0624
4361Problem: Vim9: no check for space before #comment.
4362Solution: Add space checks. Fix :throw with double quoted string.
4363Files: src/usercmd.c, src/userfunc.c, src/vim9compile.c,
4364 src/testdir/test_vim9_script.vim
4365
4366Patch 8.2.0625
4367Problem: Vim9: confusing error when calling unknown function.
4368Solution: Give error while compiling.
4369Files: src/vim9compile.c, src/vim9execute.c,
4370 src/testdir/test_vim9_func.vim
4371
4372Patch 8.2.0626
4373Problem: Vim9: wrong syntax of function in Vim9 script.
4374Solution: Give error for missing space. Implement :echomsg and :echoerr.
4375 (closes #5670)
4376Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h, src/userfunc.c,
4377 src/eval.c, src/globals.h, src/testdir/test_vim9_func.vim,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00004378 src/testdir/test_vim9_disassemble.vim,
Bram Moolenaarc51cf032022-02-26 12:25:45 +00004379 src/testdir/test_vim9_script.vim
4380
4381Patch 8.2.0627
4382Problem: Vim9: error message does not work. (Yegappan Lakshmanan)
4383Solution: Swap lines.
4384Files: src/userfunc.c
4385
4386Patch 8.2.0628
4387Problem: Error in menu translations.
4388Solution: Insert a backslash before a space in one more file. (Shun Bai,
4389 Emir Sarı)
4390Files: runtime/lang/menu_zh_cn.utf-8.vim,
4391 runtime/lang/menu_ca_es.latin1.vim,
4392 runtime/lang/menu_cs_cz.iso_8859-2.vim,
4393 runtime/lang/menu_cs_cz.utf-8.vim,
4394 runtime/lang/menu_czech_czech_republic.1250.vim,
4395 runtime/lang/menu_czech_czech_republic.ascii.vim,
4396 runtime/lang/menu_da.utf-8.vim,
4397 runtime/lang/menu_fi_fi.latin1.vim,
4398 runtime/lang/menu_hu_hu.iso_8859-2.vim,
4399 runtime/lang/menu_hu_hu.utf-8.vim,
4400 runtime/lang/menu_is_is.latin1.vim,
4401 runtime/lang/menu_no_no.latin1.vim, runtime/lang/menu_pt_br.vim,
4402 runtime/lang/menu_pt_pt.vim,
4403 runtime/lang/menu_sk_sk.iso_8859-2.vim,
4404 runtime/lang/menu_sl_si.latin2.vim,
4405 runtime/lang/menu_slovak_slovak_republic.1250.vim,
4406 runtime/lang/menu_tr_tr.cp1254.vim,
4407 runtime/lang/menu_tr_tr.iso_8859-9.vim,
4408 runtime/lang/menu_tr_tr.utf-8.vim, runtime/lang/menu_vi_vn.vim
4409
4410Patch 8.2.0629
4411Problem: Setting a boolean option to v:false does not work.
4412Solution: Do not use the string representation of the value. (Christian
4413 Brabandt, closes #5974)
4414Files: src/evalvars.c, src/testdir/test_options.vim
4415
4416Patch 8.2.0630
4417Problem: "make tags" does not cover Haiku GUI file.
4418Solution: Add *.cc files.
4419Files: src/Make_all.mak
4420
4421Patch 8.2.0631
4422Problem: Haiku file formatted with wrong tabstop.
4423Solution: Use normal tabstop. Fix white space.
4424Files: src/gui_haiku.cc
4425
4426Patch 8.2.0632
4427Problem: Crash when using Haiku.
4428Solution: Lock the screen. (closes #5975, closes #5973)
4429Files: src/screen.c
4430
4431Patch 8.2.0633
4432Problem: Crash when using null partial in filter().
4433Solution: Fix crash. Add more tests. (Yegappan Lakshmanan, closes #5976)
4434Files: src/eval.c, src/testdir/test_blob.vim,
4435 src/testdir/test_channel.vim, src/testdir/test_eval_stuff.vim,
4436 src/testdir/test_execute_func.vim, src/testdir/test_expr.vim,
4437 src/testdir/test_filter_map.vim, src/testdir/test_fold.vim,
4438 src/testdir/test_functions.vim, src/testdir/test_let.vim,
4439 src/testdir/test_listdict.vim, src/testdir/test_partial.vim,
4440 src/testdir/test_usercommands.vim
4441
4442Patch 8.2.0634
4443Problem: Crash with null partial and blob.
4444Solution: Check for NULL pointer. Add more tests. (Yegappan Lakshmanan,
4445 closes #5984)
4446Files: src/eval.c, src/list.c, src/testdir/test_blob.vim,
4447 src/testdir/test_bufwintabinfo.vim, src/testdir/test_cd.vim,
4448 src/testdir/test_channel.vim, src/testdir/test_cursor_func.vim,
4449 src/testdir/test_eval_stuff.vim, src/testdir/test_expr.vim,
4450 src/testdir/test_filter_map.vim, src/testdir/test_fnamemodify.vim,
4451 src/testdir/test_functions.vim, src/testdir/test_getvar.vim,
4452 src/testdir/test_listdict.vim, src/testdir/test_messages.vim,
4453 src/testdir/test_partial.vim, src/testdir/test_quickfix.vim,
4454 src/testdir/test_tabpage.vim, src/testdir/test_vimscript.vim,
4455 src/testdir/test_window_cmd.vim, src/testdir/test_window_id.vim,
4456 src/testdir/test_writefile.vim
4457
4458Patch 8.2.0635
4459Problem: When using 256 colors DarkYellow does not show expected color.
4460Solution: Use color 3 instead of 130. (Romain Lafourcade, closes #5985)
4461Files: src/highlight.c
4462
4463Patch 8.2.0636
4464Problem: :messages does not show the maintainer when $LANG is unset.
4465Solution: Call get_mess_lang() if available. (closes #5978)
4466Files: src/message.c
4467
4468Patch 8.2.0637
4469Problem: Incsearch highlighting does not work for ":sort!".
4470Solution: Skip over the exclamation point. (closes #5983)
4471Files: src/ex_getln.c, src/testdir/test_search.vim,
4472 src/testdir/dumps/Test_incsearch_sort_02.dump
4473
4474Patch 8.2.0638
4475Problem: MS-Windows: messages test fails.
4476Solution: Clear environment variables.
4477Files: src/testdir/test_messages.vim
4478
4479Patch 8.2.0639
4480Problem: MS-Windows: messages test still fails.
4481Solution: Filter out the maintainer message.
4482Files: src/testdir/test_messages.vim
4483
4484Patch 8.2.0640
4485Problem: Vim9: expanding `=expr` does not work.
4486Solution: Find wildcards in not compiled commands. Reorganize test files.
4487Files: Filelist, src/vim9.h, src/vim9compile.c, src/vim9execute.c,
4488 src/testdir/vim9.vim, src/testdir/test_vim9_cmd.vim,
4489 src/testdir/test_vim9_disassemble.vim,
4490 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim,
4491 src/testdir/Make_all.mak
4492
4493Patch 8.2.0641
4494Problem: Vim9: `=expr` not expanded in :hardcopy and "syntax include".
4495Solution: Add the EX_EXPAND flag. Expend "syntax include".
4496Files: src/ex_cmds.h, src/vim9compile.c, src/vim9execute.c,
4497 src/testdir/test_vim9_cmd.vim
4498
4499Patch 8.2.0642
4500Problem: Vim9: using invalid index.
4501Solution: Check index for being valid. Fix memory leak.
4502Files: src/vim9compile.c, src/clientserver.c
4503
4504Patch 8.2.0643 (after 8.2.0635)
4505Problem: Terminal uses brown instead of dark yellow. (Romain Lafourcade)
4506Solution: Use color index 3 instead of 130. (closes #5993)
4507Files: src/terminal.c
4508
4509Patch 8.2.0644
4510Problem: Insufficient testing for invalid function arguments.
4511Solution: Add more tests. (Yegappan Lakshmanan, closes #5988)
4512Files: runtime/doc/eval.txt, src/testdir/test_bufline.vim,
4513 src/testdir/test_channel.vim, src/testdir/test_clientserver.vim,
4514 src/testdir/test_expr.vim, src/testdir/test_functions.vim,
4515 src/testdir/test_listener.vim, src/testdir/test_match.vim,
4516 src/testdir/test_menu.vim, src/testdir/test_quickfix.vim,
4517 src/testdir/test_registers.vim, src/testdir/test_reltime.vim,
4518 src/testdir/test_terminal.vim, src/testdir/test_textprop.vim,
4519 src/testdir/test_window_cmd.vim, src/testdir/test_window_id.vim,
4520 src/testdir/test_writefile.vim
4521
4522Patch 8.2.0645
4523Problem: MS-Windows terminal: CTRL-C does not get to child job.
4524Solution: Remove CREATE_NEW_PROCESS_GROUP from CreateProcessW(). (Nobuhiro
4525 Takasaki, closes #5987)
4526Files: src/terminal.c
4527
4528Patch 8.2.0646
4529Problem: t_Co uses the value of $COLORS in the GUI. (Masato Nishihata)
4530Solution: Ignore $COLORS for the GUI. (closes #5992)
4531Files: src/os_unix.c, src/term.c
4532
4533Patch 8.2.0647
4534Problem: MS-Windows: repeat count for events was not used.
4535Solution: Check the repeat count. (Nobuhiro Takasaki, closes #5989)
4536Files: src/os_win32.c
4537
4538Patch 8.2.0648
4539Problem: Semicolon search does not work in first line.
4540Solution: Allow the cursor to be in line zero. (Christian Brabandt,
4541 closes #5996)
4542Files: src/ex_docmd.c, src/testdir/test_cmdline.vim
4543
4544Patch 8.2.0649
4545Problem: Undo problem when an InsertLeave autocommand resets undo. (Kutsan
4546 Kaplan)
4547Solution: Do not create a new undo block when leaving Insert mode.
4548Files: src/edit.c, src/testdir/test_edit.vim
4549
4550Patch 8.2.0650
4551Problem: Vim9: script function can be deleted.
4552Solution: Disallow deleting script function. Delete functions when sourcing
4553 a script again.
4554Files: src/userfunc.c, src/proto/userfunc.pro, src/evalfunc.c,
4555 src/vim9compile.c, src/vim9execute.c, src/vim9script.c,
4556 src/scriptfile.c, src/testing.c, src/testdir/test_vim9_expr.vim,
4557 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
4558
4559Patch 8.2.0651
4560Problem: Old style benchmark test still in list of distributed files.
4561Solution: Remove the files from the list.
4562Files: Filelist
4563
4564Patch 8.2.0652 (after 8.2.0650)
4565Problem: Compiler warning for char conversion.
4566Solution: Use unsigned char buffer.
4567Files: src/userfunc.c
4568
4569Patch 8.2.0653 (after 8.2.0650)
4570Problem: using uninitialized pointer.
4571Solution: Move assignment up. (John Marriott)
4572Files: src/userfunc.c, src/testdir/test_vim9_script.vim
4573
4574Patch 8.2.0654
4575Problem: Building with Python fails.
4576Solution: Add missing argument.
4577Files: src/if_py_both.h
4578
4579Patch 8.2.0655
4580Problem: Search code not sufficiently tested.
4581Solution: Add more tests. (Yegappan Lakshmanan, closes #5999)
4582Files: src/testdir/test_charsearch.vim, src/testdir/test_gn.vim,
4583 src/testdir/test_goto.vim, src/testdir/test_ins_complete.vim,
4584 src/testdir/test_normal.vim, src/testdir/test_search.vim,
4585 src/testdir/test_textformat.vim, src/testdir/test_textobjects.vim,
4586 src/testdir/test_visual.vim
4587
4588Patch 8.2.0656
4589Problem: MS-Windows: redrawing right screen edge may not be needed.
4590Solution: Check the build version. (Nobuhiro Takasaki, closes #6002)
4591Files: src/drawscreen.c, src/os_win32.c, src/proto/os_win32.pro
4592
4593Patch 8.2.0657
4594Problem: Vim9: no check if called variable is a FuncRef.
4595Solution: Add a type check.
4596Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
4597 src/testdir/test_vim9_expr.vim
4598
4599Patch 8.2.0658 (after 8.2.0646)
4600Problem: HP-UX build fails when setenv() is not defined.
4601Solution: Change "colors" to "t_colors". (John Marriott)
4602Files: src/os_unix.c
4603
4604Patch 8.2.0659
4605Problem: Vim9: no test for equal func type.
4606Solution: Add a test. Improve type check.
4607Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
4608
4609Patch 8.2.0660
4610Problem: The search.c file is a bit big.
4611Solution: Split off the text object code to a separate file. (Yegappan
4612 Lakshmanan, closes #6007)
4613Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
4614 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
4615 src/proto.h, src/proto/search.pro, src/proto/textobject.pro,
4616 src/search.c, src/textobject.c
4617
4618Patch 8.2.0661
4619Problem: Eval test is still old style.
4620Solution: Change into new style tests. (Yegappan Lakshmanan, closes #6009)
4621Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
4622 src/testdir/test_eval.in, src/testdir/test_eval.ok,
4623 src/testdir/test_eval_stuff.vim
4624
4625Patch 8.2.0662
4626Problem: Cannot use input() in a channel callback.
4627Solution: Reset vgetc_busy. (closes #6010)
4628Files: src/globals.h, src/ex_getln.c, src/evalfunc.c,
4629 src/testdir/test_channel.vim
4630
4631Patch 8.2.0663
4632Problem: Not all systemd temp files are recognized.
4633Solution: Add two more patterns. (Jamie Macdonald, closes #6003)
4634Files: runtime/filetype.vim, src/testdir/test_filetype.vim
4635
4636Patch 8.2.0664
4637Problem: Included undesired changes in Makefile.
4638Solution: Revert the changes.
4639Files: src/Makefile
4640
4641Patch 8.2.0665
4642Problem: Wrongly assuming Python executable is called "python".
4643Solution: Use detected python command. (Ken Takata, closes #6016)
4644 Also use CheckFunction if possible.
4645Files: src/testdir/test_terminal.vim, src/testdir/check.vim
4646
4647Patch 8.2.0666
4648Problem: Ruby test fails on MS-Windows.
4649Solution: Remove the "maintainer" line. (Ken Takata, closes #6015)
4650Files: src/testdir/shared.vim, src/testdir/test_messages.vim,
4651 src/testdir/test_ruby.vim
4652
4653Patch 8.2.0667
4654Problem: Cannot install Haiku version from source.
4655Solution: Update Makefile and rdef file. (Emir Sarı, closes #6013)
4656Files: Filelist, READMEdir/README_haiku.txt, runtime/doc/os_haiku.txt,
4657 src/Makefile, src/os_haiku.rdef.in, src/os_haiku.rdef
4658
4659Patch 8.2.0668
4660Problem: Compiler warning for int/size_t usage.
4661Solution: Change "int" to "size_t". (Mike Williams)
4662Files: src/vim9execute.c
4663
4664Patch 8.2.0669
4665Problem: MS-Windows: display in VTP is a bit slow.
4666Solution: Optimize the code. (Nobuhiro Takasaki, closes #6014)
4667Files: src/os_win32.c, src/screen.c
4668
4669Patch 8.2.0670
4670Problem: Cannot change window when evaluating 'completefunc'.
4671Solution: Make a difference between not changing text or buffers and also
4672 not changing window.
4673Files: src/ex_getln.c, src/beval.c, src/change.c, src/edit.c, src/eval.c,
4674 src/ex_docmd.c, src/insexpand.c, src/globals.h, src/indent.c,
4675 src/map.c, src/window.c, src/proto/ex_getln.pro, src/register.c,
4676 src/undo.c, src/testdir/test_edit.vim,
4677 src/testdir/test_ins_complete.vim, src/testdir/test_popup.vim
4678
4679Patch 8.2.0671
4680Problem: Haiku: compiler warnings.
4681Solution: Avoid the warnings. Drop display_errors() copy. (Emir Sarı,
4682 closes #6018)
4683Files: .gitignore, src/gui.c, src/gui_haiku.cc
4684
4685Patch 8.2.0672
4686Problem: Heredoc in scripts does not accept lower case marker.
4687Solution: Allow lower case only in non-Vim scripts. (Ken Takata,
4688 closes #6019)
4689Files: src/evalvars.c, src/testdir/test_lua.vim,
4690 src/testdir/test_perl.vim, src/testdir/test_python2.vim,
4691 src/testdir/test_python3.vim, src/testdir/test_pyx2.vim,
4692 src/testdir/test_pyx3.vim, src/testdir/test_ruby.vim
4693
4694Patch 8.2.0673
4695Problem: Cannot build Haiku in shadow directory.
4696Solution: Add symlink. (Ozaki Kiichi, closes #6023)
4697Files: src/Makefile
4698
4699Patch 8.2.0674
4700Problem: Some source files are too big.
4701Solution: Move text formatting functions to a new file. (Yegappan
4702 Lakshmanan, closes #6021)
4703Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
4704 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
4705 src/edit.c, src/getchar.c, src/ops.c, src/option.c, src/proto.h,
4706 src/proto/edit.pro, src/proto/getchar.pro, src/proto/ops.pro,
4707 src/proto/option.pro, src/proto/textformat.pro, src/textformat.c
4708
4709Patch 8.2.0675
4710Problem: Vim9: no support for closures.
4711Solution: Do not re-use stack entries.
4712Files: src/vim9compile.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
4713 src/evalvars.c, src/proto/evalvars.pro
4714
4715Patch 8.2.0676
4716Problem: Pattern in list of distributed files does not match.
4717Solution: Drop "testdir/test_[a-z]*.ok". Add CI sed files.
4718Files: Filelist
4719
4720Patch 8.2.0677
4721Problem: Vim9: no support for closures.
4722Solution: Find variables in the outer function scope, so long as the scope
4723 exists.
4724Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c,
4725 src/vim9execute.c, src/structs.h, src/vim9.h,
4726 src/testdir/test_vim9_func.vim
4727
4728Patch 8.2.0678
4729Problem: Rare crash for popup menu.
4730Solution: Check for NULL pointer. (Nobuhiro Takasaki, closes #6027)
4731Files: src/popupmenu.c
4732
4733Patch 8.2.0679
4734Problem: Vim9: incomplete support for closures.
4735Solution: At the end of a function copy arguments and local variables if
4736 they are still used by a referenced closure.
4737Files: src/structs.h, src/vim9.h, src/vim9compile.c, src/vim9execute.c,
4738 src/testdir/test_vim9_func.vim
4739
4740Patch 8.2.0680
4741Problem: PTYGROUP and PTYMODE are unused.
4742Solution: Remove from autoconf. (closes #6024)
4743Files: src/configure.ac, src/auto/configure, src/config.h.in
4744
4745Patch 8.2.0681
4746Problem: Pattern for 'hlsearch' highlighting may leak. (Dominique Pellé)
4747Solution: Call end_search_hl() to make sure the previous pattern is freed.
4748 (closes #6028)
4749Files: src/screen.c
4750
4751Patch 8.2.0682
4752Problem: Vim9: parsing function argument type can get stuck.
4753Solution: Bail out when not making progress.
4754Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
4755
4756Patch 8.2.0683
4757Problem: Vim9: parsing type does not always work.
4758Solution: Handle func type without return value. Test more closures.
4759 Fix type check offset. Fix garbage collection.
4760Files: src/vim9compile.c, src/vim9execute.c, src/proto/vim9execute.pro,
4761 src/userfunc.c, src/testdir/test_vim9_func.vim
4762
4763Patch 8.2.0684
4764Problem: Vim9: memory leak when using lambda.
4765Solution: Move the funccal context to the partial. Free the function when
4766 exiting.
4767Files: src/vim9.h, src/structs.h, src/vim9execute.c, src/userfunc.c,
4768 src/eval.c, src/testdir/test_vim9_func.vim
4769
4770Patch 8.2.0685 (after 8.2.0684)
4771Problem: Build failure.
4772Solution: Include missing changes.
4773Files: src/vim9compile.c
4774
4775Patch 8.2.0686
4776Problem: Formatoptions not sufficiently tested.
4777Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6031)
4778Files: src/testdir/test_normal.vim, src/testdir/test_textformat.vim
4779
4780Patch 8.2.0687
4781Problem: Some tests do not work on FreeBSD.
4782Solution: Enable modeline. Use WaitFor() in more cases. (Ozaki Kiichi,
4783 closes #6036)
4784Files: src/testdir/test_quickfix.vim, src/testdir/test_terminal.vim
4785
4786Patch 8.2.0688
4787Problem: Output clobbered if setting 'verbose' to see shell commands.
4788Solution: Only output "Searching for" when 'verbose' is 11 or higher.
4789Files: src/scriptfile.c, runtime/doc/options.txt
4790
4791Patch 8.2.0689
4792Problem: When using getaddrinfo() the error message is unclear.
4793Solution: Use gai_strerror() to get the message. (Ozaki Kiichi,
4794 closes #6034)
4795Files: src/channel.c
4796
4797Patch 8.2.0690
4798Problem: Line number of option set by modeline is wrong.
4799Solution: Do not double the line number. (Ozaki Kiichi, closes #6035)
4800Files: src/option.c, src/testdir/test_modeline.vim
4801
4802Patch 8.2.0691
4803Problem: Startup test fails.
4804Solution: Adjust expected output from -V2 argument.
4805Files: src/testdir/test_startup.vim
4806
4807Patch 8.2.0692
4808Problem: Startup test fails on MS-Windows.
4809Solution: Allow for any path.
4810Files: src/testdir/test_startup.vim
4811
4812Patch 8.2.0693
4813Problem: Closure using argument not tested.
4814Solution: Add a test, make it work.
4815Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
4816
4817Patch 8.2.0694
4818Problem: Haiku: channel and terminal do not work.
4819Solution: Close files when the job has finished. (Ozaki Kiichi,
4820 closes #6039)
4821Files: src/channel.c, src/getchar.c, src/gui_haiku.cc, src/misc1.c
4822
4823Patch 8.2.0695
4824Problem: Vim9: cannot define a function inside a function.
4825Solution: Initial support for :def inside :def.
4826Files: src/userfunc.c, src/proto/userfunc.pro, src/vim9compile.c,
4827 src/vim9execute.c, src/testdir/test_vim9_func.vim
4828
4829Patch 8.2.0696
4830Problem: Vim9: nested function does not work properly
4831Solution: Create a function reference. Check argument count.
4832Files: src/vim9compile.c, src/vim9execute.c,
4833 src/testdir/test_vim9_func.vim
4834
4835Patch 8.2.0697
4836Problem: Vim9: memory leak when using nested function.
4837Solution: Unreference function when deleting instructions. Adjust reference
4838 count for local variables.
4839Files: src/vim9compile.c, src/vim9execute.c
4840
4841Patch 8.2.0698
4842Problem: Insert mode completion not fully tested.
4843Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6041)
4844Files: src/testdir/test_edit.vim, src/testdir/test_ins_complete.vim,
4845 src/testdir/test_textformat.vim
4846
4847Patch 8.2.0699
4848Problem: Vim9: not all errors tested.
4849Solution: Add test for deleted function. Bail out on first error.
4850Files: src/vim9execute.c, src/testdir/test_vim9_func.vim,
4851 src/testdir/test_vim9_expr.vim, src/testdir/vim9.vim
4852
4853Patch 8.2.0700
4854Problem: Vim9: converting error message to exception not tested.
4855Solution: Test exception from error. Do not continue after :echoerr.
4856Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
4857
4858Patch 8.2.0701
4859Problem: Vim9 test fails without job feature.
4860Solution: Add feature check.
4861Files: src/testdir/test_vim9_script.vim
4862
4863Patch 8.2.0702
4864Problem: Running channel tests may leave running process behind.
4865Solution: Make Python client exit when running into EOF. (Kurtis Rader,
4866 part of #6046)
4867Files: src/testdir/test_channel_pipe.py
4868
4869Patch 8.2.0703
4870Problem: Vim9: closure cannot store value in outer context.
4871Solution: Make storing value in outer context work. Make :disassemble
4872 accept a function reference.
4873Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h, src/eval.c,
4874 src/structs.h, src/testdir/test_vim9_disassemble.vim,
4875 src/testdir/test_vim9_func.vim
4876
4877Patch 8.2.0704
4878Problem: Vim9: memory leak in disassemble test.
4879Solution: Decrement refcount when creating funccal.
4880Files: src/vim9execute.c
4881
4882Patch 8.2.0705
4883Problem: Indent tests don't run on CI for FreeBSD.
4884Solution: Set modeline. (Ozaki Kiichi, closes #6048)
4885Files: .cirrus.yml, runtime/indent/testdir/runtest.vim
4886
4887Patch 8.2.0706
4888Problem: Vim9: using assert_fails() causes function to finish.
4889Solution: Check did_emsg instead of called_emsg.
4890Files: src/vim9execute.c, src/testdir/test_vim9_disassemble.vim,
4891 src/testdir/test_vim9_script.vim
4892
4893Patch 8.2.0707
4894Problem: Vim9 function test fails.
4895Solution: Adjust expected error code.
4896Files: src/testdir/test_vim9_func.vim
4897
4898Patch 8.2.0708
4899Problem: Vim9: constant expressions are not simplified.
4900Solution: Simplify string concatenation.
4901Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim,
4902 src/testdir/test_vim9_expr.vim
4903
4904Patch 8.2.0709
4905Problem: MS-Windows: compiler warning for int vs size_t.
4906Solution: Add type cast. (Mike Williams)
4907Files: src/channel.c
4908
4909Patch 8.2.0710
4910Problem: Netbeans test sometimes fails.
4911Solution: Mark any test using an external command as flaky.
4912Files: src/testdir/shared.vim
4913
4914Patch 8.2.0711
4915Problem: With a long running Vim the temp directory might be cleared on
4916 some systems.
4917Solution: Lock the temp directory. (closes #6044)
4918Files: src/config.h.in, src/configure.ac, src/auto/configure,
4919 src/fileio.c, src/globals.h, src/os_unix.h
4920
4921Patch 8.2.0712
4922Problem: Various code not fully tested.
4923Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6049)
4924Files: src/testdir/test_functions.vim, src/testdir/test_options.vim,
4925 src/testdir/test_system.vim, src/testdir/test_termcodes.vim
4926
4927Patch 8.2.0713
4928Problem: The pam_environment file is not recognized.
4929Solution: Add a filetype pattern for pamenv. (closes #6051)
4930Files: runtime/filetype.vim, src/testdir/test_filetype.vim
4931
4932Patch 8.2.0714
4933Problem: Vim9: handling constant expression does not scale.
4934Solution: Use another solution, passing typval_T.
4935Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
4936
4937Patch 8.2.0715
4938Problem: Vim9: leaking memory.
4939Solution: Free strings after concatenating them.
4940Files: src/vim9compile.c
4941
4942Patch 8.2.0716
4943Problem: Vim9: another memory leak.
4944Solution: Clear typval when failing.
4945Files: src/vim9compile.c
4946
4947Patch 8.2.0717
4948Problem: Vim9: postponed constant expressions does not scale.
4949Solution: Add a structure to pass around postponed constants.
4950Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
4951
4952Patch 8.2.0718
4953Problem: Gcc warning for returning pointer to local variable. (John
4954 Marriott)
4955Solution: Return another pointer.
4956Files: src/evalvars.c
4957
4958Patch 8.2.0719
4959Problem: Vim9: more expressions can be evaluated at compile time
4960Solution: Recognize has('name').
4961Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim,
4962 src/testdir/test_vim9_expr.vim
4963
4964Patch 8.2.0720
4965Problem: Occasional exit when encountering an X error. (Manfred Lotz)
4966Solution: On an X error do not exit, do preserve files.
4967Files: src/os_unix.c
4968
4969Patch 8.2.0721
4970Problem: Vim9: leaking memory when skipping.
4971Solution: Disable skipping in generate_ppconst().
4972Files: src/vim9compile.c
4973
4974Patch 8.2.0722
4975Problem: Vim9: not handling constant expression for elseif.
4976Solution: Use postponed constants. Delete the code for evaluating a
4977 constant expression.
4978Files: src/vim9compile.c
4979
4980Patch 8.2.0723
4981Problem: Vim9: nested constant expression not evaluated compile time.
4982Solution: Use compile_expr1() for parenthesis.
4983Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
4984
4985Patch 8.2.0724
4986Problem: Vim9: appending to buffer/window/tab variable not tested
4987Solution: Add a test.
4988Files: src/testdir/test_vim9_script.vim
4989
4990Patch 8.2.0725
4991Problem: Vim9: cannot call a function declared later in Vim9 script.
4992Solution: Make two passes through the script file.
4993Files: src/scriptfile.c, src/proto/scriptfile.pro, src/vim9script.c,
4994 src/vim9compile.c, src/vim9execute.c, src/proto/vim9compile.pro,
4995 src/userfunc.c, src/proto/userfunc.pro, src/evalvars.c,
4996 src/proto/evalvars.pro, src/vim.h,
4997 src/testdir/test_vim9_disassemble.vim
4998
4999Patch 8.2.0726
5000Problem: Vim9: leaking memory when calling not compiled :def function.
5001Solution: Check if function is compiled earlier.
5002Files: src/vim9execute.c
5003
5004Patch 8.2.0727
5005Problem: MS-Windows: new gcc compiler does not support scanf format.
5006Solution: Use "%ll" instead of "%I". (Ken Takata)
5007Files: src/vim.h
5008
5009Patch 8.2.0728
5010Problem: Messages about a deadly signal are not left aligned.
5011Solution: Output a CR before the NL. (Dominique Pellé, #6055)
5012Files: src/misc1.c, src/os_unix.c
5013
5014Patch 8.2.0729
5015Problem: Vim9: When reloading a script variables are not cleared.
5016Solution: When sourcing a script again clear all script-local variables.
5017Files: src/dict.c, src/proto/dict.pro, src/scriptfile.c,
5018 src/testdir/test_vim9_script.vim
5019
5020Patch 8.2.0730
5021Problem: Vim9: Assignment to dict member does not work.
5022Solution: Parse dict assignment. Implement getting dict member.
5023Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/globals.h,
5024 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_cmd.vim,
5025 src/testdir/test_vim9_script.vim
5026
5027Patch 8.2.0731
5028Problem: Vim9: parsing declarations continues after :finish.
5029Solution: Bail out when encountering :finish.
5030Files: src/vim9script.c, src/testdir/test_vim9_script.vim
5031
5032Patch 8.2.0732
5033Problem: Vim9: storing value in dict messes up stack.
5034Solution: Correct item count of stack.
5035Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
5036
5037Patch 8.2.0733
5038Problem: Vim9: assigning to dict or list argument does not work.
5039Solution: Recognize an argument as assignment target.
5040Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
5041
5042Patch 8.2.0734
5043Problem: Vim9: leaking memory when using :finish.
5044Solution: Do not check for next line in third pass.
5045Files: src/scriptfile.c
5046
5047Patch 8.2.0735
5048Problem: Vim9: using uninitialized memory.
5049Solution: Clear the arg_lvar field.
5050Files: src/vim9compile.c
5051
5052Patch 8.2.0736
5053Problem: Some files not recognized as pamenv.
5054Solution: Add pam_inv.conf. (closes #6065)
5055Files: runtime/filetype.vim, src/testdir/test_filetype.vim
5056
5057Patch 8.2.0737
5058Problem: When shell doesn't support CTRL-Z Vim still handles it.
5059Solution: Ignore the STOP signal if it was ignored on startup.
5060 (Kurtis Rader, closes #5990, closes #6058)
5061Files: src/os_unix.c
5062
5063Patch 8.2.0738
5064Problem: Mouse handling in a terminal window not well tested.
5065Solution: Add tests. (Yegappan Lakshmanan, closes #6052)
5066Files: src/testdir/term_util.vim, src/testdir/test_gui.vim,
5067 src/testdir/test_modeless.vim, src/testdir/test_terminal.vim
5068
5069Patch 8.2.0739
5070Problem: Incomplete profiling when exiting because of a deadly signal.
5071Solution: Call __gcov_flush() if available.
5072Files: src/os_unix.c, src/Makefile, .travis.yml
5073
5074Patch 8.2.0740
5075Problem: Minor message mistakes.
5076Solution: Change vim to Vim and other fixes.
5077Files: src/if_py_both.h, src/if_tcl.c, src/main.c
5078
5079Patch 8.2.0741
5080Problem: Python tests fail because of changed message.
5081Solution: Adjust the expected messages (Dominique Pellé, closes #6066)
5082Files: src/testdir/test86.ok, src/testdir/test87.ok
5083
5084Patch 8.2.0742
5085Problem: Handling of a TERM signal not tested.
5086Solution: Add a test for SIGTERM. (Dominique Pellé, closes #6055)
5087Files: src/testdir/test_signals.vim
5088
5089Patch 8.2.0743
5090Problem: Can move to another buffer from a terminal in popup window.
5091Solution: Do not allow "gf" or editing a file. (closes #6072)
5092Files: src/normal.c, src/ex_cmds.c, src/testdir/test_popupwin.vim
5093
5094Patch 8.2.0744
5095Problem: The name vim is not capitalized in a message.
5096Solution: Use "Vim" instead of "vim".
5097Files: src/main.c
5098
5099Patch 8.2.0745
5100Problem: Crash on exit when not all popups are closed.
5101Solution: Close popups when freeing all memory. Disable checking for popup
5102 when editing a file for now.
5103Files: src/misc2.c, src/ex_cmds.c
5104
5105Patch 8.2.0746
5106Problem: popup_clear() hangs when a popup can't be closed.
5107Solution: Bail out when a popup can't be closed.
5108Files: src/popupwin.c, src/proto/popupwin.pro
5109
5110Patch 8.2.0747
5111Problem: Cannot forcefully close all popups.
5112Solution: Add the "force" argument to popup_clear(). Use it after running a
5113 test. Put back the check for a popup when editing a file.
5114Files: runtime/doc/popup.txt, src/evalfunc.c, src/popupwin.c,
5115 src/proto/popupwin.pro, src/tag.c, src/window.c, src/misc2.c,
5116 src/ex_cmds.c, src/channel.c, src/testdir/runtest.vim,
5117 src/testdir/test_terminal.vim
5118
5119Patch 8.2.0748
5120Problem: Cannot get a list of all popups.
5121Solution: Add popup_list(). Use it in the test runner.
5122Files: runtime/doc/eval.txt, runtime/doc/popup.txt, src/popupwin.c,
5123 src/proto/popupwin.pro, src/evalfunc.c,
5124 src/testdir/test_popupwin.vim, src/testdir/runtest.vim
5125
5126Patch 8.2.0749
5127Problem: TERM signal test fails on FreeBSD.
5128Solution: Do not check the messages, the may appear anywhere. (Dominique
5129 Pellé, closes #6075)
5130Files: src/testdir/test_signals.vim
5131
5132Patch 8.2.0750
5133Problem: Netbeans test is a bit flaky.
5134Solution: Allow for standard sign to be defined. Use WaitForAssert().
5135Files: src/testdir/test_netbeans.vim
5136
5137Patch 8.2.0751
5138Problem: Vim9: performance can be improved.
5139Solution: Don't call break. Inline check for list materialize. Make an
5140 inline version of ga_grow().
5141Files: src/macros.h, src/evalfunc.c, src/misc2.c,
5142 src/proto/misc2.pro, src/channel.c, src/eval.c, src/evalbuffer.c,
5143 src/evalvars.c, src/filepath.c, src/highlight.c, src/insexpand.c,
5144 src/json.c, src/list.c, src/popupmenu.c, src/popupwin.c,
5145 src/userfunc.c, src/if_py_both.h
5146
5147Patch 8.2.0752
5148Problem: Terminal in popup window test is a bit flaky.
5149Solution: Wait for shell job status to be "run". Mark as flaky test.
5150Files: src/testdir/test_popupwin.vim
5151
5152Patch 8.2.0753
5153Problem: Vim9: expressions are evaluated in the discovery phase.
5154Solution: Bail out if an expression is not a constant. Require a type for
5155 declared constants.
5156Files: src/vim.h, src/evalvars.c, src/eval.c, src/ex_eval.c,
5157 src/evalfunc.c, src/userfunc.c, src/dict.c, src/list.c,
5158 src/vim9compile.c, src/testdir/test_vim9_script.vim,
5159 src/testdir/test_vim9_disassemble.vim
5160
5161Patch 8.2.0754
5162Problem: Vim9: No test for forward declaration.
5163Solution: Add a test.
5164Files: src/testdir/test_vim9_script.vim
5165
5166Patch 8.2.0755
5167Problem: Vim9: No error when variable initializer is not a constant.
5168Solution: Return FAIL when trying to get a variable value. Do not execute a
5169 script when an error is detected in the first or second phase.
5170Files: src/eval.c, src/vim9script.c, src/testdir/test_vim9_script.vim
5171
5172Patch 8.2.0756 (after 8.2.0249)
5173Problem: MS-Windows: still a compiler warning.
5174Solution: Move flag to another place in the Makefile. (Ken Takata,
5175 closes #6083)
5176Files: src/Make_mvc.mak
5177
5178Patch 8.2.0757
5179Problem: Vim9: no test for MEMBER instruction.
5180Solution: Add a test. Make matches stricter.
5181Files: src/testdir/test_vim9_disassemble.vim
5182
5183Patch 8.2.0758
5184Problem: Vim9: no test for STORELIST and STOREDICT.
5185Solution: Add a test. Make matches stricter.
5186Files: src/testdir/test_vim9_disassemble.vim
5187
5188Patch 8.2.0759 (after 8.2.0751)
5189Problem: Vim9: missing changes for performance improvements
5190Solution: Use GA_GROW(). Don't call breakcheck so often.
5191Files: src/vim9execute.c
5192
5193Patch 8.2.0760
5194Problem: Vim9: dict member errors not tested.
5195Solution: Delete unreachable error. Add tests.
5196Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
5197
5198Patch 8.2.0761
5199Problem: Vim9: instructions not tested
5200Solution: Use a variable instead of a constant.
5201Files: src/testdir/test_vim9_expr.vim
5202
5203Patch 8.2.0762
5204Problem: Buffer is not considered modified after setting crypt key.
5205Solution: Set the modified flag. (Christian Brabandt, closes #6082)
5206Files: src/optionstr.c, src/testdir/test_crypt.vim
5207
5208Patch 8.2.0763
5209Problem: GUI test fails without the terminal feature.
5210Solution: Check the terminal feature is supported. (Ken Takata,
5211 closes #6084)
5212Files: src/testdir/test_gui.vim
5213
5214Patch 8.2.0764
5215Problem: Vim9: assigning to option not fully tested.
5216Solution: Add more test cases. Allow using any type for assignment.
5217Files: src/vim9compile.c, src/vim9execute.c,
5218 src/testdir/test_vim9_script.vim
5219
5220Patch 8.2.0765
5221Problem: In the GUI can't use all the modifiers. (Andri Möll)
5222Solution: Do not apply Alt/Meta early, do it later like with the terminal.
5223 Avoid the Motif test from crashing.
5224Files: src/gui_gtk_x11.c, src/gui_x11.c, src/gui_mac.c, src/gui_w32.c,
5225 src/gui_motif.c
5226
5227Patch 8.2.0766
5228Problem: Display error when using 'number' and 'breakindent'.
5229Solution: Adjust extra spaces in the first row. (Ken Takata, closes #6089,
5230 closes #5986)
5231Files: src/drawline.c, src/testdir/test_breakindent.vim
5232
5233Patch 8.2.0767
5234Problem: ModifyOtherKeys active when using a shell command in autocmd.
5235Solution: Output T_CTE when going to cooked mode. (closes 5617)
5236Files: src/term.c
5237
5238Patch 8.2.0768
5239Problem: Vim9: memory leak in script test.
5240Solution: Clear typval before giving an error message.
5241Files: src/vim9execute.c
5242
5243Patch 8.2.0769
5244Problem: VimLeavePre not triggered when Vim is terminated.
5245Solution: Unblock autocommands.
5246Files: src/main.c, src/testdir/test_signals.vim
5247
5248Patch 8.2.0770
5249Problem: Cannot map CTRL-B when using the GUI.
5250Solution: Reset the CTRL modifier when used. (closes #6092)
5251Files: src/gui_gtk_x11.c
5252
5253Patch 8.2.0771
5254Problem: Vim9: cannot call a compiled closure from not compiled code.
5255Solution: Pass funcexe to call_user_func().
5256Files: src/userfunc.c, src/vim9execute.c, src/proto/vim9execute.pro,
5257 src/eval.c, src/testdir/test_vim9_func.vim
5258
5259Patch 8.2.0772
5260Problem: Vim9: some variable initializations not tested.
5261Solution: Add a few more tests
5262Files: src/testdir/test_vim9_script.vim
5263
5264Patch 8.2.0773
5265Problem: Switching to raw mode every time ":" is used.
5266Solution: When executing a shell set cur_tmode to TMODE_UNKNOWN, so that the
5267 next time TMODE_RAW is used it is set, but not every time.
5268Files: src/term.h, src/os_unix.c, src/term.c, src/os_amiga.c,
5269 src/os_win32.c
5270
5271Patch 8.2.0774
5272Problem: t_TI and t_TE are output when using 'visualbell'. (Dominique
5273 Pellé)
5274Solution: Do not change the terminal mode for a short sleep. Do not output
5275 t_TI and t_TE when switching to/from TMODE_SLEEP. Make tmode an
5276 enum.
5277Files: src/os_unix.c, src/proto/os_unix.pro, src/os_amiga.c,
5278 src/proto/os_amiga.pro, src/os_mswin.c, src/proto/os_mswin.pro,
5279 src/os_vms.c, src/proto/os_vms.pro, src/os_win32.c,
5280 src/proto/os_win32.pro, src/term.c, src/term.h, src/globals.h
5281
5282Patch 8.2.0775
5283Problem: Not easy to call a Vim function from Lua.
5284Solution: Add vim.call() and vim.fn(). (Prabir Shrestha, closes #6063)
5285Files: runtime/doc/if_lua.txt, src/if_lua.c, src/testdir/test_lua.vim
5286
5287Patch 8.2.0776
5288Problem: Libvterm code lags behind the upstream version.
5289Solution: Include revision 719.
5290Files: Filelist, src/libvterm/README, src/libvterm/Makefile,
5291 src/libvterm/find-wide-chars.pl, src/libvterm/src/fullwidth.inc,
5292 src/libvterm/src/unicode.c
5293
5294Patch 8.2.0777 (after 8.2.0776)
5295Problem: Terminal test fails.
5296Solution: Adjust character position for double-wide characters.
5297Files: src/testdir/test_terminal.vim
5298
5299Patch 8.2.0778
5300Problem: Libvterm code lags behind the upstream version.
5301Solution: Include revisions 720 - 723.
5302Files: src/libvterm/t/10state_putglyph.test, src/libvterm/Makefile,
5303 src/libvterm/t/run-test.pl, src/libvterm/src/state.c,
5304 src/libvterm/t/92lp1805050.test
5305
5306Patch 8.2.0779
5307Problem: Tmode_T not used everywhere.
5308Solution: Also use tmode_T for settmode().
5309Files: src/term.c, src/proto/term.pro
5310
5311Patch 8.2.0780
5312Problem: Libvterm code lags behind the upstream version.
5313Solution: Include revisions 724 - 726.
5314Files: Filelist, src/libvterm/t/40screen_ascii.test,
5315 src/libvterm/t/60screen_ascii.test,
5316 src/libvterm/t/41screen_unicode.test,
5317 src/libvterm/t/61screen_unicode.test,
5318 src/libvterm/t/42screen_damage.test,
5319 src/libvterm/t/62screen_damage.test,
5320 src/libvterm/t/43screen_resize.test,
5321 src/libvterm/t/63screen_resize.test,
5322 src/libvterm/t/44screen_pen.test,
5323 src/libvterm/t/64screen_pen.test,
5324 src/libvterm/t/45screen_protect.test,
5325 src/libvterm/t/65screen_protect.test,
5326 src/libvterm/t/46screen_extent.test,
5327 src/libvterm/t/66screen_extent.test,
5328 src/libvterm/t/47screen_dbl_wh.test,
5329 src/libvterm/t/67screen_dbl_wh.test,
5330 src/libvterm/t/48screen_termprops.test,
5331 src/libvterm/t/68screen_termprops.test, src/libvterm/t/30pen.test,
5332 src/libvterm/t/30state_pen.test, src/libvterm/t/92lp1805050.test,
5333 src/libvterm/t/31state_rep.test, src/libvterm/doc/seqs.txt
5334
5335Patch 8.2.0781 (after 8.2.0775)
5336Problem: Compiler warning for not using value in Lua.
5337Solution: Add "(void)".
5338Files: src/if_lua.c
5339
5340Patch 8.2.0782
5341Problem: Cannot build with Lua on MS-Windows.
5342Solution: Add DLL symbol for luaL_Loadstring. (Ken Takata)
5343Files: src/if_lua.c
5344
5345Patch 8.2.0783
5346Problem: Libvterm code lags behind the upstream version.
5347Solution: Include revisions 728 - 729.
5348Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Makefile,
5349 src/libvterm/src/keyboard.c, src/libvterm/t/25state_input.test,
5350 src/libvterm/t/harness.c, src/libvterm/src/vterm.c,
5351 src/libvterm/src/vterm_internal.h,
5352 src/libvterm/t/26state_query.test
5353
5354Patch 8.2.0784
5355Problem: Libvterm code lags behind the upstream version.
5356Solution: Include revisions 730 - 733.
5357Files: src/libvterm/src/vterm.c, src/libvterm/src/state.c,
5358 src/libvterm/include/vterm.h, src/libvterm/src/vterm_internal.h,
5359 src/libvterm/t/harness.c
5360
5361Patch 8.2.0785
5362Problem: Libvterm code lags behind the upstream version.
5363Solution: Include revisions 734 - 740.
5364Files: src/libvterm/include/vterm.h, src/libvterm/src/pen.c,
5365 src/libvterm/src/vterm.c, src/libvterm/doc/seqs.txt,
5366 src/libvterm/t/30state_pen.test, src/libvterm/t/run-test.pl,
5367 src/libvterm/Makefile, src/libvterm/CONTRIBUTING
5368
5369Patch 8.2.0786
5370Problem: Channel test is flaky on FreeBSD.
5371Solution: Set the socket TCP_NODELAY option. Adjust expected line count in
5372 netbeans test. (Ozaki Kiichi, closes #6097)
5373Files: src/testdir/test_channel.py, src/testdir/test_netbeans.vim
5374
5375Patch 8.2.0787
5376Problem: Libvterm code lags behind the upstream version.
5377Solution: Include revisions 741 - 742.
5378Files: Filelist, src/libvterm/src/screen.c
5379
5380Patch 8.2.0788
5381Problem: Memory leak in libvterm.
5382Solution: free tmpbuffer.
5383Files: src/libvterm/src/vterm.c
5384
5385Patch 8.2.0789
5386Problem: Vim9: expression testing lost coverage using constants.
5387Solution: Use a few variables instead of constants.
5388Files: src/testdir/test_vim9_expr.vim
5389
5390Patch 8.2.0790
5391Problem: Vim9: list index not well tested.
5392Solution: Add a few more tests.
5393Files: src/testdir/test_vim9_script.vim
5394
5395Patch 8.2.0791
5396Problem: A second popup window with terminal causes trouble.
5397Solution: Disallow opening a second terminal-popup window. (closes #6101,
5398 closes #6103) Avoid defaulting to an invalid line number.
5399Files: runtime/doc/popup.txt, src/popupwin.c, src/ex_docmd.c,
5400 src/testdir/test_popupwin.vim, src/testdir/test_terminal.vim
5401
5402Patch 8.2.0792
5403Problem: Build failure with small features.
5404Solution: Add #ifdef.
5405Files: src/popupwin.c
5406
5407Patch 8.2.0793
5408Problem: MS-Windows: cannot build GUI with small features. (Michael Soyka)
5409Solution: Add #ifdef around use of windowsVersion. (Ken Takata)
5410Files: src/os_win32.c
5411
5412Patch 8.2.0794
5413Problem: Libvterm code lags behind the upstream version.
5414Solution: Include revisions 743 - 747.
5415Files: src/libvterm/src/state.c, src/libvterm/src/screen.c,
5416 src/libvterm/src/vterm_internal.h, src/libvterm/include/vterm.h,
5417 src/libvterm/t/67screen_dbl_wh.test, src/libvterm/t/run-test.pl
5418
5419Patch 8.2.0795
5420Problem: Libvterm code lags behind the upstream version.
5421Solution: Include revisions 748 - 754.
5422Files: src/libvterm/include/vterm.h, src/libvterm/src/screen.c,
5423 src/libvterm/src/state.c, src/libvterm/t/32state_flow.test,
5424 src/libvterm/t/60screen_ascii.test,
5425 src/libvterm/t/62screen_damage.test,
5426 src/libvterm/t/63screen_resize.test, src/libvterm/t/harness.c,
5427 src/libvterm/t/run-test.pl
5428
5429Patch 8.2.0796
5430Problem: MS-Windows: compiler can't handle C99 construct in libvterm.
5431Solution: Change to C90 construct.
5432Files: src/libvterm/src/state.c
5433
5434Patch 8.2.0797
5435Problem: MS-Windows: compiler still can't handle C99 construct.
5436Solution: Change to C90 construct. (Dominique Pellé, closes #6106)
5437Files: src/libvterm/src/state.c
5438
5439Patch 8.2.0798
5440Problem: Libvterm code lags behind the upstream version.
5441Solution: Include revisions 755 - 758.
5442Files: src/libvterm/t/run-test.pl, src/libvterm/src/screen.c,
5443 src/libvterm/t/harness.c, src/libvterm/include/vterm.h,
5444 src/libvterm/src/parser.c, src/libvterm/src/state.c,
5445 src/libvterm/src/vterm.c, src/libvterm/src/vterm_internal.h,
5446 src/libvterm/t/02parser.test,
5447 src/libvterm/t/18state_termprops.test,
5448 src/libvterm/t/29state_fallback.test,
5449 src/libvterm/t/68screen_termprops.test, src/terminal.c
5450
5451Patch 8.2.0799
5452Problem: Build fails if snprintf is not available.
5453Solution: Use vim_snprintf().
5454Files: src/libvterm/src/state.c
5455
5456Patch 8.2.0800
5457Problem: Errors from failing test are unclear.
5458Solution: Include text where parsing failed.
5459Files: src/json.c, src/testdir/test_json.vim
5460
5461Patch 8.2.0801
5462Problem: Terminal test fails on Mac.
5463Solution: Concatenate OSC pieces.
5464Files: src/terminal.c
5465
5466Patch 8.2.0802
5467Problem: Libvterm code lags behind the upstream version.
5468Solution: Include revisions 759 - 762.
5469Files: src/terminal.c, src/libvterm/doc/seqs.txt,
5470 src/libvterm/include/vterm.h, src/libvterm/src/pen.c,
5471 src/libvterm/src/screen.c, src/libvterm/src/state.c,
5472 src/libvterm/src/vterm.c, src/libvterm/src/vterm_internal.h,
5473 src/libvterm/t/harness.c, src/libvterm/t/12state_scroll.test
5474
5475Patch 8.2.0803
5476Problem: Libvterm code lags behind the upstream version.
5477Solution: Include revisions 764 - 767
5478Files: src/Makefile, src/libvterm/src/parser.c,
5479 src/libvterm/src/vterm_internal.h, src/libvterm/t/02parser.test,
5480 src/libvterm/t/run-test.pl, src/libvterm/find-wide-chars.pl,
5481 src/libvterm/src/fullwidth.inc
5482
5483Patch 8.2.0804
5484Problem: Libvterm code lags behind the upstream version.
5485Solution: Include revision 727, but add the index instead of switching
5486 between RGB and indexed.
5487Files: src/terminal.c, src/term.c, src/libvterm/include/vterm.h,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00005488 src/libvterm/src/pen.c, src/libvterm/src/screen.c,
5489 src/libvterm/src/vterm_internal.h,
5490 src/libvterm/t/30state_pen.test,
Bram Moolenaarc51cf032022-02-26 12:25:45 +00005491 src/libvterm/t/harness.c, src/libvterm/src/state.c,
5492 src/libvterm/t/26state_query.test,
5493 src/libvterm/t/64screen_pen.test
5494
5495Patch 8.2.0805
5496Problem: Terminal key codes test fails on some systems.
5497Solution: Skip keypad 3 and 9. (Yegappan Lakshmanan, closes #6070)
5498Files: src/testdir/test_terminal.vim
5499
5500Patch 8.2.0806
5501Problem: using "func!" after vim9script gives confusing error.
5502Solution: Give E477. (closes #6107)
5503Files: src/vim9script.c, src/testdir/test_vim9_script.vim
5504
5505Patch 8.2.0807
5506Problem: Cannot easily restore a mapping.
5507Solution: Add mapset().
5508Files: runtime/doc/eval.txt, src/map.c, src/proto/map.pro, src/evalfunc.c
5509 src/testdir/test_maparg.vim
5510
5511Patch 8.2.0808
5512Problem: Not enough testing for the terminal window.
5513Solution: Add more tests. (Yegappan Lakshmanan, closes #6069) Fix memory
5514 leak.
5515Files: src/testdir/test_gui.vim, src/testdir/test_terminal.vim,
5516 src/terminal.c
5517
5518Patch 8.2.0809
5519Problem: Build failure with small features. (Tony Mechelynck)
5520Solution: Move "expr" inside #ifdef.
5521Files: src/map.c
5522
5523Patch 8.2.0810
5524Problem: Error when appending "tagfile" to 'wildoptions'.
5525Solution: use flags P_ONECOMMA and P_NODUP. (Dmitri Vereshchagin,
5526 closes #6105)
5527Files: src/optiondefs.h, src/testdir/test_options.vim
5528
5529Patch 8.2.0811
5530Problem: Terminal keycode test is flaky.
5531Solution: Use WaitForAssert()
5532Files: src/testdir/test_terminal.vim
5533
5534Patch 8.2.0812
5535Problem: mapset() does not properly handle <> notation.
5536Solution: Convert <> codes. (closes #6116)
5537Files: src/map.c, src/testdir/test_maparg.vim
5538
5539Patch 8.2.0813
5540Problem: libvterm code is slightly different from upstream.
5541Solution: Use upstream text to avoid future merge problems. Mainly comment
5542 style changes.
5543Files: src/libvterm/include/vterm.h, src/libvterm/src/rect.h,
5544 src/libvterm/src/utf8.h, src/libvterm/src/vterm_internal.h,
5545 src/libvterm/src/encoding.c, src/libvterm/src/keyboard.c,
5546 src/libvterm/src/mouse.c, src/libvterm/src/parser.c,
5547 src/libvterm/src/pen.c, src/libvterm/src/screen.c,
5548 src/libvterm/src/state.c, src/libvterm/src/unicode.c,
5549 src/libvterm/src/vterm.c
5550
5551Patch 8.2.0814
5552Problem: Clang warning for implicit conversion.
5553Solution: Add type cast. (Dominique Pellé, closes #6124)
5554Files: src/evalfunc.c
5555
5556Patch 8.2.0815
5557Problem: maparg() does not provide enough information for mapset().
5558Solution: Add "lhsraw" and "lhsrawalt" items. Drop "simplified"
5559Files: src/map.c, runtime/doc/eval.txt, src/testdir/test_maparg.vim
5560
5561Patch 8.2.0816
5562Problem: Terminal test fails when compiled with Athena.
5563Solution: Do give an error when the GUI is not running. (hint by Dominique
5564 Pellé, closes #5928, closes #6132)
5565Files: src/globals.h, src/gui.c, src/term.c, src/channel.c,
5566 src/testdir/test_terminal.vim
5567
5568Patch 8.2.0817
5569Problem: Not enough memory allocated when converting string with special
5570 character.
5571Solution: Reserve space for modifier code. (closes #6130)
5572Files: src/eval.c, src/testdir/test_functions.vim
5573
5574Patch 8.2.0818
5575Problem: Vim9: using a discovery phase doesn't work well.
5576Solution: Remove the discovery phase, instead compile a function only when
5577 it is used. Add :defcompile to compile def functions earlier.
5578Files: runtime/doc/vim9.txt, src/vim9script.c, src/structs.h,
5579 src/userfunc.c, src/proto/userfunc.pro, src/eval.c,
5580 src/evalvars.c, src/proto/evalvars.pro, src/vim9compile.c,
5581 src/proto/vim9compile.pro, src/vim9execute.c, src/ex_cmds.h,
5582 src/ex_docmd.c, src/ex_cmdidxs.h, src/vim.h, src/testdir/vim9.vim,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00005583 src/testdir/test_vim9_disassemble.vim,
Bram Moolenaarc51cf032022-02-26 12:25:45 +00005584 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
5585
5586Patch 8.2.0819
5587Problem: Compiler warning for unused variable.
5588Solution: Remove the variable.
5589Files: src/evalvars.c
5590
5591Patch 8.2.0820
5592Problem: Vim9: function type isn't set until compiled.
5593Solution: Set function type early.
5594Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c,
5595 src/testdir/test_vim9_func.vim
5596
5597Patch 8.2.0821
5598Problem: Vim9: memory leak in expr test.
5599Solution: Do not decrement the length of the list of functions if the
5600 current function is not at the end.
5601Files: src/vim9compile.c
5602
5603Patch 8.2.0822
5604Problem: Vim9: code left over from discovery phase.
5605Solution: Remove the dead code.
5606Files: src/scriptfile.c, src/proto/scriptfile.pro, src/ex_cmds.h,
5607 src/evalvars.c, src/proto/evalvars.pro, src/ex_docmd.c
5608
5609Patch 8.2.0823
5610Problem: Vim9: script reload test is disabled.
5611Solution: Compile a function in the context of the script where it was
5612 defined. Set execution stack for compiled function. Add a test
5613 that an error is reported for the right file/function.
5614Files: src/vim9compile.c, src/vim9execute.c, src/scriptfile.c,
5615 src/proto/scriptfile.pro, src/userfunc.c, src/globals.h,
5616 src/structs.h, src/ex_docmd.c, src/ex_eval.c,
5617 src/testdir/test_vim9_script.vim
5618
5619Patch 8.2.0824 (after 8.2.0817)
5620Problem: Still not enough memory allocated when converting string with
5621 special character.
5622Solution: Reserve space for expanding K_SPECIAL. (closes #6130)
5623Files: src/eval.c, src/testdir/test_functions.vim
5624
5625Patch 8.2.0825
5626Problem: def_function() may return pointer that was freed.
5627Solution: Set "fp" to NULL after freeing it.
5628Files: src/userfunc.c
5629
5630Patch 8.2.0826
5631Problem: Vim9: crash in :defcompile.
5632Solution: Restart the loop after a call to compile_def_function() caused the
5633 hash table to resize.
5634Files: src/userfunc.c
5635
5636Patch 8.2.0827
5637Problem: Vim9: crash in :defcompile.
5638Solution: Fix off-by-one error.
5639Files: src/userfunc.c
5640
5641Patch 8.2.0828
5642Problem: Travis: regexp pattern doesn't work everywhere.
5643Solution: Use [:blank:] instead of \b. (Ozaki Kiichi, closes #6146)
5644Files: .travis.yml, ci/config.mk.clang.sed, ci/config.mk.gcc.sed,
5645 ci/config.mk.sed, src/if_ruby.c
5646
5647Patch 8.2.0829
5648Problem: filter() may give misleading error message.
5649Solution: Also mention Blob as an allowed argument.
5650Files: src/list.c, src/testdir/test_filter_map.vim
5651
5652Patch 8.2.0830
5653Problem: Motif: can't map "!". (Ben Jackson)
5654Solution: Remove the shift modifier if it's already included in the key.
5655 (closes #6147)
5656Files: src/gui_x11.c
5657
5658Patch 8.2.0831
5659Problem: Compiler warnings for integer sizes.
5660Solution: Add type casts. (Mike Williams)
5661Files: src/libvterm/src/pen.c, src/terminal.c
5662
5663Patch 8.2.0832
5664Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
5665Solution: Add initial value.
5666Files: src/map.c
5667
5668Patch 8.2.0833
5669Problem: Mapping <C-bslash> doesn't work in the GUI.
5670Solution: Reset seenModifyOtherKeys when starting the GUI. (closes #6150)
5671Files: src/gui.c
5672
5673Patch 8.2.0834
5674Problem: :drop command in terminal popup causes problems.
5675Solution: Check for using a popup window. (closes #6151)
5676Files: src/ex_cmds.c, src/testdir/test_popupwin.vim
5677
5678Patch 8.2.0835
5679Problem: Motif: mapping <C-bslash> still doesn't work.
5680Solution: Accept CSI for K_SPECIAL. Do not apply CTRL to the character
5681 early. (closes #6150)
5682Files: src/getchar.c, src/gui_x11.c
5683
5684Patch 8.2.0836
5685Problem: Not all :cdo output is visible.
5686Solution: Reset 'shortmess' temporarily. (Yegappan Lakshmanan, closes #6155)
5687Files: src/ex_cmds2.c, src/testdir/test_cdo.vim
5688
5689Patch 8.2.0837
5690Problem: Compiler warning for value set but not used.
5691Solution: Move variable inside #ifdef.
5692Files: src/channel.c
5693
5694Patch 8.2.0838
5695Problem: MS-Windows: compiler warning for uninitialized variables.
5696Solution: Initialize variables.
5697Files: src/screen.c
5698
5699Patch 8.2.0839
5700Problem: Dropping modifier when putting a character back in typeahead.
5701Solution: Add modifier to ins_char_typebuf(). (closes #6158)
5702Files: src/getchar.c, src/proto/getchar.pro, src/message.c, src/normal.c,
5703 src/terminal.c, src/globals.h, src/testdir/test_messages.vim
5704
5705Patch 8.2.0840
5706Problem: Search match count wrong when only match is in fold.
5707Solution: Update search stats when in a closed fold. (Christian Brabandt,
5708 closes #6160, closes #6152)
5709Files: src/search.c, src/testdir/dumps/Test_searchstat_3.dump,
5710 src/testdir/test_search_stat.vim
5711
5712Patch 8.2.0841
5713Problem: 'verbose' value 16 causes duplicate output.
5714Solution: Combine levels 15 and 16 into one message. (Christian Brabandt,
5715 closes #6153)
5716Files: runtime/doc/options.txt, src/ex_docmd.c
5717
5718Patch 8.2.0842 (after 8.2.0837)
5719Problem: MS-Windows: channel tests fail.
5720Solution: Adjust #ifdefs. (closes #6162)
5721Files: src/channel.c
5722
5723Patch 8.2.0843
5724Problem: Filetype elm not detected.
5725Solution: Recognize *.elm files. (closes #6157)
5726Files: runtime/filetype.vim, src/testdir/test_filetype.vim
5727
5728Patch 8.2.0844
5729Problem: Text properties crossing lines not handled correctly.
5730Solution: When saving for undo include an extra line when needed and do not
5731 adjust properties when undoing. (Axel Forsman, closes #5875)
5732Files: src/memline.c, src/proto/memline.pro, src/undo.c, src/structs.h
5733
5734Patch 8.2.0845
5735Problem: Text properties crossing lines not handled correctly.
5736Solution: When joining lines merge text properties if possible.
5737 (Axel Forsman, closes #5839, closes #5683)
5738Files: src/testdir/test_textprop.vim, src/memline.c, src/ops.c,
5739 src/proto/textprop.pro, src/textprop.c,
5740 src/testdir/dumps/Test_textprop_01.dump
5741
5742Patch 8.2.0846
5743Problem: Build failure with small features.
5744Solution: Add #ifdef.
5745Files: src/undo.c
5746
5747Patch 8.2.0847
5748Problem: Typval related code is spread out.
5749Solution: Move code to new typval.c file. (Yegappan Lakshmanan, closes #6093)
5750Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
5751 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
5752 src/eval.c, src/evalfunc.c, src/globals.h, src/proto.h,
5753 src/proto/eval.pro, src/proto/evalfunc.pro, src/proto/typval.pro,
5754 src/typval.c
5755
5756Patch 8.2.0848
5757Problem: MS-Windows: the Windows terminal code has some flaws.
5758Solution: Do not redraw the right edge of the screen. Remove the background
5759 color trick. Flush the screen output buffer often. (Nobuhiro
5760 Takasaki, #5546)
5761Files: src/os_win32.c, src/proto/os_win32.pro, src/term.c
5762
5763Patch 8.2.0849
5764Problem: BeOS code is not maintained and probably unused.
5765Solution: Remove the BeOS code. (Emir Sarı, closes #5817)
5766Files: Filelist, src/Makefile, src/configure.ac, src/auto/configure,
5767 src/evalfunc.c, src/normal.c, src/os_beos.c, src/os_beos.h,
5768 src/os_beos.rsrc, src/os_unix.c, src/proto.h,
5769 src/proto/os_beos.pro, src/pty.c, src/screen.c, src/term.c,
5770 src/testdir/test_functions.vim, src/ui.c, src/vim.h
5771
5772Patch 8.2.0850
5773Problem: MS-Windows: exepath() works differently from cmd.exe.
5774Solution: Make exepath() work better on MS-Windows. (closes #6115)
5775Files: runtime/doc/eval.txt, src/os_win32.c,
5776 src/testdir/test_functions.vim
5777
5778Patch 8.2.0851 (after 8.2.0833)
5779Problem: Can't distinguish <M-a> from accented "a" in the GUI.
5780Solution: Use another way to make mapping <C-bslash> work. (closes #6163)
5781Files: src/gui.c, src/gui_gtk_x11.c, src/getchar.c
5782
5783Patch 8.2.0852
5784Problem: Cannot map CTRL-S on some systems.
5785Solution: Do not use CTRL-S for flow control.
5786Files: src/os_unix.c
5787
5788Patch 8.2.0853
5789Problem: ml_delete() often called with FALSE argument.
5790Solution: Use ml_delete_flags(x, ML_DEL_MESSAGE) when argument is TRUE.
5791Files: src/buffer.c, src/change.c, src/diff.c, src/evalbuffer.c,
5792 src/ex_cmds.c, src/ex_docmd.c, src/fileio.c, src/if_lua.c,
5793 src/if_mzsch.c, src/if_ruby.c, src/if_tcl.c, src/normal.c,
5794 src/popupmenu.c, src/popupwin.c, src/quickfix.c, src/spell.c,
5795 src/terminal.c, src/if_perl.xs, src/if_py_both.h, src/memline.c,
5796 src/proto/memline.pro
5797
5798Patch 8.2.0854
5799Problem: Xxd cannot show offset as a decimal number.
5800Solution: Add the "-d" flag. (Aapo Rantalainen, closes #5616)
5801Files: src/testdir/test_xxd.vim, src/xxd/xxd.c
5802
5803Patch 8.2.0855
5804Problem: GUI tests fail because the test doesn't use a modifier.
5805Solution: Add "\{xxx}" to be able to encode a modifier.
5806Files: runtime/doc/eval.txt, src/typval.c, src/misc2.c, src/vim.h,
5807 src/proto/misc2.pro, src/gui_mac.c, src/option.c, src/highlight.c,
5808 src/term.c, src/testdir/test_backspace_opt.vim,
5809 src/testdir/test_mapping.vim, src/testdir/test_messages.vim
5810
5811Patch 8.2.0856 (after 8.2.0852)
5812Problem: CTRL-S stops output.
5813Solution: Invert the IXON flag. (closes #6166)
5814Files: src/os_unix.c
5815
5816Patch 8.2.0857
5817Problem: GTK cell height can be a pixel too much.
5818Solution: Subtract 3 instead of 1 when rounding. (closes #6168)
5819Files: src/gui_gtk_x11.c
5820
5821Patch 8.2.0858
5822Problem: Not easy to require Lua modules.
5823Solution: Improve use of Lua path. (Prabir Shrestha, closes #6098)
5824Files: Filelist, src/if_lua.c, src/optionstr.c, src/proto/if_lua.pro,
5825 src/testdir/test_lua.vim,
5826 src/testdir/testluaplugin/lua/testluaplugin/hello.lua,
5827 src/testdir/testluaplugin/lua/testluaplugin/init.lua
5828
5829Patch 8.2.0859
5830Problem: No Turkish translation of the manual.
5831Solution: Add Turkish translations. (Emir Sarı, closes #5641)
5832Files: Filelist, runtime/doc/Makefile, runtime/doc/evim-tr.1,
5833 runtime/doc/evim-tr.UTF-8.1, runtime/doc/vim-tr.1,
5834 runtime/doc/vim-tr.UTF-8.1, runtime/doc/vimdiff-tr.1,
5835 runtime/doc/vimdiff-tr.UTF-8.1, runtime/doc/vimtutor-tr.1,
5836 runtime/doc/vimtutor-tr.UTF-8.1, src/Makefile
5837
5838Patch 8.2.0860
5839Problem: Cannot use CTRL-A and CTRL-X on unsigned numbers.
5840Solution: Add "unsigned" to 'nrformats'. (Naruhiko Nishino, closes #6144)
5841Files: runtime/doc/options.txt, src/ops.c, src/optionstr.c,
5842 src/testdir/test_increment.vim
5843
5844Patch 8.2.0861
5845Problem: Cannot easily get all the current marks.
5846Solution: Add getmarklist(). (Yegappan Lakshmanan, closes #6032)
5847Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
5848 src/mark.c, src/proto/mark.pro, src/testdir/test_marks.vim
5849
5850Patch 8.2.0862
5851Problem: ":term ++curwin" makes the current buffer hidden. (Harm te
5852 Hennepe)
5853Solution: Do not hide the current buffer. (closes #6170)
5854Files: src/terminal.c, src/testdir/test_terminal.vim
5855
5856Patch 8.2.0863
5857Problem: Cannot set a separate color for underline/undercurl.
5858Solution: Add the t_AU and t_8u termcap codes. (Timur Celik, closes #6011)
5859Files: runtime/doc/syntax.txt, runtime/doc/term.txt, src/globals.h,
5860 src/highlight.c, src/optiondefs.h, src/proto/term.pro,
5861 src/screen.c, src/structs.h, src/term.c, src/term.h,
5862 src/testdir/test_options.vim
5863
5864Patch 8.2.0864
5865Problem: Pragmas are indented all the way to the left.
5866Solution: Add an option to indent pragmas like normal code. (Max Rumpf,
5867 closes #5468)
5868Files: runtime/doc/indent.txt, src/cindent.c, src/structs.h,
5869 src/testdir/test_cindent.vim
5870
5871Patch 8.2.0865
5872Problem: Syntax foldlevel is taken from the start of the line.
5873Solution: Add ":syn foldlevel" to be able to use the minimal foldlevel in
5874 the line. (Brad King, closes #6087)
5875Files: runtime/doc/syntax.txt, src/structs.h, src/syntax.c,
5876 src/testdir/test_syntax.vim
5877
5878Patch 8.2.0866
5879Problem: Not enough tests for buffer writing.
5880Solution: Add more tests. Use CheckRunVimInTerminal in more places.
5881 (Yegappan Lakshmanan, closes #6167)
5882Files: src/testdir/test_arglist.vim, src/testdir/test_match.vim,
5883 src/testdir/test_messages.vim, src/testdir/test_netbeans.py,
5884 src/testdir/test_netbeans.vim, src/testdir/test_search.vim,
5885 src/testdir/test_signals.vim, src/testdir/test_signs.vim,
5886 src/testdir/test_startup.vim, src/testdir/test_startup_utf8.vim,
5887 src/testdir/test_syntax.vim, src/testdir/test_tabpage.vim,
5888 src/testdir/test_timers.vim, src/testdir/test_vimscript.vim,
5889 src/testdir/test_writefile.vim
5890
5891Patch 8.2.0867
5892Problem: Using \{xxx} for encoding a modifier is not nice.
5893Solution: Use \<*xxx> instead, since it's the same as \<xxx> but producing a
5894 different code.
5895Files: runtime/doc/eval.txt, src/typval.c, src/misc2.c, src/vim.h,
5896 src/testdir/test_backspace_opt.vim, src/testdir/test_mapping.vim,
5897 src/testdir/test_messages.vim
5898
5899Patch 8.2.0868
5900Problem: trim() always trims both ends.
5901Solution: Add an argument to only trim the beginning or end. (Yegappan
5902 Lakshmanan, closes #6126)
5903Files: runtime/doc/eval.txt, src/evalfunc.c,
5904 src/testdir/test_functions.vim
5905
5906Patch 8.2.0869
5907Problem: It is not possible to customize the quickfix window contents.
5908Solution: Add 'quickfixtextfunc'. (Yegappan Lakshmanan, closes #5465)
5909Files: runtime/doc/eval.txt, runtime/doc/options.txt,
5910 runtime/doc/quickfix.txt, src/option.h, src/optiondefs.h,
5911 src/quickfix.c, src/testdir/test_quickfix.vim
5912
5913Patch 8.2.0870
5914Problem: MS-Windows: Control keys don't work in the GUI.
5915Solution: Don't set seenModifyOtherKeys for now. (Yasuhiro Matsumoto,
5916 closes #6175)
5917Files: src/gui.c
5918
5919Patch 8.2.0871
5920Problem: Cannot use getmarklist() as a method.
5921Solution: Make getmarklist() work as a method. Add one to the column
5922 number to match getpos(). (Yegappan Lakshmanan, closes #6176)
5923Files: runtime/doc/eval.txt, src/evalfunc.c, src/mark.c,
5924 src/testdir/test_marks.vim
5925
5926Patch 8.2.0872
5927Problem: XIM code is mixed with multibyte code.
5928Solution: Move the XIM code to a separate file. (Yegappan Lakshmanan,
5929 closes #6177)
5930Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
5931 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/gui_xim.c,
5932 src/mbyte.c, src/proto.h, src/proto/gui_xim.pro,
5933 src/proto/mbyte.pro
5934
5935Patch 8.2.0873
5936Problem: A .jl file can be sawfish (lisp) or Julia.
5937Solution: Do not recognize *.jl as lisp, since it might be Julia.
5938 (closes #6178)
5939Files: runtime/filetype.vim, src/testdir/test_filetype.vim
5940
5941Patch 8.2.0874
5942Problem: Signals test is a bit flaky.
5943Solution: Flush the XautoOut file. Delete files that may be left behind
5944 from a failure. (Dominique Pellé, closes #6179)
5945Files: src/testdir/test_signals.vim
5946
5947Patch 8.2.0875
5948Problem: Getting attributes for directory entries is slow.
5949Solution: Add readdirex(). (Ken Takata, closes #5619)
5950Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00005951 src/fileio.c, src/filepath.c, src/proto/fileio.pro,
Bram Moolenaarc51cf032022-02-26 12:25:45 +00005952 src/proto/filepath.pro, src/testdir/test_functions.vim
5953
5954Patch 8.2.0876
5955Problem: :pwd does not give a hint about the scope of the directory
5956Solution: Make ":verbose pwd" show the scope. (Takuya Fujiwara, closes #5469)
5957Files: runtime/doc/editing.txt, src/ex_docmd.c, src/testdir/test_cd.vim
5958
5959Patch 8.2.0877
5960Problem: Cannot get the search statistics.
5961Solution: Add the searchcount() function. (Fujiwara Takuya, closes #4446)
5962Files: runtime/doc/eval.txt, src/evalfunc.c, src/macros.h,
5963 src/proto/search.pro, src/search.c,
5964 src/testdir/test_search_stat.vim
5965
5966Patch 8.2.0878
5967Problem: No reduce() function.
5968Solution: Add a reduce() function. (closes #5481)
5969Files: runtime/doc/eval.txt, src/evalfunc.c, src/globals.h, src/list.c,
5970 src/proto/list.pro, src/testdir/test_listdict.vim
5971
5972Patch 8.2.0879
5973Problem: Compiler warning for unused function argument.
5974Solution: Add UNUSED.
5975Files: src/search.c
5976
5977Patch 8.2.0880 (after 8.2.0877)
5978Problem: Leaking memory when using searchcount().
5979Solution: Free the last used search pattern.
5980Files: src/search.c
5981
5982Patch 8.2.0881
5983Problem: Compiler warning for argument type.
5984Solution: Add type cast. (Mike Williams)
5985Files: src/ops.c
5986
5987Patch 8.2.0882
5988Problem: Leaking memory when using reduce().
5989Solution: Free the intermediate value.
5990Files: src/list.c
5991
5992Patch 8.2.0883
5993Problem: Memory leak in test 49.
5994Solution: Free "sfile" from the exception.
5995Files: src/ex_docmd.c
5996
5997Patch 8.2.0884
5998Problem: Searchcount() test fails on slower systems.
5999Solution: Set a longer timeout.
6000Files: src/search.c, src/testdir/test_search_stat.vim
6001
6002Patch 8.2.0885
6003Problem: "make shadow" does not link new lua test dir.
6004Solution: Also link testdir/testluaplugin. (Elimar Riesebieter)
6005Files: src/Makefile
6006
6007Patch 8.2.0886
6008Problem: Cannot use octal numbers in scriptversion 4.
6009Solution: Add the "0o" notation. (Ken Takata, closes #5304)
6010Files: runtime/doc/eval.txt, src/charset.c, src/evalfunc.c,
6011 src/testdir/test_eval_stuff.vim, src/testdir/test_functions.vim,
6012 src/vim.h
6013
6014Patch 8.2.0887
6015Problem: Searchcount().exact_match is 1 right after a match.
6016Solution: Use LT_POS() instead of LTOREQ_POS(). (closes #6189)
6017Files: src/search.c, src/testdir/test_search_stat.vim
6018
6019Patch 8.2.0888
6020Problem: Readdirex() returns size -2 for a directory.
6021Solution: Add missing "else". (Ken Takata, closes #6185)
6022Files: src/fileio.c, src/testdir/test_functions.vim
6023
6024Patch 8.2.0889
6025Problem: Using old style comments.
6026Solution: Use // comments. (Yegappan Lakshmanan, closes #6190)
6027Files: src/gui_xim.c
6028
6029Patch 8.2.0890
6030Problem: No color in terminal window when 'termguicolors' is set.
6031Solution: Clear the underline color. (closes #6186)
6032Files: src/highlight.c
6033
6034Patch 8.2.0891
6035Problem: Clang warns for invalid conversion.
6036Solution: Use zero instead of INVALCOLOR.
6037Files: src/highlight.c
6038
6039Patch 8.2.0892
6040Problem: Ubsan warns for undefined behavior.
6041Solution: Use unsigned instead of signed variable. (Dominique Pellé,
6042 closes #6193)
6043Files: src/regexp_nfa.c
6044
6045Patch 8.2.0893
6046Problem: Assert_equalfile() does not take a third argument.
6047Solution: Implement the third argument. (Gary Johnson)
6048Files: runtime/doc/eval.txt, runtime/doc/testing.txt, src/evalfunc.c,
6049 src/testdir/test_assert.vim, src/testing.c
6050
6051Patch 8.2.0894
6052Problem: :mkspell can take very long if the word count is high.
6053Solution: Use long to avoid negative numbers. Increase the limits by 20% if
6054 the compression did not have effect.
6055Files: src/spellfile.c
6056
6057Patch 8.2.0895
6058Problem: :mkspell output does not mention the tree type.
6059Solution: Back out increasing the limits, it has no effect. Mention the
6060 tree being compressed. Only give a message once per second.
6061Files: src/spellfile.c
6062
6063Patch 8.2.0896
6064Problem: Crash when calling searchcount() with a string.
6065Solution: Check the argument is a dict. (closes #6192)
6066Files: src/search.c, src/testdir/test_search_stat.vim
6067
6068Patch 8.2.0897
6069Problem: List of functions in patched version is outdated.
6070Solution: Update the function lists only.
6071Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt
6072
6073Patch 8.2.0898
6074Problem: Missing help for a function goes unnoticed.
6075Solution: Add a test. (Gary Johnson)
6076Files: src/testdir/test_function_lists.vim, src/testdir/Make_all.mak
6077
6078Patch 8.2.0899
6079Problem: Assert_equalfile() does not give a hint about the difference.
6080Solution: Display the last seen text.
6081Files: src/testing.c, src/testdir/test_assert.vim
6082
6083Patch 8.2.0900
6084Problem: Function list test fails on MS-Windows.
6085Solution: Make sure the fileformat is "unix"
6086Files: src/testdir/test_function_lists.vim
6087
6088Patch 8.2.0901
6089Problem: Formatting CJK text isn't optimal.
6090Solution: Properly break CJK lines. (closes #3875)
6091Files: runtime/doc/change.txt, src/mbyte.c, src/ops.c, src/option.h,
6092 src/proto/mbyte.pro, src/testdir/Make_all.mak, src/textformat.c,
6093 src/testdir/test_cjk_linebreak.vim
6094
6095Patch 8.2.0902
6096Problem: Using searchcount() in 'statusline' causes an error.
6097Solution: Avoid saving/restoring the search pattern recursively.
6098 (closes #6194)
6099Files: src/search.c, src/testdir/test_search_stat.vim,
6100 src/testdir/dumps/Test_searchstat_4.dump
6101
6102Patch 8.2.0903
6103Problem: comparing WINVER does not work correctly.
6104Solution: Use arithmetic expansion. (Ozaki Kiichi, closes #6197)
6105Files: src/Make_cyg_ming.mak
6106
6107Patch 8.2.0904
6108Problem: Assuming modifyOtherKeys for rhs of mapping.
6109Solution: Ignore seenModifyOtherKeys for mapped characters. (closes #6200)
6110Files: src/getchar.c, src/testdir/test_gui.vim
6111
6112Patch 8.2.0905
6113Problem: Test coverage could be better.
6114Solution: Add a couple of tests. (Dominique Pellé, closes #6202)
6115Files: src/testdir/test_cmdline.vim, src/testdir/test_ga.vim
6116
6117Patch 8.2.0906
6118Problem: When setting 'termguicolors' SpellBad is no longer red.
6119Solution: Only use the RGB guisp color for cterm when using the "underline"
6120 or "undercurl" attributes to avoid the background color to be
6121 cleared. Also make t_8u empty when the termresponse indicates a
6122 real xterm. (closes #6207)
6123Files: src/highlight.c, src/term.c
6124
6125Patch 8.2.0907
6126Problem: When using :global clipboard isn't set correctly.
6127Solution: Set "clip_unnamed_saved" instead of "clip_unnamed". (Christian
6128 Brabandt, closes #6203, closes #6198)
6129Files: src/clipboard.c, src/testdir/test_global.vim
6130
6131Patch 8.2.0908
6132Problem: Crash when changing the function table while listing it.
6133Solution: Bail out when the function table changes. (closes #6209)
6134Files: src/userfunc.c, src/testdir/test_timers.vim
6135
6136Patch 8.2.0909
6137Problem: Cannot go back to the previous local directory.
6138Solution: Add "tcd -" and "lcd -". (Yegappan Lakshmanan, closes #4362)
6139Files: runtime/doc/editing.txt, src/filepath.c, src/ex_docmd.c,
6140 src/structs.h, src/testdir/test_cd.vim, src/window.c
6141
6142Patch 8.2.0910
6143Problem: Vim is not reproducibly buildable.
6144Solution: Use the $SOURCE_DATE_EPOCH environment variable in configure.
6145 (James McCoy, closes #513) Give a warning about using it.
6146Files: src/config.h.in, src/config.mk.in, src/configure.ac,
6147 src/auto/configure, src/version.c, src/Makefile
6148
6149Patch 8.2.0911
6150Problem: Crash when opening a buffer for the cmdline window fails. (Chris
6151 Barber)
6152Solution: Check do_ecmd() succeeds. Reset got_int if "q" was used at the
6153 more prompt. (closes #6211)
6154Files: src/ex_getln.c, src/testdir/test_cmdline.vim,
6155 src/testdir/dumps/Test_cmdwin_interrupted.dump
6156
6157Patch 8.2.0912
6158Problem: A few test cases for CJK formatting are disabled.
6159Solution: Fix the tests and enable them. (closes #6212)
6160Files: src/testdir/test_cjk_linebreak.vim
6161
6162Patch 8.2.0913
6163Problem: Code for resetting v:register is duplicated.
6164Solution: Add reset_reg_var().
6165Files: src/evalvars.c, src/proto/evalvars.pro, src/main.c, src/normal.c
6166
6167Patch 8.2.0914
6168Problem: MS-Windows: cannot specify a "modified by" text.
6169Solution: Add MODIFIED_BY in the MSVC build file. (Chen Lei, closes #1275)
6170Files: src/Make_mvc.mak
6171
6172Patch 8.2.0915
6173Problem: Search() cannot skip over matches like searchpair() can.
6174Solution: Add an optional "skip" argument. (Christian Brabandt, closes #861)
6175Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_syntax.vim,
6176 src/structs.h, src/evalvars.c, src/proto/evalvars.pro
6177
6178Patch 8.2.0916
6179Problem: Mapping with partly modifyOtherKeys code does not work.
6180Solution: If there is no mapping with a separate modifier include the
6181 modifier in the key and then try mapping again. (closes #6200)
6182Files: src/getchar.c, src/proto/getchar.pro, src/edit.c, src/term.c,
6183 src/proto/term.pro, src/testdir/test_termcodes.vim
6184
6185Patch 8.2.0917
6186Problem: Quickfix entries do not support a "note" type.
6187Solution: Add support for "note". (partly by Yegappan Lakshmanan,
6188 closes #5527, closes #6216)
6189Files: runtime/doc/quickfix.txt, src/quickfix.c,
6190 src/testdir/test_quickfix.vim
6191
6192Patch 8.2.0918
6193Problem: Duplicate code for evaluating expression argument.
6194Solution: Merge the code and make the use more flexible.
6195Files: src/evalfunc.c, src/eval.c, src/proto/eval.pro, src/evalvars.c,
6196 src/proto/evalvars.pro, src/structs.h
6197
6198Patch 8.2.0919
6199Problem: Merging modifier for modifyOtherKeys is done twice.
6200Solution: Remove the merging done in vgetc().
6201Files: src/getchar.c, src/ex_getln.c
6202
6203Patch 8.2.0920
6204Problem: Writing viminfo fails with a circular reference.
6205Solution: Use copyID to detect the cycle. (closes #6217)
6206Files: src/testdir/test_viminfo.vim, src/viminfo.c
6207
6208Patch 8.2.0921
6209Problem: CTRL-W T in cmdline window causes trouble.
6210Solution: Disallow CTRL-W T in the cmdline window. Add more tests.
6211 (Naruhiko Nishino, closes #6219)
6212Files: src/testdir/test_cmdline.vim, src/window.c
6213
6214Patch 8.2.0922
6215Problem: Search test fails.
6216Solution: Remove failure tests for calls that no longer fail.
6217Files: src/testdir/test_search.vim
6218
6219Patch 8.2.0923
6220Problem: Cmdline test is slow.
6221Solution: Use WaitForAssert().
6222Files: src/testdir/test_cmdline.vim
6223
6224Patch 8.2.0924
6225Problem: Cannot save and restore a register properly.
6226Solution: Add getreginfo() and make setreg() accept a dictionary. (Andy
6227 Massimino, closes #3370)
6228Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
6229 src/proto/register.pro, src/register.c,
6230 src/testdir/test_eval_stuff.vim, src/testdir/test_registers.vim
6231
6232Patch 8.2.0925
6233Problem: Getcompletion() does not return command line arguments.
6234Solution: Add the "cmdline" option. (Shougo, closes #1140)
6235Files: runtime/doc/eval.txt, src/cmdexpand.c,
6236 src/testdir/test_cmdline.vim
6237
6238Patch 8.2.0926
6239Problem: Cmdline test fails on Appveyor.
6240Solution: Add CR to the commands. (Naruhiko Nishino, closes #6220)
6241Files: src/testdir/test_cmdline.vim
6242
6243Patch 8.2.0927
6244Problem: Some sshconfig and ssdhconfig files are not recognized.
6245Solution: Add filetype patterns.
6246Files: runtime/filetype.vim, src/testdir/test_filetype.vim
6247
6248Patch 8.2.0928
6249Problem: Many type casts are used for vim_strnsave().
6250Solution: Make the length argument size_t instead of int. (Ken Takata,
6251 closes #5633) Remove some type casts.
6252Files: src/misc2.c, src/proto/misc2.pro, src/autocmd.c, src/channel.c,
6253 src/cmdexpand.c, src/dict.c, src/diff.c, src/digraph.c,
6254 src/eval.c, src/evalfunc.c, src/highlight.c, src/syntax.c
6255
6256Patch 8.2.0929
6257Problem: v:register is not cleared after an operator was executed.
6258Solution: Clear v:register after finishing an operator (Andy Massimino,
6259 closes #5305)
6260Files: src/normal.c, src/testdir/test_registers.vim
6261
6262Patch 8.2.0930
6263Problem: Script filetype detection trips over env -S argument.
6264Solution: Remove "-S" and "--ignore-environment". (closes #5013)
6265 Add tests.
6266Files: runtime/scripts.vim, src/testdir/test_filetype.vim
6267
6268Patch 8.2.0931
6269Problem: Some remarks about BeOS remain.
6270Solution: Remove BeOS remarks from the help and other files. (Emir Sarı,
6271 closes #6221)
6272Files: READMEdir/README_extra.txt, runtime/doc/options.txt,
6273 runtime/doc/os_beos.txt, runtime/doc/os_vms.txt,
6274 runtime/doc/vi_diff.txt, src/INSTALL
6275
6276Patch 8.2.0932
6277Problem: Misspelling spelllang.
6278Solution: Add an "l". (Dominique Pellé)
6279Files: src/optionstr.c, src/proto/spell.pro, src/spell.c
6280
6281Patch 8.2.0933
6282Problem: 'quickfixtextfunc' does not get window ID of location list.
6283Solution: Add "winid" to the dict argument. (Yegappan Lakshmanan,
6284 closes #6222)
6285Files: runtime/doc/quickfix.txt, src/quickfix.c,
6286 src/testdir/test_quickfix.vim
6287
6288Patch 8.2.0934
6289Problem: Running lhelpgrep twice in a help window doesn't jump to the help
6290 topic.
6291Solution: Check whether any window with the location list is present.
6292 (Yegappan Lakshmanan, closes #6215)
6293Files: src/quickfix.c, src/testdir/test_quickfix.vim
6294
6295Patch 8.2.0935
6296Problem: Flattening a list with existing code is slow.
6297Solution: Add flatten(). (Mopp, closes #3676)
6298Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
6299 src/list.c, src/proto/list.pro, src/testdir/Make_all.mak,
6300 src/testdir/test_flatten.vim
6301
6302Patch 8.2.0936
6303Problem: Some terminals misinterpret the code for getting cursor style.
6304Solution: Send a sequence to the terminal and check the result. (IWAMOTO
6305 Kouichi, closes #2126) Merged with current code.
6306Files: src/main.c, src/term.c, src/proto/term.pro,
6307 src/testdir/term_util.vim, src/testdir/test_quickfix.vim,
6308 src/testdir/test_terminal.vim, src/testdir/test_startup_utf8.vim,
6309 src/testdir/dumps/Test_balloon_eval_term_01.dump,
6310 src/testdir/dumps/Test_balloon_eval_term_01a.dump,
6311 src/testdir/dumps/Test_balloon_eval_term_02.dump,
6312 src/testdir/dumps/Test_terminal_all_ansi_colors.dump
6313
6314Patch 8.2.0937
6315Problem: Asan failure in the flatten() test.
6316Solution: Free the flattened list.
6317Files: src/list.c
6318
6319Patch 8.2.0938
6320Problem: NFA regexp uses tolower() to compare ignore-case. (Thayne McCombs)
6321Solution: Use utf_fold() when possible. (ref. neovim #12456)
6322Files: src/macros.h, src/diff.c, src/regexp_nfa.c,
6323 src/testdir/test_regexp_utf8.vim
6324
6325Patch 8.2.0939
6326Problem: checking for term escape sequences is long and confusing
6327Solution: Refactor code into separate functions.
6328Files: src/term.c
6329
6330Patch 8.2.0940 (after 8.2.0939)
6331Problem: Build failure with tiny features.
6332Solution: Add #ifdef. Add UNUSED. A bit more cleaning up.
6333Files: src/term.c
6334
6335Patch 8.2.0941
6336Problem: Detecting terminal properties is unstructured.
6337Solution: Add a table with terminal properties. Set properties when a
6338 terminal is detected.
6339Files: src/term.c
6340
6341Patch 8.2.0942
6342Problem: Expanding to local dir after homedir keeps "~/".
6343Solution: Adjust modify_fname(). (Christian Brabandt, closes #6205,
6344 closes #5979)
6345Files: src/filepath.c, src/testdir/test_fnamemodify.vim
6346
6347Patch 8.2.0943
6348Problem: Displaying ^M or ^J depends on current buffer.
6349Solution: Pass the displayed buffer to transchar(). (closes #6225)
6350Files: src/drawline.c, src/charset.c, src/proto/charset.pro,
6351 src/ex_cmds.c, src/gui_beval.c, src/message.c,
6352 src/testdir/test_display.vim,
6353 src/testdir/dumps/Test_display_unprintable_01.dump,
6354 src/testdir/dumps/Test_display_unprintable_02.dump
6355
6356Patch 8.2.0944
6357Problem: Xxd test leaves file behind.
6358Solution: Delete the file "XXDfile". (Christian Brabandt, closes #6228)
6359Files: src/testdir/test_xxd.vim
6360
6361Patch 8.2.0945
6362Problem: Cannot use "z=" when 'spell' is off.
6363Solution: Make "z=" work even when 'spell' is off. (Christian Brabandt,
6364 Gary Johnson, closes #6227)
6365Files: runtime/doc/eval.txt, src/evalfunc.c, src/spell.c,
6366 src/spellsuggest.c, src/testdir/test_spell.vim, src/globals.h
6367
6368Patch 8.2.0946
6369Problem: Cannot use "q" to cancel a number prompt.
6370Solution: Recognize "q" instead of ignoring it.
6371Files: src/misc1.c, src/testdir/test_functions.vim
6372
6373Patch 8.2.0947
6374Problem: Readdirex() doesn't handle broken link properly.
6375Solution: Small fixes to readdirex(). (Christian Brabandt, closes #6226,
6376 closes #6213)
6377Files: src/fileio.c, src/testdir/test_functions.vim
6378
6379Patch 8.2.0948
6380Problem: Spell test fails.
6381Solution: Adjust expected text of the prompt.
6382Files: src/testdir/test_spell.vim
6383
6384Patch 8.2.0949
6385Problem: Strptime() does not use DST.
6386Solution: Set the tm_isdst field to -1. (Tomáš Janoušek, closes #6230)
6387Files: src/time.c, src/testdir/test_functions.vim
6388
6389Patch 8.2.0950
6390Problem: Tagjump test fails.
6391Solution: Adjust expected text of the prompt.
6392Files: src/testdir/test_tagjump.vim
6393
6394Patch 8.2.0951
6395Problem: Search stat test has leftover from debugging.
6396Solution: Remove line that writes a file. (Christian Brabandt, closes #6224)
6397Files: src/testdir/test_search_stat.vim
6398
6399Patch 8.2.0952
6400Problem: No simple way to interrupt Vim.
6401Solution: Add the SigUSR1 autocommand, triggered by SIGUSR1. (Jacob Hayes,
6402 closes #1718)
6403Files: runtime/doc/autocmd.txt, src/vim.h, src/autocmd.c, src/getchar.c,
6404 src/globals.h, src/os_unix.c, src/testdir/test_autocmd.vim
6405
6406Patch 8.2.0953
6407Problem: Spell checking doesn't work for CamelCased words.
6408Solution: Add the "camel" value in the new option 'spelloptions'.
6409 (closes #1235)
6410Files: runtime/doc/options.txt, runtime/doc/spell.txt, src/optiondefs.h,
6411 src/option.h, src/option.c, src/buffer.c, src/optionstr.c,
6412 src/testdir/gen_opt_test.vim, src/testdir/test_spell.vim
6413
6414Patch 8.2.0954
6415Problem: Not all desktop files are recognized.
6416Solution: Add the *.directory pattern. (Eisuke Kawashima, closes #3317)
6417Files: runtime/filetype.vim, src/testdir/test_filetype.vim
6418
6419Patch 8.2.0955 (after 8.2.0953)
6420Problem: Build fails.
6421Solution: Add missing struct change.
6422Files: src/structs.h
6423
6424Patch 8.2.0956 (after 8.2.0953)
6425Problem: Spell test fails.
6426Solution: Add missing change the spell checking.
6427Files: src/spell.c
6428
6429Patch 8.2.0957
6430Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
6431Solution: Initialize one variable.
6432Files: src/spell.c
6433
6434Patch 8.2.0958
6435Problem: Not sufficient testing for buffer writing.
6436Solution: Add a few tests. (Yegappan Lakshmanan, closes #6238)
6437Files: src/testdir/test_backup.vim, src/testdir/test_writefile.vim
6438
6439Patch 8.2.0959
6440Problem: Using 'quickfixtextfunc' is a bit slow.
6441Solution: Process a list of entries. (Yegappan Lakshmanan, closes #6234)
6442Files: runtime/doc/quickfix.txt, src/quickfix.c,
6443 src/testdir/test_quickfix.vim
6444
6445Patch 8.2.0960
6446Problem: Cannot use :import in legacy Vim script.
6447Solution: Support :import in any Vim script.
6448Files: src/vim9script.c, src/evalvars.c, src/userfunc.c,
6449 src/testdir/test_vim9_script.vim
6450
6451Patch 8.2.0961
6452Problem: MS-Windows: no completion for locales.
6453Solution: Use the directories in $VIMRUNTIME/lang to complete locales.
6454 (Christian Brabandt, closes 36248)
6455Files: src/cmdexpand.c, src/ex_cmds2.c, src/testdir/test_cmdline.vim
6456
6457Patch 8.2.0962
6458Problem: Terminal test sometimes hangs on Travis.
6459Solution: Do show output for this test temporarily.
6460Files: src/testdir/Makefile
6461
6462Patch 8.2.0963
6463Problem: Number increment/decrement does not work with 'virtualedit'.
6464Solution: Handle coladd changing. (Christian Brabandt, closes #6240,
6465 closes #923)
6466Files: runtime/doc/options.txt, runtime/doc/various.txt, src/ops.c,
6467 src/testdir/test_increment.vim
6468
6469Patch 8.2.0964
6470Problem: TextYankPost does not provide info about Visual selection.
6471Solution: Add the 'visual' key in v:event. (closes #6249)
6472Files: runtime/doc/autocmd.txt, src/register.c,
6473 src/testdir/test_autocmd.vim
6474
6475Patch 8.2.0965
6476Problem: Has_funcundefined() is not used.
6477Solution: Delete the function. (Dominique Pellé, closes #6242)
6478Files: src/autocmd.c, src/proto/autocmd.pro
6479
6480Patch 8.2.0966
6481Problem: 'shortmess' flag "n" not used in two places.
6482Solution: Make use of the "n" flag consistent. (Nick Jensen, closes #6245,
6483 closes #6244)
6484Files: src/bufwrite.c, src/proto/bufwrite.pro, src/buffer.c,
6485 src/fileio.c, src/testdir/dumps/Test_popup_textprop_corn_5.dump,
6486 src/testdir/dumps/Test_start_with_tabs.dump
6487
6488Patch 8.2.0967
6489Problem: Unnecessary type casts for vim_strnsave().
6490Solution: Remove the type casts.
6491Files: src/evalvars.c, src/ex_cmds.c, src/ex_eval.c, src/fileio.c,
6492 src/filepath.c, src/findfile.c, src/highlight.c, src/if_ruby.c,
6493 src/insexpand.c, src/json.c, src/mark.c, src/memline.c,
6494 src/menu.c, src/misc1.c, src/ops.c, src/os_win32.c, src/regexp.c,
6495 src/regexp_bt.c, src/regexp_nfa.c, src/register.c, src/search.c,
6496 src/sign.c, src/syntax.c, src/term.c, src/terminal.c, src/undo.c,
6497 src/usercmd.c, src/userfunc.c, src/vim9compile.c, src/if_perl.xs
6498
6499Patch 8.2.0968
6500Problem: No proper testing of the 'cpoptions' flags.
6501Solution: Add tests. (Yegappan Lakshmanan, closes #6251)
6502Files: src/testdir/Make_all.mak, src/testdir/test_cpoptions.vim,
6503 src/testdir/test_edit.vim, src/testdir/test_normal.vim
6504
6505Patch 8.2.0969
6506Problem: Assert_equal() output for dicts is hard to figure out.
6507Solution: Only show the different items.
6508Files: src/testing.c, src/testdir/test_assert.vim
6509
6510Patch 8.2.0970
6511Problem: Terminal properties are not available in Vim script.
6512Solution: Add the terminalprops() function.
6513Files: src/term.c, src/proto/term.pro, src/evalfunc.c, src/main.c,
6514 src/testing.c, src/globals.h, src/testdir/test_termcodes.vim,
6515 runtime/doc/usr_41.txt, runtime/doc/eval.txt,
6516 runtime/doc/testing.txt
6517
6518Patch 8.2.0971
6519Problem: Build with tiny features fails.
6520Solution: Add #ifdef.
6521Files: src/term.c
6522
6523Patch 8.2.0972
6524Problem: Vim9 script variable declarations need a type.
6525Solution: Make "let var: type" declare a script-local variable.
6526Files: src/evalvars.c, src/vim9script.c, src/proto/vim9script.pro,
6527 src/globals.h, src/vim9compile.c, src/testdir/test_vim9_script.vim
6528
6529Patch 8.2.0973
6530Problem: Vim9: type is not checked when assigning to a script variable.
6531Solution: Check the type.
6532Files: src/evalvars.c, src/vim9script.c, src/proto/vim9script.pro,
6533 src/vim9compile.c, src/proto/vim9compile.pro,
6534 src/testdir/test_vim9_script.vim
6535
6536Patch 8.2.0974
6537Problem: Vim9: memory leak when script var has wrong type.
6538Solution: Free the variable name.
6539Files: src/vim9script.vim
6540
6541Patch 8.2.0975
6542Problem: Vim9: script variable does not accept optional s: prefix.
6543Solution: Adjust the accepted syntax.
6544Files: src/vim9script.c, src/testdir/test_vim9_script.vim
6545
6546Patch 8.2.0976
6547Problem: Some 'cpoptions' not tested.
6548Solution: Add more tests. (Yegappan Lakshmanan, closes #6253)
6549Files: src/testdir/test_cd.vim, src/testdir/test_charsearch.vim,
6550 src/testdir/test_cpoptions.vim, src/testdir/test_normal.vim
6551
6552Patch 8.2.0977
6553Problem: t_8u is made empty for the wrong terminals. (Dominique Pelle)
6554Solution: Invert the check for TPR_YES. (closes #6254)
6555Files: src/term.c, src/testdir/test_termcodes.vim
6556
6557Patch 8.2.0978
6558Problem: Leaking memory in termcodes test.
6559Solution: Set t_8u with set_option_value().
6560Files: src/term.c
6561
6562Patch 8.2.0979
6563Problem: A couple of screendump tests fail.
6564Solution: Do not redraw when clearing t_8u.
6565Files: src/term.c
6566
6567Patch 8.2.0980
6568Problem: Raku file extension not recognized. (Steven Penny)
6569Solution: Recognize .raku and .rakumod. (closes #6255)
6570Files: runtime/filetype.vim, src/testdir/test_filetype.vim
6571
6572Patch 8.2.0981
6573Problem: Vim9: cannot compile "[var, var] = list".
6574Solution: Implement list assignment.
6575Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/evalvars.c,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00006576 src/proto/evalvars.pro, src/eval.c, src/testdir/test_vim9_script.vim
Bram Moolenaarc51cf032022-02-26 12:25:45 +00006577
6578Patch 8.2.0982
6579Problem: Insufficient testing for reading/writing files.
6580Solution: Add more tests. (Yegappan Lakshmanan, closes #6257)
6581 Add "ui_delay" to test_override() and use it for the CTRL-O test.
6582Files: src/testing.c, src/globals.h, src/ui.c, runtime/doc/testing.txt,
6583 src/testdir/test_autocmd.vim, src/testdir/test_edit.vim,
6584 src/testdir/test_filechanged.vim, src/testdir/test_writefile.vim
6585
6586Patch 8.2.0983
6587Problem: SConstruct file type not recognized.
6588Solution: Use python for SConstruct files. (Roland Hieber)
6589Files: runtime/filetype.vim, src/testdir/test_filetype.vim
6590
6591Patch 8.2.0984
6592Problem: Not using previous window when closing a shell popup window.
6593Solution: Use "prevwin" if it was set. (closes #6267)
6594Files: src/popupwin.c, src/testdir/test_popupwin.vim
6595
6596Patch 8.2.0985
6597Problem: Simplify() does not remove slashes from "///path".
6598Solution: Reduce > 2 slashes to one. (closes #6263)
6599Files: src/findfile.c, src/testdir/test_functions.vim
6600
6601Patch 8.2.0986 (after 8.2.0985)
6602Problem: MS-Windows: functions test fails.
6603Solution: Only simplify ///path on Unix.
6604Files: src/testdir/test_functions.vim
6605
6606Patch 8.2.0987
6607Problem: Vim9: cannot assign to [var; var].
6608Solution: Assign rest of items to a list.
6609Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/list.c,
6610 src/proto/list.pro, src/eval.c, src/testdir/test_vim9_script.vim
6611
6612Patch 8.2.0988
6613Problem: Getting directory contents is always case sorted.
6614Solution: Add sort options and v:collate. (Christian Brabandt, closes #6229)
6615Files: runtime/doc/eval.txt, runtime/doc/mlang.txt, src/auto/configure,
6616 src/cmdexpand.c, src/config.h.in, src/configure.ac,
6617 src/evalfunc.c, src/evalvars.c, src/ex_cmds2.c, src/fileio.c,
6618 src/filepath.c, src/globals.h, src/proto/fileio.pro,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00006619 src/testdir/test_cmdline.vim, src/testdir/test_functions.vim,
Bram Moolenaarc51cf032022-02-26 12:25:45 +00006620 src/vim.h
6621
6622Patch 8.2.0989
6623Problem: Crash after resizing a terminal window. (August Masquelier)
6624Solution: Add check for valid row in libvterm. (closes #6273)
6625Files: src/libvterm/src/state.c, src/libvterm/src/screen.c
6626
6627Patch 8.2.0990 (after 8.2.0988)
6628Problem: Using duplicate error number.
6629Solution: Use an unused error number. Add a test for it.
6630Files: src/globals.h, src/testdir/test_functions.vim
6631
6632Patch 8.2.0991
6633Problem: Cannot get window type for autocmd and preview window.
6634Solution: Add types to win_gettype(). (Yegappan Lakshmanan, closes #6277)
6635Files: runtime/doc/eval.txt, src/evalwindow.c,
6636 src/testdir/test_autocmd.vim, src/testdir/test_preview.vim
6637
6638Patch 8.2.0992
6639Problem: Vim9: crash when using :import in the Vim command.
6640Solution: Give an error when using :import outside of a script.
6641 (closes #6271)
6642Files: src/vim9script.c, src/testdir/test_vim9_script.vim,
6643 src/testdir/term_util.vim
6644
6645Patch 8.2.0993
6646Problem: Vim9 script test fails with normal features.
6647Solution: Use :func instead of :def for now.
6648Files: src/testdir/test_vim9_script.vim
6649
6650Patch 8.2.0994
6651Problem: Vim9: missing function causes compilation error.
6652Solution: Call test function indirectly.
6653Files: src/testdir/test_vim9_script.vim
6654
6655Patch 8.2.0995
6656Problem: Insufficient testing for the readdir() sort option.
6657Solution: Add a few more tests. (Christian Brabandt, closes #6278)
6658Files: src/testdir/test_functions.vim
6659
6660Patch 8.2.0996
6661Problem: Using "aucmdwin" in win_gettype() is not ideal.
6662Solution: Rename to "autocmd".
6663Files: runtime/doc/eval.txt, src/evalwindow.c,
6664 src/testdir/test_autocmd.vim
6665
6666Patch 8.2.0997
6667Problem: Cannot execute a register containing line continuation.
6668Solution: Concatenate lines where needed. (Yegappan Lakshmanan,
6669 closes #6272)
6670Files: runtime/doc/repeat.txt, src/register.c,
6671 src/testdir/test_registers.vim
6672
6673Patch 8.2.0998
6674Problem: Not all tag code is tested.
6675Solution: Add a few more test cases. (Yegappan Lakshmanan, closes #6284)
6676Files: src/testdir/test_tagjump.vim
6677
6678Patch 8.2.0999
6679Problem: Moving to next sentence gets stuck on quote.
6680Solution: When moving to the next sentence doesn't result in moving, advance
6681 a character and try again. (closes #6291)
6682Files: src/textobject.c, src/testdir/test_textobjects.vim
6683
6684Patch 8.2.1000
6685Problem: Get error when leaving Ex mode with :visual and a CmdLineEnter
6686 autocommand was used.
6687Solution: Reset ex_pressedreturn. (closes #6293)
6688Files: src/ex_docmd.c, src/testdir/test_ex_mode.vim
6689
6690Patch 8.2.1001
6691Problem: Vim9: crash with nested "if" and assignment.
6692Solution: Skip more of the assignment. Do not set ctx_skip when code is
6693 reachable.
6694Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
6695
6696Patch 8.2.1002
6697Problem: Test may fail when run directly.
6698Solution: Check if g:run_nr exists. (Christian Brabandt, closes #6285)
6699Files: src/testdir/term_util.vim
6700
6701Patch 8.2.1003
6702Problem: Vim9: return type of sort() is too generic.
6703Solution: Get type from the first argument. (closes #6292)
6704Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
6705
6706Patch 8.2.1004
6707Problem: Line numbers below filler lines not always updated.
6708Solution: Don't break out of the win_line() loop too early. (Christian
6709 Brabandt, closes #6294, closes #6138)
6710Files: src/drawline.c, src/testdir/dumps/Test_diff_rnu_01.dump,
6711 src/testdir/dumps/Test_diff_rnu_02.dump,
6712 src/testdir/dumps/Test_diff_rnu_03.dump,
6713 src/testdir/test_diffmode.vim
6714
6715Patch 8.2.1005
6716Problem: Vim9: using TRUE/FALSE/MAYBE for ctx_skip is confusing.
6717Solution: Use an enum value.
6718Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
6719
6720Patch 8.2.1006
6721Problem: Vim9: require unnecessary return statement.
6722Solution: Improve the use of the had_return flag. (closes #6270)
6723Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim,
6724 src/testdir/test_vim9_func.vim
6725
6726Patch 8.2.1007
6727Problem: Completion doesn't work after ":r ++arg !".
6728Solution: Skip over "++arg". (Christian Brabandt, closes #6275,
6729 closes #6258)
6730Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
6731
6732Patch 8.2.1008
6733Problem: Vim9: no test for disassembling newly added instructions.
6734Solution: Add a function and check disassembly.
6735Files: src/testdir/test_vim9_disassemble.vim
6736
6737Patch 8.2.1009
6738Problem: Vim9: some failures not checked for.
6739Solution: Add test cases. Remove unused code.
6740Files: src/testdir/test_vim9_script.vim, src/vim9execute.c
6741
6742Patch 8.2.1010
6743Problem: Build failure in libvterm with debug enabled. (John Little)
6744Solution: Use "->" instead of ".".
6745Files: src/libvterm/src/state.c
6746
6747Patch 8.2.1011
6748Problem: Vim9: some code not tested.
6749Solution: Add a few more test cases. Reorder checks for clearer error.
6750 Remove unreachable code.
6751Files: src/evalvars.c, src/vim9script.c, src/vim9execute.c,
6752 src/proto/vim9script.pro, src/testdir/test_vim9_script.vim,
6753 src/testdir/test_vim9_expr.vim
6754
6755Patch 8.2.1012
6756Problem: Vim9: cannot declare single character script variables.
6757Solution: Don't see "b:", "s:", etc. as namespace. Fix item size of
6758 sn_var_vals.
6759Files: src/vim9script.c, src/scriptfile.c,
6760 src/testdir/test_vim9_script.vim
6761
6762Patch 8.2.1013
6763Problem: Channel tests can be a bit flaky.
6764Solution: Set the g:test_is_flaky flag in SetUp().
6765Files: src/testdir/test_channel.vim
6766
6767Patch 8.2.1014
6768Problem: Using "name" for a string result is confusing.
6769Solution: Rename to "end".
6770Files: src/typval.c
6771
6772Patch 8.2.1015
6773Problem: Popup filter gets key with modifier prepended when using
6774 modifyOtherKeys.
6775Solution: Remove the shift modifier when it is included in the key, also
6776 when the Alt or Meta modifier is used.
6777Files: src/term.c, src/misc2.c, src/testdir/test_popupwin.vim
6778
6779Patch 8.2.1016
6780Problem: Vim9: test fails when channel feature is missing.
6781Solution: Process an :if command when skipping
6782Files: src/vim9compile.c
6783
6784Patch 8.2.1017
6785Problem: Appveyor output doesn't show MinGW console features.
6786Solution: List the features of the console build.
6787Files: ci/appveyor.bat
6788
6789Patch 8.2.1018
6790Problem: Typo in enum value. (James McCoy)
6791Solution: Fix the typo.
6792Files: src/vim9compile.c
6793
6794Patch 8.2.1019
6795Problem: Mapping <M-S-a> does not work in the GUI.
6796Solution: Move the logic to remove the shift modifier to
6797 may_remove_shift_modifier() and also use it in the GUI.
6798Files: src/gui_gtk_x11.c, src/misc2.c, src/proto/misc2.pro, src/term.c
6799
6800Patch 8.2.1020
6801Problem: Popupwin test fails in the GUI.
6802Solution: Send GUI byte sequence for <C-S-a>.
6803Files: src/testdir/test_popupwin.vim
6804
6805Patch 8.2.1021
6806Problem: Ruby interface not tested enough.
6807Solution: Add a couple more tests. (Dominique Pellé, closes #6301)
6808Files: src/testdir/test_ruby.vim
6809
6810Patch 8.2.1022
6811Problem: Various parts of code not covered by tests.
6812Solution: Add more tests. (Yegappan Lakshmanan, closes #6300)
6813Files: src/testdir/test_blob.vim, src/testdir/test_cpoptions.vim,
6814 src/testdir/test_digraph.vim, src/testdir/test_edit.vim,
6815 src/testdir/test_iminsert.vim, src/testdir/test_paste.vim,
6816 src/testdir/test_prompt_buffer.vim,
6817 src/testdir/test_selectmode.vim, src/testdir/test_tabpage.vim,
6818 src/testdir/test_tagjump.vim, src/testdir/test_textformat.vim,
6819 src/testdir/test_viminfo.vim, src/testdir/test_virtualedit.vim,
6820 src/testdir/test_visual.vim
6821
6822Patch 8.2.1023
6823Problem: Vim9: redefining a function uses a new index every time.
6824Solution: When redefining a function clear the contents and re-use the
6825 index.
6826Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c,
6827 src/structs.h, src/eval.c, src/evalvars.c, src/vim9execute.c
6828
6829Patch 8.2.1024
6830Problem: Vim9: no error for using "let g:var = val".
6831Solution: Add an error.
6832Files: src/evalvars.c, src/globals.h, src/structs.h, src/vim9compile.c,
6833 src/scriptfile.c, src/userfunc.c, src/testdir/test_vim9_script.vim,
6834 src/testdir/test_vim9_disassemble.vim,
6835 src/testdir/test_vim9_func.vim
6836
6837Patch 8.2.1025
6838Problem: Tabpage menu and tabline not sufficiently tested.
6839Solution: Add tests. (Yegappan Lakshmanan, closes #6307)
6840Files: src/testdir/test_digraph.vim, src/testdir/test_tabpage.vim
6841
6842Patch 8.2.1026
6843Problem: Vim9: cannot break the line after "->".
6844Solution: Check for a continuation line after "->", "[" and ".". Ignore
6845 trailing white space.
6846Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
6847
6848Patch 8.2.1027
6849Problem: GUI: multibyte characters do not work in a terminal.
6850Solution: Do not assume a key is one byte. (closes #6304)
6851Files: src/gui_gtk_x11.c, src/gui_x11.c
6852
6853Patch 8.2.1028
6854Problem: Vim9: no error for declaring buffer, window, etc. variable.
6855Solution: Give an error. Unify the error messages.
6856Files: src/evalvars.c, src/globals.h, src/vim9compile.c,
6857 src/proto/vim9compile.pro, src/testdir/test_vim9_expr.vim,
6858 src/testdir/test_vim9_script.vim
6859
6860Patch 8.2.1029
6861Problem: Vim9: cannot chain function calls with -> at line start.
6862Solution: Peek ahead for a following line starting with "->". (closes #6306)
6863Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
6864
6865Patch 8.2.1030
6866Problem: Reducing size of a terminal window may cause a crash.
6867Solution: Make sure the row and column don't become negative. (closes #6273)
6868Files: src/libvterm/src/state.c, src/libvterm/src/screen.c
6869
6870Patch 8.2.1031
6871Problem: Build failure with Perl5.32.
6872Solution: Define a few more functions. (Felix Yan, closes #6310)
6873Files: src/if_perl.xs
6874
6875Patch 8.2.1032
6876Problem: Error message for declaring a variable cannot be translated.
6877Solution: Enclose in _(). Make environment variable a separate message.
6878Files: src/globals.h, src/vim9compile.c
6879
6880Patch 8.2.1033
6881Problem: Not easy to read the test time in the test output.
6882Solution: Align the times. Make slow tests bold.
6883Files: src/testdir/runtest.vim
6884
6885Patch 8.2.1034
6886Problem: Compiler warning for uninitialized variables.
6887Solution: Add initializations. (John Marriott)
6888Files: src/vim9compile.c
6889
6890Patch 8.2.1035
6891Problem: setreg() does not always clear the register.
6892Solution: Clear the register if the dict argument is empty. (Andy Massimino,
6893 closes #3370)
6894Files: src/evalfunc.c, src/testdir/test_registers.vim
6895
6896Patch 8.2.1036
6897Problem: Popupwin test fails sometimes.
6898Solution: Use WaitForAssert() instead of a sleep.
6899Files: src/testdir/test_popupwin.vim
6900
6901Patch 8.2.1037
6902Problem: Vim9: crash when using line continuation inside :def.
6903Solution: Check for no more lines available.
6904Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
6905
6906Patch 8.2.1038
6907Problem: Popupwin test fails.
6908Solution: Fix WaitForAssert() argument.
6909Files: src/testdir/test_popupwin.vim
6910
6911Patch 8.2.1039
6912Problem: Cannot put NUL byte on clipboard.
6913Solution: Use the text length. (Christian Brabandt, closes #6312,
6914 closes #6149)
6915Files: src/winclip.c, src/testdir/test_registers.vim
6916
6917Patch 8.2.1040
6918Problem: Not enough testing for movement commands.
6919Solution: Add more tests. (Yegappan Lakshmanan, closes #6313)
6920Files: src/testdir/test_cursor_func.vim, src/testdir/test_functions.vim,
6921 src/testdir/test_gf.vim, src/testdir/test_normal.vim,
6922 src/testdir/test_options.vim, src/testdir/test_quickfix.vim
6923
6924Patch 8.2.1041
6925Problem: Test summary is missing executed count.
6926Solution: Adjust pattern used for counting.
6927Files: src/testdir/summarize.vim
6928
6929Patch 8.2.1042
6930Problem: Vim9: cannot put an operator on the next line.
6931Solution: Require a colon before a range to see if that causes problems.
6932Files: runtime/doc/vim9.txt, src/vim9compile.c, src/ex_docmd.c,
6933 src/globals.h, src/testdir/test_vim9_script.vim,
6934 src/testdir/test_vim9_expr.vim
6935
6936Patch 8.2.1043
6937Problem: %a item in 'statusline' not tested.
6938Solution: Add a test. (Dominique Pellé, closes #6318)
6939Files: src/testdir/test_statusline.vim
6940
6941Patch 8.2.1044
6942Problem: Not all systemd file types are recognized.
6943Solution: Match several more files. (Guido Cella, closes #6319)
6944Files: runtime/filetype.vim, src/testdir/test_filetype.vim
6945
6946Patch 8.2.1045
6947Problem: Vim9: line break before operator does not work.
6948Solution: Peek the next line for an operator.
6949Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
6950
6951Patch 8.2.1046
6952Problem: Insufficient tests for src/buffer.c.
6953Solution: Add more tests. Move comments related tests to a separate file.
6954 (Yegappan Lakshmanan, closes #6325)
6955Files: src/testdir/Make_all.mak, src/testdir/test_buffer.vim,
6956 src/testdir/test_cmdline.vim, src/testdir/test_comments.vim,
6957 src/testdir/test_normal.vim, src/testdir/test_textformat.vim
6958
6959Patch 8.2.1047
6960Problem: Vim9: script cannot use line continuation like in a :def function.
6961Solution: Pass the getline function pointer to the eval() functions. Use it
6962 for addition and multiplication operators.
6963Files: src/vim.h, src/structs.h, src/globals.h, src/ex_eval.c,
6964 src/eval.c, src/proto/eval.pro, src/dict.c, src/evalfunc.c,
6965 src/evalvars.c, src/list.c, src/userfunc.c, src/scriptfile.c,
6966 src/proto/scriptfile.pro, src/testdir/test_vim9_expr.vim
6967
6968Patch 8.2.1048 (after 8.2.1047)
6969Problem: Build failure without the eval feature.
6970Solution: Add dummy typedef.
6971Files: src/structs.h
6972
6973Patch 8.2.1049 (after 8.2.1047)
6974Problem: Vim9: leaking memory when using continuation line.
6975Solution: Keep a pointer to the continuation line in evalarg_T. Centralize
6976 checking for a next command.
6977Files: src/structs.h, src/eval.c, src/proto/eval.pro, src/beval.c,
6978 src/buffer.c, src/clientserver.c, src/evalvars.c, src/ex_docmd.c,
6979 src/ex_eval.c, src/filepath.c, src/findfile.c, src/fold.c,
6980 src/globals.h, src/if_ole.cpp, src/if_perl.xs, src/if_tcl.c,
6981 src/map.c, src/quickfix.c, src/regexp.c, src/register.c,
6982 src/screen.c, src/userfunc.c
6983
6984Patch 8.2.1050 (after 8.2.1049)
6985Problem: Missing change in struct.
6986Solution: Add missing change.
6987Files: src/ex_cmds.h
6988
6989Patch 8.2.1051
6990Problem: Crash when changing a list while using reduce() on it.
6991Solution: Lock the list. (closes #6330)
6992Files: src/list.c, src/testdir/test_listdict.vim
6993
6994Patch 8.2.1052
6995Problem: Build failure with older compilers.
6996Solution: Move declaration to start of block.
6997Files: src/eval.c
6998
6999Patch 8.2.1053
7000Problem: Insufficient testing for 'statusline' and 'tabline'.
7001Solution: Add more tests. (Yegappan Lakshmanan, closes #6333)
7002Files: src/testdir/test_autocmd.vim, src/testdir/test_statusline.vim,
7003 src/testdir/test_tabline.vim
7004
7005Patch 8.2.1054
7006Problem: Not so easy to pass a lua function to Vim.
7007Solution: Convert a Lua function and closure to a Vim funcref. (Prabir
7008 Shrestha, closes #6246)
7009Files: runtime/doc/if_lua.txt, src/if_lua.c, src/proto/userfunc.pro,
7010 src/structs.h, src/testdir/test_lua.vim, src/userfunc.c
7011
7012Patch 8.2.1055
7013Problem: No filetype set for pacman config files.
7014Solution: Recognize pacman.conf and *.hook. (Guido Cella, closes #6335)
7015Files: runtime/filetype.vim, src/testdir/test_filetype.vim
7016
7017Patch 8.2.1056
7018Problem: Wrong display when mixing match conceal and syntax conceal.
7019Solution: Adjust how conceal flags are used. (closes #6327, closes #6303)
7020Files: src/drawline.c, src/highlight.c,
7021 src/testdir/test_matchadd_conceal.vim
7022
7023Patch 8.2.1057 (after 8.2.1054)
7024Problem: Cannot build with dynamic Lua.
7025Solution: Add dll variables.
7026Files: src/if_lua.c
7027
7028Patch 8.2.1058
7029Problem: Multiline conceal causes display errors.
7030Solution: Do not allow conceal cross over EOL. (closes #6326, closes #4854,
7031 closes #6302)
7032Files: src/drawline.c, src/testdir/test_conceal.vim,
7033 src/testdir/test_diffmode.vim
7034
7035Patch 8.2.1059
7036Problem: Crash when using :tabonly in an autocommand. (Yegappan Lakshmanan)
7037Solution: Do not allow the autocommand window to be closed.
7038Files: src/ex_docmd.c, src/window.c, src/globals.h,
7039 src/testdir/test_autocmd.vim
7040
7041Patch 8.2.1060
7042Problem: Not all elinks files are recognized.
7043Solution: Just check for "elinks.conf". (Guido Cella, closes #6337)
7044Files: runtime/filetype.vim, src/testdir/test_filetype.vim
7045
7046Patch 8.2.1061
7047Problem: Insufficient testing for src/window.c.
7048Solution: Add more tests. (Yegappan Lakshmanan, closes #6345)
7049Files: src/testdir/test_excmd.vim, src/testdir/test_gf.vim,
7050 src/testdir/test_options.vim, src/testdir/test_popupwin.vim,
7051 src/testdir/test_quickfix.vim, src/testdir/test_tabpage.vim,
7052 src/testdir/test_tagjump.vim, src/testdir/test_window_cmd.vim,
7053 src/window.c
7054
7055Patch 8.2.1062
7056Problem: Vim9: no line break allowed inside "cond ? val1 : val2".
7057Solution: Check for operator after line break.
7058Files: src/eval.c, src/testdir/test_vim9_expr.vim
7059
7060Patch 8.2.1063
7061Problem: Vim9: no line break allowed before || or &&.
7062Solution: Check for operator after line break.
7063Files: src/eval.c, src/testdir/test_vim9_expr.vim
7064
7065Patch 8.2.1064
7066Problem: Vim9: no line break allowed before comparators.
7067Solution: Check for comparator after line break.
7068Files: src/eval.c, src/testdir/test_vim9_expr.vim
7069
7070Patch 8.2.1065
7071Problem: Vim9: no line break allowed inside a list.
7072Solution: Handle line break inside a list in Vim9 script.
7073Files: src/eval.c, src/proto/eval.pro, src/list.c, src/proto/list.pro,
7074 src/vim9compile.c, src/testdir/test_vim9_expr.vim,
7075 src/testdir/test_arglist.vim
7076
7077Patch 8.2.1066
7078Problem: Lua arrays are zero based.
7079Solution: Make Lua arrays one based. (Prabir Shrestha, closes #6347)
7080 Note: this is not backwards compatible.
7081Files: runtime/doc/if_lua.txt, src/if_lua.c, src/testdir/test_lua.vim
7082
7083Patch 8.2.1067
7084Problem: Expression "!expr->func()" does not work.
7085Solution: Apply plus and minus earlier. (closes #6348)
7086Files: src/eval.c, src/proto/eval.pro, src/evalvars.c, src/userfunc.c,
7087 src/testdir/test_expr.vim, src/testdir/test_vim9_expr.vim
7088
7089Patch 8.2.1068
7090Problem: Vim9: no line break allowed inside a dict.
7091Solution: Handle line break inside a dict in Vim9 script.
7092Files: src/eval.c, src/dict.c, src/proto/dict.pro,
7093 src/vim9compile.c, src/testdir/test_vim9_expr.vim
7094
7095Patch 8.2.1069
7096Problem: Vim9: fail to check for white space in list.
7097Solution: Add check for white space.
7098Files: src/list.c
7099
7100Patch 8.2.1070
7101Problem: Vim9: leaking memory when lacking white space in dict.
7102Solution: Clear the typval.
7103Files: src/dict.c
7104
7105Patch 8.2.1071
7106Problem: Vim9: no line break allowed inside a lambda.
7107Solution: Handle line break inside a lambda in Vim9 script.
7108Files: src/eval.c, src/proto/eval.pro, src/evalvars.c, src/userfunc.c,
7109 src/proto/userfunc.pro, src/popupwin.c, src/vim9compile.c,
7110 src/ex_eval.c, src/globals.h, src/structs.h,
7111 src/testdir/test_vim9_expr.vim
7112
7113Patch 8.2.1072
7114Problem: Missing libvterm test.
7115Solution: Sync with libvterm revision 768.
7116Files: src/libvterm/src/state.c, src/libvterm/t/63screen_resize.test
7117
7118Patch 8.2.1073
7119Problem: Vim9: no line break allowed in () expression.
7120Solution: Skip a line break.
7121Files: src/eval.c, src/testdir/test_vim9_expr.vim
7122
7123Patch 8.2.1074
7124Problem: Vim9: no line break allowed after some operators.
7125Solution: Skip a line break after the operator. Add
7126 eval_may_get_next_line() to simplify checking for a line break.
7127Files: src/eval.c, src/proto/eval.pro, src/dict.c, src/list.c,
7128 src/userfunc.c, src/testdir/test_vim9_expr.vim
7129
7130Patch 8.2.1075
7131Problem: Vim9: no line break allowed in :echo expression.
7132Solution: Skip linebreak.
7133Files: src/eval.c, src/testdir/test_vim9_cmd.vim
7134
7135Patch 8.2.1076
7136Problem: Vim9: no line break allowed in :if expression.
7137Solution: Skip linebreak.
7138Files: src/eval.c, src/proto/eval.pro, src/evalvars.c,
7139 src/testdir/test_vim9_cmd.vim
7140
7141Patch 8.2.1077
7142Problem: No enough test coverage for highlighting.
7143Solution: Add more tests. (Yegappan Lakshmanan, closes #6351)
7144Files: runtime/doc/syntax.txt, src/testdir/test_cmdline.vim,
7145 src/testdir/test_highlight.vim, src/testdir/test_match.vim
7146
7147Patch 8.2.1078
7148Problem: Highlight and match functionality together in one file.
7149Solution: Move match functionality to a separate file. (Yegappan Lakshmanan,
7150 closes #6352)
7151Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
7152 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
7153 src/highlight.c, src/match.c, src/proto.h,
7154 src/proto/highlight.pro, src/proto/match.pro
7155
7156Patch 8.2.1079
7157Problem: Vim9: no line break allowed in a while loop.
7158Solution: Update stored loop lines when finding line breaks.
7159Files: src/structs.h, src/globals.h, src/eval.c, src/evalvars.c,
7160 src/ex_docmd.c, src/proto/ex_docmd.pro,
7161 src/testdir/test_vim9_cmd.vim
7162
7163Patch 8.2.1080
7164Problem: Vim9: no line break allowed in a for loop.
7165Solution: Skip line breaks in for command.
7166Files: src/eval.c, src/ex_eval.c, src/proto/eval.pro, src/userfunc.c,
7167 src/structs.h, src/globals.h, src/testdir/test_vim9_cmd.vim
7168
7169Patch 8.2.1081
7170Problem: Lua: cannot use table.insert() and table.remove().
7171Solution: Add the list functions. (Prabir Shrestha, closes #6353)
7172Files: runtime/doc/if_lua.txt, src/if_lua.c, src/testdir/test_lua.vim
7173
7174Patch 8.2.1082
7175Problem: Coverity complains about ignoring dict_add() return value.
7176Solution: Add (void).
7177Files: src/evalfunc.c
7178
7179Patch 8.2.1083
7180Problem: Crash when using reduce() on a NULL list.
7181Solution: Only access the list when not NULL.
7182Files: src/list.c, src/testdir/test_listdict.vim
7183
7184Patch 8.2.1084
7185Problem: Lua: registering function has useless code.
7186Solution: Remove clearing grow arrays.
7187Files: src/userfunc.c
7188
7189Patch 8.2.1085
7190Problem: Coverity complains about ignoring dict_add() return value.
7191Solution: Add (void).
7192Files: src/register.c
7193
7194Patch 8.2.1086
7195Problem: Possibly using freed memory when text properties used when
7196 changing indent of a line.
7197Solution: Compute the offset before calling ml_replace().
7198Files: src/indent.c
7199
7200Patch 8.2.1087
7201Problem: Possible memory leak when file expansion fails.
7202Solution: Clear the grow array when returning FAIL. Use an error message
7203 instead of an empty string.
7204Files: src/filepath.c
7205
7206Patch 8.2.1088
7207Problem: A very long translation might cause a buffer overflow.
7208Solution: Truncate the message if needed.
7209Files: src/fileio.c
7210
7211Patch 8.2.1089
7212Problem: Coverity warns for pointer computation.
7213Solution: Avoid computing a pointer to invalid memory.
7214Files: src/spellfile.c
7215
7216Patch 8.2.1090
7217Problem: May use NULL pointer when skipping over name.
7218Solution: Always set ll_name_end.
7219Files: src/eval.c
7220
7221Patch 8.2.1091
7222Problem: No check if opening a pty works.
7223Solution: Check for invalid file descriptor.
7224Files: src/os_unix.c
7225
7226Patch 8.2.1092
7227Problem: Not checking if saving for undo succeeds.
7228Solution: Bail out if u_savesub() returns FAIL.
7229Files: src/textprop.c
7230
7231Patch 8.2.1093
7232Problem: Python: double free when adding item to dict fails.
7233Solution: Remove vim_free() call.
7234Files: src/if_py_both.h
7235
7236Patch 8.2.1094
7237Problem: Dead code in libvterm.
7238Solution: Remove condition that is always true.
7239Files: src/libvterm/src/pen.c
7240
7241Patch 8.2.1095
7242Problem: May use pointer after freeing it when text properties are used.
7243Solution: Update redo buffer before calling ml_replace().
7244Files: src/spellsuggest.c
7245
7246Patch 8.2.1096
7247Problem: Vim9: return type of getqflist() is wrong.
7248Solution: Let the return type depend on the arguments. Also for
7249 getloclist(). (closes #6357)
7250Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7251
7252Patch 8.2.1097
7253Problem: Highlight code not sufficiently tested.
7254Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6359)
7255Files: src/testdir/test_filter_cmd.vim, src/testdir/test_highlight.vim
7256
7257Patch 8.2.1098
7258Problem: Vim9: cannot use line break in :throw argument.
7259Solution: Check for line break.
7260Files: src/eval.c, src/testdir/test_vim9_script.vim
7261
7262Patch 8.2.1099
7263Problem: Vim9: cannot use line break in :cexpr argument.
7264Solution: Check for line break.
7265Files: src/eval.c, src/testdir/test_vim9_script.vim
7266
7267Patch 8.2.1100
7268Problem: Vim9: cannot use line break in :execute, :echomsg and :echoerr
7269 argument.
7270Solution: Check for line break.
7271Files: src/eval.c, src/testdir/test_vim9_script.vim
7272
7273Patch 8.2.1101
7274Problem: No error when using wrong arguments for setqflist() or
7275 setloclist().
7276Solution: Check for the error.
7277Files: src/quickfix.c, src/testdir/test_quickfix.vim
7278
7279Patch 8.2.1102
7280Problem: Coverity gets confused by an unnecessary NULL check.
7281Solution: Remove the check for NULL.
7282Files: src/quickfix.c
7283
7284Patch 8.2.1103
7285Problem: Coverity reports an unnecessary NULL check.
7286Solution: Remove the check for NULL.
7287Files: src/eval.c
7288
7289Patch 8.2.1104
7290Problem: Coverity warns for possible NULL pointer use.
7291Solution: Check "pbyts" is not NULL.
7292Files: src/spellsuggest.c
7293
7294Patch 8.2.1105
7295Problem: Insufficient test coverage for Lua.
7296Solution: Add tests. (Yegappan Lakshmanan, closes #6368) Fix uncovered
7297 memory leak. Avoid unnecessary copy/free.
7298Files: src/if_lua.c, src/testdir/test_lua.vim
7299
7300Patch 8.2.1106
7301Problem: Crash when trying to use s: variable in typed command.
7302Solution: Don't use the script index when not set. (Ken Takata,
7303 closes #6366)
7304Files: src/vim9compile.c, src/testdir/test_vimscript.vim
7305
7306Patch 8.2.1107
7307Problem: 'imactivatefunc' and 'imstatusfunc' are not used in the GUI.
7308Solution: Adjust the #ifdefs. (closes #6367)
7309Files: runtime/doc/options.txt, src/gui_xim.c,
7310 src/testdir/test_iminsert.vim
7311
7312Patch 8.2.1108
7313Problem: Mouse left-right scroll is not supported in terminal window.
7314Solution: Implement mouse codes 6 and 7. (Trygve Aaberge, closes #6363)
7315Files: src/libvterm/src/mouse.c, src/mouse.c, src/terminal.c,
7316 src/testdir/mouse.vim, src/testdir/test_termcodes.vim
7317
7318Patch 8.2.1109 (after 8.2.1106)
7319Problem: Still crashing when using s:variable.
7320Solution: Remove assignment. (Ken Takata)
7321Files: src/vim9compile.c
7322
7323Patch 8.2.1110
7324Problem: Vim9: line continuation does not work in function arguments.
7325Solution: Pass "evalarg" to get_func_tv(). Fix seeing double quoted string
7326 as comment.
7327Files: src/userfunc.c, src/proto/userfunc.pro, src/eval.c, src/ex_eval.c,
7328 src/list.c, src/dict.c, src/proto/eval.pro,
7329 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim
7330
7331Patch 8.2.1111
7332Problem: Inconsistent naming of get_list_tv() and eval_dict().
7333Solution: Rename get_list_tv() to eval_list(). Similarly for eval_number(),
7334 eval_string(), eval_lit_string() and a few others.
7335Files: src/eval.c, src/list.c, src/proto/list.pro, src/vim9compile.c,
7336 src/typval.c, src/proto/typval.pro, src/vim9script.c,
7337 src/evalfunc.c, src/evalvars.c, src/proto/evalvars.pro,
7338 src/vim9execute.c
7339
7340Patch 8.2.1112
7341Problem: Vim9: no line continuation allowed in method call.
7342Solution: Handle line continuation in expression before method call.
7343Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim,
7344 src/testdir/test_vim9_script.vim,
7345 src/testdir/test_vim9_expr.vim
7346
7347Patch 8.2.1113
7348Problem: No test for verbose output of :call.
7349Solution: Add a test.
7350Files: src/testdir/test_user_func.vim
7351
7352Patch 8.2.1114
7353Problem: Terminal test sometimes times out.
7354Solution: Split the test in two parts.
7355Files: src/testdir/Makefile, src/testdir/Make_all.mak,
7356 src/testdir/term_util.vim, src/testdir/test_terminal.vim,
7357 src/testdir/test_terminal2.vim
7358
7359Patch 8.2.1115
7360Problem: Iminsert test fails when compiled with VIMDLL.
7361Solution: Change condition. (Ken Takata, closes #6376)
7362Files: src/testdir/test_iminsert.vim
7363
7364Patch 8.2.1116
7365Problem: Vim9: parsing command checks for list twice.
7366Solution: Adjust how a command is parsed.
7367Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
7368
7369Patch 8.2.1117
7370Problem: Coverity warns for using uninitialized field.
7371Solution: Initialize v_lock.
7372Files: src/if_lua.c
7373
7374Patch 8.2.1118
7375Problem: Condition can never be true, dead code.
7376Solution: Remove the dead code.
7377Files: src/move.c
7378
7379Patch 8.2.1119
7380Problem: Configure fails with Xcode 12 beta.
7381Solution: use "return" instead of "exit()". (Nico Weber, closes #6381)
7382Files: src/configure.ac, src/auto/configure
7383
7384Patch 8.2.1120
7385Problem: Python code not tested properly.
7386Solution: Add more tests and convert old-style test into new-style test.
7387 (Yegappan Lakshmanan, closes #6370)
7388Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
7389 src/testdir/test86.in, src/testdir/test86.ok,
7390 src/testdir/test_python2.vim
7391
7392Patch 8.2.1121
7393Problem: Command completion not working after ++arg.
7394Solution: Move skipping up. (Christian Brabandt, closes #6382)
7395Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
7396
7397Patch 8.2.1122
7398Problem: Vim9: line continuation in dict member not recognized.
7399Solution: Check for line continuation.
7400Files: src/eval.c, src/testdir/test_vim9_expr.vim
7401
7402Patch 8.2.1123
7403Problem: Python 3 test is old style.
7404Solution: Turn into new style test. (Yegappan Lakshmanan, closes #6385)
7405Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
7406 src/testdir/test87.in, src/testdir/test87.ok,
7407 src/testdir/test_python2.vim, src/testdir/test_python3.vim
7408
7409Patch 8.2.1124
7410Problem: Vim9: no line break allowed in :import command.
7411Solution: Skip over line breaks.
7412Files: src/vim9script.c, src/proto/vim9script.pro, src/vim9compile.c,
7413 src/testdir/test_vim9_script.vim
7414
7415Patch 8.2.1125
7416Problem: Vim9: double quote can be a string or a comment.
7417Solution: Only support comments starting with # to avoid confusion.
7418Files: src/eval.c, src/proto/eval.pro, src/dict.c, src/list.c,
7419 src/vim9script.c
7420
7421Patch 8.2.1126
7422Problem: Vim9: using :copen causes an error.
7423Solution: Add flag LET_NO_COMMAND in set_var().
7424Files: src/evalvars.c, src/testdir/test_vim9_script.vim
7425
7426Patch 8.2.1127
7427Problem: Vim9: getting a dict member may not work.
7428Solution: Clear the dict only after copying the item. (closes #6390)
7429Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
7430
7431Patch 8.2.1128
7432Problem: The write message mentions characters, but it's actually bytes.
7433Solution: Change "C" to "B" and "characters" to "bytes".
7434Files: runtime/doc/options.txt, src/fileio.c,
7435 src/testdir/test_cscope.vim, src/testdir/test_netbeans.vim,
7436 src/testdir/dumps/Test_diff_syntax_1.dump,
7437 src/testdir/dumps/Test_long_file_name_1.dump,
7438 src/testdir/dumps/Test_display_unprintable_01.dump,
7439 src/testdir/dumps/Test_tselect_1.dump
7440
7441Patch 8.2.1129
7442Problem: Vim9: bar not recognized after not compiled command.
7443Solution: Check for bar for commands where this is possible. (closes #6391)
7444Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
7445
7446Patch 8.2.1130
7447Problem: Vim9: bar not recognized after function call
7448Solution: Skip whitespace. (closes #6391)
7449Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
7450
7451Patch 8.2.1131
7452Problem: Vim9: error message for returning a value in a function that does
7453 not return anything is not clear.
7454Solution: Add a specific message.
7455Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
7456
7457Patch 8.2.1132
7458Problem: Vim9: return type of repeat() is not specific enough.
7459Solution: Return the type of the first argument. (closes #6395)
7460Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7461
7462Patch 8.2.1133
7463Problem: Vim9: return type of add() is not specific enough.
7464Solution: Return the type of the first argument. (closes #6395)
7465Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7466
7467Patch 8.2.1134
7468Problem: Vim9: getting a list member may not work.
7469Solution: Clear the list only after copying the item. (closes #6393)
7470Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
7471
7472Patch 8.2.1135
7473Problem: Vim9: getting a dict member may not work.
7474Solution: Clear the dict only after copying the item.
7475Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
7476
7477Patch 8.2.1136
7478Problem: Vim9: return type of argv() is always any.
7479Solution: Use list<string> if there is no argument.
7480Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7481
7482Patch 8.2.1137
7483Problem: Vim9: modifiers not cleared after compiling function.
7484Solution: Clear command modifiers. (closes #6396)
7485Files: src/vim9compile.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
7486 src/testdir/test_vim9_func.vim,
7487 src/testdir/dumps/Test_vim9_silent_echo.dump
7488
7489Patch 8.2.1138
7490Problem: Vim9: return type of copy() and deepcopy() is any.
7491Solution: Use type of the argument.
7492Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7493
7494Patch 8.2.1139 (after 8.2.1137)
7495Problem: Vim9: test for silent echo fails in some environments.
7496Solution: Use :function instead of :def.
7497Files: src/testdir/test_vim9_func.vim
7498
7499Patch 8.2.1140
7500Problem: Vim9: return type of extend() is any.
7501Solution: Use type of the argument.
7502Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7503
7504Patch 8.2.1141
7505Problem: Vim9: return type of filter() is any.
7506Solution: Use type of the argument.
7507Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7508
7509Patch 8.2.1142
7510Problem: Vim9: return type of insert() is any.
7511Solution: Use type of the first argument.
7512Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7513
7514Patch 8.2.1143
7515Problem: Vim9: return type of remove() is any.
7516Solution: Use the member type of the first argument, if known.
7517Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7518
7519Patch 8.2.1144
7520Problem: Vim9: return type of reverse() is any.
7521Solution: Use the type of the first argument.
7522Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7523
7524Patch 8.2.1145
7525Problem: Vim9: "for" only accepts a list at compile time.
7526Solution: Also accept a list at runtime.
7527Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
7528 src/testdir/test_vim9_disassemble.vim
7529
7530Patch 8.2.1146
7531Problem: Not enough testing for Python.
7532Solution: Add more tests. Fix uncovered problems. (Yegappan Lakshmanan,
7533 closes #6392)
7534Files: src/if_py_both.h, src/if_python3.c, src/testdir/shared.vim,
7535 src/testdir/test_python2.vim, src/testdir/test_python3.vim
7536
7537Patch 8.2.1147
7538Problem: :confirm may happen in cooked mode. (Jason Franklin)
7539Solution: Switch to raw mode before prompting. (Brandon Pfeifer)
7540Files: src/message.c, src/testdir/test_excmd.vim
7541
7542Patch 8.2.1148
7543Problem: Warning for using int instead of size_t.
7544Solution: Change "len" argument to size_t. (Mike Williams)
7545Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9script.c
7546
7547Patch 8.2.1149
7548Problem: Vim9: :eval command not handled properly.
7549Solution: Compile the :eval command. (closes #6408)
7550Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
7551
7552Patch 8.2.1150
7553Problem: ml_get error when using Python. (Yegappan Lakshmanan)
7554Solution: Check the line number is not out of range. Call "Check" with
7555 "fromObj" instead of "from".
7556Files: src/if_py_both.h, src/testdir/test_python2.vim,
7557 src/testdir/test_python3.vim
7558
7559Patch 8.2.1151
7560Problem: Insufficient test coverage for Python.
7561Solution: Add more test cases. (Yegappan Lakshmanan, closes #6415)
7562Files: src/testdir/test_python2.vim, src/testdir/test_python3.vim
7563
7564Patch 8.2.1152
7565Problem: Vim9: function reference is missing script prefix.
7566Solution: Use the actual function name instead of the name searched for in
7567 the script context. (closes #6412)
7568Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
7569
7570Patch 8.2.1153
7571Problem: Vim9: script test fails on some systems.
7572Solution: Return proper value from Compare().
7573Files: src/testdir/test_vim9_script.vim
7574
7575Patch 8.2.1154
7576Problem: Vim9: crash when using imported function.
7577Solution: Check for a function type. Set the script context when calling a
7578 function. (closes #6412)
7579Files: src/evalvars.c, src/scriptfile.c, src/proto/scriptfile.pro,
7580 src/vim9execute.c, src/structs.h, src/testdir/test_vim9_script.vim
7581
7582Patch 8.2.1155
7583Problem: Vim9: cannot handle line break inside lambda.
7584Solution: Pass the compilation context through. (closes #6407, closes #6409)
7585Files: src/structs.h, src/vim9compile.c, src/proto/vim9compile.pro,
7586 src/eval.c, src/testdir/test_vim9_func.vim
7587
7588Patch 8.2.1156
7589Problem: Vim9: No error for invalid command in compiled function.
7590Solution: Handle CMD_SIZE.
7591Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
7592
7593Patch 8.2.1157
7594Problem: Vim9: dict.name is not recognized as an expression.
7595Solution: Recognize ".name". (closes #6418)
7596Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
7597
7598Patch 8.2.1158 (after 8.2.1155)
7599Problem: Build error.
7600Solution: Add missing change to globals.
7601Files: src/globals.h
7602
7603Patch 8.2.1159
7604Problem: Vim9: no error for missing space after a comma.
7605Solution: Check for white space.
7606Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim,
7607 src/testdir/test_vim9_script.vim
7608
7609Patch 8.2.1160
7610Problem: Vim9: memory leak in allocated types.
7611Solution: Free the type pointers.
7612Files: src/vim9script.c, src/userfunc.c, src/vim9compile.c,
7613 src/proto/vim9compile.pro
7614
7615Patch 8.2.1161
7616Problem: Vim9: using freed memory.
7617Solution: Put pointer back in evalarg instead of freeing it.
7618Files: src/userfunc.c, src/vim9compile.c, src/eval.c, src/proto/eval.pro,
7619 src/structs.h
7620
7621Patch 8.2.1162
7622Problem: Crash when using a lambda.
7623Solution: Check for evalarg to be NULL.
7624Files: src/userfunc.c
7625
7626Patch 8.2.1163 (after 8.2.1161)
7627Problem: Build error.
7628Solution: Add missing change to globals.
7629Files: src/globals.h
7630
7631Patch 8.2.1164
7632Problem: Text cleared by checking terminal properties not redrawn. (Alexey
7633 Radkov)
7634Solution: Mark the screen characters as invalid. (closes #6422)
7635Files: src/screen.c, src/proto/screen.pro, src/term.c
7636
7637Patch 8.2.1165
7638Problem: Insufficient testing for the Tcl interface.
7639Solution: Add more tests. (Yegappan Lakshmanan, closes #6423)
7640Files: src/testdir/test_tcl.vim
7641
7642Patch 8.2.1166
7643Problem: Once mouse move events are enabled getchar() returns them.
7644Solution: Ignore K_MOUSEMOVE in getchar(). (closes #6424)
7645Files: runtime/doc/eval.txt, src/getchar.c
7646
7647Patch 8.2.1167
7648Problem: Vim9: builtin function method call only supports first argument.
7649Solution: Shift arguments when needed. (closes #6305, closes #6419)
7650Files: src/evalfunc.c, src/vim9compile.c, src/vim9execute.c,
7651 src/vim9.h, src/testdir/test_vim9_expr.vim,
7652 src/testdir/test_vim9_disassemble.vim
7653
7654Patch 8.2.1168
7655Problem: Wrong method argument for appendbufline().
7656Solution: Use FEARG_3.
7657Files: src/evalfunc.c
7658
7659Patch 8.2.1169
7660Problem: Write NUL past allocated space using corrupted spell file.
7661 (Markus Vervier)
7662Solution: Init "c" every time.
7663Files: src/spellfile.c
7664
7665Patch 8.2.1170
7666Problem: Cursor off by one with block paste while 'virtualedit' is "all".
7667Solution: Adjust condition. (Hugo Gualandi, closes #6430)
7668Files: src/register.c, src/testdir/test_registers.vim
7669
7670Patch 8.2.1171
7671Problem: Possible crash when out of memory.
7672Solution: Check for NULL pointer. (Dominique Pellé, closes #6432)
7673Files: src/syntax.c
7674
7675Patch 8.2.1172
7676Problem: Error messages when doing "make clean" in the runtime/doc or
7677 src/tee directories.
7678Solution: Use "rm -f".
7679Files: runtime/doc/Makefile, src/tee/Makefile
7680
7681Patch 8.2.1173
7682Problem: Tee doesn't build on some systems.
7683Solution: Include header files. (Dominique Pelle, closes #6431)
7684Files: src/tee/tee.c
7685
7686Patch 8.2.1174
7687Problem: No test for the "recording @x" message.
7688Solution: Add a test. (Dominique Pellé, closes #6427)
7689Files: src/testdir/test_registers.vim
7690
7691Patch 8.2.1175
7692Problem: Vim9: Cannot split a line before ".member".
7693Solution: Check for ".member" after line break.
7694Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
7695
7696Patch 8.2.1176
7697Problem: Vim9: not enough type checking in Vim9 script.
7698Solution: Use same type checking as in a :def function.
7699Files: src/vim9compile.c, src/proto/vim9compile.pro,
7700 src/eval.c, src/testdir/test_vim9_expr.vim
7701
7702Patch 8.2.1177
7703Problem: Terminal2 test sometimes hangs in the GUI.
7704Solution: Move some tests to other files to further locate the problem.
7705 Set the GUI to a fixed screen size.
7706Files: src/testdir/test_terminal.vim, src/testdir/test_terminal2.vim,
7707 src/testdir/test_terminal3.vim, src/testdir/Make_all.mak,
7708 src/testdir/runtest.vim
7709
7710Patch 8.2.1178
7711Problem: Vim9: filter function recognized as command modifier, leading to a
7712 crash.
7713Solution: Clear cmdmod after freeing items. Do not recognize a command
7714 modifier followed by non-white space. (closes #6434)
7715Files: src/ex_docmd.c, src/vim9compile.c, src/testdir/test_vim9_cmd.vim
7716
7717Patch 8.2.1179
7718Problem: Test_termwinscroll() sometimes hangs in the GUI.
7719Solution: Skip the test in the GUI.
7720Files: src/testdir/test_terminal2.vim
7721
7722Patch 8.2.1180
7723Problem: Build failure in small version.
7724Solution: Add #ifdef.
7725Files: src/ex_docmd.c
7726
7727Patch 8.2.1181
7728Problem: Json code not fully tested.
7729Solution: Add more test coverage. (Dominique Pellé, closes #6433)
7730Files: src/testdir/test_json.vim
7731
7732Patch 8.2.1182
7733Problem: Vim9: no check for whitespace after comma in lambda.
7734Solution: Give error if white space is missing.
7735Files: src/userfunc.c, src/testdir/test_vim9_expr.vim,
7736 src/testdir/test_vim9_func.vim
7737
7738Patch 8.2.1183
7739Problem: assert_fails() checks the last error message.
7740Solution: Check the first error, it is more relevant. Fix all the tests
7741 that rely on the old behavior.
7742Files: runtime/doc/testing.txt, src/message.c, src/globals.h,
7743 src/testing.c, src/testdir/test_autocmd.vim,
7744 src/testdir/test_buffer.vim, src/testdir/test_cd.vim,
7745 src/testdir/test_channel.vim, src/testdir/test_clientserver.vim,
7746 src/testdir/test_cmdline.vim, src/testdir/test_cpoptions.vim,
7747 src/testdir/test_cscope.vim, src/if_cscope.c,
7748 src/testdir/test_excmd.vim, src/evalvars.c,
7749 src/testdir/test_expr.vim, src/testdir/test_functions.vim,
7750 src/testdir/test_json.vim, src/testdir/test_let.vim,
7751 src/testdir/test_listdict.vim, src/testdir/test_listener.vim,
7752 src/testdir/test_match.vim, src/testdir/test_menu.vim,
7753 src/testdir/test_method.vim, src/testdir/test_normal.vim,
7754 src/testdir/test_popup.vim, src/testdir/test_python2.vim,
7755 src/testdir/test_python3.vim, src/testdir/test_quickfix.vim,
7756 src/testdir/test_random.vim, src/testdir/test_search.vim,
7757 src/testdir/test_signs.vim, src/testdir/test_spell.vim,
7758 src/testdir/test_substitute.vim, src/testdir/test_syntax.vim,
7759 src/testdir/test_tagjump.vim, src/testdir/test_taglist.vim,
7760 src/testdir/test_terminal.vim, src/testdir/test_textprop.vim,
7761 src/testdir/test_trycatch.vim,
7762 src/testdir/test_vim9_disassemble.vim,
7763 src/testdir/test_vim9_func.vim, src/vim9compile.c,
7764 src/testdir/test_vim9_script.vim, src/testdir/test_viminfo.vim,
7765 src/testdir/test_winbuf_close.vim,
7766 src/testdir/test_window_cmd.vim, src/testdir/test_writefile.vim,
7767 src/testdir/test_regexp_latin.vim, src/testdir/test_utf8.vim,
7768 src/testdir/test_global.vim, src/testdir/test_tagfunc.vim
7769
7770Patch 8.2.1184 (after 8.2.1183)
7771Problem: Some tests fail.
7772Solution: Adjust tests for different assert_fails() behavior. Remove unused
7773 variable.
7774Files: src/testdir/test_assert.vim, src/testdir/test_eval_stuff.vim,
7775 src/evalvars.c
7776
7777Patch 8.2.1185 (after 8.2.1183)
7778Problem: Some other tests fail.
7779Solution: Adjust tests for different assert_fails() behavior.
7780Files: src/testdir/test_lua.vim, src/testdir/test_tcl.vim
7781
7782Patch 8.2.1186
7783Problem: With SGR mouse codes balloon doesn't show up after click.
7784Solution: Add the MOUSE_RELEASE bits to mouse_code.
7785Files: src/mouse.c
7786
7787Patch 8.2.1187
7788Problem: Terminal2 test sometimes hangs in the GUI on Travis.
7789Solution: Disable Test_zz2_terminal_guioptions_bang() for now.
7790Files: src/testdir/test_terminal2.vim
7791
7792Patch 8.2.1188
7793Problem: Memory leak with invalid json input.
7794Solution: Free all keys at the end. (Dominique Pellé, closes #6443,
7795 closes #6442)
7796Files: src/json.c, src/testdir/test_json.vim
7797
7798Patch 8.2.1189
7799Problem: Vim9: line continuation in lambda doesn't always work.
7800Solution: Do not use a local evalarg unless there isn't one. (closes #6439)
7801Files: src/eval.c, src/testdir/test_vim9_expr.vim
7802
7803Patch 8.2.1190
7804Problem: Vim9: checking for Vim9 syntax is spread out.
7805Solution: Use in_vim9script().
7806Files: src/vim9script.c, src/dict.c, src/eval.c, src/evalvars.c,
7807 src/ex_docmd.c, src/list.c, src/scriptfile.c, src/userfunc.c
7808
7809Patch 8.2.1191
7810Problem: Vim9: crash when function calls itself.
7811Solution: Add status UF_COMPILING. (closes #6441)
7812Files: src/structs.h, src/vim9compile.c, src/testdir/test_vim9_func.vim
7813
7814Patch 8.2.1192
7815Problem: Lua test fails with older Lua version.
7816Solution: Adjust expected error messages. (closes #6444)
7817Files: src/testdir/test_lua.vim
7818
7819Patch 8.2.1193
7820Problem: Terminal window not redrawn when dragging a popup window over it.
7821Solution: Redraw terminal window. (fixes #6438)
7822Files: src/popupwin.c, src/testdir/test_popupwin.vim,
7823 src/testdir/dumps/Test_popupwin_term_01.dump,
7824 src/testdir/dumps/Test_popupwin_term_02.dump
7825
7826Patch 8.2.1194
7827Problem: Test failure because shell prompt differs.
7828Solution: Set the shell prompt.
7829Files: src/testdir/test_popupwin.vim,
7830 src/testdir/dumps/Test_popupwin_term_01.dump,
7831 src/testdir/dumps/Test_popupwin_term_02.dump
7832
7833Patch 8.2.1195
7834Problem: Clientserver test fails on MS-Windows.
7835Solution: Expect a different error message.
7836Files: src/testdir/test_clientserver.vim
7837
7838Patch 8.2.1196
7839Problem: Build failure with normal features.
7840Solution: Add #ifdef.
7841Files: src/popupwin.c
7842
7843Patch 8.2.1197
7844Problem: Clientserver test still fails on MS-Windows.
7845Solution: Expect a different error message.
7846Files: src/testdir/test_clientserver.vim
7847
7848Patch 8.2.1198
7849Problem: Terminal2 test sometimes hangs in the GUI on Travis.
7850Solution: Move test function to terminal3 to see if the problem moves too.
7851Files: src/testdir/test_terminal2.vim, src/testdir/test_terminal3.vim
7852
7853Patch 8.2.1199
7854Problem: Not all assert functions are fully tested.
7855Solution: Test more assert functions.
7856Files: src/testing.c, src/testdir/test_assert.vim
7857
7858Patch 8.2.1200
7859Problem: Vim9: cannot disassemble a lambda function.
7860Solution: Recognize "<lambda>123" as a function name.
7861Files: src/vim9execute.c, src/testdir/test_vim9_disassemble.vim
7862
7863Patch 8.2.1201
7864Problem: Vim9: crash when passing number as dict key.
7865Solution: Check key type to be string. (closes #6449)
7866Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
7867
7868Patch 8.2.1202
7869Problem: Vim9: crash when calling a closure from a builtin function.
7870Solution: Use the current execution context. (closes #6441)
7871Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
7872
7873Patch 8.2.1203
7874Problem: Unused assignments in expression evaluation.
7875Solution: Move declarations and assignments to inner blocks where possible.
7876Files: src/eval.c
7877
7878Patch 8.2.1204
7879Problem: Vim9: true and false not recognized in Vim9 script.
7880Solution: Recognize true and false.
7881Files: src/eval.c, src/testdir/test_vim9_expr.vim
7882
7883Patch 8.2.1205
7884Problem: Vim9: && and || work differently when not compiled.
7885Solution: Keep the value.
7886Files: src/eval.c, src/testdir/test_vim9_expr.vim
7887
7888Patch 8.2.1206
7889Problem: Vim9: crash in expr test when run in the GUI.
7890Solution: Temporarily comment out two test lines.
7891Files: src/testdir/test_vim9_expr.vim
7892
7893Patch 8.2.1207
7894Problem: Vim9: crash in expr test when run in the GUI.
7895Solution: Break out of loop over hashtab also when function got removed and
7896 added.
7897Files: src/userfunc.c, src/testdir/test_vim9_expr.vim
7898
7899Patch 8.2.1208
7900Problem: Build failure.
7901Solution: Add missing change.
7902Files: src/structs.h
7903
7904Patch 8.2.1209
7905Problem: Vim9: test failure.
7906Solution: Add missing changes to hashtab.
7907Files: src/hashtab.c
7908
7909Patch 8.2.1210
7910Problem: Using ht_used when looping through a hashtab is less reliable.
7911Solution: Use ht_changed in a few more places.
7912Files: src/userfunc.c, src/if_py_both.h
7913
7914Patch 8.2.1211 (after 8.2.1118)
7915Problem: Removed more than dead code.
7916Solution: Put back the decrement.
7917Files: src/move.c, src/testdir/test_diffmode.vim
7918
7919Patch 8.2.1212
7920Problem: Cannot build with Lua 5.4.
7921Solution: Use luaL_typeerror instead defining it. (closes #6454)
7922Files: src/if_lua.c
7923
7924Patch 8.2.1213
7925Problem: Mouse codes not tested sufficiently.
7926Solution: Add more tests for mouse codes. (closes #6436)
7927Files: src/testdir/test_termcodes.vim
7928
7929Patch 8.2.1214
7930Problem: MS-Windows: default _vimrc not correct in silent install mode.
7931Solution: Add the LoadDefaultVimrc macro. (Ken Takata, closes #6451)
7932Files: nsis/gvim.nsi
7933
7934Patch 8.2.1215
7935Problem: Atari MiNT support is outdated.
7936Solution: Nobody responded this code is still useful, so let's delete it.
7937Files: Filelist, src/os_mint.h, src/vim.h, src/Make_mint.mak,
7938 src/digraph.c, src/fileio.c, src/memfile.c, src/os_unix.c,
7939 src/term.c, READMEdir/README_extra.txt, runtime/doc/os_mint.txt,
7940 src/INSTALL
7941
7942Patch 8.2.1216
7943Problem: Startup test fails.
7944Solution: Adjust expected values for deleted lines.
7945Files: src/testdir/test_startup.vim
7946
7947Patch 8.2.1217
7948Problem: Startup test depends on random source file.
7949Solution: Write a test file to find quickfix errors in.
7950Files: src/testdir/test_startup.vim
7951
7952Patch 8.2.1218
7953Problem: Vim9: cannot use 'text'->func().
7954Solution: Recognize string at start of command.
7955Files: src/vim9compile.c, src/ex_docmd.c, src/testdir/test_vim9_func.vim
7956
7957Patch 8.2.1219
7958Problem: Symlink not followed if dirname ends in //.
7959Solution: Resolve symlink earlier. (Tomáš Janoušek, closes #6454)
7960Files: src/memline.c, src/testdir/test_swap.vim
7961
7962Patch 8.2.1220
7963Problem: memory access error when dragging a popup window over a buffer
7964 with folding.
7965Solution: Avoid going over the end of the cache. (closes #6438)
7966Files: src/mouse.c, src/testdir/test_popupwin.vim,
7967 src/testdir/dumps/Test_popupwin_term_01.dump,
7968 src/testdir/dumps/Test_popupwin_term_02.dump,
7969 src/testdir/dumps/Test_popupwin_term_03.dump,
7970 src/testdir/dumps/Test_popupwin_term_04.dump
7971
7972Patch 8.2.1221
7973Problem: Memory leak when updating popup window.
7974Solution: Clear search highlighting.
7975Files: src/popupwin.c
7976
7977Patch 8.2.1222
7978Problem: When using valgrind a Vim command started by a test uses the same
7979 log file name which gets overwritten.
7980Solution: Fix regexp to rename the log file.
7981Files: src/testdir/shared.vim
7982
7983Patch 8.2.1223
7984Problem: Vim9: invalid type error for function default value.
7985Solution: Use right argument index. (closes #6458)
7986Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
7987
7988Patch 8.2.1224
7989Problem: Vim9: arguments from partial are not used.
7990Solution: Put the partial arguments on the stack. (closes #6460)
7991Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
7992
7993Patch 8.2.1225
7994Problem: Linker errors when building with dynamic Python 3.9.
7995Solution: Add #defined items. (closes #6461)
7996Files: src/if_python3.c
7997
7998Patch 8.2.1226
7999Problem: MS-Windows: windows positioning wrong when the taskbar is placed
8000 at the top or left of the screen.
8001Solution: Use GetWindowRect and MoveWindow APIs. (Yukihiro Nakadaira,
8002 Ken Takata, closes #6455)
8003Files: src/gui_w32.c
8004
8005Patch 8.2.1227
8006Problem: Vim9: allowing both quoted and # comments is confusing.
8007Solution: Only support # comments in Vim9 script.
8008Files: runtime/doc/vim9.txt, src/ex_docmd.c, src/proto/ex_docmd.pro,
8009 src/vim9compile.c, src/testdir/test_vim9_disassemble.vim,
8010 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
8011 src/testdir/test_vim9_script.vim
8012
8013Patch 8.2.1228
8014Problem: Scrollbars not flush against the window edges when maximised.
8015Solution: Add padding. (Ken Takata, closes #5602, closes #6466)
8016Files: src/gui.c, src/gui_athena.c, src/gui_gtk.c, src/gui_haiku.cc,
8017 src/gui_mac.c, src/gui_motif.c, src/gui_photon.c, src/gui_w32.c,
8018 src/proto/gui_athena.pro, src/proto/gui_gtk.pro,
8019 src/proto/gui_haiku.pro, src/proto/gui_mac.pro,
8020 src/proto/gui_motif.pro, src/proto/gui_photon.pro,
8021 src/proto/gui_w32.pro
8022
8023Patch 8.2.1229
8024Problem: Build error without the eval feature.
8025Solution: Declare starts_with_colon. Make function local.
8026Files: src/ex_docmd.c, src/proto/ex_docmd.pro
8027
8028Patch 8.2.1230
8029Problem: Vim9: list index error not caught by try/catch.
8030Solution: Do not bail out if an error is inside try/catch. (closes #6462)
8031Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
8032
8033Patch 8.2.1231
8034Problem: MS-Windows: GUI code can be cleaned up.
8035Solution: Do a bit of cleaning up. (Ken Takata, closes #6465)
8036Files: src/gui_w32.c, src/proto/gui_w32.pro
8037
8038Patch 8.2.1232
8039Problem: MS-Windows GUI: Snap cancelled by split command.
8040Solution: Do not cancel Snap when splitting a window. (Ken Takata,
8041 closes #6467)
8042Files: src/gui_w32.c
8043
8044Patch 8.2.1233
8045Problem: Vim9: various errors not caught by try/catch.
8046Solution: Do not bail out if an error is inside try/catch.
8047Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
8048
8049Patch 8.2.1234
8050Problem: Lua build problem with old compiler.
8051Solution: Move declarations to start of the block. (Taro Muraoka,
8052 closes #6477)
8053Files: src/if_lua.c
8054
8055Patch 8.2.1235
8056Problem: Not all mouse codes covered by tests.
8057Solution: Add more tests for the mouse. (Yegappan Lakshmanan, closes #6472)
8058Files: src/testdir/mouse.vim, src/testdir/test_termcodes.vim
8059
8060Patch 8.2.1236
8061Problem: Vim9: a few errors not caught by try/catch.
8062Solution: Do not bail out if an error is inside try/catch. Fix that a not
8063 matching catch doesn't jump to :endtry.
8064Files: src/vim9compile.c, src/vim9execute.c,
8065 src/testdir/test_vim9_script.vim
8066
8067Patch 8.2.1237
8068Problem: Changing 'completepopup' after opening a popup has no effect. (Jay
8069 Sitter)
8070Solution: Close the popup when the options are changed. (closes #6471)
8071Files: runtime/doc/options.txt, src/popupwin.c, src/proto/popupwin.pro,
8072 src/optionstr.c, src/testdir/test_popupwin.vim,
8073 src/testdir/dumps/Test_popupwin_infopopup_8.dump
8074
8075Patch 8.2.1238
8076Problem: Vim9: a few remaining errors not caught by try/catch.
8077Solution: Do not bail out if an error is inside try/catch.
8078Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
8079
8080Patch 8.2.1239
8081Problem: "maxwidth" in 'completepopup' not obeyed. (Jay Sitter)
8082Solution: Add separate field for value from option. (closes #6470)
8083Files: src/structs.h, src/popupwin.c, src/popupmenu.c,
8084 src/testdir/dumps/Test_popupwin_infopopup_9.dump
8085
8086Patch 8.2.1240
8087Problem: GUI tests sometimes fail because of translations.
8088Solution: Reload the menus without translation. (Taro Muraoka, closes #6486)
8089Files: src/testdir/runtest.vim
8090
8091Patch 8.2.1241
8092Problem: Cannot use getbufinfo() as a method.
8093Solution: Support using getbufinfo() as a method. (closes #6458)
8094Files: runtime/doc/eval.txt, src/evalfunc.c,
8095 src/testdir/test_bufwintabinfo.vim
8096
8097Patch 8.2.1242
8098Problem: Vim9: no error if calling a function with wrong argument type.
8099Solution: Check types of arguments. (closes #6469)
8100Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9execute.c,
8101 src/testdir/test_vim9_func.vim
8102
8103Patch 8.2.1243
8104Problem: Vim9: cannot have a comment or empty line halfway a list at script
8105 level.
8106Solution: Skip more than one line if needed.
8107Files: src/vim9compile.c, src/proto/vim9compile.pro, src/eval.c,
8108 src/scriptfile.c
8109
8110Patch 8.2.1244
8111Problem: Vim9: in lambda index assumes a list.
8112Solution: Use the value type to decide about list or dict. (closes #6479)
8113Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
8114
8115Patch 8.2.1245
8116Problem: Build failure in tiny version.
8117Solution: Add #ifdef.
8118Files: src/scriptfile.c
8119
8120Patch 8.2.1246
8121Problem: Vim9: comment after assignment doesn't work.
8122Solution: Skip over white space. (closes #6481)
8123Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8124
8125Patch 8.2.1247
8126Problem: Vim9: cannot index a character in a string.
8127Solution: Add ISN_STRINDEX instruction. (closes #6478)
8128Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
8129 src/testdir/test_vim9_expr.vim
8130
8131Patch 8.2.1248
8132Problem: Netbeans test is flaky in the GUI.
8133Solution: Filter out geometry messages. (Taro Muraoka, closes #6487)
8134Files: src/testdir/test_netbeans.vim
8135
8136Patch 8.2.1249
8137Problem: Vim9: disassemble test fails.
8138Solution: Change INDEX to LISTINDEX. Add test for STRINDEX.
8139Files: src/testdir/test_vim9_disassemble.vim
8140
8141Patch 8.2.1250
8142Problem: Vim9: cannot use the g:, b:, t: and w: namespaces.
8143Solution: Add instructions to push a dict for the namespaces. (closes #6480)
8144Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
8145 src/testdir/test_vim9_disassemble.vim,
8146 src/testdir/test_vim9_expr.vim
8147
8148Patch 8.2.1251
8149Problem: Vim9: warning for pointer usage, test failure undetected.
8150Solution: Fix pointer indirection. Give error when executing function
8151 failed for any reason. Fix instruction names.
8152Files: src/vim9execute.c, src/userfunc.c, src/proto/userfunc.pro
8153
8154Patch 8.2.1252
8155Problem: ":marks" may show '< and '> mixed up.
8156Solution: Show the mark position as where '< and '> would jump.
8157Files: src/mark.c, src/testdir/test_marks.vim
8158
8159Patch 8.2.1253
8160Problem: CTRL-K in Insert mode gets <CursorHold> inserted. (Roland
8161 Puntaier)
8162Solution: Do not reset did_cursorhold, restore it. (closes #6447)
8163Files: src/normal.c
8164
8165Patch 8.2.1254
8166Problem: MS-Windows: regexp test may fail if 'iskeyword' set wrongly.
8167Solution: Override the 'iskeyword' value. (Taro Muraoka, closes #6502)
8168Files: src/testdir/test_regexp_utf8.vim
8169
8170Patch 8.2.1255
8171Problem: Cannot use a lambda with quickfix functions.
8172Solution: Add support for lambda. (Yegappan Lakshmanan, closes #6499)
8173Files: runtime/doc/eval.txt, runtime/doc/options.txt,
8174 runtime/doc/quickfix.txt, src/channel.c, src/evalvars.c,
8175 src/optionstr.c, src/proto/evalvars.pro, src/proto/quickfix.pro,
8176 src/quickfix.c, src/testdir/test_quickfix.vim
8177
8178Patch 8.2.1256
8179Problem: Vim9: type wrong after getting dict item in lambda.
8180Solution: Set the type to "any" after enforcing dict type. (closes #6491)
8181Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
8182
8183Patch 8.2.1257
8184Problem: Vim9: list unpack doesn't work at the script level.
8185Solution: Detect unpack assignment better. (closes #6494)
8186Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
8187
8188Patch 8.2.1258 (after 8.2.1253)
8189Problem: CursorHold does not work well.a (Shane-XB-Qian)
8190Solution: Only restore did_cursorhold when using :normal.
8191Files: src/normal.c
8192
8193Patch 8.2.1259
8194Problem: Empty group in 'tabline' may cause using an invalid pointer.
8195Solution: Set the group start position. (closes #6505)
8196Files: src/buffer.c, src/testdir/test_tabline.vim
8197
8198Patch 8.2.1260
8199Problem: There is no good test for CursorHold.
8200Solution: Add a test. Remove duplicated test. (Yegappan Lakshmanan,
8201 closes #6503)
8202Files: src/testdir/test_autocmd.vim, src/testdir/test_buffer.vim,
8203 src/testdir/test_normal.vim
8204
8205Patch 8.2.1261
8206Problem: Vim9: common type of function not tested.
8207Solution: Add a test. Fix uncovered problems.
8208Files: src/vim9compile.c, src/vim9execute.c,
8209 src/testdir/test_vim9_expr.vim
8210
8211Patch 8.2.1262
8212Problem: src/ex_cmds.c file is too big.
8213Solution: Move help related code to src/help.c. (Yegappan Lakshmanan,
8214 closes #6506)
8215Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
8216 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
8217 src/cmdexpand.c, src/ex_cmds.c, src/help.c, src/proto.h,
8218 src/proto/ex_cmds.pro, src/proto/help.pro
8219
8220Patch 8.2.1263
8221Problem: Vim9: comparators use 'ignorecase' in Vim9 script.
8222Solution: Ignore 'ignorecase'. Use true and false instead of 1 and 0.
8223 (closes #6497)
8224Files: src/eval.c, src/typval.c, src/vim9execute.c,
8225 src/testdir/test_vim9_expr.vim
8226
8227Patch 8.2.1264
8228Problem: Terminal getwinpos() test is a bit flaky.
8229Solution: Call getwinpos() a bit later.
8230Files: src/testdir/test_terminal3.vim
8231
8232Patch 8.2.1265
8233Problem: Crash with EXITFREE when split() fails.
8234Solution: Restore 'cpoptions'.
8235Files: src/evalfunc.c
8236
8237Patch 8.2.1266 (after 8.2.1262)
8238Problem: Makefile preference were accidentally included.
8239Solution: Revert the Makefile changes.
8240Files: src/Makefile
8241
8242Patch 8.2.1267
8243Problem: MS-Windows: tests may fail due to $PROMPT value.
8244Solution: Set $PROMPT for testing. (Taro Muraoka, closes #6510)
8245Files: src/testdir/runtest/vim
8246
8247Patch 8.2.1268
8248Problem: Vim9: no error for using double quote comment after :func or :def.
8249Solution: Only accept double quote when not in Vim9 script and not after
8250 :def. (closes #6483)
8251Files: src/userfunc.c, src/testdir/test_vim9_script.vim
8252
8253Patch 8.2.1269
8254Problem: Language and locale code spread out.
8255Solution: Move relevant code to src/locale.c. (Yegappan Lakshmanan,
8256 closes #6509)
8257Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
8258 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
8259 src/ex_cmds2.c, src/locale.c, src/main.c, src/proto.h,
8260 src/proto/ex_cmds2.pro, src/proto/locale.pro
8261
8262Patch 8.2.1270
8263Problem: Vim9: not skipping over function type declaration with only a
8264 return type.
8265Solution: Skip over the return type. (issue #6507)
8266Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8267
8268Patch 8.2.1271
8269Problem: Vim9: Error for Funcref function argument type.
8270Solution: Find the actual function type if possible. (issue #6507)
8271Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8272
8273Patch 8.2.1272
8274Problem: Vim9: type not checked if declaration also assigns value.
8275Solution: Check the type. (issue #6507)
8276Files: src/eval.c, src/vim9compile.c, src/proto/vim9compile.pro,
8277 src/vim9script.c, src/vim9execute.c,
8278 src/testdir/test_vim9_script.vim
8279
8280Patch 8.2.1273
8281Problem: MS-Windows: terminal test may leave file behind.
8282Solution: Wait a moment for process to end before deleting the file.
8283 (Taro Muraoka, closes #6513)
8284Files: src/testdir/test_terminal.vim
8285
8286Patch 8.2.1274
8287Problem: Vim9: no error for missing white space in assignment at script
8288 level.
8289Solution: Check for white space. (closes #6495)
8290Files: src/eval.c, src/evalvars.c, src/testdir/test_vim9_script.vim,
8291 src/testdir/test_let.vim
8292
8293Patch 8.2.1275
8294Problem: Vim9: compiler warning for buffer size.
8295Solution: Change the offset from 10 to 15. (Dominique Pellé, closes #6518)
8296Files: src/vim9script.c
8297
8298Patch 8.2.1276
8299Problem: MS-Windows: system test may fail if more.exe is installed.
8300Solution: Explicitly use more.com. (Taro Muraoka, Ken Takata, closes #6517)
8301Files: src/testdir/test_system.vim
8302
8303Patch 8.2.1277
8304Problem: Tests on Travis do not run with EXITFREE.
8305Solution: Add EXITFREE to all builds to uncover any mistakes.
8306Files: .travis.yml
8307
8308Patch 8.2.1278
8309Problem: Vim9: line break after "->" only allowed in :def function.
8310Solution: Only allow line break after "->". (closes #6492)
8311Files: src/vim9compile.c, src/globals.h, src/testdir/test_vim9_expr.vim
8312
8313Patch 8.2.1279
8314Problem: Some tests on Travis have EXITFREE duplicated.
8315Solution: Remove EXITFREE from shadowopt. Add "shadow" to job name.
8316Files: .travis.yml
8317
8318Patch 8.2.1280
8319Problem: Ex command error cannot contain an argument.
8320Solution: Add ex_errmsg() and translate earlier. Use e_trailing_arg where
8321 possible.
8322Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/buffer.c,
8323 src/ex_eval.c, src/match.c, src/testdir/test_tabpage.vim
8324
8325Patch 8.2.1281
8326Problem: The "trailing characters" error can be hard to understand.
8327Solution: Add the trailing characters to the message.
8328Files: src/cmdhist.c, src/eval.c, src/evalfunc.c, src/evalvars.c,
8329 src/ex_cmds.c, src/ex_docmd.c, src/ex_eval.c, src/json.c,
8330 src/menu.c, src/quickfix.c, src/sign.c, src/userfunc.c
8331
8332Patch 8.2.1282
8333Problem: Vim9: crash when using CheckScriptFailure() in
8334 Test_vim9script_call_fail_decl().
8335Solution: Do not decrement the def_functions len unless the function was
8336 newly added.
8337Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8338
8339Patch 8.2.1283
8340Problem: Vim9: error for misplaced -> lacks argument.
8341Solution: Use the pointer before it was advanced.
8342Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
8343
8344Patch 8.2.1284
8345Problem: Vim9: skipping over type includes following white space, leading
8346 to an error for missing white space.
8347Solution: Do not skip over white space after the type.
8348Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8349
8350Patch 8.2.1285
8351Problem: Vim9: argument types are not checked on assignment.
8352Solution: Check function argument types. (issue #6507)
8353Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8354
8355Patch 8.2.1286
8356Problem: Vim9: No error when using a type on a window variable
8357Solution: Recognize the syntax and give an error. (closes #6521)
8358Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
8359
8360Patch 8.2.1287
8361Problem: Vim9: crash when using an imported function.
8362Solution: Add the function type to the imported entry. (closes #6522)
8363Files: src/vim9script.c, src/vim9compile.c,
8364 src/testdir/test_vim9_script.vim
8365
8366Patch 8.2.1288
8367Problem: Vim9: cannot use mark in range.
8368Solution: Use the flag that a colon was seen. (closes #6528)
8369Files: src/ex_docmd.c, src/testdir/test_vim9_func.vim
8370
8371Patch 8.2.1289
8372Problem: Crash when using a custom completion function.
8373Solution: Initialize all of the expand_T. (closes #6532)
8374Files: src/cmdexpand.c
8375
8376Patch 8.2.1290
8377Problem: Vim9: cannot replace a global function.
8378Solution: Allow for "!" on a global function. (closes #6524) Also fix that
8379 :delfunc on a :def function only made it empty.
8380Files: src/userfunc.c, src/testdir/test_vim9_script.vim
8381
8382Patch 8.2.1291
8383Problem: Vim9: type of varargs items is not checked.
8384Solution: Check the list item types. (closes #6523)
8385Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
8386
8387Patch 8.2.1292
8388Problem: AIDL filetype not recognized.
8389Solution: Add filetype detection. (Dominique Pellé, closes #6533)
8390Files: runtime/filetype.vim, src/testdir/test_filetype.vim
8391
8392Patch 8.2.1293
8393Problem: Vim9: :execute mixes up () expression and function call.
8394Solution: Do not skip white space when looking for the "(". (closes #6531)
8395Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8396
8397Patch 8.2.1294
8398Problem: Vim9: error when using vim9script in TextYankPost.
8399Solution: Use EX_LOCKOK instead of the EX_CMDWIN flag for command that can
8400 be used when text is locked. (closes #6529)
8401Files: src/ex_cmds.h, src/ex_docmd.c
8402
8403Patch 8.2.1295
8404Problem: Tests 44 and 99 are old style.
8405Solution: Convert to new style tests. (Yegappan Lakshmanan, closes #6536)
8406Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
8407 src/testdir/test44.in, src/testdir/test44.ok,
8408 src/testdir/test99.in, src/testdir/test99.ok,
8409 src/testdir/test_regexp_utf8.vim
8410
8411Patch 8.2.1296
8412Problem: Some part of using 'smartcase' was not tested.
8413Solution: Add more tests. (Dominique Pellé, closes #6538)
8414Files: src/testdir/test_search.vim
8415
8416Patch 8.2.1297
8417Problem: When a test fails it's often not easy to see what the call stack
8418 is.
8419Solution: Add more entries from the call stack in the exception message.
8420Files: runtime/doc/cmdline.txt, src/scriptfile.c,
8421 src/proto/scriptfile.pro, src/debugger.c, src/ex_docmd.c,
8422 src/ex_eval.c, src/message.c, src/testing.c,
8423 src/testdir/test_expand_func.vim
8424
8425Patch 8.2.1298
8426Problem: Compiler warning for unused argument in small version.
8427Solution: Add UNUSED.
8428Files: src/scriptfile.c
8429
8430Patch 8.2.1299
8431Problem: Compiler warning for using size_t for int and void pointer.
8432Solution: Add type casts.
8433Files: src/scriptfile.c
8434
8435Patch 8.2.1300
8436Problem: Vim9: optional argument type not parsed properly.
8437Solution: Skip over the "?". (issue #6507)
8438Files: src/vim9compile.c, src/proto/vim9compile.pro, src/evalvars.c,
8439 src/userfunc.c, src/testdir/test_vim9_func.vim
8440
8441Patch 8.2.1301
8442Problem: Vim9: varargs argument type not parsed properly.
8443Solution: Skip over the "...". (issue #6507)
8444Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8445
8446Patch 8.2.1302
8447Problem: Vim9: varargs arg after optional arg does not work
8448Solution: Check for the "..." first. (issue #6507)
8449Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8450
8451Patch 8.2.1303
8452Problem: Calling popup_setoptions() resets 'signcolumn'.
8453Solution: Only set 'signcolumn' when creating the popup. (closes #6542)
8454Files: src/popupwin.c, src/testdir/test_popupwin.vim
8455
8456Patch 8.2.1304
8457Problem: Debug backtrace isn't tested much.
8458Solution: Add more specific tests. (Ben Jackson, closes #6540)
8459Files: src/testdir/runtest.vim, src/testdir/test_debugger.vim
8460
8461Patch 8.2.1305
8462Problem: Some tests are still old style.
8463Solution: Convert tests 52 and 70 to new style. (Yegappan Lakshmanan,
8464 closes #6544) Fix error in FinishTesting().
8465Files: src/testdir/runtest.vim, src/Makefile, src/testdir/Make_all.mak,
8466 src/testdir/Make_amiga.mak, src/testdir/Make_vms.mms,
8467 src/testdir/test52.in, src/testdir/test52.ok,
8468 src/testdir/test70.in, src/testdir/test70.ok,
8469 src/testdir/test_mzscheme.vim, src/testdir/test_writefile.vim
8470
8471Patch 8.2.1306
8472Problem: Checking for first character of dict key is inconsistent.
8473Solution: Add eval_isdictc(). (closes #6546)
8474Files: src/eval.c, src/proto/eval.pro, src/vim9compile.c,
8475 src/testdir/test_listdict.vim, src/testdir/test_vim9_expr.vim,
8476 src/testdir/test_let.vim
8477
8478Patch 8.2.1307
8479Problem: popup window width does not include number, fold of sign column
8480 width.
8481Solution: Take number, fold and sign column with into account.
8482Files: src/popupwin.c, src/testdir/test_popupwin.vim,
8483 src/testdir/dumps/Test_popupwin_sign_2.dump
8484
8485Patch 8.2.1308
8486Problem: Vim9: accidentally using "x" causes Vim to exit.
8487Solution: Disallow using ":x" or "xit" in Vim9 script. (closes #6399)
8488Files: runtime/doc/vim9.txt, src/vim9compile.c, src/vim9script.c,
8489 src/proto/vim9script.pro, src/ex_docmd.c, src/ex_cmds.c,
8490 src/testdir/test_vim9_script.vim
8491
8492Patch 8.2.1309
8493Problem: Build failure with tiny version.
8494Solution: Add #ifdef.
8495Files: src/ex_cmds.c, src/ex_docmd.c
8496
8497Patch 8.2.1310
8498Problem: Configure with Xcode 12 fails to check for tgetent.
8499Solution: Declare tgetent(). (Ozaki Kiichi, closes #6558)
8500Files: src/configure.ac, src/auto/configure
8501
8502Patch 8.2.1311
8503Problem: Test failures with legacy Vim script.
8504Solution: Actually check for Vim9 script.
8505Files: src/vim9script.c
8506
8507Patch 8.2.1312
8508Problem: MS-Windows: terminal test may fail if dir.exe exists.
8509Solution: Use dir.com. (Ken Takata, closes #6557)
8510Files: src/testdir/test_terminal3.vim
8511
8512Patch 8.2.1313
8513Problem: Vim9 script: cannot assign to environment variable.
8514Solution: Recognize environment variable assignment. (closes #6548)
8515 Also options and registers.
8516Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
8517
8518Patch 8.2.1314
8519Problem: Vim9: rule for comment after :function is confusing.
8520Solution: Allow double quoted comment after :function in vim9script.
8521 (closes #6556)
8522Files: src/userfunc.c, src/testdir/test_vim9_script.vim
8523
8524Patch 8.2.1315
8525Problem: MS-Windows: test log contains escape sequences.
8526Solution: Do not use t_md and t_me but ANSI escape sequences. (Ken Takata,
8527 closes #6559)
8528Files: src/testdir/runtest.vim
8529
8530Patch 8.2.1316
8531Problem: Test 42 is still old style.
8532Solution: Turn it into a new style test. (Yegappan Lakshmanan, closes #6561)
8533Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_dos.mak,
8534 src/testdir/Make_ming.mak, src/testdir/Make_vms.mms,
8535 src/testdir/test42.in, src/testdir/test42.ok,
8536 src/testdir/test_writefile.vim
8537
8538Patch 8.2.1317
8539Problem: MS-Windows tests on AppVeyor are slow.
8540Solution: Use GitHub Actions. (Ken Takata, closes #6569)
8541Files: Filelist, .github/workflows/ci-windows.yaml, appveyor.yml,
8542 ci/appveyor.bat
8543
8544Patch 8.2.1318
8545Problem: No status badge for Github CI.
8546Solution: Add a badge.
8547Files: README.md
8548
8549Patch 8.2.1319
8550Problem: Status badge for Github CI has wrong link.
8551Solution: Rename and use the right link
8552Files: README.md, .github/workflows/ci-windows.yaml
8553
8554Patch 8.2.1320
8555Problem: Vim9: cannot declare some single letter variables.
8556Solution: Do not recognize a colon for a namespace for single letter
8557 variables. (closes #6547)
8558Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8559
8560Patch 8.2.1321
8561Problem: GitHub CI also runs on tag push.
8562Solution: Skip CI on push. (Ken Takata, closes #6571)
8563Files: .github/workflows/ci-windows.yaml
8564
8565Patch 8.2.1322
8566Problem: Vim9: method on double quoted string doesn't work.
8567Solution: Recognize double quoted string. (closes #6562)
8568Files: src/ex_docmd.c, src/testdir/test_vim9_func.vim,
8569 src/testdir/test_vim9_expr.vim
8570
8571Patch 8.2.1323
8572Problem: Vim9: invalid operators only rejected in :def function.
8573Solution: Also reject them at script level. (closes #6564)
8574Files: src/eval.c, src/vim9compile.c, src/proto/vim9compile.pro,
8575 src/testdir/test_vim9_expr.vim
8576
8577Patch 8.2.1324
8578Problem: Vim9: line break after "=" does not work.
8579Solution: Also allow for NUL after "=". (closes #6549)
8580Files: src/evalvars.c, src/testdir/test_vim9_script.vim
8581
8582Patch 8.2.1325
8583Problem: Vim9: using Vim9 script for autoload not tested.
8584Solution: Add a test. Update help.
8585Files: runtime/doc/vim9.txt, src/testdir/test_autoload.vim,
8586 src/testdir/sautest/autoload/auto9.vim
8587
8588Patch 8.2.1326
8589Problem: Vim9: skipping over white space after list.
8590Solution: Do not skip white space, a following [] would be misinterpreted.
8591 (closes #6552) Fix a few side effects.
8592Files: src/list.c, src/dict.c, src/eval.c, src/userfunc.c,
8593 src/testdir/test_functions.vim, src/testdir/test_gn.vim,
8594 src/testdir/test_popupwin.vim, src/testdir/test_tabpage.vim,
8595 src/testdir/test_textprop.vim, src/testdir/test_textobjects.vim
8596
8597Patch 8.2.1327
8598Problem: Mac: configure can't find Tcl libraries.
8599Solution: Adjust configure check. (closes #6575)
8600Files: src/configure.ac, src/auto/configure
8601
8602Patch 8.2.1328
8603Problem: No space allowed before comma in list.
8604Solution: Legacy Vim script allows it. (closes #6577)
8605Files: src/dict.c, src/list.c, src/testdir/test_listdict.vim
8606
8607Patch 8.2.1329
8608Problem: Vim9: cannot define global function inside :def function.
8609Solution: Assign to global variable instead of local. (closes #6584)
8610Files: src/vim9compile.c, src/userfunc.c, src/proto/userfunc.pro,
8611 src/vim9.h, src/vim9execute.c, src/structs.h,
8612 src/misc2.c, src/proto/misc2.pro, src/testdir/test_vim9_func.vim,
8613 src/testdir/test_vim9_disassemble.vim
8614
8615Patch 8.2.1330
8616Problem: Github workflow takes longer than needed.
8617Solution: Do two test runs in parallel instead of sequentially. (Ken Takata,
8618 closes #6579)
8619Files: .github/workflows/ci-windows.yaml
8620
8621Patch 8.2.1331
8622Problem: Vim9: :echo with two lists doesn't work.
8623Solution: Do not skip white space before []. (closes #6552)
8624Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
8625
8626Patch 8.2.1332
8627Problem: Vim9: memory leak when using nested global function.
8628Solution: Delete the function when deleting the instruction. Disable test
8629 that still causes a leak.
8630Files: src/vim9compile.c, src/userfunc.c, src/proto/userfunc.pro,
8631 src/testdir/test_vim9_func.vim
8632
8633Patch 8.2.1333
8634Problem: Vim9: memory leak when using nested global function.
8635Solution: Swap from and to when copying the lines.
8636Files: src/userfunc.c, src/testdir/test_vim9_func.vim
8637
8638Patch 8.2.1334
8639Problem: Github workflow timeout needs tuning
8640Solution: Use a 10 minute timeout. Fail when timing out. (Ken Takata,
8641 closes #6590)
8642Files: .github/workflows/ci-windows.yaml
8643
8644Patch 8.2.1335
8645Problem: CTRL-C in the GUI doesn't interrupt. (Sergey Vlasov)
8646Solution: Recognize "C" with CTRL modifier as CTRL-C. (issue #6565)
8647Files: src/gui.c, src/proto/gui.pro, src/gui_gtk_x11.c, src/gui_x11.c,
8648 src/gui_photon.c
8649
8650Patch 8.2.1336 (after 8.2.1335)
8651Problem: Build failure on non-Unix systems.
8652Solution: Add #ifdef.
8653Files: src/gui.c
8654
8655Patch 8.2.1337
8656Problem: Vim9: cannot use empty key in dict assignment.
8657Solution: Allow empty key. (closes #6591)
8658Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
8659
8660Patch 8.2.1338
8661Problem: Vim9: assigning to script-local variable doesn't check type.
8662Solution: Use the type. (issue #6591)
8663Files: src/vim9compile.c, src/vim9execute.c,
8664 src/testdir/test_vim9_script.vim
8665
8666Patch 8.2.1339
8667Problem: Vim9: assigning to global dict variable doesn't work.
8668Solution: Guess variable type based in index type. (issue #6591)
8669Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8670
8671Patch 8.2.1340
8672Problem: Some tests fail on Cirrus CI and/or with FreeBSD.
8673Solution: Make 'backupskip' empty. Do not run tests as root. Check for
8674 directory when using viminfo. (Ozaki Kiichi, closes #6596)
8675Files: .cirrus.yml, src/testdir/test_backup.vim,
8676 src/testdir/test_edit.vim, src/testdir/test_viminfo.vim,
8677 src/testdir/test_writefile.vim, src/viminfo.c
8678
8679Patch 8.2.1341
8680Problem: Build failures.
8681Solution: Add missing error message.
8682Files: src/globals.h
8683
8684Patch 8.2.1342
8685Problem: Vim9: accidentally using "x" gives a confusing error.
8686Solution: Disallow using ":t" in Vim9 script. (issue #6399)
8687Files: runtime/doc/vim9.txt, src/vim9compile.c, src/vim9script.c,
8688 src/ex_docmd.c, src/testdir/test_vim9_script.vim
8689
8690Patch 8.2.1343
8691Problem: Vim9: cannot find global function when using g: when local
8692 function with the same name exists.
8693Solution: Find global function when using g:.
8694Files: src/userfunc.c, src/testdir/test_vim9_func.vim
8695
8696Patch 8.2.1344
8697Problem: Vim9: No test for trying to redefine global function.
8698Solution: Add a test.
8699Files: src/testdir/test_vim9_func.vim
8700
8701Patch 8.2.1345
8702Problem: Redraw error when using visual block and scroll.
8703Solution: Add check for w_topline. (closes #6597)
8704Files: src/drawscreen.c, src/testdir/test_display.vim,
8705 src/testdir/dumps/Test_display_visual_block_scroll.dump
8706
8707Patch 8.2.1346
8708Problem: Small build fails.
8709Solution: Add #ifdef.
8710Files: src/ex_docmd.c
8711
8712Patch 8.2.1347
8713Problem: Cannot easily get the script ID.
8714Solution: Support expand('<SID>').
8715Files: runtime/doc/map.txt, src/ex_docmd.c,
8716 src/testdir/test_expand_func.vim
8717
8718Patch 8.2.1348
8719Problem: Build failure without the eval feature.
8720Solution: Add #ifdef.
8721Files: src/ex_docmd.c
8722
8723Patch 8.2.1349
8724Problem: Vim9: can define a function with the name of an import.
8725Solution: Disallow using an existing name. (closes #6585)
8726Files: src/userfunc.c, src/vim9compile.c, src/globals.h,
8727 src/testdir/test_vim9_script.vim
8728
8729Patch 8.2.1350
8730Problem: Vim9: no test for error message when redefining function.
8731Solution: Add a test.
8732Files: src/testdir/test_vim9_script.vim
8733
8734Patch 8.2.1351
8735Problem: Vim9: no proper error if using namespace for nested function.
8736Solution: Specifically check for a namespace. (closes #6582)
8737Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8738
8739Patch 8.2.1352
8740Problem: Vim9: no error for shadowing a script-local function by a nested
8741 function.
8742Solution: Check for script-local function. (closes #6586)
8743Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8744
8745Patch 8.2.1353
8746Problem: Crash when drawing double-wide character in terminal window.
8747 (Masato Nishihata)
8748Solution: Check getcell() returning NULL. (issue #6141)
8749Files: src/libvterm/src/screen.c, src/testdir/test_terminal.vim
8750
8751Patch 8.2.1354
8752Problem: Test 59 is old style.
8753Solution: Convert into a new style test. (Yegappan Lakshmanan, closes #6604)
8754Files: runtime/doc/eval.txt, src/Makefile, src/testdir/Make_all.mak,
8755 src/testdir/Make_vms.mms, src/testdir/test59.in,
8756 src/testdir/test59.ok, src/testdir/test_spell_utf8.vim
8757
8758Patch 8.2.1355
8759Problem: Vim9: no error using :let for options and registers.
8760Solution: Give an error. (closes #6568)
8761Files: src/evalvars.c, src/vim9compile.c,
8762 src/testdir/test_vim9_script.vim
8763
8764Patch 8.2.1356
8765Problem: Vim9: cannot get the percent register.
8766Solution: Check for readable registers instead of writable. (closes #6566)
8767Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
8768
8769Patch 8.2.1357
8770Problem: Vim9: cannot assign to / register.
8771Solution: Adjust check for assignment. (issue #6566)
8772Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim,
8773 src/testdir/test_vim9_script.vim
8774
8775Patch 8.2.1358
8776Problem: Vim9: test fails with +dnd is not available.
8777Solution: Add condition.
8778Files: src/testdir/test_vim9_script.vim
8779
8780Patch 8.2.1359
8781Problem: Vim9: cannot assign to / register in Vim9 script.
8782Solution: Adjust check for assignment in Vim9 script. (closes #6567)
8783Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
8784
8785Patch 8.2.1360
8786Problem: Stray error for white space after expression.
8787Solution: Ignore trailing white space. (closes #6608)
8788Files: src/eval.c, src/testdir/test_filter_map.vim
8789
8790Patch 8.2.1361
8791Problem: Error for white space after expression in assignment.
8792Solution: Skip over white space. (closes #6617)
8793Files: src/eval.c, src/testdir/test_expr.vim
8794
8795Patch 8.2.1362
8796Problem: Last entry of ":set term=xxx" overwritten by error message when
8797 'cmdheight' is two or more. (Tony Mechelynck)
8798Solution: Output extra line breaks.
8799Files: src/term.c, src/testdir/test_termcodes.vim
8800
8801Patch 8.2.1363
8802Problem: Test trying to run terminal when it is not supported.
8803Solution: Check if Vim can be run in a terminal.
8804Files: src/testdir/test_termcodes.vim
8805
8806Patch 8.2.1364
8807Problem: Invalid memory access when searching for raw string.
8808Solution: Check for delimiter match before following quote. (closes #6578)
8809Files: src/search.c
8810
8811Patch 8.2.1365
8812Problem: Vim9: no error for missing white space around operator.
8813Solution: Check for white space. (closes #6618)
8814Files: src/eval.c, src/vim9compile.c, src/proto/vim9compile.pro,
8815 src/evalvars.c, src/testdir/test_vim9_expr.vim,
8816 src/testdir/test_vim9_func.vim
8817
8818Patch 8.2.1366
8819Problem: Test 49 is old style.
8820Solution: Convert several tests to new style. (Yegappan Lakshmanan,
8821 closes #6629)
8822Files: src/testdir/script_util.vim, src/testdir/test49.ok,
8823 src/testdir/test49.vim, src/testdir/test_vimscript.vim
8824
8825Patch 8.2.1367
8826Problem: Vim9: no error for missing white space around operator.
8827Solution: Check for white space around *, / and %.
8828Files: src/eval.c, src/testdir/test_vim9_expr.vim
8829
8830Patch 8.2.1368
8831Problem: Vim9: no error for missing white space around operator.
8832Solution: Check for white space around <, !=, etc.
8833Files: src/eval.c, src/testdir/test_vim9_expr.vim
8834
8835Patch 8.2.1369
8836Problem: MS-Windows: autocommand test sometimes fails.
8837Solution: Do not rely on the cat command.
8838Files: src/testdir/test_autocmd.vim
8839
8840Patch 8.2.1370
8841Problem: MS-Windows: warning for using fstat() with stat_T.
8842Solution: use _fstat64() if available. (Naruhiko Nishino, closes #6625)
8843Files: src/macros.h
8844
8845Patch 8.2.1371
8846Problem: Vim9: no error for missing white space around operator.
8847Solution: Check for white space around && and ||.
8848Files: src/eval.c, src/testdir/test_vim9_expr.vim
8849
8850Patch 8.2.1372
8851Problem: Vim9: no error for missing white space around operator.
8852Solution: Check for white space around ? and :.
8853Files: src/eval.c, src/testdir/test_vim9_expr.vim
8854
8855Patch 8.2.1373
8856Problem: Vim9: no error for assigning to non-existing script var.
8857Solution: Check that in Vim9 script the variable was defined. (closes #6630)
8858Files: src/vim9compile.c, src/userfunc.c, src/structs.h,
8859 src/testdir/test_vim9_script.vim
8860
8861Patch 8.2.1374
8862Problem: Vim9: error for assigning empty list to script variable.
8863Solution: Use t_unknown for empty list member. (closes #6595)
8864Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8865
8866Patch 8.2.1375
8867Problem: Vim9: method name with digit not accepted.
8868Solution: Use eval_isnamec() instead of eval_isnamec1(). (closes #6613)
8869Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
8870
8871Patch 8.2.1376
8872Problem: Vim9: expression mapping causes error for using :import.
8873Solution: Add EX_LOCK_OK to :import and :export. (closes #6606)
8874Files: src/ex_cmds.h, src/testdir/test_vim9_script.vim
8875
8876Patch 8.2.1377
8877Problem: Triggering the ATTENTION prompt causes typeahead to be messed up.
8878Solution: Increment tb_change_cnt. (closes #6541)
8879Files: src/getchar.c
8880
8881Patch 8.2.1378
8882Problem: Cannot put space between function name and paren.
8883Solution: Allow this for backwards compatibility.
8884Files: src/eval.c, src/testdir/test_expr.vim,
8885 src/testdir/test_vim9_expr.vim
8886
8887Patch 8.2.1379
8888Problem: Curly braces expression ending in " }" does not work.
8889Solution: Skip over white space when checking for "}". (closes #6634)
8890Files: src/dict.c, src/testdir/test_eval_stuff.vim
8891
8892Patch 8.2.1380
8893Problem: Vim9: return type of getreg() is always a string.
8894Solution: Use list of strings when there are three arguments. (closes #6633)
8895Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
8896
8897Patch 8.2.1381
8898Problem: MS-Windows: crash with Python 3.5 when stdin is redirected.
8899Solution: Reconnect stdin. (Yasuhiro Matsumoto, Ken Takata, closes #6641)
8900Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/if_python3.c
8901
8902Patch 8.2.1382
8903Problem: Vim9: using :import in filetype plugin gives an error.
8904Solution: Allow commands with the EX_LOCK_OK flag. (closes #6636)
8905Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
8906
8907Patch 8.2.1383
8908Problem: Test 49 is old style.
8909Solution: Convert test cases to new style. (Yegappan Lakshmanan,
8910 closes #6638)
8911Files: src/testdir/test49.ok, src/testdir/test49.vim,
8912 src/testdir/test_vimscript.vim
8913
8914Patch 8.2.1384
8915Problem: No ATTENTION prompt for :vimgrep first match file.
8916Solution: When there is an existing swap file do not keep the dummy buffer.
8917 (closes #6649)
8918Files: src/quickfix.c, src/testdir/runtest.vim,
8919 src/testdir/test_quickfix.vim
8920
8921Patch 8.2.1385
8922Problem: No testing on ARM.
8923Solution: Add a test on Travis for ARM. (Ozaki Kiichi, closes #6615)
8924Files: .travis.yml
8925
8926Patch 8.2.1386
8927Problem: Backslash not removed after space in option with space in
8928 'isfname'.
8929Solution: Do remove backslash before space, also when it is in 'isfname'.
8930 (Yasuhiro Matsumoto, closes #6651)
8931Files: src/option.c, src/testdir/test_options.vim
8932
8933Patch 8.2.1387
8934Problem: Vim9: cannot assign to single letter variable with type.
8935Solution: Exclude the colon from the variable name. (closes #6647)
8936Files: src/eval.c, src/testdir/test_vim9_script.vim
8937
8938Patch 8.2.1388
8939Problem: Vim9: += only works for numbers.
8940Solution: Use += as concatenate for a list. (closes #6646)
8941Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8942
8943Patch 8.2.1389
8944Problem: File missing from the distribution.
8945Solution: Add script_util.vim to the list of distributes files.
8946Files: Filelist
8947
8948Patch 8.2.1390
8949Problem: Vim9: type error after storing an option value.
8950Solution: Drop the type after a STOREOPT instruction. (closes #6632)
8951Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8952
8953Patch 8.2.1391
8954Problem: Vim9: no error for shadowing a script function.
8955Solution: Check for already defined items. (closes #6652)
8956Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8957
8958Patch 8.2.1392
8959Problem: Vim9: error line number incorrect after skipping over comment
8960 lines.
8961Solution: Insert empty lines for skipped lines.
8962Files: src/userfunc.c, src/testdir/test_vim9_func.vim
8963
8964Patch 8.2.1393
8965Problem: Insufficient testing for script debugging.
8966Solution: Add more tests. (Ben Jackson)
8967Files: src/testdir/test_debugger.vim
8968
8969Patch 8.2.1394
8970Problem: Vim9: compiling a function interferes with command modifiers.
8971Solution: Save and restore command modifiers. (closes #6658)
8972Files: src/vim9compile.c, src/testdir/test_vim9_func.vim,
8973 src/testdir/test_vim9_script.vim
8974
8975Patch 8.2.1395
8976Problem: Vim9: no error if declaring a funcref with a lower case letter.
8977Solution: Check the name after the type is inferred. Fix confusing name.
8978Files: src/vim9compile.c, src/dict.c, src/eval.c, src/evalvars.c,
8979 src/proto/evalvars.pro, src/testdir/test_vim9_script.vim,
8980 src/testdir/test_vim9_expr.vim
8981
8982Patch 8.2.1396
8983Problem: Vim9: no error for unexpectedly returning a value.
8984Solution: Only set the return type for lambda's. Make using function type
8985 in a function reference work.
8986Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8987
8988Patch 8.2.1397
8989Problem: Vim9: return type of maparg() not adjusted for fourth argument.
8990Solution: Check if fourth argument is present. (closes #6645)
8991Files: src/evalfunc.c, src/testdir/test_maparg.vim
8992
8993Patch 8.2.1398
8994Problem: Autoload script sourced twice if sourced directly.
8995Solution: Do not source an autoload script again. (issue #6644)
8996Files: src/scriptfile.c, src/testdir/sautest/autoload/sourced.vim
8997
8998Patch 8.2.1399
8999Problem: Vim9: may find imported item in wrong script.
9000Solution: When looking up script-local function use the embedded script ID.
9001 (issue #6644)
9002Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c,
9003 src/testdir/test_vim9_script.vim
9004
9005Patch 8.2.1400
9006Problem: Vim9: test does not delete written files.
9007Solution: Correct file names.
9008Files: src/testdir/test_vim9_script.vim
9009
9010Patch 8.2.1401
9011Problem: Cannot jump to the last used tabpage.
9012Solution: Add g<Tab> and tabpagnr('#'). (Yegappan Lakshmanan, closes #6661,
9013 neovim #11626)
9014Files: runtime/doc/eval.txt, runtime/doc/index.txt,
9015 runtime/doc/tabpage.txt, src/evalwindow.c, src/globals.h,
9016 src/normal.c, src/proto/window.pro, src/testdir/test_tabpage.vim,
9017 src/window.c
9018
9019Patch 8.2.1402
9020Problem: s390x tests always fail.
9021Solution: Temporarily disable s390x tests.
9022Files: .travis.yml
9023
9024Patch 8.2.1403
9025Problem: Vim9: Vim highlighting fails in cmdline window if it uses Vim9
9026 commands.
9027Solution: Allow using :vim9script, :import and :export while in the cmdline
9028 window. (closes #6656)
9029Files: src/ex_cmds.h, src/testdir/test_vim9_script.vim
9030
9031Patch 8.2.1404
9032Problem: Vim9: script test fails in the GUI.
9033Solution: Use another key to map. Improve cleanup.
9034Files: src/testdir/test_vim9_script.vim
9035
9036Patch 8.2.1405
9037Problem: Vim9: vim9compile.c is getting too big.
9038Solution: Split off type code to vim9type.c.
9039Files: Filelist, src/vim9compile.c, src/proto/vim9compile.pro,
9040 src/vim9type.c, src/proto/vim9type.pro, src/proto.h,
9041 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Makefile
9042
9043Patch 8.2.1406
9044Problem: Popupwindow lacks scrollbar if no "maxheight" is used.
9045Solution: Compute the max height depending on the position. (closes #6664)
9046Files: src/popupwin.c, src/testdir/test_popupwin.vim,
9047 src/testdir/dumps/Test_popupwin_toohigh_1.dump,
9048 src/testdir/dumps/Test_popupwin_toohigh_2.dump
9049
9050Patch 8.2.1407
9051Problem: Vim9: type of list and dict only depends on first item.
9052Solution: Use all items to decide about the type.
9053Files: src/vim9compile.c, src/vim9type.c, src/proto/vim9type.pro,
9054 src/testdir/test_vim9_expr.vim, runtime/doc/vim9.txt
9055
9056Patch 8.2.1408
9057Problem: Vim9: type casting not supported.
9058Solution: Introduce type casting.
9059Files: runtime/doc/vim9.txt, src/vim9compile.c,
9060 src/testdir/test_vim9_expr.vim,
9061 src/testdir/test_vim9_disassemble.vim
9062
9063Patch 8.2.1409
Bram Moolenaar1588bc82022-03-08 21:35:07 +00009064Problem: Npmrc and php.ini filetypes not recognized.
Bram Moolenaarc51cf032022-02-26 12:25:45 +00009065Solution: Add filetype detection. (Doug Kearns)
9066Files: runtime/filetype.vim, src/testdir/test_filetype.vim
9067
9068Patch 8.2.1410
9069Problem: Adding compiler plugin requires test change.
9070Solution: Include compiler plugin and adjust test.
9071Files: src/testdir/test_compiler.vim, runtime/compiler/xo.vim
9072
9073Patch 8.2.1411
9074Problem: when splitting a window localdir is copied but prevdir is not.
9075Solution: Also copy prevdir. (closes #6667)
9076Files: src/window.c, src/testdir/test_cd.vim
9077
9078Patch 8.2.1412
9079Problem: Vim: not operator does not result in boolean.
9080Solution: Make type depend on operator. (issue 6678) Fix using "false" and
9081 "true" in Vim9 script.
9082Files: src/eval.c, src/testdir/test_vim9_expr.vim
9083
9084Patch 8.2.1413 (after 8.2.1401)
9085Problem: Previous tab page not usable from an Ex command.
9086Solution: Add the "#" argument for :tabnext et al. (Yegappan Lakshmanan,
9087 closes #6677)
9088Files: runtime/doc/tabpage.txt, src/ex_docmd.c, src/window.c,
9089 src/testdir/test_tabpage.vim
9090
9091Patch 8.2.1414
9092Problem: Popupwindow missing last couple of lines when cursor is in the
9093 first line.
9094Solution: Compute the max height also when top aligned. (closes #6664)
9095Files: src/popupwin.c, src/testdir/test_popupwin.vim,
9096 src/testdir/dumps/Test_popupwin_toohigh_3.dump,
9097 src/testdir/dumps/Test_popupwin_nospace.dump
9098
9099Patch 8.2.1415
9100Problem: Closing a popup window with CTRL-C interrupts 'statusline' if it
9101 calls a function.
9102Solution: Reset got_int while redrawing. (closes #6675)
9103Files: src/popupwin.c, src/testdir/test_popupwin.vim,
9104 src/testdir/dumps/Test_popupwin_ctrl_c.dump
9105
9106Patch 8.2.1416
9107Problem: Vim9: boolean evaluation does not work as intended.
9108Solution: Use tv2bool() in Vim9 script. (closes #6681)
9109Files: src/eval.c, src/testdir/test_vim9_expr.vim, src/testdir/vim9.vim
9110
9111Patch 8.2.1417
9112Problem: Test 49 is old style.
9113Solution: Convert more parts to new style test. (Yegappan Lakshmanan,
9114 closes #6682)
9115Files: src/testdir/test49.ok, src/testdir/test49.vim,
9116 src/testdir/test_vimscript.vim
9117
9118Patch 8.2.1418
9119Problem: Vim9: invalid error for missing white space after function.
9120Solution: Do not skip over white space. (closes #6679)
9121Files: src/userfunc.c, src/testdir/test_vim9_expr.vim
9122
9123Patch 8.2.1419
9124Problem: Vim9: not operator applied too early.
9125Solution: Implement the "numeric_only" argument. (closes #6680)
9126Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
9127
9128Patch 8.2.1420
9129Problem: Test 49 is old style.
9130Solution: Convert remaining parts to new style. Remove obsolete items.
9131 (Yegappan Lakshmanan, closes #6683)
9132Files: Filelist, runtime/doc/testing.txt, src/Make_mvc.mak, src/Makefile,
9133 src/testdir/Make_all.mak, src/testdir/Make_amiga.mak,
9134 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
9135 src/testdir/Make_vms.mms, src/testdir/Makefile,
9136 src/testdir/README.txt, src/testdir/test49.in,
9137 src/testdir/test49.ok, src/testdir/test49.vim,
9138 src/testdir/test_quickfix.vim, src/testdir/test_vimscript.vim
9139
9140Patch 8.2.1421
9141Problem: Vim9: handling "+" and "-" before number differs from Vim script.
9142Solution: Use the same sequence of commands.
9143Files: src/vim9compile.c
9144
9145Patch 8.2.1422
9146Problem: The Mac GUI implementation is outdated and probably doesn't even
9147 work.
9148Solution: Remove the Mac GUI code. The MacVim project provides the
9149 supported Vim GUI version.
9150Files: Filelist, src/gui_mac.c, src/proto/gui_mac.pro, src/proto.h,
9151 src/Makefile, src/configure.ac, src/auto/configure,
9152 src/evalfunc.c, src/fileio.c, src/gui.c, src/if_mzsch.c,
9153 src/main.c, src/misc2.c, src/mouse.c, src/os_mac_conv.c,
9154 src/os_unix.c, src/feature.h, src/globals.h, src/gui.h,
9155 src/option.h, src/optiondefs.h, src/os_mac.h, src/structs.h,
9156 src/vim.h, src/INSTALLmac.txt
9157
9158Patch 8.2.1423
9159Problem: Vim9: find global function when looking for script-local.
9160Solution: Don't strip prefix if name starts with "s:". (closes #6688)
9161Files: src/userfunc.c, src/testdir/test_vim9_func.vim
9162
9163Patch 8.2.1424 (after 8.2.1422)
9164Problem: Mac build fails.
9165Solution: Adjust configure to not fall back to Athena. Adjust some other
9166 files.
9167Files: src/configure.ac, src/auto/configure, src/os_macosx.m,
9168 src/version.c
9169
9170Patch 8.2.1425
9171Problem: Vim9: cannot use call() without :call.
9172Solution: Do not skip over "call(". (closes #6689)
9173Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
9174
9175Patch 8.2.1426
9176Problem: Vim9: cannot call autoload function in :def function.
9177Solution: Load the autoload script. (closes #6690)
9178Files: src/vim9execute.c, src/vim9compile.c, src/scriptfile.c,
9179 src/testdir/test_vim9_expr.vim
9180
9181Patch 8.2.1427
9182Problem: Vim9: cannot use a range with marks in :def function.
9183Solution: Parse range after colon. (closes #6686)
9184Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
9185
9186Patch 8.2.1428
9187Problem: Vim9: :def function does not abort on nested function error.
9188Solution: Check whether an error message was given. (closes #6691)
9189Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
9190
9191Patch 8.2.1429
9192Problem: Vim9: no error for missing white after : in dict.
9193Solution: Check for white space. (closes #6671) Also check that there is no
9194 white before the :.
9195Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim,
9196 src/testdir/test_vim9_func.vim
9197
9198Patch 8.2.1430
9199Problem: Vim9: error for missing comma instead of extra white space.
9200Solution: Check if comma can be found after white space. (closes #6668)
9201 Also check for extra white space in literal dict. (closes #6670)
9202Files: src/list.c, src/dict.c, src/vim9compile.c,
9203 src/testdir/test_vim9_expr.vim
9204
9205Patch 8.2.1431
9206Problem: Vim9: no error for white space before comma in dict.
9207Solution: Check for extra white space. (closes #6674)
9208Files: src/vim9compile.c, src/dict.c, src/testdir/test_vim9_expr.vim
9209
9210Patch 8.2.1432
9211Problem: Various inconsistencies in test files.
9212Solution: Add modelines where they were missing. Use Check commands instead
9213 of silently skipping over tests. Adjust indents and comments.
9214 (Ken Takata, closes #6695)
9215Files: src/testdir/test_arglist.vim, src/testdir/test_assert.vim,
9216 src/testdir/test_autochdir.vim, src/testdir/test_autocmd.vim,
9217 src/testdir/test_autoload.vim, src/testdir/test_balloon.vim,
9218 src/testdir/test_balloon_gui.vim, src/testdir/test_behave.vim,
9219 src/testdir/test_blockedit.vim, src/testdir/test_breakindent.vim,
9220 src/testdir/test_bufline.vim, src/testdir/test_bufwintabinfo.vim,
9221 src/testdir/test_cd.vim, src/testdir/test_changedtick.vim,
9222 src/testdir/test_changelist.vim, src/testdir/test_channel.vim,
9223 src/testdir/test_checkpath.vim, src/testdir/test_cindent.vim,
9224 src/testdir/test_cjk_linebreak.vim,
9225 src/testdir/test_clientserver.vim,
9226 src/testdir/test_close_count.vim, src/testdir/test_cmdline.vim,
9227 src/testdir/test_command_count.vim,
9228 src/testdir/test_comparators.vim, src/testdir/test_compiler.vim,
9229 src/testdir/test_crypt.vim, src/testdir/test_cursorline.vim,
9230 src/testdir/test_curswant.vim, src/testdir/test_debugger.vim,
9231 src/testdir/test_delete.vim, src/testdir/test_diffmode.vim,
9232 src/testdir/test_digraph.vim, src/testdir/test_display.vim,
9233 src/testdir/test_edit.vim, src/testdir/test_environ.vim,
9234 src/testdir/test_erasebackword.vim,
9235 src/testdir/test_escaped_glob.vim, src/testdir/test_ex_equal.vim,
9236 src/testdir/test_ex_undo.vim, src/testdir/test_ex_z.vim,
9237 src/testdir/test_exec_while_if.vim, src/testdir/test_exists.vim,
9238 src/testdir/test_exists_autocmd.vim, src/testdir/test_exit.vim,
9239 src/testdir/test_expand_dllpath.vim,
9240 src/testdir/test_expr_utf8.vim, src/testdir/test_feedkeys.vim,
9241 src/testdir/test_file_size.vim, src/testdir/test_fileformat.vim,
9242 src/testdir/test_filter_cmd.vim,
9243 src/testdir/test_find_complete.vim, src/testdir/test_findfile.vim,
9244 src/testdir/test_fixeol.vim, src/testdir/test_flatten.vim,
9245 src/testdir/test_fnameescape.vim, src/testdir/test_fold.vim,
9246 src/testdir/test_functions.vim, src/testdir/test_ga.vim,
9247 src/testdir/test_getcwd.vim, src/testdir/test_getvar.vim,
9248 src/testdir/test_glob2regpat.vim, src/testdir/test_global.vim,
9249 src/testdir/test_gui.vim, src/testdir/test_gui_init.vim,
9250 src/testdir/test_highlight.vim, src/testdir/test_hlsearch.vim,
9251 src/testdir/test_iminsert.vim,
9252 src/testdir/test_increment_dbcs.vim,
9253 src/testdir/test_ins_complete.vim, src/testdir/test_interrupt.vim,
9254 src/testdir/test_job_fails.vim, src/testdir/test_join.vim,
9255 src/testdir/test_json.vim, src/testdir/test_jumplist.vim,
9256 src/testdir/test_jumps.vim, src/testdir/test_lambda.vim,
9257 src/testdir/test_langmap.vim, src/testdir/test_largefile.vim,
9258 src/testdir/test_lineending.vim, src/testdir/test_listchars.vim,
9259 src/testdir/test_listener.vim, src/testdir/test_listlbr.vim,
9260 src/testdir/test_listlbr_utf8.vim,
9261 src/testdir/test_makeencoding.vim, src/testdir/test_man.vim,
9262 src/testdir/test_mapping.vim, src/testdir/test_marks.vim,
9263 src/testdir/test_matchadd_conceal.vim,
9264 src/testdir/test_matchadd_conceal_utf8.vim,
9265 src/testdir/test_memory_usage.vim, src/testdir/test_menu.vim,
9266 src/testdir/test_messages.vim, src/testdir/test_mksession.vim,
9267 src/testdir/test_modeline.vim,
9268 src/testdir/test_nested_function.vim, src/testdir/test_number.vim,
9269 src/testdir/test_options.vim, src/testdir/test_packadd.vim,
9270 src/testdir/test_partial.vim, src/testdir/test_paste.vim,
9271 src/testdir/test_plus_arg_edit.vim, src/testdir/test_preview.vim,
9272 src/testdir/test_profile.vim, src/testdir/test_prompt_buffer.vim,
9273 src/testdir/test_quickfix.vim, src/testdir/test_quotestar.vim,
9274 src/testdir/test_random.vim, src/testdir/test_recover.vim,
9275 src/testdir/test_regex_char_classes.vim,
9276 src/testdir/test_regexp_latin.vim, src/testdir/test_registers.vim,
9277 src/testdir/test_rename.vim, src/testdir/test_retab.vim,
9278 src/testdir/test_scriptnames.vim, src/testdir/test_scroll_opt.vim,
9279 src/testdir/test_scrollbind.vim, src/testdir/test_search_stat.vim,
9280 src/testdir/test_searchpos.vim, src/testdir/test_set.vim,
9281 src/testdir/test_sha256.vim, src/testdir/test_shift.vim,
9282 src/testdir/test_shortpathname.vim, src/testdir/test_signs.vim,
9283 src/testdir/test_sort.vim, src/testdir/test_sound.vim,
9284 src/testdir/test_source_utf8.vim, src/testdir/test_spellfile.vim,
9285 src/testdir/test_startup.vim, src/testdir/test_startup_utf8.vim,
9286 src/testdir/test_stat.vim, src/testdir/test_suspend.vim,
9287 src/testdir/test_swap.vim, src/testdir/test_syntax.vim,
9288 src/testdir/test_tab.vim, src/testdir/test_tabline.vim,
9289 src/testdir/test_tagcase.vim, src/testdir/test_tagjump.vim,
9290 src/testdir/test_taglist.vim, src/testdir/test_termcodes.vim,
9291 src/testdir/test_termencoding.vim, src/testdir/test_terminal.vim,
9292 src/testdir/test_terminal2.vim, src/testdir/test_terminal3.vim,
9293 src/testdir/test_terminal_fail.vim,
9294 src/testdir/test_true_false.vim,
9295 src/testdir/test_utf8_comparisons.vim,
9296 src/testdir/test_vartabs.vim, src/testdir/test_version.vim,
9297 src/testdir/test_vim9_expr.vim, src/testdir/test_winbar.vim,
9298 src/testdir/test_winbuf_close.vim,
9299 src/testdir/test_window_cmd.vim, src/testdir/test_window_id.vim,
9300 src/testdir/test_windows_home.vim, src/testdir/test_wnext.vim,
9301 src/testdir/test_wordcount.vim, src/testdir/test_writefile.vim,
9302 src/testdir/test_xxd.vim
9303
9304Patch 8.2.1433
9305Problem: Vim9: cannot mingle comments in multi-line lambda.
9306Solution: Skip over NULL lines. (closes #6694)
9307Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
9308
9309Patch 8.2.1434
9310Problem: Vim9: crash when lambda uses outer function argument.
9311Solution: Set the flag that the outer context is used.
9312Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
9313
9314Patch 8.2.1435
9315Problem: Vim9: always converting to string for ".." leads to mistakes.
9316Solution: Only automatically convert simple types.
9317Files: runtime/doc/vim9.txt, src/vim9compile.c, src/vim9.h,
9318 src/vim9execute.c, src/proto/vim9execute.pro, src/eval.c,
9319 src/evalfunc.c, src/testdir/test_vim9_expr.vim,
9320 src/testdir/test_vim9_disassemble.vim
9321
9322Patch 8.2.1436
9323Problem: Function implementing :substitute has unexpected name.
9324Solution: Rename from do_sub() to ex_substitute().
9325Files: src/ex_cmds.c, src/proto/ex_cmds.pro, src/ex_docmd.c,
9326 src/ex_cmds.h
9327
9328Patch 8.2.1437
9329Problem: Vim9: 'statusline' is evaluated using Vim9 script syntax.
9330Solution: Always use legacy script syntax.
9331Files: src/eval.c, src/testdir/test_vim9_script.vim
9332
9333Patch 8.2.1438
9334Problem: Missing tests for interrupting script execution from debugger.
9335Solution: Add tests. (Yegappan Lakshmanan, closes #6697)
9336Files: src/testdir/test_debugger.vim
9337
9338Patch 8.2.1439
9339Problem: Tiny and small builds have no test coverage.
9340Solution: Restore tests that do not depend on the +eval feature.
9341 (Ken Takata, closes #6696)
9342Files: .travis.yml, Filelist, Makefile, runtime/doc/testing.txt,
9343 src/Make_mvc.mak, src/Makefile, src/testdir/Make_all.mak,
9344 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
9345 src/testdir/Make_ming.mak, src/testdir/Make_vms.mms,
9346 src/testdir/Makefile, src/testdir/runtest.vim,
9347 src/testdir/test1.in, src/testdir/test1.ok, src/testdir/test20.in,
9348 src/testdir/test20.ok, src/testdir/test21.in,
9349 src/testdir/test21.ok, src/testdir/test22.in,
9350 src/testdir/test22.ok, src/testdir/test23.in,
9351 src/testdir/test23.ok, src/testdir/test24.in,
9352 src/testdir/test24.ok, src/testdir/test25.in,
9353 src/testdir/test25.ok, src/testdir/test26.in,
9354 src/testdir/test26.ok, src/testdir/test27.in,
9355 src/testdir/test27.ok, src/testdir/test_options.vim
9356
9357Patch 8.2.1440
9358Problem: Debugger code insufficiently tested.
9359Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6700)
9360Files: src/testdir/test_debugger.vim, src/testdir/test_vimscript.vim
9361
9362Patch 8.2.1441
9363Problem: Running tests in tiny version gives error for summarize.vim.
9364Solution: Set 'cpoptions' to allow for line continuation. Restore
9365 redirecting test output to /dev/null.
9366Files: src/testdir/summarize.vim, src/testdir/Makefile
9367
9368Patch 8.2.1442
9369Problem: Outdated references to the Mac Carbon GUI.
9370Solution: Remove or update references. (Yee Cheng Chin, closes #6703)
9371Files: READMEdir/README_extra.txt, src/Makefile, src/configure.ac,
9372 src/auto/configure, src/gui_haiku.cc, src/os_macosx.m,
9373 src/testdir/test_iminsert.vim, src/vim.h
9374
9375Patch 8.2.1443
9376Problem: Vim9: crash when interrupting a nested :def function.
9377Solution: Push a dummy return value onto the stack. (closes #6701)
9378Files: src/vim9execute.c
9379
9380Patch 8.2.1444
9381Problem: Error messages are spread out and names can be confusing.
9382Solution: Start moving error messages to a separate file and use clear
9383 names.
9384Files: Filelist, src/vim.h, src/globals.h, src/errors.h, src/Makefile,
9385 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Make_vms.mms,
9386 src/dict.c, src/evalvars.c, src/ex_docmd.c, src/list.c,
9387 src/userfunc.c, src/vim9compile.c, src/vim9execute.c,
9388 src/vim9script.c, src/vim9type.c
9389
9390Patch 8.2.1445
9391Problem: Vim9: function expanded name is cleared when sourcing a script
9392 again.
9393Solution: Only clear the expanded name when deleting the function.
9394 (closes #6707)
9395Files: src/userfunc.c, src/testdir/test_vim9_script.vim
9396
9397Patch 8.2.1446
9398Problem: Vim9: line number in error message is not correct.
9399Solution: Set SOURCING_LNUM before calling emsg(). (closes #6708)
9400Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
9401
9402Patch 8.2.1447
9403Problem: Vim9: return type of keys() is list<any>.
9404Solution: Should be list<string>. (closes #6711)
9405Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
9406
9407Patch 8.2.1448
9408Problem: Test 77a for VMS depends on small.vim which does not exist.
9409Solution: Use the 'silent while 0" trick. (issue #6696)
9410Files: src/testdir/test77a.in
9411
9412Patch 8.2.1449
9413Problem: Some test makefiles delete files that are not generated.
9414Solution: Remove the deletion commands.
9415Files: src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
9416 src/testdir/Make_amiga.mak, src/testdir/Make_vms.mms
9417
9418Patch 8.2.1450
9419Problem: Vim9: no check that script-local items don't become global.
9420Solution: Add a test.
9421Files: src/testdir/test_vim9_script.vim
9422
9423Patch 8.2.1451
9424Problem: Vim9: list type at script level only uses first item.
9425Solution: Use all members, like in a compiled function. (closes #6712)
9426 Also for dictionary.
9427Files: src/vim9type.c, src/testdir/test_vim9_expr.vim
9428
9429Patch 8.2.1452
9430Problem: Vim9: dead code in to_name_end().
9431Solution: Remove check for lambda and dict, it won't be used.
9432Files: src/vim9compile.c
9433
9434Patch 8.2.1453
9435Problem: Vim9: failure to compile lambda not tested.
9436Solution: Add a test case.
9437Files: src/testdir/test_vim9_expr.vim
9438
9439Patch 8.2.1454
9440Problem: Vim9: failure invoking lambda with wrong arguments.
9441Solution: Handle invalid arguments. Add a test.
9442Files: src/vim9compile.c, src/vim9execute.c,
9443 src/testdir/test_vim9_expr.vim
9444
9445Patch 8.2.1455
9446Problem: Vim9: crash when using typecast before constant.
9447Solution: Generate constant before checking type. Add tets.
9448Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
9449
9450Patch 8.2.1456
9451Problem: MS-Windows: test files are not deleted.
9452Solution: use "del" instead of $(DEL).
9453Files: src/testdir/Make_dos.mak
9454
9455Patch 8.2.1457
9456Problem: Vim9: the output of :disassemble cannot be interrupted.
9457Solution: Check got_int. (closes #6715)
9458Files: src/vim9execute.c
9459
9460Patch 8.2.1458
9461Problem: .gawk files not recognized.
9462Solution: Recognize .gawk files. (Doug Kearns)
9463Files: runtime/filetype.vim, src/testdir/test_filetype.vim
9464
9465Patch 8.2.1459
Bram Moolenaar1588bc82022-03-08 21:35:07 +00009466Problem: Vim9: declaring a script variable at the script level does not
Bram Moolenaarc51cf032022-02-26 12:25:45 +00009467 infer the type.
9468Solution: Get the type from the value. (closes #6716)
9469Files: src/evalvars.c, src/testdir/test_vim9_script.vim
9470
9471Patch 8.2.1460
9472Problem: Error messages are spread out.
9473Solution: Move more messages into errors.h.
9474Files: src/errors.h, src/globals.h, src/vim9compile.c, src/vim9execute.c,
9475 src/vim9script.c, src/vim9type.c, src/scriptfile.c, src/ex_cmds.c,
9476 src/ex_docmd.c, src/match.c, src/eval.c, src/evalvars.c,
9477 src/userfunc.c, src/testdir/test_vim9_expr.vim,
9478 src/testdir/test_vim9_disassemble.vim,
9479 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
9480
9481Patch 8.2.1461
9482Problem: Vim9: string indexes are counted in bytes.
9483Solution: Use character indexes. (closes #6574)
9484Files: runtime/doc/eval.txt, src/eval.c, src/proto/eval.pro,
9485 src/vim9execute.c, src/eval.c, src/testdir/test_vim9_expr.vim
9486
9487Patch 8.2.1462
9488Problem: Vim9: string slice not supported yet.
9489Solution: Add support for string slicing.
9490Files: src/errors.h, src/vim9compile.c, src/vim9.h, src/vim9execute.c,
9491 src/eval.c, src/proto/eval.pro, src/testdir/test_vim9_expr.vim,
9492 src/testdir/test_vim9_disassemble.vim
9493
9494Patch 8.2.1463
9495Problem: Vim9: list slice not supported yet.
9496Solution: Add support for list slicing.
9497Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/eval.c,
9498 src/list.c, src/proto/list.pro, src/testdir/test_vim9_expr.vim,
9499 src/testdir/test_vim9_disassemble.vim
9500
9501Patch 8.2.1464
9502Problem: Vim9: build warning for unused variable.
9503Solution: Delete the variable declaration.
9504Files: src/vim9execute.c
9505
9506Patch 8.2.1465
9507Problem: Vim9: subscript not handled properly.
9508Solution: Adjust error message. Remove dead code. Disallow string to
9509 number conversion in scripts.
9510Files: src/errors.h, src/vim9compile.c, src/vim9execute.c, src/eval.c,
9511 src/typval.c, src/list.c, src/testdir/test_vim9_expr.vim,
9512 src/testdir/test_vim9_script.vim
9513
9514Patch 8.2.1466
9515Problem: Vim9: cannot index or slice a variable with type "any".
9516Solution: Add runtime index and slice.
9517Files: src/eval.c, src/proto/eval.pro, src/vim9compile.c,
9518 src/vim9execute.c, src/vim9.h, src/errors.h, src/list.c,
9519 src/testdir/test_vim9_expr.vim,
9520 src/testdir/test_vim9_disassemble.vim,
9521 src/testdir/test_vim9_script.vim
9522
9523Patch 8.2.1467
9524Problem: Vim9: :echomsg doesn't like a dict argument.
9525Solution: Convert arguments like in legacy script. (closes #6717)
9526Files: src/vim9compile.c, src/vim9execute.c,
9527 src/testdir/test_vim9_script.vim
9528
9529Patch 8.2.1468
9530Problem: Vim9: invalid error for missing white space.
9531Solution: Don't skip over white space after index. (closes #6718)
9532Files: src/eval.c, src/testdir/test_vim9_expr.vim
9533
9534Patch 8.2.1469
9535Problem: Vim9: cannot assign string to string option.
9536Solution: Change checks for option value. (closes #6720)
9537Files: src/evalvars.c, src/testdir/test_vim9_script.vim
9538
9539Patch 8.2.1470
9540Problem: Errors in spell file not tested.
9541Solution: Add test for spell file errors. (Yegappan Lakshmanan,
9542 closes #6721)
9543Files: src/testdir/test_spellfile.vim
9544
9545Patch 8.2.1471
9546Problem: :const only locks the variable, not the value.
9547Solution: Lock the value as ":lockvar 1 var" would do. (closes #6719)
9548Files: src/evalvars.c, src/testdir/test_const.vim
9549
9550Patch 8.2.1472
9551Problem: ":argdel" does not work like ":.argdel" as documented. (Alexey
9552 Demin)
9553Solution: Make ":argdel" work like ":.argdel". (closes #6727)
9554 Also fix giving the error "0 more files to edit".
9555Files: src/arglist.c, src/ex_docmd.c, src/testdir/test_arglist.vim
9556
9557Patch 8.2.1473
9558Problem: Items in a list given to :const can still be modified.
9559Solution: Work like ":lockvar! name" but don't lock referenced items.
9560 Make locking a blob work.
9561Files: runtime/doc/eval.txt, src/evalvars.c, src/eval.c,
9562 src/testdir/test_const.vim
9563
9564Patch 8.2.1474
9565Problem: /usr/lib/udef/rules.d not recognized as udevrules.
9566Solution: Adjust match pattern. (Haochen Tong, closes 36722)
9567Files: runtime/autoload/dist/ft.vim, src/testdir/test_filetype.vim
9568
9569Patch 8.2.1475
9570Problem: Vim9: can't use v:true for option flags.
9571Solution: Add tv_get_bool_chk(). (closes #6725)
9572Files: src/typval.c, src/proto/typval.pro, src/channel.c
9573
9574Patch 8.2.1476 (after 8.2.1474)
9575Problem: Filetype test fails on MS-Windows.
9576Solution: Remove "^" from pattern.
9577Files: runtime/autoload/dist/ft.vim
9578
9579Patch 8.2.1477
9580Problem: Vim9: error when using bufnr('%').
9581Solution: Don't give an error for using a string argument. (closes #6723)
9582Files: src/evalbuffer.c, src/testdir/test_vim9_func.vim
9583
9584Patch 8.2.1478
9585Problem: Vim9: cannot use "true" for some popup options.
9586Solution: Add dict_get_bool(). (closes #6725)
9587Files: src/dict.c, src/proto/dict.pro, src/popupwin.c
9588
9589Patch 8.2.1479
9590Problem: Vim9: error for list index uses wrong line number.
9591Solution: Set source line number. (closes #6724) Add a way to assert the
9592 line number of the error with assert_fails().
9593Files: runtime/doc/testing.txt, src/vim9execute.c, src/testing.c,
9594 src/evalfunc.c, src/message.c, src/globals.h, src/testdir/vim9.vim,
9595 src/testdir/test_vim9_expr.vim
9596
9597Patch 8.2.1480
9598Problem: Vim9: skip expression in search() gives error.
9599Solution: use tv_get_bool() eval_expr_to_bool(). (closes #6729)
9600Files: src/eval.c, src/typval.c, src/proto/typval.pro,
9601 src/testdir/test_vim9_func.vim
9602
9603Patch 8.2.1481
9604Problem: Vim9: line number reported with error may be wrong.
9605Solution: Check line number in tests.
9606Files: src/testdir/test_vim9_expr.vim, src/testdir/vim9.vim,
9607 src/vim9execute.c
9608
9609Patch 8.2.1482
9610Problem: Vim9: crash when using a nested lambda.
9611Solution: Do not clear the growarray when not evaluating. Correct pointer
9612 when getting the next line. (closes #6731)
9613Files: src/eval.c, src/scriptfile.c, src/testdir/test_vim9_expr.vim
9614
9615Patch 8.2.1483
9616Problem: Vim9: error for using special as number when returning "false"
9617 from a popup filter.
9618Solution: Use tv_get_bool(). (closes #6733)
9619Files: src/popupwin.c
9620
9621Patch 8.2.1484
9622Problem: Flaky failure in assert_fails().
9623Solution: Only used fourth argument if there is a third argument.
9624Files: src/testing.c
9625
9626Patch 8.2.1485
9627Problem: Vim9: readdirex() expression doesn't accept bool.
9628Solution: Accept both -1 and bool. (closes #6737)
9629Files: src/filepath.c, src/testdir/test_vim9_func.vim
9630
9631Patch 8.2.1486
9632Problem: Vim9: readdir() expression doesn't accept bool.
9633Solution: Merge with code for readdirex(). (closes #6737)
9634Files: src/filepath.c, src/testdir/test_vim9_func.vim
9635
9636Patch 8.2.1487
9637Problem: Travis: installing snd-dummy is not always useful.
9638Solution: Only install snd-dummy on amd64. (Ozaki Kiichi, closes #6738)
9639Files: .travis.yml, ci/load-snd-dummy.sh
9640
9641Patch 8.2.1488
9642Problem: Text does not scroll when inserting above first line.
9643Solution: Adjust off-by-one error. (Ken Takata, closes #6739)
9644Files: src/drawscreen.c, src/testdir/test_display.vim,
9645 src/testdir/dumps/Test_display_scroll_at_topline.dump
9646
9647Patch 8.2.1489
9648Problem: Vim9: error when setting an option with setbufvar().
9649Solution: Do not get a number from a string value. (closes #6740)
9650Files: src/evalvars.c, src/testdir/test_vim9_func.vim
9651
9652Patch 8.2.1490
9653Problem: Vim9: using /= with float and number doesn't work.
9654Solution: Better support assignment with operator. (closes #6742)
9655Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
9656
9657Patch 8.2.1491
9658Problem: Vim9: crash when compiling heredoc lines start with comment.
9659Solution: Skip over NULL pointers. Do not remove comment and empty lines
9660 when fetching function lines. (closes #6743)
9661Files: src/vim9compile.c, src/scriptfile.c, src/proto/scriptfile.pro,
9662 src/structs.h, src/ex_docmd.c, src/proto/ex_docmd.pro,
9663 src/ex_cmds.h, src/autocmd.c, src/proto/autocmd.pro,
9664 src/ex_getln.c, src/proto/ex_getln.pro, src/userfunc.c,
9665 src/proto/userfunc.pro, src/evalfunc.c,
9666 src/testdir/test_vim9_script.vim
9667
9668Patch 8.2.1492
9669Problem: Build failures.
9670Solution: Move typedef out of #ifdef. Adjust argument types. Discover
9671 America.
9672Files: src/structs.h, src/ex_docmd.c
9673
9674Patch 8.2.1493
9675Problem: Not enough test coverage for the spell file handling.
9676Solution: Add spell file tests. (Yegappan Lakshmanan, closes #6728)
9677Files: src/spellfile.c, src/testdir/test_spellfile.vim
9678
9679Patch 8.2.1494
9680Problem: Missing change to calling eval_getline().
9681Solution: Change last argument.
9682Files: src/eval.c
9683
9684Patch 8.2.1495
9685Problem: "make clean" may delete too many files.
9686Solution: Do not delete $APPDIR. (closes #6751)
9687Files: src/Makefile
9688
9689Patch 8.2.1496
9690Problem: Vim9: cannot use " #" in a mapping.
9691Solution: Do not remove a comment with the EX_NOTRLCOM flag. (closes #6746)
9692Files: src/ex_docmd.c, src/vim9compile.c, src/testdir/test_vim9_cmd.vim
9693
9694Patch 8.2.1497
9695Problem: CursorHold test is flaky. (Jakub Kądziołka)
9696Solution: Use WaitForAssert() (closes #6754)
9697Files: src/testdir/test_autocmd.vim
9698
9699Patch 8.2.1498
9700Problem: On slow systems tests can be flaky.
9701Solution: Use TermWait() instead of term-wait(). (Yegappan Lakshmanan,
9702 closes #6756)
9703Files: src/testdir/test_digraph.vim, src/testdir/test_display.vim,
9704 src/testdir/test_popupwin.vim, src/testdir/test_termcodes.vim,
9705 src/testdir/test_terminal.vim, src/testdir/test_terminal3.vim,
9706 src/testdir/test_writefile.vim
9707
9708Patch 8.2.1499
9709Problem: Vim9: error when using "$" with col().
9710Solution: Reorder getting the column value. (closes #6744)
9711Files: src/eval.c, src/testdir/test_vim9_func.vim
9712
9713Patch 8.2.1500
9714Problem: Vim9: error when using address without a command.
9715Solution: Execute the range itself. (closes #6747)
9716Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
9717
9718Patch 8.2.1501
9719Problem: Vim9: concatenating to constant reverses order.
9720Solution: Generate constant before option, register and environment
9721 variable. (closes #6757)
9722Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
9723
9724Patch 8.2.1502
9725Problem: Vim9: can use += with a :let command at script level.
9726Solution: Give an error.
9727Files: src/evalvars.c, src/testdir/test_vim9_script.vim,
9728 src/testdir/test_vim9_expr.vim
9729
9730Patch 8.2.1503
9731Problem: Vim9: error for an autocmd defined in a :def function in legacy
9732 Vim script.
9733Solution: Don't check the variable type. (closes #6758)
9734Files: src/vim9script.c, src/testdir/test_vim9_script.vim
9735
9736Patch 8.2.1504
9737Problem: Vim9: white space checks are only done for a :def function.
9738Solution: Also do checks at the script level. Adjust the name of a few
9739 error messages.
9740Files: src/userfunc.c, src/errors.h, src/dict.c, src/list.c,
9741 src/vim9compile.c, src/vim9script.c, src/vim9type.c,
9742 src/evalvars.c, src/testdir/test_vim9_expr.vim,
9743 src/testdir/vim9.vim
9744
9745Patch 8.2.1505
9746Problem: Not all file read and writecode is tested.
9747Solution: Add a few tests. (Dominique Pellé, closes #6764)
9748Files: src/testdir/test_eval_stuff.vim, src/testdir/test_fnamemodify.vim,
9749 src/testdir/test_functions.vim
9750
9751Patch 8.2.1506
9752Problem: Vim9: no error when using a number other than 0 or 1 as bool.
9753Solution: Check the number is 0 or 1.
9754Files: src/errors.h, src/typval.c, src/testdir/test_vim9_func.vim
9755
9756Patch 8.2.1507
9757Problem: Using malloc() directly.
9758Solution: Use ALLOC_ONE(). Remove superfluous typecast. (Hussam al-Homsi,
9759 closes #6768)
9760Files: src/eval.c, src/memline.c, src/vimrun.c
9761
9762Patch 8.2.1508
9763Problem: Not all debugger commands covered by tests.
9764Solution: Add tests for going up/down in the stack. (Ben Jackson,
9765 closes #6765)
9766Files: src/testdir/test_debugger.vim
9767
9768Patch 8.2.1509
9769Problem: Vertical separator is cleared when dragging a popup window using a
9770 multi-byte character for the border.
9771Solution: Only clear the character before the window if it is using a
9772 multi-byte character. (closes #6766)
9773Files: src/screen.c
9774
9775Patch 8.2.1510
9776Problem: Using "var" in a :def function may refer to a legacy Vim script
9777 variable.
9778Solution: Require using "s:" to refer to a legacy Vim script variable.
9779 (closes #6771)
9780Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
9781
9782Patch 8.2.1511
9783Problem: Putting a string in Visual block mode ignores multi-byte
9784 characters.
9785Solution: Adjust the column for Visual block mode. (closes #6767)
9786Files: src/register.c, src/testdir/test_visual.vim
9787
9788Patch 8.2.1512
9789Problem: Failure after ternary expression fails.
9790Solution: Restore eval_flags. (Yasuhiro Matsumoto, closes #6776)
9791Files: src/eval.c, src/testdir/test_vimscript.vim,
9792 src/testdir/test_vim9_expr.vim
9793
9794Patch 8.2.1513
9795Problem: Cannot interrupt shell used for filename expansion. (Dominique
9796 Pellé)
9797Solution: Do set tmode in mch_delay(). (closes #6770)
9798Files: src/vim.h, src/os_unix.c, src/proto/os_unix.pro, src/term.c,
9799 src/channel.c, src/if_cscope.c, src/os_amiga.c, src/ui.c,
9800 src/proto/os_amiga.pro, src/os_win32.c, src/proto/os_win32.pro
9801
9802Patch 8.2.1514
9803Problem: Multibyte vertical separator is cleared when dragging a popup
9804 window using a multi-byte character for the border.
9805Solution: Only clear the character before the window if it is double width.
9806 (closes #6766)
9807Files: src/screen.c
9808
9809Patch 8.2.1515
9810Problem: Vim9: can create s:var in legacy script but cannot unlet.
9811Solution: Allow :unlet for legacy script var.
9812Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
9813
9814Patch 8.2.1516
9815Problem: Vim9: error for :exe has wrong line number.
9816Solution: Set line number before calling do_cmdline_cmd(). (closes #6774)
9817Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
9818
9819Patch 8.2.1517
9820Problem: Cannot easily get the character under the cursor.
9821Solution: Add the {chars} argument to strpart().
9822Files: runtime/doc/eval.txt, src/evalfunc.c,
9823 src/testdir/test_functions.vim
9824
9825Patch 8.2.1518
9826Problem: Vim9: cannot assign to local option.
9827Solution: Skip over "&l:" and "&g:". (closes #6749)
9828Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/testdir/vim9.vim,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00009829 src/vim9compile.c, src/testdir/test_vim9_script.vim
Bram Moolenaarc51cf032022-02-26 12:25:45 +00009830
9831Patch 8.2.1519
9832Problem: Vim9: Ex command default range is not set.
9833Solution: When range is not given use default. (closes #6779)
9834Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
9835
9836Patch 8.2.1520
9837Problem: Vim9: CTRL-] used in :def function does not work.
9838Solution: Omit count or prepend colon. (closes #6769)
9839Files: src/normal.c, src/testdir/test_vim9_cmd.vim
9840
9841Patch 8.2.1521
9842Problem: Reading past end of buffer when reading spellfile. (Yegappan
9843 Lakshmanan)
9844Solution: Store the byte length and check for it.
9845Files: src/spellfile.c, src/spell.h
9846
9847Patch 8.2.1522
9848Problem: Not enough test coverage for the spell file handling.
9849Solution: Add spell file tests. (Yegappan Lakshmanan, closes #6763)
9850Files: src/testdir/test_spellfile.vim
9851
9852Patch 8.2.1523
9853Problem: Still not enough test coverage for the spell file handling.
9854Solution: Add spell file tests. (Yegappan Lakshmanan, closes #6790)
9855Files: src/testdir/test_spellfile.vim
9856
9857Patch 8.2.1524
9858Problem: No longer get an error for string concatenation with float.
9859 (Tsuyoshi Cho)
9860Solution: Only convert float for Vim9 script. (closes #6787)
9861Files: src/eval.c, src/testdir/test_eval_stuff.vim
9862
9863Patch 8.2.1525
9864Problem: Messages from tests were not always displayed.
9865Solution: Always show messages, the timing is always useful. (Ken Takata,
9866 closes #6792)
9867Files: src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
9868 src/testdir/Makefile
9869
9870Patch 8.2.1526
9871Problem: Line in testdir Makefile got commented out. (Christian Brabandt)
9872Solution: Revert.
9873Files: src/testdir/Makefile
9874
9875Patch 8.2.1527
9876Problem: Vim9: cannot use a function name as a function reference at script
9877 level.
9878Solution: Check if a name is a function name. (closes #6789)
9879Files: src/evalvars.c, src/testdir/test_vim9_expr.vim,
9880 src/testdir/test_vim9_script.vim
9881
9882Patch 8.2.1528
9883Problem: Vim9: :endif not found after "if false".
9884Solution: When skipping still check for a following command. (closes #6797)
9885Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
9886
9887Patch 8.2.1529
9888Problem: Vim9: :elseif may be compiled when not needed.
9889Solution: Do evaluate the :elseif expression.
9890Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
9891
9892Patch 8.2.1530
9893Problem: Vim9: test fails on MS-Windows.
9894Solution: Skip Ex command inside "if false".
9895Files: src/vim9compile.c
9896
9897Patch 8.2.1531
9898Problem: Vim9: test still fails on MS-Windows.
9899Solution: When skipping expect function to be NULL.
9900Files: src/vim9compile.c
9901
9902Patch 8.2.1532
9903Problem: Compiler warning for conversion of size_t to long.
9904Solution: Add type cast.
9905Files: src/eval.c
9906
9907Patch 8.2.1533
9908Problem: Vim9: error when passing getreginfo() result to setreg().
9909Solution: Use dict_get_bool() for "isunnamed". (closes #6784)
9910Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
9911
9912Patch 8.2.1534
9913Problem: Vim9: type error for argument type is not at call position.
9914Solution: Set the context and stack after checking the arguments.
9915 (issue #6785)
9916Files: src/userfunc.c, src/vim9execute.c, src/testdir/test_vim9_func.vim
9917
9918Patch 8.2.1535
9919Problem: It is not possible to specify cell widths of characters.
9920Solution: Add setcellwidths().
9921Files: runtime/doc/eval.txt, runtime/doc/options.txt,
9922 runtime/doc/usr_41.txt, src/evalfunc.c, src/mbyte.c,
9923 src/proto/mbyte.pro, src/errors.h, src/testdir/test_utf8.vim
9924
9925Patch 8.2.1536
9926Problem: Cannot get the class of a character; emoji widths are wrong in
9927 some environments.
9928Solution: Add charclass(). Update some emoji widths. Add script to check
9929 emoji widths.
9930Files: Filelist, runtime/doc/eval.txt, runtime/doc/usr_41.txt,
9931 src/evalfunc.c, src/mbyte.c, src/proto/mbyte.pro,
9932 src/testdir/emoji_list.vim, src/testdir/test_functions.vim
9933
9934Patch 8.2.1537
Bram Moolenaar1588bc82022-03-08 21:35:07 +00009935Problem: Memory access error when using setcellwidths().
Bram Moolenaarc51cf032022-02-26 12:25:45 +00009936Solution: Use array and pointers correctly.
9937Files: src/mbyte.c, src/errors.h, src/testdir/test_utf8.vim
9938
9939Patch 8.2.1538
9940Problem: Python: iteration over vim objects fails to keep reference.
9941Solution: Keep a reference for the object. (Paul Ollis, closes #6803,
9942 closes #6806)
9943Files: src/if_py_both.h, src/testdir/test_python3.vim
9944
9945Patch 8.2.1539
9946Problem: Using invalid script ID causes a crash.
9947Solution: Check the script ID to be valid. (closes #6804)
9948Files: src/globals.h, src/evalvars.c, src/profiler.c, src/scriptfile.c,
9949 src/vim9compile.c, src/testdir/test_vim9_script.vim
9950
9951Patch 8.2.1540
9952Problem: The user cannot try out emoji character widths.
9953Solution: Move the emoji script to the runtime/tools directory.
9954Files: Filelist, src/testdir/emoji_list.vim, runtime/tools/emoji_list.vim
9955
9956Patch 8.2.1541
9957Problem: Vim9: cannot find function reference for s:Func.
9958Solution: Recognize <SNR> prefix. (closes #6805)
9959Files: src/userfunc.c, src/vim9execute.c,
9960 src/testdir/test_vim9_script.vim
9961
9962Patch 8.2.1542
9963Problem: Vim9: test with invalid SID does not work in the GUI.
9964Solution: Skip the test in the GUI.
9965Files: src/testdir/test_vim9_script.vim
9966
9967Patch 8.2.1543
9968Problem: Vim9: test with invalid SID is skipped in the GUI.
9969Solution: Read the CTRL-C that feedkeys() put in typeahead.
9970Files: src/testdir/test_vim9_script.vim
9971
9972Patch 8.2.1544
9973Problem: Cannot translate messages in a Vim script.
9974Solution: Add gettext(). Try it out for a few messages in the options
9975 window.
9976Files: Filelist, src/po/Makefile, src/po/README.txt, runtime/optwin.vim,
9977 src/evalfunc.c, src/po/tojavascript.vim, src/po/fixfilenames.vim,
9978 runtime/doc/eval.txt, runtime/doc/usr_41.txt
9979
9980Patch 8.2.1545
9981Problem: ch_logfile() is unclear about closing when forking.
9982Solution: Adjust the log messages.
9983Files: src/channel.c, src/os_unix.c
9984
9985Patch 8.2.1546
9986Problem: Build rule for Vim.app is unused.
9987Solution: Delete the related build rules.
9988Files: src/Makefile
9989
9990Patch 8.2.1547
9991Problem: Various comment problems.
9992Solution: Update comments.
9993Files: src/arglist.c, src/map.c, src/mbyte.c, src/tag.c, src/undo.c,
9994 src/testdir/README.txt, src/testdir/test_put.vim,
9995 src/libvterm/README
9996
9997Patch 8.2.1548
9998Problem: Cannot move position of "%%" in message translations. (Emir Sarı)
9999Solution: Improve the check script.
10000Files: src/po/check.vim
10001
10002Patch 8.2.1549
10003Problem: The "r" command fails for keys with modifiers if 'esckeys' is off
10004 and modifyOtherKeys is used. (Lauri Tirkkonen)
10005Solution: Temporarily disable bracketed paste and modifyOtherKeys if
10006 'esckeys' is off. (closes #6809)
10007Files: src/normal.c
10008
10009Patch 8.2.1550
10010Problem: Vim9: bufname('%') gives an error.
10011Solution: Only give an error for wrong argument type. (closes #6807)
10012Files: src/evalbuffer.c, src/testdir/test_vim9_func.vim
10013
10014Patch 8.2.1551
10015Problem: Vim9: error for argument type does not mention the number.
10016Solution: Pass the argument number to where the error is given.
10017Files: src/vim9type.c, src/proto/vim9type.pro, src/vim9compile.c,
10018 src/vim9execute.c, src/vim9script.c, src/eval.c,
10019 src/testdir/test_vim9_func.vim
10020
10021Patch 8.2.1552
10022Problem: Warnings from asan with clang-11. (James McCoy)
10023Solution: Avoid using a NULL pointer. (issue #6811)
10024Files: src/fold.c
10025
10026Patch 8.2.1553 (after 8.2.1552)
10027Problem: Crash in edit test.
10028Solution: Avoid using invalid pointer.
10029Files: src/fold.c
10030
10031Patch 8.2.1554
10032Problem: Crash in normal test.
10033Solution: Skip adjusting marks if there are no folds.
10034Files: src/fold.c
10035
10036Patch 8.2.1555
10037Problem: Not all tests are executed on Github Actions.
10038Solution: Copy "src" to "src2" earlier. Recognize "src2" in a couple more
10039 places. Add two tests to the list of flaky tests. (Ken Takata,
10040 closes #6798)
10041Files: .github/workflows/ci-windows.yaml, src/testdir/runtest.vim,
10042 src/testdir/test_python2.vim, src/testdir/test_python3.vim
10043
10044Patch 8.2.1556
10045Problem: Cursorline highlighting always overrules sign highlighting.
10046Solution: Combine the highlighting, use the priority to decide how.
10047 (closes #6812)
10048Files: runtime/doc/sign.txt, src/structs.h, src/drawline.c,
10049 runtime/pack/dist/opt/termdebug/plugin/termdebug.vim,
10050 src/testdir/test_signs.vim,
10051 src/testdir/dumps/Test_sign_cursor_5.dump,
10052 src/testdir/dumps/Test_sign_cursor_6.dump
10053
10054Patch 8.2.1557
10055Problem: Crash in :vimgrep when started as "vim -n". (Raul Segura)
10056Solution: Check mfp pointer. (Yegappan Lakshmanan, closes #6827)
10057Files: src/quickfix.c, src/testdir/test_quickfix.vim
10058
10059Patch 8.2.1558
10060Problem: Signs test fails.
10061Solution: Add missing change to sign.c.
10062Files: src/sign.c
10063
10064Patch 8.2.1559
10065Problem: s390x tests work again.
10066Solution: re-enable s390x tests. (James McCoy, closes #6829)
10067Files: .travis.yml
10068
10069Patch 8.2.1560
10070Problem: Using NULL pointers in some code. (James McCoy)
10071Solution: Avoid adding to a NULL pointer. Use byte as unsigned.
10072Files: src/fold.c, src/eval.c, src/spellsuggest.c, src/spellfile.c,
10073 src/vim9compile.c
10074
10075Patch 8.2.1561
10076Problem: Using NULL pointers in fold code.
10077Solution: Avoid using a NULL pointer. (Dominique Pellé, closes #6831,
10078 closes #6831)
10079Files: src/fold.c
10080
10081Patch 8.2.1562
10082Problem: Vim9: error when using "%" where a buffer is expected.
10083Solution: Add tv_get_buf_from_arg(). (closes #6814)
10084Files: src/typval.c, src/proto/typval.pro, src/evalbuffer.c,
10085 src/testdir/test_vim9_func.vim
10086
10087Patch 8.2.1563
10088Problem: Vim9: error when using '%" with setbufvar() or getbufvar().
10089Solution: Use tv_get_buf_from_arg(). (closes #6816)
10090Files: src/evalvars.c, src/testdir/test_vim9_func.vim
10091
10092Patch 8.2.1564
10093Problem: A few remaining errors from ubsan.
10094Solution: Avoid the warnings. (Dominique Pellé, closes #6837)
10095Files: src/spellfile.c, src/spellsuggest.c, src/viminfo.c
10096
10097Patch 8.2.1565
10098Problem: Spellfile test sometimes fails.
10099Solution: Check running into the end of the file.
10100Files: src/spellfile.c
10101
10102Patch 8.2.1566
10103Problem: Not all Bazel files are recognized.
10104Solution: Add *.bazel and *.BUILD. (closes #6836)
10105Files: runtime/filetype.vim, src/testdir/test_filetype.vim
10106
10107Patch 8.2.1567
10108Problem: No example to use ubsan with clang.
10109Solution: Add example commands. (Dominique Pellé, issue #6811)
10110Files: src/Makefile
10111
10112Patch 8.2.1568
10113Problem: prop_find() skips properties in the same line if "skipstart" is
10114 used.
10115Solution: Use "continue" instead of "break". (closes #6840)
10116Files: src/textprop.c, src/testdir/test_textprop.vim
10117
10118Patch 8.2.1569
10119Problem: Vim9: fixes for functions not tested; failure in getchangelist().
10120Solution: Add tests. (closes #6813, closes #6815, closes #6817)
10121Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10122
10123Patch 8.2.1570
10124Problem: Configure check for dirfd() does not work on HPUX. (Michael Osipov)
10125Solution: Use AC_TRY_LINK instead of AC_TRY_COMPILE. (closes #6838)
10126Files: src/configure.ac, src/auto/configure, src/fileio.c, src/globals.h
10127
10128Patch 8.2.1571
10129Problem: Vim9: count() third argument cannot be "true".
10130Solution: Use tv_get_bool_chk(). (closes #6818)
10131Files: src/typval.c, src/list.c, src/testdir/test_vim9_func.vim
10132
10133Patch 8.2.1572
10134Problem: Vim9: expand() does not take "true" as argument.
10135Solution: Use tv_get_bool_chk(). (closes #6819)
10136Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10137
10138Patch 8.2.1573
10139Problem: Vim9: getreg() does not take "true" as argument.
10140Solution: Use tv_get_bool_chk(). (closes #6820)
10141Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10142
10143Patch 8.2.1574
10144Problem: Vim9: glob() does not take "true" as argument.
10145Solution: Use tv_get_bool_chk(). (closes #6821)
10146Files: src/filepath.c, src/testdir/test_vim9_func.vim
10147
10148Patch 8.2.1575
10149Problem: Vim9: globpath() does not take "true" as argument.
10150Solution: Use tv_get_bool_chk(). (closes #6821)
10151Files: src/filepath.c, src/testdir/test_vim9_func.vim
10152
10153Patch 8.2.1576
10154Problem: Vim9: index() does not take "true" as argument.
10155Solution: Use tv_get_bool_chk(). (closes #6823)
10156Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10157
10158Patch 8.2.1577
10159Problem: Vim9: hasmapto(), mapcheck() and maparg() do not take "true" as
10160 argument.
10161Solution: Use tv_get_bool(). (closes #6822, closes #6824)
10162Files: src/evalfunc.c, src/map.c, src/testdir/test_vim9_func.vim
10163
10164Patch 8.2.1578
10165Problem: Vim9: popup_clear() does not take "true" as argument.
10166Solution: Use tv_get_bool(). (closes #6826)
10167Files: src/popupwin.c, src/testdir/test_popupwin.vim
10168
10169Patch 8.2.1579
10170Problem: Reports from asan are not optimal.
10171Solution: Use clang with ubsan. (James McCoy, closes #6811)
10172Files: .travis.yml
10173
10174Patch 8.2.1580
10175Problem: Wildmenu does not work properly.
10176Solution: Do not call may_do_incsearch_highlighting() if completion is in
10177 progress.
10178Files: src/ex_getln.c, src/testdir/test_cmdline.vim,
10179 src/testdir/dumps/Test_wildmenu_1.dump,
10180 src/testdir/dumps/Test_wildmenu_2.dump,
10181 src/testdir/dumps/Test_wildmenu_3.dump,
10182 src/testdir/dumps/Test_wildmenu_4.dump
10183
10184Patch 8.2.1581
10185Problem: Using line() for global popup window doesn't work.
10186Solution: Set tabpage to "curtab". (closes #6847)
10187Files: src/evalwindow.c, src/testdir/test_popupwin.vim
10188
10189Patch 8.2.1582
10190Problem: The channel log does not show typed text.
10191Solution: Add raw typed text to the log file.
10192Files: src/ui.c, src/os_win32.c
10193
10194Patch 8.2.1583
10195Problem: MS-Windows: cannot easily measure code coverage.
10196Solution: Add the COVERAGE option. (Ken Takata, closes #6842)
10197Files: src/Make_cyg_ming.mak
10198
10199Patch 8.2.1584
10200Problem: Vim9: cannot use "true" for "skipstart" in prop_find().
10201Solution: Use dict_get_bool() instead of tv_get_number(). (closes #6852)
10202Files: src/textprop.c, src/testdir/test_textprop.vim
10203
10204Patch 8.2.1585
10205Problem: Messages in errors.h not translated, xgettext on MS-Windows not
10206 fully supported.
10207Solution: Add errors.h to list of input files. Update MS-Windows makefiles
10208 to improve message translations. (Ken Takata, closes #6858)
10209Files: src/po/Make_cyg.mak, src/po/Make_ming.mak, src/po/Make_mvc.mak,
10210 src/po/Makefile, src/po/README.txt, src/po/fixfilenames.vim
10211
10212Patch 8.2.1586
10213Problem: :resize command not fully tested.
10214Solution: Add a couple of tests. (Dominique Pellé, closes #6857)
10215Files: src/testdir/test_window_cmd.vim
10216
10217Patch 8.2.1587
10218Problem: Loop for handling keys for the command line is too long.
10219Solution: Move wild menu handling to separate functions. (Yegappan
10220 Lakshmanan, closes #6856)
10221Files: src/cmdexpand.c, src/proto/cmdexpand.pro, src/ex_getln.c
10222
10223Patch 8.2.1588
10224Problem: Cannot read back the prompt of a prompt buffer.
10225Solution: Add prompt_getprompt(). (Ben Jackson, closes #6851)
10226Files: runtime/doc/channel.txt, runtime/doc/eval.txt,
10227 runtime/doc/usr_41.txt, src/channel.c, src/edit.c, src/evalfunc.c,
10228 src/proto/channel.pro, src/proto/edit.pro,
10229 src/testdir/test_prompt_buffer.vim
10230
10231Patch 8.2.1589
10232Problem: Term_start() options for size are overruled by 'termwinsize'.
10233 (Sergey Vlasov)
10234Solution: Set 'termwinsize' to the specified size.
10235Files: src/terminal.c, src/testdir/test_terminal2.vim,
10236 src/testdir/term_util.vim
10237
10238Patch 8.2.1590
10239Problem: Vim9: bufnr() doesn't take "true" argument.
10240Solution: use tv_get_bool_chk(). (closes #6863)
10241Files: src/evalbuffer.c, src/testdir/test_vim9_func.vim
10242
10243Patch 8.2.1591
10244Problem: Using winheight('.') in tests works but is wrong.
10245Solution: Use winheight(0). (issue #6863)
10246Files: src/testdir/test_functions.vim, src/testdir/test_quickfix.vim
10247
10248Patch 8.2.1592
10249Problem: Vim9: passing "true" to char2nr() fails.
10250Solution: Use tv_get_bool_chk(). (closes #6865)
10251Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10252
10253Patch 8.2.1593
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010254Problem: Tests do not check the error number properly.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010255Solution: Add a colon after the error number. (closes #6869)
10256Files: src/testdir/test_assert.vim, src/testdir/test_autocmd.vim,
10257 src/testdir/test_backspace_opt.vim, src/testdir/test_channel.vim,
10258 src/testdir/test_clientserver.vim, src/testdir/test_cmdline.vim,
10259 src/testdir/test_const.vim, src/testdir/test_cscope.vim,
10260 src/testdir/test_eval_stuff.vim, src/testdir/test_functions.vim,
10261 src/testdir/test_global.vim, src/testdir/test_gui.vim,
10262 src/testdir/test_hlsearch.vim, src/testdir/test_lambda.vim,
10263 src/testdir/test_let.vim, src/testdir/test_listdict.vim,
10264 src/testdir/test_move.vim, src/testdir/test_normal.vim,
10265 src/testdir/test_popupwin.vim, src/testdir/test_put.vim,
10266 src/testdir/test_quickfix.vim, src/testdir/test_rename.vim,
10267 src/testdir/test_search.vim, src/testdir/test_signs.vim,
10268 src/testdir/test_substitute.vim, src/testdir/test_syntax.vim,
10269 src/testdir/test_tagfunc.vim, src/testdir/test_tagjump.vim,
10270 src/testdir/test_taglist.vim, src/testdir/test_terminal.vim,
10271 src/testdir/test_terminal2.vim, src/testdir/test_textprop.vim,
10272 src/testdir/test_timers.vim, src/testdir/test_true_false.vim,
10273 src/testdir/test_user_func.vim, src/testdir/test_vim9_func.vim,
10274 src/testdir/test_vim9_script.vim, src/testdir/test_vimscript.vim,
10275 src/testdir/test_winbar.vim, src/testdir/test_winbuf_close.vim,
10276 src/testdir/test_window_cmd.vim, src/testdir/test_writefile.vim
10277
10278Patch 8.2.1594
10279Problem: Pull requests on github do not notify a maintainer.
10280Solution: Add a CODEOWNERS file with a few initial entries.
10281Files: Filelist, .github/CODEOWNERS
10282
10283Patch 8.2.1595
10284Problem: Cannot easily see what Vim sends to the terminal.
10285Solution: Write output to the channel log if it contains terminal control
10286 sequences. Avoid warnings for tputs() argument.
10287Files: src/term.c, src/globals.h, src/edit.c, src/normal.c,
10288 src/optionstr.c
10289
10290Patch 8.2.1596
10291Problem: Using win_screenpos('.') in tests works but is wrong.
10292Solution: Use win_screenpos(0).
10293Files: src/testdir/test_terminal3.vim
10294
10295Patch 8.2.1597
10296Problem: The channel source file is too big.
10297Solution: Move job related code to a new source file.
10298Files: Filelist, src/Makefile, src/Make_mvc.mak, src/Make_cyg_ming.mak,
10299 src/channel.c, src/proto/channel.pro, src/job.c,
10300 src/proto/job.pro, src/proto.h, src/edit.c, src/proto/edit.pro,
10301 src/globals.h, src/configure.ac, src/auto/configure
10302
10303Patch 8.2.1598
10304Problem: Starting a hidden terminal resizes the current window.
10305Solution: Do not resize the current window for a hidden terminal.
10306 (closes #6872)
10307Files: src/terminal.c, src/testdir/test_terminal2.vim
10308
10309Patch 8.2.1599
10310Problem: Missing line end when skipping a long line with :cgetfile.
10311Solution: Fix off-by-one error. (closes #6870)
10312Files: src/quickfix.c, src/testdir/test_quickfix.vim
10313
10314Patch 8.2.1600
10315Problem: Vim9: cannot use "true" with deepcopy().
10316Solution: Use tv_get_bool_chk(). (closes #6867)
10317Files: src/evalfunc.c, src/testdir/test_vim9_func.vim,
10318 src/testdir/test_listdict.vim
10319
10320Patch 8.2.1601
10321Problem: Vim9: cannot use "true" with garbagecollect().
10322Solution: Use tv_get_bool(). (closes #6871)
10323Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10324
10325Patch 8.2.1602
10326Problem: Vim9: cannot use "true" with getbufinfo().
10327Solution: Use dict_get_bool(). (closes #6873)
10328Files: src/evalbuffer.c, src/testdir/test_vim9_func.vim
10329
10330Patch 8.2.1603
10331Problem: Vim9: cannot use "true" with getchar().
10332Solution: use tv_get_bool_chk(). (closes #6874)
10333Files: src/getchar.c, src/testdir/test_vim9_func.vim
10334
10335Patch 8.2.1604
10336Problem: Vim9: cannot use "true" with getcompletion().
10337Solution: use tv_get_bool_chk(). (closes #6875)
10338Files: src/cmdexpand.c, src/testdir/test_vim9_func.vim
10339
10340Patch 8.2.1605
10341Problem: Default maintainer on github is wrong.
10342Solution: Use Bram's account.
10343Files: .github/CODEOWNERS
10344
10345Patch 8.2.1606
10346Problem: Vim9: cannot use "true" with has().
10347Solution: Use tv_get_bool(). (closes #6876)
10348Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10349
10350Patch 8.2.1607
10351Problem: Vim9: getchar() test fails on MS-Windows.
10352Solution: First consume any available input.
10353Files: src/testdir/test_vim9_func.vim
10354
10355Patch 8.2.1608
10356Problem: Vim9: getchar() test fails with GUI.
10357Solution: Avoid that getchar(0) gets stuck on K_IGNORE.
10358Files: src/getchar.c
10359
10360Patch 8.2.1609
10361Problem: Vim9: test fails when build without +channel.
10362Solution: Add check for +channel. (closes #6879)
10363Files: src/testdir/test_vim9_expr.vim
10364
10365Patch 8.2.1610
10366Problem: Vim9: cannot pass "true" to list2str() and str2list().
10367Solution: Use tv_get_bool_chk(). (closes #6877)
10368Files: src/evalfunc.c, src/list.c, src/testdir/test_vim9_func.vim
10369
10370Patch 8.2.1611
10371Problem: Vim9: cannot pass "true" to nr2char().
10372Solution: use tv_get_bool_chk(). (closes #6878)
10373Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10374
10375Patch 8.2.1612
10376Problem: Vim9: cannot pass "true" to prop_remove().
10377Solution: Use dict_get_bool(). (closes #6853)
10378Files: src/textprop.c, src/testdir/test_textprop.vim
10379
10380Patch 8.2.1613
10381Problem: Vim9: cannot pass "true" to prop_type_add().
10382Solution: Use tv_get_bool(). (closes #6850)
10383Files: src/textprop.c, src/testdir/test_textprop.vim
10384
10385Patch 8.2.1614
10386Problem: Vim9: cannot pass "true" to searchcount().
10387Solution: Use tv_get_bool_chk(). (closes #6854)
10388Files: src/search.c, src/testdir/test_vim9_func.vim
10389
10390Patch 8.2.1615
10391Problem: Vim9: cannot pass "true" to searchdecl().
10392Solution: use tv_get_bool_chk(). (closes #6881)
10393Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10394
10395Patch 8.2.1616
10396Problem: Vim9: cannot pass "true" to synID().
10397Solution: Use tv_get_bool_chk(). (closes #6860)
10398Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10399
10400Patch 8.2.1617
10401Problem: Vim9: cannot pass "true" to win_splitmove().
10402Solution: Use dict_get_bool(). (closes #6862) Alphabetize test functions.
10403Files: src/evalwindow.c, src/testdir/test_vim9_func.vim
10404
10405Patch 8.2.1618
10406Problem: Vim9: cannot pass "true" to setloclist().
10407Solution: Use dict_get_bool(). (closes #6882)
10408Files: src/quickfix.c, src/testdir/test_vim9_func.vim
10409
10410Patch 8.2.1619
10411Problem: Vim9: cannot pass "true" to spellsuggest().
10412Solution: Use tv_get_bool_chk(). (closes #6883)
10413Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10414
10415Patch 8.2.1620
10416Problem: searchcount() test fails.
10417Solution: Restore default flag value.
10418Files: src/search.c
10419
10420Patch 8.2.1621
10421Problem: Crash when using submatch(0, 1) in substitute().
10422Solution: Increment reference count. (closes #6887)
10423Files: src/regexp.c, src/testdir/test_substitute.vim
10424
10425Patch 8.2.1622
10426Problem: Loop to handle keys for the command line is too long.
10427Solution: Move code to functions. (Yegappan Lakshmanan, closes #6880)
10428Files: src/ex_getln.c
10429
10430Patch 8.2.1623
10431Problem: Vim9: using :call where it is not needed.
10432Solution: Remove :call. (closes #6892)
10433Files: src/testdir/test_maparg.vim, src/testdir/test_textprop.vim,
10434 src/testdir/test_vim9_disassemble.vim,
10435 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
10436 src/testdir/test_vim9_script.vim
10437
10438Patch 8.2.1624
10439Problem: Vim9: cannot pass "true" to split(), str2nr() and strchars().
10440Solution: Use tv_get_bool_chk(). (closes #6884, closes #6885, closes #6886)
10441Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10442
10443Patch 8.2.1625
10444Problem: Compiler warning for use of fptr_T.
10445Solution: Make the type less strict.
10446Files: src/regexp.c
10447
10448Patch 8.2.1626
10449Problem: Test for strchars() fails with different error number.
10450Solution: Adjust the error number.
10451Files: src/testdir/test_utf8.vim
10452
10453Patch 8.2.1627
10454Problem: Vim9: cannot pass "true" to submatch(), term_gettty() and
10455 term_start()
10456Solution: Use tv_get_bool_chk(). (closes #6888, closes #6890, closes #6889)
10457Files: src/evalfunc.c, src/terminal.c, src/job.c,
10458 src/testdir/test_vim9_func.vim
10459
10460Patch 8.2.1628
10461Problem: Vim9: cannot pass "true" to timer_paused().
10462Solution: Use tv_get_bool(). (closes #6891)
10463Files: src/time.c, src/testdir/test_vim9_func.vim
10464
10465Patch 8.2.1629
10466Problem: Test fails without terminal feature.
10467Solution: Check for terminal feature.
10468Files: src/testdir/test_vim9_func.vim
10469
10470Patch 8.2.1630
10471Problem: Terminal test fails.
10472Solution: Correct argument to term_start(). Correct error number.
10473Files: src/testdir/test_terminal.vim, src/testdir/test_terminal2.vim
10474
10475Patch 8.2.1631
10476Problem: test_fails() does not check the context of the line number.
10477Solution: Use another argument to specify the context of the line number.
10478Files: runtime/doc/testing.txt, runtime/doc/eval.txt,
10479 src/testdir/test_vim9_func.vim, src/testing.c, src/globals.h,
10480 src/evalfunc.c, src/message.c
10481
10482Patch 8.2.1632
10483Problem: Not checking the context of test_fails().
10484Solution: Add the line number and context arguments. Give error if
10485 assert_fails() argument types are wrong.
10486Files: src/testing.c, src/errors.h, src/testdir/test_assert.vim,
10487 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
10488
10489Patch 8.2.1633
10490Problem: Some error messages are internal but do not use iemsg().
10491Solution: Use iemsg(). (Dominique Pellé, closes #6894)
10492Files: src/regexp.c, src/regexp_bt.c, src/regexp_nfa.c
10493
10494Patch 8.2.1634
10495Problem: Loop to handle keys for the command line is too long.
10496Solution: Move a few more parts to separate functions. (Yegappan Lakshmanan,
10497 closes #6895)
10498Files: src/ex_getln.c, src/testdir/test_cmdline.vim
10499
10500Patch 8.2.1635
10501Problem: No digraph for 0x2022 BULLET.
10502Solution: Use "oo". (Hans Ginzel, closes #6904)
10503Files: src/digraph.c, runtime/doc/digraph.txt
10504
10505Patch 8.2.1636
10506Problem: Get stuck if a popup filter causes an error.
10507Solution: Check whether the function can be called and does not cause an
10508 error. (closes #6902)
10509Files: src/structs.h, src/popupwin.c, src/testdir/test_popupwin.vim
10510 src/testdir/dumps/Test_popupwin_wrong_name.dump,
10511 src/testdir/dumps/Test_popupwin_three_errors_1.dump,
10512 src/testdir/dumps/Test_popupwin_three_errors_2.dump
10513
10514Patch 8.2.1637
10515Problem: Vim9: :put ={expr} does not work inside :def function.
10516Solution: Add ISN_PUT. (closes #6397)
10517Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/register.c,
10518 src/proto/register.pro, src/edit.c, src/ex_docmd.c, src/mouse.c,
10519 src/normal.c, src/testdir/test_vim9_cmd.vim,
10520 src/testdir/test_vim9_disassemble.vim
10521
10522Patch 8.2.1638
10523Problem: Leaking memory when popup filter function can't be called.
10524Solution: Don't return too soon.
10525Files: src/popupwin.c
10526
10527Patch 8.2.1639
10528Problem: Options window cannot be translated.
10529Solution: Get the translation for "local to" texts once and use them in many
10530 places. Fix that 'whichwrap' is not a local option. (issue #6800)
10531Files: runtime/optwin.vim
10532
10533Patch 8.2.1640
10534Problem: Amiga: missing header for getgrgid().
10535Solution: Add the grp.h header. (Ola Söder, closes #6906)
10536Files: src/os_amiga.h
10537
10538Patch 8.2.1641
10539Problem: Vim9: cannot use 0 or 1 where a bool is expected.
10540Solution: Allow using 0 and 1 for a bool type. (closes #6903)
10541Files: src/vim9compile.c, src/vim9type.c, src/proto/vim9type.pro,
10542 src/structs.h, src/testdir/test_vim9_script.vim
10543
10544Patch 8.2.1642
10545Problem: Options test fails.
10546Solution: Correct call to OptionG().
10547Files: runtime/optwin.vim
10548
10549Patch 8.2.1643
10550Problem: Vim9: :defcompile compiles dead functions.
10551Solution: Skip over dead functions.
10552Files: src/userfunc.c
10553
10554Patch 8.2.1644
10555Problem: Vim9: cannot assign 1 and 0 to bool at script level.
10556Solution: Add the TTFLAG_BOOL_OK flag to the type. Fix name of test
10557 function.
10558Files: src/vim9type.c, src/testdir/test_vim9_script.vim,
10559 src/testdir/vim9.vim, src/testdir/test_vim9_expr.vim
10560
10561Patch 8.2.1645
10562Problem: GTK3: icons become broken images when resized.
10563Solution: Use gtk_image_new_from_icon_name(). (closes #6916)
10564 Fix compiler warnings.
10565Files: src/gui_gtk_x11.c
10566
10567Patch 8.2.1646
10568Problem: Amiga: Unnecessary #include.
10569Solution: Remove the #include. (Ola Söder, closes #6908)
10570Files: src/version.c
10571
10572Patch 8.2.1647
10573Problem: Vim9: result of expression with && and || cannot be assigned to a
10574 bool variable.
10575Solution: Add the TTFLAG_BOOL_OK flag and convert the value if needed.
10576Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
10577 src/testdir/test_vim9_disassemble.vim
10578
10579Patch 8.2.1648
10580Problem: Amiga: no common build file for Amiga (-like) systems.
10581Solution: Turn Make_morph.mak into Make_ami.mak. (Ola Söder, closes #6805)
10582Files: Filelist, src/Make_ami.mak, src/Make_morph.mak, src/INSTALLami.txt
10583
10584Patch 8.2.1649
10585Problem: GTK3: using old file chooser.
10586Solution: Use native file chooser on GTK 3.20 and above. (Yogeshwar
10587 Velingker, closes #6909)
10588Files: src/gui_gtk.c
10589
10590Patch 8.2.1650
10591Problem: Vim9: result of && and || expression cannot be assigned to a bool
10592 at the script level.
10593Solution: Add the VAR_BOOL_OK flag. Convert to bool when needed.
10594Files: src/structs.h, src/vim9type.c, src/proto/vim9type.pro,
10595 src/vim9script.c, src/evalvars.c, src/eval.c,
10596 src/testdir/test_vim9_script.vim
10597
10598Patch 8.2.1651
10599Problem: Spellfile code not completely tested.
10600Solution: Add a few more test cases. (Yegappan Lakshmanan, closes #6918)
10601Files: src/testdir/test_spellfile.vim
10602
10603Patch 8.2.1652
10604Problem: Cannot translate lines in the options window.
10605Solution: Use the AddOption() function to split descriptions where indicated
10606 by a line break. (issue #6800)
10607Files: runtime/optwin.vim
10608
10609Patch 8.2.1653
10610Problem: Expand('<stack>') does not include the final line number.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010611Solution: Add the line number. (closes #6927)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010612Files: src/vim.h, src/scriptfile.c, src/proto/scriptfile.pro,
10613 src/debugger.c, src/ex_docmd.c, src/ex_eval.c, src/message.c,
10614 src/testing.c, src/testdir/test_expand_func.vim
10615
10616Patch 8.2.1654
10617Problem: When job writes to hidden buffer current window has display
10618 errors. (Johnny McArthur)
10619Solution: Use aucmd_prepbuf() instead of switch_to_win_for_buf().
10620 (closes #6925)
10621Files: src/channel.c
10622
10623Patch 8.2.1655
10624Problem: Cannot build with Strawberry Perl 5.32.0.
10625Solution: Use Perl_sv_2pvbyte_flags. (closes #6921)
10626Files: src/if_perl.xs
10627
10628Patch 8.2.1656
10629Problem: Vim9: callstack wrong if :def function calls :def function.
10630Solution: Set the line number before calling. (closes #6914)
10631Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
10632
10633Patch 8.2.1657
10634Problem: Vim9: no proper error for nested ":def!".
10635Solution: Check for "!". (closes #6920)
10636Files: src/errors.h, src/vim9compile.c, src/testdir/test_vim9_func.vim
10637
10638Patch 8.2.1658
10639Problem: Expand('<stack>') has trailing "..".
10640Solution: Remove the "..". (closes #6927)
10641Files: src/scriptfile.c, src/testdir/test_expand_func.vim
10642
10643Patch 8.2.1659
10644Problem: Spellfile code not completely tested.
10645Solution: Add a few more test cases. (Yegappan Lakshmanan, closes #6929)
10646Files: src/testdir/test_spell.vim, src/testdir/test_spellfile.vim
10647
10648Patch 8.2.1660
10649Problem: Assert functions require passing expected result as the first
10650 argument, which isn't obvious.
10651Solution: Use a method, as in "runtest()->assert_equal(expected)".
10652Files: src/testdir/test_vim9_func.vim
10653
10654Patch 8.2.1661
10655Problem: Cannot connect to 127.0.0.1 for host with only IPv6 addresses.
10656Solution: pass AI_V4MAPPED flag to getaddrinfo. (Filipe Brandenburger,
10657 closes #6931)
10658Files: src/channel.c
10659
10660Patch 8.2.1662
10661Problem: :mksession does not restore shared terminal buffer properly.
10662Solution: Keep a hashtab with terminal buffers. (Rob Pilling, closes #6930)
10663Files: src/hashtab.c, src/proto/terminal.pro, src/session.c,
10664 src/terminal.c, src/testdir/test_mksession.vim
10665
10666Patch 8.2.1663
10667Problem: Options window entries cannot be translated.
10668Solution: Use AddOption() for all explanations. (closes #6800)
10669Files: runtime/optwin.vim
10670
10671Patch 8.2.1664
10672Problem: Memory leak when using :mkview with a terminal buffer.
10673Solution: Don't use a hastab for :mkview. (Rob Pilling, closes #6935)
10674Files: src/session.c, src/terminal.c, src/testdir/test_mksession.vim
10675
10676Patch 8.2.1665
10677Problem: Cannot do fuzzy string matching.
10678Solution: Add matchfuzzy(). (Yegappan Lakshmanan, closes #6932)
10679Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
10680 src/proto/search.pro, src/search.c, src/testdir/test_functions.vim
10681
10682Patch 8.2.1666
10683Problem: The initial value of 'backupskip' can have duplicate items.
10684Solution: Remove duplicates, like when it is set later. (Tom Ryder,
10685 closes #6940)
10686Files: src/option.c, src/testdir/test_options.vim
10687
10688Patch 8.2.1667
10689Problem: Local function name cannot shadow a global function name.
10690Solution: Ignore global functions when checking a script-local or scoped
10691 function name. (closes #6926)
10692Files: src/vim9compile.c, src/userfunc.c, src/proto/userfunc.pro,
10693 src/testdir/test_vim9_func.vim
10694
10695Patch 8.2.1668
10696Problem: Vim9: not accepting 0 or 1 as bool when type is any.
10697Solution: Convert the type with the CHECKTYPE instruction. (closes #6913)
10698Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
10699
10700Patch 8.2.1669
10701Problem: Vim9: memory leak when storing a value fails.
10702Solution: Free the value when not storing it.
10703Files: src/evalvars.c
10704
10705Patch 8.2.1670
10706Problem: A couple of gcc compiler warnings.
10707Solution: Initialize local variables. (Dominique Pellé, closes #6944)
10708Files: src/memline.c, src/option.c
10709
10710Patch 8.2.1671
10711Problem: Vim9: stray error for missing white space.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010712Solution: Do not skip over white space after member. (closes #6917)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010713Files: src/eval.c, src/testdir/test_vim9_expr.vim
10714
10715Patch 8.2.1672
10716Problem: v_lock is used when it is not initialized. (Yegappan Lakshmanan)
10717Solution: Initialize the typval in eval1().
10718Files: src/eval.c
10719
10720Patch 8.2.1673
10721Problem: complete_info() selected index has an invalid value. (Ben Jackson)
10722Solution: Set the index when there is only one match. (closes #6945)
10723 Add test for complete_info().
10724Files: src/insexpand.c, src/testdir/test_ins_complete.vim
10725
10726Patch 8.2.1674
10727Problem: Vim9: internal error when using variable that was not set.
10728Solution: Give a meaningful error. (closes #6937)
10729Files: src/vim9script.c, src/testdir/test_vim9_script.vim
10730
10731Patch 8.2.1675
10732Problem: MinGW: testdir makefile deletes non-existing file.
10733Solution: Use another way to delete the output file if it already exists.
10734 (Michael Soyka)
10735Files: src/testdir/Make_ming.mak
10736
10737Patch 8.2.1676
10738Problem: Compiler warnings for function typecast.
10739Solution: Add an intermediate cast to "void *".
10740Files: src/os_unix.c
10741
10742Patch 8.2.1677
10743Problem: Memory access errors when calling setloclist() in an autocommand.
10744Solution: Give an error if the list was changed unexpectedly. (closes #6946)
10745Files: src/quickfix.c, src/testdir/test_quickfix.vim
10746
10747Patch 8.2.1678
10748Problem: Crash when using ":set" after ":ownsyntax". (Dhiraj Mishra)
10749Solution: Make sure 'spelloptions' is not NULL. (closes #6950)
10750Files: src/syntax.c, src/testdir/test_syntax.vim
10751
10752Patch 8.2.1679
10753Problem: Vim9: ":*" is not recognized as a range.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010754Solution: Move recognizing "*" into skip_range(). (closes #6938)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010755Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/cmdexpand.c,
10756 src/ex_getln.c, src/userfunc.c, src/vim9compile.c,
10757 src/testdir/test_vim9_cmd.vim
10758
10759Patch 8.2.1680
10760Problem: Vim9: line number for compare error is wrong.
10761Solution: Set SOURCING_LNUM. (closes #6936)
10762Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
10763
10764Patch 8.2.1681
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010765Problem: Vim9: unnecessary :call commands in tests.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010766Solution: Remove the commands. (issue #6936)
10767Files: src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
10768
10769Patch 8.2.1682
10770Problem: Vim9: const works in an unexpected way.
10771Solution: ":const" only disallows changing the variable, not the value.
10772 Make "list[0] = 9" work at the script level.
10773Files: src/vim9compile.c, src/evalvars.c, src/testdir/test_vim9_script.vim
10774
10775Patch 8.2.1683
10776Problem: Vim9: assignment test fails.
10777Solution: Include changes to find Ex command.
10778Files: src/ex_docmd.c
10779
10780Patch 8.2.1684
10781Problem: "gF" does not use line number after file in Visual mode.
10782Solution: Look for ":123" after the Visual area. (closes #6952)
10783Files: src/findfile.c, src/testdir/test_gf.vim
10784
10785Patch 8.2.1685
10786Problem: Vim9: cannot declare a constant value.
10787Solution: Introduce ":const!".
10788Files: runtime/doc/vim9.txt, src/ex_cmds.h, src/vim9compile.c,
10789 src/vim9.h, src/vim9execute.c, src/evalvars.c,
10790 src/proto/evalvars.pro, src/errors.h, src/vim.h, src/eval.c,
10791 src/testdir/test_vim9_script.vim
10792
10793Patch 8.2.1686
10794Problem: Vim9: "const!" not sufficiently tested.
10795Solution: Add a few more test cases. Fix type checking.
10796Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
10797
10798Patch 8.2.1687
10799Problem: Vim9: out of bounds error.
10800Solution: Check that cmdidx is not negative.
10801Files: src/vim9compile.c
10802
10803Patch 8.2.1688
10804Problem: Increment/decrement removes text property.
10805Solution: Insert the new number before deleting the old one. (closes #6962)
10806Files: src/ops.c, src/testdir/test_textprop.vim
10807
10808Patch 8.2.1689
10809Problem: 'colorcolumn' doesn't show in indent.
10810Solution: Also draw the column when draw_state is WL_BRI or WL_SBR.
10811 (Alexey Demin, closes #6948, closes #6619)
10812Files: src/drawline.c, src/testdir/dumps/Test_colorcolumn_2.dump,
10813 src/testdir/dumps/Test_colorcolumn_3.dump,
10814 src/testdir/test_highlight.vim
10815
10816Patch 8.2.1690
10817Problem: Text properties not adjusted for "I" in Visual block mode.
10818Solution: Call inserted_bytes(). (closes #6961)
10819Files: src/ops.c, src/change.c, src/proto/change.pro,
10820 src/testdir/test_textprop.vim
10821
10822Patch 8.2.1691
10823Problem: Vim9: list<any> is not accepted where list<number> is expected.
10824Solution: Add functions to allocate and free a type_T, use it in
10825 ISN_CHECKTYPE. (closes #6959)
10826Files: src/vim9.h, src/globals.h, src/vim9compile.c, src/vim9execute.c,
10827 src/vim9type.c, src/proto/vim9type.pro, src/errors.h,
10828 src/evalfunc.c, src/testdir/test_vim9_disassemble.vim,
10829 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
10830 src/testdir/test_vim9_script.vim
10831
10832Patch 8.2.1692
10833Problem: Build fails because TTFLAG_STATIC is missing.
10834Solution: Include missing change.
10835Files: src/structs.h
10836
10837Patch 8.2.1693
10838Problem: "hi def" does not work for cleared highlight.
10839Solution: Check the "sg_cleared" flag. (Maxim Kim, closes #6956,
10840 closes #4405)
10841Files: src/highlight.c, src/testdir/test_highlight.vim
10842
10843Patch 8.2.1694
10844Problem: Compiler warning for loss if data.
10845Solution: Add typecast.
10846Files: src/ops.c
10847
10848Patch 8.2.1695
10849Problem: Vim9: crash when using varargs type "any".
10850Solution: Check if uf_va_type is &t_any. (closes #6957)
10851Files: src/vim9compile.c, src/vim9execute.c,
10852 src/testdir/test_vim9_func.vim
10853
10854Patch 8.2.1696
10855Problem: Unused (duplicate) macros.
10856Solution: Remove the macros.
10857Files: src/spell.c
10858
10859Patch 8.2.1697
10860Problem: Inconsistent capitalization of error messages.
10861Solution: Always start with a capital.
10862Files: src/errors.h, src/testdir/test_vim9_expr.vim,
10863 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim,
10864 src/testdir/test_assert.vim
10865
10866Patch 8.2.1698
10867Problem: Cannot lock a variable in legacy Vim script like in Vim9.
10868Solution: Make ":lockvar 0" work.
10869Files: runtime/doc/eval.txt, src/evalvars.c, src/proto/evalvars.pro,
10870 src/dict.c, src/eval.c, src/list.c, src/typval.c, src/userfunc.c,
10871 src/testdir/test_const.vim, src/testdir/test_listdict.vim
10872
10873Patch 8.2.1699
10874Problem: Build failure due to missing error message.
10875Solution: Add error message.
10876Files: src/errors.h
10877
10878Patch 8.2.1700
10879Problem: Vim9: try/catch causes wrong value to be returned.
10880Solution: Reset tcd_return. (closes #6964)
10881Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
10882
10883Patch 8.2.1701
10884Problem: Vim9: sort("i") does not work.
10885Solution: Don't try getting a number for a string argument. (closes #6958)
10886Files: src/list.c, src/testdir/test_vim9_func.vim
10887
10888Patch 8.2.1702
10889Problem: Crash when using undo after deleting folded lines.
10890Solution: Check for NULL pointer. (closes #6968)
10891Files: src/fold.c, src/testdir/test_fold.vim
10892
10893Patch 8.2.1703
10894Problem: ":highlight clear" does not restore default link.
10895Solution: Remember the default link and restore it. (Antony Scriven,
10896 closes #6970, closes #4405)
10897Files: runtime/doc/syntax.txt, src/highlight.c,
10898 src/testdir/test_highlight.vim
10899
10900Patch 8.2.1704
10901Problem: Vim9: crash in for loop when autoload script has an error.
10902Solution: Reset suppress_errthrow. Check for NULL list. (closes #6967)
10903Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
10904
10905Patch 8.2.1705
10906Problem: "verbose hi Name" reports incorrect info after ":hi clear".
10907Solution: Store the script context. (Antony Scriven, closes #6975)
10908Files: src/highlight.c, src/testdir/test_highlight.vim
10909
10910Patch 8.2.1706
10911Problem: Vim9: crash after running into the "Multiple closures" error.
10912Solution: When a function fails still update any closures. (closes #6973)
10913Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
10914
10915Patch 8.2.1707
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010916Problem: Small inconsistency in highlight test.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010917Solution: Use one argument for :execute. (Antony Scriven, #6975)
10918Files: src/testdir/test_highlight.vim
10919
10920Patch 8.2.1708
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010921Problem: Vim9: error message for function has unprintable characters.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010922Solution: use printable_func_name(). (closes #6965)
10923Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
10924
10925Patch 8.2.1709
10926Problem: Vim9: memory leak when using multiple closures.
10927Solution: Free the partial.
10928Files: src/vim9execute.c
10929
10930Patch 8.2.1710
10931Problem: Vim9: list of list type can be wrong.
10932Solution: Use VAR_UNKNOWN for empty list. Recognize VAR_UNKNOWN when
10933 looking for a common type. (closes #6979)
10934Files: src/vim9type.c, src/testdir/test_vim9_expr.vim
10935
10936Patch 8.2.1711
10937Problem: Vim9: leaking memory when using partial.
10938Solution: Do delete the function even when it was compiled.
10939Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c,
10940 src/vim9execute.c
10941
10942Patch 8.2.1712
10943Problem: Vim9: leaking memory when calling a lambda.
10944Solution: Decrement function reference from ISN_DCALL.
10945Files: src/vim9compile.c, src/userfunc.c, src/proto/userfunc.pro
10946
10947Patch 8.2.1713
10948Problem: Motif GUI: crash when setting menu colors. (Andrzej Bylicki)
10949Solution: Add {} to make "n" incremented correctly. (closes #6989,
10950 closes #5948)
10951Files: src/gui_motif.c
10952
10953Patch 8.2.1714
10954Problem: Text properties corrupted with substitute command. (Filipe
10955 Brandenburger)
10956Solution: Get the changed line again after using u_savesub(). (closes #6984)
10957Files: src/textprop.c, src/testdir/test_textprop.vim
10958
10959Patch 8.2.1715
10960Problem: Motif GUI: commented out code missed {}.
10961Solution: Add {} and reenable the code. (similar to #6989)
10962Files: src/gui_motif.c
10963
10964Patch 8.2.1716
10965Problem: Options window has duplicate translations.
10966Solution: Make one entry for "global or local to buffer". Fix wrong text.
10967 (closes #6983)
10968Files: runtime/optwin.vim
10969
10970Patch 8.2.1717
10971Problem: MS-Windows installer doesn't have Russian translations.
10972Solution: Add Russian translations. (closes #6985)
10973Files: nsis/gvim.nsi, nsis/lang/russian.nsi
10974
10975Patch 8.2.1718
10976Problem: Vim9: :def function disallows "firstline" and "lastline" argument
10977 names for no good reason.
10978Solution: Don't check the arguments for a :def function. (closes #6986)
10979Files: src/userfunc.c, src/testdir/test_vim9_func.vim
10980
10981Patch 8.2.1719
10982Problem: Vim9: no error if comma is missing in between arguments.
10983Solution: Give an error message.
10984Files: src/errors.h, src/vim9compile.c, src/testdir/test_vim9_expr.vim
10985
10986Patch 8.2.1720
10987Problem: Vim9: memory leak with heredoc that isn't executed. (Dominique
10988 Pellé)
10989Solution: Don't clear the list items. (closes #6991)
10990Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
10991
10992Patch 8.2.1721
10993Problem: MS-Windows installer doesn't work.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010994Solution: Write "Russian" in ASCII. (closes #6995, see #6985).
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010995Files: nsis/lang/russian.nsi
10996
10997Patch 8.2.1722
10998Problem: Vim9: cannot assign a lambda to a variable of type function.
10999Solution: Allow for assigning a partial to a variable of type function.
11000 (Naruhiko Nishino, closes #6996)
11001Files: src/vim9type.c, src/testdir/test_vim9_expr.vim
11002
11003Patch 8.2.1723
11004Problem: Vim9: Variable argument name cannot start with underscore.
11005Solution: Use eval_isnamec1(). (closes #6988)
11006Files: src/userfunc.c, src/testdir/test_vim9_func.vim
11007
11008Patch 8.2.1724
11009Problem: Vim9: assignment tests spread out.
11010Solution: Create new test file for assignment tests.
11011Files: src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_cmd.vim,
11012 src/testdir/test_vim9_script.vim, src/testdir/test_vim9_expr.vim,
11013 src/testdir/Make_all.mak
11014
11015Patch 8.2.1725
11016Problem: Not all Pascal files are recognized.
11017Solution: Add filetype patterns. (Doug Kearns)
11018Files: runtime/filetype.vim, src/testdir/test_filetype.vim
11019
11020Patch 8.2.1726
11021Problem: Fuzzy matching only works on strings.
11022Solution: Support passing a dict. Add matchfuzzypos() to also get the match
11023 positions. (Yegappan Lakshmanan, closes #6947)
11024Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
11025 src/proto/search.pro, src/search.c, src/testdir/Make_all.mak,
11026 src/testdir/test_functions.vim, src/testdir/test_matchfuzzy.vim
11027
11028Patch 8.2.1727
11029Problem: A popup created with "cursorline" will ignore "firstline".
11030Solution: When both "cursorline" and "firstline" are present put the cursor
11031 on "firstline". (closes #7000) Add the "winid" argument to
11032 getcurpos().
11033Files: runtime/doc/eval.txt, src/evalfunc.c, src/popupwin.c,
11034 src/evalwindow.c, src/testdir/test_popupwin.vim,
11035 src/testdir/test_functions.vim
11036
11037Patch 8.2.1728
11038Problem: Compiler warning for using uninitialized variable. (John Marriott)
11039Solution: Initialize "neighbor".
11040Files: src/search.c
11041
11042Patch 8.2.1729
11043Problem: Endless loop when ":normal" feeds popup window filter.
11044Solution: Add the ex_normal_busy_done flag.
11045Files: src/globals.h, src/getchar.c, src/evalfunc.c, src/ex_docmd.c,
11046 src/menu.c, src/testdir/test_popupwin.vim,
11047 src/testdir/dumps/Test_popupwin_normal_cmd.dump
11048
11049Patch 8.2.1730
11050Problem: Vim9: cannot use member of unknown type.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011051Solution: When type is unknown use "any". (closes #6997)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011052Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
11053
11054Patch 8.2.1731
11055Problem: Vim9: cannot use += to append to empty NULL list.
11056Solution: Copy the list instead of extending it. (closes #6998)
11057Files: src/eval.c, src/testdir/test_vim9_assign.vim
11058
11059Patch 8.2.1732
11060Problem: Stuck when win_execute() for a popup causes an error.
11061Solution: Disable the filter callback on error. (issue #6999)
11062Files: src/popupwin.c, src/testdir/term_util.vim,
11063 src/testdir/test_popupwin.vim,
11064 src/testdir/dumps/Test_popupwin_win_execute.dump
11065
11066Patch 8.2.1733
11067Problem: Vim9: memory leaks when using nested function.
11068Solution: Free function when compilation fails.
11069Files: src/vim9compile.c
11070
11071Patch 8.2.1734
11072Problem: Vim9: cannot use a funcref for a closure twice.
11073Solution: Instead of putting the funcref on the stack use a growarray on the
11074 execution context.
11075Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
11076 src/testdir/test_vim9_func.vim,
11077 src/testdir/test_vim9_disassemble.vim
11078
11079Patch 8.2.1735
11080Problem: Github actions appear to timeout too soon.
11081Solution: use "timeout" instead of "ping".
11082Files: .github/workflows/ci-windows.yaml
11083
11084Patch 8.2.1736
11085Problem: Failure to compile a pattern not tested much.
11086Solution: Add tests where a pattern fails to compile. (Yegappan Lakshmanan,
11087 closes #7004)
11088Files: src/testdir/gen_opt_test.vim, src/testdir/test_arglist.vim,
11089 src/testdir/test_autocmd.vim, src/testdir/test_buffer.vim,
11090 src/testdir/test_checkpath.vim, src/testdir/test_cmdline.vim,
11091 src/testdir/test_debugger.vim, src/testdir/test_functions.vim,
11092 src/testdir/test_history.vim, src/testdir/test_listdict.vim,
11093 src/testdir/test_options.vim, src/testdir/test_search_stat.vim,
11094 src/testdir/test_sort.vim, src/testdir/test_substitute.vim,
11095 src/testdir/test_syntax.vim, src/testdir/test_tagjump.vim,
11096 src/testdir/test_user_func.vim
11097
11098Patch 8.2.1737
11099Problem: Cursor line highlight in popup window is not always updated.
11100Solution: Check if the cursor has moved. (closes #7010)
11101Files: src/popupwin.c, src/testdir/test_popupwin.vim
11102 src/testdir/dumps/Test_popupwin_win_execute_cursorline.dump
11103
11104Patch 8.2.1738
11105Problem: Mac: str2float() recognizes comma instead of decimal point.
11106Solution: Set LC_NUMERIC to "C". (closes #7003)
11107Files: src/os_mac_conv.c
11108
11109Patch 8.2.1739
11110Problem: Vim9: crash when compiling a manually defined function. (Antony
11111 Scriven)
11112Solution: Check that the script ID is positive. (closes #7012)
11113Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
11114
11115Patch 8.2.1740
11116Problem: Test fails without the terminal feature.
11117Solution: Skip test if the terminal feature is not available.
11118Files: src/testdir/test_vim9_script.vim
11119
11120Patch 8.2.1741
11121Problem: pathshorten() only supports using one character.
11122Solution: Add an argument to control the length. (closes #7006)
11123Files: runtime/doc/eval.txt, src/evalfunc.c, src/filepath.c,
11124 src/proto/filepath.pro, src/testdir/test_functions.vim
11125
11126Patch 8.2.1742
11127Problem: Test still fails without the terminal feature.
11128Solution: Put check for terminal feature in separate function.
11129Files: src/testdir/test_vim9_script.vim
11130
11131Patch 8.2.1743
11132Problem: Cannot build without the eval feature.
11133Solution: Move shorten_dir outside of #ifdef.
11134Files: src/filepath.c
11135
11136Patch 8.2.1744
11137Problem: Vim9: using ":const!" is weird.
11138Solution: Use "var" - "final" - "const" like Dart. "let" still works for
11139 now.
11140Files: runtime/doc/vim9.txt, src/ex_cmds.h, src/errors.h, src/evalvars.c,
11141 src/proto/evalvars.pro, src/cmdexpand.c, src/eval.c,
11142 src/ex_docmd.c, src/vim9compile.c, src/vim9execute.c,
11143 src/vim9script.c, src/vim.h, src/ex_cmdidxs.h,
11144 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_script.vim
11145
11146Patch 8.2.1745
11147Problem: Tiny version doesn't build.
11148Solution: Add dummy ex_var() function.
11149Files: src/ex_docmd.c
11150
11151Patch 8.2.1746
11152Problem: Vim9: Cannot use "fina" for "finally". (Naruhiko Nishino)
11153Solution: Specifically check for "fina". (closes #7020)
11154Files: src/ex_docmd.c, src/testdir/test_trycatch.vim,
11155 src/testdir/test_vim9_script.vim
11156
11157Patch 8.2.1747
11158Problem: Result of expand() unexpectedly depends on 'completeslash'.
11159Solution: Temporarily reset 'completeslash'. (Yasuhiro Matsumoto,
11160 closes #7021)
11161Files: src/evalfunc.c, src/testdir/test_ins_complete.vim
11162
11163Patch 8.2.1748
11164Problem: Closing split window in other tab may cause a crash.
11165Solution: Set tp_curwin properly. (Rob Pilling, closes #7018)
11166Files: src/window.c, src/testdir/test_winbuf_close.vim
11167
11168Patch 8.2.1749
11169Problem: Vim9: crash when closure fails in nested function.
11170Solution: Handle function returns before dereferencing remaining closures.
11171 (closes #7008)
11172Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
11173
11174Patch 8.2.1750
11175Problem: Setting firstline with popup_setoptions() fails if cursorline is
11176 set.
11177Solution: Use apply_options(). Update the popup before applying "zz".
11178 (closes #7010)
11179Files: src/popupwin.c, src/proto/popupwin.pro, src/move.c,
11180 src/testdir/test_popupwin.vim,
11181 src/testdir/dumps/Test_popupwin_win_execute_cursorline.dump,
11182 src/testdir/dumps/Test_popupwin_set_firstline_1.dump,
11183 src/testdir/dumps/Test_popupwin_set_firstline_2.dump
11184
11185Patch 8.2.1751
11186Problem: Using 2 where bool is expected may throw an error.
11187Solution: Make this backwards compatible.
11188Files: src/typval.c, src/evalfunc.c, src/testdir/test_search.vim,
11189 src/testdir/test_terminal2.vim
11190
11191Patch 8.2.1752
11192Problem: GTK GUI: cannot map alt-? with <A-?>. (Ingo Karkat)
11193Solution: Adjust the characters for which the shift modifier is removed.
11194 (closes #7016) Make Motif and Win32 use the same function as GTK.
11195Files: src/misc2.c, src/gui_x11.c, src/gui_w32.c,
11196 src/testdir/test_termcodes.vim
11197
11198Patch 8.2.1753
11199Problem: Vim9: crash when using import at script level.
11200Solution: Give a "not implemented yet" error. (closes #7026)
11201Files: src/evalvars.c
11202
11203Patch 8.2.1754
11204Problem: Completion with spell checking not tested.
11205Solution: Add a test case. (Dominique Pellé, closes #7024)
11206Files: src/testdir/test_spell.vim
11207
11208Patch 8.2.1755
11209Problem: Vim9: crash when using invalid heredoc marker. (Dhiraj Mishra)
11210Solution: Check for NULL list. (closes #7027) Fix comment character.
11211Files: src/vim9compile.c, src/evalvars.c,
11212 src/testdir/test_vim9_assign.vim
11213
11214Patch 8.2.1756
11215Problem: Vim9: :let will soon be disallowed.
11216Solution: Add v:disallow_let temporarily. Fix tests.
11217Files: src/vim.h, src/errors.h, src/evalvars.c, src/vim9compile.c,
11218 src/userfunc.c, src/testdir/test_vim9_script.vim
11219
11220Patch 8.2.1757
11221Problem: Mac: default locale is lacking the encoding.
11222Solution: Add ".UTF-8 to the locale. (Yee Cheng Chin, closes #7022)
11223Files: src/os_mac_conv.c, src/testdir/test_environ.vim
11224
11225Patch 8.2.1758
11226Problem: Vim9: type of unmaterialized list is wrong.
11227Solution: Use list<number>.
11228Files: src/vim9type.c, src/testdir/test_vim9_expr.vim
11229
11230Patch 8.2.1759
11231Problem: Vim9: Some tests are still using :let.
11232Solution: Change more declarations to use :var.
11233Files: src/testdir/test_vim9_expr.vim
11234
11235Patch 8.2.1760
11236Problem: Vim9: crash when end marker is missing. (Dhiraj Mishra)
11237Solution: Check for end of function lines. (closes #7031)
11238Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
11239
11240Patch 8.2.1761
11241Problem: Vim9: Some tests are still using :let.
11242Solution: Change more declarations to use :var.
11243Files: src/testdir/test_vim9_assign.vim,
11244 src/testdir/test_vim9_cmd.vim,
11245 src/testdir/test_vim9_disassemble.vim
11246
11247Patch 8.2.1762
11248Problem: When a timer uses :stopinsert Insert mode completion isn't
11249 stopped. (Stanley Chan)
11250Solution: Call ins_compl_prep(ESC).
11251Files: src/edit.c, src/testdir/test_ins_complete.vim,
11252 src/testdir/dumps/Test_pum_stopped_by_timer.dump
11253
11254Patch 8.2.1763
11255Problem: Vim9: cannot use "true" for popup window scrollbar option.
11256Solution: use dict_get_bool(). (closes #7029)
11257Files: src/popupwin.c, src/testdir/test_popupwin.vim
11258
11259Patch 8.2.1764
11260Problem: Vim9: no error when assigning to script var with wrong type.
11261Solution: Fix off-by-one error. (closes #7028)
11262Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
11263
11264Patch 8.2.1765
11265Problem: Vim9: some tests use "var var".
11266Solution: Use "var name". (closes #7032)
11267Files: src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_expr.vim
11268
11269Patch 8.2.1766
11270Problem: Vim9: Some tests are still using :let.
11271Solution: Change the last few declarations to use :var.
11272Files: src/testdir/runtest.vim, src/testdir/test_vim9_assign.vim,
11273 src/testdir/test_vim9_cmd.vim,
11274 src/testdir/test_vim9_disassemble.vim,
11275 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
11276 src/testdir/test_vim9_script.vim, src/testdir/test_maparg.vim,
11277 src/testdir/test_popupwin.vim, src/testdir/test_textprop.vim
11278
11279Patch 8.2.1767
11280Problem: Vim9: test fails with python support.
11281Solution: Use "let" in legacy function.
11282Files: src/testdir/test_vim9_func.vim
11283
11284Patch 8.2.1768
11285Problem: Cannot use the help menu from a terminal window.
11286Solution: Add ":tlnoremenu" commands. (Yee Cheng Chin, closes #7023)
11287Files: runtime/menu.vim, src/testdir/test_gui.vim
11288
11289Patch 8.2.1769
11290Problem: A popup filter interferes with using :normal to move the cursor in
11291 a popup.
11292Solution: Do not invoke the filter when ex_normal_busy is set.
11293Files: runtime/doc/popup.txt, src/getchar.c, src/evalfunc.c,
11294 src/ex_docmd.c, src/menu.c, src/globals.h,
11295 src/testdir/test_popupwin.vim,
11296 src/testdir/dumps/Test_popupwin_normal_cmd.dump
11297
11298Patch 8.2.1770
11299Problem: Invalid memory use when using SpellFileMissing autocmd.
11300Solution: Add test case. (Dominique Pellé, closes #7036) Fix using a window
11301 that was closed.
11302Files: src/spell.c, src/testdir/test_spell.vim
11303
11304Patch 8.2.1771
11305Problem: synIDattr() cannot get the value of ctermul.
11306Solution: Add the "ul" value for "what". (closes #7037)
11307Files: runtime/doc/eval.txt, src/highlight.c, src/evalfunc.c,
11308 src/testdir/test_highlight.vim
11309
11310Patch 8.2.1772
11311Problem: Cannot use CTRL-W <Down> to move out of a terminal window.
11312Solution: Use special_to_buf() instead of mb_char2bytes(). (closes #7045)
11313Files: src/terminal.c, src/testdir/test_terminal.vim
11314
11315Patch 8.2.1773
11316Problem: Crash when calling mapset() with a list as first argument.
11317Solution: Check for NULL. (closes #7040)
11318Files: src/map.c, src/testdir/test_maparg.vim
11319
11320Patch 8.2.1774
11321Problem: GTK: hang when forced to exit.
11322Solution: Do not clean up "mainwin" when really_exiting is set.
11323 (Zdenek Dohnal, closes #7042)
11324Files: src/gui_gtk_x11.c
11325
11326Patch 8.2.1775
11327Problem: MS-Windows: adding a long quickfix list is slow.
11328Solution: Shorten the buffer name only for the first entry. (Yegappan
11329 Lakshmanan, closes #7039, closes #7033)
11330Files: src/quickfix.c, src/testdir/test_quickfix.vim
11331
11332Patch 8.2.1776
11333Problem: Filetype.vim may be loaded twice.
11334Solution: Do "syntax on" after "filetype on". (Adam Stankiewicz,
11335 closes #7049)
11336Files: runtime/defaults.vim
11337
11338Patch 8.2.1777
11339Problem: Vim9: some assignment tests in the wrong file.
11340Solution: Move assignment tests to test_vim9_assign.
11341Files: src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_script.vim
11342
11343Patch 8.2.1778
11344Problem: Vim9: returning from a partial call clears outer context, causing
11345 a crash.
11346Solution: Put the outer context in the stack frame. (closes #7044)
11347Files: src/vim9execute.c, src/vim9.h, src/testdir/test_vim9_func.vim
11348
11349Patch 8.2.1779
11350Problem: Some debian changelog files are not recognized.
11351Solution: Add */debian/changelog. (Jason Franklin)
11352Files: runtime/filetype.vim, src/testdir/test_filetype.vim
11353
11354Patch 8.2.1780
11355Problem: Statusline not updated when splitting windows.
11356Solution: Call status_redraw_all(). (Jason Franklin, closes #5496)
11357Files: src/window.c, src/testdir/test_statusline.vim
11358
11359Patch 8.2.1781
11360Problem: Writing to prompt buffer interferes with insert mode.
11361Solution: Use win_enter() instead of just setting "curwin". (Ben Jackson,
11362 closes #7035)
11363Files: src/autocmd.c, src/testdir/test_prompt_buffer.vim
11364
11365Patch 8.2.1782
11366Problem: Vim9: cannot pass boolean to mapset().
11367Solution: Use get_tv_bool(). (closes #7041)
11368Files: src/map.c, src/testdir/test_vim9_func.vim
11369
11370Patch 8.2.1783 (after 8.2.1781)
11371Problem: Try-catch test fails.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011372Solution: Don't call win_enter(), only call entering_window().
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011373Files: src/autocmd.c, src/window.c, src/proto/window.pro,
11374 src/testdir/runtest.vim
11375
11376Patch 8.2.1784
11377Problem: commits are not scanned for security problems
11378Solution: Enable Github code scanning. (Christian Brabandt, closes #7057)
11379Files: .github/workflows/codeql-analysis.yml
11380
11381Patch 8.2.1785
11382Problem: Compiler warning for strcpy() out of bounds. (Christian Brabandt)
11383Solution: use memmove() instead.
11384Files: src/dict.c
11385
11386Patch 8.2.1786
11387Problem: Various Normal mode commands not fully tested.
11388Solution: Add more tests. (Yegappan Lakshmanan, closes #7059)
11389Files: src/testdir/test_normal.vim, src/testdir/test_regexp_utf8.vim,
11390 src/testdir/test_registers.vim, src/testdir/test_spellfile.vim,
11391 src/testdir/test_tagjump.vim, src/testdir/test_visual.vim
11392
11393Patch 8.2.1787
11394Problem: Crash with 'incsearch' and very long line.
11395Solution: Check whether regprog becomes NULL. (closes #7063)
11396Files: src/search.c, src/testdir/test_search.vim
11397
11398Patch 8.2.1788
11399Problem: Vim9: still allows :let for declarations.
11400Solution: Make the default for v:disallow_let one. It can still be set to
11401 zero to allow for using :let.
11402Files: src/evalvars.c, src/testdir/runtest.vim
11403
11404Patch 8.2.1789
11405Problem: Vim9: crash with invalid list constant. (Dhiraj Mishra)
11406Solution: Return FAIL when compiling the list fails. (closes #7066)
11407Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_expr.vim
11408
11409Patch 8.2.1790
11410Problem: MS-Windows with Python: crash when executed from Vifm.
11411Solution: Use NUL instead of CONIN. (Ken Takata, closes #7061, closes #7053)
11412Files: src/if_python3.c
11413
11414Patch 8.2.1791
11415Problem: Vim9: debugger test fails.
11416Solution: Use "var" instead of "let".
11417Files: src/testdir/test_debugger.vim
11418
11419Patch 8.2.1792
11420Problem: Configure does not recognize Racket 6.1+.
11421Solution: Add a check for "rktio". (closes #7062)
11422Files: src/configure.ac, src/auto/configure
11423
11424Patch 8.2.1793
11425Problem: Not consistently giving the "is a directory" warning.
11426Solution: Adjust check for illegal file name and directory. (Yasuhiro
11427 Matsumoto, closes #7067)
11428Files: src/fileio.c, src/testdir/test_edit.vim
11429
11430Patch 8.2.1794
11431Problem: No falsy Coalescing operator.
11432Solution: Add the "??" operator. Fix mistake with function argument count.
11433Files: runtime/doc/eval.txt, src/eval.c, src/vim9compile.c,
11434 src/vim9type.c, src/testdir/test_expr.vim,
11435 src/testdir/test_vim9_expr.vim,
11436 src/testdir/test_vim9_disassemble.vim
11437
11438Patch 8.2.1795
11439Problem: Vim9: operators && and || have a confusing result.
11440Solution: Make the result a boolean.
11441Files: runtime/doc/vim9.txt, src/eval.c, src/vim9compile.c,
11442 src/vim9execute.c, src/vim9type.c, src/structs.h, src/vim9.h,
11443 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_assign.vim,
11444 src/testdir/test_vim9_cmd.vim,
11445 src/testdir/test_vim9_disassemble.vim
11446
11447Patch 8.2.1796
11448Problem: Vim9: invalid memory access with weird function name. (Dhiraj
11449 Mishra)
11450Solution: Check the name is valid. Add a test.
11451Files: src/userfunc.c, src/testdir/test_vim9_func.vim
11452
11453Patch 8.2.1797
11454Problem: Vim9: some parts of the code not tested.
11455Solution: Add a few tests.
11456Files: src/testdir/test_vim9_func.vim
11457
11458Patch 8.2.1798
11459Problem: Vim9: ternary operator condition is too permissive.
11460Solution: Use tv_get_bool_chk().
11461Files: runtime/doc/vim9.txt, src/eval.c, src/vim9compile.c,
11462 src/vim9execute.c, src/testdir/vim9.vim,
11463 src/testdir/test_expr.vim, src/testdir/test_vim9_expr.vim,
11464 src/testdir/test_vim9_cmd.vim, src/testdir/test_vim9_script.vim
11465
11466Patch 8.2.1799
11467Problem: Some Normal mode commands not fully tested.
11468Solution: Add a few more tests. (Yegappan Lakshmanan, closes #7073)
11469Files: src/testdir/test_gf.vim, src/testdir/test_goto.vim,
11470 src/testdir/test_normal.vim, src/testdir/test_registers.vim,
11471 src/testdir/test_startup.vim, src/testdir/test_tabpage.vim,
11472 src/testdir/test_visual.vim
11473
11474Patch 8.2.1800
11475Problem: Vim9: memory leak if "if" condition is invalid.
11476Solution: Free ppconst earlier.
11477Files: src/vim9compile.c
11478
11479Patch 8.2.1801
11480Problem: Undo file not found when using ":args" or ":next".
11481Solution: Handle like editing another file. (closes #7072)
11482Files: src/ex_cmds.c, src/testdir/test_undo.vim
11483
11484Patch 8.2.1802
11485Problem: Vim9: crash with unterminated dict. (Dhiraj Mishra)
11486Solution: Return empty string instead of NULL. (closes #7084)
11487Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
11488
11489Patch 8.2.1803
11490Problem: A few failures are not tested.
11491Solution: Test a few failures. (Dominique Pellé, closes #7075)
11492Files: src/testdir/test_arglist.vim, src/testdir/test_cmdline.vim,
11493 src/testdir/test_json.vim, src/testdir/test_listdict.vim
11494
11495Patch 8.2.1804
11496Problem: resolve('/') returns an empty string.
11497Solution: Don't remove single slash. (closes #7074)
11498Files: src/filepath.c, src/testdir/test_functions.vim
11499
11500Patch 8.2.1805
11501Problem: Unix: terminal mode changed when using ":shell".
11502Solution: Avoid calling settmode() when not needed. (issue #7079)
11503Files: src/os_unix.c
11504
11505Patch 8.2.1806
11506Problem: MS-Windows with Python: Vim freezes after import command.
11507Solution: Use either "NUL" or "CONIN$" when reopening stdin. (Yasuhiro
11508 Matsumoto, closes #7083)
11509Files: src/if_python3.c
11510
11511Patch 8.2.1807
11512Problem: Can use :help in a terminal popup window.
11513Solution: Give an error. (closes #7088)
11514Files: src/help.c, src/testdir/test_popupwin.vim
11515
11516Patch 8.2.1808
11517Problem: No test coverage for ":spelldump!".
11518Solution: Add a test. (Dominique Pellé, closes #7089)
11519Files: src/testdir/test_spell.vim
11520
11521Patch 8.2.1809
11522Problem: Mapping some keys with Ctrl does not work properly.
11523Solution: For terminal, GTK and Motif handle "@", "^" and "_" codes.
11524Files: src/misc2.c, src/proto/misc2.pro, src/term.c, src/gui_gtk_x11.c,
11525 src/gui_x11.c, src/testdir/test_termcodes.vim
11526
11527Patch 8.2.1810
11528Problem: Some code in normal.c not covered by tests.
11529Solution: Add normal mode tests. (Yegappan Lakshmanan, closes #7086)
11530Files: src/testdir/test_charsearch.vim, src/testdir/test_normal.vim
11531
11532Patch 8.2.1811
11533Problem: Mapping Ctrl-key does not work for '{', '}' and '|'.
11534Solution: Remove the shift modifier. (closes #6457)
11535Files: runtime/doc/map.txt, src/misc2.c, src/testdir/test_termcodes.vim
11536
11537Patch 8.2.1812
11538Problem: Vim9: nested closure throws an internal error.
11539Solution: Do not skip a local variable with a partial. (closes #7065)
11540Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
11541
11542Patch 8.2.1813
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011543Problem: Vim9: can assign wrong type to script dict. (Christian J. Robinson)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011544Solution: Check the type if known.
11545Files: src/structs.h, src/eval.c, src/vim9script.c,
11546 src/proto/vim9script.pro, src/proto/evalvars.pro,
11547 src/testdir/test_vim9_script.vim
11548
11549Patch 8.2.1814 (after 8.2.1813)
11550Problem: Missing change to remove "static".
11551Solution: Add the change.
11552Files: src/evalvars.c
11553
11554Patch 8.2.1815
11555Problem: Vim9: memory leak when using function reference.
11556Solution: Temporarily disable the test.
11557Files: src/testdir/test_vim9_disassemble.vim
11558
11559Patch 8.2.1816
11560Problem: Vim9: another memory leak when using function reference.
11561Solution: Temporarily disable the tests.
11562Files: src/testdir/test_vim9_func.vim
11563
11564Patch 8.2.1817
11565Problem: Vim9: wrong instruction when reusing a local variable spot.
11566Solution: Clear a newly allocated local variable. (closes #7080)
11567Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
11568
11569Patch 8.2.1818
11570Problem: SE Linux: deprecation warning for security_context_t.
11571Solution: Use "char *" instead. (James McCoy, closes #7093)
11572Files: src/os_unix.c
11573
11574Patch 8.2.1819
11575Problem: Vim9: Memory leak when using a closure.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011576Solution: Compute the minimal refcount in the funcstack. Reenable disabled
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011577 tests.
11578Files: src/vim9execute.c, src/proto/vim9execute.pro, src/structs.h,
11579 src/eval.c, src/testdir/test_vim9_disassemble.vim,
11580 src/testdir/test_vim9_func.vim
11581
11582Patch 8.2.1820
11583Problem: Vim9: crash when error happens in timer callback.
11584Solution: Check that current_exception is not NULL. (closes #7100)
11585Files: src/ex_docmd.c
11586
11587Patch 8.2.1821
11588Problem: Vim9: concatenating to a NULL list doesn't work.
11589Solution: Handle a NULL list like an empty list. (closes #7064)
11590Files: src/list.c, src/testdir/test_vim9_assign.vim
11591
11592Patch 8.2.1822 (after 8.2.1821)
11593Problem: List test doesn't fail.
11594Solution: Adjust the test for NULL list handling.
11595Files: src/testdir/test_listdict.vim
11596
11597Patch 8.2.1823
11598Problem: "gN" does not select the matched string.
11599Solution: Move the cursor to the start of the match.
11600Files: src/search.c, src/testdir/test_gn.vim
11601
11602Patch 8.2.1824
11603Problem: Vim9: variables at the script level escape their scope.
11604Solution: When leaving a scope remove variables declared in it.
11605Files: src/structs.h, src/ex_eval.c, src/evalvars.c,
11606 src/proto/evalvars.pro, src/testdir/test_vim9_script.vim
11607
11608Patch 8.2.1825
11609Problem: Vim9: accessing freed memory.
11610Solution: Clear sv_name when the variable is deleted.
11611Files: src/ex_eval.c
11612
11613Patch 8.2.1826
11614Problem: Vim9: cannot use a {} block at script level.
11615Solution: Recognize a {} block.
11616Files: src/ex_docmd.c, src/ex_cmds.h, src/ex_cmdidxs.h, src/ex_eval.c,
11617 src/structs.h, src/proto/ex_eval.pro, src/errors.h,
11618 src/testdir/test_vim9_script.vim
11619
11620Patch 8.2.1827
11621Problem: Filetype detection does not test enough file names.
11622Solution: Test more file names. (Adam Stankiewicz, closes #7099)
11623Files: runtime/filetype.vim, src/testdir/test_filetype.vim
11624
11625Patch 8.2.1828
11626Problem: Build failure without the +eval feature.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011627Solution: Add dummies for ex_block and ex_endblock.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011628Files: src/ex_docmd.c
11629
11630Patch 8.2.1829
11631Problem: Warnings when executing Github actions.
11632Solution: Use another method to set environment variables. (Ken Takata,
11633 closes #7107)
11634Files: .github/workflows/ci-windows.yaml
11635
11636Patch 8.2.1830
11637Problem: MS-Windows: Python3 issue with stdin.
11638Solution: Check if stdin is readable. (Ken Takata, closes #7106)
11639Files: src/if_python3.c
11640
11641Patch 8.2.1831
11642Problem: File missing from distribution.
11643Solution: Add the github code analyses file.
11644Files: Filelist
11645
11646Patch 8.2.1832
11647Problem: readdirex() error is displayed as a message. (Yegappan Lakshmanan)
11648Solution: Use semsg() instead of smsg().
11649Files: src/fileio.c, src/testdir/test_functions.vim
11650
11651Patch 8.2.1833
11652Problem: When reading from stdin dup() is called twice.
11653Solution: Remove the dup() in main.c. (Ken Takata, closes #7110)
11654Files: src/main.c
11655
11656Patch 8.2.1834
11657Problem: PyEval_InitThreads() is deprecated in Python 3.9.
11658Solution: Do not call PyEval_InitThreads in Python 3.9 and later. (Ken
11659 Takata, closes #7113) Avoid warnings for functions.
11660Files: src/if_python3.c, src/if_py_both.h
11661
11662Patch 8.2.1835
11663Problem: ":help ??" finds the "!!" tag.
11664Solution: Do not translate "?" into ".". (Naruhiko Nishino, closes #7114,
11665 closes #7115)
11666Files: src/help.c, src/testdir/test_help_tagjump.vim
11667
11668Patch 8.2.1836
11669Problem: Autocmd test fails on pacifist systems.
11670Solution: Check that /bin/kill exists. (James McCoy, closes #7117)
11671 Tune the timing, make the autocmd test run faster.
11672Files: src/testdir/test_autocmd.vim
11673
11674Patch 8.2.1837
11675Problem: Using "gn" after "gN" does not work.
11676Solution: Extend the other end of the Visual area. (closes #7109)
11677Files: src/search.c, src/testdir/test_gn.vim
11678
11679Patch 8.2.1838
11680Problem: Vim9: cannot insert a comment line in an expression.
11681Solution: Skip comment lines at the script level. (closes #7111)
11682Files: src/eval.c, src/testdir/test_vim9_expr.vim
11683
11684Patch 8.2.1839
11685Problem: Vim9: memory leaks reported in assign test.
11686Solution: Move the failing job_start() call to separate test files, it
11687 causes false leak reports.
11688Files: src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_fails.vim,
11689 src/testdir/Make_all.mak
11690
11691Patch 8.2.1840
11692Problem: Vim9: error message is not clear about compilation error.
11693Solution: Say "compiling" instead of "processing".
11694Files: src/vim9compile.c, src/message.c, src/globals.h,
11695 src/testdir/test_vim9_func.vim
11696
11697Patch 8.2.1841
11698Problem: Vim9: test for compilation error fails in normal build.
11699Solution: Invoke CheckRunVimInTerminal in a separate function.
11700Files: src/testdir/test_vim9_func.vim
11701
11702Patch 8.2.1842
11703Problem: Crash when USE_FNAME_CASE is defined and using :browse.
11704Solution: Don't use read-only memory for ".". (Yegappan Lakshmanan,
11705 closes #7123)
11706Files: src/ex_cmds.c, src/ex_docmd.c, src/testdir/test_edit.vim
11707
11708Patch 8.2.1843
11709Problem: Netbeans: with huge buffer number memory allocation may fail.
11710Solution: Check for size overflow.
11711Files: src/netbeans.c
11712
11713Patch 8.2.1844
11714Problem: Using "q" at the more prompt doesn't stop a long message.
11715Solution: Check for "got_int". (closes #7122)
11716Files: src/message.c, src/testdir/test_messages.vim,
11717 src/testdir/dumps/Test_quit_long_message.dump
11718
11719Patch 8.2.1845
11720Problem: Vim9: function defined in a block can't use variables defined in
11721 that block.
11722Solution: First step: Make a second hashtab that holds all script variables,
11723 also block-local ones, with more information.
11724Files: src/structs.h, src/evalvars.c, src/ex_eval.c, src/vim9script.c,
11725 src/proto/vim9script.pro, src/scriptfile.c
11726
11727Patch 8.2.1846
11728Problem: Vim9: variables declared in a local block are not found in
11729 when a function is compiled.
11730Solution: Look for script variables in sn_all_vars.
11731Files: src/structs.h, src/vim9compile.c, src/proto/vim9compile.pro,
11732 src/userfunc.c, src/proto/userfunc.pro, src/ex_eval.c,
11733 src/vim9script.c, src/proto/vim9script.pro, src/vim9execute.c,
11734 src/testdir/test_vim9_script.vim
11735
11736Patch 8.2.1847
11737Problem: Vim9: using negative value for unsigned type.
11738Solution: Use zero instead of -1.
11739Files: src/vim9compile.c
11740
11741Patch 8.2.1848
11742Problem: Crash when passing a NULL string or list to popup_settext().
11743Solution: Check for NULL pointers. (closes #7132)
11744Files: src/popupwin.c, src/testdir/test_popupwin.vim
11745
11746Patch 8.2.1849
11747Problem: Vim9: garbage collection frees block-local variables.
11748Solution: Mark all script variables as used.
11749Files: src/evalvars.c, src/testdir/test_vim9_script.vim
11750
11751Patch 8.2.1850
11752Problem: "vat" does not select tags correctly over line break.
11753Solution: Adjust the search pattern. (Aufar Gilbran, closes #7136)
11754Files: src/textobject.c, src/testdir/test_textobjects.vim
11755
11756Patch 8.2.1851
11757Problem: Vim9: "!" followed by space incorrectly used.
11758Solution: Skip over trailing spaces. (closes #7131)
11759Files: src/eval.c, src/vim9compile.c, src/testdir/test_vim9_expr.vim
11760
11761Patch 8.2.1852
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011762Problem: map() returning zero for NULL list is unexpected.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011763Solution: Return the empty list. (closes #7133)
11764Files: src/list.c, src/testdir/test_filter_map.vim,
11765 src/testdir/test_blob.vim
11766
11767Patch 8.2.1853
11768Problem: "to_f" is recognized at "topleft" modifier.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011769Solution: Do not recognize modifier when "_" follows. (closes #7019)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011770Files: src/ex_docmd.c, src/testdir/test_vim9_assign.vim
11771
11772Patch 8.2.1854
11773Problem: Vim9: crash when throwing exception for NULL string. (Dhiraj
11774 Mishra)
11775Solution: Handle NULL string like empty string. (closes #7139)
11776Files: src/vim9execute.c, src/errors.h, src/testdir/test_vim9_script.vim
11777
11778Patch 8.2.1855
11779Problem: Vim9: get error message when nothing is wrong.
11780Solution: Check called_emsg instead of did_emsg. (closes #7143)
11781Files: src/vim9compile.c, src/vim9execute.c, src/errors.h
11782
11783Patch 8.2.1856
11784Problem: "2resize" uses size of current window. (Daniel Steinberg)
11785Solution: Use size of resized window. (Yasuhiro Matsumoto, closes #7152)
11786Files: src/ex_docmd.c, src/testdir/test_window_cmd.vim
11787
11788Patch 8.2.1857
11789Problem: Vim9: using job_status() on an unused var gives an error.
11790Solution: Return "fail". (closes #7158)
11791Files: src/job.c, src/testdir/test_vim9_assign.vim
11792
11793Patch 8.2.1858
11794Problem: Vim9: filter functions return number instead of bool.
11795Solution: Return v:true instead of one. (closes #7144)
11796Files: src/popupwin.c, src/evalfunc.c, src/testdir/test_vim9_func.vim
11797
11798Patch 8.2.1859
11799Problem: Vim9: crash in unpack assignment.
11800Solution: Make sure an error message is turned into an exception.
11801 (closes #7159)
11802Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim,
11803 src/testdir/test_vim9_script.vim
11804
11805Patch 8.2.1860
11806Problem: Vim9: memory leak when throwing empty string.
11807Solution: Free the empty string.
11808Files: src/vim9execute.c
11809
11810Patch 8.2.1861
11811Problem: Vim9: no specific error when parsing lambda fails.
11812Solution: Also give syntax errors when not evaluating. (closes #7154)
11813Files: src/dict.c, src/testdir/test_vim9_expr.vim
11814
11815Patch 8.2.1862
11816Problem: vim9: memory leak when compiling lambda fails.
11817Solution: Call clear_evalarg().
11818Files: src/vim9compile.c
11819
11820Patch 8.2.1863
11821Problem: Json code not sufficiently tested.
11822Solution: Add more test cases. (Dominique Pellé, closes #7166)
11823Files: src/testdir/test_json.vim
11824
11825Patch 8.2.1864
11826Problem: Vim9: no error for wrong list type.
11827Solution: Add flag to indicate a constant. (closes #7160)
11828Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
11829
11830Patch 8.2.1865
11831Problem: Vim9: add() does not check type of argument.
11832Solution: Inline the add() call. (closes #7160)
11833Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/errors.h,
11834 src/testdir/test_vim9_func.vim,
11835 src/testdir/test_vim9_disassemble.vim
11836
11837Patch 8.2.1866
11838Problem: Vim9: appending to pushed blob gives wrong result.
11839Solution: Set ga_maxlen when copying a blob.
11840Files: src/blob.c, src/testdir/test_vim9_func.vim
11841
11842Patch 8.2.1867
11843Problem: Vim9: argument to add() not checked for blob.
11844Solution: Add the BLOBAPPEND instruction.
11845Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/errors.h,
11846 src/testdir/test_vim9_func.vim,
11847 src/testdir/test_vim9_disassemble.vim
11848
11849Patch 8.2.1868
11850Problem: Vim9: no error for missing space after comma in dict.
11851Solution: Check for white space. (closes #6672)
11852Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
11853
11854Patch 8.2.1869
11855Problem: Vim9: memory leak when using add().
11856Solution: Free the added item.
11857Files: src/vim9execute.c
11858
11859Patch 8.2.1870
11860Problem: Vim9: no need to keep all script variables.
11861Solution: Only keep script variables when a function was defined that could
11862 use them. Fix freeing static string on exit.
11863Files: src/vim9script.c, src/proto/vim9script.pro, src/structs.h,
11864 src/ex_eval.c, src/userfunc.c, src/testdir/test_vim9_script.vim
11865
11866Patch 8.2.1871
11867Problem: Using %v in 'errorformat' may fail before %Z.
11868Solution: Set qf_viscol only when qf_col is set. (closes #7169)
11869Files: src/quickfix.c, src/testdir/test_quickfix.vim
11870
11871Patch 8.2.1872
11872Problem: Matchfuzzy() does not prefer sequential matches.
11873Solution: Give sequential matches a higher bonus. (Christian Brabandt,
11874 closes #7140)
11875Files: src/search.c, src/testdir/test_matchfuzzy.vim
11876
11877Patch 8.2.1873
11878Problem: Vim9: missing white space when using <f-args>.
11879Solution: Add spaces. (Christian J. Robinson)
11880Files: src/usercmd.c, src/testdir/test_vim9_cmd.vim
11881
11882Patch 8.2.1874
11883Problem: Can't do something just before leaving Insert mode.
11884Solution: Add the InsertLeavePre autocommand event. (closes #7177)
11885Files: runtime/doc/autocmd.txt, src/edit.c, src/vim.h,
11886 src/autocmd.c, src/testdir/test_edit.vim
11887
11888Patch 8.2.1875
11889Problem: Warning when building GTK gui.
11890Solution: Add missing function parameter.
11891Files: src/gui_gtk_f.c
11892
11893Patch 8.2.1876
11894Problem: Vim9: argument types for builtin functions are not checked at
11895 compile time.
11896Solution: Add an argument type checking mechanism. Implement type checks for
11897 one function.
11898Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9compile.c,
11899 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_builtin.vim,
11900 src/testdir/Make_all.mak
11901
11902Patch 8.2.1877 (after 8.2.1876)
11903Problem: Test for function list fails.
11904Solution: Move "obsolete" comments one line up.
11905Files: src/evalfunc.c
11906
11907Patch 8.2.1878
11908Problem: GTK: error for redefining function. (Tony Mechelynck)
11909Solution: Remove "gtk_" prefix from local functions and prepend "gui_" to
11910 global functions.
11911Files: src/gui_gtk_f.c, src/gui_gtk_f.h, src/gui_gtk.c, src/gui_gtk_x11.c
11912
11913Patch 8.2.1879
11914Problem: Vim9: argument types of insert() not checked when compiling.
11915Solution: Add argument type checks for insert().
11916Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9compile.c,
11917 src/testdir/test_vim9_builtin.vim
11918
11919Patch 8.2.1880
11920Problem: Vim9: Asan complains about adding zero to NULL.
11921Solution: Check for argument count first.
11922Files: src/vim9compile.c
11923
11924Patch 8.2.1881
11925Problem: Cannot build with GTK3.
11926Solution: Adjust form functions.
11927Files: src/gui_gtk_f.c
11928
11929Patch 8.2.1882
11930Problem: Vim9: v:disallow_let is no longer needed.
11931Solution: Remove v:disallow_let.
11932Files: src/evalvars.c, src/vim.h, src/vim9compile.c
11933
11934Patch 8.2.1883
11935Problem: Compiler warnings when using Python.
11936Solution: Adjust PyCFunction to also have the second argument. Use "int"
11937 return type for some functions. Insert "(void *)" to get rid of
11938 the remaining warnings.
11939Files: src/if_py_both.h, src/if_python.c, src/if_python3.c
11940
11941Patch 8.2.1884
11942Problem: Compiler warning for uninitialized variable. (John Marriott)
11943Solution: Initialize with NULL.
11944Files: src/vim9compile.c, src/evalfunc.c
11945
11946Patch 8.2.1885
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011947Problem: Filetype tests unnecessarily creates swap files.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011948Solution: Disable 'swapfile'. (Ken Takata, closes #7183)
11949Files: src/testdir/test_filetype.vim
11950
11951Patch 8.2.1886
11952Problem: Using ":silent!" in a popup filter has unexpected effect.
11953Solution: Use did_emsg instead of called_emsg. (closes #7178)
11954Files: src/popupwin.c, src/testdir/test_popupwin.vim
11955
11956Patch 8.2.1887
11957Problem: Github actions not optimally configured.
11958Solution: Run CI on any pushed branches. Set fail-fast. (Ozaki Kiichi,
11959 closes #7184)
11960Files: .github/workflows/ci-windows.yaml
11961
11962Patch 8.2.1888
11963Problem: Vim9: Getbufline(-1, 1, '$') gives an error.
11964Solution: Return an empty list. (closes #7180)
11965Files: src/evalbuffer.c, src/testdir/test_vim9_builtin.vim
11966
11967Patch 8.2.1889
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011968Problem: Vim9: erroneous error for missing white space after {}.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011969Solution: Don't skip over white space after {}. (issue #7167)
11970Files: src/dict.c, src/testdir/test_vim9_expr.vim
11971
11972Patch 8.2.1890
11973Problem: Vim9: strange error for subtracting from a list.
11974Solution: Check getting a number, not a string. (closes #7167)
11975Files: src/eval.c, src/testdir/test_vim9_expr.vim
11976
11977Patch 8.2.1891
11978Problem: Vim9: skipping over expression doesn't handle line breaks.
11979Solution: Pass evalarg to skip_expr(). (closes #7157)
11980Files: src/vim9compile.c, src/eval.c, src/proto/eval.pro, src/ex_docmd.c,
11981 src/misc1.c, src/testdir/test_vim9_cmd.vim
11982
11983Patch 8.2.1892
11984Problem: Valgrind warns for using uninitialized access in tests.
11985Solution: Fix condition for breaking out of loop. (Dominique Pellé,
11986 closes #7187)
11987Files: src/terminal.c
11988
11989Patch 8.2.1893
11990Problem: Fuzzy matching does not support multiple words.
11991Solution: Add support for matching white space separated words. (Yegappan
11992 Lakshmanan, closes #7163)
11993Files: runtime/doc/eval.txt, src/search.c,
11994 src/testdir/test_matchfuzzy.vim
11995
11996Patch 8.2.1894
11997Problem: Vim9: command modifiers are not supported.
11998Solution: Support "silent" and "silent!".
11999Files: src/structs.h, src/vim9compile.c, src/vim9.h, src/vim9execute.c,
12000 src/evalvars.c, src/testdir/test_vim9_disassemble.vim,
12001 src/testdir/test_vim9_cmd.vim
12002
12003Patch 8.2.1895 (after 8.2.1894)
12004Problem: Vim9: silent command modifier test fails.
12005Solution: Add missing changes.
12006Files: src/ex_docmd.c
12007
12008Patch 8.2.1896
12009Problem: Valgrind warns for using uninitialized memory.
12010Solution: NUL terminate the SmcOpenConnection() error message. (Dominique
12011 Pellé, closes #7194)
12012Files: src/os_unix.c
12013
12014Patch 8.2.1897
12015Problem: Command modifiers are saved and set inconsistently.
12016Solution: Separate parsing and applying command modifiers. Save values in
12017 cmdmod_T.
12018Files: src/structs.h, src/ex_docmd.c, src/proto/ex_docmd.pro,
12019 src/ex_cmds.h, src/vim9compile.c
12020
12021Patch 8.2.1898
12022Problem: Command modifier parsing always uses global cmdmod.
12023Solution: Pass in cmdmod_T to use. Rename struct fields consistently.
Bram Moolenaar47c532e2022-03-19 15:18:53 +000012024Files: src/structs.h, src/arglist.c, src/buffer.c, src/bufwrite.c,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000012025 src/diff.c, src/change.c, src/cmdhist.c, src/edit.c,
12026 src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_getln.c,
12027 src/fileio.c, src/filepath.c, src/gui.c, src/gui_gtk_x11.c,
12028 src/help.c, src/if_cscope.c, src/indent.c, src/mark.c,
12029 src/memline.c, src/message.c, src/option.c, src/ops.c,
12030 src/os_unix.c, src/quickfix.c, src/register.c, src/scriptfile.c,
12031 src/search.c, src/session.c, src/tag.c, src/terminal.c,
12032 src/textformat.c, src/usercmd.c, src/vim9compile.c, src/window.c,
12033 src/proto/ex_docmd.pro
12034
12035Patch 8.2.1899
12036Problem: Crash in out-of-memory situation.
12037Solution: Bail out if shell_name is NULL. (Dominique Pellé, closes #7196)
12038Files: src/ex_cmds.c
12039
12040Patch 8.2.1900
12041Problem: Vim9: command modifiers do not work.
12042Solution: Make most command modifiers work.
12043Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
12044 src/usercmd.c, src/proto/usercmd.pro, src/scriptfile.c,
12045 src/testdir/test_vim9_disassemble.vim
12046
12047Patch 8.2.1901
12048Problem: Variable completion does not work in command line window.
12049Solution: Use the "prevwin". (closes #7198)
12050Files: src/evalvars.c, src/testdir/test_ins_complete.vim
12051
12052Patch 8.2.1902
12053Problem: Default option values are changed when using :badd for an existing
12054 buffer.
12055Solution: When calling buflist_new() pass a zero line number. (closes #7195)
12056Files: src/ex_cmds.c, src/testdir/test_buffer.vim
12057
12058Patch 8.2.1903 (after 8.2.1902)
12059Problem: Buffer test fails with normal features.
12060Solution: Use 'numberwidth' instead of 'conceallevel' in the test.
12061Files: src/testdir/test_buffer.vim
12062
12063Patch 8.2.1904
12064Problem: Still using default option values after using ":badd +1".
12065Solution: Find a window where options were set. Don't set the window when
12066 using ":badd".
12067Files: src/buffer.c, src/ex_cmds.c, src/vim.h,
12068 src/testdir/test_buffer.vim
12069
12070Patch 8.2.1905
12071Problem: The wininfo list may contain stale entries.
12072Solution: When closing a window remove any other entry where the window
12073 pointer is NULL.
12074Files: src/buffer.c, src/proto/buffer.pro, src/window.c
12075
12076Patch 8.2.1906
12077Problem: Warning for signed/unsigned.
12078Solution: Use size_t instead of int. (Mike Williams)
12079Files: src/proto/usercmd.pro, src/usercmd.c, src/vim9execute.c
12080
12081Patch 8.2.1907
12082Problem: Complete_info().selected may be wrong.
12083Solution: Update cp_number if it was never set. (issue #6945)
12084Files: src/insexpand.c, src/testdir/test_ins_complete.vim
12085
12086Patch 8.2.1908
12087Problem: Lua is initialized even when not used.
12088Solution: Put lua_init() after check for "eap->skip". (Christian Brabandt,
12089 closes #7191). Avoid compiler warnings.
12090Files: src/if_lua.c, src/testdir/test_lua.vim
12091
12092Patch 8.2.1909
12093Problem: Number of status line items is limited to 80.
12094Solution: Dynamically allocate the arrays. (Rom Grk, closes #7181)
12095Files: runtime/doc/options.txt, src/buffer.c, src/optionstr.c,
12096 src/proto/buffer.pro, src/screen.c, src/structs.h,
12097 src/testdir/test_options.vim, src/testdir/test_statusline.vim,
12098 src/vim.h
12099
12100Patch 8.2.1910
12101Problem: Reading past the end of the command line.
12102Solution: Check for NUL. (closes #7204)
12103Files: src/ex_docmd.c, src/testdir/test_edit.vim
12104
12105Patch 8.2.1911
12106Problem: Tiny build fails.
12107Solution: Add #ifdef.
12108Files: src/insexpand.c
12109
12110Patch 8.2.1912
12111Problem: With Python 3.9 some tests fail.
12112Solution: Take into account the different error message. (James McCoy,
12113 closes #7210)
12114Files: src/testdir/test_python3.vim
12115
12116Patch 8.2.1913
12117Problem: GTK GUI: rounding for the cell height is too strict.
12118Solution: Round up above 15/16 of a pixel. (closes #7203)
12119Files: src/gui_gtk_x11.c
12120
12121Patch 8.2.1914
12122Problem: Vim9: cannot put line break in expression for '=' register.
12123Solution: Pass fgetline to set_expr_line(). (closes #7209)
12124Files: src/register.c, src/proto/register.pro, src/ex_docmd.c,
12125 src/eval.c, src/proto/eval.pro, src/misc2.c,
12126 src/testdir/test_vim9_script.vim
12127
12128Patch 8.2.1915
12129Problem: Vim9: error for wrong number of arguments is not useful.
12130Solution: Mention whatever we have for the name. (closes #7208)
12131Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
12132
12133Patch 8.2.1916
12134Problem: Vim9: function call is aborted even when "silent!" is used.
12135Solution: Use did_emsg instead of called_emsg. (closes #7213)
12136Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
12137
12138Patch 8.2.1917
12139Problem: No test for improved Man command.
12140Solution: Test that shell arguments are properly escaped.
12141Files: src/testdir/test_man.vim
12142
12143Patch 8.2.1918
12144Problem: Vim9: E1100 mentions :let.
12145Solution: Mention "var". (closes #7207)
12146Files: src/vim9script.c, src/errors.h
12147
12148Patch 8.2.1919
12149Problem: Assert_fails() setting emsg_silent changes normal execution.
12150Solution: Use a separate flag in_assert_fails.
12151Files: src/testing.c, src/globals.h, src/buffer.c, src/change.c,
12152 src/fileio.c, src/insexpand.c, src/message.c, src/misc1.c,
12153 src/normal.c, src/screen.c, src/term.c, src/vim9execute.c,
12154 src/testdir/test_vim9_func.vim, src/testdir/gen_opt_test.vim,
12155 src/testdir/test_autocmd.vim, src/testdir/test_mapping.vim,
12156 src/testdir/test_popup.vim, src/testdir/test_terminal.vim
12157
12158Patch 8.2.1920
12159Problem: Listlbr test fails when run after another test.
12160Solution: Add test separately to list of test targets.
12161Files: src/testdir/Make_all.mak, src/testdir/test_alot_utf8.vim
12162
12163Patch 8.2.1921
12164Problem: Fuzzy matching does not recognize path separators.
12165Solution: Add a bonus for slash and backslash. (Yegappan Lakshmanan,
12166 closes #7225)
12167Files: src/search.c, src/testdir/test_matchfuzzy.vim
12168
12169Patch 8.2.1922
12170Problem: Win32: scrolling doesn't work properly when part of window is
12171 off-screen.
12172Solution: Fall back to GDI scrolling if part of the window is off-screen.
12173 Handle multi-monitor setup better. (Ken Takata, closes #7219)
12174Files: src/gui_w32.c
12175
12176Patch 8.2.1923
12177Problem: Vim9: "filter" command modifier doesn't work.
12178Solution: Check for space on char before argument. (closes #7216,
12179 closes #7222)
12180Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
12181
12182Patch 8.2.1924
12183Problem: Vim9: crash when indexing dict with NULL key.
12184Solution: Use empty string instead of NULL. (closes #7229) Make error
12185 message more useful for empty string.
12186Files: src/vim9execute.c, src/globals.h, src/testdir/test_vim9_expr.vim
12187
12188Patch 8.2.1925 (after 8.2.1924)
12189Problem: List/dict test fails.
12190Solution: Correct expected exception.
12191File: src/testdir/test_listdict.vim
12192
12193Patch 8.2.1926
12194Problem: Cannot use a space in 'spellfile'. (Filipe Brandenburger)
12195Solution: Permit using a space. (closes #7230)
12196Files: src/spell.c, src/testdir/gen_opt_test.vim
12197
12198Patch 8.2.1927
12199Problem: Vim9: get unknown error with an error in a timer function.
12200Solution: Use did_emsg instead of called_emsg. (closes #7231)
12201Files: src/vim9compile.c, src/vim9execute.c
12202
12203Patch 8.2.1928
12204Problem: Vim9: "silent!" not effective when list index is wrong.
12205Solution: Ignore list index failure when emsg_silent is set. (closes #7232)
12206Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
12207
12208Patch 8.2.1929
12209Problem: MS-Windows: problem loading Perl 5.32.
12210Solution: Define NO_THREAD_SAFE_LOCALE. (Ken Takata, closes #7234)
12211Files: src/if_perl.xs
12212
12213Patch 8.2.1930
12214Problem: Wrong input if removing shift results in special key code.
12215Solution: Handle special key codes. (closes #7189)
12216Files: src/term.c, src/testdir/test_termcodes.vim
12217
12218Patch 8.2.1931
12219Problem: Vim9: arguments of extend() not checked at compile time.
12220Solution: Add argument type checking for extend().
12221Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
12222
12223Patch 8.2.1932
12224Problem: Compiler warnings when building with Athena GUI.
12225Solution: Fix function signatures.
12226Files: src/gui_at_fs.c
12227
12228Patch 8.2.1933
12229Problem: Cannot sort using locale ordering.
12230Solution: Add a flag for :sort and sort() to use the locale. (Dominique
12231 Pellé, closes #7237)
12232Files: runtime/doc/change.txt, runtime/doc/eval.txt, src/ex_cmds.c,
12233 src/list.c, src/testdir/test_sort.vim
12234
12235Patch 8.2.1934
12236Problem: Vim9: command modifiers in :def function not tested.
12237Solution: Add tests. Fix using modifier before filter command.
12238Files: src/ex_docmd.c, src/vim9compile.c, src/testdir/test_vim9_cmd.vim
12239
12240Patch 8.2.1935 (after 8.2.1933)
12241Problem: Sort test fails on Mac.
12242Solution: Disable the sort test with locale on Mac.
12243Files: src/testdir/test_sort.vim
12244
12245Patch 8.2.1936
12246Problem: Session sets the local 'scrolloff' value to the global value.
12247Solution: Do not let restoring the global option value change the local
12248 value.
12249Files: src/session.c, src/testdir/test_mksession.vim
12250
12251Patch 8.2.1937
12252Problem: Vim9: test for confirm modifier fails in some situations.
12253Solution: Add a short wait. Handle failure better.
12254Files: src/testdir/term_util.vim, src/testdir/test_vim9_cmd.vim
12255
12256Patch 8.2.1938
12257Problem: Wiping out a terminal buffer makes some tests fail.
12258Solution: Do not wipe out the terminal buffer unless wanted.
12259Files: src/testdir/term_util.vim, src/testdir/test_terminal.vim,
12260 src/testdir/test_terminal3.vim
12261
12262Patch 8.2.1939
12263Problem: Invalid memory access in Ex mode with global command.
12264Solution: Make sure the cursor is on a valid line. (closes #7238)
12265Files: src/move.c, src/testdir/test_ex_mode.vim
12266
12267Patch 8.2.1940
12268Problem: Vim9: browse modifier test fails on Mac.
12269Solution: Only test when the +browse feature is available.
12270Files: src/testdir/test_vim9_cmd.vim
12271
12272Patch 8.2.1941
12273Problem: Ex mode test fails on MS-Windows with GUI.
12274Solution: Skip the test when using gvim.
12275Files: src/testdir/test_ex_mode.vim
12276
12277Patch 8.2.1942
12278Problem: Insufficient test coverage for the Netbeans interface.
12279Solution: Add more tests. Fix an uncovered bug. (Yegappan Lakshmanan,
12280 closes #7240)
12281Files: runtime/doc/netbeans.txt, src/mouse.c,
12282 src/testdir/test_netbeans.py, src/testdir/test_netbeans.vim,
12283 src/testdir/test_quickfix.vim
12284
12285Patch 8.2.1943
12286Problem: Vim9: wrong error message when colon is missing.
12287Solution: Check for a missing colon. (issue #7239)
12288Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
12289
12290Patch 8.2.1944
12291Problem: Netbeans test is flaky.
12292Solution: Add a short delay. (Yegappan Lakshmanan, closes #7246)
12293Files: src/testdir/test_netbeans.vim
12294
12295Patch 8.2.1945
12296Problem: Crash when passing NULL function to reduce().
12297Solution: Check for NULL pointer and give an error. (Dominique Pellé,
12298 closes #7243)
12299Files: src/list.c, src/errors.h, src/testdir/test_listdict.vim
12300
12301Patch 8.2.1946
12302Problem: sort() with NULL string not tested.
12303Solution: Add a test. use v:collate. (Dominique Pellé, closes #7247)
12304Files: src/testdir/test_sort.vim
12305
12306Patch 8.2.1947
12307Problem: Crash when using "zj" without folds. (Sean Dewar)
12308Solution: Check for at least one fold. (closes #7245)
12309Files: src/fold.c, src/testdir/test_fold.vim
12310
12311Patch 8.2.1948
12312Problem: GUI: crash when handling message while closing a window. (Srinath
12313 Avadhanula)
12314Solution: Don't handle message while closing a window. (closes #7250)
12315Files: src/window.c, src/globals.h, src/getchar.c
12316
12317Patch 8.2.1949
12318Problem: Vim9: using extend() on null dict is silently ignored.
12319Solution: Give an error message. Initialize a dict variable with an empty
12320 dictionary. (closes #7251)
12321Files: src/errors.h, src/list.c, src/evalvars.c,
12322 src/testdir/test_vim9_assign.vim
12323
12324Patch 8.2.1950
12325Problem: Vim9: crash when compiling function fails when getting type.
12326Solution: Handle NULL type. (closes #7253)
12327Files: src/vim9type.c, src/testdir/test_vim9_expr.vim
12328
12329Patch 8.2.1951 (after 8.2.1949)
12330Problem: Test for list and dict fails.
12331Solution: Adjust for using an empty list/dict for a null one.
12332Files: src/testdir/test_listdict.vim, src/testdir/test_python2.vim,
12333 src/testdir/test_python3.vim
12334
12335Patch 8.2.1952
12336Problem: Vim9: crash when using a NULL dict key.
12337Solution: Use a NULL dict key like an empty string. (closes #7249)
12338Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
12339
12340Patch 8.2.1953
12341Problem: Vim9: extra "unknown" error after other error.
12342Solution: Restore did_emsg count after EXEC instruction. (closes #7254)
12343 Improve error message from assert_fails()
12344Files: src/vim9execute.c, src/testing.c,
12345 src/testdir/test_vim9_script.vim, src/testdir/test_assert.vim
12346
12347Patch 8.2.1954
12348Problem: Vim9: not all command modifiers are tested.
12349Solution: Add tests for "keep" modifiers. Fix that marks are lost even
12350 though ":lockmarks" is used.
12351Files: src/ex_cmds.c, src/testdir/test_vim9_cmd.vim
12352
12353Patch 8.2.1955
12354Problem: Vim9: not all command modifiers are tested.
12355Solution: Add tests for remaining modifiers.
12356Files: src/testdir/test_vim9_cmd.vim
12357
12358Patch 8.2.1956
12359Problem: Vim9: cannot specify argument types for lambda.
12360Solution: Allow adding argument types. Check arguments when calling a
12361 function reference.
12362Files: src/userfunc.c, src/proto/userfunc.pro, src/vim9compile.c,
12363 src/eval.c, src/testdir/test_vim9_disassemble.vim,
12364 src/testdir/test_vim9_func.vim
12365
12366Patch 8.2.1957
12367Problem: Diff and cursorcolumn highlighting don't mix.
12368Solution: Fix condition for what attribute to use. (Christian Brabandt,
12369 closes #7258, closes #7260)
12370Files: src/drawline.c, src/testdir/dumps/Test_diff_cuc_01.dump,
12371 src/testdir/dumps/Test_diff_cuc_02.dump,
12372 src/testdir/dumps/Test_diff_cuc_03.dump,
12373 src/testdir/dumps/Test_diff_cuc_04.dump,
12374 src/testdir/test_diffmode.vim
12375
12376Patch 8.2.1958 (after 8.2.1956)
12377Problem: Build failure with timers.
12378Solution: Add missing change.
12379Files: src/popupwin.c
12380
12381Patch 8.2.1959
12382Problem: Crash when terminal buffer name is made empty. (Dhiraj Mishra)
12383Solution: Fall back to "[No Name]". (closes #7262)
12384Files: src/buffer.c, src/proto/buffer.pro, src/terminal.c,
12385 src/testdir/test_terminal.vim
12386
12387Patch 8.2.1960
12388Problem: Warning for uninitialized variable.
12389Solution: Initialize the variable.
12390Files: src/evalfunc.c
12391
12392Patch 8.2.1961
12393Problem: Various comments can be improved.
12394Solution: Various comment adjustments.
12395Files: src/dict.c, src/structs.h, src/time.c, src/testdir/shared.vim,
12396 src/testdir/test_netbeans.vim, src/gui_motif.c
12397
12398Patch 8.2.1962
12399Problem: Netbeans may access freed memory.
12400Solution: Check the buffer pointer is still valid. Add a test. (Yegappan
12401 Lakshmanan, closes #7248)
12402Files: src/netbeans.c, src/testdir/test_netbeans.vim
12403
12404Patch 8.2.1963
12405Problem: Crash when using a popup window with "latin1" encoding.
12406Solution: Don't use ScreenLinesUC when enc_utf8 is false. (closes #7241)
12407Files: src/screen.c, src/terminal.c, src/testdir/test_popupwin.vim
12408
12409Patch 8.2.1964
12410Problem: Not all ConTeXt files are recognized.
12411Solution: Add two patterns. (closes #7263)
12412Files: runtime/filetype.vim, src/testdir/test_filetype.vim
12413
12414Patch 8.2.1965
12415Problem: Vim9: tests fail without the channel feature.
12416Solution: Check if the channel feature is present. (Dominique Pellé,
Bram Moolenaar1588bc82022-03-08 21:35:07 +000012417 closes #7270)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000012418Files: src/testdir/test_vim9_expr.vim
12419
12420Patch 8.2.1966
12421Problem: Popup becomes current window after closing a terminal window.
12422Solution: When restoring the window after executing autocommands, check that
12423 the window ID is still the same. (Naruhiko Nishino,
12424 closes #7272)
12425Files: src/autocmd.c, src/window.c, src/proto/window.pro, src/structs.h,
12426 src/testdir/test_popupwin.vim
12427
12428Patch 8.2.1967
12429Problem: The session file does not restore the alternate file.
12430Solution: Add ":balt". Works like ":badd" and also sets the buffer as the
12431 alternate file. Use it in the session file. (closes #7269,
12432 closes #6714)
12433Files: runtime/doc/windows.txt, src/ex_cmds.h, src/ex_cmdidxs.h,
12434 src/ex_docmd.c, src/vim.h, src/ex_cmds.c, src/session.c,
12435 src/testdir/test_buffer.vim
12436
12437Patch 8.2.1968
12438Problem: Vim9: has() assumes a feature does not change dynamically.
12439Solution: Check whether a feature may change dynamically. (closes #7265)
12440Files: src/vim9compile.c, src/evalfunc.c, src/proto/evalfunc.pro,
12441 src/testdir/test_vim9_disassemble.vim
12442
12443Patch 8.2.1969
12444Problem: Vim9: map() may change the list or dict item type.
12445Solution: Add mapnew().
12446Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
12447 src/list.c, src/proto/list.pro, src/testdir/test_filter_map.vim
12448
12449Patch 8.2.1970
12450Problem: It is easy to make mistakes when cleaning up swap files after the
12451 system crashed.
12452Solution: Warn for the process still running after recovery. Do not
12453 automatically delete a swap file created on another system.
12454 (David Fries, closes #7273)
12455Files: src/memline.c, src/testdir/test_swap.vim
12456
12457Patch 8.2.1971
12458Problem: Memory leak when map() fails.
12459Solution: Clear the typval.
12460Files: src/list.c
12461
12462Patch 8.2.1972
12463Problem: Crash when recreating nested fold.
12464Solution: Check for empty growarray. (closes #7278)
12465Files: src/fold.c, src/testdir/test_fold.vim
12466
12467Patch 8.2.1973
12468Problem: Finding a patch number can be a bit slow.
12469Solution: Use binary search. (closes #7279)
12470Files: src/version.c
12471
12472Patch 8.2.1974
12473Problem: Vim9: test for has('gui_running') fails with VIMDLL.
12474Solution: Adjust the #ifdef. (Ken Takata, closes #7276)
12475Files: src/evalfunc.c
12476
12477Patch 8.2.1975
12478Problem: Win32: memory leak when encoding conversion fails.
12479Solution: Free the allocated memory. (Ken Takata, closes #7277)
12480Files: src/os_win32.c
12481
12482Patch 8.2.1976
12483Problem: Cannot backspace in prompt buffer after using cursor-left. (Maxim
12484 Kim)
12485Solution: Ignore "arrow_used" in a prompt buffer. (closes #7281)
12486Files: src/edit.c, src/testdir/test_prompt_buffer.vim
12487
12488Patch 8.2.1977
12489Problem: Vim9: error for using a string in a condition is confusing.
12490Solution: Give a more specific error. Also adjust the compile time type
12491 checking for || and &&.
12492Files: src/vim9compile.c, src/vim9execute.c, src/proto/vim9execute.pro,
12493 src/typval.c, src/errors.h, src/testdir/test_vim9_cmd.vim,
12494 src/testdir/test_vim9_disassemble.vim,
12495 src/testdir/test_vim9_expr.vim
12496
12497Patch 8.2.1978
12498Problem: Making a mapping work in all modes is complicated.
12499Solution: Add the <Cmd> special key. (Yegappan Lakshmanan, closes #7282,
12500 closes 4784, based on patch by Bjorn Linse)
12501Files: runtime/doc/autocmd.txt, runtime/doc/eval.txt,
12502 runtime/doc/map.txt, src/edit.c, src/errors.h, src/ex_docmd.c,
12503 src/ex_getln.c, src/getchar.c, src/insexpand.c, src/keymap.h,
12504 src/map.c, src/misc2.c, src/normal.c, src/ops.c,
12505 src/proto/getchar.pro, src/screen.c, src/terminal.c,
12506 src/testdir/test_mapping.vim
12507
12508Patch 8.2.1979
12509Problem: "term_opencmd" option of term_start() is truncated. (Sergey
12510 Vlasov)
12511Solution: Allocate the buffer to hold the command. (closes #7284)
12512Files: src/terminal.c, src/testdir/test_terminal.vim
12513
12514Patch 8.2.1980
12515Problem: Vim9: some tests are not done at the script level.
12516Solution: Use CheckDefAndScriptSuccess() in more places. Fix uncovered
12517 problems.
12518Files: src/eval.c, src/list.c, src/scriptfile.c,
12519 src/testdir/test_vim9_expr.vim
12520
12521Patch 8.2.1981
12522Problem: MinGW: parallel compilation might fail.
12523Solution: Add dependencies on $(OUTDIR). (Masamichi Abe, closes #7287)
12524Files: src/Make_cyg_ming.mak
12525
12526Patch 8.2.1982
12527Problem: Quickfix window not updated when adding invalid entries.
12528Solution: Update the quickfix buffer properly. (Yegappan Lakshmanan, closes
12529 #7291, closes #7271)
12530Files: src/quickfix.c, src/testdir/test_quickfix.vim
12531
12532Patch 8.2.1983
12533Problem: ml_get error when using <Cmd> to open a terminal.
12534Solution: If the window changed reset the incsearch state. (closes #7289)
12535Files: src/ex_getln.c, src/testdir/test_terminal.vim,
12536 src/testdir/dumps/Test_terminal_from_cmd.dump
12537
12538Patch 8.2.1984
12539Problem: Cannot use :vimgrep in omni completion, causing C completion to
12540 fail.
12541Solution: Add the EX_LOCK_OK flag to :vimgrep. (closes #7292)
12542Files: src/ex_cmds.h, src/testdir/test_quickfix.vim
12543
12544Patch 8.2.1985
12545Problem: Crash when closing terminal popup with <Cmd> mapping.
12546Solution: Check b_term is not NULL. (closes #7294)
12547Files: src/terminal.c, src/testdir/test_terminal.vim
12548
12549Patch 8.2.1986
12550Problem: Expression test is flaky on Appveyor.
12551Solution: Temporarily disable the test in MS-Windows.
12552Files: src/testdir/test_vim9_expr.vim
12553
12554Patch 8.2.1987
12555Problem: MS-Windows: Win32.mak is no longer needed.
12556Solution: Do not include Win32.mak. (Jason McHugh, closes #7290)
12557Files: src/Make_mvc.mak, src/INSTALLpc.txt
12558
12559Patch 8.2.1988
12560Problem: Still in Insert mode when opening terminal popup with a <Cmd>
12561 mapping in Insert mode.
12562Solution: Exit Insert mode. (closes #7295)
12563Files: src/edit.c, src/testdir/test_terminal.vim
12564
12565Patch 8.2.1989
12566Problem: Info popup triggers WinEnter and WinLeave autocommands.
12567Solution: Suppress autocommands for the info popup. (closes #7296)
12568Files: src/popupmenu.c, src/testdir/test_popupwin.vim
12569
12570Patch 8.2.1990
12571Problem: Cursor position wrong in terminal popup with finished job.
12572Solution: Only add the top and left offset when not done already.
12573 (closes #7298)
12574Files: src/popupwin.c, src/structs.h, src/drawline.c, src/move.c,
12575 src/terminal.c, src/testdir/dumps/Test_terminal_popup_m1.dump
12576
12577Patch 8.2.1991
12578Problem: Coverity warns for not using the ga_grow() return value.
12579Solution: Bail out if ga_grow() fails. (Yegappan Lakshmanan, closes #7303)
12580Files: src/getchar.c
12581
12582Patch 8.2.1992
12583Problem: Build fails with small features.
12584Solution: Add #ifdef.
12585Files: src/move.c
12586
12587Patch 8.2.1993
12588Problem: Occasional failure of the netbeans test.
12589Solution: Add "silent!". (Yegappan Lakshmanan, closes #7304)
12590Files: src/testdir/test_netbeans.vim
12591
12592Patch 8.2.1994 (after 8.2.1981)
12593Problem: MS-Windows: MinGW always does a full build.
12594Solution: Only check if $OUTDIR exists. (Masamichi Abe, closes #7311)
12595Files: src/Make_cyg_ming.mak
12596
12597Patch 8.2.1995
12598Problem: The popup menu can cause too much redrawing.
12599Solution: Reduce the length of the displayed text. (Yasuhiro Matsumoto,
12600 closes #7306)
12601Files: src/popupmenu.c
12602
12603Patch 8.2.1996
12604Problem: Vim9: invalid error for argument of extend().
12605Solution: Check if the type could match. (closes #7299)
12606Files: src/evalfunc.c, src/vim9compile.c, src/proto/vim9compile.pro,
12607 src/vim9type.c, src/proto/vim9type.pro,
12608 src/testdir/test_vim9_builtin.vim
12609
12610Patch 8.2.1997
12611Problem: Window changes when using bufload() while in a terminal popup.
12612Solution: When searching for a window by ID also find a popup window.
12613 (closes #7307)
12614Files: src/window.c, src/testdir/test_terminal.vim
12615
12616Patch 8.2.1998
12617Problem: Terminal Cmd test sometimes fails to close popup.
12618Solution: Add "term_finish" option.
12619Files: src/testdir/test_terminal.vim
12620
12621Patch 8.2.1999
12622Problem: Terminal popup test sometimes fails.
12623Solution: Wait for the popup to close.
12624Files: src/testdir/test_terminal.vim
12625
12626Patch 8.2.2000
12627Problem: Vim9: dict.key assignment not implemented yet.
12628Solution: Implement dict.key assignment. (closes #7312)
12629Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
12630
12631Patch 8.2.2001
12632Problem: Vim9: :def function does not apply 'maxfuncdepth'.
12633Solution: Use 'maxfuncdepth'. (issue #7313)
12634Files: src/vim9execute.c, src/userfunc.c, src/proto/userfunc.pro,
12635 src/testdir/test_vim9_func.vim
12636
12637Patch 8.2.2002
12638Problem: Vim9: lambda argument shadowed by function name.
12639Solution: Let function name be shadowed by lambda argument. (closes #7313)
12640Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
12641
12642Patch 8.2.2003
12643Problem: Build error with +conceal but without +popupwin.
12644Solution: Add #ifdef. (Tom Ryder, closes #7316)
12645Files: src/drawline.c
12646
12647Patch 8.2.2004 (after 8.2.2002)
12648Problem: Compiler warning for uninitialized variable.
12649Solution: Initialize "ufunc". (John Marriott)
12650Files: src/vim9compile.c
12651
12652Patch 8.2.2005
12653Problem: Redoing a mapping with <Cmd> doesn't work properly.
12654Solution: Fill the redo buffer. Use "<SNR>" instead of a key code.
12655 (closes #7282)
12656Files: src/ops.c, src/getchar.c, src/testdir/test_mapping.vim
12657
12658Patch 8.2.2006
12659Problem: .pbtxt files are not recognized.
12660Solution: Recognize .pbtxt as protobuf text buffers. (closes #7326)
12661Files: runtime/filetype.vim, src/testdir/test_filetype.vim
12662
12663Patch 8.2.2007
12664Problem: Test for insert mode in popup is not reliable.
12665Solution: Wait for the popup to disappear. (Ozaki Kiichi, closes #7321)
12666Files: src/testdir/test_terminal.vim
12667
12668Patch 8.2.2008
12669Problem: MS-Windows GUI: handling channel messages lags.
12670Solution: Reduce the wait time from 100 to 10 msec. (closes #7097)
12671Files: src/gui_w32.c
12672
12673Patch 8.2.2009
12674Problem: MS-Windows: setting $LANG in gvimext only causes problems.
12675Solution: Do not set $LANG. (Ken Takata, closes #7325)
12676Files: src/GvimExt/gvimext.cpp
12677
12678Patch 8.2.2010
12679Problem: Vim9: compiling fails for unreachable return statement.
12680Solution: Fix it. (closes #7319)
12681Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
12682
12683Patch 8.2.2011
12684Problem: "syn sync" reports a very large number.
12685Solution: Use "at the first line".
12686Files: src/syntax.c, src/testdir/test_syntax.vim
12687
12688Patch 8.2.2012
12689Problem: Vim9: confusing error message when using bool wrongly.
12690Solution: Mention "Bool" instead of "Special". (closes #7323)
12691Files: src/typval.c, src/errors.h, src/testdir/test_vim9_expr.vim
12692
12693Patch 8.2.2013
12694Problem: Vim9: not skipping white space after unary minus.
12695Solution: Skip whitespace. (closes #7324)
12696Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
12697
12698Patch 8.2.2014
12699Problem: Using CTRL-O in a prompt buffer moves cursor to start of the line.
12700Solution: Do not move the cursor when restarting edit. (closes #7330)
12701Files: src/job.c, src/testdir/test_prompt_buffer.vim
12702
12703Patch 8.2.2015
12704Problem: Vim9: literal dict #{} is not like any other language.
12705Solution: Support the JavaScript syntax.
12706Files: runtime/doc/vim9.txt, src/vim9compile.c,
12707 src/proto/vim9compile.pro, src/errors.h,
12708 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_builtin.vim,
12709 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
12710
12711Patch 8.2.2016
12712Problem: Swap file test is a little flaky.
12713Solution: Don't set a byte to a fixed value, increment it.
12714Files: src/testdir/test_swap.vim
12715
12716Patch 8.2.2017 (after 8.2.2015)
12717Problem: Missing part of the dict change.
12718Solution: Also change the script level dict.
12719Files: src/dict.c
12720
12721Patch 8.2.2018
12722Problem: Vim9: script variable not found from lambda.
12723Solution: In a lambda also check the script hashtab for a variable without a
12724 scope. (closes #7329)
12725Files: src/evalvars.c, src/testdir/test_vim9_func.vim
12726
12727Patch 8.2.2019 (after 8.2.2016)
12728Problem: Swap file test fails on MS-Windows.
12729Solution: Add four to the process ID. (Ken Takata, closes #7333)
12730Files: src/testdir/test_swap.vim
12731
12732Patch 8.2.2020
12733Problem: Some compilers do not like the "namespace" argument.
12734Solution: Rename to "use_namespace". (closes #7332)
12735Files: src/vim9compile.c, src/proto/vim9compile.pro
12736
12737Patch 8.2.2021
12738Problem: Vim9: get E1099 when autocommand resets did_emsg.
12739Solution: Add did_emsg_cumul. (closes #7336)
12740Files: src/globals.h, src/ex_docmd.c, src/vim9execute.c,
12741 src/testdir/test_vim9_func.vim
12742
12743Patch 8.2.2022
Bram Moolenaar1588bc82022-03-08 21:35:07 +000012744Problem: Vim9: star command recognized erroneously.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000012745Solution: Give an error for missing colon. (issue #7335)
12746Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
12747
12748Patch 8.2.2023
12749Problem: Vim: memory leak when :execute fails.
12750Solution: Clear the growarray.
12751Files: src/vim9execute.c
12752
12753Patch 8.2.2024
12754Problem: Flicker when redrawing a popup with a title and border.
12755Solution: Do not redraw the border where the title is displayed. (Naruhiko
12756 Nishino, closes #7334)
12757Files: src/popupwin.c
12758
12759Patch 8.2.2025
12760Problem: Amiga: Not all colors are used on OS4.
12761Solution: Adjust the #ifdef to include __amigaos4__. (Ola Söder,
12762 closes #7328)
12763Files: src/term.c
12764
12765Patch 8.2.2026
12766Problem: Coverity warns for possibly using not NUL terminated string.
12767Solution: Put a NUL in b0_hname just in case.
12768Files: src/memline.c
12769
12770Patch 8.2.2027
12771Problem: Coverity warns for uninitialized field.
12772Solution: Set "v_lock".
12773Files: src/list.c
12774
12775Patch 8.2.2028
12776Problem: Coverity warns for using an uninitialized variable.
12777Solution: Initialize to NULL.
12778Files: src/eval.c
12779
12780Patch 8.2.2029
12781Problem: Coverity warns for not checking return value.
12782Solution: Check that u_save_cursor() returns OK.
12783Files: src/ops.c
12784
12785Patch 8.2.2030
12786Problem: Some tests fail on Mac.
12787Solution: Avoid Mac test failures. Add additional test for wildmenu.
12788 (Yegappan Lakshmanan, closes #7341)
12789Files: src/testdir/runtest.vim, src/testdir/test_cmdline.vim,
12790 src/testdir/test_options.vim, src/testdir/test_popupwin.vim
12791
12792Patch 8.2.2031
12793Problem: Some tests fail when run under valgrind.
12794Solution: Avoid timing problems.
12795Files: src/testdir/test_vim9_func.vim, src/testdir/test_channel.vim,
12796 src/testdir/test_clientserver.vim, src/testdir/test_debugger.vim,
12797 src/testdir/test_quotestar.vim
12798
12799Patch 8.2.2032
12800Problem: Cabalconfig and cabalproject filetypes not recognized.
12801Solution: Detect more cabal files. (Marcin Szamotulski, closes #7339)
12802Files: runtime/filetype.vim, src/testdir/test_filetype.vim
12803
12804Patch 8.2.2033
12805Problem: Vim9: :def without argument gives compilation error.
12806Solution: Add the DEF instruction. (closes #7344)
12807Files: src/ex_docmd.c, src/vim9.h, src/vim9compile.c, src/vim9execute.c,
12808 src/userfunc.c, src/proto/userfunc.pro,
12809 src/testdir/test_vim9_disassemble.vim,
12810 src/testdir/test_vim9_func.vim
12811
12812Patch 8.2.2034
12813Problem: Vim9: list unpack in for statement not compiled yet.
12814Solution: Compile list unpack. (closes #7345)
12815Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/errors.h,
12816 src/eval.c, src/testdir/test_vim9_disassemble.vim,
12817 src/testdir/test_vim9_script.vim
12818
12819Patch 8.2.2035
12820Problem: MS-Windows: some tests may fail.
12821Solution: Avoid test failures. (Yegappan Lakshmanan, closes #7346)
12822Files: src/testdir/test_channel.vim, src/testdir/test_ex_mode.vim,
12823 src/testdir/test_functions.vim
12824
12825Patch 8.2.2036
12826Problem: Current buffer is messed up if creating a new buffer for the
12827 quickfix window fails.
12828Solution: Check that creating the buffer succeeds. (closes #7352)
12829Files: src/quickfix.c, src/testdir/test_quickfix.vim,
12830 src/testdir/dumps/Test_quickfix_window_fails.dump
12831
12832Patch 8.2.2037
12833Problem: Compiler test depends on list of compiler plugins.
12834Solution: Compare with the actual list of compiler plugins.
12835Files: src/testdir/test_compiler.vim
12836
12837Patch 8.2.2038
12838Problem: Compiler test fails on MS-Windows.
12839Solution: Sort the found compiler plugin names.
12840Files: src/testdir/test_compiler.vim
12841
12842Patch 8.2.2039
12843Problem: Viminfo is not written when creating a new file.
12844Solution: Set "b_marks_read" in the new buffer. (Christian Brabandt,
12845 closes #7350)
12846Files: src/bufwrite.c, src/testdir/test_viminfo.vim
12847
12848Patch 8.2.2040
12849Problem: Terminal buffer disappears even when 'bufhidden' is "hide".
12850 (Sergey Vlasov)
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010012851Solution: Check 'bufhidden' when a terminal buffer becomes hidden.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000012852 (closes #7358)
12853Files: src/buffer.c, src/testdir/test_terminal.vim
12854
12855Patch 8.2.2041
12856Problem: Haskell filetype not optimally recognized.
12857Solution: Recognize all *.hsc files as Haskell. (Marcin Szamotulski,
12858 closes #7354)
12859Files: runtime/filetype.vim, src/testdir/test_filetype.vim
12860
12861Patch 8.2.2042
12862Problem: Build failure with +profile but without +reltime.
12863Solution: Adjust #ifdef. (Christian Brabandt, closes #7361)
12864Files: src/syntax.c
12865
12866Patch 8.2.2043
12867Problem: GTK3: white border around text stands out.
12868Solution: Use current theme color. (closes #7357, issue #349)
12869Files: src/gui_gtk_x11.c
12870
12871Patch 8.2.2044
12872Problem: MS-Windows: swap file test sometimes fails.
12873Solution: Use a more reliable way to change the process ID. When "timeout"
12874 fails use "ping" to wait up to ten minutes. (Ken Takata,
12875 closes #7365)
12876Files: .github/workflows/ci-windows.yaml, src/testdir/test_swap.vim
12877
12878Patch 8.2.2045
12879Problem: Highlighting a character too much with incsearch.
12880Solution: Check "search_match_endcol". (Christian Brabandt, closes #7360)
12881Files: src/drawline.c, src/testdir/test_search.vim,
12882 src/testdir/dumps/Test_incsearch_newline1.dump,
12883 src/testdir/dumps/Test_incsearch_newline2.dump,
12884 src/testdir/dumps/Test_incsearch_newline3.dump,
12885 src/testdir/dumps/Test_incsearch_newline4.dump,
12886 src/testdir/dumps/Test_incsearch_newline5.dump
12887
12888Patch 8.2.2046
12889Problem: Some test failures don't give a clear error.
12890Solution: Use assert_match() and assert_fails() instead of assert_true().
12891 (Ken Takata, closes #7368)
12892Files: src/testdir/test_autocmd.vim, src/testdir/test_backspace_opt.vim
12893
12894Patch 8.2.2047
12895Problem: Amiga: FEAT_ARP defined when it should not.
12896Solution: Adjust #ifdef. (Ola Söder, closes #7370)
12897Files: src/feature.h
12898
12899Patch 8.2.2048
12900Problem: Amiga: obsolete code.
12901Solution: Remove the unused lines. (Ola Söder, closes #7373)
12902Files: src/gui.c
12903
12904Patch 8.2.2049
12905Problem: Amiga: obsolete function.
12906Solution: Remove the function. (Ola Söder, closes #7374)
12907Files: src/memfile.c
12908
12909Patch 8.2.2050
12910Problem: Search test contains unneeded sleeps.
12911Solution: Rename the function, remove sleeps. (Christian Brabandt,
12912 closes #7369)
12913Files: src/testdir/test_search.vim
12914
12915Patch 8.2.2051
12916Problem: Vim9: crash when aborting a user function call.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000012917Solution: Do not use the return value when aborting. (closes #7372)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000012918Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
12919
12920Patch 8.2.2052
12921Problem: Vim9: "edit +4 fname" gives an error. (Naruhiko Nishino)
12922Solution: Allow using a range in the +cmd argument. (closes #7364)
12923Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/vim.h, src/ex_cmds.c,
12924 src/testdir/test_vim9_cmd.vim
12925
12926Patch 8.2.2053
Bram Moolenaar1588bc82022-03-08 21:35:07 +000012927Problem: Vim9: lambda doesn't accept argument types.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000012928Solution: Optionally accept argument types at the script level.
12929Files: src/eval.c, src/testdir/test_vim9_expr.vim
12930
12931Patch 8.2.2054
12932Problem: Amiga: FEAT_ARP defined when it should not.
12933Solution: Adjust "||" to "&&" in #ifdef. (Ola Söder, closes #7375)
12934Files: src/feature.h
12935
12936Patch 8.2.2055
12937Problem: MS-Windows: two Vim instances may use the same temp file.
12938Solution: Use the process ID for the temp name. (Ken Takata, closes #7378)
12939Files: src/fileio.c
12940
12941Patch 8.2.2056
12942Problem: Configure fails when building with the
12943 "implicit-function-declaration" error enabled, specifically on Mac.
12944Solution: Declear the functions like in the source code. (suggestion by
12945 Clemens Lang, closes #7380)
12946Files: src/configure.ac, src/auto/configure
12947
12948Patch 8.2.2057
12949Problem: Getting the selection may trigger TextYankPost autocmd.
12950Solution: Only trigger the autocommand when yanking in Vim, not for getting
12951 the selection. (closes #7367)
12952Files: src/clipboard.c, src/normal.c, src/register.c,
12953 src/testdir/test_autocmd.vim
12954
12955Patch 8.2.2058
12956Problem: Using mkview/loadview changes the jumplist.
12957Solution: Use ":keepjumps". Don't let ":badd" or ":balt" change the
12958 jumplist. (closes #7371)
12959Files: src/session.c, src/ex_docmd.c, src/testdir/test_mksession.vim
12960
12961Patch 8.2.2059
12962Problem: Amiga: can't find plugins.
12963Solution: Do not use "**" in the pattern. (Ola Söder, closes #7384)
12964Files: src/main.c
12965
12966Patch 8.2.2060
12967Problem: Check for features implemented with "if".
12968Solution: Use the Check commands. (Ken Takata, closes #7383)
12969Files: src/testdir/test_autocmd.vim, src/testdir/test_compiler.vim,
12970 src/testdir/test_delete.vim, src/testdir/test_diffmode.vim,
12971 src/testdir/test_expr.vim, src/testdir/test_fold.vim
12972
12973Patch 8.2.2061
12974Problem: Vim9: E1030 error when using empty string for term_sendkeys().
12975Solution: Don't check for an invalid type unless the terminal can't be
12976 found. (closes #7382)
12977Files: src/terminal.c, src/testdir/test_termcodes.vim
12978
12979Patch 8.2.2062
12980Problem: <Cmd> does not handle CTRL-V.
12981Solution: Call get_literal() after encountering CTRL-V. (closes #7387)
12982Files: src/getchar.c, src/testdir/test_mapping.vim
12983
12984Patch 8.2.2063
12985Problem: Vim9: only one level of indexing supported.
12986Solution: Handle more than one index in an assignment.
12987Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_assign.vim
12988
12989Patch 8.2.2064
12990Problem: terminal: cursor is on while redrawing, causing flicker.
12991Solution: Switch the cursor off while redrawing. Always add the top and
12992 left offset to the cursor position when not done already.
12993 (closes #5943)
12994Files: src/terminal.c, src/popupwin.c
12995
12996Patch 8.2.2065
12997Problem: Using map() and filter() on a range() is inefficient.
12998Solution: Do not materialize the range. (closes #7388)
12999Files: src/list.c, src/testdir/test_functions.vim
13000
13001Patch 8.2.2066
13002Problem: Vim9: assignment with += doesn't work.
13003Solution: Do not see the "+" as an addition operator.
13004Files: src/eval.c, src/ex_docmd.c, src/testdir/test_vim9_assign.vim
13005
13006Patch 8.2.2067 (after 8.2.2064)
13007Problem: Cursor position in popup terminal is wrong.
13008Solution: Don't check the flags.
13009Files: src/terminal.c, src/testdir/test_popupwin.vim
13010
13011Patch 8.2.2068
13012Problem: Transparent syntax item uses start/end of containing region.
13013Solution: Do not change the startpos and endpos of a transparent region to
13014 that of its containing region. (Adrian Ghizaru, closes #7349,
13015 closes #7391)
13016Files: src/syntax.c, src/testdir/test_syntax.vim
13017
13018Patch 8.2.2069
13019Problem: The quickfix window is not updated after setqflist().
13020Solution: Update the quickfix buffer. (Yegappan Lakshmanan, closes #7390,
13021 closes #7385)
13022Files: src/quickfix.c, src/testdir/test_quickfix.vim
13023
13024Patch 8.2.2070
13025Problem: Can't get the exit value in VimLeave or VimLeavePre autocommands.
13026Solution: Add v:exiting like in Neovim. (Yegappan Lakshmanan, closes #7395)
13027Files: runtime/doc/autocmd.txt, runtime/doc/eval.txt, src/evalvars.c,
13028 src/main.c, src/testdir/test_exit.vim, src/vim.h
13029
13030Patch 8.2.2071
13031Problem: Vim9: list assign doesn't accept an empty remainder list.
13032Solution: Recognize list assignment with ";".
13033Files: src/ex_docmd.c, src/testdir/test_vim9_assign.vim
13034
13035Patch 8.2.2072
13036Problem: Vim9: list assign not well tested.
13037Solution: Test with different destinations. Fix white space error.
13038Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
13039
13040Patch 8.2.2073
13041Problem: Vim9: for with unpack only works for local variables.
13042Solution: Recognize different destinations.
13043Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
13044
13045Patch 8.2.2074
13046Problem: Vim9: using :normal from Vim9 script can't handle range.
13047Solution: Execute a :normal command in legacy script context. (closes #7401)
13048Files: src/structs.h, src/ex_docmd.c, src/testdir/test_vim9_script.vim
13049
13050Patch 8.2.2075
13051Problem: Error for const argument to mapnew().
13052Solution: Don't give an error. (closes #7400)
13053Files: src/list.c, src/testdir/test_filter_map.vim
13054
13055Patch 8.2.2076
13056Problem: MS-Windows console: sometimes drops typed characters.
13057Solution: Do not wait longer than 10 msec for input. (issue #7164)
13058Files: src/os_win32.c
13059
13060Patch 8.2.2077
13061Problem: Build failure with small features.
13062Solution: Add #ifdef.
13063Files: src/structs.h, src/ex_docmd.c
13064
13065Patch 8.2.2078
13066Problem: Illegal memory access when using :print on invalid text. (Dhiraj
13067 Mishra)
13068Solution: Check for more composing characters than supported. (closes #7399)
13069Files: src/message.c, src/testdir/test_utf8.vim
13070
13071Patch 8.2.2079
13072Problem: Vim9: cannot put a linebreak before or after "in" of ":for".
13073Solution: Skip over linebreak.
13074Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
13075
13076Patch 8.2.2080
13077Problem: Vim9: no proper error message for using s:var in for loop.
13078Solution: Give a specific error.
13079Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
13080
13081Patch 8.2.2081
13082Problem: Vim9: cannot handle a linebreak after "=" in assignment.
13083Solution: Skip over linebreak. (closes #7407)
13084Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim,
13085 src/testdir/test_vim9_expr.vim
13086
13087Patch 8.2.2082
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013088Problem: Vim9: can still use the deprecated #{} dict syntax.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013089Solution: Remove support for #{} in Vim9 script. (closes #7406, closes #7405)
13090Files: src/dict.c, src/proto/dict.pro, src/eval.c, src/vim9compile.c,
13091 src/testdir/test_vim9_assign.vim,
13092 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim,
13093 src/testdir/test_vim9_disassemble.vim,
13094 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
13095 src/testdir/test_vim9_script.vim, src/testdir/test_popupwin.vim,
13096 src/testdir/test_textprop.vim
13097
13098Patch 8.2.2083
13099Problem: Vim9: crash when using ":silent!" and getting member fails.
13100Solution: Jump to on_fatal_error. (closes #7412)
13101Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
13102
13103Patch 8.2.2084
13104Problem: CTRL-V U doesn't work to enter a Unicode character when
13105 modifyOtherKeys is effective. (Ken Takata)
13106Solution: Add a flag to get_literal() for the shift key. (closes #7413)
13107Files: src/edit.c, src/proto/edit.pro, src/ex_getln.c, src/getchar.c,
13108 src/normal.c, src/testdir/test_termcodes.vim
13109
13110Patch 8.2.2085
13111Problem: Qt translation file is recognized as typescript.
13112Solution: Check the first line for "<?xml". (closes #7418)
13113Files: runtime/filetype.vim, src/testdir/test_filetype.vim
13114
13115Patch 8.2.2086
13116Problem: Libvterm tests are only run on Linux.
13117Solution: Use static libraries. (Ozaki Kiichi, closes #7419)
13118Files: .travis.yml, src/Makefile, src/libvterm/Makefile,
13119 src/libvterm/t/run-test.pl
13120
13121Patch 8.2.2087
13122Problem: Vim9: memory leak when statement is truncated.
13123Solution: Increment the number of local variables.
13124Files: src/vim9compile.c
13125
13126Patch 8.2.2088
13127Problem: Vim9: script test sometimes fails.
13128Solution: Unlet variables.
13129Files: src/testdir/test_vim9_script.vim
13130
13131Patch 8.2.2089
13132Problem: Libvterm test fails to build on Mac.
13133Solution: Adjust configure to remove a space between -L and the path that
13134 follows.
13135Files: src/configure.ac, src/auto/configure
13136
13137Patch 8.2.2090
13138Problem: Vim9: dict does not accept a key in quotes.
13139Solution: Recognize a key in single or double quotes.
13140Files: runtime/doc/vim9.txt, src/dict.c, src/proto/dict.pro,
13141 src/vim9compile.c, src/testdir/test_vim9_expr.vim
13142
13143Patch 8.2.2091
13144Problem: MS-Windows: build warnings.
13145Solution: Add a #pragma to suppress the deprecation warning. (Ken Takata)
13146 Avoid using a non-ASCII character. (closes #7421)
13147Files: src/message.c, src/os_win32.c
13148
13149Patch 8.2.2092
13150Problem: Vim9: unpredictable errors for script tests.
13151Solution: Use a different script file name for each run.
13152Files: src/testdir/vim9.vim, src/testdir/test_vim9_script.vim,
13153 src/testdir/test_vim9_func.vim, src/testdir/test_quickfix.vim,
13154 src/testdir/test_vim9_assign.vim
13155
13156Patch 8.2.2093
13157Problem: Vim9: script test sometimes fails.
13158Solution: Do not find a script variable by its typval if the name was
13159 cleared.
13160Files: src/vim9script.c
13161
13162Patch 8.2.2094
13163Problem: When an expression fails getting the next command may be wrong.
13164Solution: Do not check for a next command after :eval fails. (closes #7415)
13165Files: src/eval.c, src/testdir/test_vim9_cmd.vim
13166
13167Patch 8.2.2095
13168Problem: Vim9: crash when failed dict member is followed by concatenation.
13169Solution: Remove the dict from the stack. (closes #7416)
13170Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
13171
13172Patch 8.2.2096
13173Problem: Vim9: command modifiers not restored after assignment.
13174Solution: Jump to nextline instead of using continue.
13175Files: src/vim9compile.c, src/vim9execute.c,
13176 src/testdir/test_vim9_func.vim
13177
13178Patch 8.2.2097
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013179Problem: Vim9: using :silent! when calling a function prevents aborting
13180 that function.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013181Solution: Add emsg_silent_def and did_emsg_def.
13182Files: src/globals.h, src/message.c, src/vim9execute.c,
13183 src/testdir/test_vim9_func.vim
13184
13185Patch 8.2.2098
13186Problem: Vim9: function argument of sort() and map() not tested.
13187Solution: Add a couple of tests.
13188Files: src/testdir/test_vim9_builtin.vim
13189
13190Patch 8.2.2099
13191Problem: Vim9: some checks are not tested.
13192Solution: Add a few more tests. Give better error messages.
13193Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
13194 src/testdir/test_vim9_expr.vim
13195
13196Patch 8.2.2100
13197Problem: Insufficient testing for function range and dict.
13198Solution: Add a few tests. (Dominique Pellé, closes #7428)
13199Files: src/testdir/test_functions.vim, src/testdir/test_lambda.vim,
13200 src/testdir/test_signals.vim, src/testdir/test_user_func.vim
13201
13202Patch 8.2.2101
13203Problem: Vim9: memory leak when literal dict has an error and when an
13204 expression is not complete.
13205Solution: Clear the typval and the growarray.
13206Files: src/dict.c, src/vim9compile.c
13207
13208Patch 8.2.2102
13209Problem: Vim9: not all error messages tested.
13210Solution: Add a few test cases.
13211Files: src/testdir/test_vim9_func.vim
13212
13213Patch 8.2.2103
13214Problem: Vim9: unreachable code.
13215Solution: Remove the code to prepend s: to the variable name
13216Files: src/vim9compile.c
13217
13218Patch 8.2.2104
13219Problem: Build problem with Ruby 2.7.
13220Solution: Adjust function declarations. (Ozaki Kiichi, closes #7430)
13221Files: src/configure.ac, src/auto/configure, src/if_ruby.c
13222
13223Patch 8.2.2105
13224Problem: Sound test is a bit flaky.
13225Solution: Use WaitForAssert(). (Dominique Pellé, closes #7429)
13226Files: src/testdir/test_sound.vim
13227
13228Patch 8.2.2106
13229Problem: TOML files are not recognized.
13230Solution: Match *.toml. (issue #7432)
13231Files: runtime/filetype.vim, src/testdir/test_filetype.vim
13232
13233Patch 8.2.2107
13234Problem: Vim9: some errors not tested.
13235Solution: Add tests. Fix getting the right error.
13236Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim,
13237 src/testdir/test_vim9_expr.vim
13238
13239Patch 8.2.2108
13240Problem: Vim9: no test to check for :let error.
13241Solution: Add a test. Rename tests from _let_ to _var_.
13242Files: src/testdir/test_vim9_assign.vim
13243
13244Patch 8.2.2109
13245Problem: "vim -" does not work well when modifyOtherKeys is enabled and a
13246 shell command is executed on startup.
13247Solution: Only change modifyOtherKeys when executing a shell command in raw
13248 mode.
13249Files: src/os_unix.c
13250
13251Patch 8.2.2110
13252Problem: Cannot use ":shell" when reading from stdin. (Gary Johnson)
13253Solution: Revert patch 8.2.1833.
13254Files: src/main.c
13255
13256Patch 8.2.2111
13257Problem: GTK: Menu background is the same color as the main window.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013258Solution: Fix white space around the text in another way. (closes #7437,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013259 closes #7427)
13260Files: src/gui_gtk_x11.c
13261
13262Patch 8.2.2112
13263Problem: Running tests may leave some files behind.
13264Solution: Delete the right files. Fix a few typos. (Dominique Pellé,
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013265 closes #7436)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013266Files: src/testdir/test_filetype.vim, src/testdir/test_messages.vim,
13267 src/testdir/test_mksession.vim
13268
13269Patch 8.2.2113
13270Problem: MS-Windows GUI: crash after using ":set guifont=" four times.
13271Solution: Check for NULL pointer. (Ken Takata, closes #7434)
13272Files: src/gui_dwrite.cpp, src/testdir/test_gui.vim
13273
13274Patch 8.2.2114
13275Problem: Vim9: unreachable code in assignment.
13276Solution: Remove impossible condition and code.
13277Files: src/vim9compile.c
13278
13279Patch 8.2.2115
13280Problem: Vim9: some errors not tested for; dead code.
13281Solution: Add a test. Remove dead code.
13282Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
13283
13284Patch 8.2.2116
13285Problem: MS-Windows GUI: test for 'guifont' is incomplete.
13286Solution: Set 'renderoptions'. (Christian Brabandt)
13287Files: src/testdir/test_gui.vim
13288
13289Patch 8.2.2117
13290Problem: Some functions use any value as a string.
13291Solution: Check that the value is a non-empty string.
13292Files: src/typval.c, src/proto/typval.pro, src/mbyte.c, src/filepath.c,
13293 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim
13294
13295Patch 8.2.2118
13296Problem: Dead code in the job support. (Dominique Pellé)
13297Solution: Define USE_ARGV before checking for it.
13298Files: src/job.c
13299
13300Patch 8.2.2119
13301Problem: GTK3: status line background color is wrong.
13302Solution: Don't change the code for earlier GTK3 versions. (closes #7444)
13303Files: src/gui_gtk_x11.c
13304
13305Patch 8.2.2120
13306Problem: Not all Perl functionality is tested.
13307Solution: Add a few more test cases. (Dominique Pellé, closes #7440)
13308Files: src/testdir/test_perl.vim
13309
13310Patch 8.2.2121
13311Problem: Internal error when using \ze before \zs in a pattern.
13312Solution: Check the end is never before the start. (closes #7442)
13313Files: src/regexp_bt.c, src/regexp_nfa.c,
13314 src/testdir/test_regexp_latin.vim
13315
13316Patch 8.2.2122
13317Problem: Vim9: crash when sourcing vim9script early.
13318Solution: Use set_option_value() instead of setting p_cpo directly.
13319 (closes #7441)
13320Files: src/scriptfile.c, src/testdir/test_vim9_script.vim
13321
13322Patch 8.2.2123
13323Problem: After using a complete popup the buffer is listed. (Boris
13324 Staletic)
13325Solution: Make the buffer unlisted.
13326Files: src/popupmenu.c, src/testdir/test_popupwin.vim
13327
13328Patch 8.2.2124
13329Problem: Vim9: a range cannot be computed at runtime.
13330Solution: Add the ISN_RANGE instruction.
13331Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
13332 src/testdir/test_vim9_script.vim,
13333 src/testdir/test_vim9_disassemble.vim
13334
13335Patch 8.2.2125 (after 8.2.2122)
13336Problem: Vim9: leaking memory.
13337Solution: Free the saved 'cpo' value.
13338Files: src/scriptfile.c
13339
13340Patch 8.2.2126
13341Problem: Ruby: missing function prototype.
13342Solution: Add the prototype.
13343Files: src/if_ruby.c
13344
13345Patch 8.2.2127
13346Problem: Vim9: executing user command defined in Vim9 script not tested.
13347Solution: Add a test.
13348Files: src/testdir/test_vim9_script.vim
13349
13350Patch 8.2.2128
13351Problem: There is no way to do something on CTRL-Z.
13352Solution: Add VimSuspend and VimResume autocommand events. (closes #7450)
13353Files: runtime/doc/autocmd.txt, src/autocmd.c, src/ex_docmd.c,
13354 src/normal.c, src/testdir/test_suspend.vim, src/vim.h
13355
13356Patch 8.2.2129
13357Problem: MS-Windows: Checking if a file name is absolute is slow.
13358Solution: Do not use mch_FullName(). (closes #7033)
13359Files: src/os_mswin.c
13360
13361Patch 8.2.2130
13362Problem: Insert mode completion messages end up in message history.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013363Solution: Set msg_hist_off. (closes #7452)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013364Files: src/insexpand.c, src/testdir/test_ins_complete.vim
13365
13366Patch 8.2.2131
13367Problem: Vim9: crash when lambda uses same var as assignment.
13368Solution: Do not let lookup_local change lv_from_outer, make a copy.
13369 (closes #7461)
13370Files: src/vim9compile.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
13371 src/evalvars.c, src/proto/evalvars.pro,
13372 src/testdir/test_vim9_func.vim
13373
13374Patch 8.2.2132
13375Problem: Padding not drawn properly for popup window with title.
13376Solution: Draw the padding below the title. (closes #7460)
13377Files: src/popupwin.c, src/testdir/test_popupwin.vim,
13378 src/testdir/dumps/Test_popupwin_longtitle_3.dump,
13379 src/testdir/dumps/Test_popupwin_longtitle_4.dump
13380
13381Patch 8.2.2133
13382Problem: Vim9: checking for a non-empty string is too strict.
13383Solution: Check for any string. (closes #7447)
13384Files: src/typval.c, src/proto/typval.pro, src/errors.h, src/filepath.c,
13385 src/testdir/test_vim9_builtin.vim
13386
13387Patch 8.2.2134
13388Problem: Vim9: get E1099 when autocmd triggered in builtin function.
13389Solution: Check that did_emsg increased instead of checking that it changed.
13390 (closes #7448)
13391Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
13392
13393Patch 8.2.2135
13394Problem: Vim9: #{ still seen as start of dict in some places.
13395Solution: Remove check for { after #. (closes #7456)
13396Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
13397
13398Patch 8.2.2136
13399Problem: Vim9: Using uninitialized variable.
13400Solution: Initialize "len" to zero. Clean up fnamemodify().
13401Files: src/filepath.c
13402
13403Patch 8.2.2137
13404Problem: Vim9: :echo and :execute give error for empty argument.
13405Solution: Ignore an empty argument. (closes #7468)
13406Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_script.vim,
13407 src/testdir/test_vim9_disassemble.vim
13408
13409Patch 8.2.2138
13410Problem: Vim9: "exit_cb" causes Vim to exit.
13411Solution: Require white space after a command in Vim9 script. (closes #7467)
13412 Also fix that Vim9 style heredoc was not always recognized.
13413Files: src/ex_cmds.h, src/ex_docmd.c, src/errors.h, src/userfunc.c,
13414 src/testdir/test_vim9_assign.vim,
13415 src/testdir/test_vim9_script.vim, src/testdir/test_let.vim
13416
13417Patch 8.2.2139
13418Problem: Vim9: unreachable code in assignment.
13419Solution: Don't check "new_local" when "has_index" is set. Add test for
13420 wrong type of list index.
13421Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
13422
13423Patch 8.2.2140
13424Problem: Build failure with tiny features.
13425Solution: Add #ifdef.
13426Files: src/ex_docmd.c
13427
13428Patch 8.2.2141
13429Problem: A user command with try/catch may not catch an expression error.
13430Solution: When an expression fails check for following "|". (closes #7469)
13431Files: src/eval.c, src/testdir/test_trycatch.vim,
13432 src/testdir/test_vimscript.vim
13433
13434Patch 8.2.2142
13435Problem: Memory leak when heredoc is not terminated.
13436Solution: Free heredoc_trimmed.
13437Files: src/userfunc.c
13438
13439Patch 8.2.2143
13440Problem: Vim9: dead code in compiling :unlet.
13441Solution: Don't check for "!" a second time.
13442Files: src/vim9compile.c
13443
13444Patch 8.2.2144
13445Problem: Vim9: some corner cases not tested.
13446Solution: Add a few tests.
13447Files: src/testdir/test_vim9_script.vim, src/testdir/test_vim9_cmd.vim
13448
13449Patch 8.2.2145
13450Problem: Vim9: concatenating lists does not adjust type of result.
13451Solution: When list member types differ use "any" member type.
13452 (closes #7473)
13453Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
13454
13455Patch 8.2.2146
13456Problem: Vim9: automatic conversion of number to string for dict key.
13457Solution: Do not convert number to string. (closes #7474)
13458Files: src/dict.c, src/testdir/test_vim9_expr.vim
13459
13460Patch 8.2.2147
13461Problem: Quickfix window title not updated in all tab pages.
13462Solution: Update the quickfix window title in all tab pages. (Yegappan
13463 Lakshmanan, closes #7481, closes #7466)
13464Files: src/quickfix.c, src/testdir/test_quickfix.vim
13465
13466Patch 8.2.2148
13467Problem: Vim9: crash when user command doesn't match.
13468Solution: Adjust command index. (closes #7479)
13469Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
13470
13471Patch 8.2.2149
13472Problem: Popupwin test for latin1 sometimes fails.
13473Solution: Wait for the script to finish.
13474Files: src/testdir/test_popupwin.vim
13475
13476Patch 8.2.2150
13477Problem: Github actions CI isn't used for all available platforms.
13478Solution: Update the github workflows. (Ozaki Kiichi, closes #7433)
13479Files: .coveralls.yml, .github/workflows/ci-windows.yaml,
13480 .github/workflows/ci.yml, .travis.yml, README.md,
13481 ci/build-snd-dummy.sh, ci/setup-xvfb.sh
13482
13483Patch 8.2.2151
13484Problem: $dir not expanded when configure checks for moonjit.
13485Solution: Use double quotes instead of single quotes. (closes #7478)
13486Files: src/configure.ac, src/auto/configure
13487
13488Patch 8.2.2152
13489Problem: screenpos() does not include the WinBar offset.
13490Solution: Use W_WINROW() instead of directly using w_window. (closes #7487)
13491Files: src/move.c, src/testdir/test_cursor_func.vim
13492
13493Patch 8.2.2153
13494Problem: Popupwin test for latin1 still fails sometimes.
13495Solution: Wait for the "cat" command to finish.
13496Files: src/testdir/test_popupwin.vim
13497
13498Patch 8.2.2154
13499Problem: Popupwin test for terminal buffer fails sometimes.
13500Solution: Wait for the prompt to appear.
13501Files: src/testdir/test_popupwin.vim
13502
13503Patch 8.2.2155
13504Problem: Warning from Github actions for code analysis.
13505Solution: Remove the "git checkout HEAD^2" block.
13506Files: .github/workflows/codeql-analysis.yml
13507
13508Patch 8.2.2156
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013509Problem: Github actions run on pushing a tag.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013510Solution: Don't run CI on tag push. Omit coveralls on pull-request.
13511 (Ozaki Kiichi, closes #7489)
13512Files: .github/workflows/ci.yml, .github/workflows/codeql-analysis.yml
13513
13514Patch 8.2.2157
13515Problem: Vim9: can delete a Vim9 script variable from a function.
13516Solution: Check the variable is defined in Vim9 script. (closes #7483)
13517Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
13518
13519Patch 8.2.2158
13520Problem: CI on cirrus times out, coveralls doesn't always run.
13521Solution: Set timeout to 20 minutes. Adjust condition. (closes #7493)
13522Files: .cirrus.yml, .github/workflows/ci.yml
13523
13524Patch 8.2.2159
13525Problem: Vim9: when declaring a list it is not allocated yet, causing a
13526 following extend() to fail.
13527Solution: When fetching a variable value for a list or dict that is null
13528 allocate the list or dict, so it can be used. (closes #7491)
13529Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim
13530
13531Patch 8.2.2160
13532Problem: Various typos.
13533Solution: Fix spelling mistakes. (closes #7494)
13534Files: src/bufwrite.c, src/cindent.c, src/cmdexpand.c, src/eval.c,
13535 src/ex_cmds.c, src/feature.h, src/getchar.c, src/gui_haiku.cc,
13536 src/gui_xmdlg.c, src/help.c, src/if_ole.cpp, src/insexpand.c,
13537 src/list.c, src/map.c, src/memline.c, src/normal.c,
13538 src/os_win32.c, src/search.c, src/term.c,
13539 src/testdir/test_arglist.vim, src/testdir/test_autocmd.vim,
13540 src/testdir/test_debugger.vim, src/testdir/test_increment.vim,
13541 src/testdir/test_menu.vim, src/testdir/test_netbeans.vim,
13542 src/testdir/test_popupwin.vim, src/testdir/test_python2.vim,
13543 src/testdir/test_python3.vim, src/testdir/test_sort.vim,
13544 src/testdir/test_terminal2.vim, src/testdir/test_terminal3.vim,
13545 src/testdir/test_vartabs.vim, src/testdir/test_vimscript.vim,
13546 src/textprop.c, src/userfunc.c, src/vim9.h, src/vim9compile.c,
13547 src/vim9execute.c
13548
13549Patch 8.2.2161
13550Problem: Arguments -T and -x not tested yet.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013551Solution: Add a test. (Dominique Pellé, closes #7490)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013552Files: src/testdir/test_startup.vim
13553
13554Patch 8.2.2162
13555Problem: Vim9: Cannot load or store autoload variables.
13556Solution: Add ISN_LOADAUTO and ISN_STOREAUTO. (closes #7485)
13557Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/dict.c,
13558 src/eval.c, src/evalvars.c, src/proto/evalvars.pro,
13559 src/testdir/test_vim9_disassemble.vim,
13560 src/testdir/test_vim9_script.vim
13561
13562Patch 8.2.2163
13563Problem: Crash when discarded exception is the current exception.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013564Solution: Compare the exception with current_exception. (closes #7499)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013565Files: src/ex_eval.c
13566
13567Patch 8.2.2164
13568Problem: Vim9: autoload function doesn't work in script that starts with
13569 an upper case letter.
13570Solution: Check for the autoload character. (closes #7502)
13571Files: src/userfunc.c, src/testdir/test_vim9_script.vim
13572
13573Patch 8.2.2165
13574Problem: Vim9: assignment to dict member does not work.
13575Solution: Fix recognizing dict member. (closes #7484)
13576Files: src/ex_docmd.c, src/eval.c, src/evalvars.c, src/vim.h
13577
13578Patch 8.2.2166
13579Problem: Auto format doesn't work when deleting text.
13580Solution: Make "x" trigger auto format. (closes #7504)
13581Files: src/ops.c, src/testdir/test_textformat.vim
13582
13583Patch 8.2.2167
13584Problem: Vim9: assign test fails. (Elimar Riesebieter)
13585Solution: Adjust the test for dict assignment.
13586Files: src/testdir/test_vim9_assign.vim
13587
13588Patch 8.2.2168
13589Problem: Vim9: error for assigning to dict of dict.
13590Solution: Remember the destination type. (closes #7506)
13591Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
13592
13593Patch 8.2.2169
13594Problem: Vim9: test leaves file behind.
13595Solution: Rename script files. (Dominique Pellé, closes #7511)
13596 Use try/finally.
13597Files: src/testdir/test_vim9_script.vim, src/testdir/vim9.vim
13598
13599Patch 8.2.2170
13600Problem: Vim9: a global function defined in a :def function fails if it
13601 uses the context.
13602Solution: Create a partial to store the closure context. (see #7410)
13603Files: src/userfunc.c, src/proto/userfunc.pro, src/vim9execute.c,
13604 src/structs.h, src/testdir/test_vim9_func.vim
13605
13606Patch 8.2.2171
13607Problem: Valgrind warning for using uninitialized value.
13608Solution: Do not use "startp" or "endp" unless there is a match.
13609Files: src/regexp_nfa.c
13610
13611Patch 8.2.2172
13612Problem: Vim9: number of arguments is not always checked. (Yegappan
13613 Lakshmanan)
13614Solution: Check number of arguments when calling function by name.
13615Files: src/userfunc.c, src/proto/userfunc.pro, src/vim9execute.c,
13616 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
13617
13618Patch 8.2.2173
13619Problem: Vim9: get internal error when assigning to undefined variable.
13620Solution: Add error message. (closes #7475)
13621Files: src/vim9compile.c, src/vim9execute.c, src/errors.h,
13622 src/testdir/test_vim9_cmd.vim
13623
13624Patch 8.2.2174
13625Problem: Mac version doesn't specify the CPU architecture.
13626Solution: Add "arm64" or "x86_64". (Yee Cheng Chin, closes #7519)
13627Files: src/version.c
13628
13629Patch 8.2.2175
13630Problem: Github actions: clang-11 handling suboptimal.
13631Solution: Separate step of installing clang-11. Get ubuntu release name
13632 dynamically. (Ozaki Kiichi, closes #7514)
13633Files: .github/workflows/ci.yml
13634
13635Patch 8.2.2176
13636Problem: Crash with a sequence of fold commands.
13637Solution: Bail out when there are no folds at all. Add a test (Dominique
13638 Pellé) (closes #7515)
13639Files: src/fold.c, src/testdir/test_fold.vim
13640
13641Patch 8.2.2177
13642Problem: Pattern "^" does not match if the first character in the line is
13643 combining. (Rene Kita)
13644Solution: Do accept a match at the start of the line. (closes #6963)
13645Files: src/regexp_nfa.c, src/testdir/test_regexp_utf8.vim
13646
13647Patch 8.2.2178
13648Problem: Python 3: non-utf8 character cannot be handled.
13649Solution: Change the string decode. (Björn Linse, closes #1053)
13650Files: src/if_py_both.h, src/if_python.c, src/if_python3.c,
13651 src/testdir/test_python3.vim, src/testdir/test_python2.vim
13652
13653Patch 8.2.2179
13654Problem: Vim9: crash when indexing a dict with a number.
13655Solution: Add ISN_STOREINDEX. (closes #7513)
13656Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h,
13657 src/errors.h, src/testdir/test_vim9_assign.vim,
13658 src/testdir/test_vim9_disassemble.vim
13659
13660Patch 8.2.2180
13661Problem: Vim9: test for error after error is flaky.
13662Solution: Wait for job to finish instead of a fixed delay.
13663Files: src/testdir/test_vim9_script.vim
13664
13665Patch 8.2.2181
13666Problem: Valgrind warnings for using uninitialized value.
13667Solution: Do not use "start" or "end" unless there is a match.
13668Files: src/regexp_nfa.c, src/regexp_bt.c
13669
13670Patch 8.2.2182
13671Problem: Vim9: value of 'magic' is still relevant.
13672Solution: Always behave like 'magic' is on in Vim9 script (closes #7509)
13673Files: src/option.c, src/proto/option.pro, src/arglist.c, src/buffer.c,
13674 src/cmdexpand.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c,
13675 src/insexpand.c, src/normal.c, src/search.c, src/tag.c,
13676 src/structs.h, src/globals.h, src/ex_cmds.h,
13677 src/testdir/test_vim9_cmd.vim
13678
13679Patch 8.2.2183
13680Problem: Vim9: value of 'edcompatible' and 'gdefault' are used.
13681Solution: Ignore these deprecated options in Vim9 script. (closes #7508)
13682Files: src/ex_cmds.c, src/testdir/test_vim9_cmd.vim
13683
13684Patch 8.2.2184
13685Problem: Vim9: no error when using "2" for a line number.
13686Solution: Give an error message if the line number is invalid. (closes #7492)
13687Files: src/typval.c, src/evalfunc.c, src/testdir/test_vim9_builtin.vim,
13688 src/testdir/test_cursor_func.vim
13689
13690Patch 8.2.2185
13691Problem: BufUnload is not triggered for the quickfix dummy buffer.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013692Solution: Do trigger BufUnload. (Pontus Leitzler, closes #7518, closes #7517)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013693 Fix white space around "=".
13694Files: src/quickfix.c, src/testdir/test_autocmd.vim
13695
13696Patch 8.2.2186
13697Problem: Vim9: error when using 'opfunc'.
13698Solution: Do not expect a return value from 'opfunc'. (closes #7510)
13699Files: src/eval.c, src/proto/eval.pro, src/ops.c,
13700 src/testdir/test_vim9_func.vim
13701
13702Patch 8.2.2187
13703Problem: Python 3 test fails sometimes. (Christian Brabandt)
13704Solution: Accept two SystemError messages.
13705Files: src/testdir/test_python3.vim
13706
13707Patch 8.2.2188
13708Problem: Vim9: crash when calling global function from :def function.
13709Solution: Set the outer context. Define the partial for the context on the
13710 original function. Use a refcount to keep track of which ufunc is
13711 using a dfunc. (closes #7525)
13712Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9execute.c,
13713 src/proto/vim9execute.pro, src/userfunc.c, src/proto/userfunc.pro,
13714 src/structs.h, src/vim9.h, src/testdir/test_vim9_func.vim
13715
13716Patch 8.2.2189
13717Problem: Cannot repeat a command that uses the small delete register.
13718Solution: Store the register name instead of the contents. (Christian
13719 Brabandt, closes #7527)
13720Files: src/ops.c, src/register.c, src/testdir/test_registers.vim
13721
13722Patch 8.2.2190
13723Problem: Vim9: crash when compiled with EXITFREE.
13724Solution: Check that df_ufunc is not NULL.
13725Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
13726
13727Patch 8.2.2191
13728Problem: Vim9: using wrong name with lambda in nested function.
13729Solution: Copy the lambda name earlier. (closes #7525)
13730Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
13731
13732Patch 8.2.2192
13733Problem: Codecov on github actions fails.
13734Solution: Revert to codecov script. (Ozaki Kiichi, closes #7529)
13735Files: Filelist, .github/workflows/ci.yml
13736
13737Patch 8.2.2193
13738Problem: Vim9: can change constant in :def function.
13739Solution: Check if a variable is locked. (issue #7526)
13740Files: src/evalvars.c, src/proto/evalvars.pro, src/vim9execute.c,
13741 src/testdir/test_vim9_func.vim
13742
13743Patch 8.2.2194
13744Problem: Vim9: cannot use :const or :final at the script level.
13745Solution: Support using :const and :final. (closes #7526)
13746Files: src/vim.h, src/evalvars.c, src/testdir/test_vim9_assign.vim,
13747 src/testdir/test_vim9_func.vim
13748
13749Patch 8.2.2195
13750Problem: Failing tests for :const.
13751Solution: Add missing check for ASSIGN_FINAL.
13752Files: src/eval.c, src/evalvars.c, src/testdir/test_vim9_func.vim
13753
13754Patch 8.2.2196
13755Problem: :version output has extra spaces in compile and link command.
13756Solution: Adjust QUOTESED. (closes #7505)
13757Files: src/configure.ac, src/auto/configure
13758
13759Patch 8.2.2197
13760Problem: Assert arguments order reversed.
13761Solution: Swap the arguments. (Christian Brabandt, closes #7531)
13762Files: src/testdir/test_registers.vim
13763
13764Patch 8.2.2198
13765Problem: ml_get error when resizing window and using text property.
13766Solution: Validate botline of the right window. (closes #7528)
13767Files: src/move.c, src/proto/move.pro, src/textprop.c,
13768 src/testdir/test_textprop.vim
13769
13770Patch 8.2.2199
13771Problem: First write after setting 'eol' does not have NL added. (Tomáš
13772 Janoušek)
13773Solution: Only use b_no_eol_lnum when doing a binary write. (closes #7535)
13774Files: src/bufwrite.c, src/testdir/test_writefile.vim
13775
13776Patch 8.2.2200
13777Problem: Vim9: lambda without white space around -> is confusing.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013778Solution: Require white space in a :def function. (issue #7503)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013779Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim,
13780 src/testdir/test_vim9_disassemble.vim
13781
13782Patch 8.2.2201
13783Problem: Write file test fails on MS-Windows.
13784Solution: Force edit after setting 'fileformat'.
13785Files: src/testdir/test_writefile.vim
13786
13787Patch 8.2.2202
13788Problem: Write file test still fails on MS-Windows.
13789Solution: Set fileformat with the :edit command
13790Files: src/testdir/test_writefile.vim
13791
13792Patch 8.2.2203
13793Problem: Moodle gift files are not recognized.
13794Solution: Add a filetype pattern. (Delim Temizer)
13795Files: runtime/filetype.vim, src/testdir/test_filetype.vim
13796
13797Patch 8.2.2204
13798Problem: Vim9: using -> both for method and lambda is confusing.
13799Solution: Use => for lambda in :def function.
13800Files: runtime/doc/vim9.txt, src/vim9compile.c, src/userfunc.c,
13801 src/testdir/test_vim9_expr.vim
13802
13803Patch 8.2.2205
13804Problem: Vim9: memory leak when parsing lambda fails.
13805Solution: Clear growarrays.
13806Files: src/userfunc.c
13807
13808Patch 8.2.2206
13809Problem: :exe command line completion only works for first argument.
13810Solution: Skip over text if more is following. (closes #7546)
13811Files: src/eval.c, src/testdir/test_cmdline.vim
13812
13813Patch 8.2.2207
13814Problem: Illegal memory access if popup menu items are changed while the
13815 menu is visible. (Tomáš Janoušek)
13816Solution: Make a copy of the text. (closes #7537)
13817Files: src/popupmenu.c, src/testdir/test_popup.vim,
13818 src/testdir/dumps/Test_popup_command_04.dump,
13819 src/testdir/dumps/Test_popup_command_05.dump
13820
13821Patch 8.2.2208
13822Problem: Vim9: after reloading a script variable index may be invalid.
13823Solution: When the sequence number doesn't match give an error for using a
13824 script-local variable from a compiled function. (closes #7547)
13825Files: src/vim9.h, src/structs.h, src/errors.h, src/vim9compile.c,
13826 src/vim9execute.c, src/scriptfile.c,
13827 src/testdir/test_vim9_script.vim
13828
13829Patch 8.2.2209
13830Problem: Vim9: return type of => lambda not parsed.
13831Solution: Parse and use the return type.
13832Files: src/vim9compile.c, src/userfunc.c, src/vim9type.c,
Bram Moolenaar47c532e2022-03-19 15:18:53 +000013833 src/proto/vim9type.pro, src/vim9script.c, src/eval.c,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013834 src/testdir/test_vim9_expr.vim
13835
13836Patch 8.2.2210
13837Problem: Vim9: allocating a type to set TTFLAG_BOOL_OK.
13838Solution: Add t_number_bool.
13839Files: src/globals.h, src/vim9type.c, src/vim9compile.c
13840
13841Patch 8.2.2211
13842Problem: MS-Windows: can't load Python dll if not in the path.
13843Solution: Use the InstallPath registry entry. (Kelvin Lee, closes #7540)
13844Files: src/if_python3.c
13845
13846Patch 8.2.2212
13847Problem: Vim9: lambda with => does not work at the script level.
13848Solution: Make it work.
13849Files: src/eval.c, src/vim9type.c, src/userfunc.c,
13850 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_expr.vim
13851
13852Patch 8.2.2213
13853Problem: Checking white space around -> is not backwards compatible.
13854Solution: Only check white space around =>.
13855Files: src/userfunc.c
13856
13857Patch 8.2.2214
13858Problem: ":e#" does not give a warning for missing white space.
13859Solution: Adjust the check for white space. (closes #7545)
13860Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
13861
13862Patch 8.2.2215
13863Problem: Vim9: `=expr` not recognized in global command.
13864Solution: Skip over pattern. (issue #7541)
13865Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
13866
13867Patch 8.2.2216
13868Problem: Vim9: range with missing colon can be hard to spot.
13869Solution: Include the start of the range in the error. (closes #7543)
13870Files: src/errors.h, src/ex_docmd.c, src/vim9compile.c,
13871 src/testdir/test_vim9_cmd.vim
13872
13873Patch 8.2.2217
13874Problem: Vim9: command modifiers not restored in catch block.
13875Solution: Restore command modifiers. (closes #7542)
13876Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
13877
13878Patch 8.2.2218
13879Problem: Vim9: failure if passing more arguments to a lambda than expected.
13880Solution: Only put expected arguments on the stack. (closes #7548)
13881Files: src/vim9execute.c, src/testdir/test_vim9_builtin.vim
13882
13883Patch 8.2.2219
13884Problem: Vim9: method call with expression not supported.
13885Solution: Implement expr->(expr)().
13886Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
13887
13888Patch 8.2.2220
13889Problem: Vim9: memory leak when parsing nested parenthesis.
13890Solution: Clear newargs.
13891Files: src/userfunc.c
13892
13893Patch 8.2.2221
13894Problem: If <Down> is mapped on the command line 'wildchar' is inserted.
13895Solution: Set KeyTyped when using 'wildchar'. (closes #7552)
13896Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
13897
13898Patch 8.2.2222
13899Problem: Vim9: cannot keep script variables when reloading.
13900Solution: Add the "noclear" argument to :vim9script.
13901Files: runtime/doc/vim9.txt, src/structs.h, src/scriptfile.c,
13902 src/vim9script.c, src/ex_cmds.h, src/ex_docmd.c,
13903 src/testdir/test_vim9_script.vim
13904
13905Patch 8.2.2223
13906Problem: Vim9: Reloading marks a :def function as deleted.
13907Solution: Clear the function contents but keep the index.
13908Files: runtime/doc/vim9.txt, src/vim9compile.c, src/userfunc.c,
13909 src/testdir/test_vim9_script.vim
13910
13911Patch 8.2.2224
13912Problem: Vim9: crash if script reloaded with different variable type.
13913Solution: Check the type when accessing the variable.
13914Files: src/vim9execute.c, src/vim9compile.c, src/vim9.h, src/vim9type.c,
13915 src/proto/vim9type.pro, src/errors.h, src/evalvars.c,
13916 src/vim9script.c, src/proto/vim9script.pro,
13917 src/testdir/test_vim9_script.vim
13918
13919Patch 8.2.2225
13920Problem: Vim9: error when using :import in legacy script twice.
13921Solution: Make it possible to redefine an import when reloading.
13922Files: src/vim9script.c, src/proto/vim9script.pro, src/structs.h,
13923 src/evalvars.c, src/vim9compile.c,
13924 src/testdir/test_vim9_script.vim
13925
13926Patch 8.2.2226
13927Problem: Vim9: script test fails.
13928Solution: Add missing change.
13929Files: src/scriptfile.c
13930
13931Patch 8.2.2227
13932Problem: Vim9: recognizing lambda is too complicated.
13933Solution: Call compile_lambda() and check for NOTDONE.
13934Files: src/vim9compile.c, src/userfunc.c, src/testdir/test_vim9_expr.vim
13935
13936Patch 8.2.2228
13937Problem: Vim9: cannot use ":e #" because # starts a comment.
13938Solution: Support using %% instead of #.
13939Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
13940
13941Patch 8.2.2229
13942Problem: build failure without the +eval feature.
13943Solution: Add #ifdef.
13944Files: src/ex_docmd.c
13945
13946Patch 8.2.2230
13947Problem: Vim9: insert completion runs into error.
13948Solution: Insert colon before range. (closes #7556)
13949Files: src/insexpand.c, src/testdir/test_vim9_cmd.vim
13950
13951Patch 8.2.2231
13952Problem: When "--remote file" is used "file" is not reloaded.
13953Solution: When a :drop command is used for a file that is already displayed
13954 in a window and it has not been changed, check if it needs to be
13955 reloaded. (closes #7560)
13956Files: src/ex_cmds.c, src/testdir/test_clientserver.vim
13957
13958Patch 8.2.2232
13959Problem: Compiler error for falling through into next case.
13960Solution: Move FALLTHROUGH below the #endif
13961Files: src/ex_docmd.c
13962
13963Patch 8.2.2233
13964Problem: Cannot convert a byte index into a character index.
13965Solution: Add charidx(). (Yegappan Lakshmanan, closes #7561)
13966Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
13967 src/testdir/test_functions.vim
13968
13969Patch 8.2.2234
13970Problem: Command line wildmenu test often fails with Unix GUI.
13971Solution: Skip the test where it is expected to fail.
13972Files: src/testdir/test_cmdline.vim
13973
13974Patch 8.2.2235
13975Problem: Build failure with some Ruby versions.
13976Solution: Adjust the code for Ruby 3.0. (Ozaki Kiichi, closes #7564)
13977Files: ci/config.mk.clang.sed, src/if_ruby.c
13978
13979Patch 8.2.2236
13980Problem: 'scroll' option can change when setting the statusline or tabline
13981 but the option context is not updated.
13982Solution: Update the script context when the scroll option is changed as a
13983 side effect. (Christian Brabandt, closes #7533)
13984Files: runtime/doc/options.txt, src/scriptfile.c,
13985 src/testdir/test_options.vim, src/vim.h, src/window.c
13986
13987Patch 8.2.2237
13988Problem: CI on Mac fails in sed command.
13989Solution: Set LC_ALL to "C". (Ozaki Kiichi, closes #7565)
13990Files: .github/workflows/ci.yml
13991
13992Patch 8.2.2238
13993Problem: Vim9: cannot load a Vim9 script without the +eval feature.
13994Solution: Support Vim9 script syntax without the +eval feature.
13995Files: src/ex_docmd.c, src/vim9script.c, src/globals.h, src/main.c,
13996 src/autocmd.c, src/buffer.c, src/structs.h, src/menu.c,
13997 src/scriptfile.c, src/usercmd.c, src/proto.h, src/errors.h
13998
13999Patch 8.2.2239
14000Problem: Vim9: concatenating lines with backslash is inconvenient.
14001Solution: Support concatenating lines starting with '|', useful for
14002 :autocmd, :command, etc. (closes #6702)
14003Files: runtime/doc/vim9.txt, src/scriptfile.c, src/vim9script.c,
14004 src/proto/vim9script.pro, src/vim9compile.c,
14005 src/proto/vim9compile.pro, src/userfunc.c, src/structs.h,
14006 src/testdir/test_vim9_cmd.vim
14007
14008Patch 8.2.2240
14009Problem: Clientserver test fails if full path is used.
14010Solution: Ignore the path preceding the file name.
14011Files: src/testdir/test_clientserver.vim
14012
14013Patch 8.2.2241
14014Problem: Build with Ruby and clang may fail.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014015Solution: Adjust configure and sed script. (Ozaki Kiichi, closes #7566)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014016Files: ci/config.mk.clang.sed, src/auto/configure, src/configure.ac
14017
14018Patch 8.2.2242
14019Problem: Vim9: line continuation with bar does not work at script level.
14020Solution: Check for Vim9 script.
14021Files: src/structs.h, src/ex_docmd.c, src/userfunc.c, src/scriptfile.c,
14022 src/testdir/test_vim9_cmd.vim
14023
14024Patch 8.2.2243
14025Problem: Crash when popup mask contains zeroes.
14026Solution: Check boundaries properly. (closes #7569)
14027Files: src/popupwin.c, src/testdir/test_popupwin.vim
14028
14029Patch 8.2.2244
14030Problem: Crash when making the window width of the not-current window
14031 negative.
14032Solution: Make sure the window width is not negative. (closes #7568)
14033Files: src/window.c, src/testdir/test_window_cmd.vim
14034
14035Patch 8.2.2245
14036Problem: Vim9: return value of winrestcmd() cannot be executed.
14037Solution: Put colons before each range. (closes #7571)
14038Files: src/evalwindow.c, src/testdir/test_vim9_builtin.vim
14039
14040Patch 8.2.2246
14041Problem: Cursor keys not recognized at the hit-Enter prompt after executing
14042 an external command.
14043Solution: Change the codes for the extra cursor keys. (closes #7562)
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014044 Tune the delays to avoid test flakiness.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014045Files: runtime/doc/term.txt, src/term.c, src/testdir/test_terminal3.vim
14046
14047Patch 8.2.2247
14048Problem: VMS: various smaller problems.
14049Solution: Fix VMS building and other problems. (Zoltan Arpadffy)
14050Files: src/term.c, src/gui_gtk_vms.h, src/os_vms_conf.h, src/gui_x11.c,
14051 src/Make_vms.mms, src/macros.h, src/gui.h, src/os_unix.h
14052
14053Patch 8.2.2248
14054Problem: ASAN error on exit with GUI.
14055Solution: Check the window still has lines. (Christian Brabandt,
14056 closes #7573)
14057Files: src/term.c
14058
14059Patch 8.2.2249
Bram Moolenaar47c532e2022-03-19 15:18:53 +000014060Problem: Termcodes test is flaky when used over ssh with X forwarding.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014061Solution: Set 'mousetime' to a larger value. (Dominique Pellé, closes #7576,
14062 closes #7563)
14063Files: src/testdir/test_termcodes.vim
14064
14065Patch 8.2.2250
14066Problem: Vim9: sublist is ambiguous.
14067Solution: Require white space around the colon. (closes #7409)
14068Files: src/vim9compile.c, src/eval.c, src/testdir/test_vim9_expr.vim,
14069 src/testdir/test_vim9_disassemble.vim
14070
14071Patch 8.2.2251
14072Problem: Test failures in legacy script.
14073Solution: Check for Vim9 script.
14074Files: src/eval.c
14075
14076Patch 8.2.2252
14077Problem: Vim9: crash when using lambda without return type in dict.
14078Solution: Without a return type use t_unknown. (closes #7587)
14079Files: src/vim9type.c, src/vim9compile.c, src/testdir/test_vim9_expr.vim
14080
14081Patch 8.2.2253
14082Problem: Vim9: expr test fails.
14083Solution: Add missing assignment.
14084Files: src/userfunc.c
14085
14086Patch 8.2.2254
14087Problem: Vim9: bool option type is number.
14088Solution: Have get_option_value() return a different value for bool and
14089 number options. (closes #7583)
14090Files: src/option.h, src/option.c, src/proto/option.pro, src/evalvars.c,
14091 src/if_mzsch.c, src/if_ruby.c, src/spell.c, src/typval.c,
14092 src/vim9compile.c, src/testdir/test_vim9_assign.vim,
14093 src/testdir/test_vim9_cmd.vim
14094
14095Patch 8.2.2255 (after 8.2.2254)
14096Problem: Tcl test fails.
14097Solution: Change option handling.
14098Files: src/if_tcl.c
14099
14100Patch 8.2.2256
14101Problem: Vim9: cannot use function( after line break in :def function.
14102Solution: Check for "(" after "function". (closes #7581)
14103Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14104
14105Patch 8.2.2257
14106Problem: Vim9: using -> for lambda is ambiguous.
14107Solution: Stop supporting ->, must use =>.
14108Files: src/eval.c, src/vim9compile.c, src/testdir/test_vim9_assign.vim,
14109 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim,
14110 src/testdir/test_vim9_disassemble.vim,
14111 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
14112 src/testdir/test_vim9_script.vim
14113
14114Patch 8.2.2258
14115Problem: Not all OCaml related files are detected.
14116Solution: Update OCaml file type detection. (Markus Mottl, closes #7590)
14117Files: runtime/filetype.vim, src/testdir/test_filetype.vim
14118
14119Patch 8.2.2259
14120Problem: Test_Executable() fails when using chroot.
14121Solution: Ignore the difference between "sbin" and "bin".
14122Files: src/testdir/test_functions.vim
14123
14124Patch 8.2.2260
14125Problem: Window resize test fails in very wide terminal.
14126Solution: Resize using the 'columns' option. (Vladimir Lomov, closes #7592)
14127Files: src/testdir/test_window_cmd.vim
14128
14129Patch 8.2.2261
14130Problem: Vim9: boolean option gets string type.
14131Solution: Check for VAR_BOOL. (closes #7588)
14132Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
14133
14134Patch 8.2.2262
14135Problem: Vim9: converting bool to string prefixes v:.
14136Solution: Do not use the v: prefix.
14137Files: src/evalvars.c, src/testdir/test_vim9_expr.vim,
14138 src/testdir/test_vim9_disassemble.vim
14139
14140Patch 8.2.2263
14141Problem: Vim9: compilation error with try-catch in skipped block.
14142Solution: Do not bail out when generate_instr() returns NULL. (closes #7584)
14143Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
14144
14145Patch 8.2.2264
14146Problem: Vim9: no error for mismatched :endfunc or :enddef.
14147Solution: Check for the mismatch. (issue #7582)
14148Files: src/errors.h, src/userfunc.c, src/testdir/test_vim9_func.vim
14149
14150Patch 8.2.2265
14151Problem: Error message for missing endfunc/enddef is last line.
14152Solution: Report the line where the function starts. (closes #7582)
14153Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14154
14155Patch 8.2.2266
14156Problem: Vim9: it can be hard to see where white space is missing.
14157Solution: Mention the text where the error was seen. (closes #7580)
14158Files: src/errors.h, src/eval.c, src/evalvars.c, src/userfunc.c,
14159 src/vim9compile.c, src/testdir/test_vim9_expr.vim
14160
14161Patch 8.2.2267
14162Problem: Vim9: cannot use unlet for a dict member.
14163Solution: Pass GLV_NO_DECL to get_lval(). (closes #7585)
14164Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
14165
14166Patch 8.2.2268
14167Problem: Vim9: list unpack seen as declaration.
14168Solution: Check for "var". (closes #7594)
14169Files: src/vim9compile.c, src/evalvars.c, src/eval.c, src/vim.h,
14170 src/vim9execute.c, src/testdir/test_vim9_assign.vim
14171
14172Patch 8.2.2269
14173Problem: Not all :hardcopy code covered by tests.
14174Solution: Test more combinations. (Dominique Pellé, closes #7595)
14175Files: src/testdir/test_hardcopy.vim
14176
14177Patch 8.2.2270
14178Problem: Warning for size_t to int conversion. (Randall W. Morris)
14179Solution: Add a type cast.
14180Files: src/vim9execute.c
14181
14182Patch 8.2.2271
14183Problem: ml_get error when changing hidden buffer in Python.
14184Solution: Block updating folds. (closes #7598)
14185Files: src/evalbuffer.c, src/testdir/test_python3.vim
14186
14187Patch 8.2.2272
14188Problem: Vim9: extend() can violate the type of a variable.
14189Solution: Add the type to the dictionary or list and check items against it.
14190 (closes #7593)
14191Files: src/structs.h, src/evalvars.c, src/dict.c, src/list.c,
14192 src/vim9script.c, src/proto/vim9script.pro, src/vim9compile.c,
14193 src/vim9execute.c, src/testdir/test_vim9_builtin.vim,
14194 src/testdir/test_vim9_disassemble.vim
14195
14196Patch 8.2.2273
14197Problem: Build failure.
14198Solution: Add missing changes to header file.
14199Files: src/vim9.h
14200
14201Patch 8.2.2274
14202Problem: badge for Travis is outdated.
14203Solution: Update badge for move from travis-ci.org to travis-ci.com.
14204Files: README.md
14205
14206Patch 8.2.2275
14207Problem: CTRL-C not recognized in Mintty.
14208Solution: Recognize the modifyOtherKeys code ending in "u". (Christian
14209 Brabandt, closes #7575)
14210Files: src/ui.c
14211
14212Patch 8.2.2276
14213Problem: List of distributed files is outdated.
14214Solution: Update the file list. Minor comment updates.
14215Files: Filelist, src/clipboard.c, src/fileio.c, src/option.c,
14216 src/screen.c, src/testdir/test_signals.vim,
14217 src/testdir/Make_vms.mms
14218
14219Patch 8.2.2277
14220Problem: Missing backslash.
14221Solution: Add backslash.
14222Files: Filelist
14223
14224Patch 8.2.2278
14225Problem: Falling back to old regexp engine can some patterns.
14226Solution: Do not fall back once [[:lower:]] or [[:upper:]] is used.
14227 (Christian Brabandt, closes #7572)
14228Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test_regexp_utf8.vim
14229
14230Patch 8.2.2279
14231Problem: Vim9: memory leak with catch in skipped block.
14232Solution: Free the pattern if not used.
14233Files: src/vim9compile.c
14234
14235Patch 8.2.2280
14236Problem: Fuzzy matching doesn't give access to the scores.
14237Solution: Return the scores with a third list. (Yegappan Lakshmanan,
14238 closes #7596)
14239Files: runtime/doc/eval.txt, src/search.c,
14240 src/testdir/test_matchfuzzy.vim
14241
14242Patch 8.2.2281
14243Problem: Vim9: compiled "wincmd" cannot be followed by bar.
14244Solution: Check for bar after "wincmd". (closes #7599)
14245Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
14246
14247Patch 8.2.2282
14248Problem: Length check mismatch with argument of strncmp(). (Christian
14249 Brabandt)
14250Solution: Adjust length check.
14251Files: src/ui.c
14252
14253Patch 8.2.2283
14254Problem: Vim9: crash when lambda has fewer arguments than expected.
14255Solution: Don't check arguments when already failed. (closes #7606)
14256Files: src/vim9type.c, src/testdir/test_vim9_func.vim
14257
14258Patch 8.2.2284
14259Problem: Vim9: cannot set an option to a boolean value.
14260Solution: Check for VAR_BOOL. (closes #7603)
14261Files: src/evalvars.c, src/testdir/test_vim9_builtin.vim
14262
14263Patch 8.2.2285
14264Problem: Vim9: cannot set an option to a false.
14265Solution: For VAR_BOOL use string "0". (closes #7603)
14266Files: src/evalvars.c, src/testdir/test_vim9_builtin.vim
14267
14268Patch 8.2.2286
14269Problem: Sort test fails when locale is Canadian English. (Neil H Watson)
14270Solution: Expect a different sort order. (closes #7609)
14271Files: src/testdir/test_sort.vim
14272
14273Patch 8.2.2287
14274Problem: Sort test fails when locale is French Canadian.
14275Solution: Expect a different sort order. (Dominique Pellé, closes #7609)
14276Files: src/testdir/test_sort.vim
14277
14278Patch 8.2.2288
14279Problem: Vim9: line break and comment not always skipped.
14280Solution: Skip over white space and then line break more consistently.
14281 (closes #7610)
14282Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
14283
14284Patch 8.2.2289
14285Problem: Vim9: 'cpo' can become empty.
14286Solution: Use empty_option instead of an empty string. Update quickfix
14287 buffer after restoring 'cpo'. (closes #7608)
14288Files: src/evalfunc.c, src/syntax.c, src/eval.c, src/quickfix.c,
14289 src/evalbuffer.c, src/ex_eval.c, src/gui_motif.c, src/map.c,
14290 src/testdir/test_quickfix.vim
14291
14292Patch 8.2.2290
14293Problem: Vim9: unlet of global variable cannot be compiled.
14294Solution: Skip over variables that might be defined later. Give an error if
14295 a subscript is found. (closes #7585)
14296Files: src/eval.c, src/vim9compile.c, src/vim.h,
14297 src/testdir/test_vim9_assign.vim
14298
14299Patch 8.2.2291
14300Problem: Vim9: cannot use "null" for v:null.
14301Solution: Support "null" like "true" and "false". (closes #7495)
14302Files: runtime/doc/vim9.txt, src/vim9compile.c, src/evalvars.c,
14303 src/testdir/test_vim9_expr.vim
14304
14305Patch 8.2.2292
14306Problem: Vim: expr test fails.
14307Solution: Add missing part of "null" support.
14308Files: src/eval.c
14309
14310Patch 8.2.2293
14311Problem: Build failure with Motif. (Tony Mechelynck)
14312Solution: Use empty_option instead of empty_options.
14313Files: src/gui_motif.c
14314
14315Patch 8.2.2294
14316Problem: VMS: a few remaining problems.
14317Solution: Add VMS specific changes. Add Lua support. (Zoltan Arpadffy)
14318Files: src/fileio.c, src/os_vms_conf.h, src/Make_vms.mms, src/macros.h,
14319 src/os_vms.c, src/vim9execute.c, src/gui_xmebw.c, src/os_unix.h
14320
14321Patch 8.2.2295
14322Problem: Incsearch does not detect empty pattern properly.
14323Solution: Return magic state when skipping over a pattern. (Christian
14324 Brabandt, closes #7612, closes #6420)
14325Files: src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c, src/globals.h,
14326 src/option.c, src/tag.c, src/proto/regexp.pro, src/regexp.c,
14327 src/search.c, src/structs.h, src/vim9compile.c,
14328 src/testdir/dumps/Test_incsearch_sub_01.dump,
14329 src/testdir/dumps/Test_incsearch_sub_02.dump,
14330 src/testdir/test_search.vim
14331
14332Patch 8.2.2296
14333Problem: Cannot use CTRL-N and CTRL-P in a popup menu.
14334Solution: Use CTRL-N like <Down> and CTRL-P like <Up>. (closes #7614)
14335Files: runtime/doc/popup.txt, src/popupwin.c,
14336 src/testdir/test_popupwin.vim
14337
14338Patch 8.2.2297
14339Problem: Vim9: cannot set 'number' to a boolean value.
14340Solution: Use tv_get_bool(). (closes #7615)
14341Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
14342
14343Patch 8.2.2298
14344Problem: Vim9: comment right after "(" of function not recognized.
14345Solution: Do not skip over white space before calling get_function_args().
14346 (closes #7613)
14347Files: src/userfunc.c, src/proto/userfunc.pro,
14348 src/testdir/test_vim9_func.vim
14349
14350Patch 8.2.2299
14351Problem: Vim9: invalid memory access making error message flaky.
14352Solution: Do not check cmd_argt for CMD_USER. (issue #7467)
14353Files: src/ex_docmd.c, src/vim9execute.c, src/errors.h,
14354 src/vim9compile.c, src/testdir/test_vim9_cmd.vim
14355
14356Patch 8.2.2300
14357Problem: Vim9: wrong order on type stack when using dict.
14358Solution: Generate constants before a dict. (closes #7619)
14359Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
14360
14361Patch 8.2.2301
14362Problem: Vim9: cannot unlet a dict or list item.
14363Solution: Add ISN_UNLETINDEX. Refactor assignment code to use for unlet.
14364Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c,
14365 src/testdir/test_vim9_assign.vim
14366
14367Patch 8.2.2302
14368Problem: Vim9: using an option value may use uninitialized memory.
14369Solution: Clear v_lock. (closes #7620)
14370Files: src/typval.c, src/testdir/test_vim9_expr.vim
14371
14372Patch 8.2.2303
14373Problem: Vim9: backtick expansion doesn't work for :foldopen.
14374Solution: Do recognize backtick expansion. (closes #7621)
14375Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
14376
14377Patch 8.2.2304
14378Problem: Vim9: no test for unletting an imported variable.
14379Solution: Add a test. Fix line number in error.
14380Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim
14381
14382Patch 8.2.2305
14383Problem: Vim9: "++var" and "--var" are silently accepted.
14384Solution: Give an error message.
14385Files: src/vim9compile.c, src/eval.c, src/proto/eval.pro,
14386 src/testdir/test_vim9_expr.vim
14387
14388Patch 8.2.2306
14389Problem: Vim9: when using function reference type is not checked.
14390Solution: When using a function reference lookup the type and check the
14391 argument types. (issue #7629)
14392Files: src/userfunc.c, src/proto/userfunc.pro, src/eval.c, src/structs.h,
14393 src/vim9type.c, src/proto/vim9type.pro, src/vim9compile.c,
14394 src/vim9execute.c, src/evalvars.c, src/evalfunc.c,
14395 src/testdir/test_vim9_func.vim
14396
14397Patch 8.2.2307
14398Problem: A shell command in the vimrc causes terminal output.
14399Solution: Do not call starttermcap() after a shell command if the termcap
14400 wasn't active before.
14401Files: src/ex_cmds.c
14402
14403Patch 8.2.2308
14404Problem: Vim9: no error when assigning lambda to funcref without return
14405 value.
14406Solution: Default return value to "any". (closes #7629)
14407Files: src/userfunc.c, src/vim9compile.c,
14408 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_func.vim
14409
14410Patch 8.2.2309
14411Problem: 0o777 not recognized as octal.
14412Solution: Use vim_isodigit(). (Ken Takata, closes #7633, closes #7631)
14413Files: src/charset.c, src/testdir/test_eval_stuff.vim
14414
14415Patch 8.2.2310
14416Problem: Vim9: winsaveview() return type is too generic.
14417Solution: use dict<number> instead of dict<any>. (closes #7626)
14418Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
14419
14420Patch 8.2.2311
14421Problem: Vim9: cannot assign to a variable that shadows a command modifier.
14422Solution: Check for assignment after possible command modifier.
14423 (closes #7632)
14424Files: src/vim9compile.c, src/ex_docmd.c,
14425 src/testdir/test_vim9_assign.vim
14426
14427Patch 8.2.2312
14428Problem: Build failure with Ruby 3.0 and 32 bits.
14429Solution: Add #ifdef. (closes #7638)
14430Files: src/if_ruby.c
14431
14432Patch 8.2.2313
14433Problem: Vim9: using uninitialized field when parsing range. ":silent!" not
14434 respected when parsing range fails.
14435Solution: Initialize ea.skip. On pattern failure handle it like an error.
14436 (closes #7636)
14437Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
14438
14439Patch 8.2.2314
14440Problem: Vim9: returning zero takes two instructions.
14441Solution: Add ISN_RETURN_ZERO.
14442Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
14443 src/testdir/test_vim9_disassemble.vim
14444
14445Patch 8.2.2315
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014446Problem: Vim9: "enddef" as dict key misinterpreted as function end.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014447Solution: Check for following colon. (closes #7640)
14448Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14449
14450Patch 8.2.2316
14451Problem: Vim9: cannot list a lambda function.
14452Solution: Support the <lambda>9 notation, like :disassemble. (closes #7634)
14453Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14454
14455Patch 8.2.2317
14456Problem: Vim9: command modifier before list unpack doesn't work.
14457Solution: Only recognize "[" directly after the name. (closes #7641)
14458Files: src/ex_docmd.c, src/testdir/test_vim9_assign.vim
14459
14460Patch 8.2.2318
14461Problem: Vim9: string and list index work differently.
14462Solution: Make string index work like list index. (closes #7643)
14463Files: src/eval.c, src/proto/eval.pro, src/vim9execute.c, src/list.c,
14464 src/proto/vim9execute.pro, src/testdir/test_vim9_expr.vim
14465
14466Patch 8.2.2319
14467Problem: "exptype_T" can be read as "expected type".
14468Solution: Rename to "exprtype_T", expression type.
14469Files: src/eval.c, src/typval.c, src/proto/typval.pro, src/vim9compile.c,
14470 src/proto/vim9compile.pro, src/vim9execute.c, src/structs.h,
14471 src/vim9.h
14472
14473Patch 8.2.2320
14474Problem: Vim9: no error for comparing bool with string.
14475Solution: Check for wrong types when comparing. (closes #7639)
14476Files: src/typval.c, src/errors.h, src/testdir/test_vim9_expr.vim
14477
14478Patch 8.2.2321
14479Problem: Vim9: cannot nest closures.
14480Solution: Add the nesting level to ISN_LOADOUTER and ISN_STOREOUTER.
14481 (closes #7150, closes #7635)
14482Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/structs.h,
14483 src/testdir/test_vim9_disassemble.vim,
14484 src/testdir/test_vim9_func.vim
14485
14486Patch 8.2.2322
14487Problem: Vim9: closure nested limiting to one level.
14488Solution: Add outer_T. Also make STOREOUTER work.
14489Files: src/vim9execute.c, src/vim9.h, src/structs.h,
14490 src/testdir/test_vim9_func.vim
14491
14492Patch 8.2.2323
14493Problem: Vim9: error when inferring type from empty dict/list.
14494Solution: When the member is t_unknown use t_any. (closes #7009)
14495Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
14496
14497Patch 8.2.2324
14498Problem: Not easy to get mark en cursor position by character count.
14499Solution: Add functions that use character index. (Yegappan Lakshmanan,
14500 closes #7648)
14501Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/eval.c,
14502 src/evalfunc.c, src/proto/eval.pro, src/tag.c,
14503 src/testdir/test_cursor_func.vim, src/typval.c
14504
14505Patch 8.2.2325
14506Problem: Vim9: crash if map() changes the item type.
14507Solution: Check that the item type is still OK. (closes #7652)
14508 Fix problem with mapnew() on range list.
14509Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9compile.c,
14510 src/list.c, src/testdir/test_vim9_builtin.vim,
14511 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim
14512
14513Patch 8.2.2326
14514Problem: Build error with +eval feature but without +spell.
14515Solution: Adjust #ifdef. (John Marriott)
14516Files: src/mbyte.c
14517
14518Patch 8.2.2327
14519Problem: Debugging code included.
14520Solution: Remove the debugging code.
14521Files: src/vim9execute.c
14522
14523Patch 8.2.2328
14524Problem: Some test files may not be deleted.
14525Solution: Add a delete() call, correct name. (Dominique Pellé, closes #7654)
14526Files: src/testdir/test_clientserver.vim,
14527 src/testdir/test_vim9_script.vim
14528
14529Patch 8.2.2329
14530Problem: Not all ways Vim can be started are tested.
14531Solution: Add a test for different program names. (Dominique Pellé,
14532 closes #7651)
14533Files: src/testdir/test_startup.vim
14534
14535Patch 8.2.2330
14536Problem: Vim9: crash when using :trow in a not executed block.
14537Solution: Don't generate the instruction when skipping. (closes #7659)
14538Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
14539
14540Patch 8.2.2331
14541Problem: Vim9: wrong error when modifying dict declared with :final.
14542Solution: Do not check for writable variable when an index follows.
14543 (closes #7657)
14544Files: src/vim9compile.c, src/structs.h, src/vim9script.c,
14545 src/proto/vim9script.pro, src/evalvars.c,
14546 src/testdir/test_vim9_assign.vim
14547
14548Patch 8.2.2332
14549Problem: Vim9: missing :endif not reported when using :windo.
14550Solution: Pass a getline function to do_cmdline(). (closes #7650)
14551Files: src/vim9execute.c, src/structs.h, src/scriptfile.c,
14552 src/testdir/test_vim9_cmd.vim
14553
14554Patch 8.2.2333
14555Problem: Vim9: warning for uninitialized variable. (Tony Mechelynck)
14556Solution: Initialize "res".
14557Files: src/vim9execute.c
14558
14559Patch 8.2.2334
14560Problem: Pascal-like filetypes not always detected.
14561Solution: Improved Puppet, InstantFPC and Pascal detection. (Doug Kearns,
14562 closes #7662)
14563Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
14564 runtime/scripts.vim, src/testdir/test_filetype.vim
14565
14566Patch 8.2.2335
14567Problem: Vim9: "silent return" does not restore command modifiers.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014568Solution: Restore command modifiers before returning. (closes #7649)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014569Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
14570
14571Patch 8.2.2336
14572Problem: Vim9: it is not possible to extend a dictionary with different
14573 item types.
14574Solution: Add extendnew(). (closes #7666)
14575Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
14576 src/list.c, src/proto/list.pro, src/testdir/test_listdict.vim,
14577 src/testdir/test_vim9_builtin.vim
14578
14579Patch 8.2.2337
14580Problem: Configure test for GTK only says "no". (Harm te Hennepe)
14581Solution: Hint that a -def package is needed. (closes #5229)
14582Files: src/configure.ac, src/auto/configure
14583
14584Patch 8.2.2338
14585Problem: Vim9: no error if using job_info() result wrongly.
14586Solution: Adjust return type on number of arguments. (closes #7667)
14587Files: src/evalfunc.c, src/globals.h, src/testdir/test_vim9_builtin.vim
14588
14589Patch 8.2.2339
14590Problem: Cannot get the type of a value as a string.
14591Solution: Add typename().
14592Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
14593 src/vim9type.c, src/proto/vim9type.pro,
14594 src/testdir/test_vimscript.vim, src/testdir/test_vim9_builtin.vim
14595
14596Patch 8.2.2340
14597Problem: win_execute() unexpectedly returns number zero when failing.
14598Solution: Return an empty string. (closes #7665)
14599Files: src/evalwindow.c, src/testdir/test_vim9_builtin.vim,
14600 src/testdir/test_execute_func.vim
14601
14602Patch 8.2.2341
14603Problem: Expression command line completion shows variables but not
14604 functions after "g:". (Gary Johnson)
14605Solution: Prefix "g:" when needed to a global function.
14606Files: src/evalfunc.c, src/evalvars.c, src/proto/evalvars.pro,
14607 src/testdir/test_cmdline.vim
14608
14609Patch 8.2.2342
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014610Problem: "char" functions return the wrong column in Insert mode when the
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014611 cursor is beyond the end of the line.
14612Solution: Compute the column correctly. (Yegappan Lakshmanan, closes #7669)
14613Files: src/eval.c, src/evalfunc.c, src/testdir/test_cursor_func.vim
14614
14615Patch 8.2.2343
14616Problem: Vim9: return type of readfile() is any.
14617Solution: Add readblob() so that readfile() can be expected to always
14618 return a list of strings. (closes #7671)
14619Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
14620 src/filepath.c, src/proto/filepath.pro,
14621 src/testdir/test_vim9_builtin.vim
14622
14623Patch 8.2.2344
14624Problem: Using inclusive index for slice is not always desired.
14625Solution: Add the slice() method, which has an exclusive index. (closes
14626 #7408)
14627Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
14628 src/eval.c, src/proto/eval.pro, src/vim9execute.c,
14629 src/proto/vim9execute.pro, src/list.c, src/proto/list.pro,
14630 src/testdir/test_vim9_builtin.vim
14631
14632Patch 8.2.2345
14633Problem: No focus events in a terminal.
14634Solution: Add the t_fd and t_fe termcap entries and implement detecting
14635 focus events. (Hayaki Saito, Magnus GroĂź, closes #7673,
14636 closes #609, closes #5526)
14637Files: runtime/doc/term.txt, src/optiondefs.h, src/term.c, src/term.h
14638
14639Patch 8.2.2346
14640Problem: Codecov reports every little coverage drop.
14641Solution: Tolerate a 0.05% drop. Hide the appveyor config file. (Ozaki
14642 Kiichi, closes #7678)
14643Files: .appveyor.yml, appveyor.yml, .codecov.yml
14644
14645Patch 8.2.2347
14646Problem: Build failure without GUI.
14647Solution: Add #ifdef.
14648Files: src/term.c
14649
14650Patch 8.2.2348 (after 8.2.2345)
14651Problem: No check for modified files after focus gained. (Mathias Stearn)
14652Solution: Call ui_focus_change().
14653Files: src/term.c, src/ui.c
14654
14655Patch 8.2.2349
14656Problem: Vim9: cannot handle line break after parenthesis at line end.
14657Solution: Skip over line break. (closes #7677)
14658Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
14659
14660Patch 8.2.2350
14661Problem: Using "void" for no reason.
14662Solution: Use "char *".
14663Files: src/ex_docmd.c
14664
14665Patch 8.2.2351
14666Problem: Vim9: error message for "throw" in function that was called with
14667 "silent!".
14668Solution: Do not throw the exception when not caught or displayed.
14669 (closes #7672)
14670Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
14671
14672Patch 8.2.2352
14673Problem: If the focus lost/gained escape sequence is received twice it is
14674 not ignored. (Christ van Willigen)
14675Solution: Adjust the logic to ignore the escape code.
14676Files: src/term.c
14677
14678Patch 8.2.2353
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014679Problem: Sparql files are not detected.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014680Solution: Add the sparql filetype. (closes #7679)
14681Files: runtime/filetype.vim, src/testdir/test_filetype.vim
14682
14683Patch 8.2.2354
14684Problem: Crash with a weird combination of autocommands.
14685Solution: Increment b_nwindows when needed. (closes #7674)
14686Files: src/ex_cmds.c, src/buffer.c, src/proto/buffer.pro,
14687 src/testdir/test_autocmd.vim
14688
14689Patch 8.2.2355
14690Problem: Stray test failure on Appveyor.
14691Solution: Finish insert command.
14692Files: src/testdir/test_autocmd.vim
14693
14694Patch 8.2.2356
14695Problem: Vim9: ":put =expr" does not handle a list properly.
14696Solution: Use the same logic as eval_to_string_eap(). (closes #7684)
14697Files: src/vim9execute.c, src/eval.c, src/proto/eval.pro,
14698 src/testdir/test_vim9_cmd.vim
14699
14700Patch 8.2.2357
14701Problem: Vim9: crash when parsing function return type fails.
14702Solution: Bail out and set return type to "unknown". (closes #7685)
14703Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14704
14705Patch 8.2.2358
14706Problem: Wrong #ifdef for use_xterm_like_mouse().
14707Solution: Use FEAT_MOUSE_XTERM.
14708Files: src/term.c
14709
14710Patch 8.2.2359
14711Problem: Strange test failure with MS-Windows.
14712Solution: Skip the system() call for now.
14713Files: src/testdir/test_autocmd.vim
14714
14715Patch 8.2.2360
14716Problem: Test leaves file behind.
14717Solution: Delete the right file. (Dominique Pellé, closes #7689)
14718Files: src/testdir/test_filetype.vim
14719
14720Patch 8.2.2361
14721Problem: Vim9: no highlight for "s///gc" when using 'opfunc'.
14722Solution: Reset 'lazyredraw' temporarily. (closes #7687)
14723Files: src/ex_cmds.c
14724
14725Patch 8.2.2362
14726Problem: Vim9: check of builtin function argument type is incomplete.
14727Solution: Use need_type() instead of check_arg_type().
14728Files: src/vim9compile.c, src/proto/vim9compile.pro, src/evalfunc.c,
14729 src/proto/evalfunc.pro, src/vim9type.c, src/proto/vim9type.pro,
14730 src/testdir/test_vim9_builtin.vim
14731
14732Patch 8.2.2363
14733Problem: curpos() does not accept a string argument as before.
14734solution: Make a string argument work again. (Yegappan Lakshmanan,
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014735 closes #7690)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014736Files: src/evalfunc.c, src/testdir/test_cursor_func.vim
14737
14738Patch 8.2.2364
14739Problem: Vim9: line break in lambda accesses freed memory.
14740Solution: Make a copy of the return type. (closes #7664)
14741Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14742
14743Patch 8.2.2365
14744Problem: Vim9: no check for map() changing item type at script level.
14745Solution: Check the new value type.
14746Files: src/list.c, src/testdir/test_vim9_builtin.vim,
14747 src/testdir/test_vim9_assign.vim
14748
14749Patch 8.2.2366
14750Problem: When using ":sleep" the cursor is always displayed.
14751Solution: Do not display the cursor when using ":sleep!". (Jeremy Lerner,
14752 closes #7688)
14753Files: runtime/doc/index.txt, runtime/doc/various.txt, src/ex_cmds.h,
14754 src/ex_docmd.c, src/normal.c, src/proto/ex_docmd.pro, src/term.c,
14755 src/testdir/Make_all.mak, src/testdir/test_sleep.vim
14756
14757Patch 8.2.2367
14758Problem: Test failures on some less often used systems.
14759Solution: Adjust printf formats and types. (James McCoy, closes #7691)
14760Files: src/errors.h, src/evalfunc.c, src/list.c, src/vim9execute.c
14761
14762Patch 8.2.2368
14763Problem: Insufficient tests for setting options.
14764Solution: Add a few tests. (Dominique Pellé, closes #7695)
14765Files: src/testdir/test_options.vim
14766
14767Patch 8.2.2369
14768Problem: Vim9: functions return true/false but can't be used as bool.
14769Solution: Add ret_number_bool(). (closes #7693)
14770Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim,
14771 src/testdir/test_vim9_disassemble.vim
14772
14773Patch 8.2.2370
14774Problem: Vim9: command fails in catch block.
14775Solution: Reset force_abort and need_rethrow. (closes #7692)
14776Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
14777
14778Patch 8.2.2371
14779Problem: Vim9: crash when using types in :for with unpack.
14780Solution: Check for skip_var_list() failing. Pass include_type to
14781 skip_var_one(). Skip type when compiling. (closes #7694)
14782Files: src/vim9compile.c, src/evalvars.c,
14783 src/testdir/test_vim9_script.vim
14784
14785Patch 8.2.2372 (after 8.2.2371)
14786Problem: Confusing error message for wrong :let command.
14787Solution: Only check for type in Vim9 script.
14788Files: src/evalvars.c
14789
14790Patch 8.2.2373
14791Problem: Vim9: list assignment only accepts a number index.
14792Solution: Accept "any" and do a runtime type check. (closes #7694)
14793Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
14794
14795Patch 8.2.2374
14796Problem: Accessing uninitialized memory in test_undo.
14797Solution: Do not look in typebuf.tb_buf if it is empty. (Dominique Pellé,
14798 closes #7697)
14799Files: src/edit.c
14800
14801Patch 8.2.2375
14802Problem: Test for RGB color skipped in the terminal.
14803Solution: Run the GUI if possible.
14804Files: src/testdir/test_highlight.vim
14805
14806Patch 8.2.2376
14807Problem: Vim9: crash when dividing by zero in compiled code using
14808 constants.
14809Solution: Call num_divide() and num_modulus(). (closes #7704)
14810Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
14811
14812Patch 8.2.2377
14813Problem: Vim9: crash when using a range after another expression.
14814Solution: Set the variable type to number. Fix using :put with a range and
14815 the "=" register. (closes #7706)
14816Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
14817
14818Patch 8.2.2378
14819Problem: Vim9: no error message for dividing by zero.
14820Solution: Give an error message. (issue #7704)
14821Files: src/errors.h, src/eval.c, src/vim9execute.c,
14822 src/testdir/test_vim9_expr.vim
14823
14824Patch 8.2.2379
14825Problem: Finding spell suggestions twice if 'spellsuggest' contains number.
14826Solution: Only do internal suggestions once. (closes #7713)
14827Files: src/spellsuggest.c
14828
14829Patch 8.2.2380
14830Problem: Vim9: occasional crash when using try/catch and a timer.
14831Solution: Save and restore "need_rethrow" when invoking a timer callback.
14832 (closes #7708)
14833Files: src/time.c
14834
14835Patch 8.2.2381
14836Problem: Vim9: divide by zero does not abort expression execution.
14837Solution: Use a "failed" flag. (issue #7704)
14838Files: src/eval.c, src/proto/eval.pro, src/evalvars.c, src/vim9compile.c,
14839 src/testdir/vim9.vim, src/testdir/test_vim9_assign.vim
14840
14841Patch 8.2.2382 (after 8.2.2381)
14842Problem: Build failure.
14843Solution: Add missing changes.
14844Files: src/vim9execute.c
14845
14846Patch 8.2.2383
14847Problem: Focus escape sequences are not named in ":set termcap" output.
14848Solution: Add the names to the list. (closes #7718)
14849Files: src/misc2.c
14850
14851Patch 8.2.2384
14852Problem: Turtle filetype not recognized.
14853Solution: Add a rule to detect turtle files. (closes #7722)
14854Files: runtime/filetype.vim, src/testdir/test_filetype.vim
14855
14856Patch 8.2.2385
14857Problem: "gj" and "gk" do not work correctly when inside a fold.
14858Solution: Move check for folding. (closes #7724, closes #4095)
14859Files: src/normal.c, src/testdir/test_fold.vim
14860
14861Patch 8.2.2386
14862Problem: Vim9: crash when using ":silent! put".
14863Solution: When ignoring an error for ":silent!" rewind the stack and skip
14864 ahead to restoring the cmdmod. (closes #7717)
14865Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
14866
14867Patch 8.2.2387
14868Problem: Runtime type check does not mention argument index.
14869Solution: Add ct_arg_idx. (closes #7720)
14870Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
14871 src/testdir/test_vim9_builtin.vim,
14872 src/testdir/test_vim9_disassemble.vim,
14873 src/testdir/test_vim9_func.vim
14874
14875Patch 8.2.2388
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014876Problem: No easy way to get the maximum or minimum number value.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014877Solution: Add v:numbermax and v:numbermin.
14878Files: src/evalvars.c, src/vim.h, src/testdir/test_eval_stuff.vim,
14879 runtime/doc/eval.txt
14880
14881Patch 8.2.2389
14882Problem: Test failure on a few systems.
14883Solution: Avoid that "char" value is negative.
14884Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h
14885
14886Patch 8.2.2390
14887Problem: Vim9: using positive offset is unexpected.
14888Solution: Use int8_T instead of char. (James McCoy)
14889Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c
14890
14891Patch 8.2.2391
14892Problem: Memory leak when creating a global function with closure.
14893Solution: Create a separate partial for every instantiated function.
14894Files: src/userfunc.c, src/vim9execute.c
14895
14896Patch 8.2.2392
14897Problem: Fennel filetype not recognized.
14898Solution: Detect with pattern and hashbang. (Chinmay Dalal, closes #7729)
14899Files: runtime/filetype.vim, runtime/scripts.vim,
14900 src/testdir/test_filetype.vim
14901
14902Patch 8.2.2393
14903Problem: Vim9: error message when script line starts with "[{".
14904Solution: Do not give an error for checking for end of list.
14905Files: src/dict.c, src/testdir/test_vim9_script.vim
14906
14907Patch 8.2.2394
14908Problem: Vim9: min() and max() return type is "any".
14909Solution: Use return type "number". (closes #7728)
14910Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
14911
14912Patch 8.2.2395
14913Problem: Vim9: error for wrong type may report wrong line number.
14914Solution: Save and restore the line number when evaluating the expression.
14915 (closes #7727)
14916Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
14917
14918Patch 8.2.2396
14919Problem: Vim9: no white space allowed before "->".
14920Solution: Allow for white space. (closes #7725)
14921Files: src/ex_docmd.c, src/eval.c, src/testdir/test_vim9_cmd.vim
14922
14923Patch 8.2.2397
14924Problem: Vim9: "%%" not seen as alternate file name for commands with a
14925 buffer name argument.
14926Solution: Recognize "%%" like "#". (closes #7732)
14927Files: src/buffer.c, src/testdir/test_vim9_cmd.vim
14928
14929Patch 8.2.2398 (after 8.2.2396)
14930Problem: Method test fails.
14931Solution: Adjust test for allowed white space.
14932Files: src/testdir/test_method.vim
14933
14934Patch 8.2.2399 (after 8.2.2385)
14935Problem: Fold test fails in wide terminal.
14936Solution: Adjust the test. (Dominique Pelle, closes #7731, closes #7739)
14937Files: src/testdir/test_fold.vim
14938
14939Patch 8.2.2400
14940Problem: Vim9: compiled functions are not profiled.
14941Solution: Add initial changes to profile compiled functions. Fix that a
14942 script-local function was hard to debug.
14943Files: runtime/doc/repeat.txt, src/vim9.h, src/vim9compile.c,
14944 src/vim9execute.c, src/userfunc.c, src/proto/vim9compile.pro,
14945 src/structs.h, src/vim9type.c, src/debugger.c, src/ex_cmds.h,
14946 src/ex_docmd.c, src/profiler.c, src/proto/profiler.pro,
14947 src/testdir/test_vim9_disassemble.vim,
14948 src/testdir/test_profile.vim
14949
14950Patch 8.2.2401
14951Problem: Build fails without +profiling feature.
14952Solution: Add #ifdefs.
14953Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h, src/structs.h,
14954 src/testdir/test_vim9_disassemble.vim
14955
14956Patch 8.2.2402
14957Problem: Some filetypes not detected.
14958Solution: Detect Ruby Signature and Puppet related files. (Doug Kearns)
14959Files: runtime/filetype.vim, src/testdir/test_filetype.vim
14960
14961Patch 8.2.2403
14962Problem: Vim9: profiling if/elseif/endif not correct.
14963Solution: Add profile instructions. Fix that "elseif" was wrong.
14964Files: src/vim9compile.c, src/testdir/test_profile.vim,
14965 src/testdir/test_vim9_script.vim,
14966 src/testdir/test_vim9_disassemble.vim
14967
14968Patch 8.2.2404
14969Problem: Vim9: profiling try/catch not correct.
14970Solution: Add profile instructions. Fix that "entry" did not rethrow an
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014971 exception.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014972Files: src/vim9compile.c, src/vim9execute.c, src/testdir/test_profile.vim
14973
14974Patch 8.2.2405
14975Problem: Vim9: no need to allow white space before "(" for :def.
14976Solution: Give an error for stray white space. (issue #7734)
14977Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14978
14979Patch 8.2.2406
14980Problem: Vim9: profiled :def function leaks memory.
14981Solution: Delete the profiled instructions.
14982Files: src/vim9compile.c
14983
14984Patch 8.2.2407
14985Problem: Old jumplist code is never used.
14986Solution: Delete the dead code. (Yegappan Lakshmanan, closes #7740)
14987Files: src/mark.c
14988
14989Patch 8.2.2408
14990Problem: MinGW: "--preprocessor" flag no longer supported.
14991Solution: Remove the flag, use the defaults. (Christopher Wellons,
14992 closes #7741)
14993Files: src/GvimExt/Make_ming.mak, src/Make_cyg_ming.mak
14994
14995Patch 8.2.2409
14996Problem: Vim9: profiling only works for one function.
14997Solution: Select the right instructions when calling and returning.
14998 (closes #7743)
14999Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h,
15000 src/testdir/test_profile.vim
15001
15002Patch 8.2.2410
15003Problem: Build failure without the +profiling feature.
15004Solution: Add dummy argument to macro.
15005Files: src/vim9.h
15006
15007Patch 8.2.2411
15008Problem: Profile test fails on MS-Windows.
15009Solution: Do the profiling in a separate Vim command.
15010Files: src/testdir/test_profile.vim
15011
15012Patch 8.2.2412
15013Problem: Not all fields in "cstack" are initialized which might cause a
15014 crash.
15015Solution: Use CLEAR_FIELD().
15016Files: src/ex_docmd.c
15017
15018Patch 8.2.2413
15019Problem: Crash when using :all while using a cmdline window. (Zdenek Dohnal)
15020Solution: Disallow :all from the cmdline window.
15021Files: src/arglist.c, src/ex_getln.c, src/testdir/test_arglist.vim
15022
15023Patch 8.2.2414
15024Problem: Using freed memory when closing the cmdline window.
15025Solution: Check the window is still valid.
15026Files: src/ex_getln.c
15027
15028Patch 8.2.2415
15029Problem: No way to check for the cmdwin feature, cmdline_hist is now always
15030 enabled.
15031Solution: Add has('cmdwin') support. Skip arglist test on Windows
15032 temporarily.
15033Files: runtime/doc/cmdline.txt, src/evalfunc.c,
15034 src/testdir/test_autocmd.vim, src/testdir/test_arglist.vim,
15035 src/testdir/test_cmdline.vim, src/testdir/test_ins_complete.vim,
15036 src/testdir/test_normal.vim, src/testdir/test_tabpage.vim,
15037 src/testdir/test_termcodes.vim, src/testdir/test_window_cmd.vim
15038
15039Patch 8.2.2416
15040Problem: May get stuck in command line window state.
15041Solution: Reset "cmdwin_type" when editing buffer fails. Make arglist test
15042 pass on MS-Windows.
15043Files: src/ex_getln.c, src/testdir/test_arglist.vim
15044
15045Patch 8.2.2417
15046Problem: Condition stack values may be used when not set.
15047Solution: Clear cs_script_var_len and cs_block_id just in case they get used
15048 later. (issue #7733)
15049Files: src/ex_eval.c
15050
15051Patch 8.2.2418
15052Problem: Color not changed if ModeMsg highlight is set in InsertEnter
15053 autocmd event. (Paul Swanson)
15054Solution: Call highlight_changed() after triggering InsertEnter.
15055 (closes #7751)
15056Files: src/edit.c
15057
15058Patch 8.2.2419
15059Problem: Autocmd test was failing on MS-Windows with GUI.
15060Solution: Remove stray feedkeys().
15061Files: src/testdir/test_autocmd.vim
15062
15063Patch 8.2.2420
15064Problem: Too many problems with using all autocommand events.
15065Solution: Disallow defining an autocommand for all events.
15066Files: src/autocmd.c, src/errors.h, src/testdir/test_autocmd.vim,
15067 src/testdir/test_quickfix.vim, src/testdir/test_window_cmd.vim
15068
15069Patch 8.2.2421
15070Problem: Double free when using autocommand with "argdel". (Houyunsong)
15071Solution: Add the arglist_locked flag.
15072Files: src/arglist.c, src/testdir/test_autocmd.vim
15073
15074Patch 8.2.2422
15075Problem: Crash when deleting with line number out of range. (Houyunsong)
15076Solution: Avoid using a negative line number.
15077Files: src/normal.c, src/testdir/test_ex_mode.vim
15078
15079Patch 8.2.2423 (after 8.2.2422)
15080Problem: Missing error message.
15081Solution: Add the error message.
15082Files: src/errors.h
15083
15084Patch 8.2.2424
15085Problem: Some tests are known to cause an error with ASAN.
15086Solution: Add CheckNotAsan.
15087Files: src/testdir/check.vim, src/testdir/test_ins_complete.vim,
15088 src/testdir/test_memory_usage.vim, src/testdir/test_ex_mode.vim
15089
15090Patch 8.2.2425
15091Problem: Cursor on invalid line with range and :substitute.
15092Solution: Do not move the cursor when skipping commands. (closes #3434)
15093Files: src/ex_cmds.c, src/testdir/test_eval_stuff.vim
15094
15095Patch 8.2.2426
15096Problem: Allowing 'completefunc' to switch windows causes trouble.
15097Solution: use "textwinlock" instead of "textlock".
15098Files: src/insexpand.c, src/testdir/test_ins_complete.vim,
15099 src/testdir/test_popup.vim
15100
15101Patch 8.2.2427
15102Problem: Can still switch windows for 'completefunc'.
15103Solution: Also disallow switching windows for other completions.
15104Files: src/insexpand.c, src/testdir/test_ins_complete.vim,
15105 src/testdir/test_popup.vim
15106
15107Patch 8.2.2428
15108Problem: FocusGained does not work when 'ttymouse' is empty.
15109Solution: Don't use the short mouse code if there is a longer matching code.
15110 (closes #7755) Add a test.
15111Files: src/term.c, src/testdir/test_termcodes.vim
15112
15113Patch 8.2.2429
15114Problem: :goto does not work correctly with text properties. (Sam McCall)
15115Solution: Add a test. (Andrew Radev) Also use the text property size when
15116 computing the remaining offset. (closes #5930)
15117Files: src/memline.c, src/testdir/test_textprop.vim
15118
15119Patch 8.2.2430
15120Problem: :vimgrep expands wildcards twice.
15121Solution: Do not expand wildcards a second time.
15122Files: src/quickfix.c, src/arglist.c, src/testdir/test_quickfix.vim
15123
15124Patch 8.2.2431
15125Problem: Warning for -fno-strength-reduce with Clang 11.
15126Solution: Adjust check for clang version number.
15127Files: src/configure.ac, src/auto/configure
15128
15129Patch 8.2.2432
15130Problem: Libvterm tests are executed even when libtool doesn't work.
15131Solution: Only run libvterm tests if /usr/bin/gcc exists.
15132Files: src/Makefile
15133
15134Patch 8.2.2433
15135Problem: Opening cmdline window gives error in BufLeave autocommand.
15136Solution: Reset cmdwin_type when triggering the autocommand.
15137Files: src/ex_cmds.c, src/testdir/test_cmdline.vim
15138
15139Patch 8.2.2434
15140Problem: Vim9: no error when compiling str2nr() with a number.
15141Solution: Add argument type checks. (closes #7759)
15142Files: src/evalfunc.c, src/typval.c, src/proto/typval.pro,
15143 src/testdir/test_vim9_builtin.vim
15144
15145Patch 8.2.2435
15146Problem: setline() gives an error for some types.
15147Solution: Allow any type, convert each item to a string.
15148Files: runtime/doc/eval.txt, src/evalbuffer.c, src/typval.c,
15149 src/proto/typval.pro, src/debugger.c, src/vim9execute.c,
15150 src/testdir/test_bufline.vim, src/testdir/test_vim9_builtin.vim
15151
15152Patch 8.2.2436
15153Problem: Vim9 script test is a bit flaky.
15154Solution: Wait longer for exit callback.
15155Files: src/testdir/test_vim9_script.vim
15156
15157Patch 8.2.2437
15158Problem: Deprecation warnings with default configuration.
15159Solution: Add -Wno-deprecated-declarations.
15160Files: src/configure.ac, src/auto/configure
15161
15162Patch 8.2.2438
15163Problem: Out of bounds compiler warning.
15164Solution: Increase the size of uf_name.
15165Files: src/structs.h
15166
15167Patch 8.2.2439
15168Problem: Not easy to figure out what packages to get when installing Vim on
15169 a new Ubuntu system.
15170Solution: Mention explicit commands that are easy to follow.
15171Files: src/INSTALL
15172
15173Patch 8.2.2440
15174Problem: Documentation based on patches is outdated.
15175Solution: Add changes to documentation in a patch.
15176Files: runtime/doc/arabic.txt, runtime/doc/autocmd.txt,
15177 runtime/doc/change.txt, runtime/doc/channel.txt,
15178 runtime/doc/cmdline.txt, runtime/doc/debugger.txt,
15179 runtime/doc/develop.txt, runtime/doc/digraph.txt,
15180 runtime/doc/editing.txt, runtime/doc/eval.txt,
15181 runtime/doc/filetype.txt, runtime/doc/ft_sql.txt,
15182 runtime/doc/gui.txt, runtime/doc/gui_w32.txt,
15183 runtime/doc/gui_x11.txt, runtime/doc/hangulin.txt,
15184 runtime/doc/helphelp.txt, runtime/doc/help.txt,
15185 runtime/doc/if_lua.txt, runtime/doc/if_mzsch.txt,
15186 runtime/doc/if_tcl.txt, runtime/doc/indent.txt,
15187 runtime/doc/index.txt, runtime/doc/insert.txt,
15188 runtime/doc/intro.txt, runtime/doc/map.txt, runtime/doc/mbyte.txt,
15189 runtime/doc/message.txt, runtime/doc/mlang.txt,
15190 runtime/doc/motion.txt, runtime/doc/netbeans.txt,
15191 runtime/doc/options.txt, runtime/doc/os_dos.txt,
15192 runtime/doc/os_haiku.txt, runtime/doc/os_unix.txt,
15193 runtime/doc/os_vms.txt, runtime/doc/os_win32.txt,
15194 runtime/doc/pattern.txt, runtime/doc/pi_getscript.txt,
15195 runtime/doc/pi_logipat.txt, runtime/doc/pi_netrw.txt,
15196 runtime/doc/pi_tar.txt, runtime/doc/pi_vimball.txt,
15197 runtime/doc/pi_zip.txt, runtime/doc/popup.txt,
15198 runtime/doc/print.txt, runtime/doc/quickfix.txt,
15199 runtime/doc/quickref.txt, runtime/doc/recover.txt,
15200 runtime/doc/remote.txt, runtime/doc/repeat.txt,
15201 runtime/doc/rileft.txt, runtime/doc/sign.txt,
15202 runtime/doc/spell.txt, runtime/doc/starting.txt,
15203 runtime/doc/syntax.txt, runtime/doc/tabpage.txt,
15204 runtime/doc/tagsrch.txt, runtime/doc/terminal.txt,
15205 runtime/doc/term.txt, runtime/doc/testing.txt,
15206 runtime/doc/textprop.txt, runtime/doc/tips.txt,
15207 runtime/doc/todo.txt, runtime/doc/uganda.txt,
15208 runtime/doc/undo.txt, runtime/doc/usr_02.txt,
15209 runtime/doc/usr_03.txt, runtime/doc/usr_04.txt,
15210 runtime/doc/usr_05.txt, runtime/doc/usr_07.txt,
15211 runtime/doc/usr_08.txt, runtime/doc/usr_10.txt,
15212 runtime/doc/usr_11.txt, runtime/doc/usr_20.txt,
15213 runtime/doc/usr_22.txt, runtime/doc/usr_23.txt,
15214 runtime/doc/usr_24.txt, runtime/doc/usr_27.txt,
15215 runtime/doc/usr_30.txt, runtime/doc/usr_31.txt,
15216 runtime/doc/usr_40.txt, runtime/doc/usr_41.txt,
15217 runtime/doc/usr_42.txt, runtime/doc/usr_44.txt,
15218 runtime/doc/usr_45.txt, runtime/doc/usr_46.txt,
15219 runtime/doc/usr_90.txt, runtime/doc/usr_toc.txt,
15220 runtime/doc/various.txt, runtime/doc/version5.txt,
15221 runtime/doc/version6.txt, runtime/doc/version7.txt,
15222 runtime/doc/version8.txt, runtime/doc/vi_diff.txt,
15223 runtime/doc/vim9.txt, runtime/doc/visual.txt,
15224 runtime/doc/windows.txt
15225
15226Patch 8.2.2441
15227Problem: Vim9: extend() does not give an error for a type mismatch.
15228Solution: Check the type of the second argument. (closes #7760)
15229Files: src/list.c, src/testdir/test_vim9_builtin.vim
15230
15231Patch 8.2.2442
15232Problem: Automatic GUI selection does not check for GTK 3.
15233Solution: Make SKIP_GTK3 empty for automatic GUI support. Set SKIP_GTK3 to
15234 YES when checking for GTK2.
15235Files: src/configure.ac, src/auto/configure
15236
15237Patch 8.2.2443
15238Problem: Vim9: no compile time error for wrong str2float argument.
15239Solution: Check argument type. (closes #7759)
15240Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
15241
15242Patch 8.2.2444
15243Problem: Vim9: compile error with combination of operator and list.
15244Solution: Generate constants before parsing a list or dict. (closes #7757)
15245Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
15246
15247Patch 8.2.2445
15248Problem: Vim9: no proper error for lambda missing return type.
15249Solution: Check for this error. (closes #7758)
15250Files: src/errors.h, src/userfunc.c, src/testdir/test_vim9_func.vim
15251
15252Patch 8.2.2446
15253Problem: Setting 'term' empty has different error if compiled with GUI.
15254Solution: Insert "else". (closes #7766)
15255Files: src/optionstr.c, src/testdir/test_options.vim
15256
15257Patch 8.2.2447
15258Problem: 'foldlevel' not applied to folds restored from session.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000015259Solution: Set 'foldlevel' after creating the folds. (closes #7767)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000015260Files: src/fold.c, src/testdir/test_mksession.vim
15261
15262Patch 8.2.2448
15263Problem: Compilation error with Ruby 3.0.
15264Solution: Adjust #ifdefs and declaration. (Ken Takata, closes #7761)
15265Files: src/if_ruby.c
15266
15267Patch 8.2.2449
15268Problem: Vim9: flatten() always changes the list type.
15269Solution: Disallow using flatten() and add flattennew().
15270Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
15271 src/list.c, src/proto/list.pro, src/errors.h, src/vim9compile.c,
15272 src/testdir/test_flatten.vim, src/testdir/test_vim9_builtin.vim
15273
15274Patch 8.2.2450
15275Problem: MS-Windows: ADS was not preserved if 'backupcopy' is "yes".
15276Solution: Copy ADS before truncating the file. (Ken Takata, closes #7762)
15277Files: src/bufwrite.c
15278
15279Patch 8.2.2451
15280Problem: MS-Windows: Extended Attributes not preserved.
15281Solution: Preserve Extended Attributes when writing a file. (Ken Takata,
15282 closes #7765)
15283Files: src/os_win32.c
15284
15285Patch 8.2.2452
15286Problem: No completion for the 'filetype' option.
15287Solution: Add filetype completion. (Martin Tournoij, closes #7747)
15288Files: src/option.c, src/optiondefs.h, src/testdir/test_options.vim
15289
15290Patch 8.2.2453
15291Problem: Vim9: a variable name with "->" in the next line doesn't work.
15292Solution: Recognize a variable name by itself. (closes #7770)
15293Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
15294
15295Patch 8.2.2454
15296Problem: Leading space can not be made visible.
15297Solution: Add "lead:" to 'listchars'. (closes #7772)
15298Files: runtime/doc/options.txt, src/drawline.c, src/globals.h,
15299 src/message.c, src/screen.c, src/testdir/test_listchars.vim
15300
15301Patch 8.2.2455
15302Problem: Vim9: key type that can be used for literal dict and indexing is
15303 inconsistent.
15304Solution: Allow using number and bool as key for a literal dict. (#7771)
15305Files: runtime/doc/vim9.txt, src/dict.c, src/eval.c, src/vim9compile.c,
15306 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_builtin.vim,
15307 src/testdir/test_vim9_script.vim
15308
15309Patch 8.2.2456
15310Problem: Coverity warning for strcpy() into fixed size array.
15311Solution: Add a type cast to hopefully silence the bogus warning.
15312Files: src/userfunc.c
15313
15314Patch 8.2.2457
15315Problem: Coverity warns for memory leak.
15316Solution: Free memory when out of memory.
15317Files: src/if_cscope.c
15318
15319Patch 8.2.2458
15320Problem: Coverity warns for :retab using freed memory.
15321Solution: Use the updated line pointer when moving text properties.
15322Files: src/indent.c
15323
15324Patch 8.2.2459
15325Problem: Coverity reports dead code.
15326Solution: Remove the dead code.
15327Files: src/eval.c
15328
15329Patch 8.2.2460
15330Problem: Coverity warns for unused value.
15331Solution: Do not reset the return value to OK.
15332Files: src/vim9compile.c
15333
15334Patch 8.2.2461
15335Problem: Coverity warns for unchecked return value.
15336Solution: Add "(void)" to avoid the warning.
15337Files: src/vim9execute.c
15338
15339Patch 8.2.2462
15340Problem: Coverity warns for not checking for fseek() error.
15341Solution: Give an error message if fseek() fails.
15342Files: src/spellfile.c
15343
15344Patch 8.2.2463
15345Problem: Using :arglocal in an autocommand may use freed memory.
15346 (houyunsong)
15347Solution: Check if the arglist is locked.
15348Files: src/arglist.c, src/testdir/test_autocmd.vim
15349
15350Patch 8.2.2464
15351Problem: Using freed memory if window closed in autocommand. (houyunsong)
15352Solution: Check the window still exists.
15353Files: src/ex_cmds.c, src/testdir/test_autocmd.vim
15354
15355Patch 8.2.2465
15356Problem: Using freed memory in :psearch. (houyunsong)
15357Solution: Check the current window is still valid. Fix flaky test.
15358Files: src/search.c, src/testdir/test_autocmd.vim
15359
15360Patch 8.2.2466
15361Problem: Max() and min() can give many error messages.
15362Solution: Bail out at the first error. (closes #1039, closes #7778)
15363Files: src/evalfunc.c, src/testdir/test_functions.vim
15364
15365Patch 8.2.2467
15366Problem: Script generated by :mkview changes alternate file.
15367Solution: Only write :balt in the session file. (Harish Rajagopal,
15368 closes #7779)
15369Files: src/session.c, src/testdir/test_mksession.vim
15370
15371Patch 8.2.2468
15372Problem: Not easy to get the full command name from a shortened one.
15373Solution: Add fullcommand(). (Martin Tournoij, closes #7777)
15374Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
15375 src/ex_docmd.c, src/proto/evalfunc.pro,
15376 src/testdir/test_cmdline.vim
15377
15378Patch 8.2.2469
15379Problem: Confusing error if :winsize has a wrong argument.
15380Solution: Quote the argument in the error. (closes #2523)
15381Files: src/ex_docmd.c, src/testdir/test_excmd.vim
15382
15383Patch 8.2.2470
15384Problem: Popup_getoptions() does not get textprop from other tab.
15385Solution: use win_valid_any_tab(). (closes #7786)
15386Files: src/popupwin.c, src/testdir/test_popupwin.vim
15387
15388Patch 8.2.2471
15389Problem: Popup_setoptions() does not set textprop in other tab.
15390Solution: use win_valid_any_tab(). (closes #7788)
15391Files: src/popupwin.c, src/testdir/test_popupwin.vim
15392
15393Patch 8.2.2472
15394Problem: Crash when using command line window in an autocommand.
15395 (houyunsong)
15396Solution: Save and restore au_new_curbuf.
15397Files: src/ex_cmds.c, src/testdir/test_autocmd.vim
15398
15399Patch 8.2.2473
15400Problem: Crash when leaving command line window triggers autocommand.
15401 (houyunsong)
15402Solution: Make sure not to close the current window or buffer.
15403Files: src/ex_getln.c, src/testdir/test_autocmd.vim
15404
15405Patch 8.2.2474
15406Problem: Using freed memory when window is closed by autocommand.
15407 (houyunsong)
15408Solution: Check the window pointer is still valid.
15409Files: src/quickfix.c, src/testdir/test_autocmd.vim
15410
15411Patch 8.2.2475
15412Problem: Autocommand tests hangs on MS-Windows.
15413Solution: Skip one test.
15414Files: src/testdir/test_autocmd.vim
15415
15416Patch 8.2.2476
15417Problem: Using freed memory when using an autocommand to split a window
15418 while a buffer is being closed.
15419Solution: Disallow splitting when the buffer has b_locked_split set.
15420Files: src/buffer.c, src/window.c, src/errors.h, src/structs.h,
15421 src/popupwin.c, src/testdir/test_autocmd.vim
15422
15423Patch 8.2.2477
15424Problem: Autocommand tests hang on MS-Windows.
15425Solution: Skip a couple of tests. Fix file name.
15426Files: src/testdir/test_autocmd.vim
15427
15428Patch 8.2.2478
15429Problem: MS-Windows: backup files for plugins are loaded.
15430Solution: Do not use the alternate file name for files ending in "~".
15431Files: src/filepath.c
15432
15433Patch 8.2.2479
15434Problem: set/getbufline test fails without the job feature.
15435Solution: Check whether the job feature is supported. (Dominique Pellé,
15436 closes #7790)
15437Files: src/testdir/test_bufline.vim, src/testdir/test_vim9_builtin.vim
15438
15439Patch 8.2.2480
15440Problem: Vim9: some errors for white space do not show context.
15441Solution: Include the text at the error.
15442Files: src/errors.h, src/dict.c, src/list.c, src/userfunc.c,
15443 src/vim9compile.c, src/vim9script.c, src/vim9type.c
15444
15445Patch 8.2.2481
15446Problem: Vim9: confusing error when variable arguments have a default
15447 value.
15448Solution: Give a specific error message. (closes #7793)
15449Files: src/userfunc.c, src/testdir/test_vim9_func.vim
15450
15451Patch 8.2.2482
15452Problem: Build error.
15453Solution: Add new error message.
15454Files: src/errors.h
15455
15456Patch 8.2.2483
Bram Moolenaar1588bc82022-03-08 21:35:07 +000015457Problem: Vim9: type error for malformed expression.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000015458Solution: Check for end of command before checking type. (closes #7795)
15459Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
15460
15461Patch 8.2.2484
15462Problem: Vim9: Cannot use a comment starting with #{ after an expression.
15463Solution: Remove the check for "{" since #{ dictionaries are not supported.
15464Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
15465
15466Patch 8.2.2485
15467Problem: When sourcing a script again the script version isn't reset.
15468Solution: Set sn_version to one when sourcing a script again. Clear
15469 sn_save_cpo properly. (closes #7608)
15470Files: src/scriptfile.c, src/testdir/test_vim9_script.vim
15471
15472Patch 8.2.2486
15473Problem: Vim9: some errors for white space do not show context.
15474Solution: Include the text at the error.
15475Files: src/errors.h, src/dict.c, src/list.c, src/userfunc.c,
15476 src/vim9compile.c, src/vim9type.c
15477
15478Patch 8.2.2487
15479Problem: Terminal shows garbage after double-wide character with a
15480 combining character. (Kyoichiro Yamada)
15481Solution: Libvterm: do not add the width of the combining character to the
15482 glyph width. (closes #7801)
15483Files: src/libvterm/src/state.c, src/testdir/test_terminal.vim,
15484 src/testdir/dumps/Test_terminal_combining.dump
15485
15486Patch 8.2.2488
15487Problem: json_encode() gives generic argument error.
15488Solution: Mention the type that can't be encoded. (issue #7802)
15489Files: src/json.c, src/errors.h, src/testdir/test_json.vim
15490
15491Patch 8.2.2489
15492Problem: current buffer is wrong after deletebufline() fails to delete a
15493 line in another buffer.
15494Solution: Restore the current buffer.
15495Files: src/evalbuffer.c, src/testdir/test_bufline.vim
15496
15497Patch 8.2.2490
15498Problem: 'wrap' option is always reset when starting diff mode.
15499Solution: Add the "followwrap" item in 'diffopt'. (Rick Howe, closes #7797)
15500Files: runtime/doc/diff.txt, runtime/doc/options.txt, src/diff.c,
15501 src/testdir/test_diffmode.vim
15502
15503Patch 8.2.2491
15504Problem: Popup window for text property may show in first screen line.
15505Solution: If the text position is invisible do not show the popup window.
15506 (closes #7807)
15507Files: src/popupwin.c, src/testdir/test_popupwin.vim,
15508 src/testdir/dumps/Test_popup_prop_not_visible_01.dump,
15509 src/testdir/dumps/Test_popup_prop_not_visible_02.dump,
15510 src/testdir/dumps/Test_popup_prop_not_visible_03.dump
15511
15512Patch 8.2.2492
15513Problem: Command line buffer name cannot be translated.
15514Solution: Add _(). (Gabriel Dupras, closes #7812)
15515Files: src/ex_getln.c
15516
15517Patch 8.2.2493
15518Problem: Text property for text left of window shows up.
15519Solution: Check if the text property ends before the current column.
15520 (closes #7806)
15521Files: src/drawline.c, src/testdir/test_textprop.vim,
15522 src/testdir/dumps/Test_textprop_nowrap_01.dump,
15523 src/testdir/dumps/Test_textprop_nowrap_02.dump
15524
15525Patch 8.2.2494
15526Problem: ":rviminfo!" clears most of oldfiles.
15527Solution: Add VIF_ONLY_CURBUF to read_viminfo(). (closes #1781)
15528Files: src/viminfo.c, src/vim.h
15529
15530Patch 8.2.2495
15531Problem: Text jumps up and down when moving the cursor in a small window
15532 with wrapping text and 'scrolloff' set.
15533Solution: Adjust the computation of w_skipcol. (partly by Ghjuvan Lacambre,
15534 closes #7813)
15535Files: src/move.c, src/testdir/test_breakindent.vim
15536
15537Patch 8.2.2496 (after 8.2.2495)
Bram Moolenaar1588bc82022-03-08 21:35:07 +000015538Problem: Insufficient testing for text jumping fix.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000015539Solution: Add another test case.
15540Files: src/testdir/test_breakindent.vim
15541
15542Patch 8.2.2497
15543Problem: No error when using more than one character for a register name.
15544Solution: In Vim9 script check for a single character string. (closes #7814)
15545 Fix that VAR_BOOL and VAR_SPECIAL are not considered equal.
15546Files: src/errors.h, src/evalfunc.c, src/typval.c,
15547 src/testdir/test_vim9_builtin.vim
15548
15549Patch 8.2.2498
15550Problem: No test for what 8.2.2494 fixes.
15551Solution: Add a simple change to test the fix. (closes #7818)
15552Files: src/testdir/test_viminfo.vim
15553
15554Patch 8.2.2499
15555Problem: "vim -g --version" does not redirect output.
15556Solution: Reset gui.starting when showing version info. (closes #7815)
15557Files: src/main.c, src/testdir/test_version.vim
15558
15559Patch 8.2.2500 (after 8.2.2499)
15560Problem: Build fails without the GUI feature.
15561Solution: Add #ifdef.
15562Files: src/main.c
15563
15564Patch 8.2.2501
15565Problem: Not always clear where an error is reported.
15566Solution: Add the where_T structure and pass it around. (closes #7796)
15567Files: src/structs.h, src/vim9type.c, src/proto/vim9type.pro,
15568 src/errors.h, src/evalvars.c, src/proto/evalvars.pro, src/eval.c,
15569 src/proto/eval.pro, src/vim9execute.c, src/vim9script.c,
15570 src/proto/vim9script.pro, src/dict.c, src/list.c,
15571 src/vim9compile.c, src/testdir/test_vim9_assign.vim
15572
15573Patch 8.2.2502
15574Problem: A few github actions are failing.
15575Solution: Install setuptools-rust. (closes #7823)
15576Files: .github/workflows/ci.yml
15577
15578Patch 8.2.2503
15579Problem: Vim9: a caught error may leave something on the stack.
15580Solution: Drop items from the stack if needed. (closes #7826)
15581Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
15582
15583Patch 8.2.2504
15584Problem: Vim9: crash when using an argument from a closure.
15585Solution: Check if gen_load_outer is NULL. (closes #7821)
15586Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
15587
15588Patch 8.2.2505
15589Problem: Vim9: crash after defining function with invalid return type.
15590Solution: Clear function growarrays. Fix memory leak.
15591Files: src/userfunc.c, src/testdir/test_vim9_func.vim
15592
15593Patch 8.2.2506
15594Problem: Vim9: :continue does not work correctly in a :try block
15595Solution: Add the TRYCLEANUP instruction. (closes #7827)
15596Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h,
15597 src/testdir/test_vim9_script.vim,
15598 src/testdir/test_vim9_disassemble.vim
15599
15600Patch 8.2.2507
15601Problem: Github build may fail if Ubuntu 20.04 is used. Installing rust is
15602 not needed.
15603Solution: Specify ubuntu-18.04 instead of latest. Update "pip" instead of
15604 installing rust. (Ozaki Kiichi, closes #7820)
15605Files: .github/workflows/ci.yml
15606
15607Patch 8.2.2508
15608Problem: Cannot change the character displayed in non existing lines.
15609Solution: Add the "eob" item to 'fillchars'. (closes #7832, closes #3820)
15610Files: runtime/doc/options.txt, runtime/doc/todo.txt,
15611 runtime/doc/windows.txt, src/drawscreen.c, src/globals.h,
15612 src/optiondefs.h, src/screen.c, src/testdir/test_display.vim
15613
15614Patch 8.2.2509
15615Problem: Tests fail on s390 build.
15616Solution: Initialize trycmd_T.
15617Files: src/vim9execute.c
15618
15619Patch 8.2.2510
15620Problem: Internal error when popup with mask is zero height or width.
15621Solution: Bail out if width or height is zero. (closes #7831)
15622Files: src/popupwin.c, src/testdir/test_popupwin.vim
15623
15624Patch 8.2.2511
15625Problem: Vim9: cannot use Vim9 script syntax in some places.
15626Solution: Add the :vim9cmd command modifier. Incompatible: Makes ":vim9"
15627 mean ":vim9cmd" instead of ":vim9script".
15628Files: runtime/doc/vim9.txt, runtime/doc/repeat.txt, src/ex_docmd.c,
15629 src/ex_cmds.h, src/structs.h, src/ex_cmdidxs.h, src/errors.h,
15630 src/testdir/test_vim9_cmd.vim, src/testdir/test_cmdline.vim,
15631 src/testdir/dumps/Test_wildmenu_1.dump,
15632 src/testdir/dumps/Test_wildmenu_2.dump,
15633 src/testdir/dumps/Test_wildmenu_3.dump,
15634 src/testdir/dumps/Test_wildmenu_4.dump,
15635 src/testdir/test_quickfix.vim
15636
15637Patch 8.2.2512
15638Problem: Vim9: compiling error test sometimes fails.
15639Solution: use WaitForAssert() instead of sleeping for a bit. (Dominique
15640 Pellé, closes #7837)
15641Files: src/testdir/term_util.vim, src/testdir/test_vim9_func.vim,
15642 src/testdir/test_vim9_script.vim
15643
15644Patch 8.2.2513 (after 8.2.2511)
15645Problem: Vim9: missing part of :vim9cmd change.
15646Solution: Use command modifier in in_vim9script().
15647Files: src/vim9script.c
15648
15649Patch 8.2.2514 (after 8.2.2511)
15650Problem: Vim9: build error in tiny version.
15651Solution: Add #ifdef.
15652Files: src/ex_docmd.c
15653
15654Patch 8.2.2515
15655Problem: Memory access error when truncating an empty message.
15656Solution: Check for an empty string. (Dominique Pellé, closes #7841)
15657Files: src/message.c, src/message_test.c
15658
15659Patch 8.2.2516
15660Problem: Test failure on s390. (analyses by James McCoy)
15661Solution: Only set the try_finally label when not skipping.
15662Files: src/vim9compile.c
15663
15664Patch 8.2.2517
15665Problem: Vim9: fix for s390 not tested on other systems.
15666Solution: Add a test.
15667Files: src/testdir/test_vim9_script.vim
15668
15669Patch 8.2.2518
15670Problem: 'listchars' should be window-local.
15671Solution: Make 'listchars' global-local. (Yegappan Lakshmanan, Marco Hinz,
15672 closes #5206, closes #7850)
15673Files: runtime/doc/options.txt, src/buffer.c, src/charset.c,
15674 src/drawline.c, src/drawscreen.c, src/evalfunc.c, src/globals.h,
15675 src/indent.c, src/message.c, src/misc1.c, src/option.c,
15676 src/option.h, src/optiondefs.h, src/optionstr.c,
15677 src/proto/screen.pro, src/screen.c, src/structs.h,
15678 src/testdir/test_listchars.vim, src/testdir/test_listlbr.vim
15679
15680Patch 8.2.2519
15681Problem: Vim9: no reason to keep strange Vi behavior.
15682Solution: ":3" and ":3|" both go to line 3. ":|" does not print the line.
15683 (closes #7840)
15684Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
15685
15686Patch 8.2.2520
15687Problem: Missing tests for 'listchars'.
15688Solution: Add a few more checks. (Yegappan Lakshmanan, closes #7854)
15689Files: src/testdir/test_listchars.vim
15690
15691Patch 8.2.2521
15692Problem: Some compilers can't handle pointer initialization. (John
15693 Marriott)
15694Solution: Use a local struct and assign it afterwards.
15695Files: src/screen.c
15696
15697Patch 8.2.2522
15698Problem: Beancount filetype not recognized.
15699Solution: Add a detection rule. (Brian Ryall, closes #7859)
15700Files: runtime/filetype.vim, src/testdir/test_filetype.vim
15701
15702Patch 8.2.2523
15703Problem: Svelte filetype not recognized.
15704Solution: Add a detection rule. (Brian Ryall, closes #7858)
15705Files: runtime/filetype.vim, src/testdir/test_filetype.vim
15706
15707Patch 8.2.2524
15708Problem: Cannot change the characters displayed in the foldcolumn.
15709Solution: Add fields to 'fillchars'. (Yegappan Lakshmanan, Matthieu Coudron,
15710 closes #7860)
15711Files: runtime/doc/options.txt, src/globals.h, src/mouse.c, src/screen.c,
15712 src/testdir/test_display.vim
15713
15714Patch 8.2.2525
15715Problem: Vim9: only local variables checked for a name.
15716Solution: Also check arguments and script variables. (closes #7838)
15717Files: src/vim9compile.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
15718 src/testdir/test_vim9_cmd.vim
15719
15720Patch 8.2.2526 (after 8.2.2525)
15721Problem: Build failure.
15722Solution: Change lookup_scriptvar() arguments.
15723Files: src/evalvars.c, src/proto/evalvars.pro
15724
15725Patch 8.2.2527
15726Problem: Vim9: lambda return type is not determined at script level.
15727Solution: Compile the lambda to get the return type. (closes #7843)
15728Files: src/eval.c, src/vim.h, src/vim9.h,
15729 src/testdir/test_vim9_assign.vim
15730
15731Patch 8.2.2528
15732Problem: Vim9: crash when compiling lambda fails.
15733Solution: Bail out after compilation fails. (closes #7862)
15734Files: src/eval.c, src/testdir/test_vim9_assign.vim
15735
15736Patch 8.2.2529
15737Problem: Vim9: Not possible to use legacy and Vim9 script in one file.
15738Solution: Vim9: allow for "if false" before :vim9script. (closes #7851)
15739Files: runtime/doc/vim9.txt, src/ex_docmd.c,
15740 src/testdir/test_vim9_script.vim
15741
15742Patch 8.2.2530
15743Problem: Vim9: not enough testing for profiling.
15744Solution: Add a test with nested functions and a lambda. Fix profiling
15745 for calling a compiled function.
15746Files: src/profiler.c, src/proto/profiler.pro, src/userfunc.c,
15747 src/vim9execute.c, src/testdir/test_profile.vim
15748
15749Patch 8.2.2531
15750Problem: Vim9: the :k command is obscure.
15751Solution: Disallow using :k, can use :mark instead. (closes #7874)
15752Files: runtime/doc/vim9.txt, src/ex_docmd.c, src/vim9script.c,
15753 src/vim9compile.c, src/ex_cmds.h, src/testdir/test_vim9_script.vim
15754
15755Patch 8.2.2532
15756Problem: Vim9: confusing error if :k is used with a range.
15757Solution: Give an error about the range. (issue #7874)
15758Files: src/vim9script.c, src/vim9compile.c,
15759 src/testdir/test_vim9_script.vim
15760
15761Patch 8.2.2533
15762Problem: Vim9: cannot use a range with :unlet.
15763Solution: Implement ISN_UNLETRANGE.
15764Files: src/errors.h, src/eval.c, src/evalvars.c, src/list.c,
15765 src/proto/evalvars.pro, src/proto/list.pro, src/vim9.h,
Bram Moolenaar47c532e2022-03-19 15:18:53 +000015766 src/vim9compile.c, src/vim9execute.c,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000015767 src/testdir/test_vim9_assign.vim
15768
15769Patch 8.2.2534
15770Problem: Missing test coverage.
15771Solution: Improve test coverage for completion with different encodings,
15772 mapset(), and term function failures. (Dominique Pellé,
15773 closes #7877)
15774Files: src/testdir/test_edit.vim, src/testdir/test_maparg.vim,
15775 src/testdir/test_terminal3.vim
15776
15777Patch 8.2.2535
15778Problem: MS-Windows: cannot run all vim9 tests.
15779Solution: Make test_vim9 target work.
15780Files: src/Make_mvc.mak
15781
15782Patch 8.2.2536
15783Problem: Coverity complains about unchecked return value.
15784Solution: Add (void).
15785Files: src/userfunc.c
15786
15787Patch 8.2.2537
15788Problem: Vim9: crash when map() fails.
15789Solution: Clear typval before using it. (closes #7884)
15790Files: src/list.c, src/testdir/test_vim9_builtin.vim
15791
15792Patch 8.2.2538
15793Problem: Crash when using Python list iterator.
15794Solution: Increment the list reference count. (closes #7886)
15795Files: src/if_py_both.h, src/testdir/test_python3.vim
15796
15797Patch 8.2.2539
15798Problem: Vim9: return from finally block causes a hang.
15799Solution: Store both the finally and endtry indexes. (closes #7885)
15800Files: src/vim9execute.c, src/vim9compile.c, src/vim9.h,
15801 src/testdir/test_vim9_script.vim,
Bram Moolenaar47c532e2022-03-19 15:18:53 +000015802
Bram Moolenaarc51cf032022-02-26 12:25:45 +000015803Patch 8.2.2540
15804Problem: Vim9: no error for using script var name for argument.
15805Solution: Check for this error. (closes #7868)
15806Files: src/userfunc.c, src/vim9compile.c, src/proto/vim9compile.pro,
15807 src/testdir/test_vim9_func.vim
15808
15809Patch 8.2.2541
15810Problem: Popup_create() does not allow boolean for "cursorline".
15811Solution: Use dict_get_bool(). (issue #7869)
15812Files: src/popupwin.c, src/testdir/test_popupwin.vim
15813
15814Patch 8.2.2542
15815Problem: Highlight of char beyond line end is not correct. (Chuan Wei Foo)
15816Solution: Fix counting NUL as one cell. Draw one more character if the EOL
15817 is part of the match. (closes #7883)
15818Files: src/match.c, src/testdir/test_search.vim,
15819 src/testdir/dumps/Test_hlsearch_1.dump,
15820 src/testdir/dumps/Test_hlsearch_2.dump
15821
15822Patch 8.2.2543
15823Problem: Vim9: a return inside try/catch does not restore exception state
15824 properly.
15825Solution: When there is no ":finally" jump to ":endtry". (closes #7882)
15826Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
15827
15828Patch 8.2.2544
15829Problem: Vim9: error for argument when checking for lambda.
15830Solution: Respect the skip flag. (closes #7887)
15831Files: src/userfunc.c, src/testdir/test_vim9_expr.vim
15832
15833Patch 8.2.2545
15834Problem: Errors and crash when terminal window is zero height. (Leonid V.
15835 Fedorenchik)
15836Solution: Do not resize when width or height is zero. (closes #7890)
15837Files: src/terminal.c, src/testdir/test_terminal.vim
15838
15839Patch 8.2.2546
15840Problem: Typo in mouse key name.
15841Solution: Fix the typo. (issue #4725)
15842Files: src/misc2.c
15843
15844Patch 8.2.2547
15845Problem: "%" command not accurate for big files.
15846Solution: Make it more accurate for files up to 21M lines. (Dominique Pellé,
15847 closes #7889)
15848Files: src/normal.c
15849
15850Patch 8.2.2548
15851Problem: May get stuck in the cmdline window using :normal.
15852Solution: Have nv_esc() return K_IGNORE.
15853Files: src/normal.c
15854
15855Patch 8.2.2549
15856Problem: Crash after using "g:" in a for loop.
15857Solution: Increment the reference count. (closes #7892)
15858Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
15859
15860Patch 8.2.2550
15861Problem: Signal stack size is wrong with latest glibc 2.34.
15862Solution: Use sysconf(_SC_SIGSTKSZ) if available. (Zdenek Dohnal, closes
15863 #7895)
15864Files: src/config.h.in, src/configure.ac, src/os_unix.c,
15865 src/auto/configure
15866
15867Patch 8.2.2551
15868Problem: MS-Windows: colors test file is not installed.
15869Solution: Also copy runtime/colors/tools. (Ken Takata, closes #7902)
15870Files: nsis/gvim.nsi
15871
15872Patch 8.2.2552
15873Problem: Vim9: no reason to consider "{{{{{{{{" a command.
15874Solution: Just use "{". (issue #7904)
15875Files: src/ex_cmds.h
15876
15877Patch 8.2.2553
15878Problem: Vim9: Cannot put "|" after "{".
15879Solution: Add the EX_TRLBAR flag. (issue #7904)
15880Files: src/ex_cmds.h, src/ex_eval.c
15881
15882Patch 8.2.2554
15883Problem: Vim9: exporting a final is not tested.
15884Solution: Add a test.
15885Files: src/testdir/test_vim9_script.vim
15886
15887Patch 8.2.2555
15888Problem: Vim9: missing test for 8.2.2553.
15889Solution: Add a simple test.
15890Files: src/testdir/test_vim9_script.vim
15891
15892Patch 8.2.2556
15893Problem: Vim9: :import with "as" not fully supported.
15894Solution: Implement "as" for more cases.
15895Files: src/vim9script.c, src/testdir/test_vim9_script.vim
15896
15897Patch 8.2.2557
15898Problem: Compiler warning for shadowed variable.
15899Solution: Declare "p" only once.
15900Files: src/vim9script.c
15901
15902Patch 8.2.2558
15903Problem: No error if a lambda argument shadows a variable.
15904Solution: Check that the argument name shadows a local, argument or script
15905 variable. (closes #7898)
15906Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c,
15907 src/vim9script.c, src/errors.h, src/testdir/test_vim9_func.vim,
15908 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim
15909
15910Patch 8.2.2559
15911Problem: MS-Windows: guifont test fails on Windows XP.
15912Solution: Check windowsversion().
15913Files: src/testdir/test_gui.vim
15914
15915Patch 8.2.2560
15916Problem: Setting 'winminheigt' does not take tabline into account.
15917Solution: Subtract the tabline from the available height. (closes #7899)
15918Files: src/window.c, src/testdir/test_options.vim
15919
15920Patch 8.2.2561
15921Problem: Not all textprop code is covered by tests.
15922Solution: Add a few more test cases. (Dominique Pellé, closes #7908)
15923Files: src/testdir/test_textprop.vim
15924
15925Patch 8.2.2562
Bram Moolenaar1588bc82022-03-08 21:35:07 +000015926Problem: GUI: star register changed when 'clipboard' is "unnamedplus". (Ingo
Bram Moolenaarc51cf032022-02-26 12:25:45 +000015927 Karkat)
15928Solution: Do not change the star register when 'clipboard' contains
15929 "unnamedplus" and not "unnamed". (closes #1516)
15930Files: src/register.c
15931
15932Patch 8.2.2563
15933Problem: Cannot use multibyte characters for folding in 'fillchars'.
15934Solution: Port pull request 11568 to Vim. (Yegappan Lakshmanan,
15935 closes #7924)
15936Files: src/drawline.c, src/drawscreen.c, src/macros.h,
15937 src/proto/screen.pro, src/screen.c, src/testdir/test_fold.vim,
15938 src/testdir/test_profile.vim
15939
15940Patch 8.2.2564
15941Problem: Focus events end Insert mode if 'esckeys' is not set.
15942Solution: Do not enable focus events when 'esckeys' is off. (closes #7926)
15943Files: src/term.c
15944
15945Patch 8.2.2565
15946Problem: Vim9: "..=" not always recognized.
15947Solution: Do not consider "..=" to be string concatenation. (closes #7905)
15948Files: src/eval.c, src/testdir/test_vim9_assign.vim
15949
15950Patch 8.2.2566
15951Problem: Vim9: Function name is not recognized.
15952Solution: Change lookup_scriptvar() to also find function names.
15953 (closes #7770)
15954Files: src/vim9script.c, src/evalvars.c, src/proto/evalvars.pro,
15955 src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
15956
15957Patch 8.2.2567
15958Problem: Vim9: no error if variable is defined for existing function.
15959Solution: Check if name isn't already in use. (closes #7897)
15960Files: src/evalvars.c, src/testdir/test_vim9_script.vim
15961
15962Patch 8.2.2568
15963Problem: Second time a preview popup is opened highlight is not set.
15964 (Gabriel Dupras)
15965Solution: Apply 'previewpopup' after getting the file. (closes #7928)
15966Files: src/tag.c, src/testdir/test_popupwin.vim,
15967 src/testdir/dumps/Test_popupwin_previewpopup_2.dump,
15968 src/testdir/dumps/Test_popupwin_previewpopup_3.dump,
15969 src/testdir/dumps/Test_popupwin_previewpopup_4.dump,
15970 src/testdir/dumps/Test_popupwin_previewpopup_5.dump
15971
15972Patch 8.2.2569
15973Problem: 'fillchars' "stl" and "stlnc" items must be single byte.
15974Solution: Accept multi-byte characters. (Christian Wellenbrock, Yegappan
15975 Lakshmanan, closes #7927)
15976Files: runtime/doc/options.txt, src/buffer.c, src/macros.h, src/screen.c,
15977 src/testdir/test_fold.vim, src/testdir/test_statusline.vim
15978
15979Patch 8.2.2570
15980Problem: Tests fail when run as root.
15981Solution: Add a comment mentioning the expected failure. (issue #7919)
15982Files: src/testdir/test_edit.vim, src/testdir/test_excmd.vim,
15983 src/testdir/test_help.vim, src/testdir/test_writefile.vim
15984
15985Patch 8.2.2571
15986Problem: Test may leave file behind.
15987Solution: Delete the temporary file. Don't profile in the running Vim
15988 instance.
15989Files: src/testdir/test_quickfix.vim, src/testdir/test_profile.vim
15990
15991Patch 8.2.2572
15992Problem: Vim9: crash when getting the types for a legacy function.
15993Solution: Initialize the type list growarray. (closes #7929)
15994Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
15995
15996Patch 8.2.2573
15997Problem: Vim9: using invalid pointer for error message.
15998Solution: Use the right pointer. (closes #7921)
15999Files: src/eval.c, src/testdir/test_vim9_expr.vim
16000
16001Patch 8.2.2574
16002Problem: Vim9: crash when calling partial with wrong function.
16003Solution: Check argument types of called function. (closes #7912)
16004Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
16005
16006Patch 8.2.2575
16007Problem: Vim9: a function name with "->" in the next line doesn't work.
16008Solution: Recognize a function name by itself. (closes #7770)
16009Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
16010
16011Patch 8.2.2576
16012Problem: Vim9: defining a :func function checks for white space after a
16013 comma in the arguments.
16014Solution: Only check for white space in a :def function. (closes #7930)
16015Files: src/userfunc.c, src/testdir/test_vim9_func.vim
16016
16017Patch 8.2.2577
16018Problem: Compiler warning for type conversion.
16019Solution: Add a typecast. (Mike Williams)
16020Files: src/drawline.c
16021
16022Patch 8.2.2578
16023Problem: Lua cannot handle a passed in lambda.
16024Solution: Handle VAR_PARTIAL. (Prabir Shrestha, closes #7937, closes #7936)
16025Files: src/if_lua.c, src/testdir/test_lua.vim
16026
16027Patch 8.2.2579
16028Problem: Vim9: crash in garbagecollect after for loop.
16029Solution: Do not set a reference in script item when the name was cleared.
16030 (closes #7935)
16031Files: src/evalvars.c
16032
16033Patch 8.2.2580
16034Problem: Vim9: checking vararg type is wrong when function is auto-loaded.
16035Solution: Use the member type. (closes #7933)
16036Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
16037
16038Patch 8.2.2581
16039Problem: Vim9: sourcing Vim9 script triggers a redraw.
16040Solution: Do not let setting/restoring 'cpoptions' cause a redraw.
16041 (closes #7920)
16042Files: src/vim.h, src/option.c, src/optionstr.c, src/scriptfile.c,
16043 src/vim9script.c, src/testdir/test_vim9_script.vim,
16044 src/testdir/dumps/Test_vim9_no_redraw.dump
16045
16046Patch 8.2.2582 (after 8.2.2581)
16047Problem: Vim9: screendump test fails on MS-Windows.
16048Solution: Use :function instead of :def.
16049Files: src/testdir/test_vim9_script.vim
16050
16051Patch 8.2.2583
16052Problem: Vim9: cannot compare result of getenv() with null.
16053Solution: Make the return type of getenv() "any". (closes #7943)
16054Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
16055
16056Patch 8.2.2584
16057Problem: Vim9: type error for assigning the result of list concatenation to
16058 a list.
16059Solution: Do not consider concatenation result in a constant. (closes #7942)
16060Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
16061
16062Patch 8.2.2585
16063Problem: Vim9: illegal memory access.
16064Solution: Check byte right after "null", not one more.
16065Files: src/vim9compile.c
16066
16067Patch 8.2.2586
16068Problem: Process id may be invalid.
16069Solution: Use sysinfo.uptime to check for recent reboot. (suggested by Hugo
16070 van der Sanden, closes #7947)
16071Files: src/configure.ac, src/auto/configure, src/config.h.in,
16072 src/memline.c, src/testing.c, src/globals.h,
16073 src/testdir/test_recover.vim
16074
16075Patch 8.2.2587 (after 8.2.2586)
16076Problem: Recover test fails on FreeBSD.
16077Solution: Check for Linux.
16078Files: src/testdir/check.vim, src/testdir/test_recover.vim
16079
16080Patch 8.2.2588 (after 8.2.2586)
16081Problem: Build failure with tiny features.
16082Solution: Add #ifdef. Run recover test separately.
16083Files: src/memline.c, src/testdir/Make_all.mak, src/testdir/test_alot.vim
16084
16085Patch 8.2.2589 (after 8.2.2586)
16086Problem: Recover test hangs in the GUI.
16087Solution: Add g:skipped_reason to skip a _nocatch_ test.
16088Files: src/testdir/runtest.vim, src/testdir/test_recover.vim
16089
16090Patch 8.2.2590
16091Problem: Vim9: default argument value may cause internal error.
16092Solution: Hide later function arguments when compiling the expression.
16093 (closes #7948)
16094Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
16095
16096Patch 8.2.2591
16097Problem: Poke files are not recognized.
16098Solution: Add a filetype entry. (Matt Ihlenfield)
16099Files: runtime/filetype.vim, src/testdir/test_filetype.vim
16100
16101Patch 8.2.2592
16102Problem: Code coverage could be improved.
16103Solution: Add a few more tests. (Dominique Pellé, closes #7957)
16104Files: src/testdir/test_fileformat.vim, src/testdir/test_normal.vim,
16105 src/testdir/test_sleep.vim, src/testdir/test_textformat.vim,
16106 src/testdir/test_viminfo.vim
16107
16108Patch 8.2.2593
16109Problem: List of distributed files is incomplete.
16110Solution: Add a file and rename another.
16111Files: Filelist
16112
16113Patch 8.2.2594
16114Problem: Alternate buffer added to session file even when it's hidden.
16115Solution: Check the 'buflisted' option. (closes #7951)
16116Files: src/session.c, src/testdir/test_mksession.vim
16117
16118Patch 8.2.2595
16119Problem: Setting 'winminheight' may cause 'lines' to change.
16120Solution: Also take minimal height of other tabpages into account. (#7899)
16121Files: src/window.c, src/testdir/test_options.vim
16122
16123Patch 8.2.2596
16124Problem: :doautocmd may confuse scripts listening to WinEnter.
16125Solution: Do the current buffer last. (closes #7958)
16126Files: src/autocmd.c, src/testdir/test_autocmd.vim
16127
16128Patch 8.2.2597
16129Problem: Vim9: "import * as" does not work at script level.
16130Solution: Implement using an imported namespace.
16131Files: src/vim.h, src/eval.c, src/evalvars.c, src/proto/evalvars.pro,
16132 src/vim9execute.c, src/errors.h, src/vim9script.c,
16133 src/proto/vim9script.pro, src/testdir/test_vim9_script.vim
16134
16135Patch 8.2.2598
16136Problem: Vim9: :open does not need to be supported.
16137Solution: Do not support :open in Vim9 script.
16138Files: src/ex_docmd.c, src/vim9script.c, src/testdir/test_vim9_script.vim
16139
16140Patch 8.2.2599 (after 8.2.2597)
16141Problem: Build failure.
16142Solution: Add missing change.
16143Files: src/vim9compile.c
16144
16145Patch 8.2.2600
16146Problem: Vim9: crash when putting an unknown type in a dictionary.
16147 (Yegappan Lakshmanan)
16148Solution: Handle a NULL type pointer.
16149Files: src/vim9type.c, src/testdir/test_vim9_builtin.vim
16150
16151Patch 8.2.2601
16152Problem: Memory usage test often fails on FreeBSD.
16153Solution: Increase multiplier for upper limit.
16154Files: src/testdir/test_memory_usage.vim
16155
16156Patch 8.2.2602
16157Problem: Vim9: continue doesn't work if :while is very first command.
16158 (Yegappan Lakshmanan)
16159Solution: Add one to the continue instruction index.
16160Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
16161
16162Patch 8.2.2603
16163Problem: Vim9: no effect if user command is also a function.
16164Solution: Check for paren following. (closes #7960)
16165Files: src/evalvars.c, src/proto/evalvars.pro, src/ex_docmd.c,
16166 src/proto/ex_docmd.pro, src/vim9compile.c,
16167 src/testdir/test_vim9_cmd.vim
16168
16169Patch 8.2.2604
16170Problem: GUI-specific command line arguments not tested.
16171Solution: Add tests for several arguments. (Dominique Pellé, closes #7962)
16172Files: src/testdir/test_startup.vim
16173
16174Patch 8.2.2605
16175Problem: Vim9: string index and slice does not include composing chars.
16176Solution: Include composing characters. (issue #6563)
16177Files: runtime/doc/vim9.txt, src/vim9execute.c,
16178 src/testdir/test_vim9_expr.vim
16179
16180Patch 8.2.2606
16181Problem: strchars() defaults to counting composing characters.
16182Solution: Add strcharlen() which ignores composing characters.
16183Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
16184 src/testdir/test_utf8.vim
16185
16186Patch 8.2.2607
16187Problem: strcharpart() cannot include composing characters.
16188Solution: Add the {skipcc} argument.
16189Files: runtime/doc/eval.txt, src/evalfunc.c,
16190 src/testdir/test_expr_utf8.vim
16191
16192Patch 8.2.2608
16193Problem: Character input not fully tested.
16194Solution: Add more tests. (Yegappan Lakshmanan, closes #7963)
16195Files: src/testdir/test_functions.vim, src/testdir/test_messages.vim,
16196 src/testdir/test_paste.vim, src/testdir/test_registers.vim,
16197 src/testdir/test_undo.vim
16198
16199Patch 8.2.2609
16200Problem: Test disabled on MS-Windows even though it should work.
16201Solution: Restore the condition for skipping the test. (Ken Takata,
16202 closes #7970)
16203Files: src/testdir/test_startup.vim
16204
16205Patch 8.2.2610
16206Problem: Mouse click test fails when using remote connection.
16207Solution: Use a larger 'mousetime'. (Dominique Pellé, closes #7968)
16208Files: src/testdir/test_selectmode.vim
16209
16210Patch 8.2.2611
16211Problem: Conditions for startup tests are not exactly right.
16212Solution: Check for type of GUI instead of MS-Windows. (Ozaki Kiichi,
16213 closes #7976)
16214Files: src/main.c, src/testdir/check.vim, src/testdir/test_startup.vim
16215
16216Patch 8.2.2612
16217Problem: col('.') may get outdated column value.
16218Solution: Add a note to the help how to make this work and add a test for
16219 it. (closes #7971)
16220Files: runtime/doc/map.txt, src/testdir/test_mapping.vim
16221
16222Patch 8.2.2613 (after 8.2.2612)
16223Problem: New test throws exception.
16224Solution: Adjust the function cleanup.
16225Files: src/testdir/test_mapping.vim
16226
16227Patch 8.2.2614
16228Problem: Vim9: function is deleted while executing.
16229Solution: increment the call count, when more than zero do not delete the
16230 function but mark it as dead. (closes #7977)
16231Files: src/vim9execute.c, src/userfunc.c,
16232 src/testdir/test_vim9_script.vim
16233
16234Patch 8.2.2615 (after 8.2.2614)
16235Problem: Test is sourcing the wrong file.
16236Solution: Correct the file name.
16237Files: src/testdir/test_vim9_script.vim
16238
16239Patch 8.2.2616
16240Problem: Vim9: if 'cpo' is changed in Vim9 script it may be restored.
16241Solution: Apply the changes to 'cpo' to the restored value.
16242Files: runtime/doc/vim9.txt, src/scriptfile.c,
16243 src/testdir/test_vim9_script.vim
16244
16245Patch 8.2.2617
16246Problem: Vim9: script variable in a block scope not found by a nested
16247 function.
16248Solution: Copy the block scope IDs before compiling the function.
16249Files: src/vim9compile.c, src/testdir/test_vim9_func.vim,
16250 src/testdir/test_vim9_disassemble.vim
16251
16252Patch 8.2.2618
16253Problem: Vim9: cannot use a normal list name to store function refs.
16254Solution: Allow a lower case name if it is indexed.
16255Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
16256
16257Patch 8.2.2619
16258Problem: Vim9: no test for return type of lambda.
16259Solution: Add a test.
16260Files: src/testdir/test_vim9_func.vim
16261
16262Patch 8.2.2620
16263Problem: Vim9: Using #{ for a dictionary gives strange errors.
16264Solution: Give an error when using #{ for a comment after a command.
16265Files: src/vim9compile.c, src/vim9script.c, src/proto/vim9script.pro,
16266 src/errors.h, src/testdir/test_vim9_expr.vim,
16267 src/testdir/test_vim9_script.vim
16268
16269Patch 8.2.2621
16270Problem: typval2type() cannot handle recursive structures.
16271Solution: Use copyID. (closes #7979)
16272Files: src/list.c, src/vim9script.c, src/vim9type.c,
16273 src/proto/vim9type.pro, src/testdir/test_vimscript.vim
16274
16275Patch 8.2.2622
16276Problem: GTK: error when starting up and -geometry is given. (Dominique
16277 Pellé)
16278Solution: Use another function to get the monitor if the window has not been
16279 created yet. (closes #7978)
16280Files: src/gui_gtk_x11.c, src/proto/gui_gtk_x11.pro, src/gui_beval.c,
16281 src/gui_xim.c
16282
16283Patch 8.2.2623
16284Problem: Some tests fail when run as root.
16285Solution: Use CheckNotRoot.
16286Files: src/testdir/test_edit.vim, src/testdir/test_excmd.vim,
16287 src/testdir/test_help.vim, src/testdir/test_writefile.vim
16288
16289Patch 8.2.2624
16290Problem: Atom files not recognized.
16291Solution: Recognize .atom as XML. (Kivin Locke, closes #7986)
16292Files: runtime/filetype.vim, src/testdir/test_filetype.vim
16293
16294Patch 8.2.2625
16295Problem: Rss files not recognized.
16296Solution: Recognize .rss as XML. (Kivin Locke, closes #7987)
16297Files: runtime/filetype.vim, src/testdir/test_filetype.vim
16298
16299Patch 8.2.2626
16300Problem: GTK3: error when starting up and -geometry is given. (Dominique
16301 Pellé)
16302Solution: Use another function to get the monitor if the window has not been
16303 created yet. (closes #7978)
16304Files: src/gui_gtk_x11.c
16305
16306Patch 8.2.2627
16307Problem: No need to check for BSD after checking for not root.
16308Solution: Remove CheckNotBSD. (Ozaki Kiichi, closes #7989)
16309Files: src/testdir/test_excmd.vim, src/testdir/test_help.vim,
16310 src/testdir/check.vim
16311
16312Patch 8.2.2628
16313Problem: Vim9: #{ can still be used at the script level.
16314Solution: Give an error for #{ like in a :def function.
16315Files: src/eval.c, src/ex_docmd.c, src/testdir/test_vim9_expr.vim
16316
16317Patch 8.2.2629
16318Problem: Vim9: error for #{{ is not desired.
16319Solution: Adjust the checks. (closes #7990)
16320Files: src/errors.h, src/vim9script.c, src/ex_docmd.c,
16321 src/testdir/test_vim9_expr.vim
16322
16323Patch 8.2.2630
16324Problem: Hard to see where a test gets stuck.
16325Solution: Print the executed test function. (Dominique Pellé, closes #7975)
16326Files: src/testdir/Makefile
16327
16328Patch 8.2.2631
16329Problem: Commands from winrestcmd() do not always work properly. (Leonid V.
16330 Fedorenchik)
16331Solution: Repeat the size commands twice. (closes #7988)
16332Files: src/evalwindow.c, src/testdir/test_window_cmd.vim
16333
16334Patch 8.2.2632
16335Problem: Not all command line arguments are tested.
16336Solution: Add tests for -D and -serverlist. (Dominique Pellé, closes #7992)
16337Files: src/testdir/test_clientserver.vim, src/testdir/test_startup.vim
16338
16339Patch 8.2.2633
16340Problem: Multi-byte 'fillchars' for folding do not show properly.
16341Solution: Handle multi-byte characters correctly. (Yegappan Lakshmanan,
16342 closes #7983, closes #7955)
16343Files: src/screen.c, src/testdir/test_fold.vim
16344
16345Patch 8.2.2634
16346Problem: 'tagfunc' does not indicate using a pattern.
16347Solution: Add the "r" flag. (Andy Massimino, closes #7982)
16348Files: runtime/doc/tagsrch.txt, src/tag.c, src/testdir/test_tagfunc.vim
16349
16350Patch 8.2.2635
16351Problem: Vim9: cannot define an inline function.
16352Solution: Make an inline function mostly work.
16353Files: src/userfunc.c, src/errors.h, src/vim9compile.c, src/misc2.c,
16354 src/proto/vim9compile.pro, src/testdir/test_vim9_expr.vim
16355
16356Patch 8.2.2636 (after 8.2.2635)
16357Problem: Memory leak when compiling inline function.
16358Solution: Free the prefetched line.
16359Files: src/userfunc.c, src/vim9compile.c, src/structs.h, src/globals.h,
16360 src/eval.c
16361
16362Patch 8.2.2637
16363Problem: prop_remove() causes a redraw even when nothing changed.
16364Solution: Only redraw if a property was removed. (Dominique Pellé)
16365Files: src/textprop.c
16366
16367Patch 8.2.2638
16368Problem: Cannot write a message to the terminal from the GUI.
16369Solution: Add :echoconsole and use it in the test runner. (issue #7975)
16370Files: runtime/doc/eval.txt, runtime/doc/index.txt, src/ex_cmds.h,
16371 src/ex_cmdidxs.h, src/eval.c, src/ui.c, src/proto/ui.pro,
16372 src/term.c, src/testdir/runtest.vim
16373
16374Patch 8.2.2639 (after 8.2.2638)
16375Problem: Build failure when fsync() is not available.
16376Solution: Add #ifdef.
16377Files: src/ui.c
16378
16379Patch 8.2.2640
16380Problem: screenstring() returns non-existing composing characters.
16381Solution: Only use composing characters if there is a base character.
16382Files: src/evalfunc.c, src/testdir/test_listchars.vim
16383
16384Patch 8.2.2641
16385Problem: Display test fails because of lacking redraw.
16386Solution: Add a redraw command.
16387Files: src/testdir/test_display.vim
16388
16389Patch 8.2.2642
16390Problem: Vim9: no clear error for wrong inline function.
16391Solution: Check for something following the "{".
16392Files: src/userfunc.c, src/testdir/test_vim9_expr.vim
16393
16394Patch 8.2.2643
16395Problem: Various code not covered by tests.
16396Solution: Add a few more test. (Yegappan Lakshmanan, closes #7995)
16397Files: src/testdir/test_edit.vim, src/testdir/test_functions.vim,
16398 src/testdir/test_mapping.vim, src/testdir/test_termcodes.vim,
16399 src/testdir/test_undo.vim
16400
16401Patch 8.2.2644
16402Problem: prop_clear() causes a screen update even when nothing changed.
16403Solution: Only redraw when a property was cleared. (Dominique Pellé)
16404Files: src/textprop.c
16405
16406Patch 8.2.2645
16407Problem: Using inline function is not properly tested.
16408Solution: Add test cases, esp. for errors. Minor code improvements.
16409Files: src/userfunc.c, src/errors.h, src/testdir/test_vim9_expr.vim,
16410 src/testdir/test_vim9_func.vim
16411
16412Patch 8.2.2646
16413Problem: Vim9: error for not using string doesn't mention argument.
16414Solution: Add argument number.
16415Files: src/filepath.c, src/typval.c, src/proto/typval.pro, src/errors.h,
16416 src/mbyte.c, src/testdir/test_vim9_builtin.vim
16417
16418Patch 8.2.2647
16419Problem: Terminal test sometimes hangs.
16420Solution: Wait for the shell to display a prompt.
16421Files: src/testdir/test_terminal.vim
16422
16423Patch 8.2.2648
16424Problem: Terminal resize test sometimes hangs.
16425Solution: Wait for the shell to display a prompt and other output.
16426Files: src/testdir/test_terminal2.vim
16427
16428Patch 8.2.2649
16429Problem: Vim9: some wincmd arguments cause a white space error.
16430Solution: Insert a space before the count. (closes #8001)
16431Files: src/window.c, src/testdir/test_vim9_cmd.vim
16432
16433Patch 8.2.2650
16434Problem: Vim9: command modifiers not handled in nested function.
16435Solution: Keep function-local info in a structure and save it on the stack.
16436Files: src/vim9execute.c, src/vim9.h, src/testdir/test_vim9_func.vim
16437
16438Patch 8.2.2651
16439Problem: Vim9: restoring command modifiers happens after jump.
16440Solution: Move the restore instruction to before the jump. (closes #8006)
16441 Also handle for and while.
16442Files: src/vim9compile.c, src/vim9execute.c,
16443 src/testdir/test_vim9_disassemble.vim
16444
16445Patch 8.2.2652
16446Problem: Vim9: can use command modifier without an effect.
16447Solution: Give an error for a misplaced command modifier. Fix error message
16448 number.
16449Files: src/vim9compile.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
16450 src/ex_eval.c, src/testdir/test_vim9_cmd.vim,
16451 src/testdir/test_vim9_builtin.vim,
16452 src/testdir/test_vim9_disassemble.vim
16453
16454Patch 8.2.2653
16455Problem: Build failure.
16456Solution: Add missing changes.
16457Files: src/errors.h
16458
16459Patch 8.2.2654
16460Problem: Vim9: getting a character from a string can be slow.
16461Solution: Avoid a function call to get the character byte size. (#8000)
16462Files: src/vim9execute.vim
16463
16464Patch 8.2.2655
16465Problem: The -w command line argument doesn't work.
16466Solution: Don't set 'window' when set with the -w argument. (closes #8011)
16467Files: src/term.c, src/testdir/test_startup.vim
16468
16469Patch 8.2.2656
16470Problem: Some command line arguments and regexp errors not tested.
16471Solution: Add a few test cases. (Dominique Pellé, closes #8013)
16472Files: src/testdir/test_regexp_latin.vim, src/testdir/test_startup.vim
16473
16474Patch 8.2.2657
16475Problem: Vim9: error message for declaring variable in for loop.
16476Solution: Clear variables when entering block again. (closes #8012)
16477Files: src/ex_eval.c, src/testdir/test_vim9_script.vim
16478
16479Patch 8.2.2658
16480Problem: :for cannot loop over a string.
16481Solution: Accept a string argument and iterate over its characters.
16482Files: runtime/doc/eval.txt, src/eval.c, src/vim9compile.c,
16483 src/vim9execute.c, src/errors.h, src/testdir/test_vimscript.vim,
16484 src/testdir/test_vim9_disassemble.vim,
16485 src/testdir/test_vim9_script.vim
16486
16487Patch 8.2.2659 (after 8.2.2658)
16488Problem: Eval test fails because for loop on string works.
16489Solution: Check looping over function reference fails.
16490Files: src/testdir/test_eval_stuff.vim
16491
16492Patch 8.2.2660
16493Problem: Vim9: no error for declaration with trailing text.
16494Solution: Give an error. (closes #8014)
16495Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
16496
16497Patch 8.2.2661
16498Problem: Leaking memory when looping over a string.
16499Solution: Free the memory.
16500Files: src/eval.c
16501
16502Patch 8.2.2662
16503Problem: There is no way to avoid some escape sequences.
16504Solution: Suppress escape sequences when the --not-a-term argument is used.
16505 (Gary Johnson)
16506Files: src/main.c, src/os_unix.c, src/testdir/test_startup.vim
16507
16508Patch 8.2.2663
16509Problem: Vim9: leaking memory when inline function has an error.
16510Solution: Free the partially allocated function.
16511Files: src/userfunc.c
16512
16513Patch 8.2.2664
16514Problem: Vim9: not enough function arguments checked for string.
16515Solution: Check in balloon functions. Refactor function arguments.
16516Files: src/typval.c, src/proto/typval.pro, src/filepath.c,
16517 src/evalfunc.c, src/mbyte.c, src/testdir/test_vim9_builtin.vim
16518
16519Patch 8.2.2665 (after 8.2.2664)
16520Problem: Test failures.
16521Solution: Check more specific feature. Add missing change.
16522Files: src/testdir/test_vim9_builtin.vim, src/evalbuffer.c
16523
16524Patch 8.2.2666
16525Problem: Vim9: not enough function arguments checked for string.
16526Solution: Check in ch_logfile(), char2nr() and others.
16527Files: src/channel.c, src/evalfunc.c, src/filepath.c, src/eval.c,
16528 src/testdir/test_vim9_builtin.vim
16529
16530Patch 8.2.2667
16531Problem: prop_find() cannot find item matching both id and type.
16532Solution: Add the "both" argument. (Naohiro Ono, closes #8019)
16533Files: runtime/doc/textprop.txt, src/testdir/test_textprop.vim,
16534 src/textprop.c
16535
16536Patch 8.2.2668
16537Problem: Vim9: omitting "call" for "confirm()" does not give an error.
16538Solution: Do not recognize a modifier followed by "(".
16539Files: src/ex_docmd.c, src/testdir/test_vim9_builtin.vim
16540
16541Patch 8.2.2669
16542Problem: Command line completion does not work after "vim9".
16543Solution: Include the "9". (Naohiro Ono, closes #8025)
16544Files: src/cmdexpand.c, src/ex_docmd.c, src/testdir/test_cmdline.vim
16545
16546Patch 8.2.2670
16547Problem: Vim9: error for append(0, text).
16548Solution: Check for negative number. (closes #8022)
16549Files: src/typval.c, src/testdir/test_vim9_builtin.vim
16550
16551Patch 8.2.2671 (after 8.2.2670)
16552Problem: Error for line number in legacy script.
16553Solution: Check for number type.
16554Files: src/typval.c
16555
16556Patch 8.2.2672
16557Problem: Vim9: cannot use :lockvar and :unlockvar in compiled script.
16558Solution: Implement locking support.
16559Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_cmd.vim
16560
16561Patch 8.2.2673
16562Problem: Vim9: script-local funcref can have lower case name.
16563Solution: Require an upper case name.
16564Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
16565
16566Patch 8.2.2674
16567Problem: Motif: cancelling the font dialog resets the font.
16568Solution: When no font is selected to not change the font. (closes #7825,
16569 closes #8035) Fix compiler warnings.
16570Files: src/gui_x11.c, src/gui_motif.c
16571
16572Patch 8.2.2675
16573Problem: Directory change in a terminal window shell is not followed.
16574Solution: Add the 'autoshelldir' option. (closes #6290)
16575Files: runtime/doc/options.txt, runtime/doc/quickref.txt,
16576 runtime/optwin.vim, src/charset.c, src/feature.h, src/option.h,
16577 src/optiondefs.h, src/terminal.c, src/testdir/check.vim,
16578 src/testdir/test_terminal3.vim
16579
16580Patch 8.2.2676
16581Problem: Missing error message.
16582Solution: Add new error message.
16583Files: src/errors.h
16584
16585Patch 8.2.2677
16586Problem: Vim9: cannot use only some of the default arguments.
16587Solution: Use v:none to use default argument value. Remove
16588 uf_def_arg_idx[], use JUMP_IF_ARG_SET. (closes #6504)
16589Files: runtime/doc/vim9.txt, src/vim9compile.c, src/vim9execute.c,
16590 src/userfunc.c, src/structs.h, src/vim9.h,
16591 src/testdir/test_vim9_disassemble.vim,
16592 src/testdir/test_vim9_func.vim
16593
16594Patch 8.2.2678
16595Problem: Test for 'autoshelldir' does not reset the option.
16596Solution: Reset the option after testing.
16597Files: src/testdir/test_terminal3.vim
16598
16599Patch 8.2.2679
16600Problem: Winbar drawn over status line for non-current window with winbar
16601 if frame is zero height. (Leonid V. Fedorenchik)
16602Solution: Do not draw the window if the frame height is zero. (closes #8037)
16603Files: src/drawscreen.c, src/testdir/test_winbar.vim,
16604 src/testdir/dumps/Test_winbar_not_visible.dump
16605
16606Patch 8.2.2680
16607Problem: Vim9: problem defining a script variable from legacy function.
16608Solution: Check if the script is Vim9, not the current syntax.
16609 (closes #8032)
16610Files: src/vim9script.c, src/proto/vim9script.pro, src/evalvars.c,
16611 src/testdir/test_vim9_script.vim
16612
16613Patch 8.2.2681
16614Problem: Vim9: test fails for redeclaring script variable.
16615Solution: It's OK to assign to an existing script variable in legacy.
16616Files: src/evalvars.c
16617
16618Patch 8.2.2682
16619Problem: Vim9: cannot find Name.Func from "import * as Name". (Alexander
16620 Goussas)
16621Solution: When no variable found try finding a function. (closes #8045)
16622 Check that the function was exported.
16623Files: src/vim9compile.c, src/vim9script.c,
16624 src/testdir/test_vim9_script.vim
16625
16626Patch 8.2.2683
16627Problem: Build failure without the +eval feature.
16628Solution: Add #ifdef.
16629Files: src/vim9script.c
16630
16631Patch 8.2.2684
16632Problem: Not enough folding code is tested.
16633Solution: Add more test cases. (Yegappan Lakshmanan, closes #8046)
16634Files: src/testdir/test_fold.vim, src/testdir/test_mksession.vim,
16635 src/testdir/test_source.vim
16636
16637Patch 8.2.2685 (after 8.2.2152)
16638Problem: Custom statusline not drawn correctly with WinBar.
16639Solution: Also adjust the column for the custom status line. (Yee Cheng
16640 Chin, closes #8047)
16641Files: src/drawscreen.c, src/proto/drawscreen.pro, src/screen.c,
16642 src/testdir/dumps/Test_winbar_not_visible_custom_statusline.dump,
16643 src/testdir/test_winbar.vim
16644
16645Patch 8.2.2686
16646Problem: Status line is not updated when going to cmdline mode.
16647Solution: Redraw status lines if 'statusline' is set and going to status
16648 line mode. (based on patch from Justin M. Keyes et al.,
16649 closes #8044)
16650Files: src/ex_getln.c, src/testdir/test_statusline.vim,
16651 src/testdir/dumps/Test_statusline_mode_1.dump,
16652 src/testdir/dumps/Test_statusline_mode_2.dump
16653
16654Patch 8.2.2687
16655Problem: Vim9: cannot use "const" for global variable in :def function.
16656Solution: Do allow using :const for a global variable. (closes #8030)
16657Files: src/vim9compile.c, src/vim9execute.c,
16658 src/testdir/test_vim9_assign.vim
16659
16660Patch 8.2.2688
16661Problem: Vim9: crash when using s: for script variable.
16662Solution: Pass the end pointer. (closes #8045)
16663Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
16664
16665Patch 8.2.2689
16666Problem: Tiny build fails.
16667Solution: Add #ifdef around use of p_stl.
16668Files: src/ex_getln.c
16669
16670Patch 8.2.2690
16671Problem: PowerShell files are not recognized.
16672Solution: Recognize several PowerShell extension. (Heath Stewart,
16673 closes #8051)
16674Files: runtime/filetype.vim, src/testdir/test_filetype.vim
16675
16676Patch 8.2.2691
16677Problem: Autoconf may mess up compiler flags.
16678Solution: Handle removing FORTIFY_SOURCE a bit better. (Vladimir Lomov,
16679 closes #8049)
16680Files: src/configure.ac, src/auto/configure
16681
16682Patch 8.2.2692
16683Problem: Vim9: locked script variable can be changed.
16684Solution: Check for locked value. (closes #8031)
16685Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim
16686
16687Patch 8.2.2693
16688Problem: Vim9: locked script variable can be changed.
16689Solution: Check legacy script variable for being locked. (issue #8031)
16690Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim
16691
16692Patch 8.2.2694
16693Problem: When 'matchpairs' is empty every character beeps. (Marco Hinz)
16694Solution: Bail out when no character in 'matchpairs' was found.
16695 (closes #8053) Add assert_nobeep().
16696Files: runtime/doc/testing.txt, runtime/doc/eval.txt, src/search.c,
16697 src/testing.c, src/proto/testing.pro, src/evalfunc.c,
16698 src/testdir/test_textformat.vim
16699
16700Patch 8.2.2695
16701Problem: Cursor position reset with nested autocommands.
16702Solution: Only check and reset line numbers for not nested autocommands.
16703 (closes #5820)
16704Files: src/autocmd.c, src/testdir/test_terminal.vim
16705
16706Patch 8.2.2696
16707Problem: Lua test fails with Lua 5.4.3 and later.
16708Solution: Check for different error messages. (Yegappan Lakshmanan,
16709 closes #8050)
16710Files: src/testdir/test_lua.vim
16711
16712Patch 8.2.2697
16713Problem: Function list test fails.
16714Solution: Add missing function. (Yegappan Lakshmanan)
16715Files: runtime/doc/usr_41.txt
16716
16717Patch 8.2.2698 (after 8.2.2696)
16718Problem: Lua test fails on MS-Windows.
16719Solution: Fall back to old method if "lua -v" doesn't work.
16720Files: src/testdir/test_lua.vim
16721
16722Patch 8.2.2699
16723Problem: Lua test fails.
16724Solution: Fix condition. (Yegappan Lakshmanan, closes #8060)
16725Files: src/testdir/test_lua.vim
16726
16727Patch 8.2.2700
16728Problem: Nested autocmd test fails sometimes.
16729Solution: Wait for the job to finish.
16730Files: src/testdir/test_terminal.vim
16731
16732Patch 8.2.2701
16733Problem: Order of removing FORTIFY_SOURCE is wrong.
16734Solution: Use the more specific pattern first.
16735Files: src/configure.ac, src/auto/configure
16736
16737Patch 8.2.2702
16738Problem: Compiler completion test fails when more scripts are added.
16739Solution: Add a more generic pattern.
16740Files: src/testdir/test_compiler.vim
16741
16742Patch 8.2.2703
16743Problem: Vim9: memory leak when failing on locked variable.
16744Solution: Free the memory.
16745Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim
16746
16747Patch 8.2.2704
16748Problem: Adding a lot of completions can be a bit slow.
16749Solution: Use fast_breakcheck() instead of ui_breakcheck() when adding a
16750 list of completions. (Ben Jackson, closes #8061)
16751Files: src/insexpand.c
16752
16753Patch 8.2.2705
16754Problem: Vim9: misleading reported line number for wrong type.
16755Solution: Remember and use the line number at the start. (closes #8059)
16756Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
16757
16758Patch 8.2.2706
16759Problem: Vim9: wrong line number reported for boolean operator.
16760Solution: Use the line number before skipping over line break.
16761 (closes #8058)
16762Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
16763
16764Patch 8.2.2707 (after 8.2.2704)
16765Problem: Adding a lot of completions can still be a bit slow.
16766Solution: Add the check for CP_FAST. (Ben Jackson)
16767Files: src/insexpand.c
16768
16769Patch 8.2.2708
16770Problem: Test sometimes fails waiting for shell in terminal.
16771Solution: Use WaitForAssert() so we can see the actual job status. Use
16772 Run_shell_in_terminal().
16773Files: src/testdir/term_util.vim, src/testdir/test_mksession.vim
16774
16775Patch 8.2.2709
16776Problem: The GTK GUI has a gap next to the scrollbar.
16777Solution: Calculate the scrollbar padding for GTK. (closes #8027)
16778Files: src/gui_gtk.c
16779
16780Patch 8.2.2710
16781Problem: Vim9: not all tests cover script and :def function.
16782Solution: Run tests in both if possible. Fix differences.
16783Files: src/eval.c, src/vim9compile.c, src/vim9execute.c,
16784 src/testdir/vim9.vim, src/testdir/test_vim9_expr.vim
16785
16786Patch 8.2.2711
16787Problem: "gj" in a closed fold does not move out of the fold. (Marco Hinz)
16788Solution: Add a check for being in a closed fold. (closes #8062)
16789Files: src/normal.c, src/testdir/test_fold.vim
16790
16791Patch 8.2.2712
16792Problem: Memory leak when adding to a blob fails.
16793Solution: Clear the second typval before returning.
16794Files: src/eval.c
16795
16796Patch 8.2.2713
16797Problem: Folding code not sufficiently tested.
16798Solution: Add a few more test cases. (Yegappan Lakshmanan, closes #8064)
16799Files: src/testdir/test_fold.vim
16800
16801Patch 8.2.2714
16802Problem: Filetype pattern ending in star is too far up.
16803Solution: Move down to where patterns ending in star belong. (closes #8065)
16804Files: runtime/filetype.vim, src/testdir/test_filetype.vim
16805
16806Patch 8.2.2715
16807Problem: Vim9: tests fail without the channel feature. (Dominique Pellé)
16808Solution: Check for the channel feature. (closes #8063)
16809Files: src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim
16810
16811Patch 8.2.2716
16812Problem: The equivalent class regexp is missing some characters.
16813Solution: Update the list of equivalent characters. (Dominique Pellé,
16814 closes #8029)
16815Files: src/regexp_bt.c, src/regexp_nfa.c,
16816 src/testdir/test_regexp_utf8.vim
16817
16818Patch 8.2.2717
16819Problem: GTK menu items don't show a tooltip.
16820Solution: Add a callback to show the tooltip. (Leonid V. Fedorenchik,
16821 closes #8067, closes #7810)
16822Files: src/gui_gtk.c
16823
16824Patch 8.2.2718
16825Problem: Vim9: no explicit test for using a global function without the g:
16826 prefix.
16827Solution: Add a test case.
16828Files: src/testdir/test_vim9_func.vim
16829
16830Patch 8.2.2719
16831Problem: Vim9: appending to dict item doesn't work in a :def function.
16832Solution: Implement assignment with operator on indexed item.
16833Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
16834
16835Patch 8.2.2720
16836Problem: GTK menu tooltip moves the cursor.
16837Solution: Position the cursor after displaying the tooltip. Do not show the
16838 tooltip when editing the command line.
16839Files: src/gui_gtk.c
16840
16841Patch 8.2.2721
16842Problem: Vim9: cannot have a linebreak inside a lambda.
16843Solution: Compile the expression before the arguments.
16844Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
16845
16846Patch 8.2.2722
16847Problem: Vim9: crash when using LHS with double index.
16848Solution: Handle lhs_dest which is "dest_expr". (closes #8068)
16849 Fix confusing error message for missing dict item.
16850Files: src/vim9compile.c, src/eval.c, src/testdir/test_vim9_assign.vim
16851
16852Patch 8.2.2723 (after 8.2.2722)
16853Problem: Assignment test fails.
16854Solution: Adjust error number.
16855Files: src/testdir/test_let.vim
16856
16857Patch 8.2.2724 (after 8.2.2722)
16858Problem: Vim9: concatenating to list in dict not tested.
16859Solution: Add a test. (issue #8068)
16860Files: src/testdir/test_vim9_assign.vim
16861
16862Patch 8.2.2725
16863Problem: Vim9: message about compiling is wrong when using try/catch.
16864Solution: Store the compiling flag with the message. (closes #8071)
16865Files: src/ex_docmd.c, src/ex_eval.c, src/structs.h,
16866 src/testdir/test_vim9_func.vim
16867
16868Patch 8.2.2726
16869Problem: Confusing error message with white space before comma in the
16870 arguments of a function declaration.
16871Solution: Give a specific error message. (closes #2235)
16872Files: src/userfunc.c, src/testdir/test_vim9_func.vim
16873
16874Patch 8.2.2727 (after 8.2.2726)
16875Problem: Function test fails.
16876Solution: Adjust expected error number.
16877Files: src/testdir/test_user_func.vim
16878
16879Patch 8.2.2728
16880Problem: Special key names don't work if 'isident' is cleared.
16881Solution: Add vim_isNormalIDc() and use it for special key names.
16882 (closes #2389)
16883Files: src/charset.c, src/proto/charset.pro, src/misc2.c,
16884 src/testdir/test_mapping.vim
16885
16886Patch 8.2.2729
16887Problem: Vim9: wrong error message for referring to legacy script variable.
16888Solution: Do allow referring to a variable in legacy script without "s:" if
16889 it exists at compile time. (closes #8076)
16890Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
16891
16892Patch 8.2.2730
16893Problem: Coverity complains about not restoring character.
16894Solution: Also restore the character in case of an error.
16895Files: src/vim9compile.c
16896
16897Patch 8.2.2731
16898Problem: Mac: SF symbols are not displayed properly.
16899Solution: Add custom range to list of double-width characters. (Yee Cheng
16900 Chin, closes #8077)
16901Files: src/mbyte.c
16902
16903Patch 8.2.2732
16904Problem: Prompt for s///c in Ex mode can be wrong.
16905Solution: Position the cursor before showing the prompt. (closes #8073)
16906Files: src/ex_cmds.c, src/testdir/test_ex_mode.vim
16907
16908Patch 8.2.2733
16909Problem: Detecting Lua version is not reliable.
16910Solution: Add "vim.lua_version". (Ozaki Kiichi, closes #8080)
16911Files: runtime/doc/if_lua.txt, ci/if_ver-1.vim, src/if_lua.c,
16912 src/testdir/test_lua.vim
16913
16914Patch 8.2.2734
16915Problem: Vim9: cannot use legacy script-local var from :def function.
16916Solution: Do not insist on using "s:" prefix. (closes #8076)
16917Files: src/vim9compile.c, src/proto/vim9compile.pro,
16918 src/testdir/test_vim9_expr.vim
16919
16920Patch 8.2.2735
16921Problem: Vim9: function reference found with prefix, not without.
16922Solution: Also find function reference without prefix.
16923Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
16924
16925Patch 8.2.2736
16926Problem: Vim9: for loop over string is a bit slow.
16927Solution: Avoid using strlen().
16928Files: src/vim9execute.c
16929
16930Patch 8.2.2737
16931Problem: Status line not updated when local 'statusline' option set.
16932Solution: Check the 'statusline' option of each window.
16933Files: src/ex_getln.c, src/testdir/test_statusline.vim,
16934 src/testdir/dumps/Test_statusline_mode_1.dump,
16935 src/testdir/dumps/Test_statusline_mode_2.dump
16936
16937Patch 8.2.2738
16938Problem: Extending a list with itself can give wrong result.
16939Solution: Remember the item before where the insertion happens and skip to
16940 after the already inserted items. (closes #1112)
16941Files: src/list.c, src/testdir/test_listdict.vim
16942
16943Patch 8.2.2739
16944Problem: Vim9: a lambda accepts too many arguments at the script level.
16945Solution: Do not set uf_varargs in Vim9 script.
16946Files: src/userfunc.c, src/testdir/test_vim9_func.vim,
16947 src/testdir/test_vim9_script.vim
16948
16949Patch 8.2.2740
16950Problem: Vim9: lambda with varargs doesn't work.
16951Solution: Make "...name" work. Require type to be a list.
16952Files: src/userfunc.c, src/vim9compile.c, src/vim9execute.c,
16953 src/errors.h, src/testdir/test_vim9_func.vim,
16954 src/testdir/test_vim9_script.vim
16955
16956Patch 8.2.2741
16957Problem: Vim9: Partial call does not check right arguments.
16958Solution: Adjust the offset for whether the partial is before or after the
16959 arguments. (closes #8091)
16960Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
16961
16962Patch 8.2.2742
16963Problem: Vim9: when compiling a function fails it is cleared.
16964Solution: Keep the function lines, prevent execution with a different
16965 status. (closes #8093)
16966Files: src/vim9compile.c, src/structs.h, src/vim9execute.c,
16967 src/testdir/test_vim9_func.vim
16968
16969Patch 8.2.2743
16970Problem: Vim9: function state stuck when compiling with ":silent!".
16971Solution: Check for uf_def_status to be UF_COMPILING.
16972Files: src/vim9compile.c, src/message.c, src/globals.h,
16973 src/testdir/test_vim9_func.vim
16974
16975Patch 8.2.2744
16976Problem: Vim9: no way to explicitly ignore an argument.
16977Solution: Use the underscore as the name for an ignored argument.
16978Files: runtime/doc/vim9.txt, src/vim9compile.c, src/eval.c,
16979 src/evalvars.c, src/errors.h, src/testdir/test_vim9_func.vim
16980
16981Patch 8.2.2745 (after 8.2.2744)
16982Problem: Vim9: missing part of the argument change.
16983Solution: Add missing changes.
16984Files: src/userfunc.c
16985
16986Patch 8.2.2746 (after 8.2.2745)
16987Problem: Check for duplicate arguments does not work.
16988Solution: Correct condition.
16989Files: src/userfunc.c
16990
16991Patch 8.2.2747
16992Problem: Vim9: not always an error for too many function arguments.
16993Solution: Check for getting too many arguments.
16994Files: src/vim9execute.c, src/testdir/test_vim9_func.vim,
16995 src/testdir/test_vim9_builtin.vim
16996
16997Patch 8.2.2748
16998Problem: Vim9: memory leak when calling :def function fails.
16999Solution: Jump to failed_early instead of returning.
17000Files: src/vim9execute.c
17001
17002Patch 8.2.2749
17003Problem: Vim9: test for error can be a bit flaky.
17004Solution: Increase the wait time a bit.
17005Files: src/testdir/test_vim9_script.vim
17006
17007Patch 8.2.2750
17008Problem: Vim9: error for using underscore in nested function.
17009Solution: Do not consider "_" already defined. (closes #8096)
17010Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
17011
17012Patch 8.2.2751
17013Problem: Coverity warns for using NULL pointer.
17014Solution: Check for NULL in calling function.
17015Files: src/userfunc.c
17016
17017Patch 8.2.2752
17018problem: coverity reports unreachable code.
17019Solution: Remove check for positive index.
17020Files: src/typval.c
17021
17022Patch 8.2.2753
17023Problem: Vim9: cannot ignore an item in assignment unpack.
17024Solution: Allow using an underscore.
17025Files: runtime/doc/vim9.txt, src/vim.h, src/evalvars.c, src/eval.c,
17026 src/vim9compile.c, src/testdir/test_vim9_assign.vim
17027
17028Patch 8.2.2754
17029Problem: :sleep! does not always hide the cursor.
17030Solution: Add the cursor_is_asleep flag. (Jeremy Lerner, closes #8097,
17031 closes #7998)
17032Files: src/drawscreen.c, src/ex_docmd.c, src/gui.c, src/proto/term.pro,
17033 src/term.c
17034
17035Patch 8.2.2755
17036Problem: Vim9: no error for using a number in a condition.
17037Solution: Also use ISN_COND2BOOL if the type is t_number_bool.
17038 (closes #7644)
17039Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim,
17040 src/testdir/test_vim9_disassemble.vim
17041
17042Patch 8.2.2756
17043Problem: Vim9: blob index and slice not implemented yet.
17044Solution: Implement blob index and slice.
17045Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/eval.c,
17046 src/blob.c, src/proto/blob.pro, src/testdir/test_vim9_expr.vim
17047
17048Patch 8.2.2757
17049Problem: Vim9: blob tests for legacy and Vim9 script are separate.
17050Solution: Add CheckLegacyAndVim9Success(). Make blob index assign work.
17051Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/errors.h,
17052 src/blob.c, src/proto/blob.pro, src/eval.c, src/ex_docmd.c,
17053 src/testdir/vim9.vim, src/testdir/test_blob.vim
17054
17055Patch 8.2.2758
17056Problem: Vim9: wrong line number for autoload function with wrong name.
17057Solution: Set and restore SOURCING_LNUM. (closes #8100)
17058Files: src/userfunc.c, src/testdir/test_vim9_func.vim
17059
17060Patch 8.2.2759
17061Problem: Vim9: for loop infers type of loop variable.
17062Solution: Do not get the member type. (closes #8102)
17063Files: src/vim9type.c, src/proto/vim9type.pro, src/list.c,
17064 src/vim9script.c, src/proto/vim9script.pro, src/vim.h,
17065 src/testdir/test_vim9_script.vim
17066
17067Patch 8.2.2760
17068Problem: Vim9: no error for changing a for loop variable.
17069Solution: Make the loop variable read-only. (issue #8102)
17070Files: src/eval.c, src/evalvars.c, src/vim9compile.c, src/vim.h,
17071 src/testdir/test_vim9_script.vim
17072
17073Patch 8.2.2761
17074Problem: Using "syn include" does not work properly.
17075Solution: Don't add current_syn_inc_tag to topgrp. (Jaehwang Jerry Jung,
17076 closes #8104)
17077Files: src/syntax.c, src/testdir/test_syntax.vim
17078
17079Patch 8.2.2762
17080Problem: Vim9: function line truncated when compiling.
17081Solution: Copy the line before processing it. (closes #8101)
17082Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
17083
17084Patch 8.2.2763
17085Problem: Vim9: cannot use type in for loop unpack at script level.
17086Solution: Advance over the type name.
17087Files: src/evalvars.c, src/testdir/test_vim9_script.vim
17088
17089Patch 8.2.2764
17090Problem: Memory leak when default function argument is allocated.
17091Solution: Free the expression result.
17092Files: src/userfunc.c, src/testdir/test_functions.vim
17093
17094Patch 8.2.2765
17095Problem: Vim9: not all blob operations work.
17096Solution: Run more tests also with Vim9 script and :def functions. Fix what
17097 doesn't work.
17098Files: src/eval.c, src/blob.c, src/proto/blob.pro, src/vim9execute.c,
17099 src/errors.h, src/testdir/vim9.vim, src/testdir/test_blob.vim
17100
17101Patch 8.2.2766 (after 8.2.2765)
17102Problem: Test failure.
17103Solution: Add change to Vim9 compilation error message.
17104Files: src/vim9compile.c
17105
17106Patch 8.2.2767 (after 8.2.2765)
17107Problem: Compiler warning for unused argument.
17108Solution: Remove the argument.
17109Files: src/blob.c, src/proto/blob.pro, src/vim9execute.c, src/eval.c
17110
17111Patch 8.2.2768
17112Problem: Vim9: memory leak with blob range error.
17113Solution: Jump to end instead of returning.
17114Files: src/vim9compile.c
17115
17116Patch 8.2.2769
17117Problem: Modula-3 config files are not recognized.
17118Solution: Add filetype patterns. (Doug Kearns)
17119Files: runtime/filetype.vim, src/testdir/test_filetype.vim
17120
17121Patch 8.2.2770
17122Problem: Vim9: type of loop variable is not used.
17123Solution: Parse and check the variable type. (closes #8107)
17124Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
17125
17126Patch 8.2.2771
17127Problem: Vim9: assignment not recognized if declaration was skipped.
17128Solution: Also recognized an assignment if the variable does not exist.
17129 (closes #8108)
17130Files: src/ex_docmd.c, src/testdir/test_vim9_assign.vim
17131
17132Patch 8.2.2772
17133Problem: Problems when restoring 'runtimepath' from a session file.
17134Solution: Add the "skiprtp" item in 'sessionoptions'.
17135Files: runtime/doc/options.txt, src/session.c, src/optionstr.c,
17136 src/option.h, src/vim.h, src/option.c,
17137 src/testdir/test_mksession.vim
17138
17139Patch 8.2.2773
17140Problem: PSL filetype not recognized.
17141Solution: Add a filetype pattern. (Daniel Kho, closes #8117)
17142Files: runtime/filetype.vim, src/testdir/test_filetype.vim
17143
17144Patch 8.2.2774
17145Problem: Vim9: cannot import an existing name even when using "as".
17146Solution: Do not check for an existing name when using "as". (closes #8113)
17147Files: src/vim9script.c, src/testdir/test_vim9_script.vim
17148
17149Patch 8.2.2775
17150Problem: Vim9: wrong line number used for some commands.
17151Solution: For :exe, :echo and the like use the line number of the start of
17152 the command. When calling a function set the line number in the
17153 script context.
17154Files: src/vim9compile.c, src/vim9execute.c, src/structs.h,
17155 src/testdir/test_vim9_script.vim
17156
17157Patch 8.2.2776
17158Problem: :mksession uses current value of 'splitbelow' and 'splitright'
17159 even though "options" is not in 'sessionoptions'. (Maxim Kim)
17160Solution: Save and restore the values, instead of setting to the current
17161 value. (closes #8119)
17162Files: src/session.c, src/testdir/test_mksession.vim
17163
17164Patch 8.2.2777
17165Problem: Vim9: blob operations not tested in all ways.
17166Solution: Run tests with CheckLegacyAndVim9Success(). Make blob assign with
17167 index work.
17168Files: src/vim9compile.c, src/vim9execute.c, src/errors.h, src/blob.c,
17169 src/proto/blob.pro, src/testdir/test_blob.vim,
17170 src/testdir/test_vim9_disassemble.vim
17171
17172Patch 8.2.2778
17173Problem: Problem restoring 'packpath' in session.
17174Solution: Let "skiprtp" also apply to 'packpath'.
17175Files: runtime/doc/options.txt, src/option.c,
17176 src/testdir/test_mksession.vim
17177
17178Patch 8.2.2779
17179Problem: Memory access error in remove() for blob.
17180Solution: Adjust length for memmove().
17181Files: src/blob.c
17182
17183Patch 8.2.2780
17184Problem: Vim9: for loop over blob doesn't work.
17185Solution: Make it work.
17186Files: src/vim9compile.c, src/vim9execute.c, src/testdir/test_blob.vim
17187
17188Patch 8.2.2781
17189Problem: Add() silently skips when adding to null list or blob.
17190Solution: Give an error in Vim9 script. Allocate blob when it is NULL like
17191 with list and dict.
17192Files: src/list.c, src/evalvars.c, src/vim9execute.c,
17193 src/testdir/test_blob.vim, src/testdir/test_vim9_builtin.vim
17194
17195Patch 8.2.2782
17196Problem: Vim9: blob operations not fully tested.
17197Solution: Make more blob tests run in Vim9 script. Fix filter(). Make
17198 insert() give an error for a null blob, like add().
17199Files: src/list.c, src/testdir/test_blob.vim,
17200 src/testdir/test_vim9_builtin.vim
17201
17202Patch 8.2.2783
17203Problem: Duplicate code for setting byte in blob, blob test may fail.
17204Solution: Call blob_set_append(). Test sort failure with "N".
17205Files: src/eval.c, src/testdir/test_blob.vim
17206
17207Patch 8.2.2784
17208Problem: Vim9: cannot use \=expr in :substitute.
17209Solution: Compile the expression into instructions and execute them when
17210 invoked.
17211Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
17212 src/proto/vim9execute.pro, src/regexp.c, src/ex_cmds.c,
17213 src/proto/ex_cmds.pro, src/globals.h,
17214 src/testdir/test_vim9_cmd.vim,
17215 src/testdir/test_vim9_disassemble.vim
17216
17217Patch 8.2.2785
17218Problem: Vim9: cannot redirect to local variable.
17219Solution: Compile :redir when redirecting to a variable.
17220Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/errors.h,
17221 src/evalvars.c, src/proto/evalvars.pro,
17222 src/testdir/test_vim9_cmd.vim,
17223 src/testdir/test_vim9_disassemble.vim
17224
17225Patch 8.2.2786
17226Problem: Vim9: memory leak when using :s with expression.
17227Solution: Clean up the instruction list.
17228Files: src/vim9compile.c
17229
17230Patch 8.2.2787
17231Problem: MS-Windows: crash when using :echoconsole.
17232Solution: Do not write a NUL when it's already there.
17233Files: src/os_win32.c
17234
17235Patch 8.2.2788
17236Problem: Raku is now the only name what once was called perl6.
17237Solution: Adjust the filetype detection. (closes #8120)
17238Files: runtime/filetype.vim, src/testdir/test_filetype.vim
17239
17240Patch 8.2.2789
17241Problem: Vim9: using \=expr in :substitute does not handle jumps.
17242Solution: Start with instruction count zero. (closes #8128)
17243Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
17244
17245Patch 8.2.2790 (after 8.2.2788)
17246Problem: filetype test fails
17247Solution: Also update the scripts detection
17248Files: runtime/scripts.vim
17249
17250Patch 8.2.2791
17251Problem: Vim9: memory leak when using \=expr in :substitute.
17252Solution: Do not allocate a new instruction list.
17253Files: src/vim9compile.c
17254
17255Patch 8.2.2792
17256Problem: Vim9: :disas shows instructions for default args but no text.
17257Solution: Show the expression test above the default argument instructions.
17258 (closes #8129)
17259Files: src/vim9execute.c, src/testdir/test_vim9_disassemble.vim
17260
17261Patch 8.2.2793
17262Problem: MS-Windows: string literals are writable with MSVC.
17263Solution: Add the /GF compiler flag. Make mch_write() safer. (Ken Takata,
17264 closes #8133)
17265Files: src/Make_mvc.mak, src/os_win32.c
17266
17267Patch 8.2.2794
17268Problem: Linux users don't know how to get ncurses.
17269Solution: Add the name of the package. (closes #8132)
17270Files: src/configure.ac, src/auto/configure
17271
17272Patch 8.2.2795
17273Problem: Coverity warns for not using return value.
17274Solution: Check the return value of compiling the substitute expression.
17275Files: src/vim9compile.c
17276
17277Patch 8.2.2796
17278Problem: Vim9: redir to variable does not accept an index.
17279Solution: Make the index work.
17280Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
17281
17282Patch 8.2.2797
17283Problem: Search highlight disappears in the Visual area.
17284Solution: Combine the search attributes. (closes #8134)
17285Files: src/drawline.c, src/testdir/test_search.vim,
17286 src/testdir/dumps/Test_hlsearch_visual_1.dump
17287
17288Patch 8.2.2798
17289Problem: Vim9: redir to variable with append does not accept an index.
17290Solution: Make the appending work.
17291Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
17292
17293Patch 8.2.2799
17294Problem: Vim9: type casts don't fully work at the script level.
17295Solution: Implement the missing piece.
17296Files: src/eval.c, src/testdir/test_vim9_expr.vim
17297
17298Patch 8.2.2800
17299Problem: After a timer displays text a hit-enter prompt is given.
17300Solution: Reset msg_didany and need_wait_return. (closes #8136)
17301Files: src/drawscreen.c, src/testdir/test_timers.vim
17302
17303Patch 8.2.2801
17304Problem: Free Pascal makefile not recognized.
17305Solution: Add the fpcmake filetype. (Doug Kearns)
17306Files: runtime/filetype.vim, src/testdir/test_filetype.vim
17307
17308Patch 8.2.2802
17309Problem: Vim9: illegal memory access.
17310Solution: Check for comment before checking for white space. (closes #8142)
17311Files: src/eval.c, src/testdir/test_vim9_func.vim
17312
17313Patch 8.2.2803
17314Problem: Flicker when the popup menu has an info popup.
17315Solution: Avoid drawing over the popup when it's going to be redrawn in the
17316 same position. (closes #8131) Also avoid redrawing the scrollbar.
17317Files: src/popupmenu.c, src/proto/popupmenu.pro, src/drawscreen.c,
17318 src/globals.h
17319
17320Patch 8.2.2804
17321Problem: Setting buffer local mapping with mapset() changes global mapping.
17322Solution: Only set the local mapping. (closes #8143)
17323Files: src/map.c, src/testdir/test_maparg.vim
17324
17325Patch 8.2.2805
17326Problem: Vim9: cannot use legacy syntax in Vim9 script.
17327Solution: Add the :legacy command.
17328Files: src/ex_cmds.h, runtime/doc/vim9.txt, runtime/doc/index.txt
17329 src/ex_cmdidxs.h, src/ex_docmd.c, src/structs.h, src/vim9script.c,
17330 src/vim9compile.c, src/testdir/test_vim9_func.vim,
17331 src/testdir/test_vim9_assign.vim
17332
17333Patch 8.2.2806
17334Problem: Vim9: using "++nr" as a command might not work.
17335Solution: Do not recognize "++" and "--" in a following line as addition or
17336 subtraction.
17337Files: src/vim9compile.c, src/ex_docmd.c, src/ex_cmds.h, src/ex_cmdidxs.h,
17338 src/vim9script.c, src/proto/vim9script.pro, src/eval.c,
17339 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_expr.vim
17340
17341Patch 8.2.2807
17342Problem: Build fails with tiny features.
17343Solution: Use a dummy function for ex_incdec().
17344Files: src/ex_docmd.c
17345
17346Patch 8.2.2808
17347Problem: Vim9: increment and decrement not sufficiently tested.
17348Solution: Add assertions.
17349Files: src/testdir/test_vim9_assign.vim
17350
17351Patch 8.2.2809
17352Problem: Vim9: :def function compilation fails when using :legacy.
17353Solution: Reset CMOD_LEGACY when compiling a function. (closes #8137)
17354Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
17355
17356Patch 8.2.2810
17357Problem: Vim9: crash when calling a function in a substitute expression.
17358Solution: Set the instructions back to the substitute expression
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017359 instructions. (closes #8148)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017360Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
17361
17362Patch 8.2.2811
17363Problem: Vim9: error for missing white space doesn't say where it is
17364 missing
17365Solution: Mention the command. (closes #8149)
17366Files: src/ex_docmd.c, src/errors.h, src/testdir/test_vim9_cmd.vim
17367
17368Patch 8.2.2812
17369Problem: Vim9: still crash when using substitute expression.
17370Solution: Put the instruction list in the stack frame. (closes #8154)
17371Files: src/vim9execute.c, src/vim9.h, src/testdir/test_vim9_cmd.vim
17372
17373Patch 8.2.2813
17374Problem: Cannot grep using fuzzy matching.
17375Solution: Add the "f" flag to :vimgrep. (Yegappan Lakshmanan, closes #8152)
17376Files: runtime/doc/quickfix.txt, src/ex_cmds.c, src/proto/search.pro,
17377 src/quickfix.c, src/search.c, src/vim.h,
17378 src/testdir/test_quickfix.vim
17379
17380Patch 8.2.2814 (after 8.2.2812)
17381Problem: Vim9: unused variable. (John Marriott)
17382Solution: Adjust #ifdef.
17383Files: src/vim9execute.c
17384
17385Patch 8.2.2815
17386Problem: Status line flickers when redrawing popup menu info.
17387Solution: Do not redraw the status line when the focus is in the popup
17388 window. (issue #8144)
17389Files: src/popupmenu.c
17390
17391Patch 8.2.2816
17392Problem: Vim9: comment below expression in lambda causes problems.
17393Solution: Use a single space for empty and comment lines. (closes #8156)
17394Files: src/eval.c, src/testdir/test_vim9_expr.vim
17395
17396Patch 8.2.2817
17397Problem: Vim9: script sourcing continues after an error.
17398Solution: Make an error in any command in "vim9script" abort sourcing.
17399Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim,
17400 src/testdir/test_vim9_assign.vim,
17401 src/testdir/test_vim9_func.vim
17402
17403Patch 8.2.2818
17404Problem: No jump added to jumplist when opening terminal in current window.
17405Solution: Call setpcmark(). (closes #8158)
17406Files: src/terminal.c, src/testdir/test_terminal.vim
17407
17408Patch 8.2.2819
17409Problem: Finishing an abbreviation with a multi-byte char may not work.
17410Solution: Escape K_SPECIAL in the typed character. (closes #8160)
17411Files: src/map.c, src/testdir/test_mapping.vim
17412
17413Patch 8.2.2820
17414Problem: Session file may divide by zero.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017415Solution: Avoid writing divide by zero. (closes #8162)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017416Files: src/session.c, src/testdir/test_mksession.vim
17417
17418Patch 8.2.2821
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017419Problem: MS-Windows: unnecessarily loading libraries when registering OLE.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017420Solution: Skip loading libraries when invoked with "-register".
17421Files: src/main.c, src/globals.h, src/os_win32.c
17422
17423Patch 8.2.2822 (after 8.2.2821)
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017424Problem: MS-Windows: unnecessarily loading libraries when unregistering OLE.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017425Solution: Also skip loading libraries when invoked with "-unregister". Run
17426 Vim for README.txt with user privileges.
17427Files: src/main.c, nsis/gvim.nsi, nsis/README.txt
17428
17429Patch 8.2.2823
17430Problem: MS-Windows: launching Vim from installer doesn't open README.
17431Solution: Adjust the quotes.
17432Files: nsis/gvim.nsi
17433
17434Patch 8.2.2824
17435Problem: MS-Windows: build failure with MSVC.
17436Solution: Adjust the list of distributed files. Add hint about python.
17437 Adjust path for reading runtime files.
17438Files: Filelist, src/testdir/shared.vim,
17439 src/testdir/test_function_lists.vim
17440
17441Patch 8.2.2825
17442Problem: Code in checkreadonly() not fully tested.
17443Solution: Add more tests. (Dominique Pellé, closes #8169)
17444Files: src/testdir/test_excmd.vim
17445
17446Patch 8.2.2826
17447Problem: Compiler warnings for int to size_t conversion. (Randall W.
17448 Morris)
17449Solution: Add type casts.
17450Files: src/map.c, src/quickfix.c
17451
17452Patch 8.2.2827
17453Problem: Test file was not deleted.
17454Solution: Uncomment the delete() call. (Dominique Pellé, closes #8172)
17455Files: src/testdir/test_mksession.vim
17456
17457Patch 8.2.2828
17458Problem: Coverity complains about not checking the rename() return value.
17459Solution: Add "(void)", can't do anything in case of a failure.
17460Files: src/fileio.c
17461
17462Patch 8.2.2829
17463Problem: Some comments are not correct or clear.
17464Solution: Adjust the comments. Add test for cursor position.
17465Files: src/regexp_bt.c, src/regexp_nfa.c,
17466 src/testdir/test_exec_while_if.vim,
17467 src/testdir/test_substitute.vim
17468
17469Patch 8.2.2830
17470Problem: Terminal colors are not updated when 'background' is set.
17471Solution: Call term_update_colors() for all terminals. (Marcin Szamotulski,
17472 closes #8171, closes #8150)
17473Files: src/terminal.c, src/proto/terminal.pro, src/optionstr.c
17474
17475Patch 8.2.2831
17476Problem: Vim9: expandcmd() not tested.
17477Solution: Add a test.
17478Files: src/testdir/test_vim9_builtin.vim
17479
17480Patch 8.2.2832
17481Problem: Operator cancelled by moving mouse when using popup. (Sergey
17482 Vlasov)
17483Solution: Do not trigger an operator for a mouse move events. (closes #8176)
17484Files: src/normal.c
17485
17486Patch 8.2.2833
17487Problem: Two key command cancelled by moving mouse when using popup.
17488 (Sergey Vlasov)
17489Solution: Ignore K_MOUSEMOVE in plain_vgetc().
17490Files: src/getchar.c
17491
17492Patch 8.2.2834
17493Problem: Vim9: :cexpr does not work with local variables.
17494Solution: Compile :cexpr.
17495Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/quickfix.c,
17496 src/proto/quickfix.pro, src/testdir/test_quickfix.vim,
17497 src/testdir/test_vim9_disassemble.vim
17498
17499Patch 8.2.2835 (after 8.2.2834)
17500Problem: Vim9: leaking memory in :cexpr.
17501Solution: Also free the command line copy.
17502Files: src/vim9compile.c
17503
17504Patch 8.2.2836 (after 8.2.2834)
17505Problem: Build failure without the +quickfix feature. (John Marriott)
17506Solution: Add #ifdef.
17507Files: src/vim9compile.c, src/vim9execute.c, src/tag.c
17508
17509Patch 8.2.2837
17510Problem: Various code lines not covered by tests.
17511Solution: Add test cases. (Dominique Pellé, closes #8178)
17512Files: src/testdir/test_excmd.vim, src/testdir/test_functions.vim,
17513 src/testdir/test_options.vim, src/testdir/test_startup.vim,
17514 src/testdir/test_syntax.vim, src/testdir/test_vim9_cmd.vim
17515
17516Patch 8.2.2838
17517Problem: File extension .wrap not recognized.
17518Solution: Use dosini filetype for .wrap files. (Liam Beguin, closes #8177)
17519Files: runtime/filetype.vim, src/testdir/test_filetype.vim
17520
17521Patch 8.2.2839
17522Problem: Default redirection missing "ash" and "dash".
17523Solution: Recognize "ash" and "dash". (Natanael Copa, closes #8180)
17524Files: runtime/doc/options.txt, src/option.c
17525
17526Patch 8.2.2840
17527Problem: Vim9: member operation not fully tested.
17528Solution: Add a few tests.
17529Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
17530
17531Patch 8.2.2841
17532Problem: MS-Windows: cursor in wrong position when 'lazyredraw' and
Bram Moolenaar47c532e2022-03-19 15:18:53 +000017533 'statusline' are set.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017534Solution: Call compute_cmdrow(). (closes #8170, closes #8184)
17535Files: src/os_win32.c
17536
17537Patch 8.2.2842
17538Problem: Vim9: skip argument to searchpair() is not compiled.
17539Solution: Add VAR_INSTR.
17540Files: src/structs.h, src/vim9.h, src/vim9compile.c, src/vim9execute.c,
17541 src/proto/vim9execute.pro, src/eval.c, src/evalfunc.c, src/vim.h,
17542 src/evalvars.c, src/typval.c, src/vim9type.c, src/testing.c,
17543 src/viminfo.c, src/if_py_both.h, src/json.c,
17544 src/testdir/test_vim9_disassemble.vim,
17545 src/testdir/test_vim9_builtin.vim
17546
17547Patch 8.2.2843 (after 8.2.2842)
17548Problem: Vim9: skip argument to searchpairpos() is not compiled.
17549Solution: Handle like searchpair(). Also for search() and searchpos().
17550Files: src/vim9compile.c, src/testdir/test_vim9_builtin.vim
17551
17552Patch 8.2.2844
17553Problem: Vim9: memory leak when using searchpair().
17554Solution: Free the v_instr field.
17555Files: src/typval.c
17556
17557Patch 8.2.2845
17558Problem: MS-Windows: warning for signed/unsigned comparison.
17559Solution: Add type cast.
17560Files: src/terminal.c
17561
17562Patch 8.2.2846
17563Problem: Vim9: "echo Func()" does not give an error for a function without
17564 a return value.
17565Solution: Give an error. Be more specific about why a value is invalid.
17566Files: src/globals.h, src/errors.h, src/eval.c, src/evalfunc.c,
17567 src/typval.c, src/vim9compile.c, src/vim9execute.c,
17568 src/testdir/test_vim9_cmd.vim
17569
17570Patch 8.2.2847
17571Problem: Perl not tested sufficiently.
17572Solution: Add test. Also test W17. (Dominique Pellé, closes #8193)
17573Files: src/testdir/test_arabic.vim, src/testdir/test_perl.vim
17574
17575Patch 8.2.2848
17576Problem: Crash when calling partial.
17577Solution: Check for NULL pointer. (Dominique Pellé, closes #8202)
17578Files: src/eval.c, src/evalfunc.c, src/testdir/test_functions.vim,
17579 src/testdir/test_listdict.vim
17580
17581Patch 8.2.2849
17582Problem: Bufwrite not sufficiently tested.
17583Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8192)
17584Files: src/testdir/test_startup.vim, src/testdir/test_writefile.vim
17585
17586Patch 8.2.2850
17587Problem: Recalling commands from history is not tested.
17588Solution: Add tests. (closes #8194)
17589Files: src/testdir/test_cmdline.vim
17590
17591Patch 8.2.2851
17592Problem: Using <Cmd> mapping on the command line triggers CmdlineChanged.
17593 (Naohiro Ono)
17594Solution: Jump to cmdline_not_changed if the command line didn't change.
17595 (closes #8208)
17596Files: src/ex_getln.c, src/testdir/test_cmdline.vim
17597
17598Patch 8.2.2852
17599Problem: Configure can add --as-needed a second time.
17600Solution: Only add --as-needed if not already there. (Natanael Copa,
17601 closes #8189, closes #8181)
17602Files: src/configure.ac, src/auto/configure
17603
17604Patch 8.2.2853 (after 8.2.2851)
17605Problem: Window is not updated after using <Cmd> mapping.
17606Solution: So jump to cmdline_changed but skip autocommand.
17607Files: src/ex_getln.c
17608
17609Patch 8.2.2854
17610Problem: Custom statusline cannot contain % items.
17611Solution: Add "%{% expr %}". (closes #8190)
17612Files: runtime/doc/options.txt, src/buffer.c, src/optionstr.c,
17613 src/testdir/test_statusline.vim
17614
17615Patch 8.2.2855
17616Problem: White space after "->" does not give E274.
17617Solution: Do not skip white space in legacy script. (closes #8212)
17618Files: src/eval.c, src/testdir/test_method.vim
17619
17620Patch 8.2.2856
17621Problem: Get readonly error for device that can't be written to.
17622Solution: Check for being able to write first. (closes #8205)
17623Files: src/ex_cmds.c, src/testdir/test_writefile.vim
17624
17625Patch 8.2.2857
17626Problem: Vim9: exception in ISN_INSTR caught at wrong level.
17627Solution: Set the starting trylevel in exec_instructions(). (closes #8214)
17628Files: src/vim9compile.c, src/vim9execute.c, src/globals.h,
17629 src/testdir/test_vim9_builtin.vim
17630
17631Patch 8.2.2858 (after 8.2.2857)
17632Problem: Test fails because of changed error message.
17633Solution: Adjust the expected error message.
17634Files: src/testdir/test_ex_mode.vim
17635
17636Patch 8.2.2859 (after 8.2.2857)
17637Problem: Tcl test fails because of changed error message.
17638Solution: Adjust the expected error message.
17639Files: src/testdir/test_tcl.vim
17640
17641Patch 8.2.2860
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017642Problem: Adding a text property causes the whole window to be redrawn.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017643Solution: Use changed_lines_buf() to only redraw the affected lines.
17644Files: src/change.c, src/proto/change.pro, src/textprop.c
17645
17646Patch 8.2.2861
17647Problem: Vim9: "legacy return" is not recognized as a return statement.
17648Solution: Specifically check for a return command. (closes #8213)
17649Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h,
17650 src/testdir/test_vim9_expr.vim
17651
17652Patch 8.2.2862
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017653Problem: Removing a text property causes the whole window to be redrawn.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017654Solution: Use changed_lines_buf() to only redraw the affected lines.
17655Files: src/textprop.c
17656
17657Patch 8.2.2863 (after 8.2.2862)
17658Problem: Removing a text property does not redraw optimally.
17659Solution: Only redraw the lines that mithg actually have been changed.
17660Files: src/textprop.c
17661
17662Patch 8.2.2864
17663Problem: Vim9: crash when using inline function.
17664Solution: Check for NULL pointer. Make using inline function work inside
17665 lambda. (closes #8217)
17666Files: src/userfunc.c, src/testdir/test_vim9_func.vim
17667
17668Patch 8.2.2865 (after 8.2.2864)
17669Problem: Skipping over function body fails.
17670Solution: Do not define the function when skipping.
17671Files: src/userfunc.c
17672
17673Patch 8.2.2866
17674Problem: Vim9: memory leak when using inline function.
17675Solution: Remember what strings to free.
17676Files: src/userfunc.c, src/structs.h, src/eval.c
17677
17678Patch 8.2.2867 (after 8.2.2866)
17679Problem: Build failure.
17680Solution: Add missing part of the change.
17681Files: src/globals.h
17682
17683Patch 8.2.2868
17684Problem: Vim9: When executing a compiled expression the trylevel at start
17685 is changed but not restored. (closes #8214)
17686Solution: Restore the trylevel at start.
17687Files: src/vim9execute.c, src/testdir/test_vim9_builtin.vim
17688
17689Patch 8.2.2869
17690Problem: Using unified diff is not tested.
17691Solution: Test all cases also with unified diff. (issue #8197)
17692Files: src/testdir/test_diffmode.vim
17693
17694Patch 8.2.2870
17695Problem: CmdlineChange event triggered twice for CTRL-R.
17696Solution: Return CMDLINE_NOT_CHANGED from cmdline_insert_reg().
17697 (closes #8219)
17698Files: src/ex_getln.c, src/testdir/test_cmdline.vim
17699
17700Patch 8.2.2871
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017701Problem: Unnecessary VIM_ISDIGIT() calls, badly indented code.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017702Solution: Call skipdigits() on the next character. Improve indenting.
17703 (Dominique Pellé, closes #8227)
17704Files: src/charset.c, src/evalfunc.c, src/ex_docmd.c, src/json.c,
17705 src/ops.c, src/tag.c, src/vim9compile.c
17706
17707Patch 8.2.2872
17708Problem: Python tests fail without the channel feature.
17709Solution: Add a feature check. (Dominique Pellé, closes #8226)
17710Files: src/testdir/test_python2.vim, src/testdir/test_python3.vim
17711
17712Patch 8.2.2873
17713Problem: Not enough tests for writing buffers.
17714Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8229)
17715Files: src/testdir/test_buffer.vim, src/testdir/test_cmdline.vim,
17716 src/testdir/test_functions.vim, src/testdir/test_writefile.vim
17717
17718Patch 8.2.2874
17719Problem: MS-Windows: screen redraws too often.
17720Solution: Do not redraw when peeking for a character. (closes #8230,
17721 closes #8211)
17722Files: src/os_win32.c
17723
17724Patch 8.2.2875
17725Problem: Cancelling inputlist() after a digit does not return zero.
17726Solution: Always return zero when cancelling. (closes #8231)
17727Files: src/misc1.c, src/testdir/test_functions.vim
17728
17729Patch 8.2.2876
17730Problem: Configure cannot detect Python 3.10.
17731Solution: Use sys.version_info. (closes #8233)
17732Files: src/configure.ac, src/auto/configure
17733
17734Patch 8.2.2877
17735Problem: Insufficient tests for popup menu rightleft.
17736Solution: Add tests. (Yegappan Lakshmanan, closes #8235)
17737Files: src/testdir/test_popup.vim,
17738 src/testdir/dumps/Test_pum_rightleft_01.dump,
17739 src/testdir/dumps/Test_pum_rightleft_02.dump,
17740 src/testdir/dumps/Test_pum_scrollbar_01.dump,
17741 src/testdir/dumps/Test_pum_scrollbar_02.dump
17742
17743Patch 8.2.2878
17744Problem: Vim9: for loop list unpack only allows for one "_".
17745Solution: Drop the value when the variable is "_". (closes #8232)
17746Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
17747
17748Patch 8.2.2879
17749Problem: File extension .hsig not recognized.
17750Solution: Use Haskell filetype for .hsig files. (Marcin Szamotulski,
17751 closes #8236)
17752Files: runtime/filetype.vim, src/testdir/test_filetype.vim
17753
17754Patch 8.2.2880
17755Problem: Unified diff fails if actually used.
17756Solution: Invoke :diffupdate in the test. Fix the check for working external
17757 diff. (Ghjuvan Lacambre, Christian Brabandt, closes #8197)
17758Files: src/diff.c, src/testdir/test_diffmode.vim
17759
17760Patch 8.2.2881
17761Problem: Various pieces of code not covered by tests.
17762Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8245)
17763Files: src/testdir/test_const.vim, src/testdir/test_functions.vim,
17764 src/testdir/test_python2.vim, src/testdir/test_python3.vim,
17765 src/testdir/test_user_func.vim, src/testdir/test_vim9_expr.vim,
17766 src/testdir/test_vim9_func.vim
17767
17768Patch 8.2.2882
17769Problem: Vim9: memory leak when lambda has an error.
17770Solution: Free the list of argument types on failure.
17771Files: src/userfunc.c
17772
17773Patch 8.2.2883
17774Problem: MS-Windows manifest file name is misleading.
17775Solution: Rename the file. (closes #8241)
17776Files: .gitignore, .hgignore, Filelist, Makefile, src/Make_cyg_ming.mak,
17777 src/Make_mvc.mak, src/gvim.exe.mnf, src/vim.manifest, src/vim.rc
17778
17779Patch 8.2.2884
17780Problem: Not enough cscope code is covered by tests.
17781Solution: Add a few test cases. (Dominique Pellé, closes #8246)
17782Files: src/testdir/test_cscope.vim
17783
17784Patch 8.2.2885
17785Problem: searching for \%'> does not match linewise end of line. (Tim Chase)
17786Solution: Match end of line if column is MAXCOL. (closes #8238)
17787Files: src/regexp_nfa.c, src/regexp_bt.c, src/testdir/test_search.vim
17788
17789Patch 8.2.2886
17790Problem: Various pieces of code not covered by tests.
17791Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8255)
17792Files: src/testdir/test_expr.vim, src/testdir/test_functions.vim,
17793 src/testdir/test_listdict.vim, src/testdir/test_registers.vim,
17794 src/testdir/test_user_func.vim, src/testdir/test_vim9_builtin.vim,
17795 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim
17796
17797Patch 8.2.2887
17798Problem: Crash when passing null string to fullcommand().
17799Solution: Check for NULL pointer. (closes #8256)
17800Files: src/ex_docmd.c, src/testdir/test_cmdline.vim
17801
17802Patch 8.2.2888
17803Problem: Vim9: "k" command recognized in Vim9 script.
17804Solution: Do not recognize "k" or "s" and "d" with flags.
17805Files: src/ex_docmd.c, src/testdir/test_vim9_builtin.vim,
17806 src/testdir/test_vim9_script.vim
17807
17808Patch 8.2.2889
17809Problem: Typo and verbose comment in Makefiles.
17810Solution: Fix typo. Use @#. (Ken Takata, closes #8252)
17811Files: Makefile, src/testdir/Makefile
17812
17813Patch 8.2.2890
17814Problem: Text property duplicated when data block splits.
17815Solution: Do not continue text prop from previous line. (closes #8261)
17816Files: src/memline.c, src/structs.h, src/testdir/test_textprop.vim
17817
17818Patch 8.2.2891
17819Problem: Cannot build with Perl 5.34.
17820Solution: Add Perl_SvTRUE_common(). (Ozaki Kiichi, closes #8266,
17821 closes #8250)
17822Files: src/if_perl.xs
17823
17824Patch 8.2.2892
17825Problem: Error message contains random characters.
17826Solution: Pass the right pointer to error_white_both(). (closes #8272,
17827 closes #8263)
17828Files: src/eval.c, src/testdir/test_vim9_expr.vim
17829
17830Patch 8.2.2893
17831Problem: Multi-byte text in popup title shows up wrong.
17832Solution: Use the character width instead of the byte length. (Ralf Schandl,
17833 closes #8267, closes #8264)
17834Files: src/popupwin.c, src/message_test.c, src/testdir/test_popupwin.vim,
17835 src/testdir/dumps/Test_popupwin_multibytetitle.dump
17836
17837Patch 8.2.2894
17838Problem: MS-Windows: using enc_locale() for strftime() might not work.
17839Solution: Use wcsftime(). (Ken Takata, closes #8271)
17840Files: src/time.c
17841
17842Patch 8.2.2895
17843Problem: Vim9: random characters appear in some error messages.
17844Solution: Pass the correct pointer. (closes #8277)
17845Files: src/eval.c, src/vim9compile.c, src/testdir/test_vim9_expr.vim
17846
17847Patch 8.2.2896
17848Problem: Spellfile functionality not fully tested.
17849Solution: Add tests for CHECKCOMPOUNDPATTERN and COMMON. (Dominique Pellé,
17850 closes #8270)
17851Files: src/testdir/test_spellfile.vim
17852
17853Patch 8.2.2897
17854Problem: Vim9: can use reserved words at the script level.
17855Solution: Check variable names for reserved words. (closes #8253)
17856Files: src/vim9compile.c, src/vim9script.c, src/proto/vim9script.pro,
17857 src/eval.c, src/testdir/test_vim9_assign.vim
17858
17859Patch 8.2.2898
17860Problem: QuitPre and ExitPre not triggered when GUI window is closed.
17861Solution: Call before_quit_autocmds(). (closes #8242)
17862Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/gui.c
17863
17864Patch 8.2.2899
17865Problem: Appveyor script does not detect nmake failure.
17866Solution: Explicitly check for executable. (Ken Takata, closes #8281)
17867Files: ci/appveyor.bat
17868
17869Patch 8.2.2900
17870Problem: QuitPre is triggered before :wq writes the file, which is
17871 different from other commands.
17872Solution: Trigger QuitPre after writing the file. (closes #8279)
17873Files: src/ex_docmd.c, src/testdir/test_writefile.vim
17874
17875Patch 8.2.2901
17876Problem: Some operators not fully tested.
17877Solution: Add a few test cases. (Yegappan Lakshmanan, closes #8282)
17878Files: src/testdir/test_cpoptions.vim, src/testdir/test_increment.vim,
17879 src/testdir/test_normal.vim, src/testdir/test_virtualedit.vim,
17880 src/testdir/test_visual.vim
17881
17882Patch 8.2.2902
17883Problem: Spellfile functionality not fully tested.
17884Solution: Add tests for CIRCUMFIX, NOBREAK and others. (Dominique Pellé,
17885 closes #8283)
17886Files: src/testdir/test_spellfile.vim
17887
17888Patch 8.2.2903
17889Problem: Cursor position wrong on wrapped line with 'signcolumn'.
17890Solution: Don't add space for showbreak twice. (Christian Brabandt,
17891 closes #8262)
17892Files: src/drawline.c, src/testdir/test_display.vim
17893
17894Patch 8.2.2904
17895Problem: "g$" causes scroll if half a double width char is visible.
17896Solution: Advance to the last fully visible character. (closes #8254)
17897Files: src/normal.c, src/testdir/test_normal.vim
17898
17899Patch 8.2.2905
17900Problem: No error when defaults.vim cannot be loaded.
17901Solution: Add an error message. (Christian Brabandt, closes #8248)
17902Files: runtime/doc/starting.txt, src/errors.h, src/main.c,
17903 src/testdir/test_startup.vim
17904
17905Patch 8.2.2906 (after 8.2.2905)
17906Problem: ASAN reports errors for test_startup for unknown reasons.
17907Solution: Temporarily disable the new test.
17908Files: src/testdir/test_startup.vim
17909
17910Patch 8.2.2907
17911Problem: Memory leak when running out of memory.
17912Solution: Free the allocated memory. (Dominique Pellé, closes #8284)
17913Files: src/term.c
17914
17915Patch 8.2.2908
17916Problem: Crash when using a terminal popup window from the cmdline window.
17917Solution: Instead of checking cmdwin_type call cmdwin_is_active().
17918 (closes #8286)
17919Files: src/terminal.c, src/errors.h, src/testdir/test_cmdline.vim,
17920 src/testdir/dumps/Test_cmdwin_no_terminal.dump
17921
17922Patch 8.2.2909
17923Problem: Build error with non-Unix system.
17924Solution: Always include limits.h.
17925Files: src/vim.h
17926
17927Patch 8.2.2910
17928Problem: Test for cmdline window and terminal fails on MS-Windows.
17929Solution: Skip the test on MS-Windows.
17930Files: src/testdir/test_cmdline.vim
17931
17932Patch 8.2.2911
17933Problem: Pattern "\%V" does not match all of block selection. (Rick Howe)
17934Solution: Use the value of vi_curswant. (closes #8285)
17935Files: src/regexp.c, src/testdir/test_search.vim,
17936 src/testdir/dumps/Test_hlsearch_block_visual_match.dump
17937
17938Patch 8.2.2912
17939Problem: MS-Windows: most users expect using Unicode.
17940Solution: Default 'encoding' to utf-8 on MS-Windows. (Ken Takata,
17941 closes #3907)
17942Files: runtime/doc/options.txt, src/mbyte.c, src/option.c, src/option.h,
17943 src/testdir/test_writefile.vim
17944
17945Patch 8.2.2913
17946Problem: MS-Windows conpty supports using mouse events.
17947Solution: When enabling the mouse enable mouse input and disable quick edit
17948 mode. (Wez Furlong, closes #8280)
17949Files: src/os_win32.c
17950
17951Patch 8.2.2914
17952Problem: Cannot paste a block without adding padding.
17953Solution: Add "zp" and "zP" which paste without adding padding. (Christian
17954 Brabandt, closes #8289)
17955Files: runtime/doc/change.txt, runtime/doc/index.txt, src/normal.c,
17956 src/register.c, src/vim.h, src/testdir/test_normal.vim,
17957 src/testdir/test_visual.vim
17958
17959Patch 8.2.2915
17960Problem: MS-Windows: when using "default" for encoding utf-8 is used.
17961Solution: Use the system encoding. (Ken Takata, closes #8300)
17962Files: src/mbyte.c, runtime/doc/options.txt
17963
17964Patch 8.2.2916
17965Problem: Operators are not fully tested.
17966Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8290)
17967Files: src/ops.c, src/testdir/test_netbeans.vim,
17968 src/testdir/test_normal.vim, src/testdir/test_visual.vim
17969
17970Patch 8.2.2917
17971Problem: Spellfile functionality not fully tested.
17972Solution: Add tests for SFX with removal of characters, spelling
17973 suggestions with NOBREAK and others. (Dominique Pellé,
17974 closes #8293)
17975Files: src/testdir/test_spellfile.vim
17976
17977Patch 8.2.2918
17978Problem: Builtin function can be shadowed by global variable.
17979Solution: Check for builtin function before variable. (Yasuhiro Matsumoto,
17980 closes #8302)
17981Files: src/eval.c, src/testdir/test_functions.vim
17982
17983Patch 8.2.2919
17984Problem: Using ":!command" does not work if the command uses posix_spawn().
17985Solution: Do not call ioctl() with TIOCSCTTY. (Felipe Contreras)
17986Files: src/os_unix.c
17987
17988Patch 8.2.2920
17989Problem: Still a way to shadow a builtin function. (Yasuhiro Matsumoto)
17990Solution: Check the key when using extend(). (issue #8302)
17991Files: src/eval.c, src/dict.c, src/proto/dict.pro,
17992 src/testdir/test_functions.vim
17993
17994Patch 8.2.2921
17995Problem: E704 for script local variable is not backwards compatible.
17996 (Yasuhiro Matsumoto)
17997Solution: Only give the error in Vim9 script. Also check for function-local
17998 variable.
17999Files: src/dict.c, src/testdir/test_functions.vim
18000
18001Patch 8.2.2922
18002Problem: Computing array length is done in various ways.
18003Solution: Use ARRAY_LENGTH everywhere. (Ken Takata, closes #8305)
18004Files: src/arabic.c, src/blowfish.c, src/cindent.c, src/cmdexpand.c,
18005 src/cmdhist.c, src/dosinst.c, src/eval.c, src/evalfunc.c,
18006 src/ex_docmd.c, src/fileio.c, src/gui_athena.c, src/gui_gtk_x11.c,
18007 src/gui_haiku.cc, src/gui_photon.c, src/gui_w32.c,
18008 src/gui_xmebw.c, src/hardcopy.c, src/help.c, src/highlight.c,
18009 src/if_mzsch.c, src/macros.h, src/main.c, src/map.c, src/mbyte.c,
18010 src/memline.c, src/menu.c, src/misc2.c, src/normal.c, src/ops.c,
18011 src/option.c, src/optiondefs.h, src/os_win32.c, src/popupwin.c,
18012 src/quickfix.c, src/regexp.c, src/screen.c, src/search.c,
18013 src/syntax.c, src/term.c, src/terminal.c, src/time.c,
18014 src/usercmd.c, src/version.c
18015
18016Patch 8.2.2923
18017Problem: EBCDIC build is broken.
18018Solution: Move sortFunctions() to evalfunc.c. (Ken Takata, closes #8306)
18019Files: src/eval.c, src/evalfunc.c, src/proto/evalfunc.pro
18020
18021Patch 8.2.2924
18022Problem: Superfluous extern declaration.
18023Solution: Delete the declaration. (Ken Takata, closes #8307)
18024Files: src/main.c
18025
18026Patch 8.2.2925
18027Problem: Vim9: line continuation comment uses legacy syntax.
18028Solution: Check for #\ instead of "\. (closes #8295)
18029Files: src/scriptfile.c, src/testdir/test_vim9_script.vim
18030
18031Patch 8.2.2926
18032Problem: Vim9: no good error for using :legacy in a :def function.
18033Solution: Give an explicit error where :legacy is not working.
18034 (closes #8309)
18035Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_func.vim
18036
18037Patch 8.2.2927
18038Problem: Test commented out because it fails with ASAN.
18039Solution: Only skip the test when running with ASAN.
18040Files: src/testdir/test_startup.vim
18041
18042Patch 8.2.2928
18043Problem: The evalfunc.c file is too big.
18044Solution: Move float related functionality to a separate file. (Yegappan
18045 Lakshmanan, closes #8287)
18046Files: Filelist, src/Make_ami.mak, src/Make_cyg_ming.mak,
18047 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
18048 src/eval.c, src/evalfunc.c, src/float.c, src/proto.h,
18049 src/proto/eval.pro, src/proto/float.pro
18050
18051Patch 8.2.2929
18052Problem: Accidentally enable tcl by default.
18053Solution: Revert change to Makefile
18054Files: src/Makefile
18055
18056Patch 8.2.2930
18057Problem: When a popup is visible a mouse move my restart Visual mode.
18058Solution: Reset held_button when ending Visual mode. (closes #8318)
18059Files: src/mouse.c, src/proto/mouse.pro, src/normal.c
18060
18061Patch 8.2.2931
18062Problem: Vim9: line continuation comment still uses legacy syntax in one
18063 place.
18064Solution: Check for #\ instead of "\ earlier. (closes #8316)
18065Files: src/scriptfile.c, src/testdir/test_vim9_script.vim
18066
18067Patch 8.2.2932 (after 8.2.2930)
18068Problem: Select mode test fails.
18069Solution: Do not always reset the held mouse button.
18070Files: src/mouse.c, src/normal.c, src/proto/normal.pro
18071
18072Patch 8.2.2933
18073Problem: When 'clipboard' is "unnamed" zp and zP do not work correctly.
18074Solution: Pass -1 to str_to_reg() and fix computing the character width
18075 instead of using the byte length. (Christian Brabandt,
18076 closes #8301, closes #8317)
18077Files: src/clipboard.c, src/mbyte.c, src/register.c
18078
18079Patch 8.2.2934 (after 8.2.2933)
18080Problem: ASAN error when using text from the clipboard.
18081Solution: Get width of each character.
18082Files: src/register.c
18083
18084Patch 8.2.2935 (after 8.2.2934)
18085Problem: Calculating register width is not always needed. (Christian
18086 Brabandt)
18087Solution: Only calculate the width when the type is MBLOCK.
18088Files: src/register.c
18089
18090Patch 8.2.2936
18091Problem: Vim9: converting number to bool uses wrong stack offset. (Salman
18092 Halim)
18093Solution: Include the offset in the 2BOOL command.
18094Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c,
18095 src/testdir/test_vim9_expr.vim,
18096 src/testdir/test_vim9_disassemble.vim
18097
18098Patch 8.2.2937
18099Problem: Popup test fails if rightleft feature not enabled.
18100Solution: Check that the rightleft feature is available. (Dominique Pellé,
18101 closes #8321)
18102Files: src/testdir/test_popup.vim
18103
18104Patch 8.2.2938
18105Problem: After using motion force from feedkeys() it may not be reset.
18106Solution: Clear motion_force in clearop(). (closes #8323)
18107Files: src/normal.c, src/testdir/test_visual.vim
18108
18109Patch 8.2.2939
18110Problem: GTK: righthand scrollbar does not show with split window.
18111Solution: Adjust padding when two scrollbars are used. (Matt Wozniski,
18112 closes #8324)
18113Files: src/gui_gtk.c
18114
18115Patch 8.2.2940
18116Problem: MS-Windows: cannot see the size of the text area when resizing the
18117 gvim window.
18118Solution: Show a tooltip with the text size. (Ken Takata, closes #8326)
18119Files: src/gui_w32.c
18120
18121Patch 8.2.2941
18122Problem: Vim9: using `=expr` does not handle a list of strings.
18123Solution: Convert a list to a string and escape each item. (closes #8310)
18124Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
18125
18126Patch 8.2.2942
18127Problem: Vim9: internal error when calling function with too few arguments
18128Solution: Check for argument count to be too few. (closes #8325)
18129Files: src/errors.h, src/vim9execute.c, src/testdir/test_vim9_builtin.vim
18130
18131Patch 8.2.2943
18132Problem: Vim9: check for argument count ignores default values.
18133Solution: Take default argument values into account.
18134Files: src/vim9execute.c
18135
18136Patch 8.2.2944
18137Problem: Vim9: no error when using job or channel as a string.
18138Solution: Be more strict about conversion to string. (closes #8312)
18139Files: src/typval.c, src/job.c, src/proto/job.pro, src/channel.c,
18140 src/proto/channel.pro, src/eval.c, src/vim9execute.c,
18141 src/testdir/test_vim9_builtin.vim
18142
18143Patch 8.2.2945
18144Problem: Some buffer related code is not tested.
18145Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8320)
18146Files: src/termlib.c, src/testdir/test_excmd.vim,
18147 src/testdir/test_recover.vim, src/testdir/test_swap.vim,
18148 src/testdir/test_visual.vim
18149
18150Patch 8.2.2946
18151Problem: Vim9: substitute expression cannot be a List in a :def function.
18152Solution: Use typval2string(). (closes #8330)
18153Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
18154
18155Patch 8.2.2947
18156Problem: Build failure without the channel feature.
18157Solution: Add back #ifdef. (John Marriott)
18158Files: src/eval.c
18159
18160Patch 8.2.2948
18161Problem: Substitute() accepts a number but not a float expression.
18162Solution: Also accept a float. (closes #8331)
18163Files: src/typval.c, src/testdir/test_substitute.vim
18164
18165Patch 8.2.2949 (after 8.2.2948)
18166Problem: Tests failing because there is no error for float to string
18167 conversion.
18168Solution: Change the check for failure to check for correct result. Make
18169 some conversions strict in Vim9 script.
18170Files: src/evalfunc.c, src/float.c, src/findfile.c, src/json.c,
18171 src/filepath.c, src/testdir/test_eval_stuff.vim,
18172 src/testdir/test_execute_func.vim,
18173 src/testdir/test_float_func.vim, src/testdir/test_functions.vim,
18174 src/testdir/test_listdict.vim, src/testdir/test_glob2regpat.vim
18175
18176Patch 8.2.2950
18177Problem: Sound code not fully tested.
18178Solution: Add more sound tests. (Dominique Pellé, closes #8332)
18179Files: src/testdir/test_sound.vim
18180
18181Patch 8.2.2951
18182Problem: Vim9: cannot use heredoc in :def function for :python, :lua, etc.
18183Solution: Concatenate the heredoc lines and pass them in the ISN_EXEC_SPLIT
18184 instruction.
18185Files: src/userfunc.c, src/vim9compile.c, src/vim9.h, src/vim9execute.c,
18186 src/testdir/test_vim9_func.vim,
18187 src/testdir/test_vim9_disassemble.vim
18188
18189Patch 8.2.2952
18190Problem: Recover test fails on big endian systems.
18191Solution: Disable the failing test on big endian systems. (Yegappan
18192 Lakshmanan, closes #8335)
18193Files: src/testdir/test_recover.vim, src/testdir/test_swap.vim
18194
18195Patch 8.2.2953 (after 8.2.2951)
18196Problem: Vim9: leaking memory when using heredoc script.
18197Solution: Free the first line.
18198Files: src/vim9execute.c
18199
18200Patch 8.2.2954
18201Problem: Short file name extension for Scala not recognized.
18202Solution: Recognize *.sc. (closes #8337)
18203Files: runtime/filetype.vim, src/testdir/test_filetype.vim
18204
18205Patch 8.2.2955
18206Problem: Vim9: using filter in compiled command does not work.
18207Solution: Generate EXEC including the command modifier.
18208Files: src/vim9compile.c, src/ex_docmd.c, src/ex_cmds.c,
18209 src/proto/ex_cmds.pro, src/testdir/test_vim9_cmd.vim
18210
18211Patch 8.2.2956
18212Problem: Vim9: need to plan for future additions.
18213Solution: Reserve commands for future use: :type, :class, :enum.
18214Files: src/ex_cmds.h, src/ex_cmdidxs.h
18215
18216Patch 8.2.2957
18217Problem: Using getchar() in Vim9 script is problematic.
18218Solution: Add getcharstr(). (closes #8343)
18219Files: runtime/doc/eval.txt, src/evalfunc.c, src/getchar.c,
Bram Moolenaar47c532e2022-03-19 15:18:53 +000018220 src/proto/getchar.pro, src/testdir/test_functions.vim
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018221
18222Patch 8.2.2958 (after 8.2.2957)
18223Problem: Function list test fails.
18224Solution: Add newly added function to the list. Fix typo.
18225Files: runtime/doc/usr_41.txt, src/testdir/test_function_lists.vim
18226
18227Patch 8.2.2959
18228Problem: sound_playfile() is not tested on MS-Windows.
18229Solution: Make it work and enable the test. (Dominique Pellé, closes #8338)
18230Files: src/sound.c, src/testdir/test_sound.vim
18231
18232Patch 8.2.2960
18233Problem: Swap file recovery not sufficiently tested.
18234Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8339)
18235Files: src/testdir/test_recover.vim
18236
18237Patch 8.2.2961
18238Problem: Keys typed during a :normal command are discarded.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018239Solution: Concatenate saved typeahead and typed keys. (closes #8340)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018240Files: src/getchar.c, src/proto/getchar.pro, src/ex_docmd.c,
18241 src/evalfunc.c, src/debugger.c, src/ui.c, src/proto/ui.pro
18242
18243Patch 8.2.2962
18244Problem: MS-Windows command line arguments have wrong encoding.
18245Solution: Always use utf-8 in get_cmd_argsW(). (Ken Takata, closes #8347)
18246Files: src/os_win32.c
18247
18248Patch 8.2.2963
18249Problem: GUI: mouse move may start Visual mode with a popup visible.
18250Solution: Add special code for mouse move. (closes #8318)
18251Files: src/vim.h, src/gui.c, src/keymap.h, src/term.c
18252
18253Patch 8.2.2964
18254Problem: Vim9: hang when using space after ->. (Naohiro Ono)
18255Solution: Skip over white space to find the function name. (closes #8341)
18256Files: src/eval.c, src/vim9compile.c, src/testdir/test_vim9_expr.vim
18257
18258Patch 8.2.2965
18259Problem: Vim9: crash when calling function that failed to compile.
18260Solution: Fail when trying to call the function. (closes #8344)
18261Files: src/errors.h, src/vim9compile.c, src/testdir/test_vim9_func.vim
18262
18263Patch 8.2.2966
18264Problem: ml_get errors after recovering a file. (Yegappan Lakshmanan)
18265Solution: Fix the cursor position after deleting lines.
18266Files: src/memline.c
18267
18268Patch 8.2.2967
18269Problem: Vim9: crash when using two levels of partials.
18270Solution: Add outer_ref_T and use it in the execution context.
18271Files: src/structs.h, src/vim9execute.c, src/testdir/test_vim9_func.vim
18272
18273Patch 8.2.2968 (after 8.2.2967)
18274Problem: Vim9: memory leak
18275Solution: Unreference pt_outer of partial.
18276Files: src/eval.c
18277
18278Patch 8.2.2969
18279Problem: Subtracting from number option fails when result is zero. (Ingo
18280 Karkat)
18281Solution: Reset the string value when using the numeric value.
18282 (closes #8351)
18283Files: src/evalvars.c, src/testdir/test_vimscript.vim
18284
18285Patch 8.2.2970
18286Problem: Python configure check uses deprecated command.
18287Solution: Use sysconfig instead of distutils if possible. (Zdenek Dohnal,
18288 closes #8354)
18289Files: src/configure.ac, src/auto/configure
18290
18291Patch 8.2.2971
18292Problem: Cannot yank a block without trailing spaces.
18293Solution: Add the "zy" command. (Christian Brabandt, closes #8292)
18294Files: runtime/doc/change.txt, runtime/doc/index.txt, src/normal.c,
18295 src/ops.c, src/register.c, src/structs.h,
18296 src/testdir/test_visual.vim
18297
18298Patch 8.2.2972
18299Problem: "%bd" tries to delete popup window buffers, which fails. (Ralf
18300 Schandl)
18301Solution: Do not try to delete a popup window buffer. (closes #8349)
18302Files: src/buffer.c, src/vim.h, src/testdir/test_popupwin.vim
18303
18304Patch 8.2.2973
18305Problem: Fix for recovery and diff mode not tested.
18306Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8352)
18307Files: src/testdir/test_diffmode.vim, src/testdir/test_prompt_buffer.vim,
18308 src/testdir/test_recover.vim
18309
18310Patch 8.2.2974
18311Problem: Greek spell checking uses wrong case folding.
18312Solution: Fold capital sigma depending on whether it is at the end of a
18313 word or not. (closes #299)
18314Files: src/spell.c, src/proto/spell.pro, src/spellfile.c,
18315 src/spellsuggest.c
18316
18317Patch 8.2.2975
18318Problem: Vim9: can only use an autoload function name as a string.
18319Solution: Load the autoload script when encountered. (closes #8124)
18320Files: src/vim9compile.c, src/evalvars.c, src/scriptfile.c,
18321 src/testdir/test_vim9_func.vim
18322
18323Patch 8.2.2976 (after 8.2.2975)
18324Problem: Build failure without the +eval feature.
18325Solution: Add #ifdefs.
18326Files: src/scriptfile.c
18327
18328Patch 8.2.2977
18329Problem: Crash when using a null function reference. (Naohiro Ono)
18330Solution: Check for an invalid function name. (closes #8367)
18331Files: src/eval.c, src/errors.h, src/testdir/test_functions.vim
18332
18333Patch 8.2.2978 (after 8.2.2977)
18334Problem: Warning for uninitialized variable.
18335Solution: Set return value to FAIL.
18336Files: src/eval.c
18337
18338Patch 8.2.2979
18339Problem: Not all options code is covered by tests.
18340Solution: Add more tests for options. (Yegappan Lakshmanan, closes #8369)
18341Files: src/testdir/test_edit.vim, src/testdir/test_excmd.vim,
18342 src/testdir/test_help.vim, src/testdir/test_mksession.vim,
18343 src/testdir/test_options.vim, src/testdir/test_vartabs.vim,
18344 src/testdir/test_window_cmd.vim
18345
18346Patch 8.2.2980
18347Problem: Popup window test is a bit flaky.
18348Solution: Add a redraw command.
18349Files: src/testdir/test_popupwin.vim
18350
18351Patch 8.2.2981
18352Problem: Recovery test is not run on big-endian systems.
18353Solution: Make it work on big-endian systems. (James McCoy, closes #8368)
18354Files: src/testdir/test_recover.vim
18355
18356Patch 8.2.2982
18357Problem: Vim9: future commands are not reserved yet.
18358Solution: Add commands to be implemented later. Make "this" a reserved
18359 name.
18360Files: runtime/doc/vim9.txt, src/ex_cmds.h, src/ex_cmdidxs.h,
18361 src/vim9script.c, src/testdir/test_vim9_assign.vim
18362
18363Patch 8.2.2983
18364Problem: Vim9: an inline function requires specifying the return type.
18365Solution: Make the return type optional.
18366Files: src/eval.c, src/vim9compile.c, src/userfunc.c,
18367 src/testdir/test_vim9_func.vim
18368
18369Patch 8.2.2984 (after 8.2.2983)
18370Problem: Vim9: Test fails because of missing return statement.
18371Solution: When type is unknown set type to void.
18372Files: src/vim9compile.c
18373
18374Patch 8.2.2985
18375Problem: Vim9: a compiled function cannot be debugged.
18376Solution: Add initial debugging support.
18377Files: src/vim9.h, src/vim9compile.c, src/proto/vim9compile.pro,
18378 src/vim.h, src/eval.c, src/vim9execute.c, src/userfunc.c,
18379 src/vim9type.c, src/testdir/test_debugger.vim,
18380 src/testdir/test_vim9_disassemble.vim
18381
18382Patch 8.2.2986
18383Problem: Build failure without the profile feature.
18384Solution: Add #ifdef.
18385Files: src/vim9compile.c
18386
18387Patch 8.2.2987
18388Problem: Build failure with normal features.
18389Solution: Remove #define.
18390Files: src/vim9execute.c
18391
18392Patch 8.2.2988
18393Problem: Vim9: debugger test fails.
18394Solution: Get the debugger instructions when needed.
18395Files: src/vim.h, src/vim9.h
18396
18397Patch 8.2.2989
18398Problem: Vim9: memory leak when debugging a :def function.
18399Solution: Free the debug instructions.
18400Files: src/vim9compile.c
18401
18402Patch 8.2.2990
18403Problem: Jupyter Notebook files are not recognized.
18404Solution: Recognize *.ipynb. (closes #8375)
18405Files: runtime/filetype.vim, src/testdir/test_filetype.vim
18406
18407Patch 8.2.2991
18408Problem: Vim9: no completion for :vim9 and :legacy.
18409Solution: Expand argument as a command. (closes #8377)
18410Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
18411
18412Patch 8.2.2992
18413Problem: Vim9: completion for :disassemble is incomplete.
18414Solution: Recognize the "debug" and "profile" arguments.
18415Files: src/cmdexpand.c, src/vim9execute.c, src/proto/vim9execute.pro,
18416 src/vim.h, src/testdir/test_cmdline.vim
18417
18418Patch 8.2.2993
18419Problem: 'fileencodings' default value should depend on 'encoding'. (Gary
18420 Johnson)
18421Solution: When 'encoding' is "utf-8" use a different default value for
18422 'fileencodings'.
18423Files: src/mbyte.c, src/option.c, src/proto/option.pro,
18424 src/testdir/test_options.vim
18425
18426Patch 8.2.2994
18427Problem: Various code is not fully tested.
18428Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8378)
18429Files: src/testdir/test_excmd.vim, src/testdir/test_mapping.vim,
18430 src/testdir/test_modeline.vim, src/testdir/test_options.vim,
18431 src/testdir/test_paste.vim, src/vim9compile.c
18432
18433Patch 8.2.2995
18434Problem: Linker errors with dynamic Python 3.10.
18435Solution: Add a couple of library entries. (Zdenek Dohnal, closes #8381,
18436 closes #8356)
18437Files: src/if_python3.c
18438
18439Patch 8.2.2996
18440Problem: Vim9: when debugging cannot inspect local variables.
18441Solution: Make local variables available when debugging.
18442Files: src/vim9execute.c, src/proto/vim9execute.pro, src/vim9compile.c,
18443 src/vim9.h, src/debugger.c, src/testdir/test_debugger.vim
18444
18445Patch 8.2.2997 (after 8.2 2996)
18446Problem: Vim9: disassemble test fails.
18447Solution: Adjust expected output.
18448Files: src/testdir/test_vim9_disassemble.vim
18449
18450Patch 8.2.2998 (after 8.2 2996)
18451Problem: Vim9: disassemble test fails.
18452Solution: Add missing call to lookup_debug_var().
18453Files: src/evalvars.c
18454
18455Patch 8.2.2999
18456Problem: Balloon sometimes does not hide with GTK 3.
18457Solution: Also listen to GDK_LEAVE_NOTIFY. (Johannes Stezenbach)
18458Files: src/gui_beval.c
18459
18460Patch 8.2.3000
18461Problem: Vim9: warning for uninitialized variable.
18462Solution: Add initialization. (John Marriott)
18463Files: src/vim9compile.c
18464
18465Patch 8.2.3001
18466Problem: Vim9: memory leak when compilation fails.
18467Solution: Free the list of variable names.
18468Files: src/vim9compile.c
18469
18470Patch 8.2.3002
18471Problem: Vim doesn't abort on a fatal Tcl error.
18472Solution: Change emsg() to iemsg(). (Dominique Pellé, closes #8383)
18473Files: src/if_tcl.c
18474
18475Patch 8.2.3003
18476Problem: Vim9: closure compiled with wrong compile type.
18477Solution: Use COMPILE_TYPE() when calling a function. (closes #8384)
18478Files: src/vim9execute.c, src/testdir/test_debugger.vim
18479
18480Patch 8.2.3004
18481Problem: Vim9: error for missing colon given while skipping.
18482Solution: Do not give the error when skipping. (closes #8385)
18483Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
18484
18485Patch 8.2.3005
18486Problem: Vim9: using a void value does not give a proper error message.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018487Solution: Give a clear error message. (closes #8387)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018488Files: src/typval.c, src/vim9compile.c, src/vim9.h, src/vim9execute.c,
18489 src/testdir/test_vim9_expr.vim,
18490 src/testdir/test_vim9_disassemble.vim
18491
18492Patch 8.2.3006
18493Problem: Crash when echoing a value very early. (Naruhiko Nishino)
18494Solution: Do not use a NUL to truncate the message, make a copy.
18495 (closes #8388)
18496Files: src/message.c, src/testdir/test_startup.vim
18497
18498Patch 8.2.3007 (after 8.2.3005)
18499Problem: Vim9: test for void value fails.
18500Solution: Adjust expected error. Do not make a copy of void.
18501Files: src/typval.c, src/testdir/test_functions.vim
18502
18503Patch 8.2.3008 (after 8.2.3006)
18504Problem: Startup test may hang.
18505Solution: Add quit command in the script.
18506Files: src/testdir/test_startup.vim
18507
18508Patch 8.2.3009 (after 8.2.3006)
18509Problem: Startup test may hang.
18510Solution: Do not run the test in the GUI.
18511Files: src/testdir/test_startup.vim
18512
18513Patch 8.2.3010
18514Problem: Not enough testing for viminfo code.
18515Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8390)
18516Files: src/register.c, src/testdir/test_fileformat.vim,
18517 src/testdir/test_smartindent.vim, src/testdir/test_viminfo.vim
18518
18519Patch 8.2.3011
18520Problem: Vim9: cannot get argument values during debugging.
18521Solution: Lookup names in the list of arguments. Put debug instruction
18522 halfway for command.
18523Files: src/vim9compile.c, src/vim9execute.c,
18524 src/testdir/test_debugger.vim
18525
18526Patch 8.2.3012
18527Problem: When 'rightleft' is set the line number is sometimes drawn
18528 reversed.
18529Solution: Adjust how space is handled. (Christian Brabandt, closes #8389,
18530 closes #8391)
18531Files: src/drawline.c, src/testdir/test_number.vim
18532
18533Patch 8.2.3013
18534Problem: Vim: when debugging only the first line of a command using line
18535 continuation is displayed.
18536Solution: Find the next command and concatenate lines until that one.
18537 (closes #8392)
18538Files: src/vim9execute.c, src/testdir/test_debugger.vim
18539
18540Patch 8.2.3014
18541Problem: Coverity warns for freeing static string.
18542Solution: Do not assign static string to pointer. (Dominique Pellé,
18543 closes #8397)
18544Files: src/vim9execute.c
18545
18546Patch 8.2.3015
18547Problem: Vim9: Assigning to @# requires a string. (Naohiro Ono)
18548Solution: Accent a number or a string. (closes #8396)
18549Files: src/vim9compile.c, src/vim9execute.c, src/globals.h,
18550 src/testdir/test_vim9_assign.vim
18551
18552Patch 8.2.3016
18553Problem: Confusing error when expression is followed by comma.
18554Solution: Give a different error for trailing text. (closes #8395)
18555Files: src/eval.c, src/testdir/test_let.vim,
18556 src/testdir/test_eval_stuff.vim, src/testdir/test_vim9_expr.vim,
18557 src/testdir/test_vim9_script.vim, src/testdir/test_viminfo.vim,
18558 src/testdir/test_vimscript.vim
18559
18560Patch 8.2.3017
18561Problem: Vim9: debugger shows too many lines.
18562Solution: Truncate at a comment, "enddef", etc. (closes #8392)
18563Files: src/vim9execute.c, src/testdir/test_debugger.vim
18564
18565Patch 8.2.3018
18566Problem: Formatting using quickfixtextfunc is lost when updating location
18567 lists for different buffers. (Yorick Peterse)
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018568Solution: Use the right window for the location list. (Yegappan Lakshmanan,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018569 closes #8400, closes #8403)
18570Files: src/quickfix.c, src/testdir/test_quickfix.vim
18571
18572Patch 8.2.3019
18573Problem: Location list only has the start position.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018574Solution: Make it possible to add an end position. (thinca, closes #8393)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018575Files: runtime/doc/eval.txt, src/quickfix.c,
18576 src/testdir/dumps/Test_quickfix_cwindow_1.dump,
18577 src/testdir/dumps/Test_quickfix_cwindow_2.dump,
18578 src/testdir/test_quickfix.vim, src/testdir/test_tagjump.vim,
18579 src/testdir/test_vim9_expr.vim
18580
18581Patch 8.2.3020
18582Problem: Unreachable code.
18583Solution: Remove the code. (closes #8406)
18584Files: src/ex_docmd.c
18585
18586Patch 8.2.3021
18587Problem: Spaces allowed between option name and "!", "?", etc.
18588Solution: Disallow spaces in Vim9 script, it was not documented.
18589 (closes #8408)
18590Files: src/option.c, src/testdir/test_vim9_script.vim
18591
18592Patch 8.2.3022
18593Problem: Available encryption methods are not strong enough.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018594Solution: Add initial support for xchacha20. (Christian Brabandt,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018595 closes #8394)
18596Files: .github/workflows/ci.yml, runtime/doc/eval.txt,
18597 runtime/doc/options.txt, runtime/doc/various.txt,
18598 src/INSTALLpc.txt, src/Make_cyg_ming.mak, src/Make_mvc.mak,
18599 src/auto/configure, src/blowfish.c, src/bufwrite.c,
18600 src/config.h.in, src/configure.ac, src/crypt.c, src/crypt_zip.c,
18601 src/errors.h, src/evalfunc.c, src/feature.h, src/fileio.c,
18602 src/memline.c, src/option.c, src/optionstr.c,
18603 src/proto/blowfish.pro, src/proto/crypt.pro,
18604 src/proto/crypt_zip.pro, src/structs.h,
18605 src/testdir/samples/crypt_sodium_invalid.txt,
18606 src/testdir/test_crypt.vim, src/undo.c, src/version.c
18607
18608Patch 8.2.3023
18609Problem: Vim9: arguments for execute() not checked at compile time.
18610Solution: Add a function to check the argument types.
18611Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
18612
18613Patch 8.2.3024 (after 8.2.3023)
18614Problem: execute() function test fails.
18615Solution: Adjust test for different error.
18616Files: src/testdir/test_execute_func.vim
18617
18618Patch 8.2.3025
18619Problem: Not enough tests for quickfix end_col and end_lnum.
18620Solution: Add a few more test cases. (Shane-XB-Qian, closes #8409)
18621Files: src/testdir/test_quickfix.vim
18622
18623Patch 8.2.3026
18624Problem: Vim9: cannot set breakpoint in compiled function.
18625Solution: Check for breakpoint when calling a function.
18626Files: src/vim9execute.c, src/structs.h, src/vim.h, src/vim9.h,
18627 src/debugger.c, src/testdir/test_debugger.vim
18628
18629Patch 8.2.3027
18630Problem: Vim9: breakpoint in compiled function not always checked.
18631Solution: Check for breakpoint when calling compiled function from compiled
18632 function.
18633Files: src/vim9execute.c, src/testdir/test_debugger.vim
18634
18635Patch 8.2.3028
18636Problem: GUI mouse events not tested.
18637Solution: Add test_gui_mouse_event(). Add mouse tests. Also add a few
18638 viminfo tests. (Yegappan Lakshmanan, closes #8407)
18639Files: runtime/doc/eval.txt, runtime/doc/testing.txt,
18640 runtime/doc/usr_41.txt, src/evalfunc.c, src/proto/testing.pro,
18641 src/testdir/test_gui.vim, src/testdir/test_viminfo.vim,
18642 src/testing.c
18643
18644Patch 8.2.3029
18645Problem: Vim9: crash when using operator and list unpack assignment.
18646 (Naohiro Ono)
18647Solution: Get variable value before operation. (closes #8416)
18648Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/ex_docmd.c,
18649 src/testdir/test_vim9_assign.vim,
18650 src/testdir/test_vim9_disassemble.vim
18651
18652Patch 8.2.3030
18653Problem: Coverity reports a memory leak.
18654Solution: Fix the leak and a few typos. (Dominique Pellé, closes #8418)
18655Files: src/crypt.c, src/errors.h
18656
18657Patch 8.2.3031
18658Problem: No error if a function name starts with an underscore. (Naohiro
18659 Ono)
18660Solution: In Vim9 script disallow a function name starting with an
18661 underscore, as is mentioned in the help. (closes #8414)
18662Files: src/userfunc.c, src/testdir/test_vim9_func.vim
18663
18664Patch 8.2.3032
18665Problem: Build problems with MSVC, other crypt issues with libsodium.
18666Solution: Adjust MSVC makefile. Disable swap file only when 'key' is set.
18667 Adjust error message used when key is wrong. Fix Coverity issues.
18668 (Christian Brabandt, closes #8420, closes #8411)
18669Files: src/Make_mvc.mak, src/crypt.c, src/errors.h, src/fileio.c,
18670 src/memline.c, src/proto/crypt.pro
18671
18672Patch 8.2.3033
18673Problem: No error when using alpha delimiter with :global.
18674Solution: Check the delimiter like with :substitute. (closes #8415)
18675Files: src/ex_cmds.c, src/testdir/test_global.vim
18676
18677Patch 8.2.3034
18678Problem: Installing packages on github CI sometimes fails.
18679Solution: Update package information first. (Christian Brabandt,
18680 closes #8432)
18681Files: .github/workflows/ci.yml
18682
18683Patch 8.2.3035
18684Problem: Vim9: crash when calling :def function with partial and return
18685 type is not set.
18686Solution: When the return type is not set handle like the return type is
18687 unknown. (closes #8422)
18688Files: src/vim9type.c, src/testdir/test_vim9_func.vim
18689
18690Patch 8.2.3036
18691Problem: Vim9: builtin function arguments not checked at compile time.
18692Solution: Add more argument type specs. Check arguments to test_setmouse()
18693 and test_gui_mouse_event(). (Yegappan Lakshmanan, closes #8425)
18694Files: src/evalfunc.c, src/testdir/test_assert.vim,
18695 src/testdir/test_gui.vim, src/testdir/test_popupwin.vim,
18696 src/testdir/test_vim9_builtin.vim, src/testing.c
18697
18698Patch 8.2.3037
18699Problem: Configure reports libcanberra when checking for libsodium.
18700Solution: Adjust the message. (Ozaki Kiichi, closes #8435)
18701Files: src/configure.ac, src/auto/configure
18702
18703Patch 8.2.3038
18704Problem: Amiga built-in version string doesn't include build date.
18705Solution: Add the build date if available. (Ola Söder, closes #8437)
18706Files: src/os_amiga.c
18707
18708Patch 8.2.3039
18709Problem: Vim9: breakpoint at a comment line does not work.
18710Solution: Add the comment line number to the debug instruction.
18711 (closes #8429)
18712Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
18713 src/testdir/test_debugger.vim,
18714 src/testdir/test_vim9_disassemble.vim
18715
18716Patch 8.2.3040
18717Problem: GUI: dropping files not tested.
18718Solution: Add test_gui_drop_files() and tests. (Yegappan Lakshmanan,
18719 closes #8434)
18720Files: runtime/doc/eval.txt, runtime/doc/testing.txt,
18721 runtime/doc/usr_41.txt, src/evalfunc.c, src/gui.c,
18722 src/proto/testing.pro, src/testdir/test_gui.vim, src/testing.c
18723
18724Patch 8.2.3041
18725Problem: Detecting if the process of a swap file is running fails if the
18726 process is owned by another user.
18727Solution: Check for the ESRCH error. (closes #8436)
18728Files: src/os_unix.c
18729
18730Patch 8.2.3042 (after 8.2.3041)
18731Problem: Swap file test fails.
18732Solution: Check for a very high process ID instead of one, which should be
18733 running.
18734Files: src/testdir/test_swap.vim
18735
18736Patch 8.2.3043
18737Problem: Amiga: cannot get the shell size on MorphOS and AROS.
18738Solution: Use control sequences. (Ola Söder, closes #8438)
18739Files: src/os_amiga.c
18740
18741Patch 8.2.3044
18742Problem: Amiga MorphOS and AROS: process ID is not valid.
18743Solution: Use FindTask to return something which is unique to all processes.
18744 (Ola Söder, closes #8444)
18745Files: src/os_amiga.c
18746
18747Patch 8.2.3045
18748Problem: Minor typos.
18749Solution: Fix the typos. (Christian Brabandt, closes #8441)
18750Files: src/VisVim/README_VisVim.txt, src/evalfunc.c, src/testdir/vim9.vim
18751
18752Patch 8.2.3046
18753Problem: Amiga MorphOS: Term mode is set using DOS packets.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018754Solution: Use the same way of setting term mode on all next gen Amiga-like
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018755 systems. (Ola Söder, closes #8445)
18756Files: src/os_amiga.c
18757
18758Patch 8.2.3047
18759Problem: Increment and decrement don't allow for next command.
18760Solution: Allow for comment and next command. (closes #8442)
18761Files: src/ex_cmds.h, src/vim9script.c, src/testdir/test_vim9_assign.vim
18762
18763Patch 8.2.3048
18764Problem: Strange error for white space after ++ command.
18765Solution: Check for white space explicitly. (closes #8440)
18766Files: src/vim9script.c, src/errors.h, src/vim9compile.c,
18767 src/testdir/test_vim9_assign.vim
18768
18769Patch 8.2.3049
18770Problem: JSON patch file not recognized.
18771Solution: Recognize json-patch as json. (Kevin Locke, closes #8450)
18772Files: runtime/filetype.vim, src/testdir/test_filetype.vim
18773
18774Patch 8.2.3050
18775Problem: Cannot recognize elixir files.
18776Solution: Recognize Elixir-specific files. Check if an .ex file is Euphoria
18777 or Elixir. (Austin Gatlin, closes #8401, closes #8446)
18778Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
18779 src/testdir/test_filetype.vim
18780
18781Patch 8.2.3051
18782Problem: Vim9: for loop with one list variable does not work.
18783Solution: Use a separate flag for unpacking a list. (closes #8452)
18784Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
18785
18786Patch 8.2.3052
18787Problem: Vim9: "legacy call" does not work.
18788Solution: Do not skip "call" after "legacy". (closes #8454)
18789Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
18790
18791Patch 8.2.3053
18792Problem: Vim9: cannot assign to @@ in :def function
18793Solution: Handle '@' like '"'. (closes #8456)
18794Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
18795
18796Patch 8.2.3054
18797Problem: Vim9: unpack assignment using "_" after semicolon fails.
18798Solution: Drop the expression result. (closes #8453)
18799Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_assign.vim
18800
18801Patch 8.2.3055
18802Problem: Strange error for assigning to "x.key" on non-dictionary.
18803Solution: Add a specific error message. (closes #8451)
18804Files: src/eval.c, src/errors.h, src/testdir/test_vim9_assign.vim,
18805 src/testdir/test_listdict.vim, src/testdir/test_let.vim
18806
18807Patch 8.2.3056
18808Problem: Vim9: using default value in lambda gives confusing error.
18809Solution: Pass "default_args" on the first pass to get the arguments.
18810 (closes #8455)
18811Files: src/userfunc.c, src/testdir/test_vim9_func.vim
18812
18813Patch 8.2.3057
18814Problem: Vim9: debugger test fails with normal features and +terminal.
18815 (Dominique Pellé)
18816Solution: Adjust the INSTRUCTIONS macro. (closes #8460)
18817Files: src/vim9.h
18818
18819Patch 8.2.3058 (after 8.2.3056)
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018820Problem: Vim9: cannot use ternary operator in parentheses.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018821Solution: Do not use "==" for a default argument value. (closes #8462)
18822Files: src/userfunc.c, src/testdir/test_vim9_func.vim
18823
18824Patch 8.2.3059 (after 8.2.3056)
18825Problem: Vim9: memory leak when using lambda.
18826Solution: Do not store the default value strings when skipping.
18827Files: src/userfunc.c
18828
18829Patch 8.2.3060 (after 8.2.3056)
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018830Problem: Vim9: cannot use ternary operator in parentheses.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018831Solution: Do not use "=~" for a default argument value. (closes #8462)
18832Files: src/userfunc.c, src/testdir/test_vim9_func.vim
18833
18834Patch 8.2.3061
18835Problem: Testing the shell option is incomplete and spread out.
18836Solution: Move shell tests to one file and increase coverage. (Yegappan
18837 Lakshmanan, closes #8464)
18838Files: src/testdir/Make_all.mak, src/testdir/test_functions.vim,
18839 src/testdir/test_options.vim, src/testdir/test_shell.vim,
18840 src/testdir/test_system.vim
18841
18842Patch 8.2.3062
18843Problem: Internal error when adding several text properties.
18844Solution: Do not handle text properties when deleting a line for splitting a
18845 data block. (closes #8466)
18846Files: src/structs.h, src/memline.c, src/testdir/test_textprop.vim
18847
18848Patch 8.2.3063
18849Problem: Crash when switching 'cryptmethod' to xchaha20 with an existing
18850 undo file. (Martin Tournoij)
18851Solution: Disable reading undo file when decoding can't be done inplace.
18852 (issue #8467)
18853Files: src/fileio.c, src/bufwrite.c
18854
18855Patch 8.2.3064
18856Problem: Vim9: in script cannot set item in uninitialized list.
18857Solution: When a list is NULL allocate an empty one. (closes #8461)
18858Files: src/eval.c, src/testdir/test_vim9_assign.vim
18859
18860Patch 8.2.3065
18861Problem: Vim9: error when sourcing script twice and reusing a function
18862 name.
18863Solution: Check if the function is dead. (closes #8463)
18864Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
18865
18866Patch 8.2.3066
18867Problem: Vim9: debugging lambda does not work.
18868Solution: Use the compile type of the function when compiling a lambda.
18869 (closes #8412)
18870Files: src/vim9compile.c, src/testdir/test_debugger.vim
18871
18872Patch 8.2.3067
18873Problem: Building fails with Athena. (Elimar Riesebieter)
18874Solution: Adjust #ifdefs and add the 'drop_file' feature.
18875Files: src/evalfunc.c, src/testing.c, src/testdir/test_gui.vim
18876
18877Patch 8.2.3068
18878Problem: Unicode tables are slightly outdated.
18879Solution: Update the tables for Unicode release 13. (Christian Brabandt
18880 closes #8430)
18881Files: runtime/tools/unicode.vim, src/mbyte.c
18882
18883Patch 8.2.3069
18884Problem: Error messages are spread out.
18885Solution: Move some error messages to errors.h. Use clearer names.
18886Files: src/errors.h, src/globals.h, src/arglist.c, src/buffer.c,
18887 src/channel.c, src/eval.c, src/evalfunc.c, src/evalvars.c,
18888 src/evalwindow.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c,
18889 src/filepath.c, src/fold.c, src/getchar.c, src/indent.c,
18890 src/list.c, src/map.c, src/mark.c, src/normal.c, src/ops.c,
18891 src/optionstr.c, src/popupwin.c, src/quickfix.c, src/spellfile.c,
18892 src/textprop.c, src/typval.c, src/undo.c, src/userfunc.c,
18893 src/vim9compile.c, src/window.c
18894
18895Patch 8.2.3070
18896Problem: Not enough testing for shell use.
18897Solution: Add a bit more testing. (Yegappan Lakshmanan, closes #8469)
18898Files: src/testdir/test_shell.vim, src/testdir/test_startup.vim
18899
18900Patch 8.2.3071
18901Problem: Shell options are not set properly for PowerShell.
18902Solution: Use better option defaults. (Mike Williams, closes #8459)
18903Files: runtime/doc/eval.txt, runtime/doc/options.txt,
18904 runtime/doc/os_dos.txt, src/fileio.c, src/misc2.c, src/option.c,
18905 src/os_win32.c, src/testdir/test_shell.vim
18906
18907Patch 8.2.3072
18908Problem: The "zy" command does not work well when 'virtualedit' is set to
18909 "block". (Johann Höchtl)
18910Solution: Make endspaces zero. (Christian Brabandt, closes #8468,
18911 closes #8448)
18912Files: src/register.c, src/testdir/test_visual.vim
18913
18914Patch 8.2.3073
18915Problem: When cursor is moved for block append wrong text is inserted.
18916Solution: Calculate an offset. (Christian Brabandt, closes #8433,
18917 closes #8288)
18918Files: src/ops.c, src/testdir/test_blockedit.vim,
18919 src/testdir/test_visual.vim
18920
18921Patch 8.2.3074
18922Problem: popup_atcursor() uses wrong position with concealing.
18923Solution: Keep w_wcol in conceal_check_cursor_line(). (closes #8476)
18924Files: src/screen.c, src/proto/screen.pro, src/normal.c, src/edit.c,
18925 src/ui.c, src/testdir/test_popupwin.vim,
18926 src/testdir/dumps/Test_popupwin_atcursor_pos.dump
18927
18928Patch 8.2.3075
18929Problem: Xxd always reports an old version string. (Ă…smund Ervik)
18930Solution: Update the version string with the last known change date.
18931 (JĂĽrgen Weigert, closes #8475)
18932Files: src/xxd/xxd.c, src/testdir/test_xxd.vim
18933
18934Patch 8.2.3076
18935Problem: Vim9: using try in catch block causes a hang.
18936Solution: Save and restore the ec_in_catch flag. (closes #8478)
18937Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
18938
18939Patch 8.2.3077
18940Problem: Vim9: an error in a catch block is not reported.
18941Solution: Put the "in catch" flag in the try stack. (closes #8478)
18942Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
18943
18944Patch 8.2.3078
18945Problem: Vim9: profile test fails.
18946Solution: Make throw in :catch jump to :finally.
18947Files: src/vim9compile.c, src/vim9execute.c,
18948 src/testdir/test_vim9_script.vim
18949
18950Patch 8.2.3079
18951Problem: Powershell core not supported by default.
18952Solution: Set option defaults for "pwsh". (Mike Williams, closes #8481)
18953Files: runtime/doc/eval.txt, runtime/doc/options.txt,
18954 runtime/doc/os_dos.txt, runtime/doc/os_win32.txt, src/fileio.c,
18955 src/misc2.c, src/option.c, src/os_win32.c,
18956 src/testdir/test_shell.vim
18957
18958Patch 8.2.3080
18959Problem: Recover test fails on 32bit systems. (Ondřej Súkup)
18960Solution: Detect 32/64 bit systems. (Yegappan Lakshmanan, closes #8485,
18961 closes #8479)
18962Files: src/testdir/test_recover.vim
18963
18964Patch 8.2.3081
18965Problem: Cannot catch errors in a channel command.
18966Solution: Instead of skipping the error make it silent. (closes #8477)
18967Files: src/channel.c
18968
18969Patch 8.2.3082
18970Problem: A channel command "echoerr" does not show anything.
18971Solution: Do not use silent errors when using an "echoerr" command.
18972 (closes #8494)
18973Files: src/channel.c, src/testdir/test_channel.py,
18974 src/testdir/test_channel.vim
18975
18976Patch 8.2.3083
18977Problem: Crash when passing null string to charclass().
18978Solution: Bail out when string pointer is NULL. (Christian Brabandt,
18979 closes #8498, closes #8260)
18980Files: src/mbyte.c, src/testdir/test_functions.vim
18981
18982Patch 8.2.3084
18983Problem: Vim9: builtin function argument types are not checked at compile
18984 time.
18985Solution: Add argument types. (Yegappan Lakshmanan, closes #8503)
18986Files: src/evalfunc.c, src/testdir/test_functions.vim,
18987 src/testdir/test_glob2regpat.vim,
18988 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim
18989
18990Patch 8.2.3085
18991Problem: JSONC files are not recognized.
18992Solution: Recognize .jsonc files. (Izhak Jakov, closes #8500)
18993Files: runtime/filetype.vim, src/testdir/test_filetype.vim
18994
18995Patch 8.2.3086
18996Problem: Vim9: breakpoint on "for" does not work.
18997Solution: Use the right line number in ISN_DEBUG. (closes #8486)
18998Files: src/vim9compile.c, src/testdir/test_debugger.vim
18999
19000Patch 8.2.3087
19001Problem: Gemtext files are not recognized.
19002Solution: Recognize .gmi and .gemini files. (closes #8427)
19003Files: runtime/filetype.vim, src/testdir/test_filetype.vim
19004
19005Patch 8.2.3088
19006Problem: With 'virtualedit' set to "block" Visual highlight is wrong after
19007 using "$". (Marco Trosi)
19008Solution: Do not set w_old_cursor_lcol to MAXCOL. (closes #8495)
19009Files: src/drawscreen.c, src/testdir/test_visual.vim,
19010 src/testdir/dumps/Test_visual_block_with_virtualedit.dump
19011
19012Patch 8.2.3089
19013Problem: Garbage collection has useless code.
19014Solution: Bail out when aborting. (closes #8504)
19015Files: src/userfunc.c
19016
19017Patch 8.2.3090
19018Problem: With concealing enabled and indirectly closing a fold the cursor
19019 may be somewhere in a folded line.
19020Solution: Recompute the cursor position when the cursor line can be
19021 concealed. (closes #8480)
19022Files: src/drawscreen.c
19023
19024Patch 8.2.3091
19025Problem: Vim9: default argument expression cannot use previous argument
19026Solution: Correct argument index. (closes #8496)
19027Files: src/vim9compile.c, src/structs.h, src/testdir/test_vim9_func.vim
19028
19029Patch 8.2.3092
19030Problem: Vim9: builtin function test fails without the +channel feature.
19031Solution: Check the +channel feature is supported. (Dominique Pellé,
19032 closes #8507)
19033Files: runtime/doc/eval.txt, src/testdir/test_vim9_builtin.vim
19034
19035Patch 8.2.3093
19036Problem: tablabel_tooltip test fails with Athena. (Dominique Pellé)
19037Solution: Skip the test when using Athena. (closes #8508)
19038Files: src/testdir/test_gui.vim, src/testdir/check.vim
19039
19040Patch 8.2.3094
19041Problem: Test_popup_atcursor_pos() fails without the conceal feature.
19042Solution: Add a check for the conceal feature. (Dominique Pellé,
19043 closes #8505)
19044Files: src/testdir/test_popupwin.vim
19045
19046Patch 8.2.3095 (after 8.2.3088)
19047Problem: With 'virtualedit' set to "block" block selection is wrong after
19048 using "$". (Marco Trosi)
19049Solution: Compute the longest selected line. (closes #8495)
19050Files: src/drawscreen.c, src/testdir/test_visual.vim,
19051 src/testdir/dumps/Test_visual_block_with_virtualedit2.dump
19052
19053Patch 8.2.3096
19054Problem: Temp files remain after running tests.
19055Solution: Delete the right files. (Dominique Pellé, closes #8509)
19056Files: src/testdir/test_debugger.vim, src/testdir/test_lambda.vim,
19057 src/testdir/test_visual.vim
19058
19059
19060Patch 8.2.3097
19061Problem: Crash when using "quit" at recovery prompt and autocommands are
19062 triggered.
19063Solution: Block autocommands when creating an empty buffer to use as the
19064 current buffer. (closes #8506)
19065Files: src/buffer.c, src/testdir/test_swap.vim
19066
19067Patch 8.2.3098
19068Problem: Popup window test is flaky on MS-Windows with GUI.
19069Solution: Skip the check in this situation.
19070Files: src/testdir/test_popupwin.vim
19071
19072Patch 8.2.3099
19073Problem: Vim9: missing catch/finally not reported at script level.
19074Solution: Give an error. (closes #8487)
19075Files: src/structs.h, src/ex_eval.c, src/testdir/test_vim9_script.vim
19076
19077Patch 8.2.3100
19078Problem: Vim9: no error when using type with unknown number of arguments.
19079Solution: Do not ignore argument count of -1. (closes #8492)
19080Files: src/vim9type.c, src/evalfunc.c, src/proto/evalfunc.pro,
19081 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_expr.vim,
19082 src/testdir/test_vim9_func.vim
19083
19084Patch 8.2.3101
19085Problem: Missing function prototype for vim_round().
19086Solution: Add the prototype.
19087Files: src/proto/float.pro
19088
19089Patch 8.2.3102 (after 8.2.3097)
19090Problem: Test for crash fix does not fail without the fix.
19091Solution: Adjust the test sequence. (closes #8506)
19092Files: src/testdir/test_swap.vim
19093
19094Patch 8.2.3103 (after 8.2.3102)
19095Problem: Swap test may fail on some systems when jobs take longer to exit.
19096Solution: Use different file names.
19097Files: src/testdir/test_swap.vim
19098
19099Patch 8.2.3104
19100Problem: Vim9: unspecified function type causes type error.
19101Solution: Don't check type when min_argcount is negative. (issue #8492)
19102Files: src/globals.h, src/vim9type.c, src/testdir/test_vim9_assign.vim
19103
19104Patch 8.2.3105
19105Problem: Vim9: type of partial is wrong when it has arguments.
19106Solution: Subtract arguments from the count. (issue #8492)
19107Files: src/vim9type.c, src/userfunc.c, src/testdir/test_vim9_assign.vim
19108
19109Patch 8.2.3106
19110Problem: Vim9: confusing line number reported for error.
19111Solution: Use the start line number for the store instruction.
19112 (closes #8488)
19113Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
19114
19115Patch 8.2.3107
19116Problem: Vim9: error for arguments while type didn't specify arguments.
19117Solution: Do not update that type to check when no argument count is
19118 specified. (closes #8492)
19119Files: src/userfunc.c, src/testdir/test_vim9_assign.vim
19120
19121Patch 8.2.3108
19122Problem: Test for remote_foreground() fails. (Elimar Riesebieter)
19123Solution: Check that $DISPLAY is set. (Christian Brabandt)
19124Files: src/testdir/check.vim, src/testdir/test_clientserver.vim,
19125 src/testdir/test_vim9_builtin.vim
19126
19127Patch 8.2.3109
19128Problem: Check for $DISPLAY never fails.
19129Solution: Use eval().
19130Files: src/testdir/check.vim
19131
19132Patch 8.2.3110
Bram Moolenaar47c532e2022-03-19 15:18:53 +000019133Problem: A pattern that matches the cursor position is a bit complicated.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019134Solution: Use a dot to indicate the cursor line and column. (Christian
19135 Brabandt, closes #8497, closes #8179)
19136Files: runtime/doc/pattern.txt, src/errors.h, src/regexp_bt.c,
19137 src/regexp_nfa.c, src/testdir/test_regexp_latin.vim
19138
19139Patch 8.2.3111
19140Problem: Vim9: confusing error with extra whitespace before colon.
19141Solution: Check for colon after white space. (closes #8513)
19142Files: src/eval.c, src/vim9compile.c, src/testdir/test_vim9_script.vim
19143
19144Patch 8.2.3112 (after 8.2.3090)
19145Problem: With concealing enabled and indirectly closing a fold the cursor
19146 may be somewhere in a folded line when it is not on the first line
19147 of the fold.
Bram Moolenaar47c532e2022-03-19 15:18:53 +000019148Solution: Check if the cursor is somewhere in the folded text.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019149Files: src/drawscreen.c
19150
19151Patch 8.2.3113
19152Problem: No error when for loop variable shadows script variable.
19153Solution: Check for the error. (closes #8512)
19154Files: src/eval.c, src/testdir/test_vim9_script.vim
19155
19156Patch 8.2.3114
19157Problem: Amiga-like systems: build error checking for running process
19158Solution: Only build swapfile_process_running() on systems where it is
19159 actually used. (Ola Söder, closes #8519)
19160Files: src/memline.c
19161
19162Patch 8.2.3115
19163Problem: Coverity complains about free_wininfo() use.
19164Solution: Add a condition that "wip2" is not equal to "wip". (Neovim #14996)
19165Files: src/window.c
19166
19167Patch 8.2.3116
19168Problem: Vim9: crash when debugging a function with line continuation.
19169Solution: Check for a NULL pointer. (closes #8521)
19170Files: src/vim9execute.c, src/testdir/test_debugger.vim
19171
19172Patch 8.2.3117
19173Problem: Vim9: type not properly checked in for loop.
19174Solution: Have items() return a list of lists. Add runtime type checks.
19175 (closes #8515)
19176Files: src/evalfunc.c, src/globals.h, src/vim9compile.c,
19177 src/testdir/test_vim9_script.vim
19178
19179Patch 8.2.3118
19180Problem: Vim9: "any" type not handled correctly in for loop.
19181Solution: Change compile time check into runtime check. (closes #8516)
19182Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
19183
19184Patch 8.2.3119
19185Problem: Compiler warning for unused argument.
19186Solution: Add UNUSED.
19187Files: src/evalfunc.c
19188
19189Patch 8.2.3120
19190Problem: Crypt with sodium test fails on MS-Windows.
19191Solution: Make the tests pass. (closes #8428)
19192Files: src/testdir/test_crypt.vim
19193
19194Patch 8.2.3121
19195Problem: 'listchars' "exceeds" character appears in foldcolumn. Window
19196 separator is missing. (Leonid V. Fedorenchik)
19197Solution: Only draw the "exceeds" character in the text area. Break the
19198 loop when not drawing the text. (closes #8524)
19199Files: src/drawline.c, src/testdir/test_listchars.vim,
19200 src/testdir/dumps/Test_listchars_01.dump,
19201 src/testdir/dumps/Test_listchars_02.dump,
19202 src/testdir/dumps/Test_listchars_03.dump,
19203 src/testdir/dumps/Test_listchars_04.dump,
19204 src/testdir/dumps/Test_listchars_05.dump
19205
19206Patch 8.2.3122
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019207Problem: With 'nowrap' cursor position is unexpected in narrow window.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019208 (Leonid V. Fedorenchik)
19209Solution: Put cursor on the last non-empty line. (closes #8525)
19210Files: src/move.c, src/testdir/test_listchars.vim,
19211 src/testdir/dumps/Test_listchars_06.dump,
19212 src/testdir/dumps/Test_listchars_07.dump
19213
19214Patch 8.2.3123
19215Problem: Vim9: confusing error when using white space after option, before
19216 one of "!&<".
19217Solution: Give a specific error. (issue #8408)
19218Files: src/errors.h, src/option.c, src/testdir/test_vim9_script.vim
19219
19220Patch 8.2.3124
19221Problem: Vim9: no error for white space between option and "=9".
19222Solution: Check for extraneous white space. (issue #8408)
19223Files: src/option.c, src/testdir/test_vim9_script.vim
19224
19225Patch 8.2.3125
19226Problem: Variables are set but not used.
19227Solution: Move the declarations to the block where they are used.
19228 (closes #8527)
19229Files: src/regexp_nfa.c
19230
19231Patch 8.2.3126
19232Problem: Vim9: for loop error reports wrong line number.
19233Solution: Save and restore the line number when evaluating the expression.
19234 (closes #8514)
19235Files: src/ex_eval.c, src/testdir/test_vim9_script.vim
19236
19237Patch 8.2.3127
19238Problem: Vim9: no error when adding number to list of string.
19239Solution: Check the value type. (closes #8529)
19240Files: src/list.c, src/testdir/test_vim9_builtin.vim
19241
19242Patch 8.2.3128
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019243Problem: Vim9: uninitialized list does not get type checked.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019244Solution: Set the type when initializing the variable. (closes #8529)
19245Files: src/eval.c, src/evalvars.c, src/vim9script.c,
19246 src/userfunc.c, src/proto/vim9script.pro,
19247 src/testdir/test_vim9_builtin.vim
19248
19249Patch 8.2.3129
19250Problem: Vim9: imported uninitialized list does not get type checked.
19251Solution: Get type from imported variable.
19252Files: src/eval.c, src/evalvars.c, src/vim9script.c,
19253 src/proto/vim9script.pro, src/userfunc.c,
19254 src/testdir/test_vim9_script.vim
19255
19256Patch 8.2.3130
19257Problem: Vim9: import test fails.
19258Solution: Rename directory back to "import", use "p" to avoid an error when
19259 the directory already exists.
19260Files: src/testdir/test_vim9_script.vim
19261
19262Patch 8.2.3131
19263Problem: MS-Windows: ipv6 channel test is very flaky in the GUI.
19264Solution: Skip the test.
19265Files: src/testdir/test_channel.vim
19266
19267Patch 8.2.3132
19268Problem: Compiler warns for size_t to colnr_T conversion. (Randall W.
19269 Morris)
19270Solution: Add a type cast.
19271Files: src/drawscreen.c
19272
19273Patch 8.2.3133
19274Problem: Vim9: memory leak when add() fails.
19275Solution: Allocate listitem_T after type check.
19276Files: src/list.c
19277
19278Patch 8.2.3134
19279Problem: Crash when using typename() on a function reference. (Naohiro Ono)
19280Solution: Initialize pointer to NULL. (closes #8531)
19281Files: src/vim9type.c, src/testdir/test_vim9_builtin.vim
19282
19283Patch 8.2.3135
19284Problem: Vim9: builtin function arguments not checked at compile time.
19285Solution: Add more type checks. (Yegappan Lakshmanan, closes #8539)
19286Files: src/channel.c, src/errors.h, src/evalfunc.c, src/proto/typval.pro,
19287 src/terminal.c, src/testdir/test_search.vim,
19288 src/testdir/test_textprop.vim, src/testdir/test_vim9_builtin.vim,
19289 src/testing.c, src/textprop.c, src/typval.c
19290
19291Patch 8.2.3136
19292Problem: No test for E187 and "No swap file".
19293Solution: Add a test. (Dominique Pellé, closes #8540)
19294Files: src/testdir/test_cd.vim, src/testdir/test_swap.vim
19295
19296Patch 8.2.3137
19297Problem: Vim9: no error when a line only has a variable name.
19298Solution: Give an error when an expression is evaluated without an effect.
19299 (closes #8538)
19300Files: src/ex_eval.c, src/errors.h, src/vim9compile.c,
19301 src/testdir/test_vim9_script.vim, src/testdir/test_vim9_expr.vim,
19302 src/testdir/test_vim9_func.vim
19303
19304Patch 8.2.3138 (after 8.2.3137)
19305Problem: Debugger test fails.
19306Solution: Adjust eval command.
19307Files: src/testdir/test_debugger.vim
19308
19309Patch 8.2.3139
19310Problem: Functions for string manipulation are spread out.
19311Solution: Move string related functions to a new source file. (Yegappan
19312 Lakshmanan, closes #8470)
19313Files: Filelist, src/Make_ami.mak, src/Make_cyg_ming.mak,
19314 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
19315 src/eval.c, src/evalfunc.c, src/mbyte.c, src/misc1.c, src/misc2.c,
19316 src/proto.h, src/proto/eval.pro, src/proto/evalfunc.pro,
19317 src/proto/mbyte.pro, src/proto/misc1.pro, src/proto/misc2.pro,
19318 src/proto/strings.pro, src/strings.c
19319
19320Patch 8.2.3140 (after 8.2.3131)
19321Problem: MS-Windows: ipv6 channel test is very flaky also without the GUI.
19322Solution: Skip the test also without the GUI.
19323Files: src/testdir/test_channel.vim
19324
19325Patch 8.2.3141
19326Problem: No error when using :complete for :command without -nargs.
19327Solution: Give an error. (Martin Tournoij, closes #8544, closes #8541)
19328Files: src/usercmd.c, src/errors.h, src/testdir/test_usercommands.vim
19329
19330Patch 8.2.3142
19331Problem: Vim9: type check for has_key() argument is too strict.
19332Solution: Also allow for a number key argument. (closes #8542)
19333Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
19334
19335Patch 8.2.3143
19336Problem: Vim9: A lambda may be compiled with the wrong context if it is
19337 called from a profiled function.
19338Solution: Compile the lambda with and without profiling. (closes #8543)
19339Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
19340
19341Patch 8.2.3144
19342Problem: Vim9: no error when using an invalid value for a line number.
19343Solution: Give an error if the string value is not recognized.
19344 (closes #8536)
19345Files: src/errors.h, src/eval.c, src/testdir/test_vim9_builtin.vim
19346
19347Patch 8.2.3145
19348Problem: Vim9: profile test fails without profile feature.
19349Solution: Check the profile feature is present.
19350Files: src/testdir/test_vim9_script.vim
19351
19352Patch 8.2.3146
19353Problem: Vim9: line number wrong for :execute argument.
19354Solution: Use the line number of the :execute command itself. (closes #8537)
19355Files: src/eval.c, src/testdir/test_vim9_script.vim
19356
19357Patch 8.2.3147
19358Problem: Vim9: profiling does not work with a nested function.
19359Solution: Also compile a nested function without profiling. (closes #8543)
19360 Handle that compiling may cause the table of compiled functions to
19361 change.
19362Files: src/vim9compile.c, src/vim9execute.c,
19363 src/testdir/test_vim9_script.vim
19364
19365Patch 8.2.3148
19366Problem: Vim9: function arg type check does not handle base offset.
19367Solution: Take the base offset into account when checking builtin function
19368 argument types.
19369Files: src/evalfunc.c, src/vim9compile.c,
19370 src/testdir/test_vim9_builtin.vim
19371
19372Patch 8.2.3149 (after 8.2.3141)
19373Problem: Some plugins have a problem with the error check for using
19374 :command with -complete but without -nargs.
19375Solution: In legacy script only give a warning message.
19376Files: src/usercmd.c, src/message.c, src/proto/message.pro,
19377 src/testdir/test_usercommands.vim
19378
19379Patch 8.2.3150
19380Problem: Vim9: argument types are not checked at compile time.
19381Solution: Add more type checks. (Yegappan Lakshmanan, closes #8545)
19382Files: src/evalfunc.c, src/testing.c, src/testdir/test_vim9_builtin.vim
19383
19384Patch 8.2.3151
19385Problem: Vim9: profiling fails if nested function is also profiled.
19386Solution: Use the compile type from the outer function. (closes #8543)
19387Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
19388
19389Patch 8.2.3152
19390Problem: Vim9: accessing "s:" results in an error.
19391Solution: Do not try to lookup a script variable for "s:". (closes #8549)
19392Files: src/evalvars.c, src/testdir/test_vim9_expr.vim
19393
19394Patch 8.2.3153
19395Problem: URLs with a dash in the scheme are not recognized.
19396Solution: Allow for a scheme with a dash, but not at the start or end.
19397 (Tsuyoshi CHO, closes #8299)
19398Files: src/misc1.c, src/testdir/test_buffer.vim
19399
19400Patch 8.2.3154
19401Problem: Vim9: some type checks for builtin functions fail.
19402Solution: Correct the type checks. (Yegappan Lakshmanan, closes #8551,
19403 closes #8550)
19404Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
19405
19406Patch 8.2.3155
19407Problem: Some option related code not covered by tests.
19408Solution: Add a few test cases. (Dominique Pellé, closes #8552)
19409Files: src/testdir/test_options.vim, src/testdir/test_set.vim
19410
19411Patch 8.2.3156
19412Problem: Vim9: term_getansicolors() test fails without +termguicolors.
19413Solution: Add a check for the feature. (Dominique Pellé, closes #8555)
19414Files: src/testdir/test_vim9_builtin.vim
19415
19416Patch 8.2.3157
19417Problem: Crypt test may fail on MS-Windows.
19418Solution: Ignore "[unix]" in the file message. (Christian Brabandt,
19419 closes #8561)
19420Files: src/testdir/test_crypt.vim
19421
19422Patch 8.2.3158
19423Problem: Strange error message when using islocked() with a number.
19424 (Yegappan Lakshmanan)
19425Solution: Check that the name is empty.
19426Files: src/evalfunc.c, src/testdir/test_functions.vim
19427
19428Patch 8.2.3159
19429Problem: Cursor displayed in wrong position after deleting line.
19430Solution: When deleting lines do not approximate botline. (fixes #8559)
19431Files: src/change.c
19432
19433Patch 8.2.3160
19434Problem: 'breakindent' does not work well for bulleted and numbered lists.
19435Solution: Add the "list" entry to 'breakindentopt'. (Christian Brabandt,
19436 closes #8564, closes #1661)
19437Files: runtime/doc/options.txt, src/indent.c, src/structs.h,
19438 src/testdir/test_breakindent.vim
19439
19440Patch 8.2.3161
19441Problem: Vim9: no error when reltime() has invalid arguments.
19442Solution: Add an error. (closes #8562)
19443Files: src/time.c, src/testdir/test_vim9_builtin.vim
19444
19445Patch 8.2.3162
19446Problem: Vim9: argument types are not checked at compile time.
19447Solution: Add more type checks. (Yegappan Lakshmanan, closes #8560)
19448Files: runtime/doc/channel.txt, src/clientserver.c, src/cmdhist.c,
19449 src/errors.h, src/evalfunc.c, src/evalwindow.c, src/filepath.c,
19450 src/globals.h, src/popupwin.c, src/proto/typval.pro, src/sign.c,
19451 src/strings.c, src/terminal.c, src/testdir/test_normal.vim,
19452 src/testdir/test_reltime.vim, src/testdir/test_vim9_builtin.vim,
19453 src/testdir/test_vim9_expr.vim, src/testing.c, src/textprop.c,
19454 src/time.c, src/typval.c
19455
19456Patch 8.2.3163
19457Problem: Location list window may open a wrong file.
19458Solution: Also update the qf_ptr field. (Wei-Chung Wen, closes #8565,
19459 closes #8566)
19460Files: src/quickfix.c, src/testdir/test_quickfix.vim
19461
19462Patch 8.2.3164
19463Problem: MS-Windows: reported version lacks patchlevel, causing some update
19464 tools to update too often. (Klaus Frank)
19465Solution: Add the patchlevel to the version. (Christian Brabandt)
19466Files: src/dosinst.c
19467
19468Patch 8.2.3165
19469Problem: Vim9: in a || expression the error line number may be wrong.
19470Solution: Save and restore the line number when checking the type.
19471 (closes #8569)
19472Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
19473
19474Patch 8.2.3166
19475Problem: Vim9: nested autoload call error overruled by "Unknown error".
19476Solution: Check need_rethrow before giving an "Unknown error".
19477 (closes #8568)
19478Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
19479
19480Patch 8.2.3167
19481Problem: Get E12 in a job callback when searching for tags. (Andy Stewart)
19482Solution: Use the sandbox only for executing a command, not for searching.
19483 (closes #8511)
19484Files: src/tag.c
19485
19486Patch 8.2.3168
19487Problem: Vim9: type error for constant of type any.
19488Solution: Do add a runtime type check if a constant has type any.
19489 (closes #8570)
19490Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
19491
19492Patch 8.2.3169
19493Problem: Vim9: cannot handle nested inline function.
19494Solution: Check for nested inline function. (closes #8575)
19495Files: src/userfunc.c, src/testdir/test_vim9_func.vim,
19496 src/testdir/test_vim9_expr.vim
19497
19498Patch 8.2.3170
19499Problem: Illegal memory access in test.
19500Solution: Check pointer is not before the start of the line.
19501Files: src/userfunc.c
19502
19503Patch 8.2.3171
19504Problem: Another illegal memory access in test.
19505Solution: Check pointer is after the start of the line.
19506Files: src/userfunc.c
19507
19508Patch 8.2.3172
19509Problem: MzScheme test fails. (Christian Brabandt)
19510Solution: Correct function name.
19511Files: src/testdir/test_vim9_builtin.vim
19512
19513Patch 8.2.3173
19514Problem: Vim9: argument types are not checked at compile time.
19515Solution: Add more type checks. (Yegappan Lakshmanan, closes #8581)
19516Files: src/diff.c, src/errors.h, src/evalfunc.c, src/globals.h,
19517 src/job.c, src/proto/typval.pro, src/strings.c, src/terminal.c,
19518 src/testdir/test_vim9_builtin.vim, src/typval.c
19519
19520Patch 8.2.3174
19521Problem: Vim9: "legacy undo" finds "undo" variable.
19522Solution: Do not pass lookup function to find_ex_command(). (closes #8563)
19523Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
19524
19525Patch 8.2.3175
19526Problem: Vim9: using illegal pointer with inline function inside a lambda.
19527Solution: Clear eval_tofree_cmdline when advancing to the next line.
19528 (closes #8578)
19529Files: src/eval.c, src/testdir/test_vim9_func.vim
19530
19531Patch 8.2.3176
19532Problem: Vim9: no type error for comparing number with string.
19533Solution: Add a runtime type check. (closes #8571)
19534Files: src/typval.c, src/errors.h, src/testdir/test_vim9_expr.vim
19535
19536Patch 8.2.3177
19537Problem: Vim9: can not use "for _ in expr" at script level.
19538Solution: Skip assignment if the loop variable is "_".
19539Files: src/eval.c, src/testdir/test_vim9_script.vim
19540
19541Patch 8.2.3178
19542Problem: Vim9: the file name of an :import cannot be an expression.
19543Solution: Accept an expression that results in a string. Do not support
19544 :import in a function.
19545Files: runtime/doc/vim9.txt, src/vim9script.c, src/vim9compile.c,
19546 src/testdir/test_vim9_script.vim
19547
19548Patch 8.2.3179
19549Problem: Vim9: cannot assign to an imported variable at script level.
19550Solution: Lookup imported items when assigning.
19551Files: src/evalvars.c, src/errors.h, src/eval.c,
19552 src/testdir/test_vim9_script.vim
19553
19554Patch 8.2.3180
19555Problem: Vim9: memory leak when concatenating to an imported string.
19556Solution: Clear the destination.
19557Files: src/evalvars.c
19558
19559Patch 8.2.3181
19560Problem: Vim9: builtin function test fails without channel feature.
19561Solution: Add feature checks. (Dominique Pellé, closes #8586) Make feature
19562 checks more consistent.
19563Files: src/testdir/test_vim9_builtin.vim
19564
19565Patch 8.2.3182
19566Problem: Vim9: crash when using removing items from a constant list.
19567 (Yegappan Lakshmanan)
19568Solution: When a list was allocated with items copy them.
19569Files: src/list.c, src/testdir/test_vim9_builtin.vim
19570
19571Patch 8.2.3183
19572Problem: Duplicate error numbers.
19573Solution: Adjust the error numbers.
19574Files: src/errors.h, src/testdir/test_vim9_builtin.vim
19575
19576Patch 8.2.3184
19577Problem: Cannot add a digraph with a leading space. It is not easy to list
19578 existing digraphs.
19579Solution: Add setdigraph(), setdigraphlist(), getdigraph() and
19580 getdigraphlist(). (closes #8580)
19581Files: runtime/doc/digraph.txt, runtime/doc/eval.txt,
19582 runtime/doc/usr_41.txt, src/digraph.c, src/evalfunc.c,
19583 src/ex_docmd.c, src/globals.h, src/errors.h,
19584 src/proto/digraph.pro, src/testdir/test_digraph.vim
19585
19586Patch 8.2.3185
19587Problem: Vim9: start of inline function found in comment line.
19588Solution: Do not check for inline function in comment line. (closes #8589)
19589Files: src/userfunc.c, src/testdir/test_vim9_expr.vim
19590
19591Patch 8.2.3186
19592Problem: Vim9: not all failures for import tested
19593Solution: Test more import failures
19594Files: src/errors.h, src/evalvars.c, src/testdir/test_vim9_script.vim
19595
19596Patch 8.2.3187
19597Problem: Vim9: popup timer callback is not compiled.
19598Solution: Compile the callback when creating the timer.
19599Files: src/vim9compile.c, src/proto/vim9compile.pro, src/popupwin.c
19600
19601Patch 8.2.3188
19602Problem: Vim9: argument types are not checked at compile time.
19603Solution: Add several more type checks, also at runtime. (Yegappan
19604 Lakshmanan, closes #8587)
19605Files: src/blob.c, src/channel.c, src/clientserver.c, src/cmdexpand.c,
19606 src/cmdhist.c, src/dict.c, src/diff.c, src/errors.h, src/eval.c,
19607 src/evalbuffer.c, src/evalfunc.c, src/evalvars.c,
19608 src/evalwindow.c, src/filepath.c, src/globals.h, src/insexpand.c,
19609 src/job.c, src/list.c, src/map.c, src/match.c,
19610 src/proto/typval.pro, src/quickfix.c, src/search.c, src/sign.c,
19611 src/strings.c, src/terminal.c, src/testdir/test_blob.vim,
19612 src/testdir/test_gui.vim, src/testdir/test_vim9_builtin.vim,
19613 src/testing.c, src/textprop.c, src/time.c, src/typval.c
19614
19615Patch 8.2.3189
19616Problem: Vim9: error when using "try|".
19617Solution: Allow for "|" right after a command.
19618Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
19619
19620Patch 8.2.3190
19621Problem: Error messages are spread out.
19622Solution: Move error messages to errors.h and give them a clear name.
19623Files: src/globals.h, src/errors.h, src/buffer.c, src/debugger.c,
19624 src/digraph.c, src/edit.c, src/ex_cmds.c, src/ex_cmds2.c,
19625 src/ex_docmd.c, src/ex_eval.c, src/gui.c, src/list.c, src/main.c,
19626 src/map.c, src/match.c, src/quickfix.c, src/regexp.c,
19627 src/regexp_bt.c, src/regexp_nfa.c, src/register.c, src/search.c,
19628 src/session.c, src/spell.c, src/syntax.c, src/time.c,
19629 src/userfunc.c, src/vim9execute.c, src/window.c
19630
19631Patch 8.2.3191
19632Problem: Vim9: not enough code is tested.
19633Solution: Use CheckLegacyAndVim9Success() in more places. Fix uncovered
19634 problems.
19635Files: src/vim9compile.c, src/vim9execute.c,
19636 src/testdir/test_listdict.vim
19637
19638Patch 8.2.3192 (after 8.2.3190)
19639Problem: Build failure with small version (Tony Mechelynck).
19640Solution: Remove stray #ifdef.
19641Files: src/errors.h
19642
19643Patch 8.2.3193
19644Problem: screenpos() is wrong when the last line is partially visible and
19645 'display' is "lastline".
19646Solution: Also compute the position for a partially visible line.
19647 (closes #8599)
19648Files: src/move.c, src/testdir/test_cursor_func.vim
19649
19650Patch 8.2.3194
19651Problem: Vim9: argument types are not checked at compile time.
19652Solution: Add several more type checks, simplify some. (Yegappan
19653 Lakshmanan, closes #8598)
19654Files: src/diff.c, src/evalbuffer.c, src/evalfunc.c, src/job.c,
19655 src/proto/typval.pro, src/sign.c, src/terminal.c,
19656 src/testdir/test_vim9_builtin.vim, src/typval.c
19657
19658Patch 8.2.3195
19659Problem: Vim9: unclear error when passing too many arguments to lambda.
19660Solution: Pass the expression itself instead of "[expression]".
19661 (closes #8604)
19662Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
19663
19664Patch 8.2.3196
19665Problem: Vim9: bool expression with numbers only fails at runtime.
19666Solution: Check constant to be bool at compile time. (closes #8603)
19667Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
19668
19669Patch 8.2.3197
19670Problem: Error messages are spread out.
19671Solution: Move a few more error messages to errors.h.
19672Files: src/globals.h, src/errors.h, src/edit.c, src/ex_cmds.c,
19673 src/ex_docmd.c, src/evalvars.c, src/option.c, src/quickfix.c,
19674 src/regexp_bt.c, src/regexp_nfa.c, src/regexp.c, src/undo.c,
19675 src/vim9compile.c, src/vim9script.c
19676
19677Patch 8.2.3198
19678Problem: Cannot use 'formatlistpat' for breakindent.
19679Solution: Use a negative list indent. (Maxim Kim, closes #8594)
19680Files: runtime/doc/options.txt, src/indent.c,
19681 src/testdir/test_breakindent.vim
19682
19683Patch 8.2.3199
19684Problem: Vim9: execution speed can be improved.
19685Solution: Make the break counter static.
19686Files: src/vim9execute.c
19687
19688Patch 8.2.3200
19689Problem: Vim9: hard to guess where a type error is given.
19690Solution: Add the function name where possible. (closes #8608)
19691Files: src/dict.c, src/proto/dict.pro, src/eval.c, src/list.c,
19692 src/vim9compile.c, src/vim9execute.c, src/structs.h,
19693 src/vim9type.c, src/proto/vim9type.pro, src/if_py_both.h,
19694 src/errors.h, src/testdir/test_vim9_builtin.vim
19695
19696Patch 8.2.3201 (after 8.2.3200)
19697Problem: Crash in test.
19698Solution: Initialize "where".
19699Files: src/eval.c, src/evalvars.c
19700
19701Patch 8.2.3202
19702Problem: Vim9: tests are only executed for legacy script.
19703Solution: Run more tests also for Vim9 script. Fix uncovered problems.
19704Files: src/vim9execute.c, src/ex_docmd.c, src/testdir/test_listdict.vim
19705
19706Patch 8.2.3203
19707Problem: Vim9: compiled string expression causes type error. (Yegappan
19708 Lakshmanan)
19709Solution: Remove the string type from the stack.
19710Files: src/vim9compile.c, src/evalfunc.c
19711
19712Patch 8.2.3204
19713Problem: Display garbled when 'cursorline' is set and lines wrap. (Gabriel
19714 Dupras)
19715Solution: Avoid inserting lines twice. (closes #7255)
19716Files: src/drawscreen.c, src/testdir/test_cursorline.vim,
19717 src/testdir/dumps/Test_cursorline_redraw_1.dump,
19718 src/testdir/dumps/Test_cursorline_redraw_2.dump
19719
19720Patch 8.2.3205
19721Problem: Coverity reports a null pointer dereference.
19722Solution: Change the logic to avoid Coverity gets confused.
19723Files: src/vim9compile.c
19724
19725Patch 8.2.3206
19726Problem: Vim9: argument types are not checked at compile time.
19727Solution: Add several more type checks. (Yegappan Lakshmanan, closes #8611)
19728Files: runtime/doc/eval.txt, src/blob.c, src/cmdhist.c, src/dict.c,
19729 src/errors.h, src/evalfunc.c, src/filepath.c, src/globals.h,
19730 src/job.c, src/list.c, src/match.c, src/misc1.c, src/popupwin.c,
19731 src/proto/typval.pro, src/sign.c, src/terminal.c,
19732 src/testdir/test_blob.vim, src/testdir/test_vim9_builtin.vim,
19733 src/typval.c
19734
19735Patch 8.2.3207
19736Problem: Vim9: crash when compiling string fails. (Yegappan Lakshmanan)
19737Solution: Adjust the type stack length.
19738Files: src/vim9compile.c, src/testdir/test_vim9_builtin.vim
19739
19740Patch 8.2.3208
19741Problem: Dynamic library load error does not mention why it failed.
19742Solution: Add the error message. (Martin Tournoij, closes #8621)
19743Files: src/globals.h, src/if_cscope.c, src/if_lua.c, src/if_mzsch.c,
19744 src/if_perl.xs, src/if_python.c, src/if_python3.c, src/if_ruby.c,
19745 src/if_tcl.c, src/mbyte.c, src/os_win32.c, src/proto/os_win32.pro,
19746 src/terminal.c
19747
19748Patch 8.2.3209
19749Problem: Vim9: lambda doesn't find block-local variable.
19750Solution: Adjust how a script-local variable is found. (closes #8614)
19751Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
19752
19753Patch 8.2.3210
19754Problem: Vim9: searchpair() sixth argument is compiled. (Yegappan
19755 Lakshmanan)
19756Solution: Only compile the fifth argument.
19757Files: src/vim9compile.c, src/testdir/test_vim9_builtin.vim
19758
19759Patch 8.2.3211
19760Problem: Vim9: argument types are not checked at compile time.
19761Solution: Add several more type checks. Fix type check for matchaddpos().
19762 (Yegappan Lakshmanan, closes #8619)
19763Files: src/channel.c, src/evalfunc.c, src/evalvars.c, src/if_cscope.c,
19764 src/job.c, src/proto/typval.pro,
19765 src/testdir/test_vim9_builtin.vim, src/time.c, src/typval.c
19766
19767Patch 8.2.3212
19768Problem: Vim9: execution speed can be improved.
19769Solution: Use __builtin_expect() to have the compiler produce better code.
19770 (Dominique Pellé, closes #8613)
19771Files: src/vim9execute.c
19772
19773Patch 8.2.3213
19774Problem: NOCOMPOUNDSUGS entry in spell file not tested.
19775Solution: Add a test. (Dominique Pellé, closes #8624)
19776Files: src/testdir/test_spellfile.vim
19777
19778Patch 8.2.3214
19779Problem: MS-Windows: passing /D does not set the install location.
19780Solution: Adjust how the installer uses $VIM. Update the documentation.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019781 (Christian Brabandt, Ken Takata, closes #8605)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019782Files: nsis/gvim.nsi, runtime/doc/os_win32.txt
19783
19784Patch 8.2.3215
19785Problem: Vim9: argument types are not checked at compile time.
19786Solution: Add several more type checks. Sort the argument lists.
19787 (Yegappan Lakshmanan, closes #8626)
19788Files: src/change.c, src/evalfunc.c, src/filepath.c, src/sound.c,
19789 src/testdir/test_gui.vim, src/testdir/test_vim9_builtin.vim,
19790 src/testing.c
19791
19792Patch 8.2.3216
19793Problem: Vim9: crash when using variable in a loop at script level.
19794Solution: Do not clear the variable if a function was defined.
19795 Do not create a new entry in sn_var_vals every time.
19796 (closes #8628)
19797Files: src/eval.c, src/ex_eval.c, src/vim9script.c, src/userfunc.c,
19798 src/evalvars.c, src/structs.h
19799
19800Patch 8.2.3217 (after 8.2.3216)
19801Problem: Build failure.
19802Solution: Add missing changes.
19803Files: src/globals.h
19804
19805Patch 8.2.3218
19806Problem: When using xchaha20 crypt undo file is not removed.
19807Solution: Reset 'undofile' and delete the file. (Christian Brabandt,
19808 closes #8630, closes #8467)
19809Files: src/bufwrite.c, src/crypt.c, src/proto/undo.pro,
19810 src/testdir/test_crypt.vim, src/undo.c
19811
19812Patch 8.2.3219
19813Problem: :find searches non-existing directories.
19814Solution: Check the path is not "..". Update help. (Christian Brabandt,
19815 closes #8612, closes #8533)
19816Files: runtime/doc/editing.txt, src/findfile.c,
19817 src/testdir/test_findfile.vim
19818
19819Patch 8.2.3220
19820Problem: Test_term_setansicolors() fails in some configurations.
19821Solution: Check available features. (Dominique Pellé, closes #8636)
19822Files: src/testdir/test_vim9_builtin.vim
19823
19824Patch 8.2.3221
19825Problem: Vim9: argument types are not checked at compile time.
19826Solution: Add several more type checks. (Yegappan Lakshmanan, closes #8632)
19827Files: src/evalfunc.c, src/popupwin.c, src/proto/typval.pro,
19828 src/testdir/test_assert.vim, src/testdir/test_vim9_builtin.vim,
19829 src/testdir/test_vim9_script.vim, src/testing.c, src/typval.c
19830
19831Patch 8.2.3222
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019832Problem: Vim9: cannot use loop variable later as lambda argument.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019833Solution: When not in function context check the current block ID.
19834 (closes #8637)
19835Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
19836
19837Patch 8.2.3223
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019838Problem: Vim: using {} block in autoloaded omnifunc fails.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019839Solution: Allow using {} block when text is locked. (closes #8631)
19840Files: src/ex_cmds.h, src/testdir/test_ins_complete.vim
19841
19842Patch 8.2.3224
19843Problem: Cannot call script-local function after :vim9cmd. (Christian J.
19844 Robinson)
19845Solution: Skip over "<SNR>123".
19846Files: src/vim9compile.c, src/eval.c, src/testdir/test_vim9_cmd.vim
19847
19848Patch 8.2.3225
19849Problem: Incsearch highlighting is attempted halfway a mapping.
19850Solution: Only do incsearch highlighting if keys were typed or there is no
19851 more typeahead.
19852Files: src/ex_getln.c
19853
19854Patch 8.2.3226
19855Problem: New digraph functions use old naming scheme.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019856Solution: Use the digraph_ prefix. (Hirohito Higashi, closes #8642)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019857Files: runtime/doc/digraph.txt, runtime/doc/eval.txt,
19858 runtime/doc/usr_41.txt, src/digraph.c, src/edit.c, src/errors.h,
19859 src/evalfunc.c, src/proto/digraph.pro,
19860 src/testdir/test_digraph.vim
19861
19862Patch 8.2.3227
19863Problem: 'virtualedit' can only be set globally.
19864Solution: Make 'virtualedit' global-local. (Gary Johnson, closes #8638)
19865Files: runtime/doc/options.txt, src/buffer.c, src/change.c,
19866 src/drawscreen.c, src/edit.c, src/misc2.c, src/normal.c,
19867 src/ops.c, src/option.c, src/option.h, src/optiondefs.h,
19868 src/optionstr.c, src/proto/option.pro, src/register.c,
19869 src/structs.h, src/testdir/test_virtualedit.vim
19870
19871Patch 8.2.3228
19872Problem: Cannot use a simple block for the :command argument. (Maarten
19873 Tournoij)
19874Solution: Recognize a simple {} block. (issue #8623)
19875Files: runtime/doc/map.txt, src/misc2.c, src/proto/misc2.pro,
19876 src/usercmd.c, src/testdir/test_usercommands.vim
19877
19878Patch 8.2.3229
19879Problem: Vim9: runtime and compile time type checks are not the same.
19880Solution: Add more runtime type checks for builtin functions. (Yegappan
19881 Lakshmanan, closes #8646)
19882Files: src/arglist.c, src/change.c, src/channel.c, src/cindent.c,
19883 src/clientserver.c, src/cmdhist.c, src/dict.c, src/diff.c,
19884 src/digraph.c, src/errors.h, src/eval.c, src/evalbuffer.c,
19885 src/evalfunc.c, src/evalwindow.c, src/ex_docmd.c, src/ex_getln.c,
19886 src/filepath.c, src/findfile.c, src/float.c, src/fold.c,
19887 src/getchar.c, src/indent.c, src/insexpand.c, src/job.c,
19888 src/json.c, src/list.c, src/mark.c, src/match.c, src/mbyte.c,
19889 src/menu.c, src/misc1.c, src/move.c, src/popupwin.c,
19890 src/proto/typval.pro, src/quickfix.c, src/search.c, src/sign.c,
19891 src/sound.c, src/strings.c, src/terminal.c,
19892 src/testdir/test_assert.vim, src/testdir/test_blob.vim,
19893 src/testdir/test_execute_func.vim,
19894 src/testdir/test_float_func.vim, src/testdir/test_functions.vim,
19895 src/testdir/test_glob2regpat.vim, src/testdir/test_listdict.vim,
19896 src/testdir/test_vim9_builtin.vim,
19897 src/testdir/test_vim9_script.vim, src/testing.c, src/textprop.c,
19898 src/time.c, src/typval.c, src/undo.c
19899
19900Patch 8.2.3230
19901Problem: Vim9: type error when function return type is not known yet.
19902Solution: When return type is unknown, use "any". (closes #8644)
19903Files: src/vim9compile.c, src/testdir/test_vim9_builtin.vim
19904
19905Patch 8.2.3231
19906Problem: Build failure with small features.
19907Solution: Adjust #ifdef.
19908Files: src/errors.h
19909
19910Patch 8.2.3232 (after 8.2.3229)
19911Problem: system() does not work without a second argument.
19912Solution: Do not require a second argument. (Yegappan Lakshmanan,
19913 closes #8651, closes #8650)
19914Files: src/misc1.c, src/proto/typval.pro,
19915 src/testdir/test_vim9_builtin.vim, src/typval.c
19916
19917Patch 8.2.3233
19918Problem: prop_list() and prop_find() do not indicate the buffer for the
19919 used type.
19920Solution: Add "type_bufnr" to the results. (closes #8647)
19921Files: runtime/doc/textprop.txt, src/testdir/test_textprop.vim,
19922 src/textprop.c
19923
19924Patch 8.2.3234
19925Problem: Crash when printing long string with Lua.
19926Solution: Remove lua_pop(). (Martin Tournoij, closes #8648)
19927Files: src/if_lua.c, src/testdir/test_lua.vim
19928
19929Patch 8.2.3235
19930Problem: Cannot use lambda in {} block in user command. (Martin Tournoij)
19931Solution: Do not go over the end of the lambda.
19932Files: src/userfunc.c, src/testdir/test_usercommands.vim
19933
19934Patch 8.2.3236
19935Problem: mode() does not indicate using CTRL-O in Select mode.
19936Solution: Use "vs" and similar. (closes #8640)
19937Files: runtime/doc/eval.txt, src/globals.h, src/misc1.c, src/normal.c,
19938 src/testdir/test_functions.vim
19939
19940Patch 8.2.3237
19941Problem: When a builtin function gives an error processing continues.
19942Solution: In Vim9 script return FAIL in get_func_tv().
19943Files: src/userfunc.c, src/testdir/test_vim9_assign.vim
19944
19945Patch 8.2.3238
19946Problem: Vim9: error message does not indicate the location.
19947Solution: Add the relevant text. (issue #8634)
19948Files: src/errors.h, src/vim9compile.c, src/testdir/test_vim9_expr.vim
19949
19950Patch 8.2.3239
19951Problem: Vim9: no error using heredoc for a number variable.
19952Solution: Add a type check. (closes #8627)
19953Files: src/vim9compile.c, src/evalvars.c,
19954 src/testdir/test_vim9_assign.vim
19955
19956Patch 8.2.3240
19957Problem: Lua print() does not work properly.
19958Solution: Put back lua_pop().
19959Files: src/if_lua.c, src/testdir/test_lua.vim
19960
19961Patch 8.2.3241
19962Problem: Vim9: memory leak when function reports an error.
19963Solution: Clear the return value.
19964Files: src/userfunc.c
19965
19966Patch 8.2.3242
19967Problem: Vim9: valgrind reports leaks in builtin function test.
19968Solution: Do not start a job.
19969Files: src/testdir/test_vim9_builtin.vim
19970
19971Patch 8.2.3243
19972Problem: MS-Windows: the "edit with multiple Vim" choice is not that
19973 useful.
19974Solution: Change it to "Edit with multiple tabs". (Michael Soyka,
19975 closes #8645)
19976Files: src/GvimExt/gvimext.cpp, src/GvimExt/gvimext.h
19977
19978Patch 8.2.3244
19979Problem: Lua 5.3 print() with a long string crashes.
19980Solution: Use a growarray instead of a Lua buffer. (Yegappan Lakshmanan,
19981 closes #8655)
19982Files: src/if_lua.c, src/misc2.c, src/proto/misc2.pro
19983
19984Patch 8.2.3245
19985Problem: The crypt key may appear in a swap partition.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019986Solution: When using xchacha20 use sodium_mlock(). (Christian Brabandt,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019987 closes #8657)
19988Files: src/buffer.c, src/crypt.c, src/errors.h, src/fileio.c,
19989 src/memline.c, src/vim.h
19990
19991Patch 8.2.3246
19992Problem: Memory use after free.
19993Solution: When clearing a string option set the pointer to "empty_option".
19994Files: src/option.c
19995
19996Patch 8.2.3247
19997Problem: Using uninitialized memory when checking for crypt method.
19998Solution: Check the header length before using the salt and seed.
19999Files: src/fileio.c
20000
20001Patch 8.2.3248
20002Problem: Vim9: error message for wrong input uses wrong line number.
20003Solution: Use the line number of the start of the command. (issue #8653)
20004Files: src/vim9script.c, src/testdir/test_vim9_script.vim
20005
20006Patch 8.2.3249
20007Problem: Vim9: error for re-imported function with default argument.
20008Solution: Do not check argument type if it is still unknown. (closes #8653)
20009Files: src/vim9type.c, src/proto/vim9type.pro, src/vim9script.c,
20010 src/vim.h, src/eval.c, src/vim9execute.c,
20011 src/testdir/test_vim9_script.vim
20012
20013Patch 8.2.3250
20014Problem: MS-Windows: cannot build with libsodium.
20015Solution: Change FEAT_SODIUM into HAVE_SODIUM. (Christian Brabandt,
20016 closes #8668, closes #8663)
20017Files: src/Make_mvc.mak
20018
20019Patch 8.2.3251
20020Problem: Listing builtin_gui as an available terminal is confusing.
20021Solution: Do not list builtin_gui. (Christian Brabandt, closes #8669,
20022 closes #8661)
20023Files: src/term.c, src/testdir/test_termcodes.vim
20024
20025Patch 8.2.3252
20026Problem: Duplicated code for adding buffer lines.
20027Solution: Move code to a common function. Also move map functions to map.c.
20028 (Yegappan Lakshmanan, closes #8665)
20029Files: src/evalbuffer.c, src/evalfunc.c, src/map.c, src/proto/map.pro
20030
20031Patch 8.2.3253
20032Problem: Channel test fails randomly.
20033Solution: Add a sleep after sending the "echoerr" command. (Michael Soyka)
20034Files: src/testdir/test_channel.vim, src/testdir/test_channel.py
20035
20036Patch 8.2.3254
20037Problem: win_gettype() does not recognize a quickfix window.
20038Solution: Add "quickfix" and "loclist". (Yegappan Lakshmanan, closes #8676)
20039Files: runtime/doc/eval.txt, src/evalwindow.c, src/misc2.c,
20040 src/testdir/test_quickfix.vim
20041
20042Patch 8.2.3255
20043Problem: ci" finds following string but ci< and others don't.
20044Solution: When not inside an object find the start. (Connor Lane Smit,
20045 closes #8670)
20046Files: src/search.c, src/testdir/test_textobjects.vim, src/textobject.c
20047
20048Patch 8.2.3256
20049Problem: Executable test may fail on new Ubuntu system.
20050Solution: Consider /usr/bin/cat and /bin/cat the same.
20051Files: src/testdir/test_functions.vim
20052
20053Patch 8.2.3257
Bram Moolenaar1588bc82022-03-08 21:35:07 +000020054Problem: Calling prop_find() with -1 for ID gives erroneous error. (Naohiro
Bram Moolenaarc51cf032022-02-26 12:25:45 +000020055 Ono)
20056Solution: When passing -1 use -2. (closes #8674)
20057Files: src/textprop.c, src/testdir/test_textprop.vim
20058
20059Patch 8.2.3258
20060Problem: Error messages have the wrong text.
20061Solution: Adjust the error message.
20062Files: src/errors.h, src/typval.c, src/testdir/test_vim9_builtin.vim
20063
20064Patch 8.2.3259
20065Problem: When 'indentexpr' causes an error the did_throw flag may remain
20066 set.
20067Solution: Reset did_throw and show the error. (closes #8677)
20068Files: src/indent.c, src/ex_docmd.c, src/proto/ex_docmd.pro
20069
20070Patch 8.2.3260
20071Problem: Build failure with small features.
20072Solution: Add #ifdef.
20073Files: src/ex_docmd.c
20074
20075Patch 8.2.3261
20076Problem: Vim9: when compiling repeat(123, N) return type is number.
20077Solution: Make return type a string. (closes #8664)
20078Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
20079
20080Patch 8.2.3262
20081Problem: Build failure when ABORT_ON_INTERNAL_ERROR is defined.
20082Solution: Adjust how estack_len_before is used.
20083Files: src/ex_docmd.c
20084
20085Patch 8.2.3263
20086Problem: Vim9: "..=" does not accept same types as the ".." operator.
20087Solution: Convert value to string like ".." does. (issue #8664)
20088Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim,
20089 src/testdir/test_vim9_disassemble.vim
20090
20091Patch 8.2.3264 (after 8.2.3263)
20092Problem: Vim9: assign test fails.
20093Solution: Add missing change.
20094Files: src/eval.c
20095
20096Patch 8.2.3265
20097Problem: Smartcase does not work correctly in very magic pattern.
20098Solution: Take the magicness into account when skipping over regexp items.
20099 (Christian Brabandt, closes #8682, closes #7845)
20100Files: src/search.c, src/testdir/test_search.vim
20101
20102Patch 8.2.3266
20103Problem: Vim9: assignment with two indexes may check next line.
20104Solution: Limit the number of lines to avoid checking the next line when
Bram Moolenaar1588bc82022-03-08 21:35:07 +000020105 assigning to a LHS subscript. (closes #8660)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000020106Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
20107
20108Patch 8.2.3267
20109Problem: Vim9: crash when disassembling a function that uses a deleted
20110 script variable.
20111Solution: Check the variable still exists. (closes #8683)
20112Files: src/vim9execute.c, src/testdir/test_vim9_disassemble.vim
20113
20114Patch 8.2.3268
20115Problem: Cannot use a block with :autocmd like with :command.
20116Solution: Add support for a {} block after :autocmd. (closes #8620)
20117Files: runtime/doc/autocmd.txt, runtime/doc/map.txt, src/autocmd.c,
20118 src/proto/autocmd.pro, src/usercmd.c, src/proto/usercmd.pro,
20119 src/ex_docmd.c, src/vim.h, src/testdir/test_autocmd.vim
20120
20121Patch 8.2.3269
20122Problem: Vim9: wrong argument check for partial. (Naohiro Ono)
20123Solution: Handle getting return type without arguments. Correct the minimal
20124 number of arguments for what is included in the partial.
20125 (closes #8667)
20126Files: src/evalfunc.c, src/vim9type.c, src/testdir/test_vim9_func.vim
20127
20128Patch 8.2.3270
20129Problem: prop_find() finds property with ID -2.
20130Solution: Use a separate flag to indicate an ID was specified. (issue #8674)
20131Files: src/textprop.c
20132
20133Patch 8.2.3271
20134Problem: Vim9: cannot use :command or :au with a block in a :def function.
20135Solution: Recognize the start of the block.
20136Files: src/userfunc.c, src/usercmd.c, src/ex_docmd.c,
20137 src/proto/ex_docmd.pro, src/vim9compile.c,
20138 src/testdir/test_vim9_script.vim
20139
20140Patch 8.2.3272
20141Problem: Cannot use id zero with prop_find(). (Naohiro Ono)
20142Solution: Also accept id zero.
20143Files: src/textprop.c, src/testdir/test_textprop.vim
20144
20145Patch 8.2.3273
20146Problem: Autocmd test fails.
20147Solution: Require white space before the "{" that starts a block.
20148Files: src/userfunc.c
20149
20150Patch 8.2.3274
20151Problem: Macro for printf format check can be simplified.
20152Solution: Add ATTRIBUTE_FORMAT_PRINTF(). (Dominique Pellé, issue #8635)
20153Files: src/channel.c, src/gui_xim.c, src/if_mzsch.c, src/nbdebug.c,
20154 src/nbdebug.h, src/netbeans.c, src/proto.h, src/term.c, src/vim.h,
20155 src/vim9execute.c
20156
20157Patch 8.2.3275
20158Problem: Optimizer can use hints about ga_grow() normally succeeding.
20159Solution: Use GA_GROW_FAILS() and GA_GROW_OK() in several places. (Dominique
20160 Pellé, issue #8635)
20161Files: src/arglist.c, src/macros.h, src/vim9execute.c, src/vim9compile.c
20162
20163Patch 8.2.3276
20164Problem: Vim9: exists() can only be evaluated at runtime.
20165Solution: Evaluate at compile time for option name literals. (closes #8437)
20166Files: src/vim9compile.c, src/evalfunc.c, src/proto/evalfunc.pro,
20167 src/testdir/test_vim9_builtin.vim
20168
20169Patch 8.2.3277 (after 8.2.3276)
20170Problem: Vim9: compiled has() does not work properly.
20171Solution: Fix check for has() vs exists().
20172Files: src/vim9compile.c
20173
20174Patch 8.2.3278
20175Problem: Vim9: error when adding 1 to float.
20176Solution: Accept t_number_bool. (closes #8687)
20177Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
20178
20179Patch 8.2.3279
20180Problem: Vim9: cannot use block in cmdline window.
20181Solution: Add EX_CMDWIN to the CMD_block flags. (closes #8689)
20182Files: src/ex_cmds.h, src/testdir/test_vim9_cmd.vim
20183
20184Patch 8.2.3280
20185Problem: 'virtualedit' local to buffer is not the best solution.
20186Solution: Make it window-local. (Gary Johnson, closes #8685)
20187Files: runtime/doc/options.txt, src/buffer.c, src/drawscreen.c,
20188 src/ops.c, src/option.c, src/option.h, src/optionstr.c,
20189 src/structs.h, src/testdir/test_virtualedit.vim
20190
20191Patch 8.2.3281
20192Problem: Vim9: TODO items in tests can be taken care of.
20193Solution: Update test for now working functionality. (closes #8694)
20194Files: src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_func.vim,
20195 src/testdir/test_vim9_script.vim
20196
20197Patch 8.2.3282
20198Problem: Vim9: error about using -complete without -nargs is confusing.
20199Solution: Change the wording.
20200Files: src/usercmd.c, src/errors.h
20201
20202Patch 8.2.3283
20203Problem: Julia filetype is not recognized
20204Solution: Add filetype detection. (Christian Clason, closes #8700)
20205Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20206
20207Patch 8.2.3284
20208Problem: No error for insert() or remove() changing a locked blob.
20209Solution: Check a blob is not locked before changing it. (Sean Dewar,
20210 closes #8696)
20211Files: src/blob.c, src/errors.h, src/eval.c, src/list.c,
20212 src/proto/blob.pro, src/testdir/test_blob.vim,
20213 src/testdir/test_eval_stuff.vim
20214
20215Patch 8.2.3285
20216Problem: Scdoc filetype is not recognized.
20217Solution: Add filetype detection. (Gregory Anders, closes #8701)
20218Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20219
20220Patch 8.2.3286
20221Problem: win_enter_ext() has too many boolean arguments.
20222Solution: use one flags argument with defined values.
20223Files: src/window.c
20224
20225Patch 8.2.3287
20226Problem: Channel events not handled in BufEnter autocommand.
20227Solution: Decrement dont_parse_messages earlier. (Tim Pope, closes #8697)
20228Files: src/window.c, src/testdir/test_channel.vim
20229
20230Patch 8.2.3288
20231Problem: Cannot easily access namespace dictionaries from Lua.
20232Solution: Add vim.g, vim.b, etc. (Yegappan Lakshmanan, closes #8693,
20233 from NeoVim)
20234Files: runtime/doc/if_lua.txt, src/if_lua.c, src/testdir/test_lua.vim
20235
20236Patch 8.2.3289 (after 8.2.3287)
20237Problem: Compiler warning for unused variable with small features.
20238Solution: Rearrange #ifdefs.
20239Files: src/window.c
20240
20241Patch 8.2.3290
20242Problem: Vim9: compiling dict may use pointer after free and leak memory on
20243 failure.
20244Solution: Pass a pointer to generate_PUSHS(). (Zdenek Dohnal, closes #8699)
20245Files: src/vim9compile.c
20246
20247Patch 8.2.3291
20248Problem: Coverity warns for not checking return value.
20249Solution: If dict_add() fails give an error message.
20250Files: src/if_lua.c, src/testdir/test_lua.vim
20251
20252Patch 8.2.3292
20253Problem: Underscore in very magic pattern causes a hang. Pattern with \V
20254 are case sensitive. (Yutao Yuan)
20255Solution: Adjust condition for magicness and advance pointer. (Christian
20256 Brabandt, closes #8707, closes #8704, closes #8705)
20257Files: src/search.c, src/testdir/test_search.vim
20258
20259Patch 8.2.3293
20260Problem: Finding completions may cause an endless loop.
20261Solution: Use a better way to check coming back where the search started.
20262 (Andy Gozas, closes #8672, closes #8671)
20263Files: src/insexpand.c, src/testdir/Make_all.mak,
20264 src/testdir/test_ins_complete_no_halt.vim
20265
20266Patch 8.2.3294
20267Problem: Lua: memory leak when adding dict item fails.
20268Solution: Free the typval and the dict item.
20269Files: src/if_lua.c
20270
20271Patch 8.2.3295
20272Problem: 'cursorline' should not apply to 'breakindent'.
20273Solution: Make 'cursorline' apply to 'breakindent' and 'showbreak'
20274 consistently. (closes #8684)
20275Files: src/drawline.c, src/testdir/dumps/Test_Xcursorline_19.dump,
20276 src/testdir/dumps/Test_Xcursorline_20.dump,
20277 src/testdir/dumps/Test_Xcursorline_21.dump,
20278 src/testdir/dumps/Test_Xcursorline_22.dump,
20279 src/testdir/dumps/Test_Xcursorline_23.dump,
20280 src/testdir/dumps/Test_Xcursorline_24.dump,
20281 src/testdir/dumps/Test_diff_with_cul_bri_01.dump,
20282 src/testdir/dumps/Test_diff_with_cul_bri_02.dump,
20283 src/testdir/dumps/Test_diff_with_cul_bri_03.dump,
20284 src/testdir/dumps/Test_diff_with_cul_bri_04.dump,
20285 src/testdir/test_cursorline.vim, src/testdir/test_diffmode.vim
20286
20287Patch 8.2.3296
20288Problem: Vim9: cannot add a number to a float.
20289Solution: Accept a number if the destination is a float. (closes #8703)
20290Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
20291
20292Patch 8.2.3297
20293Problem: Cannot use all commands inside a {} block after :command and
20294 :autocmd.
20295Solution: Do consider \n to separate commands. (closes #8620)
20296Files: runtime/doc/map.txt, src/ex_docmd.c, src/proto/ex_docmd.pro,
20297 src/ex_eval.c, src/proto/ex_eval.pro, src/eval.c, src/evalvars.c,
20298 src/ex_cmds.c, src/syntax.c, src/userfunc.c, src/vim9compile.c,
20299 src/vim9script.c, src/errors.h, src/testdir/test_autocmd.vim,
20300 src/testdir/test_usercommands.vim
20301
20302Patch 8.2.3298
20303Problem: Build failure with small features.
20304Solution: Add #ifdef.
20305Files: src/ex_docmd.c
20306
20307Patch 8.2.3299
20308Problem: Vim9: exists() does not handle much at compile time.
20309Solution: Handle variable names. (closes #8688)
20310Files: src/vim9compile.c, src/evalfunc.c,
20311 src/testdir/test_vim9_builtin.vim
20312
20313Patch 8.2.3300
20314Problem: Lua: can only execute one Vim command at a time. Not easy to get
20315 the Vim version.
20316Solution: Make vim.command() accept multiple lines. Add vim.version().
20317 (Yegappan Lakshmanan, closes #8716)
20318Files: runtime/doc/if_lua.txt, src/evalfunc.c, src/if_lua.c,
20319 src/proto/evalfunc.pro, src/testdir/test_lua.vim,
20320 src/testdir/test_shell.vim
20321
20322Patch 8.2.3301
20323Problem: Memory allocation functions don't have their own place.
20324Solution: Move memory allocation functions to alloc.c. (Yegappan
20325 Lakshmanan, closes #8717)
20326Files: Filelist, src/Make_ami.mak, src/Make_cyg_ming.mak,
20327 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
20328 src/alloc.c, src/misc2.c, src/proto.h, src/proto/alloc.pro,
20329 src/proto/misc2.pro
20330
20331Patch 8.2.3302
20332Problem: Coverity is not run from github.
20333Solution: Add a coverity script. (James McCoy, closes #8714)
20334Files: .github/workflows/coverity.yml, Filelist
20335
20336Patch 8.2.3303
20337Problem: Some structures could be smaller.
20338Solution: Rearrange members to reduce size. (Dominique Pellé, closes #8725)
20339Files: src/structs.h, src/vim9.h, src/vim9execute.c
20340
20341Patch 8.2.3304
20342Problem: Popup window title with wide characters is truncated.
20343Solution: Use vim_strsize() instead of MB_CHARLEN(). (Naruhiko Nishino,
20344 closes #8721)
20345Files: src/popupwin.c, src/testdir/test_popupwin.vim,
20346 src/testdir/dumps/Test_popupwin_multibytetitle.dump
20347
20348Patch 8.2.3305
20349Problem: Vim9: :finally in skipped block not handled correctly.
20350Solution: Check whether :finally is in a skipped block. (Naruhiko Nishino,
20351 closes #8724)
20352Files: src/ex_eval.c, src/vim9compile.c, src/testdir/test_vim9_script.vim
20353
20354Patch 8.2.3306
20355Problem: Unexpected "No matching autocommands".
20356Solution: Do not give the message when aborting. Mention the arguments in
20357 the message. (closes #8690)
20358Files: src/autocmd.c,
20359
20360Patch 8.2.3307
20361Problem: Vim9: :echoconsole cannot access local variables.
20362Solution: Handle like other :echo commands. (closes #8708)
20363Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c,
20364 src/testdir/test_vim9_script.vim,
20365 src/testdir/test_vim9_disassemble.vim
20366
20367Patch 8.2.3308
20368Problem: Vim9: no runtime check for argument type if a function only has
20369 varargs.
20370Solution: Also check argument types if uf_va_type is set. (closes #8715)
20371Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
20372
20373Patch 8.2.3309
20374Problem: Vim9: divide by zero causes a crash.
20375Solution: Give an error message. (closes #8727)
20376Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
20377
20378Patch 8.2.3310
20379Problem: Vim9: unpack assignment does not mention source of type error.
20380Solution: Mention the argument number. (closes #8719)
20381Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim,
20382 src/testdir/test_vim9_disassemble.vim
20383
20384Patch 8.2.3311
20385Problem: Vim9: check for DO_NOT_FREE_CNT is very slow.
20386Solution: Move to a separate function so it can be skipped by setting
20387 $TEST_SKIP_PAT.
20388Files: src/testdir/test_vim9_expr.vim, src/testdir/runtest.vim
20389
20390Patch 8.2.3312
20391Problem: Vim9: after "if false" line breaks in expression not skipped.
20392Solution: Do parse the expression. (closes #8723)
20393Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
20394
20395Patch 8.2.3313
20396Problem: Unused code in win_exchange() and frame_remove().
20397Solution: Remove the code. (closes #8728)
20398Files: src/window.c
20399
20400Patch 8.2.3314
20401Problem: Behavior of exists() in a :def function is unpredictable.
20402Solution: Add exists_compiled().
20403Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
20404 src/errors.h, src/vim9compile.c, src/testdir/test_vim9_builtin.vim
20405
20406Patch 8.2.3315
20407Problem: Cannot use single quote in a float number for readability.
20408Solution: Support single quotes like in numbers. (closes #8713)
20409Files: src/typval.c, src/float.c, src/proto/float.pro, src/json.c,
20410 src/viminfo.c, src/testdir/test_float_func.vim
20411
20412Patch 8.2.3316 (after 8.2.3315)
20413Problem: Float test fails.
20414Solution: Add missing change.
20415Files: src/evalfunc.c
20416
20417Patch 8.2.3317
20418Problem: Vim9: No error for missing white space before return type.
20419Solution: Check for white space. (closes #8733)
20420Files: src/userfunc.c, src/testdir/test_vim9_func.vim
20421
20422Patch 8.2.3318
20423Problem: Vim9: cannot ignore quotes in number at the command line.
20424Solution: Use in_vim9script() so that after ":vim9" quotes are ignored.
20425Files: src/typval.c, src/testdir/test_float_func.vim
20426
20427Patch 8.2.3319
20428Problem: Coverity action on github does not work.
20429Solution: Remove undefined $SRCDIR. (James McCoy, closes #8739)
20430Files: .github/workflows/coverity.yml
20431
20432Patch 8.2.3320
20433Problem: Some local functions are not static.
20434Solution: Add "static". Move snprintf() related code to strings.c.
20435 (Yegappan Lakshmanan, closes #8734)
20436Files: src/alloc.c, src/channel.c, src/dict.c, src/digraph.c, src/edit.c,
20437 src/ex_docmd.c, src/getchar.c, src/job.c, src/list.c,
20438 src/message.c, src/profiler.c, src/proto/channel.pro,
20439 src/proto/dict.pro, src/proto/digraph.pro, src/proto/edit.pro,
20440 src/proto/ex_docmd.pro, src/proto/getchar.pro, src/proto/job.pro,
20441 src/proto/list.pro, src/proto/profiler.pro, src/proto/spell.pro,
20442 src/proto/vim9compile.pro, src/proto/vim9script.pro,
20443 src/proto/vim9type.pro, src/spell.c, src/strings.c,
20444 src/vim9compile.c, src/vim9script.c, src/vim9type.c, src/window.c
20445
20446Patch 8.2.3321
20447Problem: Some code is not tested.
20448Solution: Add some more tests. (Dominique Pellé, closes #8735)
20449Files: src/testdir/test_excmd.vim, src/testdir/test_writefile.vim
20450
20451Patch 8.2.3322
20452Problem: Vim9: checking type of dict does not check member type.
20453Solution: When getting the type of a typval use dv_type and lv_type.
20454 (closes #8732)
20455Files: src/vim9type.c, src/testdir/test_vim9_builtin.vim
20456
20457Patch 8.2.3323
20458Problem: Help tag for exists_compiled() is wrong. (Maxim Kim)
20459Solution: Adjust the help tag.
20460Files: runtime/doc/eval.txt
20461
20462Patch 8.2.3324
20463Problem: Vim9: Cannot use :silent with :endwhile.
20464Solution: Allow for using the :silent modifier. (closes #8737)
20465Files: src/ex_eval.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
20466 src/vim9compile.c, src/testdir/test_vim9_cmd.vim
20467
20468Patch 8.2.3325
20469Problem: Digraph test fails when LC_ALL is set to "C".
20470Solution: When restoring 'encoding' set it to "utf-8". (closes #8742)
20471Files: src/testdir/test_digraph.vim
20472
20473Patch 8.2.3326
20474Problem: Vim9: no error passing an empty list of the wrong type.
20475Solution: Use ISN_SETTYPE also for "list<any>". (closes #8732)
20476Files: src/vim9compile.c, src/testdir/test_vim9_func.vim,
20477 src/testdir/test_vim9_disassemble.vim
20478
20479Patch 8.2.3327
20480Problem: No check for sysconf() failing.
20481Solution: If sysconf() fails use SIGSTKSZ for the signal stack size.
20482 (Zdenek Dohnal, closes #8743)
20483Files: src/os_unix.c
20484
20485Patch 8.2.3328
20486Problem: Coverity error for not checking return value.
20487Solution: Check value is not negative.
20488Files: src/spellfile.c
20489
20490Patch 8.2.3329
20491Problem: v_lock not set when getting value of environment variable.
20492Solution: Set v_lock to zero.
20493Files: src/typval.c
20494
20495Patch 8.2.3330
20496Problem: Coverity reports using uninitialized field.
20497Solution: Initialize the field early.
20498Files: src/tag.c
20499
20500Patch 8.2.3331
20501Problem: Coverity warns for using value without boundary check.
20502Solution: Add a boundary check.
20503Files: src/viminfo.c
20504
20505Patch 8.2.3332
20506Problem: Vim9: cannot assign to range in list.
20507Solution: Implement overwriting a list range.
20508Files: src/vim9compile.c, src/vim9execute.c, src/list.c,
20509 src/proto/list.pro, src/eval.c, src/proto/eval.pro,
20510 src/testdir/test_listdict.vim, src/testdir/test_vim9_assign.vim
20511
20512Patch 8.2.3333
20513Problem: Vim9: not enough tests run with Vim9.
20514Solution: Run a few more tests in Vim9 script and :def function.
20515Files: src/testdir/test_listdict.vim, src/testdir/vim9.vim
20516
20517Patch 8.2.3334
20518Problem: Vim9: not enough tests run with Vim9.
20519Solution: Run a few more tests in Vim9 script and :def function. Fix
20520 islocked(). Fix error for locking local variable.
20521Files: src/evalfunc.c, src/vim9compile.c, src/testdir/test_listdict.vim
20522
20523Patch 8.2.3335
20524Problem: Vim9: not enough tests run with Vim9.
20525Solution: Run a few more tests in Vim9 script and :def function. Fix that
Bram Moolenaar1588bc82022-03-08 21:35:07 +000020526 items(), keys() and values() return zero for a NULL dict.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000020527 Make join() return an empty string for a NULL list. Make sort()
20528 return an empty list for a NULL list.
20529Files: src/dict.c, src/list.c, src/testdir/test_listdict.vim,
20530 src/testdir/vim9.vim
20531
20532Patch 8.2.3336
20533Problem: Behavior of negative index in list change changed. (Naruhiko
20534 Nishino)
20535Solution: Only change it for Vim9 script. (closes #8749)
20536Files: src/list.c, src/testdir/test_listdict.vim
20537
20538Patch 8.2.3337
20539Problem: Completing "call g:" returns entries with just "g:". (Naohiro Ono)
20540Solution: Skip empty strings returned by get_user_func_name(). (closes #8753)
20541Files: src/evalfunc.c, src/testdir/test_cmdline.vim
20542
20543Patch 8.2.3338
20544Problem: Vim9: no type check when assigning a list range. (Naohiro Ono)
20545Solution: Check the member type. (closes #8750)
20546Files: src/list.c, src/testdir/test_listdict.vim
20547
20548Patch 8.2.3339
20549Problem: Vim9: cannot lock a member in a local dict.
20550Solution: Get the local dict from the stack and pass it to get_lval().
20551Files: src/eval.c, src/vim9execute.c, src/vim9compile.c, src/vim9.h,
20552 src/globals.h, src/testdir/test_vim9_cmd.vim,
20553 src/testdir/test_vim9_disassemble.vim
20554
20555Patch 8.2.3340 (after 8.2.3339)
20556Problem: Accessing uninitialized pointer.
20557Solution: Set pointer to NULL.
20558Files: src/eval.c
20559
20560Patch 8.2.3341
20561Problem: Vim9: function call aborted despite try/catch. (Naohiro Ono)
20562Solution: Ignore error caught by try/catch. (closes #8755)
20563Files: src/evalvars.c, src/vim9execute.c, src/message.c, src/time.c,
20564 src/globals.h, src/testdir/vim9.vim, src/testdir/test_vim9_func.vim
20565
20566Patch 8.2.3342 (after 8.2.3341)
20567Problem: Test for :let errors fails.
20568Solution: Adjust the test and how to avoid a second error message.
20569Files: src/evalvars.c, src/testdir/test_let.vim
20570
20571Patch 8.2.3343 (after 8.2.3342)
20572Problem: Vim9: autoload test fails.
20573Solution: Adjust the way the second message is avoided
20574Files: src/evalvars.c
20575
20576Patch 8.2.3344 (after 8.2.3343)
20577Problem: Vimscript test fails.
20578Solution: Have test verify first error instead of second
20579Files: src/testdir/test_vimscript.vim
20580
20581Patch 8.2.3345
20582Problem: Some code not covered by tests.
20583Solution: Add a few more tests. (Dominique Pellé, closes #8757)
20584Files: src/testdir/test_arglist.vim, src/testdir/test_cmdline.vim,
20585 src/testdir/test_spellfile.vim, src/testdir/test_substitute.vim
20586
20587Patch 8.2.3346
20588Problem: Vim9: no error for using "." for concatenation after ":vim9cmd".
20589 (Naohiro Ono)
20590Solution: Check for Vim9 script syntax. (closes #8756)
20591Files: src/eval.c, src/testdir/test_vim9_cmd.vim
20592
20593Patch 8.2.3347
20594Problem: Check for legacy script is incomplete. (Naohiro Ono)
20595Solution: Also check the :legacy modifier. Use for string concatenation
20596 with "." and others (issue #8756)
20597Files: src/vim9script.c, src/proto/vim9script.pro, src/eval.c,
20598 src/typval.c, src/evalvars.c, src/errors.h, src/ex_docmd.c,
20599 src/testdir/test_vim9_cmd.vim
20600
20601Patch 8.2.3348
20602Problem: line2byte() returns wrong value after adding textprop. (Yuto
20603 Kimura)
20604Solution: Reduce the length by the size of the text property. (closes #8759)
20605Files: src/memline.c, src/testdir/test_textprop.vim
20606
20607Patch 8.2.3349 (after 8.2.3347)
20608Problem: Eval test for scriptversion fails.
20609Solution: Fix off-by-one error.
20610Files: src/vim9script.c
20611
20612Patch 8.2.3350 (after 8.2.3348)
20613Problem: Text properties test fails on MS-Windows.
20614Solution: Set fileformat to unix.
20615Files: src/testdir/test_textprop.vim
20616
20617Patch 8.2.3351
20618Problem: Vim9: using a function by name may delete it. (Naohiro Ono)
20619Solution: Increment the reference count when using a function by name.
20620 (closes #8760)
20621Files: src/evalvars.c, src/testdir/test_vim9_func.vim
20622
20623Patch 8.2.3352
20624Problem: Vim9: error for nested :enddef has wrong line number.
20625Solution: Compute the line number.
20626Files: src/userfunc.c, src/testdir/test_vim9_func.vim
20627
20628Patch 8.2.3353
20629Problem: Vim9: type of argument for negate not checked at compile time.
20630Solution: Add a compile time check.
20631Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim,
20632 src/testdir/test_vim9_script.vim,
20633 src/testdir/test_vim9_disassemble.vim
20634
20635Patch 8.2.3354
20636Problem: Build failure with +byte_offset but without +textprop. (John
20637 Marriott)
20638Solution: Adjust the #ifdef.
20639Files: src/memline.c
20640
20641Patch 8.2.3355
20642Problem: MS-Windows: compiler warning for 64-32 bit conversion.
20643Solution: Add type casts.
20644Files: src/memline.c
20645
20646Patch 8.2.3356
20647Problem: Adding many text properties requires a lot of function calls.
20648Solution: Add the prop_add_list() function. (Yegappan Lakshmanan,
20649 closes #8751)
20650Files: runtime/doc/eval.txt, runtime/doc/textprop.txt,
20651 runtime/doc/usr_41.txt, src/evalfunc.c, src/proto/textprop.pro,
20652 src/testdir/test_textprop.vim, src/testdir/test_vim9_builtin.vim,
20653 src/textprop.c
20654
20655Patch 8.2.3357
20656Problem: Crash when 'virtualedit' is set and window is narrow.
20657Solution: Check that width is not zero. (closes #8767)
20658Files: src/misc2.c, src/testdir/test_number.vim
20659
20660Patch 8.2.3358
20661Problem: Structurizr files are not recognized.
20662Solution: Recognize the file by contents. (Bastian Venthur, closes #8764)
20663Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20664
20665Patch 8.2.3359
20666Problem: Vim9: error for type when variable is not set.
20667Solution: Give a specific error for a NULL function. (closes #8773)
20668Files: src/vim9type.c, src/errors.h, src/testdir/test_vim9_func.vim
20669
20670Patch 8.2.3360
20671Problem: User function completion fails with dict function.
20672Solution: Do not stop sequencing through the list if user functions when
20673 encountering an empty name. (Naohiro Ono, closes #8765,
20674 closes #8774)
20675Files: src/evalfunc.c, src/testdir/test_cmdline.vim
20676
20677Patch 8.2.3361
20678Problem: Vim9: crash with nested :while.
20679Solution: Handle skipping better. (Naruhiko Nishino, closes #8778)
20680Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
20681
20682Patch 8.2.3362
20683Problem: Buffer overflow when completing long tag name.
20684Solution: Allocate the buffer dynamically. (Gregory Anders, closes #8769)
20685Files: src/tag.c, src/testdir/test_tagjump.vim
20686
20687Patch 8.2.3363
20688Problem: When :edit reuses the current buffer the alternate file is set to
20689 the same buffer.
20690Solution: Only set the alternate file when not reusing the buffer.
20691 (closes #8783)
20692Files: src/ex_cmds.c, src/testdir/test_undo.vim,
20693 src/testdir/test_cmdline.vim, src/testdir/test_vim9_builtin.vim,
20694 src/testdir/test_vim9_script.vim
20695
20696Patch 8.2.3364
20697Problem: Vim9: crash when :for is skipped.
20698Solution: Skip more code generation. (Naruhiko Nishino, closes #8777)
20699Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
20700
20701Patch 8.2.3365
20702Problem: Vim9: cannot use option for all operations.
20703Solution: Recognize more operations. (closes #8779)
20704Files: src/vim9compile.c, src/proto/vim9compile.pro, src/ex_docmd.c,
20705 src/testdir/test_vim9_cmd.vim
20706
20707Patch 8.2.3366
20708Problem: Vim9: debugging elseif does not stop before condition.
20709Solution: Move debug statement to after the jump. (closes #8781)
20710Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
20711
20712Patch 8.2.3367
20713Problem: Vim9: :@r executing a register is inconsistent.
20714Solution: Use "@r" as the start of an expression. (issue #8779)
20715Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
20716
20717Patch 8.2.3368
20718Problem: Not all Racket files are recognized.
20719Solution: Also recognize .rktl and .rktd files. (Doug Kearns)
20720Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20721
20722Patch 8.2.3369
20723Problem: Auto formatting after "cw" leaves cursor in wrong spot.
20724Solution: Do not auto-format after the delete. (closes #8789)
20725Files: src/ops.c, src/testdir/test_textformat.vim
20726
20727Patch 8.2.3370
20728Problem: Vim9: no check for white space before type in declaration.
20729 (Naohiro Ono)
20730Solution: Check for white space like in a compiled function. (closes #8785)
20731Files: src/eval.c, src/testdir/test_vim9_assign.vim
20732
20733Patch 8.2.3371
20734Problem: Vim9: :$ENV cannot be followed by ->func() in next line.
20735Solution: Use "$ENV" as the start of an expression. (closes #8790)
20736Files: src/ex_docmd.c, src/vim9compile.c, src/testdir/test_vim9_cmd.vim
20737
20738Patch 8.2.3372
20739Problem: line2byte() value wrong when adding a text property. (Yuto Kimura)
20740Solution: Adjust length for text property. (closes #8772) Also fix it for
20741 deleting a line.
20742Files: src/memline.c, src/testdir/test_textprop.vim
20743
20744Patch 8.2.3373 (after 8.2.3372)
20745Problem: text property test fails on MS-Windows.
20746Solution: Set fileformat to "unix"
20747Files: src/testdir/test_textprop.vim
20748
20749Patch 8.2.3374
20750Problem: Pyret files are not recognized.
20751Solution: Recognize .arr files as Pyret. (Doug Kearns)
20752Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20753
20754Patch 8.2.3375
20755Problem: Using uninitialized memory.
20756Solution: Initialize textprop_save_len.
20757Files: src/memline.c
20758
20759Patch 8.2.3376
20760Problem: Vim9: no warning that "@r" does not do anything.
20761Solution: Give a "no effect" error. (closes #8779)
20762Files: src/ex_eval.c, src/proto/ex_eval.pro, src/vim9compile.c,
20763 src/testdir/test_vim9_cmd.vim
20764
20765Patch 8.2.3377
20766Problem: Vim9: :disass completion does not understand "s:".
20767Solution: Expand "s:" to a pattern. (closes #8780)
20768Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
20769
20770Patch 8.2.3378
20771Problem: MS-Windows: completing environment variables with % is wrong.
20772Solution: Only complete environment variables with $. (Albert Liu,
20773 closes #8791)
20774Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
20775
20776Patch 8.2.3379
20777Problem: Crash when using NULL job.
20778Solution: Copy static string into buffer. (issue #8260)
20779Files: src/job.c, src/testdir/test_channel.vim
20780
20781Patch 8.2.3380
20782Problem: Crash when using NULL string for funcref().
20783Solution: Check for NULL argument. (issue #8260)
20784Files: src/evalfunc.c, src/testdir/test_expr.vim
20785
20786Patch 8.2.3381
20787Problem: Crash when using NULL list with sign functions.
20788Solution: Handle a NULL list like an empty list. (issue #8260)
20789Files: src/globals.h, src/testdir/test_signs.vim
20790
20791Patch 8.2.3382
20792Problem: Crash when getting the type of a NULL partial.
20793Solution: Check for NULL. (closes #8260)
20794Files: src/vim9type.c, src/testdir/test_vim9_builtin.vim
20795
20796Patch 8.2.3383
20797Problem: Vim9: completion for :disassemble adds parenthesis.
20798Solution: Don't add parenthesis. (Naohiro Ono, closes #8802)
20799Files: src/userfunc.c, src/testdir/test_cmdline.vim
20800
20801Patch 8.2.3384
20802Problem: Cannot disable modeline for an individual file.
20803Solution: Recognize "nomodeline" in a modeline. (Hu Jialun, closes #8798)
20804Files: runtime/doc/options.txt, src/buffer.c,
20805 src/testdir/test_modeline.vim
20806
20807Patch 8.2.3385
20808Problem: Escaping for fish shell does not work properly.
20809Solution: Insert a backslash before a backslash. (Jason Cox, closes #8810)
20810Files: runtime/doc/eval.txt, src/strings.c, src/testdir/test_shell.vim
20811
20812Patch 8.2.3386
20813Problem: Using uninitialized memory.
20814Solution: Initialize the rm_ic field. (Dominique Pellé, closes #8800)
20815Files: src/indent.c
20816
20817Patch 8.2.3387
20818Problem: Compiler warning for non-static function.
20819Solution: Make the function static. (Dominique Pellé, closes #8816)
20820Files: src/strings.c
20821
20822Patch 8.2.3388
20823Problem: fnamemodify('path/..', ':p') differs from using 'path/../'. (David
20824 Briscoe)
20825Solution: Include the "/.." in the directory name. (closes #8808)
20826Files: src/os_unix.c, src/testdir/test_fnamemodify.vim
20827
20828Patch 8.2.3389
20829Problem: Cannot stop insert mode completion without side effects.
20830Solution: Add CTRL-X CTRL-Z. (closes #8821)
20831Files: runtime/doc/index.txt, runtime/doc/insert.txt, src/insexpand.c,
20832 src/testdir/test_ins_complete.vim
20833
20834Patch 8.2.3390
20835Problem: Included xdiff code is outdated.
20836Solution: Sync with xdiff in git 2.33. (Christian Brabandt, closes #8431)
20837Files: src/diff.c, src/xdiff/README.txt, src/xdiff/xdiff.h,
20838 src/xdiff/xdiffi.c, src/xdiff/xdiffi.h, src/xdiff/xemit.c,
20839 src/xdiff/xemit.h, src/xdiff/xhistogram.c, src/xdiff/xinclude.h,
20840 src/xdiff/xmacros.h, src/xdiff/xpatience.c, src/xdiff/xprepare.h,
20841 src/xdiff/xtypes.h, src/xdiff/xutils.c, src/xdiff/xutils.h
20842
20843Patch 8.2.3391
20844Problem: Crash with combination of 'linebreak' and other options.
20845Solution: Avoid n_extra to become negative. (Christian Brabandt,
20846 closes #8817)
20847Files: src/drawline.c
20848
20849Patch 8.2.3392
20850Problem: augroup completion escapes regexp pattern characters.
20851Solution: Do not escape the augroup name. (closes #8826)
20852Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
20853
20854Patch 8.2.3393
20855Problem: Escaping for fish shell is skipping some characters.
20856Solution: Escape character after backslash if needed. (Jason Cox,
20857 closes #8827)
20858Files: src/strings.c, src/testdir/test_shell.vim
20859
20860Patch 8.2.3394
20861Problem: Filler lines are wrong when changing text in diff mode.
20862Solution: Don't change the filler lines on every change. Check
20863 scrollbinding when updating the filler lines. (closes #8809)
20864Files: src/move.c, src/diff.c, src/testdir/test_diffmode.vim,
20865 src/testdir/dumps/Test_diff_scroll_change_01.dump,
20866 src/testdir/dumps/Test_diff_scroll_change_02.dump
20867
20868Patch 8.2.3395
20869Problem: Vim9: expression breakpoint not checked in :def function.
20870Solution: Always compile a function for debugging if there is an expression
20871 breakpoint. (closes #8803)
20872Files: src/vim9execute.c, src/proto/vim9execute.pro, src/debugger.c,
20873 src/proto/debugger.pro, src/vim.h, src/vim9.h,
20874 src/testdir/test_debugger.vim
20875
20876Patch 8.2.3396
20877Problem: When libcall() fails invalid pointer may be used.
20878Solution: Initialize the string to NULL. (Yasuhiro Matsumoto, closes #8829)
20879Files: src/evalfunc.c
20880
20881Patch 8.2.3397
20882Problem: No test for what 8.2.3391 fixes.
20883Solution: Add a test. (Yegappan Lakshmanan, closes #8828)
20884Files: src/testdir/test_breakindent.vim
20885
20886Patch 8.2.3398
20887Problem: Html text objects are not fully tested.
20888Solution: Add tests for dbcs encoding and different number of backslashes.
20889 (Dominique Pellé, closes #8831)
20890Files: src/testdir/test_textobjects.vim
20891
20892Patch 8.2.3399
20893Problem: Octave files are not recognized.
20894Solution: Detect Octave files. (Doug Kearns)
20895Files: runtime/autoload/dist/ft.vim, runtime/doc/filetype.txt,
20896 runtime/filetype.vim, src/testdir/test_filetype.vim
20897
20898Patch 8.2.3400
20899Problem: ":z!" is not supported.
20900Solution: Make ":z!" work and add tests. (Dominique Pellé, closes #8836)
20901 Use display height instead of current window height.
20902Files: runtime/doc/various.txt, src/ex_cmds.h, src/ex_cmds.c,
20903 src/testdir/test_ex_z.vim
20904
20905Patch 8.2.3401
20906Problem: Vim9: cannot use a negative count with finddir() and findfile().
20907Solution: Adjust the return type. (closes #8776)
20908Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
20909
20910Patch 8.2.3402
20911Problem: Invalid memory access when using :retab with large value.
20912Solution: Check the number is positive.
20913Files: src/indent.c, src/option.c, src/optionstr.c,
20914 src/testdir/test_retab.vim
20915
20916Patch 8.2.3403 (after 8.2.3402)
20917Problem: Memory leak for :retab with invalid argument.
20918Solution: Free the memory. Make error messages consistent.
20919Files: src/indent.c
20920
20921Patch 8.2.3404
20922Problem: Vim9: no error for white space before "(".
20923Solution: Give an error, like in a compiled function.
20924Files: src/userfunc.c, src/testdir/test_vim9_func.vim
20925
20926Patch 8.2.3405
20927Problem: Cannot have a comment line in a {} block of a user command.
20928Solution: Continue after the line break. (closes #8837)
20929Files: src/ex_docmd.c, src/testdir/test_usercommands.vim
20930
20931Patch 8.2.3406
20932Problem: On some systems tests fail without _REENTRANT. (Elimar
20933 Riesebieter)
20934Solution: Add -D_REENTRANT in configure. (closes #7402)
20935Files: src/configure.ac, src/auto/configure
20936
20937Patch 8.2.3407
20938Problem: Using uninitialized memory with "let g:['bar'] = 2".
20939Solution: Initialize v_type of a new dict item.
20940Files: src/dict.c
20941
20942Patch 8.2.3408
20943Problem: Can delete a numbered function. (Naohiro Ono)
20944Solution: Disallow deleting a numbered function. (closes #8760)
20945Files: src/userfunc.c, src/testdir/test_user_func.vim
20946
20947Patch 8.2.3409
20948Problem: Reading beyond end of line with invalid utf-8 character.
20949Solution: Check for NUL when advancing.
20950Files: src/regexp_nfa.c, src/testdir/test_regexp_utf8.vim
20951
20952Patch 8.2.3410
20953Problem: Crash with linebreak, listchars and large tabstop.
20954Solution: Account for different size listchars for a tab. (closes #8841)
20955Files: src/drawline.c, src/testdir/test_listlbr_utf8.vim
20956
20957Patch 8.2.3411
20958Problem: Vim9: crash when using base name of import. (Naohiro Ono)
20959Solution: Check the import flags. (closes #8843)
20960Files: src/evalvars.c, src/errors.h, src/testdir/test_vim9_script.vim
20961
20962Patch 8.2.3412 (after 8.2.3411)
20963Problem: Vim9: importing the wrong file.
20964Solution: Correct the file name. Delete the file afterwards.
20965Files: src/testdir/test_vim9_script.vim
20966
20967Patch 8.2.3413
20968Problem: Vim9: too many characters are allowed in import name.
20969Solution: Disallow ':' and '#', check for white space. (closes #8845)
20970Files: src/vim9script.c, src/errors.h, src/testdir/test_vim9_script.vim
20971
20972Patch 8.2.3414
20973Problem: fullcommand() gives the wrong name if there is a buffer-local user
20974 command. (Naohiro Ono)
20975Solution: Use a separate function to get the user command name.
20976 (closes #8840)
20977Files: src/usercmd.c, src/proto/usercmd.pro, src/ex_docmd.c,
20978 src/testdir/test_cmdline.vim
20979
20980Patch 8.2.3415
20981Problem: Vim9: Not all function argument types are properly checked.
20982Solution: Add and improve argument type checks. (Yegappan Lakshmanan,
20983 closes #8839)
20984Files: src/channel.c, src/digraph.c, src/evalfunc.c, src/terminal.c,
20985 src/testdir/test_digraph.vim, src/testdir/test_vim9_builtin.vim
20986
20987Patch 8.2.3416
20988Problem: Second error is reported while exception is being thrown.
20989Solution: Do not check for trailing characters when already aborting.
20990 (closes #8842)
20991Files: src/userfunc.c, src/testdir/test_trycatch.vim
20992
20993Patch 8.2.3417
20994Problem: Vim9: a failing debug expression aborts script sourcing.
20995Solution: Do not let expression failure abort script sourcing. (closes #8848)
20996Files: src/debugger.c, src/testdir/test_debugger.vim
20997
20998Patch 8.2.3418
20999Problem: Garbage collection while evaluating may cause trouble.
21000Solution: Disable garbage collection while evaluating an expression.
21001 (Christian Brabandt, issue #8848)
21002Files: src/eval.c
21003
21004Patch 8.2.3419
21005Problem: A failing debug expression may make Vim unusable.
21006Solution: Suppress error messages. (closes #8848)
21007Files: src/debugger.c, src/testdir/test_debugger.vim
21008
21009Patch 8.2.3420
21010Problem: _REENTRANT defined more than once.
21011Solution: Fix configure script. (Christian Brabandt, closes #8852)
21012Files: src/configure.ac, src/auto/configure
21013
21014Patch 8.2.3421
21015Problem: A bit of code is not covered by tests.
21016Solution: Add a few more test cases. (Dominique Pellé, closes #8857)
21017Files: src/testdir/test_functions.vim, src/testdir/test_history.vim,
21018 src/testdir/test_startup.vim
21019
21020Patch 8.2.3422
21021Problem: Vim9: no failure if return type differs from returned variable.
21022Solution: Copy type when copying a list. (closes #8847)
21023Files: src/list.c, src/testdir/test_vim9_func.vim
21024
21025Patch 8.2.3423
21026Problem: Vim9: list += list creates a new list in :def function.
21027Solution: Append to the existing list.
21028Files: src/structs.h, src/vim9compile.c, src/vim9execute.c,
21029 src/testdir/test_vim9_assign.vim
21030
21031Patch 8.2.3424
21032Problem: A sequence of spaces is hard to see in list mode.
21033Solution: Add the "multispace" option to 'listchars'. (closes #8834)
21034Files: runtime/doc/options.txt, src/drawline.c, src/message.c,
21035 src/screen.c, src/structs.h, src/testdir/test_listchars.vim
21036
21037Patch 8.2.3425
21038Problem: Warning for using uninitialized variable.
21039Solution: Initialize it. (John Marriott)
21040Files: src/screen.c
21041
21042Patch 8.2.3426
21043Problem: Crash when deleting a listener in a listener callback. (Naohiro
21044 Ono)
21045Solution: Mark the listener and delete it later. (closes #8863)
21046Files: src/change.c, src/testdir/test_listener.vim
21047
21048Patch 8.2.3427
21049Problem: Double free when list is copied.
21050Solution: Allocate the type when making a copy. (closes #8862)
21051 Clear the type for flattennew(). Avoid a memory leak when
21052 flattennew() fails.
21053Files: src/list.c, src/testdir/test_vim9_builtin.vim
21054
21055Patch 8.2.3428
21056Problem: Using freed memory when replacing. (Dhiraj Mishra)
21057Solution: Get the line pointer after calling ins_copychar().
21058Files: src/normal.c, src/testdir/test_edit.vim
21059
21060Patch 8.2.3429
21061Problem: Leaking memory when assigning to list or dict.
21062Solution: Free the list or dict type before overwriting it.
21063Files: src/vim9type.c, src/evalvars.c
21064
21065Patch 8.2.3430
21066Problem: No generic way to trigger an autocommand on mode change.
21067Solution: Add the ModeChanged autocommand event. (Magnus Gross, closes #8856)
21068Files: runtime/doc/autocmd.txt, src/autocmd.c, src/edit.c,
21069 src/ex_docmd.c, src/ex_getln.c, src/globals.h, src/misc1.c,
21070 src/normal.c, src/proto/autocmd.pro, src/proto/misc1.pro,
21071 src/testdir/test_edit.vim, src/vim.h
21072
21073Patch 8.2.3431
21074Problem: Completion for :disas sorts local functions first.
21075Solution: Sort local functions last, like with :delfunc. (Naohiro Ono,
21076 closes #8860)
21077Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
21078
21079Patch 8.2.3432
21080Problem: Octave/Matlab filetype detection does not work properly.
21081Solution: Update the patterns used for matching. (Doug Kearns)
21082Files: runtime/autoload/dist/ft.vim, src/testdir/test_filetype.vim
21083
21084Patch 8.2.3433
21085Problem: :delcommand does not take a -buffer option.
21086Solution: Add the -buffer option.
21087Files: runtime/doc/map.txt, src/usercmd.c, src/errors.h,
21088 src/testdir/test_usercommands.vim
21089
21090Patch 8.2.3434 (after 8.2.3430)
21091Problem: Function prototype for trigger_modechanged() is incomplete.
21092Solution: Add "void".
21093Files: src/proto/misc1.pro
21094
21095Patch 8.2.3435
21096Problem: Vim9: dict is not passed to dict function.
21097Solution: Keep the dict used until a function call.
21098Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h,
21099 src/testdir/test_vim9_func.vim,
21100 src/testdir/test_vim9_disassemble.vim
21101
21102Patch 8.2.3436
21103Problem: Check for optional bool type has confusing return type.
21104Solution: Explicitly return OK.
21105Files: src/typval.c
21106
21107Patch 8.2.3437
21108Problem: Compiler warnings for 32/64 bit usage.
21109Solution: Add type casts. (Mike Williams, closes #8870)
21110Files: src/screen.c, src/xdiff/xemit.c, src/xdiff/xutils.c
21111
21112Patch 8.2.3438
21113Problem: Cannot manipulate blobs.
21114Solution: Add blob2list() and list2blob(). (Yegappan Lakshmanan,
21115 closes #8868)
21116Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/blob.c,
21117 src/errors.h, src/evalfunc.c, src/proto/blob.pro,
21118 src/proto/typval.pro, src/testdir/test_blob.vim,
21119 src/testdir/test_vim9_builtin.vim, src/typval.c
21120
21121Patch 8.2.3439
21122Problem: Deleted lines go to wrong yank register.
21123Solution: Reset y_append when not calling get_yank_register(). (Christian
21124 Brabandt, closes #8872)
21125Files: src/ops.c, src/proto/register.pro, src/register.c,
21126 src/testdir/test_registers.vim
21127
21128Patch 8.2.3440
21129Problem: Recover test fails if there is an old swap file.
21130Solution: Delete old swap files.
21131Files: src/testdir/test_recover.vim
21132
21133Patch 8.2.3441
21134Problem: MS-Windows: vimtutor can't handle path with spaces.
21135Solution: Add double quotes. (Christian Brabandt, closes #8871)
21136Files: vimtutor.bat
21137
21138Patch 8.2.3442
21139Problem: Vim9: || and && are not handled at compile time when possible.
21140Solution: When using constants generate fewer instructions.
21141Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
21142 src/testdir/test_vim9_disassemble.vim
21143
21144Patch 8.2.3443
21145Problem: Vim9: memory leak when and/or fails.
21146Solution: Also clear the growarray when the length is zero.
21147Files: src/vim9compile.c
21148
21149Patch 8.2.3444
21150Problem: concealed text not revealed when leaving insert mode. (Michael
21151 Soyka)
21152Solution: Check if concealing changed when leaving insert mode.
21153 (closes #8880)
21154Files: src/edit.c, src/testdir/test_conceal.vim,
21155 src/testdir/dumps/Test_conceal_two_windows_07in.dump
21156
21157Patch 8.2.3445
21158Problem: On Solaris longVersion may be declared twice. (Vladimir Marek)
21159Solution: Always declare longVersion in version.c
21160Files: src/globals.h, src/version.c
21161
21162Patch 8.2.3446
21163Problem: Not enough tests for empty string arguments.
21164Solution: Add tests, fix type check. (Yegappan Lakshmanan, closes #8881)
21165Files: runtime/doc/sign.txt, runtime/doc/textprop.txt, src/sign.c,
21166 src/testdir/test_blob.vim, src/testdir/test_vim9_builtin.vim
21167
21168Patch 8.2.3447
21169Problem: A couple of declarations are not ANSI C.
21170Solution: Put argument type inside (). (Yegappan Lakshmanan, closes #8890)
21171Files: src/os_unix.h
21172
21173Patch 8.2.3448
21174Problem: :endtry after function call that throws not found.
21175Solution: Do check for following :endtry if an exception is being thrown.
21176 (closes #8889)
21177Files: src/userfunc.c, src/testdir/test_trycatch.vim
21178
21179Patch 8.2.3449
21180Problem: Sort fails if the sort compare function returns 999.
21181Solution: Adjust value to -1 / 0 / 1. (Yasuhiro Matsumoto, closes #8884)
21182Files: src/list.c, src/testdir/test_sort.vim
21183
21184Patch 8.2.3450
21185Problem: Coveralls action fails.
21186Solution: Disable it for now.
21187Files: .github/workflows/ci.yml
21188
21189Patch 8.2.3451
21190Problem: Not all apache files are recognized.
21191Solution: Adjust the filetype pattern. (Zdenek Dohnal, closes #8882)
21192Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21193
21194Patch 8.2.3452
21195Problem: MPD files are not recognized.
21196Solution: Recognize MPD files as XML. (Steven Penny, closes #8893)
21197Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21198
21199Patch 8.2.3453
21200Problem: Autocmd not executed when editing a directory ending in a path
21201 separator inside try block.
21202Solution: Return NOTDONE instead of FAIL. (closes #8885)
21203Files: src/fileio.c, src/testdir/test_autocmd.vim
21204
21205Patch 8.2.3454
21206Problem: Using a count with "gp" leaves cursor in wrong position. (Naohiro
21207 Ono)
21208Solution: Count the inserted lines. (closes #8899)
21209Files: src/register.c, src/testdir/test_put.vim
21210
21211Patch 8.2.3455 (after 8.2.3454)
21212Problem: Using a count with "gp" leaves '] in wrong position. (Naohiro Ono)
21213Solution: Correct the mark position. (closes #8899)
21214Files: src/register.c, src/testdir/test_put.vim
21215
21216Patch 8.2.3456
21217Problem: Vim9: Not all functions are tested with an empty string argument.
21218Solution: Add tests with empty strings. (Yegappan Lakshmanan, closes #8915)
21219Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
21220
21221Patch 8.2.3457
21222Problem: MS-Windows Vim9: test executed and fails.
21223Solution: Add extra check for not being on MS-Windows.
21224Files: src/testdir/test_vim9_script.vim
21225
21226Patch 8.2.3458
21227Problem: Not all dictdconf files are recognized.
21228Solution: Adjust the pattern. (Doug Kearns)
21229Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21230
21231Patch 8.2.3459
21232Problem: Vim9: need more tests for empty string arguments.
21233Solution: Add more tests. Also use empty argument with menu_info() to get
21234 the top-level menu names. (Yegappan Lakshmanan, closes #8925)
21235Files: runtime/doc/eval.txt, src/menu.c, src/testdir/test_menu.vim,
21236 src/testdir/test_vim9_builtin.vim
21237
21238Patch 8.2.3460
21239Problem: Some type casts are not needed.
21240Solution: Remove unnecessary type casts. (closes #8934)
21241Files: src/autocmd.c, src/buffer.c, src/debugger.c, src/getchar.c,
21242 src/hardcopy.c, src/if_cscope.c, src/move.c, src/tag.c,
21243 src/version.c
21244
21245Patch 8.2.3461
21246Problem: Cannot distinguish Normal and Terminal-Normal mode.
21247Solution: Make mode() return "nt" for Terminal-Normal mode. (issue #8856)
21248Files: runtime/doc/eval.txt, src/misc1.c, src/testdir/test_functions.vim
21249
21250Patch 8.2.3462
21251Problem: The ModeChanged event only uses one character for the new_mode and
21252 old_mode values.
21253Solution: Pass one as first argument to mode(). (issue #8856)
21254Files: src/misc1.c, src/testdir/test_edit.vim
21255
21256Patch 8.2.3463
21257Problem: Pattern matching with ModeChanged not tested.
21258Solution: Add a few more test lines. (issue #8856)
21259Files: src/testdir/test_edit.vim
21260
21261Patch 8.2.3464
21262Problem: nginx files are not recognized.
21263Solution: Add several file patterns. (Chris Aumann, closes #8922)
21264Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21265
21266Patch 8.2.3465
21267Problem: Cannot detect insert scroll mode.
21268Solution: Add "scroll" to complete_info(). (closes #8943)
21269Files: runtime/doc/eval.txt, src/insexpand.c, src/testdir/test_popup.vim
21270
21271Patch 8.2.3466
21272Problem: Completion submode not indicated for virtual replace.
21273Solution: Add submode to "Rv". (closes #8945)
21274Files: runtime/doc/eval.txt, src/misc1.c, src/testdir/test_functions.vim
21275
21276Patch 8.2.3467
21277Problem: CursorHoldI event interferes with "CTRL-G U". (Naohiro Ono)
21278Solution: Restore the flag for "CTRL-G U" after triggering CursorHoldI.
21279 (closes #8937)
21280Files: src/edit.c, src/testdir/test_autocmd.vim
21281
21282Patch 8.2.3468
21283Problem: Problem with :cd when editing file in non-existent directory. (Yee
21284 Cheng Chin)
21285Solution: Prepend the current directory to get the full path. (closes #8903)
21286Files: src/os_unix.c, src/testdir/test_cd.vim
21287
21288Patch 8.2.3469
21289Problem: Some files with json syntax are not recognized.
21290Solution: Add a few file patterns. (Emiliano Ruiz Carletti, closes #8947)
21291Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21292
21293Patch 8.2.3470
21294Problem: Crash with error in :catch and also in :finally.
21295Solution: Only discard an exception if there is one. (closes #8954)
21296Files: src/ex_eval.c, src/testdir/test_trycatch.vim
21297
21298Patch 8.2.3471
21299Problem: Crash when using CTRL-T after an empty search pattern.
21300Solution: Bail out when there is no previous search pattern. (closes #8953)
21301Files: src/ex_getln.c, src/testdir/test_search.vim
21302
21303Patch 8.2.3472
21304Problem: Other crashes with empty search pattern not tested.
21305Solution: Add a few more test lines. (Dominique Pellé)
21306Files: src/testdir/test_search.vim
21307
21308Patch 8.2.3473
21309Problem: Some files with tcl syntax are not recognized.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000021310Solution: Add a few file patterns. (Doug Kearns)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000021311Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21312
21313Patch 8.2.3474
21314Problem: Some places use "Vimscript" instead of "Vim script".
21315Solution: Consistently use "Vim script". (Hirohito Higashi, closes #8910)
21316Files: runtime/doc/if_lua.txt, src/getchar.c, src/if_lua.c
21317
21318Patch 8.2.3475
21319Problem: Expression register set by not executed put command.
21320Solution: Do not set the register if the command is skipped. (closes #8909)
21321Files: src/ex_docmd.c, src/testdir/test_excmd.vim
21322
21323Patch 8.2.3476
21324Problem: Renaming a buffer on startup may cause using freed memory.
21325Solution: Check if the buffer is used in a window. (closes #8955)
21326Files: src/buffer.c, src/testdir/test_startup.vim
21327
21328Patch 8.2.3477 (after 8.2.3476)
21329Problem: Startup test fails on MS-Windows.
21330Solution: Skip the test if not on Unix.
21331Files: src/testdir/test_startup.vim
21332
21333Patch 8.2.3478 (after 8.2.3470)
21334Problem: Still crash with error in :catch and also in :finally.
21335Solution: Only call finish_exception() once. (closes #8954)
21336Files: src/ex_eval.c, src/structs.h
21337
21338Patch 8.2.3479
21339Problem: Crash when calling job_start with an invalid argument. (Virginia
21340 Senioria)
21341Solution: Clear the first item in argv. (closes #8957)
21342Files: src/misc2.c, src/testdir/test_channel.vim
21343
21344Patch 8.2.3480 (after 8.2.3478)
21345Problem: Test does not fail without the fix for a crash.
21346Solution: Write the bad code in a file and source it. (Dominique Pellé,
21347 closes #8961)
21348Files: src/testdir/test_trycatch.vim
21349
21350Patch 8.2.3481
21351Problem: Failures when char is unsigned.
21352Solution: Use int8_T. Make a CI run with unsigned char. (James McCoy,
21353 closes #8936)
21354Files: src/structs.h, .github/workflows/ci.yml
21355
21356Patch 8.2.3482
21357Problem: Reading beyond end of line ending in quote and backslash.
21358Solution: Check for non-NUL after backslash. (closes #8964)
21359Files: src/cindent.c, src/testdir/test_cindent.vim
21360
21361Patch 8.2.3483
21362Problem: #ifdef for using sysinfo() is incomplete.
21363Solution: Also check for HAVE_SYSINFO. Make autoconf check use TRY_LINK.
21364 (closes #8952)
21365Files: src/memline.c, src/configure.ac, src/auto/configure
21366
21367Patch 8.2.3484
21368Problem: Crash when going through spell suggestions.
21369Solution: Limit the text length for finding suggestions to the original
21370 length. Do not update buffers when exiting. (closes #8965)
21371Files: src/spellsuggest.c, src/clipboard.c,
21372 src/testdir/test_spell_utf8.vim
21373
21374Patch 8.2.3485
21375Problem: Python 3 test fails with Python 3.10.
21376Solution: Adjust expected error message. (zdohnal Dohnal, closes #8969)
21377Files: src/testdir/test_python3.vim
21378
21379Patch 8.2.3486
21380Problem: Illegal memory access with invalid sequence of commands.
21381Solution: Do not call leave_block() when not in a try block. (closes #8966)
21382 Reset did_emsg so that exception is shown as an error.
21383Files: src/ex_eval.c, src/testdir/test_trycatch.vim
21384
21385Patch 8.2.3487
21386Problem: Illegal memory access if buffer name is very long.
21387Solution: Make sure not to go over the end of the buffer.
21388Files: src/drawscreen.c, src/testdir/test_statusline.vim
21389
21390Patch 8.2.3488
21391Problem: Issue template is not easy to use.
21392Solution: Use a yaml template. (closes #8928)
21393Files: .github/ISSUE_TEMPLATE/bug_report.md,
21394 .github/ISSUE_TEMPLATE/bug_report.yml
21395
21396Patch 8.2.3489
21397Problem: ml_get error after search with range.
21398Solution: Limit the line number to the buffer line count.
21399Files: src/ex_docmd.c, src/testdir/test_search.vim
21400
21401Patch 8.2.3490
21402Problem: Superfluous return statements.
21403Solution: Remove superfluous return statements from void functions.
21404 (closes #8977)
21405Files: src/buffer.c, src/getchar.c, src/memline.c, src/move.c,
21406 src/option.c
21407
21408Patch 8.2.3491
Bram Moolenaar1588bc82022-03-08 21:35:07 +000021409Problem: xpm2 filetype detection is not so good.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000021410Solution: Adjust the check for xpm2. (closes #8914)
21411Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21412
21413Patch 8.2.3492
21414Problem: Crash when pasting too many times.
21415Solution: Limit the size to what fits in an int. (closes #8962)
21416Files: src/register.c, src/errors.h, src/testdir/test_put.vim
21417
21418Patch 8.2.3493 (after 8.2.3492)
21419Problem: Large count test fails on MS-Windows.
21420Solution: Skip the test on MS-Windows.
21421Files: src/testdir/test_put.vim
21422
21423Patch 8.2.3494
21424Problem: Illegal memory access in utf_head_off.
21425Solution: Check cursor position when reselecting the Visual area.
21426 (closes #8963)
21427Files: src/normal.c, src/testdir/test_visual.vim
21428
21429Patch 8.2.3495
21430Problem: GUI geometry startup test fails on some systems. (Drew Vogel)
21431Solution: Add tolerance to the size check. (closes #8815)
21432Files: src/testdir/test_startup.vim
21433
21434Patch 8.2.3496
21435Problem: Crypt test fails on MS-Windows if xxd was not installed yet.
21436Solution: Use the just built xxd executable if it exists. (James McCoy,
21437 closes #8929)
21438Files: src/testdir/test_crypt.vim
21439
21440Patch 8.2.3497
21441Problem: Put test fails when run by itself.
21442Solution: Source check.vim. (Dominique Pellé, closes #8990)
21443Files: src/testdir/test_put.vim
21444
21445Patch 8.2.3498
21446Problem: Recover test may fail on some systems.
21447Solution: Adjust the little endian and 64 bit detection. (James McCoy,
21448 closes #8941)
21449Files: src/testdir/test_recover.vim
21450
21451Patch 8.2.3499
21452Problem: GUI geometry startup test fails.
21453Solution: Check string values instead of numbers
21454Files: src/testdir/test_startup.vim
21455
21456Patch 8.2.3500
21457Problem: Github CI fails to install clang.
21458Solution: Install llvm-11 explicitly. (Christian Brabandt, closes #8993)
21459Files: .github/workflows/ci.yml
21460
21461Patch 8.2.3501
Bram Moolenaar1588bc82022-03-08 21:35:07 +000021462Problem: tmux filetype detection is incomplete
Bram Moolenaarc51cf032022-02-26 12:25:45 +000021463Solution: Also use tmux for files having text after .conf. (Eric Pruitt,
21464 closes #8971)
21465Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21466
21467Patch 8.2.3502 (after 8.2.2919)
21468Problem: Cannot enter password in shell command.
21469Solution: Revert patch 8.2.2919.
21470Files: src/os_unix.c
21471
21472Patch 8.2.3503
21473Problem: Vim9: using g:pat:cmd is confusing.
21474Solution: Do not recognize g: as the :global command. Also for s:pat:repl.
21475 (closes #8982)
21476Files: runtime/doc/vim9.txt, src/ex_docmd.c, src/ex_cmds.c, src/errors.h,
21477 src/vim9compile.c, src/proto/vim9compile.pro,
21478 src/testdir/test_vim9_cmd.vim
21479
21480Patch 8.2.3504 (after 8.2.3503)
21481Problem: Vim9: warning for signed vs unsigned.
21482Solution: Add type cast.
21483Files: src/vim9compile.c
21484
21485Patch 8.2.3505 (after 8.2.3503)
21486Problem: Vim9: build failure without the +eval feature.
21487Solution: Add #ifdef.
21488Files: src/ex_cmds.c
21489
21490Patch 8.2.3506 (after 8.2.3503)
21491Problem: Vim9: special cases for "g" and "s" insufficiently tested.
21492Solution: Add a few more test cases.
21493Files: src/testdir/test_vim9_cmd.vim
21494
21495Patch 8.2.3507
21496Problem: Generating proto files may fail.
21497Solution: Define __attribute().
21498Files: src/Makefile
21499
21500Patch 8.2.3508 (after 8.2.3503)
21501Problem: Vim9: bad separators for "g" and "s" insufficiently tested.
21502Solution: Add a few more test cases.
21503Files: src/testdir/test_vim9_cmd.vim
21504
21505Patch 8.2.3509
21506Problem: Undo file is not synced. (Sami Farin)
21507Solution: Sync the undo file if 'fsync' is set. (Christian Brabandt,
21508 closes #8879, closes #8920)
21509Files: runtime/doc/options.txt, src/undo.c
21510
21511Patch 8.2.3510
21512Problem: Changes are only detected with one second accuracy.
21513Solution: Use the nanosecond time if possible. (Leah Neukirchen,
21514 closes #8873, closes #8875)
21515Files: runtime/doc/eval.txt, src/auto/configure, src/bufwrite.c,
21516 src/config.h.in, src/configure.ac, src/fileio.c,
21517 src/proto/fileio.pro, src/memline.c, src/netbeans.c,
21518 src/structs.h, src/evalfunc.c, src/testdir/test_stat.vim
21519
21520Patch 8.2.3511
21521Problem: Vim9: entry for loop variable is created every round.
21522Solution: Only create the entry once. (closes #8996)
21523Files: src/evalvars.c, src/vim9script.c
21524
21525Patch 8.2.3512
21526Problem: Timestamp test fails on some systems.
21527Solution: Sleep for a short while.
21528Files: src/testdir/test_stat.vim
21529
21530Patch 8.2.3513
21531Problem: Using freed memory when using a timer and searching. (Dominique
21532 Pellé)
21533Solution: Allocated mr_pattern.
21534Files: src/search.c
21535
21536Patch 8.2.3514
Bram Moolenaar1588bc82022-03-08 21:35:07 +000021537Problem: Autoread test with nanosecond time sometimes fails.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000021538Solution: Mark the test as being flaky.
21539Files: src/testdir/test_stat.vim
21540
21541Patch 8.2.3515
21542Problem: Nano time test fails on Mac and FreeBSD.
21543Solution: Also check nano time when not on Linux. (Ozaki Kiichi,
21544 closes #9000)
21545Files: src/fileio.c
21546
21547Patch 8.2.3516
21548Problem: Terminal window does not have transparent background when
21549 'termguicolors' is used.
21550Solution: Fix the background color. (closes #2361, closes #9002)
21551Files: runtime/doc/terminal.txt, src/highlight.c, src/proto/terminal.pro,
21552 src/terminal.c
21553
21554Patch 8.2.3517
21555Problem: TextChanged does not trigger after TextChangedI.
21556Solution: Store the tick separately for TextChangedI. (Christian Brabandt,
21557 closes #8968, closes #8932)
21558Files: src/buffer.c, src/bufwrite.c, src/edit.c, src/structs.h,
21559 src/testdir/test_autocmd.vim
21560
21561Patch 8.2.3518
21562Problem: Test_xrestore sometimes fails.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000021563Solution: Mark the test as flaky. Move marking test as flaky to the test
Bram Moolenaarc51cf032022-02-26 12:25:45 +000021564 instead of listing them in runtest.
21565Files: src/testdir/test_paste.vim, src/testdir/runtest.vim,
21566 src/testdir/test_autocmd.vim, src/testdir/test_channel.vim,
21567 src/testdir/test_clientserver.vim, src/testdir/test_diffmode.vim,
21568 src/testdir/test_functions.vim, src/testdir/test_gui.vim,
21569 src/testdir/test_mapping.vim, src/testdir/test_popup.vim,
21570 src/testdir/test_quotestar.vim, src/testdir/test_reltime.vim,
21571 src/testdir/test_terminal.vim, src/testdir/test_terminal2.vim,
21572 src/testdir/test_timers.vim
21573
21574Patch 8.2.3519
21575Problem: TOML files are not recognized.
21576Solution: Add filetype patterns for TOML. (Aman Verma, closes #8984)
21577Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21578
21579Patch 8.2.3520
21580Problem: Cannot define a function for thesaurus completion.
21581Solution: Add 'thesaurusfunc'. (Yegappan Lakshmanan, closes #8987,
21582 closes 8950)
21583Files: runtime/doc/insert.txt, runtime/doc/options.txt,
21584 runtime/doc/quickref.txt, src/buffer.c, src/insexpand.c,
21585 src/option.c, src/option.h, src/optiondefs.h, src/optionstr.c,
21586 src/structs.h, src/testdir/test_edit.vim
21587
21588Patch 8.2.3521 (after 8.2.3520)
21589Problem: Options completion test fails.
21590Solution: Add 'thesaurusfunc' to the results.
21591Files: src/testdir/test_options.vim
21592
21593Patch 8.2.3522
21594Problem: Cannot use \x and \u when setting 'listchars'.
21595Solution: Support hex and unicode in hex form. (closes #9006)
21596Files: runtime/doc/options.txt, src/screen.c, src/charset.c,
21597 src/testdir/test_listchars.vim
21598
21599Patch 8.2.3523
21600Problem: Duplicated code in xxd.
21601Solution: Remove duplicated lines. (closes #8972)
21602Files: src/xxd/xxd.c
21603
21604Patch 8.2.3524
21605Problem: GUI: ligatures are not used.
21606Solution: Add the 'guiligatures' option. (Dusan Popovic, closes #8933)
21607Files: runtime/doc/options.txt, src/gui.c, src/gui.h, src/gui_gtk_x11.c,
21608 src/option.h, src/optiondefs.h, src/optionstr.c, src/errors.h,
21609 src/proto/gui.pro, src/proto/gui_gtk_x11.pro,
21610 src/testdir/test_gui.vim
21611
21612Patch 8.2.3525
21613Problem: Option variable name does not match option name. (Christ van
21614 Willigen)
21615Solution: Rename the variable.
21616Files: src/buffer.c, src/insexpand.c, src/option.c, src/optionstr.c,
21617 src/structs.h
21618
21619Patch 8.2.3526
21620Problem: Tests have clumsy check for X11 based GUI.
21621Solution: Add CheckX11BasedGui.
21622Files: src/testdir/check.vim, src/testdir/test_gui.vim,
21623 src/testdir/test_gui_init.vim, src/testdir/setup_gui.vim
21624
21625Patch 8.2.3527
21626Problem: Gcc complains about uninitialized variable. (Tony Mechelynck)
21627Solution: Initialize it.
21628Files: src/gui_gtk_x11.c
21629
21630Patch 8.2.3528
21631Problem: 'thesaurus' and 'thesaurusfunc' do not have the same scope.
21632Solution: Make 'thesaurusfunc' global-local.
21633Files: runtime/doc/options.txt, runtime/doc/insert.txt,
21634 src/optiondefs.h, src/option.h, src/option.c, src/structs.h,
21635 src/insexpand.c, src/testdir/test_edit.vim
21636
21637Patch 8.2.3529
21638Problem: Xxd usage output is incomplete.
21639Solution: Add "bytes" to "-g" flag. (Atsushi Sugawara, closes #8944)
21640Files: src/xxd/xxd.c
21641
21642Patch 8.2.3530
21643Problem: ":buf \{a}" fails while ":edit \{a}" works.
21644Solution: Unescape "\{". (closes #8917)
21645Files: src/vim.h, src/cmdexpand.c, src/evalfunc.c, src/ex_getln.c,
21646 src/proto/ex_getln.pro, src/normal.c, src/session.c,
21647 src/terminal.c, src/vim9execute.c, src/testdir/test_cmdline.vim
21648
21649Patch 8.2.3531 (after 8.2.3530)
21650Problem: Command line completion test fails on MS-Windows.
21651Solution: Do not test with "\{" on MS-Windows.
21652Files: src/testdir/test_cmdline.vim
21653
21654Patch 8.2.3532
21655Problem: The previous '' mark is restored after moving the cursor to the
21656 original jump position. (Tony Chen)
21657Solution: Forget the previous position after checking. (closes #8985)
21658Files: src/mark.c, src/testdir/test_marks.vim
21659
21660Patch 8.2.3533
21661Problem: Inefficient code in xxd.
21662Solution: Don't use "p" when "hextype" is non-zero. (closes #9013)
21663Files: src/xxd/xxd.c
21664
21665Patch 8.2.3534
21666Problem: Autoread test is a bit flaky.
21667Solution: Wait a brief moment before overwriting the file.
21668Files: src/testdir/test_stat.vim
21669
21670Patch 8.2.3535
21671Problem: If-else indenting is confusing.
21672Solution: Add curly brackets and indent. (Dominique Pellé, closes #9010)
21673Files: src/drawscreen.c
21674
21675Patch 8.2.3536
21676Problem: The do_highlight() function is way too long.
21677Solution: Split it into several functions. (Yegappan Lakshmanan,
21678 closes #9011)
21679Files: src/highlight.c
21680
21681Patch 8.2.3537
21682Problem: mode() does not return the right value in 'operatorfunc'.
21683Solution: Reset finish_op while calling 'operatorfunc'.
21684Files: src/ops.c, src/testdir/test_functions.vim
21685
21686Patch 8.2.3538
21687Problem: Else-if indenting is confusing.
21688Solution: Add curly brackets. (Yegappan Lakshmanan, closes #9017)
21689Files: src/highlight.c
21690
21691Patch 8.2.3539
21692Problem: GTK3: with 'rightleft' set scrollbar may move unintentionally.
21693Solution: Ignore events while moving the scrollbar thumb. (closes #8958)
21694Files: src/gui_gtk.c
21695
21696Patch 8.2.3540
21697Problem: The mark '] is wrong after put with a count. (Naohiro Ono)
21698Solution: Use the right line number. (closes #8956)
21699Files: src/register.c, src/testdir/test_put.vim
21700
21701Patch 8.2.3541
21702Problem: Compiler warning for unused variable in tiny version.
21703Solution: Add #ifdef. (John Marriott)
21704Files: src/highlight.c
21705
21706Patch 8.2.3542
21707Problem: Too many comments are old style.
21708Solution: Change comments to // style. (closes #9021)
21709Files: src/buffer.c
21710
21711Patch 8.2.3543
21712Problem: Swapname has double slash when 'directory' ends in double slash.
21713 (Shane Smith)
21714Solution: Remove the superfluous slash. (closes #8876)
21715Files: src/memline.c, src/testdir/test_swap.vim
21716
21717Patch 8.2.3544
21718Problem: Unix: may leak file descriptor when using a non-existing
21719 directory.
21720Solution: Always close the file. (closes #9023)
21721Files: src/os_unix.c
21722
21723Patch 8.2.3545
21724Problem: setcellwidths() may make 'listchars' or 'fillchars' invalid.
21725Solution: Check the value and give an error. (closes #9024)
21726Files: runtime/doc/eval.txt, src/optionstr.c, src/errors.h, src/mbyte.c,
21727 src/testdir/test_utf8.vim
21728
21729Patch 8.2.3546 (after 8.2.3545)
21730Problem: Build failure without the +eval feature.
21731Solution: Add #ifdef. (closes #9025)
21732Files: src/errors.h
21733
21734Patch 8.2.3547
21735Problem: Opening the quickfix window triggers BufWinEnter twice. (Yorick
21736 Peterse)
21737Solution: Only trigger BufWinEnter with "quickfix". (closes #9022)
21738Files: src/ex_cmds.c, src/vim.h, src/quickfix.c, src/buffer.c,
21739 src/testdir/test_quickfix.vim
21740
21741Patch 8.2.3548
Bram Moolenaar1588bc82022-03-08 21:35:07 +000021742Problem: GTK GUI crashes when reading from stdin.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000021743Solution: Do not overwrite the NUL after the string. (closes #9028)
21744Files: src/gui_gtk_x11.c, src/testdir/test_gui.vim
21745
21746Patch 8.2.3549
21747Problem: Mistakes in test comments.
21748Solution: Fix the comments. (closes #9029)
21749Files: src/testdir/test_autocmd.vim
21750
21751Patch 8.2.3550
21752Problem: completion() does not work properly.
21753Solution: Set xp_line and add WILD_HOME_REPLACE. (Shougo Matsushita,
21754 closes #9016)
21755Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
21756
21757Patch 8.2.3551
21758Problem: Checking first character of url twice.
21759Solution: Only check once. (closes #9026)
21760Files: src/misc1.c
21761
21762Patch 8.2.3552
21763Problem: Xxd revert does not handle end of line correctly.
21764Solution: Check for newline first. (closes #9034)
21765Files: src/xxd/xxd.c, src/testdir/test_xxd.vim
21766
21767Patch 8.2.3553 (after 8.2.3552)
21768Problem: Xxd test fails on MS-Windows.
21769Solution: Split shell command in two.
21770Files: src/testdir/test_xxd.vim
21771
21772Patch 8.2.3554
21773Problem: Xxd has various way to exit.
21774Solution: Add function to print error and exit. (closes #9035)
21775Files: src/xxd/xxd.c
21776
21777Patch 8.2.3555
21778Problem: ModeChanged is not triggered on every mode change.
21779Solution: Also trigger on minor mode changes. (Maguns Gross, closes #8999)
21780Files: runtime/doc/autocmd.txt, src/autocmd.c, src/insexpand.c,
21781 src/misc1.c, src/normal.c, src/terminal.c,
21782 src/testdir/test_edit.vim
21783
21784Patch 8.2.3556
21785Problem: Filler lines are incorrect for other window in diff mode after
21786 making a change.
21787Solution: Copy filler lines from the current window. (closes #8809)
21788Files: src/diff.c, src/testdir/test_diffmode.vim,
21789 src/testdir/dumps/Test_diff_scroll_change_03.dump
21790
21791Patch 8.2.3557
21792Problem: Vim9: cannot call imported funcref at script level.
21793Solution: Check for an imported function. (closes #9007)
21794Files: src/userfunc.c, src/testdir/test_vim9_script.vim
21795
21796Patch 8.2.3558 (after 8.2.3557)
21797Problem: Vim9: asserting the wrong variable.
21798Solution: Don't use Foo, use Goo.
21799Files: src/testdir/test_vim9_script.vim
21800
21801Patch 8.2.3559
21802Problem: Loop variable recreated every time.
21803Solution: Keep the loop variable when looping.
21804Files: src/ex_eval.c
21805
21806Patch 8.2.3560
21807Problem: Using freed memory with lambda.
21808Solution: Do not free lines early, keep them until the expression is
21809 finished. (closes #9020)
21810Files: src/eval.c, src/proto/eval.pro, src/userfunc.c, src/vim9compile.c,
21811 src/structs.h, src/globals.h, src/testdir/test_vim9_func.vim
21812
21813Patch 8.2.3561
21814Problem: Cscope has a complicated way of giving an error message.
21815Solution: Use semsg(). (James McCoy, closes #9038)
21816Files: src/if_cscope.c
21817
21818Patch 8.2.3562
21819Problem: Cannot add color names.
21820Solution: Add the v:colornames dictionary. (Drew Vogel, closes #8761)
21821Files: Filelist, READMEdir/README_extra.txt, nsis/gvim.nsi,
21822 runtime/colors/README.txt, runtime/colors/lists/csscolors.vim,
21823 runtime/colors/lists/default.vim, runtime/doc/eval.txt,
21824 runtime/doc/gui_w32.txt, runtime/doc/message.txt,
21825 runtime/doc/os_haiku.txt, runtime/doc/syntax.txt,
21826 runtime/doc/usr_06.txt, src/Makefile, src/evalvars.c,
21827 src/gui_haiku.cc, src/highlight.c, src/gui.c, src/job.c,
21828 src/proto/highlight.pro, src/proto/term.pro, src/term.c,
21829 src/vim.h, src/globals.h, src/errors.h,
21830 src/testdir/test_highlight.vim
21831
21832Patch 8.2.3563 (after 8.2.3562)
21833Problem: Build failure with +eval but without GUI or +termguicolors
21834Solution: Adjust #ifdef. (John Marriott)
21835Files: src/highlight.c
21836
21837Patch 8.2.3564
21838Problem: Invalid memory access when scrolling without a valid screen.
21839Solution: Do not set VALID_BOTLINE in w_valid.
21840Files: src/move.c, src/testdir/test_normal.vim
21841
21842Patch 8.2.3565
21843Problem: Makefile dependencies are outdated. (Gary Johnson)
21844Solution: Run "make depend" and add missing dependencies.
21845Files: src/Makefile
21846
21847Patch 8.2.3566
21848Problem: Build failure on old systems when using nano timestamp.
21849Solution: Define _BSD_SOURCE, _SVID_SOURCE and _DEFAULT_SOURCE. (Gary
21850 Johnson, closes #9054)
21851Files: src/vim.h
21852
21853Patch 8.2.3567
21854Problem: CTRL-I in Insert mode is not tested
21855Solution: Add a test case. (Dominique Pellé, closes #8866)
21856Files: src/testdir/test_edit.vim
21857
21858Patch 8.2.3568
21859Problem: Ctrl-hat test fails with Athena and Motif. (Elimar Riesebieter)
21860Solution: Run the test only with GTK. (Dominique Pellé, closes #9069)
21861Files: src/testdir/test_edit.vim
21862
21863Patch 8.2.3569
21864Problem: Error for :let when vimrc is Vim 9 script.
21865Solution: Prepend :legacy in the code for converting arguments. (Christian
21866 Brabandt, closes #9068, closes #9077)
21867Files: src/os_win32.c
21868
21869Patch 8.2.3570
21870Problem: Test_very_large_count fails on 32bit systems.
21871Solution: Bail out when using 32 bit numbers. (closes #9072)
21872Files: src/testdir/test_put.vim
21873
21874Patch 8.2.3571
21875Problem: Some unicode control characters are considered printable.
21876Solution: Make 0x2060 - 0x2069 not printable.
21877Files: src/mbyte.c
21878
21879Patch 8.2.3572
21880Problem: Memory leak when closing window and using "multispace" in
21881 'listchars'.
21882Solution: Free the memory. (closes #9071)
21883Files: src/window.c, src/testdir/test_listchars.vim
21884
21885Patch 8.2.3573
21886Problem: Cannot decide whether to skip test that fails with 64 bit ints.
21887 (closes #9072)
21888Solution: Add v:sizeofint, v:sizeoflong and v:sizeofpointer. Improve the
21889 check for multiply overflow.
21890Files: runtime/doc/eval.txt, src/vim.h, src/evalvars.c, src/register.c,
21891 src/testdir/test_put.vim
21892
21893Patch 8.2.3574 (after 8.2.3573)
21894Problem: Divide by zero.
21895Solution: Don't check for overflow if multiplicand is zero.
21896Files: src/register.c
21897
21898Patch 8.2.3575 (after 8.2.3574)
21899Problem: Overflow check still fails when sizeof(int) == sizeof(long).
21900Solution: Use a float to check the result.
21901Files: src/register.c
21902
21903Patch 8.2.3576
21904Problem: Some functions are not documented for use with a method.
21905Solution: Add examples. Fix that sign_unplacelist() only takes one
21906 argument. (Sean Dewar, closes #9081)
21907Files: src/evalfunc.c, runtime/doc/eval.txt
21908
21909Patch 8.2.3577 (after 8.2.3574)
21910Problem: Overflow check fails with 32 bit ints.
21911Solution: Only test with 64 bit ints.
21912Files: src/testdir/test_put.vim
21913
21914Patch 8.2.3578
21915Problem: Manipulating highlighting is complicated.
21916Solution: Add the hlget() and hlset() functions. (Yegappan Lakshmanan,
21917 closes #9039)
21918Files: runtime/doc/eval.txt, runtime/doc/syntax.txt,
21919 runtime/doc/usr_41.txt, runtime/doc/windows.txt, src/evalfunc.c,
21920 src/highlight.c, src/proto/highlight.pro,
21921 src/testdir/test_highlight.vim, src/testdir/test_vim9_builtin.vim
21922
21923Patch 8.2.3579
21924Problem: CI sometimes fails for MinGW.
21925Solution: Use backslashes in HandleSwapExists(). (Christian Brabandt,
21926 closes #9078)
21927Files: src/testdir/runtest.vim
21928
21929Patch 8.2.3580
21930Problem: gj does not move properly with a wide character.
21931Solution: Move one to the right. (Christian Brabandt, closes #8702)
21932Files: src/normal.c, src/testdir/test_normal.vim
21933
21934Patch 8.2.3581
21935Problem: Reading character past end of line.
21936Solution: Correct the cursor column.
21937Files: src/ex_docmd.c, src/testdir/test_put.vim
21938
21939Patch 8.2.3582
21940Problem: Reading uninitialized memory when giving spell suggestions.
21941Solution: Check that preword is not empty.
21942Files: src/spellsuggest.c, src/testdir/test_spell.vim
21943
21944Patch 8.2.3583
21945Problem: The "gd" and "gD" commands do not update search stats. (Gary
21946 Johnson)
21947Solution: Clear search stats.
21948Files: src/normal.c, src/testdir/test_search_stat.vim,
21949 src/testdir/dumps/Test_searchstatgd_1.dump,
21950 src/testdir/dumps/Test_searchstatgd_2.dump
21951
21952Patch 8.2.3584
21953Problem: "verbose set efm" reports the location of the :compiler command.
21954 (Gary Johnson)
21955Solution: Add the "-keepscript" argument to :command and use it when
21956 defining CompilerSet.
21957Files: runtime/doc/map.txt, src/ex_cmds2.c, src/usercmd.c, src/ex_cmds.h,
21958 src/testdir/test_compiler.vim
21959
21960Patch 8.2.3585
21961Problem: Crash when passing float to "term_rows" in the options argument of
21962 term_start(). (Virginia Senioria)
21963Solution: Bail out if the argument is not a number. (closes #9116)
21964Files: src/job.c, src/terminal.c, src/testdir/test_terminal.vim
21965
21966Patch 8.2.3586 (after 8.2.3584)
21967Problem: Command completion test fails.
21968Solution: Add new argument to expected output
21969Files: src/testdir/test_usercommands.vim
21970
21971Patch 8.2.3587 (after 8.2.3584)
21972Problem: Compiler test fails with backslash file separator.
21973Solution: Accept slash and backslash.
21974Files: src/testdir/test_compiler.vim
21975
21976Patch 8.2.3588
21977Problem: Break statement is never reached.
21978Solution: Rely on return value of set_chars_option() not changing.
21979 (closes #9103)
21980Files: src/optionstr.c
21981
21982Patch 8.2.3589
21983Problem: Failure when the "term_rows" argument of term_start() is an
21984 unusual value.
21985Solution: Limit to range of zero to 1000. (closes #9116)
21986Files: runtime/doc/terminal.txt, src/job.c, src/testdir/test_terminal.vim
21987
21988Patch 8.2.3590
21989Problem: Test for v:colornames sometimes fails. (Dominique Pellé)
21990Solution: Check features. Clear v:colornames between tests. (Drew Vogel,
21991 closes #9105, closes #9073)
21992Files: runtime/doc/eval.txt, src/highlight.c, src/proto/highlight.pro,
21993 src/testdir/test_highlight.vim
21994
21995Patch 8.2.3591
21996Problem: No event is triggered when closing a window.
21997Solution: Add the WinClosed event. (Naohiro Ono, closes #9110)
21998Files: runtime/doc/autocmd.txt, src/autocmd.c,
21999 src/testdir/test_autocmd.vim, src/vim.h, src/window.c
22000
22001Patch 8.2.3592
22002Problem: Test_hlset fails when terminal has many columns.
22003Solution: Set the number of columns to 80. (Dominique Pellé, closes #9101,
22004 closes #9100)
22005Files: src/testdir/test_highlight.vim
22006
22007Patch 8.2.3593
22008Problem: Directory is wrong after executing "lcd" with win_execute().
22009Solution: Correct the directory when going back to the original window.
22010 (closes #9132)
22011Files: src/evalwindow.c, src/window.c, src/proto/window.pro,
22012 src/testdir/test_execute_func.vim
22013
22014Patch 8.2.3594
22015Problem: Xxd code is a bit difficult to understand.
22016Solution: Move some lines to a separate function. (closes #9037)
22017Files: src/xxd/xxd.c
22018
22019Patch 8.2.3595
22020Problem: Check for signed overflow might not work everywhere.
22021Solution: Limit to 32 bit int. (closes #9043, closes #9067)
22022Files: src/getchar.c
22023
22024Patch 8.2.3596
22025Problem: Crash when using :pedit in Vim9 script.
22026Solution: Move check for arguments to after checking there are arguments.
22027 (Yegappan Lakshmanan, closes #9134, closes #9135)
22028Files: src/popupwin.c, src/testdir/test_vim9_cmd.vim
22029
22030Patch 8.2.3597
22031Problem: Vim seems to hang when writing a very long text to a terminal
22032 window.
22033Solution: Limit the amount of text based on 'termwinscroll'. (issue #9080)
22034Files: runtime/doc/options.txt, src/terminal.c
22035
22036Patch 8.2.3598
22037Problem: RouterOS filetype is not recognized.
22038Solution: Add file and script patterns. (closes #9097)
22039Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22040
22041Patch 8.2.3599
22042Problem: Not all gdbinit files are recognized.
22043Solution: Add "gdbinit". (Doug Kearns)
22044Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22045
22046Patch 8.2.3600 (after 8.2.3598)
22047Problem: Filetype test fails.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000022048Solution: Add missing change.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000022049Files: runtime/scripts.vim
22050
22051Patch 8.2.3601
22052Problem: Check for overflow in put count does not work well.
22053Solution: Improve the overflow check. (Ozaki Kiichi, closes #9102)
22054Files: src/register.c, src/testdir/test_put.vim
22055
22056Patch 8.2.3602
22057Problem: Python3 test fails with Python 3.10 on MS-Windows.
22058Solution: Adjust the expected error. (Ken Takata, closes #9118)
22059Files: src/testdir/test_python3.vim
22060
22061Patch 8.2.3603
22062Problem: Fish filetype not recognized.
22063Solution: Add a file pattern and match script line. (Doug Kearns)
22064Files: runtime/filetype.vim, runtime/scripts.vim,
22065 src/testdir/test_filetype.vim
22066
22067Patch 8.2.3604
22068Problem: Not all sudoers files are recognized.
22069Solution: Add a file pattern. (Doug Kearns, closes #1192)
22070Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22071
22072Patch 8.2.3605
22073Problem: Cannot clear and unlink a highlight group with hlset() in a
22074 single call.
22075Solution: Add the "force" option. (Yegappan Lakshmanan, closes #9117)
22076Files: runtime/doc/eval.txt, src/highlight.c,
22077 src/testdir/test_highlight.vim, src/testdir/test_vim9_builtin.vim,
22078 src/testdir/test_vim9_cmd.vim
22079
22080Patch 8.2.3606
22081Problem: File missing from list of distributed files.
22082Solution: Add the file.
22083Files: Filelist
22084
22085Patch 8.2.3607
22086Problem: GTK3 screen updating is slow.
22087Solution: Remove some of the GTK3-specific code. (closes #9052)
22088Files: src/gui.h, src/gui_gtk_x11.c
22089
22090Patch 8.2.3608
22091Problem: Users who type "q:" instead of ":q" are confused.
22092Solution: Add an autocmd to give a message that explains this is the
22093 command-line window. (Egor Zvorykin, closes #9146)
22094Files: runtime/defaults.vim, src/testdir/test_autocmd.vim,
22095 src/testdir/test_cmdline.vim
22096
22097Patch 8.2.3609
22098Problem: Internal error when ModeChanged is triggered when v:event is
22099 already in use.
22100Solution: Save and restore v:event if needed.
22101Files: src/misc1.c, src/proto/misc1.pro, src/testdir/test_edit.vim,
22102 src/insexpand.c, src/structs.h, src/register.c
22103
22104Patch 8.2.3610
22105Problem: Crash when ModeChanged triggered too early.
22106Solution: Trigger ModeChanged after setting VIsual.
22107Files: src/normal.c, src/testdir/test_edit.vim
22108
22109Patch 8.2.3611
22110Problem: Crash when using CTRL-W f without finding a file name.
22111Solution: Bail out when the file name length is zero.
22112Files: src/findfile.c, src/normal.c, src/testdir/test_visual.vim
22113
22114Patch 8.2.3612
22115Problem: Using freed memory with regexp using a mark.
22116Solution: Get the line again after getting the mark position.
22117Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test_regexp_latin.vim
22118
22119Patch 8.2.3613
22120Problem: :find test fails.
22121Solution: Put length check inside if block.
22122Files: src/findfile.c
22123
22124Patch 8.2.3614
22125Problem: zindex of popup windows not used when redrawing popup menu.
22126Solution: Check the zindex when redrawing the popup menu. (closes #9129,
22127 closes #9089)
22128Files: src/popupmenu.c, src/popupwin.c, src/proto/popupmenu.pro,
22129 src/screen.c, src/testdir/test_popupwin.vim,
22130 src/testdir/dumps/Test_popupwin_popupmenu_masking_1.dump,
22131 src/testdir/dumps/Test_popupwin_popupmenu_masking_2.dump
22132
22133Patch 8.2.3615
22134Problem: When re-formatting with an indent expression the first line of a
22135 paragraph may get the wrong indent. (Martin F. Krafft)
22136Solution: Apply the correct indenting function for the first line.
22137 (Christian Brabandt, closes #9150, closes #9056)
22138Files: src/textformat.c, src/testdir/test_indent.vim
22139
22140Patch 8.2.3616
22141Problem: Arglist test does not clear the argument list consistently.
22142Solution: Call Reset_arglist(). (Shougo Matsushita, closes #9154)
22143Files: src/testdir/test_arglist.vim
22144
22145Patch 8.2.3617
22146Problem: ":verbose pwd" does not mention 'autochdir' was applied.
22147Solution: Remember the last chdir was done by 'autochdir'. (issue #9142)
22148Files: src/globals.h, src/buffer.c, src/ex_docmd.c, src/window.c,
22149 src/main.c, src/netbeans.c, src/os_win32.c,
22150 src/testdir/test_autochdir.vim
22151
22152Patch 8.2.3618
22153Problem: getcwd() is unclear about how 'autochdir' is used.
22154Solution: Update the help for getcwd(). Without any arguments always return
22155 the actual current directory. (closes #9142)
22156Files: runtime/doc/eval.txt, src/filepath.c, src/testdir/test_cd.vim
22157
22158Patch 8.2.3619
22159Problem: Cannot use a lambda for 'operatorfunc'.
22160Solution: Support using a lambda or partial. (Yegappan Lakshmanan,
22161 closes #8775)
22162Files: runtime/doc/map.txt, runtime/doc/options.txt, src/ops.c,
22163 src/option.c, src/optionstr.c, src/proto/ops.pro,
22164 src/proto/option.pro, src/quickfix.c, src/testdir/test_normal.vim
22165
22166Patch 8.2.3620
22167Problem: Memory leak reported in libtlib.
22168Solution: Call del_curterm() when cleaning up memory. Rename term.h to
22169 termdefs.h to avoid a name clash.
22170Files: src/term.c, src/proto/term.pro, src/alloc.c, src/configure.ac,
22171 src/auto/configure, src/config.h.in, src/Makefile,
22172 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Make_vms.mms,
22173 src/term.h, src/termdefs.h
22174
22175Patch 8.2.3621 (after 8.2.3620)
22176Problem: Build failure.
22177Solution: Add missing change.
22178Files: src/vim.h
22179
22180Patch 8.2.3622
22181Problem: "verbose pwd" shows confusing info when :lcd does not change
22182 directory.
22183Solution: Clear last_chdir_reason also when the directory does not change.
22184 (closes #9160)
22185Files: src/ex_docmd.c, src/testdir/test_autochdir.vim
22186
22187Patch 8.2.3623
22188Problem: "$*" is expanded to "nonomatch".
22189Solution: Only add "set nonomatch" when using a csh-like shell. (Christian
22190 Brabandt, closes #9159, closes #9153)
22191Files: src/os_unix.c, src/testdir/test_expand.vim
22192
22193Patch 8.2.3624
22194Problem: When renaming a terminal buffer the status text is not updated.
22195Solution: Clear the cached status text when renaming a terminal buffer.
22196 (closes #9162)
22197Files: src/buffer.c, src/terminal.c, src/proto/terminal.pro,
22198 src/testdir/test_terminal.vim
22199
22200Patch 8.2.3625
22201Problem: Illegal memory access when C-indenting.
22202Solution: Also set the cursor column.
22203Files: src/cindent.c, src/testdir/test_cindent.vim
22204
22205Patch 8.2.3626
22206Problem: "au!" and "au! event" cannot be followed by another command as
22207 documented.
22208Solution: When a bar is found set nextcmd.
22209Files: src/autocmd.c, src/testdir/test_autocmd.vim
22210
22211Patch 8.2.3627
22212Problem: difficult to know where the text starts in a window. (Sergey
22213 Vlasov)
22214Solution: Add the "textoff" entry in the result of getwininfo().
22215 (closes #9163)
22216Files: runtime/doc/eval.txt, src/evalwindow.c,
22217 src/testdir/test_bufwintabinfo.vim
22218
22219Patch 8.2.3628
22220Problem: Looking up terminal colors is a bit slow.
22221Solution: Cache the terminal colors. (closes #9130, closes #9058)
22222Files: src/highlight.c, src/libvterm/include/vterm.h, src/option.c,
22223 src/optionstr.c, src/popupwin.c, src/proto/terminal.pro,
22224 src/structs.h, src/terminal.c, src/window.c,
22225 src/testdir/test_terminal3.vim,
22226 src/testdir/dumps/Test_terminal_color_MyTermCol.dump,
22227 src/testdir/dumps/Test_terminal_color_MyTermCol_over_Terminal.dump,
22228 src/testdir/dumps/Test_terminal_color_MyWinCol.dump,
22229 src/testdir/dumps/Test_terminal_color_MyWinCol_over_group.dump,
22230 src/testdir/dumps/Test_terminal_color_Terminal.dump,
22231 src/testdir/dumps/Test_terminal_color_gui_MyTermCol.dump,
22232 src/testdir/dumps/Test_terminal_color_gui_MyWinCol.dump,
22233 src/testdir/dumps/Test_terminal_color_gui_Terminal.dump,
22234 src/testdir/dumps/Test_terminal_color_gui_transp_MyTermCol.dump,
22235 src/testdir/dumps/Test_terminal_color_gui_transp_MyWinCol.dump,
22236 src/testdir/dumps/Test_terminal_color_gui_transp_Terminal.dump,
22237 src/testdir/dumps/Test_terminal_color_transp_MyTermCol.dump,
22238 src/testdir/dumps/Test_terminal_color_transp_MyWinCol.dump,
22239 src/testdir/dumps/Test_terminal_color_transp_Terminal.dump,
22240 src/testdir/dumps/Test_terminal_popup_MyPopupHlCol.dump,
22241 src/testdir/dumps/Test_terminal_popup_MyTermCol_over_Terminal.dump,
22242 src/testdir/dumps/Test_terminal_popup_MyWinCol.dump,
22243 src/testdir/dumps/Test_terminal_popup_MyWinCol_over_group.dump,
22244 src/testdir/dumps/Test_terminal_popup_gui_MyPopupHlCol.dump,
22245 src/testdir/dumps/Test_terminal_popup_gui_MyTermCol.dump,
22246 src/testdir/dumps/Test_terminal_popup_gui_MyWinCol.dump,
22247 src/testdir/dumps/Test_terminal_popup_gui_Terminal.dump,
22248 src/testdir/dumps/Test_terminal_popup_gui_transp_MyPopupHlCol.dump,
22249 src/testdir/dumps/Test_terminal_popup_gui_transp_MyTermCol.dump,
22250 src/testdir/dumps/Test_terminal_popup_gui_transp_MyWinCol.dump,
22251 src/testdir/dumps/Test_terminal_popup_gui_transp_Terminal.dump,
22252 src/testdir/dumps/Test_terminal_popup_transp_MyPopupHlCol.dump,
22253 src/testdir/dumps/Test_terminal_popup_transp_MyTermCol.dump,
22254 src/testdir/dumps/Test_terminal_popup_transp_MyWinCol.dump,
22255 src/testdir/dumps/Test_terminal_popup_transp_Terminal.dump,
22256 src/testdir/dumps/Test_terminal_wincolor_split_MyWinCol.dump,
22257 src/testdir/dumps/Test_terminal_wincolor_split_MyWinCol2.dump
22258
22259Patch 8.2.3629
22260Problem: Command completion in cmdline window uses global user commands,
22261 not local commands for the window where it was opened from.
22262Solution: Use local commands. (closes #9168)
22263Files: src/ex_getln.c, src/proto/ex_getln.pro, src/evalvars.c,
22264 src/usercmd.c, src/testdir/test_ins_complete.vim
22265
22266Patch 8.2.3630
22267Problem: Printf() with %S does not handle multi-byte correctly.
22268Solution: Count cells instead of bytes. (closes #9169, closes #7486)
22269Files: src/strings.c, src/testdir/test_expr.vim
22270
22271Patch 8.2.3631
22272Problem: "syntax enable" does not work properly in Vim9 context.
22273Solution: Also handle Vim9 context. (closes #9161)
22274Files: src/syntax.c, src/testdir/test_vim9_cmd.vim
22275
22276Patch 8.2.3632
22277Problem: GTK3: undercurl does not get removed properly.
22278Solution: Set the cairo cursor first. (closes #9170)
22279Files: src/gui_gtk_x11.c
22280
22281Patch 8.2.3633
22282Problem: Vim9: line number of lambda is off by one.
22283Solution: Add one to the line number. (closes #9083)
22284Files: src/userfunc.c, src/testdir/test_vim9_func.vim
22285
22286Patch 8.2.3634
22287Problem: Error for already defined function uses wrong line number.
22288Solution: Set SOURCING_LNUM before giving the error message. (closes #9085)
22289Files: src/userfunc.c, src/testdir/test_vim9_func.vim
22290
22291Patch 8.2.3635
22292Problem: GTK: composing underline does not show.
22293Solution: Include composing character in pango call. A few more
22294 optimizations for ligatures. (Dusan Popovic, closes #9171,
22295 closes #9147)
22296Files: src/gui_gtk_x11.c
22297
22298Patch 8.2.3636
22299Problem: Coverity warns for unreachable code.
22300Solution: Remove unreachable else block.
22301Files: src/gui_gtk_x11.c
22302
22303Patch 8.2.3637
22304Problem: Typos in test files.
22305Solution: Correct the typos. (Dominique Pellé, closes #9175)
22306Files: src/testdir/runtest.vim, src/testdir/test_debugger.vim,
22307 src/testdir/test_diffmode.vim, src/testdir/test_edit.vim,
22308 src/testdir/test_excmd.vim, src/testdir/test_flatten.vim,
22309 src/testdir/test_ins_complete.vim, src/testdir/test_normal.vim,
22310 src/testdir/test_options.vim, src/testdir/test_python2.vim,
22311 src/testdir/test_python3.vim, src/testdir/test_quickfix.vim,
22312 src/testdir/test_recover.vim, src/testdir/test_spellfile.vim,
22313 src/testdir/test_syntax.vim, src/testdir/test_termcodes.vim,
22314 src/testdir/test_textobjects.vim, src/testdir/test_trycatch.vim,
22315 src/testdir/test_vim9_script.vim, src/testdir/test_viminfo.vim
22316
22317Patch 8.2.3638
22318Problem: getcompletion() always passes zero as position to custom
22319 completion function.
22320Solution: Pass the pattern length. (closes #9173)
22321Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
22322
22323Patch 8.2.3639 (after 8.2.2922)
22324Problem: Line commented out accidentally.
22325Solution: Uncomment. (Volodymyr Kot, closes #9172)
22326Files: src/main.c
22327
22328Patch 8.2.3640
22329Problem: Freeze when calling term_wait() in a close callback.
22330Solution: Set a "closing" flag to tell term_wait() to return. (closes #9152)
22331Files: src/channel.c, src/terminal.c, src/proto/terminal.pro,
22332 src/testdir/test_terminal.vim
22333
22334Patch 8.2.3641
22335Problem: Xxd code has duplicate expressions.
22336Solution: Refactor to avoid duplication. (closes #9185)
22337Files: src/xxd/xxd.c
22338
22339Patch 8.2.3642
22340Problem: List of distributed files is outdated.
22341Solution: Rename term.h to termdefs.h.
22342Files: Filelist
22343
22344Patch 8.2.3643
22345Problem: Header for source file is outdated.
22346Solution: Make the header more accurate. (closes #9186)
22347Files: src/map.c, src/getchar.c
22348
22349Patch 8.2.3644
22350Problem: Count for 'operatorfunc' in Visual mode is not redone.
22351Solution: Add the count to the redo buffer. (closes #9174)
22352Files: src/normal.c, src/proto/normal.pro, src/ops.c,
22353 src/testdir/test_normal.vim
22354
22355Patch 8.2.3645
22356Problem: Vim9: The "no effect" error is not given for all registers.
22357Solution: Include any character following '@'. (closes #8779)
22358Files: src/ex_eval.c, src/testdir/test_vim9_cmd.vim
22359
22360Patch 8.2.3646
22361Problem: Using <sfile> in a function gives an unexpected result.
22362Solution: Give an error in a Vim9 function. (issue #9189)
22363Files: src/scriptfile.c, src/errors.h, src/testdir/test_vim9_builtin.vim
22364
22365Patch 8.2.3647
22366Problem: GTK: when using ligatures the cursor is drawn wrong.
22367Solution: Clear more characters when ligatures are used. (Dusan Popovic,
22368 closes #9190)
22369Files: src/gui.c
22370
22371Patch 8.2.3648
22372Problem: "verbose pwd" is incorrect after dropping files on Vim.
22373Solution: Set the chdir reason to "drop".
22374Files: src/gui.c
22375
22376Patch 8.2.3649
22377Problem: Vim9: error for variable declared in while loop.
22378Solution: Do not keep the first variable. (closes #9191)
22379Files: src/ex_eval.c, src/testdir/test_vim9_script.vim
22380
22381Patch 8.2.3650
22382Problem: Vim9: for loop variable can be a list member.
22383Solution: Check for valid variable name. (closes #9179)
22384Files: src/vim9compile.c, src/dict.c, src/eval.c, src/evalvars.c,
22385 src/proto/evalvars.pro, src/testdir/test_vim9_script.vim
22386
22387Patch 8.2.3651
22388Problem: Vim9: no error for :lock or :unlock with unknown variable.
22389Solution: Give an error. (closes #9188)
22390Files: src/evalvars.c, src/errors.h, src/testdir/test_vim9_cmd.vim
22391
22392Patch 8.2.3652
22393Problem: Can only get text properties one line at a time.
22394Solution: Add options to prop_list() to use a range of lines and filter by
22395 types. (Yegappan Lakshmanan, closes #9138)
22396Files: runtime/doc/textprop.txt, src/textprop.c,
22397 src/testdir/test_textprop.vim
22398
22399Patch 8.2.3653
22400Problem: Terminal ANSI colors may be wrong.
22401Solution: Initialize the color type. (closes #9198, closes #9197)
22402Files: src/terminal.c
22403
22404Patch 8.2.3654
22405Problem: GTK: a touch-drag does not update the selection.
22406Solution: Add GDK_BUTTON1_MASK to the state. (Chris Dalton, close #9196,
22407 closes #9194)
22408Files: src/gui_gtk_x11.c
22409
22410Patch 8.2.3655
22411Problem: Compiler warning for using size_t for int.
22412Solution: Add a type cast. (Mike Williams, closes #9199)
22413Files: src/vim9compile.c
22414
22415Patch 8.2.3656
Bram Moolenaar1588bc82022-03-08 21:35:07 +000022416Problem: Vim9: no error for an environment variable by itself.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000022417Solution: Give a "without effect" error. (closes #9166)
22418Files: src/ex_eval.c, src/testdir/test_vim9_cmd.vim
22419
22420Patch 8.2.3657
22421Problem: Vim9: debug text misses one line of return statement.
22422Solution: Add a line when not at a debug instruction. (closes #9137)
22423Files: src/vim9execute.c, src/testdir/test_debugger.vim
22424
22425Patch 8.2.3658
22426Problem: Duplicate code in xxd.
22427Solution: Merge duplicated code. Add more tests. (closes #9192)
22428Files: src/xxd/xxd.c, src/testdir/test_xxd.vim
22429
22430Patch 8.2.3659
22431Problem: Integer overflow with large line number.
22432Solution: Check for overflow. (closes #9202)
22433Files: src/errors.h, src/ex_docmd.c, src/testdir/test_excmd.vim
22434 src/normal.c, src/testdir/test_normal.vim
22435
22436Patch 8.2.3660 (after 8.2.3659)
22437Problem: Overflow check uses wrong number.
22438Solution: Divide by ten.
22439Files: src/normal.c
22440
22441Patch 8.2.3661 (after 8.2.3659)
22442Problem: Test for put with large count fails.
22443Solution: Adjust the counts in the test.
22444Files: src/testdir/test_put.vim
22445
22446Patch 8.2.3662
22447Problem: Illegal memory access if malloc() fails.
22448Solution: Check 'foldmethod' is not empty. (closes #9207)
22449Files: src/fold.c
22450
22451Patch 8.2.3663
22452Problem: Using %S in printf() does not work correctly.
22453Solution: Fix the problem and add more tests. (closes #9208)
22454Files: src/strings.c, src/testdir/test_expr.vim
22455
22456Patch 8.2.3664
22457Problem: Cannot adjust sign highlighting for 'cursorline'.
22458Solution: Add CursorLineSign and CursorLineFold highlight groups.
22459 (Gregory Anders, closes #9201)
22460Files: runtime/doc/sign.txt, runtime/doc/syntax.txt, src/drawline.c,
22461 src/highlight.c, src/optiondefs.h, src/popupwin.c,
22462 src/proto/sign.pro, src/sign.c, src/structs.h, src/vim.h,
22463 src/testdir/test_signs.vim
22464
22465Patch 8.2.3665
22466Problem: Cannot use a lambda for 'tagfunc'.
22467Solution: Use 'tagfunc' like 'opfunc'. (Yegappan Lakshmanan, closes #9204)
22468Files: runtime/doc/options.txt, src/buffer.c, src/option.c,
22469 src/optionstr.c, src/proto/tag.pro, src/structs.h, src/tag.c,
22470 src/testdir/test_tagfunc.vim
22471
22472Patch 8.2.3666
22473Problem: Libvterm is outdated.
22474Solution: Include patches from revision 769 to revision 789.
22475Files: Filelist, src/libvterm/Makefile, src/libvterm/doc/seqs.txt,
22476 src/libvterm/include/vterm.h, src/libvterm/src/mouse.c,
22477 src/libvterm/src/parser.c, src/libvterm/src/state.c,
22478 src/libvterm/src/vterm.c, src/libvterm/src/vterm_internal.h,
22479 src/libvterm/t/02parser.test, src/libvterm/t/17state_mouse.test,
22480 src/libvterm/t/29state_fallback.test,
22481 src/libvterm/t/40state_selection.test, src/libvterm/t/harness.c,
22482 src/libvterm/t/run-test.pl, src/libvterm/vterm.pc.in,
22483 src/terminal.c
22484
22485Patch 8.2.3667
22486Problem: Building libvterm fails with MSVC.
22487Solution: Don't use C99 construct.
22488Files: src/libvterm/src/state.c
22489
22490Patch 8.2.3668
22491Problem: Messages may be corrupted.
22492Solution: Use another buffer instead of IObuff. (Yegappan Lakshmanan,
22493 closes #9195)
22494Files: src/highlight.c, src/testdir/test_highlight.vim
22495
22496Patch 8.2.3669
22497Problem: Buffer overflow with long help argument.
22498Solution: Use snprintf().
22499Files: src/help.c, src/testdir/test_help.vim
22500
22501Patch 8.2.3670
22502Problem: Error checks repeated several times.
22503Solution: Move the checks to functions. (closes #9213)
22504Files: src/xxd/xxd.c
22505
22506Patch 8.2.3671
22507Problem: Restarting Insert mode in prompt buffer too often when a callback
22508 switches windows and comes back. (Sean Dewar)
22509Solution: Do not set "restart_edit" when already in Insert mode.
22510 (closes #9212)
22511Files: src/window.c, src/testdir/test_prompt_buffer.vim
22512
22513Patch 8.2.3672 (after 8.2.3670)
22514Problem: Build failure with unsigned char.
22515Solution: Use int instead of char.
22516Files: src/xxd/xxd.c
22517
22518Patch 8.2.3673
22519Problem: Crash when allocating signal stack fails.
22520Solution: Only using sourcing info when available. (closes #9215)
22521Files: src/globals.h, src/message.c
22522
22523Patch 8.2.3674
22524Problem: When ml_get_buf() fails it messes up IObuff.
22525Solution: Return a local pointer. (closes #9214)
22526Files: src/memline.c
22527
22528Patch 8.2.3675
22529Problem: Using freed memory when vim_strsave() fails.
22530Solution: Clear "last_sourcing_name". Check for msg_source() called
22531 recursively. (closes #8217)
22532Files: src/message.c
22533
22534Patch 8.2.3676
22535Problem: Unused runtime file.
22536Solution: Remove rgb.txt.
22537Files: runtime/rgb.txt
22538
22539Patch 8.2.3677
22540Problem: After a put the '] mark is on the last byte of a multi-byte
22541 character.
22542Solution: Move it to the first byte. (closes #9047)
22543Files: src/register.c, src/testdir/test_put.vim
22544
22545Patch 8.2.3678 (after 8.2.3677)
22546Problem: Illegal memory access.
22547Solution: Ignore changed indent when computing byte offset.
22548Files: src/register.c
22549
22550Patch 8.2.3679
22551Problem: objc file detected as Octave. (Antony Lee)
22552Solution: Detect objc by preprocessor lines. (Doug Kearns, closes #9223,
22553 closes #9220)
22554Files: runtime/autoload/dist/ft.vim, src/testdir/test_filetype.vim
22555
22556Patch 8.2.3680
22557Problem: Repeated code in xxd.
22558Solution: Change exit_on_ferror() to getc_or_die(). (closes #9226)
22559Files: src/xxd/xxd.c
22560
22561Patch 8.2.3681
22562Problem: Cannot drag popup window after click on a status line. (Sergey
22563 Vlasov)
22564Solution: Reset on_status_line. (closes #9221)
22565Files: src/mouse.c, src/testdir/test_popupwin.vim,
22566 src/testdir/dumps/Test_popupwin_drag_04.dump
22567
22568Patch 8.2.3682
22569Problem: Vim9: assigning to a script variable drops the required type.
22570Solution: Lookup the type of the variable and use it. (closes #9219)
22571Files: src/evalvars.c, src/vim9script.c, src/proto/vim9script.pro,
22572 src/testdir/test_vim9_assign.vim
22573
22574Patch 8.2.3683
22575Problem: Vim9: cannot use `=expr` in :...do commands.
22576Solution: Add EX_EXPAND to the commands. (closes #9232)
22577Files: src/ex_cmds.h, src/testdir/test_vim9_cmd.vim
22578
22579Patch 8.2.3684
22580Problem: Blockwise insert does not handle autoindent properly.
22581Solution: Adjust text column for indent. (closes #9229)
22582Files: src/ops.c, src/testdir/test_blockedit.vim
22583
22584Patch 8.2.3685
Bram Moolenaar1588bc82022-03-08 21:35:07 +000022585Problem: Visual Studio project files are not recognized.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000022586Solution: Use the xml file type. (Doug Kearns)
22587Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22588
22589Patch 8.2.3686
22590Problem: Filetype detection often mixes up Forth and F#.
22591Solution: Add a function to inspect the file contents. (Doug Kearns)
22592Files: runtime/autoload/dist/ft.vim, runtime/doc/filetype.txt,
22593 runtime/doc/syntax.txt, runtime/filetype.vim, runtime/scripts.vim,
22594 src/testdir/test_filetype.vim
22595
22596Patch 8.2.3687
22597Problem: Blockwise insert does not handle autoindent properly when tab is
22598 inserted.
22599Solution: Adjust text column for indent before computing column.
22600 (closes #9229)
22601Files: src/ops.c, src/testdir/test_blockedit.vim
22602
22603Patch 8.2.3688
22604Problem: The window title is not updated when dragging the scrollbar.
22605Solution: Call maketitle(). (Christian Brabandt, closes #9238, closes #5383)
22606Files: src/gui.c
22607
22608Patch 8.2.3689
22609Problem: ex_let_one() is too long.
22610Solution: Split into multiple functions.
22611Files: src/evalvars.c
22612
22613Patch 8.2.3690
22614Problem: Vim9: "filter #pat# cmd" does not work.
22615Solution: Do not see #pat# as a comment.
22616Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
22617
22618Patch 8.2.3691
22619Problem: Build failure with small features.
22620Solution: Add #ifdef. (Dominique Pellé)
22621Files: src/gui.c
22622
22623Patch 8.2.3692
22624Problem: Vim9: cannot use :func inside a :def function.
22625Solution: Make it work.
22626Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/errors.h,
22627 src/structs.h, src/userfunc.c, src/testdir/test_vim9_func.vim
22628
22629Patch 8.2.3693
22630Problem: Coverity warns for possibly using a NULL pointer.
22631Solution: Check for NULL and give an error.
22632Files: src/vim9execute.c, src/errors.h
22633
22634Patch 8.2.3694
22635Problem: Cannot use quotes in the count of an Ex command.
22636Solution: Add getdigits_quoted(). Give an error when misplacing a quote in
22637 a range. (closes #9240)
22638Files: src/ex_docmd.c, src/charset.c, src/proto/charset.pro,
22639 src/testdir/test_usercommands.vim
22640
22641Patch 8.2.3695
22642Problem: Confusing error for missing key.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000022643Solution: Use the actual key for the error. (closes #9241)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000022644Files: src/eval.c, src/testdir/test_listdict.vim
22645
22646Patch 8.2.3696
22647Problem: Vim9: error for invalid assignment when skipping.
22648Solution: Do not check white space when skipping. (closes #9243)
22649Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
22650
22651Patch 8.2.3697
22652Problem: Cannot drag a popup without a border.
22653Solution: Add the "dragall" option. (closes #9218)
22654Files: runtime/doc/popup.txt, src/mouse.c, src/popupwin.c, src/vim.h,
22655 src/testdir/test_popupwin.vim,
22656 src/testdir/dumps/Test_popupwin_drag_05.dump,
22657 src/testdir/dumps/Test_popupwin_drag_06.dump
22658
22659Patch 8.2.3698
22660Problem: Match highlighting continues over breakindent.
22661Solution: Stop before the end column. (closes #9242)
22662Files: src/match.c, src/proto/match.pro, src/drawline.c,
22663 src/testdir/test_match.vim,
22664 src/testdir/dumps/Test_match_linebreak.dump
22665
22666Patch 8.2.3699
22667Problem: The +title feature adds a lot of #ifdef but little code.
22668Solution: Graduate the +title feature.
22669Files: src/feature.h, src/alloc.c, src/arglist.c, src/autocmd.c,
22670 src/buffer.c, src/bufwrite.c, src/change.c, src/drawscreen.c,
22671 src/evalfunc.c, src/ex_cmds.c, src/ex_docmd.c, src/gui.c,
22672 src/gui_gtk_x11.c, src/if_xcmdsrv.c, src/locale.c, src/main.c,
22673 src/misc2.c, src/netbeans.c, src/option.c, src/optionstr.c,
22674 src/os_amiga.c, src/os_mswin.c, src/os_unix.c, src/os_win32.c,
22675 src/regexp.c, src/term.c, src/ui.c, src/version.c, src/window.c,
22676 src/globals.h, src/option.h, src/optiondefs.h,
22677 runtime/doc/options.txt, runtime/doc/various.txt
22678
22679Patch 8.2.3700
22680Problem: Text property highlighting continues over breakindent.
22681Solution: Stop before the end column. (closes #9242)
22682Files: src/drawline.c, src/testdir/test_textprop.vim,
22683 src/testdir/dumps/Test_prop_linebreak.dump
22684
22685Patch 8.2.3701
22686Problem: Vim9: invalid LHS is not possible.
22687Solution: Remove unreachable error message.
22688Files: src/vim9compile.c
22689
22690Patch 8.2.3702
22691Problem: First key in dict is seen as curly expression and fails.
22692Solution: Ignore failure of curly expression. (closes #9247)
22693Files: src/typval.c, src/dict.c, src/testdir/test_listdict.vim
22694
22695Patch 8.2.3703 (after 8.2.3686)
22696Problem: Most people call F# "fsharp" and not "fs".
22697Solution: Rename filetype "fs" to "fsharp".
22698Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
22699 src/testdir/test_filetype.vim
22700
22701Patch 8.2.3704
22702Problem: Vim9: cannot use a list declaration in a :def function.
22703Solution: Make it work.
22704Files: runtime/doc/vim9.txt, src/vim9compile.c, src/errors.h,
22705 src/testdir/test_vim9_assign.vim
22706
22707Patch 8.2.3705
22708Problem: Cannot pass a lambda name to function() or funcref(). (Yegappan
22709 Lakshmanan)
22710Solution: Handle a lambda name differently.
22711Files: src/userfunc.c, src/proto/userfunc.pro, src/evalfunc.c,
22712 src/testdir/test_expr.vim
22713
22714Patch 8.2.3706 (after 8.2.3700)
22715Problem: Text property highlighting is used on Tab.
22716Solution: Only set in_linebreak when not on a Tab. (closes #9242)
22717Files: src/drawline.c, src/testdir/test_textprop.vim,
22718 src/testdir/dumps/Test_prop_after_tab.dump
22719
22720Patch 8.2.3707
22721Problem: Vim9: constant expression of elseif not recognized.
22722Solution: Set instruction count before generating the expression.
22723Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
22724
22725Patch 8.2.3708 (after 8.2.3707)
22726Problem: Vim9: test fails with different error.
22727Solution: Correct the error number.
22728Files: src/testdir/test_vim9_cmd.vim
22729
22730Patch 8.2.3709
22731Problem: Vim9: backtick expression expanded when not desired.
22732Solution: Only expand a backtick expression for commands that expand their
22733 argument. Remove a few outdated TODO comments.
22734Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
22735
22736Patch 8.2.3710
22737Problem: Vim9: backtick expression expanded for :global.
22738Solution: Check the following command.
22739Files: runtime/doc/vim9.txt, src/vim9compile.c,
22740 src/testdir/test_vim9_cmd.vim
22741
22742Patch 8.2.3711
22743Problem: Vim9: memory leak when compiling :elseif fails.
22744Solution: Cleanup ppconst.
22745Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
22746
22747Patch 8.2.3712
22748Problem: Cannot use Vim9 lambda for 'tagfunc'.
22749Solution: Make it work, add more tests. (Yegappan Lakshmanan, closes #9250)
22750Files: runtime/doc/options.txt, src/insexpand.c, src/option.c,
22751 src/testdir/test_tagfunc.vim
22752
22753Patch 8.2.3713
22754Problem: MS-Windows: No error message if vimgrep pattern is not matching.
22755Solution: Give an error message. (Christian Brabandt, closes #9245,
22756 closes #8762)
22757Files: src/quickfix.c, src/testdir/test_quickfix.vim
22758
22759Patch 8.2.3714
22760Problem: Some unused assignments and ugly code in xxd.
22761Solution: Leave out assignments. Use marcro for fprintf(). (closes #9246)
22762Files: src/xxd/xxd.c
22763
22764Patch 8.2.3715
22765Problem: Vim9: valgrind reports spurious problems for a test.
22766Solution: Move the test to the set that is known to fail.
22767Files: src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_fails.vim
22768
22769Patch 8.2.3716
22770Problem: Vim9: range without a command is not compiled.
22771Solution: Add the ISN_EXECRANGE byte code.
22772Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/vim9compile.c,
22773 src/vim9execute.c, src/vim9.h,
22774 src/testdir/test_vim9_disassemble.vim
22775
22776Patch 8.2.3717
22777Problem: Vim9: error for constant list size is only given at runtime.
22778Solution: Give the error at compile time if possible.
22779Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim,
22780 src/testdir/test_vim9_script.vim,
22781 src/testdir/test_vim9_disassemble.vim
22782
22783Patch 8.2.3718
22784Problem: Compiler warns for unused variable without the +textprop feature.
22785 (John Marriott)
22786Solution: Adjust #ifdefs.
22787Files: src/drawline.c
22788
22789Patch 8.2.3719
22790Problem: MS-Windows: test sometimes runs into existing swap file.
22791Solution: Use a different file name.
22792Files: src/testdir/test_buffer.vim
22793
22794Patch 8.2.3720
22795Problem: Vim9: Internal error when invoking closure in legacy context.
22796Solution: Give a more appropriate error message. (closes #9251)
22797Files: src/errors.h, src/vim9execute.c, src/testdir/test_vim9_func.vim
22798
22799Patch 8.2.3721
22800Problem: Using memory freed by losing the clipboard selection. (Dominique
22801 Pellé)
22802Solution: Check y_array is still valid after calling changed_lines().
22803 (closes #9253)
22804Files: src/errors.h, src/register.c
22805
22806Patch 8.2.3722
22807Problem: Amiga: superfluous messages for freeing lots of yanked text.
22808Solution: Assume that the machine isn't that slow these days.
22809Files: src/register.c
22810
22811Patch 8.2.3723
22812Problem: When using 'linebreak' a text property starts too early.
22813Solution: Decrement "bcol" when looking for property start. (closes #9242)
22814Files: src/drawline.c, src/testdir/test_textprop.vim,
22815 src/testdir/dumps/Test_prop_after_linebreak.dump
22816
22817Patch 8.2.3724
22818Problem: Build error for missing error message in small build.
22819Solution: Correct #ifdef.
22820Files: src/errors.h
22821
22822Patch 8.2.3725
22823Problem: Cannot use a lambda for 'completefunc' and 'omnifunc'.
22824Solution: Implement lambda support. (Yegappan Lakshmanan, closes #9257)
22825Files: runtime/doc/options.txt, src/buffer.c, src/insexpand.c,
22826 src/option.c, src/optionstr.c, src/proto/insexpand.pro,
22827 src/proto/tag.pro, src/proto/userfunc.pro, src/structs.h,
22828 src/tag.c, src/userfunc.c, src/testdir/test_ins_complete.vim,
22829 src/testdir/test_tagfunc.vim
22830
22831Patch 8.2.3726
22832Problem: README file in a config directory gets wrong filetype.
22833Solution: Match README before patterns that match everything in a directory.
22834Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22835
22836Patch 8.2.3727
22837Problem: In a gnome terminal keys are recognized as mouse events.
22838Solution: Only recognize DEC mouse events when four numbers are following.
22839 (closes #9256)
22840Files: src/term.c, src/testdir/test_termcodes.vim
22841
22842Patch 8.2.3728
22843Problem: Internal error when passing range() to list2blob().
22844Solution: Materialize the list first. (closes #9262)
22845Files: src/blob.c, src/testdir/test_blob.vim
22846
22847Patch 8.2.3729
22848Problem: No support for squirrels.
22849Solution: Recognize nuts. (closes #9259)
22850Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22851
22852Patch 8.2.3730
22853Problem: "/etc/Muttrc.d/README" gets filetype muttrc.
22854Solution: Move the Muttrc.d pattern down, add exception for *.rc files.
22855Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22856
22857Patch 8.2.3731
22858Problem: "set! termcap" shows codes in one column, but not keys.
22859Solution: Also use one column for keys. (closes #9258)
22860Files: src/option.c, src/term.c, src/proto/term.pro,
22861 src/testdir/test_set.vim
22862
22863Patch 8.2.3732 (after 8.2.3731)
22864Problem: "set! termcap" test fails.
22865Solution: Account for keys without a t_xx entry.
22866Files: src/testdir/test_set.vim
22867
22868Patch 8.2.3733
22869Problem: Vim9: using "legacy" before range does not work.
22870Solution: Skip over range before parsing command. (closes #9270)
22871Files: src/vim9compile.c, src/usercmd.c, src/testdir/test_vim9_cmd.vim
22872
22873Patch 8.2.3734
22874Problem: Vim9: crash when no pattern match found.
22875Solution: Check for error.
22876Files: src/vim9execute.c
22877
22878Patch 8.2.3735
22879Problem: Cannot use a lambda for 'imactivatefunc'.
22880Solution: Add lambda support for 'imactivatefunc' and 'imstatusfunc'.
22881 (Yegappan Lakshmanan, closes #9275)
22882Files: runtime/doc/options.txt, src/alloc.c, src/gui_xim.c,
22883 src/optionstr.c, src/proto/gui_xim.pro,
22884 src/testdir/test_iminsert.vim, src/testdir/test_ins_complete.vim
22885
22886Patch 8.2.3736
22887Problem: Test fails without the channel feature. (Dominique Pellé)
22888Solution: Source the check.vim script. (closes #9277)
22889Files: src/testdir/test_vim9_fails.vim
22890
22891Patch 8.2.3737
22892Problem: Test fails without the 'autochdir' option.
22893Solution: Check that the option is available. (Dominique Pellé, closes #9272)
22894Files: src/testdir/test_cd.vim
22895
22896Patch 8.2.3738
22897Problem: Screen is cleared when a FocusLost autocommand triggers.
22898Solution: Do not redraw when at the hit-enter or more prompt. (closes #9274)
22899Files: src/misc1.c
22900
22901Patch 8.2.3739
22902Problem: In wrong directory when using win_execute() with 'acd' set.
22903Solution: Restore the directory when returning to the window. (closes #9276)
22904Files: src/window.c, src/testdir/test_autochdir.vim
22905
22906Patch 8.2.3740
22907Problem: Memory left allocated on exit when using Tcl.
22908Solution: Call Tcl_Finalize().
22909Files: src/if_tcl.c, src/proto/if_tcl.pro, src/alloc.c
22910
22911Patch 8.2.3741
22912Problem: Using freed memory in open command.
22913Solution: Make a copy of the current line.
22914Files: src/ex_docmd.c, src/testdir/test_ex_mode.vim
22915
22916Patch 8.2.3742
22917Problem: Dec mouse test fails without gnome terminfo entry.
22918Solution: Check if there is a gnome entry. Also fix 'acd' test on
22919 MS-Windows. (Ozaki Kiichi, closes #9282)
22920Files: src/testdir/test_termcodes.vim, src/testdir/test_autochdir.vim
22921
22922Patch 8.2.3743
22923Problem: ":sign" can add a highlight group without a name.
22924Solution: Give an error if the group name is missing. (closes #9280)
22925Files: src/sign.c, src/errors.h, src/testdir/test_signs.vim
22926
22927Patch 8.2.3744
22928Problem: E854 is not tested; some spelling suggestions are not tested.
22929Solution: Add a couple of tests. (Dominique Pellé, closes #9279)
22930Files: src/testdir/test_options.vim, src/testdir/test_spell.vim
22931
22932Patch 8.2.3745
22933Problem: Autochdir test fails without the +channel feature.
22934Solution: Remove the ch_logfile() call. (Dominique Pellé, closes #9281)
22935Files: src/testdir/test_autochdir.vim
22936
22937Patch 8.2.3746
22938Problem: Cannot disassemble function starting with "debug" or "profile".
22939Solution: Check for white space following. (closes #9273)
22940Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
22941
22942Patch 8.2.3747 (after 8.2.3743)
22943Problem: Cannot remove highlight from an existing sign. (James McCoy)
22944Solution: Only reject empty argument for a new sign.
22945Files: src/sign.c, src/testdir/test_signs.vim
22946
22947Patch 8.2.3748 (after 8.2.3747)
22948Problem: Giving an error for an empty sign argument breaks a plugin.
22949Solution: Do not give an error.
22950Files: src/sign.c, src/errors.h, src/testdir/test_signs.vim
22951
22952Patch 8.2.3749
22953Problem: Error messages are everywhere.
22954Solution: Move more error messages to errors.h and adjust the names.
22955Files: src/errors.h, src/regexp_bt.c, src/regexp.c, src/regexp_nfa.c,
22956 src/globals.h, src/memfile.c, src/tag.c, src/getchar.c,
22957 src/bufwrite.c, src/cmdexpand.c
22958
22959Patch 8.2.3750
22960Problem: Error messages are everywhere.
22961Solution: Move more error messages to errors.h and adjust the names.
22962Files: src/globals.h, src/errors.h, src/blob.c, src/buffer.c,
22963 src/channel.c, src/ex_docmd.c, src/job.c, src/list.c, src/mark.c,
22964 src/misc1.c, src/os_unix.c, src/popupwin.c, src/register.c,
22965 src/session.c, src/spellfile.c, src/term.c, src/userfunc.c
22966
22967Patch 8.2.3751
22968Problem: Cannot assign a lambda to an option that takes a function.
22969Solution: Automatically convert the lambda to a string. (Yegappan
22970 Lakshmanan, closes #9286)
22971Files: runtime/doc/options.txt, src/eval.c, src/proto/eval.pro,
22972 src/evalvars.c, src/if_mzsch.c, src/if_ruby.c, src/if_tcl.c,
22973 src/option.c, src/option.h, src/optiondefs.h,
22974 src/proto/option.pro, src/spell.c, src/typval.c,
22975 src/vim9compile.c, src/testdir/test_iminsert.vim,
22976 src/testdir/test_ins_complete.vim, src/testdir/test_tagfunc.vim
22977
22978Patch 8.2.3752
22979Problem: Build error when using Photon GUI.
22980Solution: Adjust #ifdef. (closes #9288)
22981Files: src/beval.c
22982
22983Patch 8.2.3753
22984Problem: Vim9: function unreferenced while called is never deleted.
22985Solution: Delete a function when no longer referenced.
22986Files: src/vim9execute.c, src/userfunc.c, src/proto/userfunc.pro
22987
22988Patch 8.2.3754 (after 8.2.3615)
22989Problem: Undesired changing of the indent of the first formatted line.
22990Solution: Do not indent the first formatted line.
22991Files: src/textformat.c, src/testdir/test_indent.vim
22992
22993Patch 8.2.3755
22994Problem: Coverity warns for using a buffer in another scope.
22995Solution: Declare the buffer in a common scope.
22996Files: src/evalvars.c
22997
22998Patch 8.2.3756
22999Problem: might crash when callback is not valid.
23000Solution: Check for valid callback. (Yegappan Lakshmanan, closes #9293)
23001Files: src/insexpand.c, src/option.c, src/tag.c, src/job.c,
23002 src/userfunc.c, src/testdir/test_iminsert.vim,
23003 src/testdir/test_ins_complete.vim, src/testdir/test_tagfunc.vim
23004
23005Patch 8.2.3757
23006Problem: An overlong highlight group name is silently truncated.
23007Solution: Give an error if the name is too long. (closes #9289)
23008Files: src/errors.h, src/highlight.c, src/testdir/test_highlight.vim
23009
23010Patch 8.2.3758
23011Problem: Options that take a function insufficiently tested.
23012Solution: Add additional tests and enhance existing tests. (Yegappan
23013 Lakshmanan, closes #9298)
23014Files: src/testdir/test_ins_complete.vim, src/testdir/test_normal.vim,
23015 src/testdir/test_tagfunc.vim
23016
23017Patch 8.2.3759
23018Problem: Quickfix buffer becomes hidden while still in a window.
23019Solution: Check if the closed window is the last window showing the quickfix
23020 buffer. (Yegappan Lakshmanan, closes #9303, closes #9300)
23021Files: src/quickfix.c, src/testdir/test_quickfix.vim, src/window.c
23022
23023Patch 8.2.3760
23024Problem: Not automatically handling gnome terminal mouse like xterm.
23025Solution: Default 'ttymouse' to "xterm" and recognize Focus events.
23026 (issue #9296)
23027Files: src/os_unix.c
23028
23029Patch 8.2.3761
23030Problem: Focus change is not passed on to a terminal window.
23031Solution: If the current window is a terminal and focus events are enabled
23032 send a focus event escape sequence to the terminal.
23033Files: src/ui.c, src/terminal.c, src/proto/terminal.pro,
23034 src/testdir/test_terminal.vim,
23035 src/testdir/dumps/Test_terminal_focus_1.dump,
23036 src/testdir/dumps/Test_terminal_focus_2.dump
23037
23038Patch 8.2.3762
23039Problem: If the quickfix buffer is wiped out getqflist() still returns its
23040 number.
23041Solution: Use zero if the buffer is no longer present. (Yegappan Lakshmanan,
23042 closes #9306)
23043Files: src/quickfix.c, src/testdir/test_quickfix.vim
23044
23045Patch 8.2.3763
23046Problem: When editing the command line a FocusLost callback may cause the
23047 screen to scroll up.
23048Solution: Do not redraw at the last line but at the same place where the
23049 command line was before. (closes #9295)
23050Files: src/ex_getln.c, src/ui.c, src/beval.c, src/channel.c,
23051 src/drawscreen.c, src/proto/drawscreen.pro, src/job.c,
23052 src/popupwin.c, src/sound.c, src/terminal.c, src/time.c,
23053 src/testdir/test_terminal.vim,
23054 src/testdir/dumps/Test_terminal_focus_1.dump,
23055 src/testdir/dumps/Test_terminal_focus_2.dump,
23056 src/testdir/dumps/Test_terminal_focus_3.dump
23057
23058Patch 8.2.3764
23059Problem: Cannot see any text when window was made zero lines or zero
23060 columns.
23061Solution: Ensure there is at least one line and column. (fixes #9307)
23062Files: src/window.c, src/proto/window.pro, src/normal.c, src/edit.c,
23063 src/testdir/test_window_cmd.vim
23064
23065Patch 8.2.3765
23066Problem: Vim9: cannot use a lambda for 'opfunc' and others.
23067Solution: Convert the lambda to a string.
23068Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c,
23069 src/testdir/test_vim9_func.vim,
23070 src/testdir/test_vim9_disassemble.vim
23071
23072Patch 8.2.3766
23073Problem: Converting a funcref to a string leaves out "g:", causing the
23074 meaning of the name depending on the context.
23075Solution: Prepend "g:" for a global function.
23076Files: src/eval.c, src/testdir/test_functions.vim
23077
23078Patch 8.2.3767 (after 8.2.3766)
23079Problem: Crash when using NULL partial.
23080Solution: Check for NULL.
23081Files: src/eval.c
23082
23083Patch 8.2.3768
23084Problem: timer_info() has the wrong repeat value in a timer callback.
23085 (Sergey Vlasov)
23086Solution: Do not add one to the repeat value when in the callback.
23087 (closes #9294)
23088Files: src/time.c, src/testdir/test_timers.vim
23089
23090Patch 8.2.3769
23091Problem: Zig files are not recognized.
23092Solution: Add *.zig. (Gregory Anders, closes #9313)
23093Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23094
23095Patch 8.2.3770
23096Problem: New compiler warnings from clang-12 and clang-13.
23097Solution: Adjust CI and suppress some warnings. (Ozaki Kiichi, closes #9314)
23098Files: .github/workflows/ci.yml, ci/config.mk.clang-12.sed,
23099 src/os_unix.c, src/spellfile.c
23100
23101Patch 8.2.3771
23102Problem: Vim9: accessing freed memory when checking type.
23103Solution: Make a copy of a function type.
23104Files: src/structs.h, src/evalvars.c, src/vim9script.c,
23105 src/testdir/test_vim9_func.vim
23106
23107Patch 8.2.3772
23108Problem: Timer info test fails on slow machine.
23109Solution: Use WaitForAssert().
23110Files: src/testdir/test_timers.vim
23111
23112Patch 8.2.3773
23113Problem: Wrong window size when a modeline changes 'columns' and there is
23114 more than one tabpage. (Michael Soyka)
23115Solution: Adjust the frames of all tabpages. (closes #9315)
23116Files: src/window.c
23117
23118Patch 8.2.3774 (after 8.2.3773)
23119Problem: Test for command line height fails.
23120Solution: Use another way to handle window size change.
23121Files: src/structs.h, src/window.c
23122
23123Patch 8.2.3775
23124Problem: Vim9: lambda compiled without outer context when debugging.
23125Solution: When compiling a lambda for debugging also compile it without.
23126 (closes #9302)
23127Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
23128
23129Patch 8.2.3776
23130Problem: When a tags file line is long a tag may not be found.
23131Solution: When increasing the buffer size read the same line again.
23132Files: src/tag.c, src/testdir/test_taglist.vim
23133
23134Patch 8.2.3777
23135Problem: Spell file write error not checked.
23136Solution: Check writing the prefix conditions. (Bjorn Linse, closes #9323)
23137Files: src/spellfile.c
23138
23139Patch 8.2.3778
23140Problem: Lambda debug test fails in some configurations.
23141Solution: Check feature in a legacy function.
23142Files: src/testdir/test_vim9_script.vim
23143
23144Patch 8.2.3779
23145Problem: Using freed memory when defining a user command from a user
23146 command.
23147Solution: Do not use the command pointer after executing the command.
23148 (closes #9318)
23149Files: src/usercmd.c, src/testdir/test_usercommands.vim
23150
23151Patch 8.2.3780
23152Problem: ":cd" works differently on MS-Windows.
23153Solution: Add the 'cdhome' option. (closes #9324)
23154Files: runtime/doc/editing.txt, runtime/doc/options.txt,
23155 runtime/doc/quickref.txt, runtime/optwin.vim, src/ex_docmd.c,
23156 src/option.h, src/optiondefs.h, src/testdir/runtest.vim,
23157 src/testdir/test_options.vim
23158
23159Patch 8.2.3781
23160Problem: The option window script is outdated.
23161Solution: Add several changes.
23162Files: runtime/optwin.vim
23163
23164Patch 8.2.3782
23165Problem: Vim9: no error if a function shadows a script variable.
23166Solution: Check the function doesn't shadow a variable. (closes #9310)
23167Files: src/userfunc.c, src/evalvars.c, src/vim.h,
23168 src/testdir/test_vim9_script.vim
23169
23170Patch 8.2.3783
23171Problem: Confusing error for using a variable as a function.
23172Solution: If a function is not found but there is a variable, give a more
23173 useful error. (issue #9310)
23174Files: src/eval.c, src/userfunc.c, src/proto/userfunc.pro,
23175 src/structs.h, src/vim9execute.c, src/testdir/test_functions.vim,
23176 src/testdir/test_vim9_script.vim, src/testdir/test_vim9_func.vim
23177
23178Patch 8.2.3784
23179Problem: The help for options is outdated.
23180Solution: Include all the recent changes.
23181Files: runtime/doc/options.txt
23182
23183Patch 8.2.3785
Bram Moolenaar1588bc82022-03-08 21:35:07 +000023184Problem: Running CI on macOS with gcc is not useful.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000023185Solution: Only use clang. (Ozaki Kiichi, closes #9326) Also build with
23186 normal features.
23187Files: .github/workflows/ci.yml
23188
23189Patch 8.2.3786
23190Problem: Test fails because of using Vim9 syntax in legacy function.
23191Solution: Add "call".
23192Files: src/testdir/test_functions.vim
23193
23194Patch 8.2.3787
23195Problem: No proper formatting of a C line comment after a statement.
23196Solution: Find the start of the line comment, insert the comment leader and
23197 indent the comment properly.
23198Files: src/change.c, src/proto/change.pro, src/search.c,
23199 src/proto/search.pro, src/cindent.c, src/edit.c, src/normal.c,
23200 src/textformat.c, src/testdir/test_textformat.vim,
23201 src/testdir/test_cindent.vim
23202
23203Patch 8.2.3788
23204Problem: Lambda for option that is a function may be garbage collected.
23205Solution: Set a reference in the funcref. (Yegappan Lakshmanan,
23206 closes #9330)
23207Files: src/eval.c, src/evalbuffer.c, src/evalvars.c, src/gui_xim.c,
23208 src/insexpand.c, src/ops.c, src/proto/eval.pro,
23209 src/proto/gui_xim.pro, src/proto/insexpand.pro, src/proto/ops.pro,
23210 src/proto/tag.pro, src/quickfix.c, src/tag.c,
23211 src/testdir/test_iminsert.vim, src/testdir/test_ins_complete.vim,
23212 src/testdir/test_normal.vim, src/testdir/test_quickfix.vim,
23213 src/testdir/test_tagfunc.vim
23214
23215Patch 8.2.3789
23216Problem: Test_window_minimal_size can fail on a slow machine.
23217Solution: Do not rely on timers firing at the expected time. (Ozaki Kiichi,
23218 closes #9335)
23219Files: src/testdir/test_window_cmd.vim
23220
23221Patch 8.2.3790
23222Problem: Test for term_gettitle() fails in some environments.
23223Solution: Make the digits after "VIM" optional. (Kenta Sato, closes #9334)
23224Files: src/testdir/test_terminal2.vim
23225
23226Patch 8.2.3791
23227Problem: Build error with +cindent but without +smartindent.
23228Solution: Move declaration of "do_cindent". (John Marriott)
23229Files: src/change.c
23230
23231Patch 8.2.3792
23232Problem: Setting *func options insufficiently tested.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000023233Solution: Improve tests. (Yegappan Lakshmanan, closes #9337)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000023234Files: src/testdir/test_iminsert.vim, src/testdir/test_ins_complete.vim,
23235 src/testdir/test_normal.vim, src/testdir/test_quickfix.vim,
23236 src/testdir/test_tagfunc.vim
23237
23238Patch 8.2.3793
23239Problem: Using "g:Func" as a funcref does not work in script context
23240 because "g:" is dropped.
23241Solution: Keep "g:" in the name. Also add parenthesis to avoid confusing
Bram Moolenaar1588bc82022-03-08 21:35:07 +000023242 operator precedence. (closes #9336)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000023243Files: src/evalvars.c, src/testdir/test_vim9_func.vim
23244
23245Patch 8.2.3794
23246Problem: Vim9: cannot find script-local func using "s:". (Yegappan
23247 Lakshmanan)
23248Solution: Skip the "s:".
23249Files: src/userfunc.c, src/testdir/test_vim9_func.vim
23250
23251Patch 8.2.3795
23252Problem: Too many #ifdefs.
23253Solution: Graduate the jumplist feature.
23254Files: runtime/doc/various.txt, runtime/doc/motion.txt, src/feature.h,
23255 src/buffer.c, src/change.c, src/evalfunc.c, src/ex_docmd.c,
23256 src/mark.c, src/normal.c, src/undo.c, src/version.c,
23257 src/viminfo.c, src/window.c, src/structs.h,
23258 src/testdir/test_changelist.vim, src/testdir/test_jumplist.vim,
23259 src/testdir/test_normal.vim
23260
23261Patch 8.2.3796
23262Problem: The funcexe_T struct members are not named consistently.
23263Solution: Prefix "fe_" to all the members.
23264Files: src/structs.h, src/eval.c, src/list.c, src/regexp.c,
23265 src/terminal.c, src/userfunc.c, src/vim9execute.c
23266
23267Patch 8.2.3797
23268Problem: No good reason to limit the message history in the tiny version.
23269Solution: Always use 200.
23270Files: runtime/doc/message.txt, src/feature.h
23271
23272Patch 8.2.3798
23273Problem: A :def callback function postpones an error message.
23274Solution: Display the error after calling the function. (closes #9340)
23275Files: src/userfunc.c, src/testdir/test_vim9_func.vim,
23276 src/testdir/dumps/Test_opfunc_error.dump
23277
23278Patch 8.2.3799 (after 8.2.3798)
23279Problem: Edit test hangs or fails.
23280Solution: Do not rethrow an exception when inside try/catch.
23281Files: src/userfunc.c
23282
23283Patch 8.2.3800
23284Problem: When cross compiling the output of "uname" cannot be set. (Ben
23285 Reeves)
23286Solution: Use cache variables. (closes #9338)
23287Files: src/configure.ac, src/auto/configure
23288
23289Patch 8.2.3801
23290Problem: If a terminal shows in two windows, only one is redrawn.
23291Solution: Reset the dirty row range only after redrawing all windows.
23292 (closes #9341)
23293Files: src/terminal.c, src/proto/terminal.pro, src/drawscreen.c,
23294 src/testdir/test_terminal.vim
23295
23296Patch 8.2.3802
23297Problem: Terminal in two windows test fails on some systems.
23298Solution: Wait a bit between commands.
23299Files: src/testdir/test_terminal.vim
23300
23301Patch 8.2.3803
23302Problem: Crash when 'writedelay' is set and using a terminal window to
23303 execute a shell command.
23304Solution: Check that "tl_vterm" isn't NULL. (closes #9346)
23305Files: src/terminal.c
23306
23307Patch 8.2.3804
23308Problem: Script context not set when copying 'swf' and 'ts'.
23309Solution: Use COPY_OPT_SCTX with the right argument. (closes #9347)
23310Files: src/option.c
23311
23312Patch 8.2.3805
23313Problem: i3config files are not recognized.
23314Solution: Add patterns to match i3config files. (Quentin Hibon,
23315 closes #7969)
23316Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23317
23318Patch 8.2.3806
23319Problem: Terminal focus test fails sometimes.
23320Solution: Run the test function before others.
23321Files: src/testdir/test_terminal.vim
23322
23323Patch 8.2.3807
23324Problem: Vim9: can call import with star directly.
23325Solution: Check that the import used star.
23326Files: src/userfunc.c, src/eval.c, src/testdir/test_vim9_script.vim
23327
23328Patch 8.2.3808
23329Problem: Vim9: obsolete TODO items
23330Solution: Remove the comments.
23331Files: src/vim9execute.c
23332
23333Patch 8.2.3809
23334Problem: Vim9: crash when garbage collecting a nested partial. (Virginia
23335 Senioria)
23336Solution: Set references in all the funcstacks. (closes #9348)
23337Files: src/vim9execute.c, src/proto/vim9execute.pro, src/structs.h,
23338 src/eval.c, src/testdir/test_vim9_func.vim
23339
23340Patch 8.2.3810
23341Problem: Vim9: expr4 test fails on MS-Windows.
23342Solution: Do not give an error for a missing function name when skipping.
23343Files: src/eval.c, src/testdir/test_vim9_expr.vim
23344
23345Patch 8.2.3811
23346Problem: The opfunc error test fails on a slow machine.
23347Solution: Use WaitForAssert().
23348Files: src/testdir/test_vim9_func.vim
23349
23350Patch 8.2.3812
23351Problem: Vim9: leaking memory in numbered function test.
23352Solution: Skip "g:" when checking for numbered function. Clean up after
23353 errors properly.
23354Files: src/userfunc.c
23355
23356Patch 8.2.3813
23357Problem: confusing error when using :cc without error list. (Gary Johnson)
23358Solution: Give the "no errors" error.
23359Files: src/ex_docmd.c, src/testdir/test_quickfix.vim
23360
23361Patch 8.2.3814
23362Problem: .csx files and .sln files are not recognized.
23363Solution: Add filetype patterns. (Doug Kearns)
23364Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23365
23366Patch 8.2.3815
23367Problem: Vim9: cannot have a multi-line dict inside a block.
23368Solution: Do not split the command at a line break, handle NL characters
23369 as white space.
23370Files: src/ex_docmd.c, src/charset.c, src/proto/charset.pro,
23371 src/eval.c, src/testdir/test_vim9_expr.vim
23372
23373Patch 8.2.3816
Bram Moolenaar1588bc82022-03-08 21:35:07 +000023374Problem: Compiler warning for possible loss of data on MS-Windows.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000023375Solution: Add type cast. (Mike Williams, closes #9349)
23376Files: src/userfunc.c
23377
23378Patch 8.2.3817 (after 8.2.3815)
23379Problem: Vim9: Not using NL as command end does not work for :autocmd.
23380Solution: Only ignore NL for commands with an expression argument.
23381Files: src/ex_cmds.h, src/ex_docmd.c, src/testdir/test_usercommands.vim
23382
23383Patch 8.2.3818
23384Problem: Cannot filter or map characters in a string.
23385Solution: Make filter() and map() work on a string. (Naruhiko Nishino,
23386 closes #9327)
23387Files: runtime/doc/eval.txt, src/errors.h, src/list.c,
23388 src/testdir/test_filter_map.vim
23389
23390Patch 8.2.3819 (after 8.2.3818)
23391Problem: Test fails because error message changed.
23392Solution: Update screendumps.
23393Files: src/testdir/dumps/Test_popupwin_three_errors_1.dump,
23394 src/testdir/dumps/Test_popupwin_three_errors_2.dump
23395
23396Patch 8.2.3820
23397Problem: "vrc" does not replace composing characters, while "rc" does.
23398Solution: Check the byte length including composing characters.
23399 (closes #9351)
23400Files: src/ops.c, src/testdir/test_visual.vim
23401
23402Patch 8.2.3821
23403Problem: ASAN test run fails.
23404Solution: Use asan_symbolize-13 instead of asan_symbolize-11.
23405Files: .github/workflows/ci.yml
23406
23407Patch 8.2.3822
23408Problem: Leaking memory in map() and filter(), cannot use a string argument
23409 in Vim9 script.
23410Solution: Fix the leak, adjust the argument check, also run the tests as
23411 Vim9 script. (Yegappan Lakshmanan, closes #9354)
23412Files: src/errors.h, src/evalfunc.c, src/list.c, src/proto/typval.pro,
23413 src/testdir/test_filter_map.vim,
23414 src/testdir/test_vim9_builtin.vim, src/typval.c
23415
23416Patch 8.2.3823
23417Problem: Test for visual replace is in wrong function.
23418Solution: Move it to another function.
23419Files: src/testdir/test_visual.vim
23420
23421Patch 8.2.3824
23422Problem: No ASAN support for MSVC.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000023423Solution: Add ASAN support and fix a couple of uncovered problems. (Yegappan
Bram Moolenaarc51cf032022-02-26 12:25:45 +000023424 Lakshmanan, closes #9357)
23425Files: src/Make_mvc.mak, src/findfile.c, src/os_mswin.c,
23426 src/testdir/test_fnamemodify.vim
23427
23428Patch 8.2.3825
23429Problem: Various comments could be improved.
23430Solution: Improve the comments.
23431Files: src/getchar.c, src/mbyte.c, src/regexp_nfa.c,
23432 src/testdir/test_edit.vim, src/gui_motif.c
23433
23434Patch 8.2.3826
23435Problem: Vim9: using "g:Func" as a funcref does not work in a :def
23436 function.
23437Solution: Include "g:" in the function name. (closes #9336)
23438Files: src/vim9compile.c, src/testdir/test_vim9_func.vim,
23439 src/testdir/test_vim9_disassemble.vim
23440
23441Patch 8.2.3827
23442Problem: Huntr badge does not really fit in the list.
23443Solution: Move the link to Huntr to the issue template.
23444Files: Filelist, .github/ISSUE_TEMPLATE/bug_report.yml, README.md
23445
23446Patch 8.2.3828
23447Problem: when opening a terminal from a timer the first typed character
23448 is lost. (Virginia Senioria)
23449Solution: When opening a terminal while waiting for a character put K_IGNORE
23450 in the input buffer.
23451Files: src/terminal.c, src/edit.c, src/testdir/test_terminal.vim
23452
23453Patch 8.2.3829
23454Problem: No error when setting a func option to a script-local function.
23455Solution: Give an error if the name starts with "s:". (closes #9358)
23456Files: src/option.c, src/testdir/test_tagfunc.vim,
23457 src/testdir/dumps/Test_set_tagfunc_on_cmdline.dump
23458
23459Patch 8.2.3830
23460Problem: Error messages are spread out.
23461Solution: Move more error messages to errors.h.
23462Files: src/globals.h, src/errors.h, src/buffer.c, src/dict.c, src/diff.c,
23463 src/digraph.c, src/eval.c, src/evalfunc.c, src/evalvars.c,
23464 src/misc2.c, src/quickfix.c, src/typval.c, src/ui.c,
23465 src/userfunc.c, src/vim9compile.c, src/vim9execute.c,
23466 src/vim9type.c, src/window.c
23467
23468Patch 8.2.3831
23469Problem: Opfunc test fails when missing feature changes function name.
23470 (Dominique Pellé)
23471Solution: Check the relevant screen line instead of using a screendump.
23472 (closes #9360)
23473Files: src/testdir/test_vim9_func.vim,
23474 src/testdir/dumps/Test_opfunc_error.dump
23475
23476Patch 8.2.3832 (after 8.2.3830)
23477Problem: Test fails because of changed error message.
23478Solution: Adjust the expected error message.
23479Files: src/testdir/test_vimscript.vim
23480
23481Patch 8.2.3833
23482Problem: Error from term_start() not caught by try/catch.
23483Solution: save and restore did_emsg when applying autocommands. (Ozaki
23484 Kiichi, closes #9361)
23485Files: src/autocmd.c, src/testdir/test_terminal3.vim
23486
23487Patch 8.2.3834
23488Problem: Test_out_cb often fails on Mac.
23489Solution: Increase the timeout with every retry.
23490Files: src/testdir/test_channel.vim
23491
23492Patch 8.2.3835
23493Problem: The inline-function example does not work.
23494Solution: Drop ":let". Add EX_EXPR_ARG to CMD_var. (issue #9352)
23495Files: runtime/doc/vim9.txt, src/ex_cmds.h,
23496 src/testdir/test_vim9_expr.vim
23497
23498Patch 8.2.3836
23499Problem: Vim9: comment after expression not skipped to find NL.
23500Solution: After evaluating an expression look for a newline after a #
23501 comment.
23502Files: src/eval.c
23503
23504Patch 8.2.3837
23505Problem: QNX: crash when compiled with GUI but using terminal.
23506Solution: Check gui.in_use is set. (Hirohito Higashi, closes #9363)
23507Files: src/autocmd.c
23508
23509Patch 8.2.3838
23510Problem: Cannot use script-local function for setting *func options.
23511Solution: Use the script context. (Yegappan Lakshmanan, closes #9362)
23512Files: src/option.c, src/testdir/dumps/Test_set_tagfunc_on_cmdline.dump,
23513 src/testdir/test_ins_complete.vim, src/testdir/test_normal.vim,
23514 src/testdir/test_quickfix.vim, src/testdir/test_tagfunc.vim
23515
23516Patch 8.2.3839
23517Problem: Using \z() with \z1 not tested for syntax highlighting.
23518Solution: Add a test. (Dominique Pellé, closes #9365)
23519Files: src/testdir/test_syntax.vim
23520
23521Patch 8.2.3840
23522Problem: Useless test for negative index in check functions.
23523Solution: Remove the test for negative index. (Naruhiko Nishino,
23524 closes #9364)
23525Files: src/typval.c
23526
23527Patch 8.2.3841
23528Problem: Vim9: outdated TODO items, disabled tests that work.
23529Solution: Remove TODO items, run tests that work now. Check that a dict
23530 item isn't locked.
23531Files: src/vim9execute.c, src/evalvars.c, src/errors.h, src/globals.h,
23532 src/testdir/test_listdict.vim, src/testdir/test_vim9_assign.vim
23533
23534Patch 8.2.3842
23535Problem: Vim9: can change locked list and list items.
23536Solution: Check that a list and list item isn't locked.
23537Files: src/vim9execute.c, src/testdir/test_listdict.vim
23538
23539Patch 8.2.3843
23540Problem: Dep3patch files are not recognized.
23541Solution: Recognize dep3patch files by their location and content. (James
23542 McCoy, closes #9367)
23543Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
23544 src/testdir/test_filetype.vim
23545
23546Patch 8.2.3844
23547Problem: Vim9: no type error if assigning a value with type func(number) to
23548 a variable of type func(string).
23549Solution: Use check_type_maybe(): return MAYBE if a runtime type check is
23550 useful. (issue #8492)
23551Files: src/vim9type.c, src/proto/vim9type.pro, src/vim9compile.c,
23552 src/testdir/test_vim9_assign.vim
23553
23554Patch 8.2.3845
23555Problem: Vim9: test fails when the channel feature is missing.
23556Solution: Check for the channel feature. (Dominique Pellé, closes #9368)
23557Files: src/testdir/test_vim9_builtin.vim
23558
23559Patch 8.2.3846
23560Problem: No error when using control character for 'lcs' or 'fcs'.
23561Solution: Use char2cells() to check the width. (closes #9369)
23562Files: src/screen.c, src/testdir/test_display.vim,
23563 src/testdir/test_listchars.vim
23564
23565Patch 8.2.3847
23566Problem: Illegal memory access when using a lambda with an error.
23567Solution: Avoid skipping over the NUL after a string.
23568Files: src/eval.c, src/testdir/test_lambda.vim
23569
23570Patch 8.2.3848
23571Problem: Cannot use reduce() for a string.
23572Solution: Make reduce() work with a string. (Naruhiko Nishino, closes #9366)
23573Files: runtime/doc/eval.txt, src/errors.h, src/evalfunc.c, src/list.c,
23574 src/typval.c, src/proto/typval.pro, src/testdir/test_listdict.vim,
23575 src/testdir/test_vim9_builtin.vim
23576
23577Patch 8.2.3849
23578Problem: Functions implementing reduce and map are too long.
23579Solution: Use a function for each type of value. Add a few more test cases
23580 and add to the help. (Yegappan Lakshmanan, closes #9370)
23581Files: runtime/doc/eval.txt, src/list.c, src/testdir/test_listdict.vim
23582
23583Patch 8.2.3850
23584Problem: Illegal memory access when displaying a partial.
23585Solution: Terminate the string with a NUL. (closes #9371)
23586Files: src/eval.c, src/testdir/test_messages.vim
23587
23588Patch 8.2.3851
23589Problem: Vim9: overhead when comparing string, dict or function.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000023590Solution: Call the intended compare function directly. Refactor to avoid
Bram Moolenaarc51cf032022-02-26 12:25:45 +000023591 duplicated code.
23592Files: src/vim9execute.c, src/typval.c, src/proto/typval.pro
23593
23594Patch 8.2.3852
23595Problem: Vim9: not enough tests.
23596Solution: Also run existing tests for Vim9 script. Make errors more
23597 consistent.
23598Files: src/testdir/test_listdict.vim, src/eval.c, src/vim9compile.c,
23599 src/errors.h
23600
23601Patch 8.2.3853
23602Problem: Vim9: not enough tests.
23603Solution: Run more existing tests for Vim9 script.
23604Files: src/testdir/test_listdict.vim
23605
23606Patch 8.2.3854
23607Problem: Vim9: inconsistent arguments for test functions.
23608Solution: When :def function and script have different arguments use a list
23609 with two items instead of a separate function.
23610Files: src/testdir/vim9.vim, src/testdir/test_execute_func.vim,
23611 src/testdir/test_float_func.vim, src/testdir/test_functions.vim,
23612 src/testdir/test_glob2regpat.vim, src/testdir/test_listdict.vim,
23613 src/testdir/test_vim9_assign.vim,
23614 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim,
23615 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
23616 src/testdir/test_vim9_script.vim
23617
23618Patch 8.2.3855
23619Problem: Illegal memory access when displaying a blob.
23620Solution: Append a NUL at the end. (Yegappan Lakshmanan, closes #9372)
23621Files: src/blob.c, src/regexp_nfa.c, src/testdir/test_blob.vim,
23622 src/testdir/test_messages.vim
23623
23624Patch 8.2.3856
23625Problem: Vim9: not enough tests.
23626Solution: Run more expression tests also with Vim9. Fix an uncovered
23627 problem.
23628Files: src/vim9compile.c, src/testdir/test_expr.vim, src/testdir/vim9.vim
23629
23630Patch 8.2.3857
23631Problem: Vim9: inconsistent error for using function().
23632Solution: Use a runtime type check for the result of function().
23633 (closes #8492)
23634Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
23635
23636Patch 8.2.3858
23637Problem: Vim9: not enough tests.
23638Solution: Add tests for :try/:catch and :redir. Add missing type check.
23639Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
23640 src/testdir/test_vim9_cmd.vim
23641
23642Patch 8.2.3859
23643Problem: Vim9: some code lines not tested.
23644Solution: Add a few specific tests.
23645Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim, src/errors.h,
23646 src/testdir/test_vim9_script.vim
23647
23648Patch 8.2.3860
23649Problem: Vim9: codecov struggles with the file size.
23650Solution: Split vim9compile.c into four files.
23651Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9instr.c,
23652 src/proto/vim9instr.pro, src/vim9expr.c, src/proto/vim9expr.pro,
23653 src/vim9cmds.c, src/proto/vim9cmds.pro, src/vim9.h,
23654 src/vim9execute.c, src/vim9script.c, src/proto.h,
23655 src/Makefile, src/Make_ami.mak, src/Make_cyg_ming.mak,
23656 src/Make_mvc.mak, src/Make_vms.mms
23657
23658Patch 8.2.3861
23659Problem: List of distributed files is outdated.
23660Solution: Add new files.
23661Files: Filelist
23662
23663Patch 8.2.3862
23664Problem: Crash on exit with EXITFREE and using win_execute().
23665Solution: Also save and restore tp_topframe. (issue #9374)
23666Files: src/evalwindow.c, src/testdir/test_execute_func.vim
23667
23668Patch 8.2.3863 (after 8.2.3860)
23669Problem: Various build flags accidentally enabled.
23670Solution: Revert several lines in Makefile.
23671Files: src/Makefile
23672
23673Patch 8.2.3864
23674Problem: Cannot disable requesting key codes from xterm.
23675Solution: Add the 'xtermcodes' option, default on.
23676Files: runtime/doc/options.txt, runtime/doc/term.txt, src/option.h,
23677 src/optiondefs.h, src/term.c, runtime/optwin.vim
23678
23679Patch 8.2.3865
23680Problem: Vim9: compiler complains about using "try" as a struct member.
23681Solution: Rename "try" to "tryref".
23682Files: src/vim9.h, src/vim9cmds.c, src/vim9execute.c, src/vim9instr.c
23683
23684Patch 8.2.3866
23685Problem: Vim9: type checking global variables is inconsistent.
23686Solution: Use the "unknown" type in more places.
23687Files: src/globals.h, src/vim9expr.c, src/vim9instr.c, src/vim9cmds.c,
23688 src/evalfunc.c, src/testdir/test_vim9_func.vim
23689
23690Patch 8.2.3867
23691Problem: Implementation of some list functions too complicated.
23692Solution: Refactor do_sort_uniq(), f_count() and extend() (Yegappan
23693 Lakshmanan, closes #9378)
23694Files: src/list.c
23695
23696Patch 8.2.3868 (after 8.2.3866)
23697Problem: Vim9: function test fails.
23698Solution: Add missing changes. Add test for earlier patch.
23699Files: src/vim9type.c, src/testdir/test_vim9_disassemble.vim
23700
23701Patch 8.2.3869
23702Problem: Vim9: type checking for "any" is inconsistent.
23703Solution: Always use a runtime type check for using "any" for a more
23704 specific type.
23705Files: src/vim9type.c, src/vim9compile.c, src/vim9expr.c,
23706 src/testdir/test_vim9_func.vim
23707
23708Patch 8.2.3870
23709Problem: MS-Windows: wrong working directory when opening two files with
23710 right-click context menu. (Gabriel Dupras)
23711Solution: Use the working directory and pass it on to the process creation.
23712 (Nir Lichtman, closes #9382, closes #8874)
23713Files: src/GvimExt/gvimext.cpp, src/GvimExt/gvimext.h
23714
23715Patch 8.2.3871
23716Problem: List.c contains code for dict and blob.
23717Solution: Refactor to put code where it belongs. (Yegappan Lakshmanan,
23718 closes #9386)
23719Files: src/blob.c, src/dict.c, src/list.c, src/proto/blob.pro,
23720 src/proto/dict.pro, src/proto/list.pro, src/proto/strings.pro,
23721 src/strings.c, src/structs.h, src/testdir/test_filter_map.vim,
23722 src/testdir/test_listdict.vim, src/testdir/test_sort.vim
23723
23724Patch 8.2.3872
23725Problem: Vim9: finddir() and uniq() return types can be more specific.
23726Solution: Adjust the return type.
23727Files: src/evalfunc.c, src/testdir/vim9.vim,
23728 src/testdir/test_vim9_builtin.vim
23729
23730Patch 8.2.3873
23731Problem: go.mod files are not recognized.
23732Solution: Check for the file name. (closes #9380)
23733Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23734
23735Patch 8.2.3874
23736Problem: Cannot highlight the number column for a sign.
23737Solution: Add the "numhl" argument. (James McCoy, closes #9381)
23738Files: runtime/doc/options.txt, runtime/doc/sign.txt, src/drawline.c,
23739 src/popupwin.c, src/proto/sign.pro, src/sign.c, src/structs.h,
23740 src/testdir/test_signs.vim
23741
23742Patch 8.2.3875
23743Problem: gcc complains about buffer overrun.
23744Solution: Use mch_memmove() instead of STRCPY(). (John Marriott)
23745Files: src/dict.c
23746
23747Patch 8.2.3876
23748Problem: 'cindent' does not recognize inline namespace.
23749Solution: Skip over "inline" to find "namespace". (closes #9383)
23750Files: src/cindent.c, src/testdir/test_cindent.vim
23751
23752Patch 8.2.3877
23753Problem: Function does not abort after a type error in compare
23754Solution: Check getting number fails. (closes #9384)
23755Files: src/typval.c, src/testdir/test_vim9_expr.vim
23756
23757Patch 8.2.3878
23758Problem: Vim9: debugger tries to read more lines than there are.
23759Solution: Check the number of lines. (closes #9394)
23760Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
23761
23762Patch 8.2.3879
23763Problem: getreg() and getregtype() contain dead code.
23764Solution: Remove the needless check. (closes #9392) Also refactor to put
23765 common code in a shared function.
23766Files: src/evalfunc.c
23767
23768Patch 8.2.3880
23769Problem: Solution filter files are not recognized.
23770Solution: Add pattern *.slnf and use json. (Doug Kearns)
23771Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23772
23773Patch 8.2.3881
23774Problem: QNX: crash when compiled with GUI but using terminal.
23775Solution: Check the gui.in_use flag. (Hirohito Higashi, closes #9391)
23776Files: src/main.c
23777
23778Patch 8.2.3882 (after 8.2.3879)
23779Problem: More duplicated code in f_getreginfo().
23780Solution: Also use getreg_get_regname(). (closes #9398)
23781Files: src/evalfunc.c
23782
23783Patch 8.2.3883
23784Problem: Crash when switching to other regexp engine fails.
23785Solution: Check for regprog being NULL.
23786Files: src/ex_cmds.c
23787
23788Patch 8.2.3884
23789Problem: Crash when clearing the argument list while using it.
23790Solution: Lock the argument list for ":all".
23791Files: src/arglist.c, src/testdir/test_arglist.vim
23792
23793Patch 8.2.3885
23794Problem: Arglist test fails.
23795Solution: Adjust for locking the arglist for ":all".
23796Files: src/testdir/test_arglist.vim
23797
23798Patch 8.2.3886
23799Problem: Can define autocmd for every event by using "au!".
23800Solution: Check if a command is present also for "au!".
23801Files: src/autocmd.c, src/testdir/test_autocmd.vim,
23802 src/testdir/test_arglist.vim
23803
23804Patch 8.2.3887
23805Problem: E1135 is used for two different errors.
23806Solution: Renumber one error.
23807Files: src/errors.h, src/testdir/test_mapping.vim
23808
23809Patch 8.2.3888
23810Problem: The argument list may contain duplicates.
23811Solution: Add the :argdedeupe command. (Nir Lichtman, closes #6235)
23812Files: runtime/doc/editing.txt, runtime/doc/index.txt, src/arglist.c,
23813 src/ex_cmdidxs.h, src/ex_cmds.h, src/proto/arglist.pro,
23814 src/testdir/test_arglist.vim
23815
23816Patch 8.2.3889
23817Problem: Duplicate code for translating script-local function name.
23818Solution: Move the code to get_scriptlocal_funcname(). (Yegappan Lakshmanan,
23819 closes #9393)
23820Files: src/evalfunc.c, src/evalvars.c, src/option.c, src/userfunc.c,
23821 src/proto/userfunc.pro, src/testdir/test_expr.vim,
23822 src/testdir/test_normal.vim
23823
23824Patch 8.2.3890
23825Problem: Vim9: type check for using v: variables is basic.
23826Solution: Specify a more precise type.
23827Files: src/evalvars.c, src/proto/evalvars.pro, src/vim9instr.c,
23828 src/testdir/test_vim9_expr.vim
23829
23830Patch 8.2.3891
23831Problem: Github CI: workflows may overlap.
23832Solution: Cancel previous workflows when starting a new one. (Yegappan
23833 Lakshmanan, closes #9400)
23834Files: .github/workflows/ci.yml, .github/workflows/codeql-analysis.yml
23835
23836Patch 8.2.3892
23837Problem: When modifyOtherKeys is used CTRL-C is not recognized.
23838Solution: Check for uppercase C as well, fix minimum length.
23839Files: src/ui.c
23840
23841Patch 8.2.3893
23842Problem: Vim9: many local variables are initialized with an instruction.
23843Solution: Initialize local variables to zero to avoid the instructions.
23844Files: src/vim9execute.c, src/vim9compile.c, src/vim9instr.c,
23845 src/proto/vim9instr.pro, src/vim9cmds.c,
23846 src/testdir/test_vim9_disassemble.vim
23847
23848Patch 8.2.3894
23849Problem: Vim9: no proper type check for first argument of call().
23850Solution: Add specific type check.
23851Files: src/evalfunc.c, src/typval.c, src/proto/typval.pro,
23852 src/errors.h, src/testdir/test_vim9_builtin.vim
23853
23854Patch 8.2.3895
23855Problem: Vim9: confusing error when using function() with a number.
23856Solution: Check for a function or string argument.
23857Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
23858
23859Patch 8.2.3896
23860Problem: Vim9: no test for nested function not available later.
23861Solution: Add a test.
23862Files: src/testdir/test_vim9_func.vim
23863
23864Patch 8.2.3897
23865Problem: Vim9: the second argument of map() and filter() is not checked at
23866 compile time.
23867Solution: Add more specific type check for the second argument.
23868Files: src/evalfunc.c, src/globals.h, src/list.c,
23869 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim,
23870 src/testdir/test_vim9_script.vim
23871
23872Patch 8.2.3898
23873Problem: Vim9: not sufficient testing for variable initialization.
23874Solution: Add another test case.
23875Files: src/testdir/test_vim9_disassemble.vim
23876
23877Patch 8.2.3899 (after 8.2.3897)
23878Problem: Vim9: test for map() on string fails.
23879Solution: Expect string return type.
23880Files: src/evalfunc.c
23881
23882Patch 8.2.3900
23883Problem: It is not easy to use a script-local function for an option.
23884Solution: recognize s: and <SID> at the start of the expression. (Yegappan
23885 Lakshmanan, closes #9401)
23886Files: runtime/doc/diff.txt, runtime/doc/fold.txt,
23887 runtime/doc/options.txt, runtime/doc/print.txt, src/optionstr.c,
23888 src/testdir/test_diffmode.vim, src/testdir/test_edit.vim,
23889 src/testdir/test_fold.vim, src/testdir/test_gf.vim,
23890 src/testdir/test_gui.vim, src/testdir/test_hardcopy.vim,
23891 src/testdir/test_normal.vim
23892
23893Patch 8.2.3901
23894Problem: Vim9: Cannot set 'cpo' in main .vimrc if using Vim9 script.
23895Solution: Do not restore 'cpo' at the end of the main .vimrc.
23896Files: runtime/doc/vim9.txt, runtime/doc/options.txt, src/scriptfile.c,
23897 src/structs.h, src/testdir/test_vim9_script.vim
23898
23899Patch 8.2.3902
23900Problem: Vim9: double free with nested :def function.
23901Solution: Pass "line_to_free" from compile_def_function() and make sure
23902 cmdlinep is valid.
23903Files: src/vim9compile.c, src/userfunc.c, src/proto/userfunc.pro,
23904 src/vim9execute.c, src/testdir/test_vim9_func.vim
23905
23906Patch 8.2.3903
23907Problem: "gM" does not count tabs as expected.
23908Solution: Use linetabsize() instead of mb_string2cells(). (closes #9409)
23909Files: src/normal.c, src/testdir/test_normal.vim
23910
23911Patch 8.2.3904
23912Problem: Vim9: skip expression type is not checked at compile time.
23913Solution: Add argument type checks.
23914Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
23915
23916Patch 8.2.3905
23917Problem: Dockerfile using prefix name not recognized.
23918Solution: Recognize Dockerfile.*. (closes #9410)
23919Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23920
23921Patch 8.2.3906
23922Problem: Vim9 help still contains "under development" warnings.
23923Solution: Remove the explicit warning.
23924Files: runtime/doc/vim9.txt
23925
23926Patch 8.2.3907
23927Problem: Error messages are spread out.
23928Solution: Move error messages to errors.h. Avoid duplicates.
23929Files: src/userfunc.c, src/ex_cmds.c, src/viminfo.c, src/errors.h,
23930 src/testdir/test_user_func.vim
23931
23932Patch 8.2.3908
23933Problem: Cannot use a script-local function for 'foldtext'.
23934Solution: Expand "s:" and "<SID>". (Yegappan Lakshmanan, closes #9411)
23935Files: runtime/doc/fold.txt, src/optionstr.c, src/strings.c,
23936 src/testdir/test_blob.vim, src/testdir/test_expr.vim,
23937 src/testdir/test_filter_map.vim, src/testdir/test_fold.vim,
23938 src/testdir/test_listdict.vim
23939
23940Patch 8.2.3909
23941Problem: Containerfile using prefix name not recognized.
23942Solution: Recognize Containerfile.*.
23943Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23944
23945Patch 8.2.3910
23946Problem: When the compare function of sort() produces and error then sort()
23947 does not abort.
23948Solution: Check if did_emsg was incremented.
23949Files: src/list.c, src/testdir/test_vim9_builtin.vim
23950
23951Patch 8.2.3911
23952Problem: Vim9: type check for filter() does not accept unknown.
23953Solution: Also accept unknown for the return type. (closes #9413)
23954Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
23955
23956Patch 8.2.3912
23957Problem: The ins_complete() function is much too long.
23958Solution: Split it up into multiple functions. (Yegappan Lakshmanan,
23959 closes #9414)
23960Files: src/insexpand.c
23961
23962Patch 8.2.3913
23963Problem: Help for expressions does not mention Vim9 syntax.
23964Solution: Add the rules for Vim9 to the expression help. Rename functions
23965 to match the help.
23966Files: runtime/doc/vim9.txt, runtime/doc/eval.txt, src/vim9expr.c
23967
23968Patch 8.2.3914
23969Problem: Various spelling mistakes in comments.
23970Solution: Fix the mistakes. (Dominique Pellé, closes #9416)
23971Files: src/alloc.c, src/blowfish.c, src/buffer.c, src/cindent.c,
23972 src/clipboard.c, src/diff.c, src/drawline.c, src/edit.c,
23973 src/ex_cmds.c, src/ex_docmd.c, src/findfile.c, src/fold.c,
23974 src/getchar.c, src/gui.c, src/gui_athena.c, src/gui_gtk.c,
23975 src/gui_motif.c, src/gui_photon.c, src/gui_w32.c, src/gui_xmebw.c,
23976 src/if_python.c, src/if_python3.c, src/if_xcmdsrv.c, src/main.c,
23977 src/memline.c, src/menu.c, src/message.c, src/misc1.c, src/move.c,
23978 src/option.c, src/os_amiga.c, src/os_mac.h, src/os_mac_conv.c,
23979 src/os_mswin.c, src/os_unix.c, src/os_win32.c, src/os_win32.h,
23980 src/quickfix.c, src/regexp_nfa.c, src/screen.c, src/scriptfile.c,
23981 src/spell.c, src/spellfile.c, src/spellsuggest.c, src/strings.c,
23982 src/term.c, src/terminal.c, src/testdir/test_debugger.vim,
23983 src/testdir/test_source.vim, src/textformat.c, src/userfunc.c,
23984 src/vim.h, src/vim9.h, src/vim9cmds.c, src/vim9execute.c,
23985 src/winclip.c, src/window.c
23986
23987Patch 8.2.3915
23988Problem: illegal memory access when completing with invalid bytes.
23989Solution: Avoid going over the end of the completion text.
23990Files: src/insexpand.c, src/testdir/test_ins_complete.vim
23991
23992Patch 8.2.3916
23993Problem: No error for passing an invalid line number to append().
23994Solution: In Vim9 script check for a non-negative number. (closes #9417)
23995Files: src/evalbuffer.c, src/textprop.c, src/errors.h, src/indent.c,
23996 src/eval.c, src/testdir/test_vim9_builtin.vim
23997
23998Patch 8.2.3917
23999Problem: The eval.txt help file is way too big.
24000Solution: Move the builtin function details to a separate file.
24001Files: runtime/doc/eval.txt, runtime/doc/builtin.txt,
24002 runtime/doc/Makefile, runtime/doc/help.txt, runtime/doc/remote.txt
24003
24004Patch 8.2.3918 (after 8.2.3916)
24005Problem: Function list test fails.
24006Solution: Adjust the test for the new location of the function list.
24007Files: src/testdir/test_function_lists.vim
24008
24009Patch 8.2.3919
24010Problem: Vim9: wrong argument for append() results in two errors.
24011Solution: Check did_emsg. Also for setline(). Adjust the help for
24012 appendbufline().
24013Files: runtime/doc/builtin.txt, src/evalbuffer.c, src/typval.c,
24014 src/testdir/test_vim9_builtin.vim
24015
24016Patch 8.2.3920
24017Problem: Restoring directory after using another window is inefficient.
24018Solution: Only restore the directory for win_execute(). Apply 'autochdir'
24019 only when needed.
24020Files: src/evalwindow.c, src/testdir/test_autochdir.vim
24021
24022Patch 8.2.3921
24023Problem: The way xdiff is used is inefficient.
24024Solution: Use hunk_func instead of the out_line callback. (Lewis Russell,
24025 closes #9344)
24026Files: src/diff.c
24027
24028Patch 8.2.3922
24029Problem: Cannot build with dynamic Ruby 3.1.
24030Solution: Add "_EXTRA" variables for CI. Add missing functions. (Ozaki
24031 Kiichi, closes #9420)
24032Files: ci/config.mk.clang-12.sed, ci/config.mk.clang.sed,
24033 ci/config.mk.sed, src/Makefile, src/auto/configure,
24034 src/config.mk.in, src/configure.ac, src/if_ruby.c, src/vim.h
24035
24036Patch 8.2.3923
24037Problem: Vim9: double free if a nested function has a line break in the
24038 argument list.
24039Solution: Set cmdlinep when freeing the previous line.
24040Files: src/userfunc.c, src/testdir/test_vim9_func.vim
24041
24042Patch 8.2.3924
24043Problem: Vim9: no error if something follows :enddef in a nested function.
24044Solution: Give an error. Move common code to a function.
24045Files: src/userfunc.c, src/vim9compile.c, src/errors.h,
24046 src/testdir/test_vim9_func.vim
24047
24048Patch 8.2.3925
24049Problem: Diff mode confused by NUL bytes.
24050Solution: Handle NUL bytes differently. (Christian Brabandt, closes #9421,
24051 closes #9418)
24052Files: src/diff.c, src/testdir/test_diffmode.vim,
24053 src/testdir/dumps/Test_diff_bin_01.dump,
24054 src/testdir/dumps/Test_diff_bin_02.dump,
24055 src/testdir/dumps/Test_diff_bin_03.dump,
24056 src/testdir/dumps/Test_diff_bin_04.dump
24057
24058Patch 8.2.3926 (after 8.2.3920)
24059Problem: Build failure without the 'autochdir' option. (John Marriott)
24060Solution: Add #ifdefs.
24061Files: src/evalwindow.c
24062
24063Patch 8.2.3927
24064Problem: Vim9: double free when using lambda.
24065Solution: Don't free both cmdline and line_to_free.
24066Files: src/userfunc.c
24067
24068Patch 8.2.3928
24069Problem: Heredoc test fails.
24070Solution: Correct order of function arguments.
24071Files: src/userfunc.c
24072
24073Patch 8.2.3929
Bram Moolenaar1588bc82022-03-08 21:35:07 +000024074Problem: Using uninitialized variable.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024075Solution: Set the option flags to zero for a terminal option.
24076Files: src/option.c
24077
24078Patch 8.2.3930
24079Problem: getcmdline() argument has a misleading type.
24080Solution: Use the correct type, even though the value is not used.
24081Files: src/ex_getln.c, src/proto/ex_getln.pro, src/ex_docmd.c,
24082 src/normal.c, src/register.c, src/userfunc.c
24083
24084Patch 8.2.3931
24085Problem: Coverity reports a memory leak.
24086Solution: Free memory in case of failure.
24087Files: src/diff.c
24088
24089Patch 8.2.3932
24090Problem: C line comment not formatted properly.
24091Solution: If a line comment follows after "#if" the next line is not the end
24092 of a paragraph.
24093Files: src/textformat.c, src/testdir/test_textformat.vim
24094
24095Patch 8.2.3933
24096Problem: After ":cd" fails ":cd -" is incorrect.
24097Solution: Set the previous directory only after successfully changing
24098 directory. (Richard Doty, closes #9419, closes #8983)
24099Files: src/ex_docmd.c, src/testdir/test_cd.vim
24100
24101Patch 8.2.3934
24102Problem: Repeating line comment is undesired for "O" command.
24103Solution: Do not copy line comment leader for "O". (closes #9426)
24104Files: src/change.c, src/testdir/test_textformat.vim
24105
24106Patch 8.2.3935
24107Problem: CTRL-U in Insert mode does not fix the indent.
24108Solution: Fix the indent when 'cindent' is set.
24109Files: src/edit.c, src/testdir/test_textformat.vim
24110
24111Patch 8.2.3936
24112Problem: No proper test for maintaining change mark in diff mode.
24113Solution: Run the test with internal and external diff. (Sean Dewar,
24114 closes #9424)
24115Files: src/testdir/test_diffmode.vim
24116
24117Patch 8.2.3937
24118Problem: Insert mode completion function is too long.
24119Solution: Refactor into multiple functions. (Yegappan Lakshmanan,
24120 closes #9423)
24121Files: src/insexpand.c, src/testdir/test_ins_complete.vim
24122
24123Patch 8.2.3938
24124Problem: Line comment start is also found in a string.
24125Solution: Skip line comments in a string.
24126Files: src/cindent.c, src/proto/cindent.pro, src/search.c,
24127 src/testdir/test_textformat.vim
24128
24129Patch 8.2.3939
24130Problem: MS-Windows: fnamemodify('', ':p') does not work.
24131Solution: Do not consider an empty string a full path. (Yegappan Lakshmanan,
24132 closes #9428, closes #9427)
24133Files: src/os_mswin.c, src/testdir/test_fnamemodify.vim
24134
24135Patch 8.2.3940
24136Problem: Match highlight disappears when doing incsearch for ":s/pat".
24137Solution: Only use line limit for incsearch highlighting. (closes #9425)
24138Files: src/match.c, src/testdir/test_match.vim,
24139 src/testdir/dumps/Test_match_with_incsearch_1.dump,
24140 src/testdir/dumps/Test_match_with_incsearch_2.dump
24141
24142Patch 8.2.3941
24143Problem: SIGTSTP is not handled.
24144Solution: Handle SIGTSTP like pressing CTRL-Z. (closes #9422)
24145Files: runtime/doc/autocmd.txt, src/ex_docmd.c, src/os_unix.c,
24146 src/proto/ex_docmd.pro, src/testdir/test_signals.vim
24147
24148Patch 8.2.3942
24149Problem: Coverity reports a possible memory leak.
24150Solution: Free the array if allocation fails.
24151Files: src/insexpand.c
24152
24153Patch 8.2.3943
24154Problem: Compiler warning from gcc for uninitialized variable.
24155Solution: Initialize variable. (closes #9429)
24156Files: src/diff.c
24157
24158Patch 8.2.3944
24159Problem: Insert mode completion functions are too long.
24160Solution: Split up into multiple functions. (Yegappan Lakshmanan,
24161 closes #9431)
24162Files: src/insexpand.c, src/testdir/test_ins_complete.vim
24163
24164Patch 8.2.3945
24165Problem: Vim9: partial variable argument types are wrong, leading to a
24166 crash.
24167Solution: When adjusting the argument count also adjust the argument types.
24168 (closes #9433)
24169Files: src/vim9type.c, src/userfunc.c, src/testdir/test_vim9_assign.vim
24170
24171Patch 8.2.3946
24172Problem: When an internal error makes Vim exit the error is not seen.
24173Solution: Add the error to the test output.
24174Files: src/message.c, src/testdir/runtest.vim
24175
24176Patch 8.2.3947
24177Problem: Unnecessary check for NULL pointer.
24178Solution: Remove the check. (closes #9434)
24179Files: src/ex_docmd.c
24180
24181Patch 8.2.3948
24182Problem: Vim9: failure with partial with unknown argument count.
24183Solution: Do not copy argument types if there aren't any.
24184Files: src/vim9type.c
24185
24186Patch 8.2.3949
24187Problem: Using freed memory with /\%V.
24188Solution: Get the line again after getvvcol().
24189Files: src/regexp.c, src/testdir/test_regexp_latin.vim
24190
24191Patch 8.2.3950
24192Problem: Going beyond the end of the line with /\%V.
24193Solution: Check for valid column in getvcol().
24194Files: src/charset.c, src/testdir/test_regexp_latin.vim
24195
24196Patch 8.2.3951
24197Problem: Vim9: memory leak when text after a nested function.
24198Solution: Free the function if text is found after "enddef".
24199Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
24200
24201Patch 8.2.3952
24202Problem: First line not redrawn when adding lines to an empty buffer.
24203Solution: Adjust the argument to appended_lines(). (closes #9439,
24204 closes #9438)
24205Files: src/ex_cmds.c, src/testdir/test_excmd.vim
24206
24207Patch 8.2.3953
24208Problem: Insert completion code is too complicated.
24209Solution: More refactoring. Move function arguments into a struct.
24210 (Yegappan Lakshmanan, closes #9437)
24211Files: src/insexpand.c
24212
24213Patch 8.2.3954
24214Problem: Vim9: no error for shadowing if script var is declared later.
24215Solution: Check argument names when compiling a function.
24216Files: src/vim9compile.c, src/testdir/test_vim9_func.vim,
24217 src/testdir/test_vim9_assign.vim
24218
24219Patch 8.2.3955
24220Problem: Error messages are spread out.
24221Solution: Move more errors to errors.h.
24222Files: src/errors.h, src/globals.h, src/debugger.c, src/ex_cmds.c,
24223 src/help.c, src/sign.c, src/spellfile.c
24224
24225Patch 8.2.3956
24226Problem: Duplicate assignment.
24227Solution: Remove the second assignment. (closes #9442)
24228Files: src/evalfunc.c
24229
24230Patch 8.2.3957
24231Problem: Error messages are spread out.
24232Solution: Move more errors to errors.h.
24233Files: src/errors.h, src/globals.h, src/arglist.c, src/bufwrite.c,
Bram Moolenaar47c532e2022-03-19 15:18:53 +000024234 src/evalvars.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_eval.c,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024235 src/help.c, src/scriptfile.c, src/usercmd.c, src/userfunc.c,
24236 src/vim9cmds.c, src/vim9compile.c
24237
24238Patch 8.2.3958
24239Problem: Build failure compiling xxd with "-std=c2x".
24240Solution: define _XOPEN_SOURCE. (Yegappan Lakshmanan, closes #9444)
24241Files: src/xxd/xxd.c
24242
24243Patch 8.2.3959
24244Problem: Error messages are spread out.
24245Solution: Move more errors to errors.h.
24246Files: src/errors.h, src/autocmd.c, src/bufwrite.c, src/evalvars.c,
24247 src/ex_docmd.c, src/ex_eval.c, src/ex_getln.c, src/fileio.c,
24248 src/getchar.c, src/gui.c, src/locale.c, src/map.c
24249
24250Patch 8.2.3960
24251Problem: Error messages are spread out.
24252Solution: Move more errors to errors.h.
24253Files: src/errors.h, src/alloc.c, src/arglist.c, src/autocmd.c,
24254 src/blob.c, src/blowfish.c, src/buffer.c, src/bufwrite.c
24255
24256Patch 8.2.3961
24257Problem: Error messages are spread out.
24258Solution: Move more errors to errors.h.
Bram Moolenaar47c532e2022-03-19 15:18:53 +000024259Files: src/errors.h, src/globals.h, src/arglist.c, src/autocmd.c,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024260 src/blob.c, src/bufwrite.c, src/channel.c, src/clipboard.c,
24261 src/cmdexpand.c, src/debugger.c, src/dict.c, src/eval.c,
24262 src/evalfunc.c, src/evalvars.c, src/evalwindow.c, src/ex_cmds.c,
24263 src/ex_docmd.c, src/ex_eval.c, src/ex_getln.c, src/fileio.c,
24264 src/filepath.c, src/gui_gtk_x11.c, src/gui_haiku.cc,
24265 src/gui_photon.c, src/gui_w32.c, src/gui_x11.c, src/highlight.c,
24266 src/indent.c, src/insexpand.c, src/job.c, src/json.c, src/list.c,
24267 src/map.c, src/mark.c, src/match.c, src/mbyte.c, src/menu.c,
24268 src/message.c, src/misc2.c, src/ops.c, src/option.c,
24269 src/optionstr.c, src/popupwin.c, src/quickfix.c, src/screen.c,
24270 src/scriptfile.c, src/search.c, src/sign.c, src/spell.c,
24271 src/spellfile.c, src/strings.c, src/syntax.c, src/terminal.c,
24272 src/testing.c, src/textprop.c, src/time.c, src/userfunc.c,
24273 src/vim9cmds.c, src/vim9execute.c, src/vim9script.c, src/window.c
24274
24275Patch 8.2.3962 (after 8.2.3961)
24276Problem: Build fails for missing error message.
24277Solution: Add changes in missed file.
24278Files: src/regexp_bt.c
24279
24280Patch 8.2.3963
24281Problem: Build failure with tiny and small features. (Tony Mechelynck)
24282Solution: Adjust #ifdefs.
24283Files: src/errors.h, src/message.c
24284
24285Patch 8.2.3964
24286Problem: Some common lisp and scheme files not recognized.
24287Solution: Recognize *.asd as lisp and *.sld as scheme. (Alex Vear,
24288 closes #9447)
24289Files: runtime/filetype.vim, src/testdir/test_filetype.vim
24290
24291Patch 8.2.3965
24292Problem: Vim9: no easy way to check if Vim9 script is supported.
24293Solution: Add has('vim9script').
24294Files: runtime/doc/vim9.txt, src/evalfunc.c,
24295 src/testdir/test_vim9_script.vim
24296
24297Patch 8.2.3966
24298Problem: When using feedkeys() abbreviations may be blocked.
24299Solution: Reset tb_no_abbr_cnt when running out of characters.
24300 (closes #9448)
24301Files: src/getchar.c, src/testdir/test_feedkeys.vim
24302
24303Patch 8.2.3967
24304Problem: Error messages are spread out.
24305Solution: Move more errors to errors.h.
24306Files: src/errors.h, src/globals.h, src/feature.h, src/arglist.c,
24307 src/autocmd.c, src/blob.c, src/bufwrite.c, src/channel.c,
24308 src/cmdexpand.c, src/dict.c, src/diff.c, src/eval.c,
24309 src/evalfunc.c, src/evalvars.c, src/ex_cmds.c, src/ex_docmd.c,
24310 src/fileio.c, src/filepath.c, src/getchar.c, src/gui_gtk_x11.c,
24311 src/gui_x11.c, src/hardcopy.c, src/help.c, src/highlight.c,
24312 src/if_cscope.c, src/if_lua.c, src/if_mzsch.c, src/if_perl.xs,
24313 src/if_python.c, src/if_python3.c, src/if_ruby.c, src/if_tcl.c,
24314 src/if_xcmdsrv.c, src/indent.c, src/insexpand.c, src/job.c,
24315 src/list.c, src/main.c, src/map.c, src/match.c, src/mbyte.c,
24316 src/message.c, src/misc1.c, src/option.c, src/optionstr.c,
24317 src/os_mswin.c, src/os_unix.c, src/os_win32.c, src/popupwin.c,
24318 src/profiler.c, src/quickfix.c, src/scriptfile.c, src/search.c,
24319 src/session.c, src/sign.c, src/spell.c, src/spellfile.c,
24320 src/spellsuggest.c, src/syntax.c, src/tag.c, src/terminal.c,
24321 src/testing.c, src/textprop.c, src/typval.c, src/userfunc.c,
24322 src/vim9execute.c, src/vim9expr.c, src/vim9instr.c,
24323 src/vim9script.c
24324
24325Patch 8.2.3968
24326Problem: Build failure.
24327Solution: Add missing changes.
24328Files: src/strings.c, src/vim9compile.c
24329
24330Patch 8.2.3969
24331Problem: Value of MAXCOL not available in Vim script.
24332Solution: Add v:maxcol. (Naohiro Ono, closes #9451)
24333Files: runtime/doc/builtin.txt, runtime/doc/eval.txt, src/evalvars.c,
24334 src/testdir/test_cursor_func.vim, src/testdir/test_normal.vim,
24335 src/testdir/test_put.vim, src/vim.h
24336
24337Patch 8.2.3970
24338Problem: Error messages are spread out.
24339Solution: Move more errors to errors.h.
24340Files: src/errors.h, src/globals.h, src/buffer.c, src/bufwrite.c,
24341 src/clientserver.c, src/cmdhist.c, src/dict.c, src/edit.c,
24342 src/eval.c, src/evalfunc.c, src/evalvars.c, src/ex_cmds.c,
24343 src/ex_docmd.c, src/ex_eval.c, src/ex_getln.c, src/gui_w32.c,
24344 src/gui_x11.c, src/if_xcmdsrv.c, src/insexpand.c, src/json.c,
24345 src/match.c, src/menu.c, src/option.c, src/optionstr.c,
24346 src/os_mswin.c, src/quickfix.c, src/regexp_bt.c, src/regexp_nfa.c,
24347 src/scriptfile.c, src/sign.c, src/spellfile.c, src/undo.c,
24348 src/userfunc.c, src/vim9cmds.c, src/vim9compile.c,
24349 src/vim9execute.c, src/vim9expr.c, src/window.c
24350
24351Patch 8.2.3971
24352Problem: Build fails.
24353Solution: Use the right error message name.
24354Files: src/typval.c
24355
24356Patch 8.2.3972
24357Problem: Error messages are spread out.
24358Solution: Move the last errors from globals.h to errors.h.
24359Files: src/errors.h, src/globals.h, src/eval.c, src/evalfunc.c,
24360 src/evalvars.c, src/evalwindow.c, src/ex_eval.c, src/list.c,
24361 src/match.c, src/menu.c, src/popupmenu.c, src/search.c,
24362 src/vim9cmds.c, src/vim9expr.c
24363
24364Patch 8.2.3973
24365Problem: Tiny build fails.
24366Solution: Adjust #ifdefs
24367Files: src/errors.h
24368
24369Patch 8.2.3974
24370Problem: Vim9: LISTAPPEND instruction does not check for a locked list.
24371Solution: Check whether the list is locked. (closes #9452)
24372Files: src/vim9execute.c, src/testdir/test_vim9_builtin.vim
24373
24374Patch 8.2.3975
24375Problem: Error messages are spread out.
24376Solution: Move more error messages to errors.h.
24377Files: src/errors.h, src/clientserver.c, src/fileio.c, src/gui.c,
24378 src/gui_beval.c, src/gui_w32.c, src/gui_x11.c, src/if_cscope.c,
24379 src/if_xcmdsrv.c, src/os_mswin.c, src/sign.c, src/viminfo.c,
24380 src/window.c
24381
24382Patch 8.2.3976
24383Problem: FEARG_LAST is never used. (Dominique Pellé)
24384Solution: Remove FEARG_LAST and the related code.
24385Files: src/evalfunc.c
24386
24387Patch 8.2.3977
24388Problem: Error messages are spread out.
24389Solution: Move more error messages to errors.h.
24390Files: src/errors.h, src/change.c, src/clientserver.c, src/eval.c,
24391 src/gui_xim.c, src/if_cscope.c, src/if_py_both.h, src/if_python.c,
24392 src/if_python3.c, src/if_ruby.c, src/if_tcl.c, src/main.c,
24393 src/mark.c, src/match.c, src/memfile.c, src/memline.c,
24394 src/terminal.c, src/textprop.c, src/userfunc.c
24395
24396Patch 8.2.3978
Bram Moolenaar1588bc82022-03-08 21:35:07 +000024397Problem: Build error when using dynamically loaded Python 3.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024398Solution: Adjust #ifdef.
24399Files: src/errors.h
24400
24401Patch 8.2.3979
24402Problem: Vim9: the feature is not mentioned in the right places.
24403Solution: Add +vim9script to the help and :version output.
24404Files: runtime/doc/builtin.txt, runtime/doc/various.txt, src/version.c
24405
24406Patch 8.2.3980
24407Problem: If 'operatorfunc' invokes an operator the remembered Visual mode
24408 may be changed. (Naohiro Ono)
24409Solution: Save and restore the information for redoing the Visual area.
24410 (closes #9455)
24411Files: src/ops.c, src/testdir/test_normal.vim
24412
24413Patch 8.2.3981
24414Problem: Vim9: debugging a for loop doesn't stop before it starts.
24415Solution: Keep the DEBUG instruction before the expression is evaluated.
24416 (closes #9456)
24417Files: src/vim9cmds.c, src/testdir/test_vim9_disassemble.vim
24418
24419Patch 8.2.3982
24420Problem: Some lines of code not covered by tests.
24421Solution: Add a few more test cases. (Dominique Pellé, closes #9453)
24422Files: src/testdir/test_filter_map.vim, src/testdir/test_highlight.vim,
24423 src/testdir/test_regexp_latin.vim, src/testdir/test_search.vim,
24424 src/testdir/test_vim9_builtin.vim
24425
24426Patch 8.2.3983
24427Problem: Error messages are spread out.
24428Solution: Move more error messages to errors.h.
24429Files: src/errors.h, src/ex_docmd.c, src/fileio.c, src/filepath.c,
24430 src/findfile.c, src/hardcopy.c, src/memfile.c, src/memline.c,
24431 src/menu.c, src/normal.c, src/regexp_bt.c
24432
24433Patch 8.2.3984 (after 8.2.3981)
24434Problem: Debugger test fails.
24435Solution: Adjust the test for modified debugging of a for loop.
24436Files: src/testdir/test_debugger.vim
24437
24438Patch 8.2.3985
24439Problem: Error messages are spread out.
24440Solution: Move more error messages to errors.h.
24441Files: src/errors.h, src/findfile.c, src/fold.c, src/hardcopy.c,
24442 src/highlight.c, src/map.c, src/message.c, src/normal.c,
24443 src/option.c, src/os_amiga.c, src/os_unix.c, src/os_win32.c,
24444 src/quickfix.c, src/regexp.c, src/register.c, src/search.c,
24445 src/syntax.c, src/tag.c, src/term.c, src/typval.c, src/undo.c,
24446 src/window.c
24447
24448Patch 8.2.3986
24449Problem: Error messages are spread out.
24450Solution: Move more error messages to errors.h.
24451Files: src/errors.h, src/evalvars.c, src/ex_cmds.c, src/ex_docmd.c,
24452 src/fileio.c, src/fold.c, src/gui_x11.c, src/hardcopy.c,
24453 src/help.c, src/highlight.c, src/if_cscope.c, src/json.c,
24454 src/map.c, src/netbeans.c, src/popupwin.c, src/usercmd.c,
24455 src/userfunc.c
24456
24457Patch 8.2.3987
24458Problem: Error messages are spread out.
24459Solution: Move more error messages to errors.h.
24460Files: src/errors.h, src/digraph.c, src/ex_eval.c, src/gui.c,
24461 src/hardcopy.c, src/if_cscope.c, src/if_tcl.c, src/if_xcmdsrv.c,
24462 src/mbyte.c, src/misc2.c, src/netbeans.c, src/option.c,
24463 src/optionstr.c, src/quickfix.c, src/regexp.c, src/tag.c,
24464 src/term.c, src/viminfo.c
24465
24466Patch 8.2.3988 (after 8.2.3987)
24467Problem: Tiny build fails.
24468Solution: Fix misplaced #ifdef.
24469Files: src/errors.h
24470
24471Patch 8.2.3989
24472Problem: Some insert completion code is not tested.
24473Solution: Add a few tests. Refactor thesaurus completion. (Yegappan
24474 Lakshmanan, closes #9460)
24475Files: src/insexpand.c, src/testdir/test_edit.vim,
24476 src/testdir/test_ins_complete.vim
24477
24478Patch 8.2.3990
24479Problem: Testing wrong operator.
24480Solution: Test "g@" instead of "r_". (Naohiro Ono, closes #9463)
24481Files: src/testdir/test_normal.vim
24482
24483Patch 8.2.3991
24484Problem: Vim9: error when extending dict<any> with another type that it was
24485 initialized with.
24486Solution: Also set the type for dict<any> if the initializer has a more
24487 specific type. (closes #9461)
24488Files: src/vim9compile.c, src/vim9type.c, src/vim9.h, src/eval.c,
24489 src/list.c, src/vim9script.c, src/testdir/test_vim9_assign.vim,
24490 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_func.vim
24491
24492Patch 8.2.3992
24493Problem: Wrong local-additions in the help with language mix.
24494Solution: Adjust how the local additions list is generated. (Hirohito
24495 Higashi, closes #9464)
24496Files: src/help.c, src/testdir/test_help.vim
24497
24498Patch 8.2.3993
24499Problem: When recording a change in Select mode the first typed character
24500 appears twice.
24501Solution: When putting the character back into typeahead remove it from
24502 recorded characters. (closes #9462)
24503Files: src/getchar.c, src/proto/getchar.pro, src/normal.c,
24504 src/testdir/test_registers.vim
24505
24506Patch 8.2.3994
24507Problem: Vim9: extend() complains about the type even when it was not
24508 declared.
24509Solution: Only check the list or dict type when it was declared.
24510Files: src/list.c, src/testdir/test_vim9_builtin.vim
24511
24512Patch 8.2.3995
24513Problem: Not all sshconfig files are detected as such.
24514Solution: Adjust the patterns used for sshconfig detection. (David Auer,
24515 closes #9322)
24516Files: runtime/filetype.vim, src/testdir/test_filetype.vim
24517
24518Patch 8.2.3996
24519Problem: Vim9: type checking for list and dict lacks information about
24520 declared type.
24521Solution: Add dv_decl_type and lv_decl_type. Refactor the type stack to
24522 store two types in each entry.
24523Files: src/structs.h, src/dict.c, src/list.c, src/vim9type.c,
24524 src/proto/vim9type.pro, src/vim9instr.c, src/proto/vim9instr.pro,
24525 src/vim9compile.c, src/evalfunc.c, src/proto/evalfunc.pro,
24526 src/evalbuffer.c, src/proto/evalbuffer.pro, src/vim9expr.c,
24527 src/vim9cmds.c, src/testdir/test_vim9_assign.vim,
24528 src/testdir/test_vim9_builtin.vim
24529
24530Patch 8.2.3997
24531Problem: Vim9: not enough testing for extend() and map().
24532Solution: Add more test cases. Fix uncovered problems. Remove unused type
24533 fields.
24534Files: src/structs.h, src/dict.c, src/list.c, src/vim9compile.c,
24535 src/testdir/test_vim9_builtin.vim,
24536 src/testdir/test_vim9_disassemble.vim
24537
24538Patch 8.2.3998
24539Problem: Asan error for adding zero to NULL.
24540Solution: Do not compute pointer if there are no entries.
24541Files: src/vim9type.c
24542
24543Patch 8.2.3999
24544Problem: Redundant check for NUL byte.
24545Solution: Remove the check for a NUL byte. (closes #9471)
24546Files: src/ex_docmd.c
24547
24548Patch 8.2.4000
24549Problem: Coverity warns for checking for NULL pointer after using it.
24550Solution: Remove check for NULL.
24551Files: src/help.c
24552
24553Patch 8.2.4001
24554Problem: Insert complete code uses global variables.
24555Solution: Make variables local to the file and use accessor functions.
24556 (Yegappan Lakshmanan, closes #9470)
24557Files: src/edit.c, src/getchar.c, src/globals.h, src/insexpand.c,
24558 src/proto/insexpand.pro, src/search.c
24559
24560Patch 8.2.4002
24561Problem: First char typed in Select mode can be wrong.
24562Solution: Escape special bytes in the input buffer. (closes #9469)
24563Files: src/getchar.c, src/testdir/test_utf8.vim
24564
24565Patch 8.2.4003
24566Problem: Error messages are spread out.
24567Solution: Move more error messages to errors.h.
24568Files: src/errors.h, src/channel.c, src/ex_docmd.c, src/ex_eval.c,
24569 src/gui_at_fs.c, src/hardcopy.c, src/if_cscope.c, src/menu.c,
24570 src/netbeans.c, src/optionstr.c, src/os_mswin.c, src/sign.c,
24571 src/typval.c
24572
24573Patch 8.2.4004
24574Problem: Old compiler complains about struct init with variable.
Bram Moolenaar47c532e2022-03-19 15:18:53 +000024575Solution: Set the struct member later. (John Marriott)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024576Files: src/evalfunc.c
24577
24578Patch 8.2.4005
24579Problem: Error messages are spread out.
24580Solution: Move more error messages to errors.h.
24581Files: src/errors.h, src/dict.c, src/eval.c, src/evalfunc.c,
24582 src/evalvars.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_eval.c,
24583 src/filepath.c, src/gui.c, src/gui_w32.c, src/hardcopy.c,
24584 src/help.c, src/highlight.c, src/if_python.c, src/list.c,
24585 src/misc1.c, src/normal.c, src/quickfix.c, src/regexp.c,
24586 src/regexp_bt.c, src/regexp_nfa.c, src/typval.c, src/userfunc.c
24587
24588Patch 8.2.4006
24589Problem: Vim9: crash when declaring variable on the command line.
24590Solution: Use a temporary type list. (closes #9474)
24591Files: src/eval.c, src/testdir/test_vim9_assign.vim
24592
24593Patch 8.2.4007
24594Problem: Session does not restore help buffer properly when "options' is
24595 missing from 'sessionoptions'.
24596Solution: Use a ":help" command to create the help window. (closes #9475,
24597 closes #9458, closes #9472)
24598Files: src/session.c, src/testdir/test_mksession.vim
24599
24600Patch 8.2.4008
24601Problem: Error messages are spread out.
24602Solution: Move more error messages to errors.h.
24603Files: src/errors.h, src/diff.c, src/digraph.c, src/evalfunc.c,
24604 src/evalvars.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c,
24605 src/insexpand.c, src/match.c, src/memline.c, src/menu.c,
24606 src/ops.c, src/profiler.c, src/quickfix.c, src/regexp.c,
24607 src/regexp_bt.c, src/regexp_nfa.c, src/register.c, src/spell.c,
24608 src/spell.h, src/spellfile.c, src/strings.c, src/syntax.c,
24609 src/typval.c, src/undo.c, src/userfunc.c
24610
24611Patch 8.2.4009
24612Problem: Reading one byte beyond the end of the line.
24613Solution: Check for NUL byte first.
24614Files: src/vim9compile.c, src/ex_docmd.c, src/testdir/test_vim9_func.vim
24615
24616Patch 8.2.4010
24617Problem: Error messages are spread out.
24618Solution: Move more error messages to errors.h.
24619Files: src/errors.h, src/crypt.c, src/diff.c, src/ex_docmd.c,
24620 src/ex_getln.c, src/fileio.c, src/findfile.c, src/float.c,
24621 src/gui.c, src/highlight.c, src/if_mzsch.c, src/if_py_both.h,
24622 src/if_python.c, src/if_python3.c, src/insexpand.c, src/match.c,
24623 src/memline.c, src/option.c, src/popupwin.c, src/regexp.c,
24624 src/regexp_nfa.c, src/spellfile.c, src/strings.c, src/syntax.c,
24625 src/textprop.c, src/typval.c, src/undo.c, src/usercmd.c,
24626 src/userfunc.c, src/window.c
24627
24628Patch 8.2.4011
24629Problem: Test fails because of changed error number.
24630Solution: Restore old duplicate error message.
24631Files: src/errors.h, src/match.c
24632
24633Patch 8.2.4012
24634Problem: Error messages are spread out.
24635Solution: Move the last error messages to errors.h.
24636Files: src/errors.h, src/channel.c, src/clientserver.c, src/diff.c,
24637 src/evalfunc.c, src/evalvars.c, src/ex_cmds2.c, src/ex_docmd.c,
24638 src/gui_w32.c, src/help.c, src/if_mzsch.c, src/if_py_both.h,
24639 src/if_python.c, src/job.c, src/json.c, src/list.c, src/option.c,
24640 src/optionstr.c, src/quickfix.c, src/regexp.c, src/regexp_nfa.c,
24641 src/register.c, src/scriptfile.c, src/sign.c, src/syntax.c,
24642 src/tag.c, src/terminal.c, src/textprop.c, src/typval.c,
24643 src/undo.c, src/userfunc.c, src/vim9compile.c, src/viminfo.c
24644
24645Patch 8.2.4013
24646Problem: Build failure without the spell feature.
24647Solution: Adjust #ifdefs.
24648Files: src/errors.h
24649
24650Patch 8.2.4014
24651Problem: Git and gitcommit file types not properly recognized.
24652Solution: Adjust filetype detection. (Tim Pope, closes #9477)
24653Files: runtime/filetype.vim, runtime/scripts.vim,
24654 src/testdir/test_filetype.vim
24655
24656Patch 8.2.4015
24657Problem: Build failure with tiny features. (Tony Mechelynck)
24658Solution: Adjust #ifdefs.
24659Files: src/errors.h
24660
24661Patch 8.2.4016
24662Problem: Vim9: incorrect error for argument that is shadowing var.
24663Solution: Ignore variable that is not in block where the function was
24664 defined.
24665Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
24666
24667Patch 8.2.4017
24668Problem: Gcc warns for misleading indent in Athena menu code.
24669Solution: Add curlies around the two statements. (Dominique Pellé,
24670 closes #9480)
24671Files: src/gui_athena.c
24672
24673Patch 8.2.4018
24674Problem: ml_get error when win_execute redraws with Visual selection.
24675Solution: Disable Visual area temporarily. (closes #9479)
24676Files: src/evalwindow.c, src/proto/evalwindow.pro, src/structs.h,
24677 src/evalbuffer.c, src/proto/evalbuffer.pro, src/evalvars.c,
24678 src/if_py_both.h, src/evalfunc.c,
24679 src/testdir/test_execute_func.vim
24680
24681Patch 8.2.4019
24682Problem: Vim9: import mechanism is too complicated.
24683Solution: Do not use the Javascript mechanism but a much simpler one.
24684Files: runtime/doc/vim9.txt, src/vim9script.c, src/proto/vim9script.pro,
24685 src/errors.h, src/structs.h, src/eval.c, src/proto/eval.pro,
24686 src/evalvars.c, src/proto/evalvars.pro, src/userfunc.c,
24687 src/vim9expr.c, src/vim9compile.c, src/vim9execute.c,
24688 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_script.vim
24689
24690Patch 8.2.4020 (after 8.2.4019)
24691Problem: Debugger test fails.
24692Solution: Fix import statement.
24693Files: src/testdir/test_debugger.vim
24694
24695Patch 8.2.4021 (after 8.2.4019)
24696Problem: Missing part of the :import changes.
24697Solution: Add changes in vim9cmds.c.
24698Files: src/vim9cmds.c
24699
24700Patch 8.2.4022
24701Problem: Two error messages in the wrong file.
24702Solution: Use the error message from errors.h.
24703Files: src/popupwin.c, src/usercmd.c
24704
24705Patch 8.2.4023
24706Problem: Using uninitialized variable.
24707Solution: Initialize "ufunc" also when an item is not exported.
24708Files: src/vim9script.c
24709
24710Patch 8.2.4024
24711Problem: Confusing error message if imported name is used directly.
24712Solution: Give a better error message.
24713Files: src/eval.c, src/proto/eval.pro, src/evalvars.c, src/userfunc.c,
24714 src/testdir/test_vim9_script.vim
24715
24716Patch 8.2.4025
24717Problem: Error for import not ending in .vim does not work for .vimrc.
24718Solution: Check that .vim is the end. (closes #9484)
24719Files: src/vim9script.c, src/errors.h, src/testdir/test_vim9_script.vim
24720
24721Patch 8.2.4026
24722Problem: ml_get error with specific win_execute() command. (Sean Dewar)
24723Solution: Check cursor and Visual area are OK.
24724Files: src/evalwindow.c, src/testdir/test_execute_func.vim
24725
24726Patch 8.2.4027
24727Problem: Import test fails on MS-Windows.
24728Solution: Use a different directory name.
24729Files: src/testdir/test_vim9_script.vim
24730
24731Patch 8.2.4028
24732Problem: ml_get error with :doautoall and Visual area. (Sean Dewar)
24733Solution: Disable Visual mode while executing autocommands.
24734Files: src/structs.h, src/autocmd.c, src/testdir/test_autocmd.vim
24735
24736Patch 8.2.4029
24737Problem: Debugging NFA regexp my crash, cached indent may be wrong.
24738Solution: Fix some debug warnings in the NFA regexp code. Make sure log_fd
24739 is set when used. Fix breakindent and indent caching. (Christian
24740 Brabandt, closes #9482)
24741Files: src/indent.c, src/optionstr.c, src/regexp_nfa.c
24742
24743Patch 8.2.4030
24744Problem: A script local funcref is not found from a mapping.
24745Solution: When looking for a function, also find a script-local funcref.
24746 (closes #9485)
24747Files: src/evalvars.c, src/proto/evalvars.pro, src/userfunc.c,
24748 src/testdir/test_vim9_script.vim
24749
24750Patch 8.2.4031
24751Problem: Crash in xterm with only two lines. (Dominique Pellé)
24752Solution: Only perform xterm compatibility test if possible. (closes #9488)
24753Files: src/term.c, src/testdir/test_startup.vim
24754
24755Patch 8.2.4032
24756Problem: ATTRIBUTE_NORETURN is not needed.
24757Solution: Use NORETURN(). (Ozaki Kiichi, closes #9487)
24758Files: src/if_ruby.c, src/vim.h
24759
24760Patch 8.2.4033
24761Problem: Running filetype tests leaves directory behind.
24762Solution: Delete the top directory. (closes #9483)
24763Files: src/testdir/test_filetype.vim
24764
24765Patch 8.2.4034
24766Problem: Coverity warns for possibly using a NULL pointer.
24767Solution: Check v_partial is not NULL.
24768Files: src/vim9type.c
24769
24770Patch 8.2.4035
24771Problem: Timer triggered at the debug prompt may cause trouble.
24772Solution: Do not trigger any timer at the debug prompt. (closes #9481)
24773Files: src/time.c
24774
24775Patch 8.2.4036
24776Problem: Vim9: script test file is getting too long.
24777Solution: Split the import/export functionality to a separate file.
Bram Moolenaar47c532e2022-03-19 15:18:53 +000024778Files: src/testdir/test_vim9_script.vim, src/testdir/test_vim9_import.vim,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024779 src/testdir/Make_all.mak
24780
24781Patch 8.2.4037
24782Problem: Insert mode completion is insufficiently tested.
24783Solution: Add more tests. Fix uncovered memory leak. (Yegappan Lakshmanan,
24784 closes #9489)
24785Files: src/insexpand.c, src/testdir/test_ins_complete.vim
24786
24787Patch 8.2.4038
24788Problem: Various code not used when features are disabled.
24789Solution: Add #ifdefs. (Dominique Pellé, closes #9491)
24790Files: src/alloc.c, src/buffer.c, src/charset.c, src/clipboard.c,
24791 src/cmdhist.c, src/crypt.c, src/edit.c, src/eval.c,
24792 src/evalbuffer.c, src/evalfunc.c, src/ex_docmd.c, src/globals.h,
24793 src/gui_xim.c, src/hashtab.c, src/highlight.c, src/insexpand.c,
24794 src/main.c, src/mark.c, src/message.c, src/misc1.c, src/misc2.c,
24795 src/ops.c, src/option.c, src/option.h, src/optionstr.c,
24796 src/register.c, src/scriptfile.c, src/tag.c, src/term.c,
24797 src/typval.c, src/usercmd.c, src/userfunc.c, src/vim9script.c,
24798 src/vim9type.c
24799
24800Patch 8.2.4039
24801Problem: The xdiff library is linked in even when not used.
24802Solution: Use configure to decide whether xdiff object files are included.
24803Files: src/Makefile, src/config.mk.in, src/configure.ac,
24804 src/auto/configure, src/feature.h
24805
24806Patch 8.2.4040
24807Problem: Keeping track of allocated lines in user functions is too
24808 complicated.
24809Solution: Instead of freeing individual lines keep them all until the end.
24810Files: src/alloc.c, src/proto/alloc.pro, src/vim9compile.c,
24811 src/userfunc.c, src/proto/userfunc.pro, src/message.c,
24812 src/usercmd.c, src/viminfo.c, src/testdir/test_vim9_func.vim
24813
24814Patch 8.2.4041
Bram Moolenaar1588bc82022-03-08 21:35:07 +000024815Problem: Using uninitialized pointer.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024816Solution: Store "ht" when variable is in another script.
24817Files: src/evalvars.c
24818
24819Patch 8.2.4042
24820Problem: Vim9: build error.
24821Solution: Use grow array instead of character pointer.
24822Files: src/vim9execute.c
24823
24824Patch 8.2.4043
24825Problem: Using int for second argument of ga_init2().
Bram Moolenaar1588bc82022-03-08 21:35:07 +000024826Solution: Remove unnecessary type cast (int) when using sizeof().
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024827Files: src/arglist.c, src/channel.c, src/cmdexpand.c, src/dict.c,
24828 src/digraph.c, src/eval.c, src/evalfunc.c, src/evalvars.c,
24829 src/evalwindow.c, src/ex_docmd.c, src/fileio.c, src/filepath.c,
24830 src/findfile.c, src/fold.c, src/hardcopy.c, src/help.c,
24831 src/job.c, src/list.c, src/menu.c, src/os_win32.c, src/register.c,
24832 src/scriptfile.c, src/spellfile.c, src/spellsuggest.c,
24833 src/strings.c, src/syntax.c, src/tag.c, src/terminal.c,
24834 src/undo.c, src/usercmd.c, src/userfunc.c, src/vim9execute.c,
24835 src/viminfo.c, src/window.c, src/if_py_both.h
24836
24837Patch 8.2.4044
24838Problem: Vim9: no error when importing the same script twice.
24839Solution: Give an error, unless it is a reload.
24840Files: src/vim9script.c, src/errors.h, src/testdir/test_vim9_import.vim
24841
24842Patch 8.2.4045
24843Problem: Some global functions are only used in one file.
24844Solution: Make the functions static. (Yegappan Lakshmanan, closes #9492)
24845Files: src/ex_getln.c, src/highlight.c, src/proto/ex_getln.pro,
24846 src/proto/highlight.pro, src/proto/vim9compile.pro,
24847 src/proto/vim9instr.pro, src/proto/window.pro, src/vim9compile.c,
24848 src/vim9instr.c, src/window.c
24849
24850Patch 8.2.4046
24851Problem: Some error messages not in the right place.
24852Solution: Adjust the errors file. Fix typo.
24853Files: src/errors.h, src/regexp_bt.c, src/typval.c,
24854
24855Patch 8.2.4047
24856Problem: Depending on the build features error messages are unused.
24857Solution: Add #ifdefs. (Dominique Pellé, closes #9493)
24858Files: src/errors.h
24859
24860Patch 8.2.4048
24861Problem: gcc complains about use of "%p" in printf.
24862Solution: Add (void *) typecast. (Dominique Pellé, closes #9494)
24863Files: src/if_py_both.h
24864
24865Patch 8.2.4049
24866Problem: Vim9: reading before the start of the line with "$" by itself.
24867Solution: Do not subtract one when reporting the error.
24868Files: src/vim9expr.c, src/testdir/test_vim9_expr.vim
24869
24870Patch 8.2.4050
24871Problem: Vim9: need to prefix every item in an autoload script.
24872Solution: First step in supporting "vim9script autoload" and "import
24873 autoload".
24874Files: runtime/doc/repeat.txt, runtime/doc/vim9.txt, src/structs.h,
24875 src/errors.h, src/vim9script.c, src/scriptfile.c,
24876 src/proto/scriptfile.pro, src/userfunc.c, src/eval.c,
24877 src/evalvars.c, src/vim9compile.c, src/proto/vim9compile.pro,
24878 src/vim9expr.c, src/testdir/test_vim9_script.vim
24879
24880Patch 8.2.4051
24881Problem: Compiler complains about possibly uninitialized variable.
24882Solution: Add code to avoid a compiler warning. (John Marriott)
24883Files: src/scriptfile.c
24884
24885Patch 8.2.4052
24886Problem: Not easy to resize a window from a plugin.
24887Solution: Add win_move_separator() and win_move_statusline() functions.
24888 (Daniel Steinberg, closes #9486)
24889Files: runtime/doc/builtin.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
24890 src/evalwindow.c, src/proto/evalwindow.pro,
24891 src/testdir/test_window_cmd.vim
24892
24893Patch 8.2.4053
24894Problem: Vim9: autoload mechanism doesn't fully work yet.
24895Solution: Define functions and variables with their autoload name, add the
24896 prefix when calling a function, find the variable in the table of
24897 script variables.
24898Files: src/structs.h, src/scriptfile.c, src/proto/scriptfile.pro,
24899 src/vim9script.c, src/proto/vim9script.pro, src/userfunc.c,
24900 src/evalvars.c, src/testdir/test_vim9_script.vim
24901
24902Patch 8.2.4054 (after 8.2.4053)
24903Problem: Vim9 script test fails.
24904Solution: Add missing change.
24905Files: src/vim9compile.c
24906
24907Patch 8.2.4055
24908Problem: Vim9: line break in expression causes v:errmsg to be filled.
24909 (Yegappan Lakshmanan)
24910Solution: Do not give an error when skipping over an expression.
24911Files: src/userfunc.c, src/testdir/test_vim9_expr.vim
24912
24913Patch 8.2.4056
24914Problem: Vim9: memory leak when exporting function in autoload script.
24915Solution: Free the name if replacing it.
24916Files: src/scriptfile.c
24917
24918Patch 8.2.4057
24919Problem: Vim9: not fully implementing the autoload mechanism.
24920Solution: Allow for exporting a legacy function. Improve test coverage.
24921Files: src/vim9script.c, src/testdir/test_vim9_import.vim,
24922 src/testdir/test_vim9_script.vim
24923
24924Patch 8.2.4058
24925Problem: Vim9: import test failure in wrong line.
24926Solution: Adjust line number.
24927Files: src/testdir/test_vim9_import.vim
24928
24929Patch 8.2.4059
24930Problem: Vim9: an expression of a map cannot access script-local items.
24931 (Maxim Kim)
24932Solution: Use the script ID of where the map was defined.
24933Files: src/getchar.c, src/map.c, src/proto/map.pro,
24934 src/testdir/test_vim9_import.vim
24935
24936Patch 8.2.4060
24937Problem: win_execute() is slow on systems where getcwd() or chdir() is
24938 slow. (Rick Howe)
24939Solution: Avoid using getcwd() and chdir() if no local directory is used and
24940 'acd' is not set. (closes #9504)
24941Files: src/evalwindow.c
24942
24943Patch 8.2.4061
24944Problem: Codecov bash script is deprecated.
24945Solution: Use the codecov action. (Ozaki Kiichi, closes #9505)
24946Files: .github/workflows/ci.yml
24947
24948Patch 8.2.4062
24949Problem: Match highlighting of tab too short.
24950Solution: Do not stop match highlighting if on a Tab. (Christian Brabandt,
24951 closes #9507, closes #9500)
24952Files: src/drawline.c, src/testdir/test_match.vim,
24953 src/testdir/dumps/Test_match_tab_linebreak.dump
24954
24955Patch 8.2.4063
24956Problem: Vim9: exported function in autoload script not found. (Yegappan
24957 Lakshmanan)
24958Solution: Use the autoload prefix to search for the function.
24959Files: src/userfunc.c, src/testdir/test_vim9_import.vim
24960
24961Patch 8.2.4064
24962Problem: Foam files are not detected.
24963Solution: Detect the foam filetype by the path and file contents. (Mohammed
24964 Elwardi Fadeli, closes #9501)
24965Files: runtime/filetype.vim, runtime/autoload/dist/ft.vim,
24966 src/testdir/test_filetype.vim
24967
24968Patch 8.2.4065
24969Problem: Computation overflow with large count for :yank.
24970Solution: Avoid an overflow.
24971Files: src/ex_docmd.c, src/testdir/test_excmd.vim
24972
24973Patch 8.2.4066
24974Problem: Vim9: imported autoload script loaded again.
24975Solution: Do not create a new imported_T every time.
24976Files: src/vim9script.c, src/vim9compile.c,
24977 src/testdir/test_vim9_import.vim
24978
24979Patch 8.2.4067
24980Problem: Vim9: cannot call imported function with :call. (Drew Vogel)
24981Solution: Translate the function name. (closes #9510)
24982Files: src/userfunc.c, src/testdir/test_vim9_import.vim
24983
24984Patch 8.2.4068 (after 8.2.4066)
24985Problem: Vim9: import test fails.
24986Solution: Add missing change.
24987Files: src/scriptfile.c
24988
24989Patch 8.2.4069
24990Problem: Vim9: import test fails on MS-Windows.
24991Solution: Ignore case. Adjust test to avoid name that only differs in case.
24992Files: src/eval.c, src/scriptfile.c, src/testdir/test_vim9_import.vim
24993
24994Patch 8.2.4070
24995Problem: Using uninitialized memory when reading empty file.
24996Solution: Check for empty file before checking for NL. (Dominique Pellé,
24997 closes #9511)
24998Files: src/filepath.c, src/testdir/test_eval_stuff.vim
24999
25000Patch 8.2.4071
25001Problem: Vim9: no detection of return in try/endtry. (Dominique Pellé)
25002Solution: Check if any of the blocks inside try/endtry did not end in
25003 return.
25004Files: src/vim9.h, src/vim9compile.c, src/vim9cmds.c,
25005 src/testdir/test_vim9_script.vim
25006
25007Patch 8.2.4072
25008Problem: Vim9: compiling function fails when autoload script is not loaded
25009 yet.
25010Solution: Depend on runtime loading.
25011Files: src/vim9expr.c, src/vim9script.c, src/vim9instr.c,
25012 src/vim9execute.c, src/testdir/test_vim9_import.vim
25013
25014Patch 8.2.4073
25015Problem: Coverity warns for using NULL pointer.
25016Solution: Bail out when running out of memory. Check for running over end of
25017 a string.
25018Files: src/userfunc.c,
25019
25020Patch 8.2.4074
25021Problem: Going over the end of NameBuff.
25022Solution: Check length when appending a space.
25023Files: src/drawscreen.c, src/testdir/test_edit.vim
25024
25025Patch 8.2.4075 (after 8.2.4073)
25026Problem: Test failures.
25027Solution: Change check for NULL pointer.
25028Files: src/userfunc.c
25029
25030Patch 8.2.4076
25031Problem: Memory leak in autoload import.
25032Solution: Do not overwrite the autoload prefix.
25033Files: src/vim9script.c
25034
25035Patch 8.2.4077
25036Problem: Not all Libsensors files are recognized.
25037Solution: Add "sensors.d/*" pattern. (Doug Kearns)
25038Files: runtime/filetype.vim, src/testdir/test_filetype.vim
25039
25040Patch 8.2.4078
25041Problem: Terminal test for current directory not used on FreeBSD.
25042Solution: Make it work on FreeBSD. (Ozaki Kiichi, closes #9516) Add
25043 TermWait() inside Run_shell_in_terminal() as a generic solution.
25044Files: src/testdir/test_terminal3.vim, src/testdir/term_util.vim,
25045 src/testdir/test_terminal.vim, src/testdir/test_terminal2.vim,
25046 src/testdir/test_mapping.vim
25047
25048Patch 8.2.4079
25049Problem: MS-Windows: "gvim --version" didn't work when build with VIMDLL.
25050Solution: Adjust #ifdef. (Ken Takata, closes #9517)
25051Files: src/main.c
25052
25053Patch 8.2.4080
25054Problem: Not sufficient test coverage for xxd.
25055Solution: Add a few more test cases. (Erki Auerswald, closes #9515)
25056Files: src/testdir/test_xxd.vim
25057
25058Patch 8.2.4081
25059Problem: CodeQL reports problem in if_cscope causing it to fail.
25060Solution: Use execvp() instead of execl(). Merge the header file into the
25061 source file. (Ozaki Kiichi, closes #9519)
25062Files: Filelist, src/Make_cyg_ming.mak, src/Make_mvc.mak,
25063 src/Make_vms.mms, src/Makefile, src/if_cscope.c, src/if_cscope.h,
25064 src/testdir/test_cscope.vim
25065
25066Patch 8.2.4082
25067Problem: Check for autoload file name and prefix fails. (Christian J.
25068 Robinson)
25069Solution: Only lower case the prefix on systems where the file name is not
25070 case sensitive.
25071Files: src/scriptfile.c, src/testdir/test_vim9_import.vim
25072
25073Patch 8.2.4083
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025074Problem: Vim9: no test for "vim9script autoload" and using script variable
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025075 in the same script.
25076Solution: Add a simple test. Fix uncovered problem.
25077Files: src/evalvars.c, src/testdir/test_vim9_import.vim
25078
25079Patch 8.2.4084
25080Problem: Memory leak when looking for autoload prefixed variable.
25081Solution: Free the concatenated string.
25082Files: src/evalvars.c
25083
25084Patch 8.2.4085
25085Problem: Vim9: no test for using import in legacy script.
25086Solution: Add a test.
25087Files: src/testdir/test_vim9_import.vim
25088
25089Patch 8.2.4086
25090Problem: "cctx" argument of find_func_even_dead() is unused.
25091Solution: Remove the argument.
25092Files: src/userfunc.c, src/proto/userfunc.pro, src/vim9compile.c,
25093 src/vim9instr.c, src/evalfunc.c, src/evalvars.c, src/testing.c,
25094 src/vim9execute.c, src/vim9expr.c, src/vim9script.c,
25095 src/vim9type.c
25096
25097Patch 8.2.4087
25098Problem: Cannot test items from an autoload script easily.
25099Solution: Add the "autoload" value for test_override().
25100Files: runtime/doc/testing.txt, src/testing.c, src/globals.h,
25101 src/vim9script.c, src/testdir/test_vim9_import.vim
25102
25103Patch 8.2.4088
25104Problem: Xxd cannot output everything in one line.
25105Solution: Make zero columns mean infinite columns. (Erik Auerswald,
25106 closes #9524)
25107Files: runtime/doc/xxd.1, runtime/doc/xxd.man, src/testdir/test_xxd.vim,
25108 src/xxd/xxd.c
25109
25110Patch 8.2.4089 (after 8.2.4078)
25111Problem: Terminal test for current directory fails on FreeBSD.
25112Solution: Skip the test.
25113Files: src/testdir/test_terminal3.vim
25114
25115Patch 8.2.4090
25116Problem: After restoring a session buffer order can be quite different.
25117Solution: Create buffers first. (Evgeni Chasnovski, closes #9520)
25118Files: src/session.c, src/testdir/test_mksession.vim
25119
25120Patch 8.2.4091
25121Problem: Virtcol is recomputed for statusline unnecessarily.
25122Solution: Just use "w_virtcol". (closes #9523)
25123Files: src/buffer.c, src/testdir/test_statusline.vim
25124
25125Patch 8.2.4092
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025126Problem: macOS CI: unnecessarily doing "Install packages".
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025127Solution: Only do "Install packages" for huge build. (Ozaki Kiichi,
25128 closes #9521)
25129Files: .github/workflows/ci.yml
25130
25131Patch 8.2.4093
25132Problem: Cached breakindent values not initialized properly.
25133Solution: Initialize and cache formatlistpat. (Christian Brabandt,
25134 closes #9526, closes #9512)
25135Files: runtime/doc/options.txt, src/indent.c, src/option.c,
25136 src/proto/option.pro, src/testdir/test_breakindent.vim
25137
25138Patch 8.2.4094
25139Problem: 'virtualedit' is window-local but using buffer-local enum.
25140Solution: Use window-local enum. (closes #9529)
25141Files: src/option.h, src/optiondefs.h
25142
25143Patch 8.2.4095
25144Problem: Sed script not recognized by the first line.
25145Solution: Recognize a sed script starting with "#n". (Doug Kearns)
25146Files: runtime/scripts.vim, src/testdir/test_filetype.vim
25147
25148Patch 8.2.4096
25149Problem: Linux CI: unnecessarily installing packages
25150Solution: Only install packages for huge build. (Ozaki Kiichi,
25151 closes #9530)
25152Files: .github/workflows/ci.yml
25153
25154Patch 8.2.4097
25155Problem: Wrong number in error message on 32 bit system. (John Paul Adrian
25156 Glaubitz)
25157Solution: Add type cast. (closes #9527)
25158Files: src/vim9compile.c
25159
25160Patch 8.2.4098
25161Problem: Typing "interrupt" at debug prompt may keep exception around,
25162 causing function calls to fail.
25163Solution: Discard any exception at the toplevel. (closes #9532)
25164Files: src/main.c
25165
25166Patch 8.2.4099
25167Problem: Vim9: cannot use Vim9 syntax in mapping.
25168Solution: Add <ScriptCmd> to use the script context for a command.
25169Files: runtime/doc/map.txt, src/normal.c, src/getchar.c,
25170 src/proto/getchar.pro, src/ex_getln.c, src/edit.c, src/terminal.c,
25171 src/keymap.h, src/insexpand.c, src/misc2.c, src/ops.c,
25172 src/testdir/test_vim9_import.vim
25173
25174Patch 8.2.4100
25175Problem: Early return when getting the 'formatlistpat' value.
25176Solution: Remove the first line. (Christian Brabandt)
25177Files: src/option.c, src/testdir/test_breakindent.vim
25178
25179Patch 8.2.4101
25180Problem: Warning for unused argument in tiny version.
25181Solution: Add "UNUSED".
25182Files: src/getchar.c
25183
25184Patch 8.2.4102
25185Problem: Vim9: import cannot be used after method.
25186Solution: Recognize an imported function name. (closes #9496)
25187Files: src/eval.c, src/testdir/test_vim9_import.vim
25188
25189Patch 8.2.4103
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025190Problem: Vim9: variable declared in for loop not initialized.
25191Solution: Always initialize the variable. (closes #9535)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025192Files: src/vim9instr.c, src/proto/vim9instr.pro, src/vim9compile.c,
25193 src/testdir/test_vim9_assign.vim
25194
25195Patch 8.2.4104
25196Problem: Vim9: lower casing the autoload prefix causes problems.
25197Solution: Always store the prefix with case preserved.
25198Files: src/scriptfile.c, src/testdir/test_vim9_import.vim
25199
25200Patch 8.2.4105
25201Problem: Translation related comment in the wrong place.
25202Solution: Move it back with the text. (Ken Takata, closes #9537)
25203Files: src/errors.h, src/ex_docmd.c
25204
25205Patch 8.2.4106
25206Problem: Going over the end of the w_lines array.
25207Solution: Break out of the loop when "idx" is too big. (issue #9540)
25208Files: src/drawscreen.c
25209
25210Patch 8.2.4107
25211Problem: Script context not restored after using <ScriptCmd>.
25212Solution: Also restore context when not in a script. (closes #9536)
25213 Add the 'c' flag to feedkeys() to be able to test this.
25214Files: runtime/doc/builtin.txt, src/getchar.c, src/evalfunc.c,
25215 src/testdir/test_mapping.vim
25216
25217Patch 8.2.4108
25218Problem: Going over the end of the w_lines array.
25219Solution: Check not going over the end and limit to Rows. (issue #9540)
25220Files: src/drawscreen.c
25221
25222Patch 8.2.4109
25223Problem: MS-Windows: high dpi support is outdated.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025224Solution: Improve High DPI support by using PerMonitorV2. (Ken Takata
25225 closes #9525, closes #3102)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025226Files: src/gui.c, src/gui.h, src/gui_w32.c, src/vim.manifest
25227
25228Patch 8.2.4110
25229Problem: Coverity warns for using NULL pointer.
25230Solution: Check "evalarg" is not NULL. Skip errors when "verbose" is false.
25231Files: src/eval.c
25232
25233Patch 8.2.4111
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025234Problem: Potential problem when map is deleted while executing.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025235Solution: Reset last used map pointer when deleting a mapping.
25236Files: src/map.c
25237
25238Patch 8.2.4112
25239Problem: Function not deleted at end of test.
25240Solution: Delete the function.
25241Files: src/testdir/test_diffmode.vim
25242
25243Patch 8.2.4113
25244Problem: Typo on DOCMD_RANGEOK results in not recognizing command.
25245Solution: Correct the typo. (closes #9539)
25246Files: src/vim.h, src/testdir/test_mapping.vim
25247
25248Patch 8.2.4114
25249Problem: Vim9: type checking for a funcref does not work for when it is
25250 used in a method.
25251Solution: Pass the base to where the type is checked.
25252Files: src/vim9type.c, src/proto/vim9type.pro, src/userfunc.c,
25253 src/testdir/test_vim9_expr.vim
25254
25255Patch 8.2.4115
25256Problem: Cannot use a method with a complex expression.
25257Solution: Evaluate the expression after "->" and use the result.
25258Files: src/eval.c, src/errors.h, src/testdir/test_vim9_expr.vim
25259
25260Patch 8.2.4116
25261Problem: Vim9: cannot use a method with a complex expression in a :def
25262 function.
25263Solution: Implement compiling the expression.
25264Files: src/vim9expr.c, src/testdir/test_vim9_expr.vim
25265
25266Patch 8.2.4117
25267Problem: Vim9: wrong white space error after using imported item.
25268Solution: Don't skip over white space. (closes #9544)
25269Files: src/eval.c, src/testdir/test_vim9_import.vim
25270
25271Patch 8.2.4118
25272Problem: Using UNUSED for argument that is used.
25273Solution: Remove UNUSED.
25274Files: src/usercmd.c
25275
25276Patch 8.2.4119
25277Problem: Build failure when disabling the channel feature.
25278Solution: Adjust #ifdef. (Dominique Pellé, closes #9545)
25279Files: src/misc2.c
25280
25281Patch 8.2.4120
25282Problem: Block insert goes over the end of the line.
25283Solution: Handle invalid byte better. Fix inserting the wrong text.
25284Files: src/ops.c, src/testdir/test_visual.vim
25285
25286Patch 8.2.4121
25287Problem: Visual test fails on MS-Windows.
25288Solution: Set 'isprint' so that the character used is not printable.
25289Files: src/testdir/test_visual.vim
25290
25291Patch 8.2.4122
25292Problem: ":command Cmd" does not show custom completion argument.
25293Solution: Show the completion argument when using ":verbose".
25294Files: src/usercmd.c, src/testdir/test_usercommands.vim
25295
25296Patch 8.2.4123
25297Problem: Complete function cannot be import.Name.
25298Solution: Dereference the function name if needed. Also: do not see
25299 "import.Name" as a builtin function. (closes #9541)
25300Files: src/userfunc.c, src/eval.c, src/testdir/test_vim9_import.vim
25301
25302Patch 8.2.4124
25303Problem: Vim9: method in compiled function may not see script item.
25304Solution: Make sure not to skip to the next line. (closes #9496)
25305Files: src/vim9expr.c, src/testdir/test_vim9_expr.vim
25306
25307Patch 8.2.4125
25308Problem: Completion tests fail.
25309Solution: Disable error messages while dereferencing the function name.
25310Files: src/eval.c
25311
25312Patch 8.2.4126
25313Problem: Crash on exit when built with dynamic Tcl and EXITFREE is defined.
25314 (Dominique Pellé)
25315Solution: Only call Tcl_Finalize() when initialized. (closes #9546)
25316Files: src/if_tcl.c
25317
25318Patch 8.2.4127
25319Problem: Build failure without the +eval feature.
25320Solution: Add #ifdef.
25321Files: src/usercmd.c
25322
25323Patch 8.2.4128
25324Problem: Crash when method cannot be found. (Christian J. Robinson)
25325Solution: Don't mix up pointer names.
25326Files: src/eval.c, src/testdir/test_vim9_expr.vim
25327
25328Patch 8.2.4129
25329Problem: Building with +sound but without +eval fails. (Dominique Pellé)
25330Solution: Disable canberra in tiny and small build. (closes #9548)
25331Files: src/configure.ac, src/auto/configure
25332
25333Patch 8.2.4130
25334Problem: MS-Windows: MSVC build may have libraries duplicated.
25335Solution: Improve the MSVC Makefile. (Ken Takata, closes #9547)
25336Files: src/Make_mvc.mak
25337
25338Patch 8.2.4131
25339Problem: Vim9: calling function in autoload import does not work in a :def
25340 function.
25341Solution: When a variable is not found and a PCALL follows use a funcref.
25342 (closes #9550)
25343Files: src/vim9execute.c, src/testdir/test_vim9_import.vim
25344
25345Patch 8.2.4132
25346Problem: Vim9: wrong error message when autoload script can't be found.
25347Solution: Correct check for using autoload with wrong name.
25348Files: src/vim9script.c, src/testdir/test_vim9_import.vim
25349
25350Patch 8.2.4133
25351Problem: output of ":scriptnames" goes into the message history, while this
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025352 does not happen for other commands, such as ":ls".
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025353Solution: Use msg_outtrans() instead of smsg(). (closes #9551)
25354Files: src/scriptfile.c, src/testdir/test_scriptnames.vim
25355
25356Patch 8.2.4134
25357Problem: MS-Windows: test for import with absolute path fails.
25358Solution: Handle path starting with slash as an absolute path.
25359Files: src/vim9script.c
25360
25361Patch 8.2.4135
25362Problem: Vim9: ":scriptnames" shows unloaded imported autoload script.
25363Solution: Mark the unloaded script with "A". (closes #9552)
25364Files: runtime/doc/repeat.txt, src/scriptfile.c,
25365 src/testdir/test_vim9_import.vim
25366
25367Patch 8.2.4136
25368Problem: Vim9: the "autoload" argument of ":vim9script" is not useful.
25369Solution: Remove the argument. (closes #9555)
25370Files: runtime/doc/vim9.txt, runtime/doc/repeat.txt, src/vim9script.c,
25371 src/errors.h, src/testdir/test_vim9_import.vim
25372
25373Patch 8.2.4137
25374Problem: Vim9: calling import with and without method is inconsistent.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025375Solution: Set a flag that a parenthesis follows to compile_load_scriptvar().
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025376 Add some more tests. Improve error message.
25377Files: src/vim9expr.c, src/vim9execute.c, src/vim9script.c,
25378 src/testdir/test_vim9_import.vim
25379
25380Patch 8.2.4138
25381Problem: Vim9: no error for return with argument when the function does not
25382 return anything.
25383Solution: Give an error for the invalid argument. (issue #9497)
25384Files: src/vim9cmds.c, src/testdir/test_vim9_func.vim
25385
25386Patch 8.2.4139
25387Problem: Using freed memory if an expression abbreviation deletes the
25388 abbreviation.
25389Solution: Do not access the pointer after evaluating the expression.
25390Files: src/map.c, src/testdir/test_mapping.vim
25391
25392Patch 8.2.4140
25393Problem: maparg() does not indicate the type of script where it was defined.
25394Solution: Add "scriptversion".
25395Files: runtime/doc/builtin.txt, src/map.c, src/testdir/test_maparg.vim
25396
25397Patch 8.2.4141 (after 8.2.4140)
25398Problem: Vim9 builtin functions test fails.
25399Solution: Add "scriptversion" item to maparg() result.
25400Files: src/testdir/test_vim9_builtin.vim
25401
25402Patch 8.2.4142
25403Problem: Build failure with normal features without persistent undo.
25404Solution: Adjust #ifdef. (closes #9557)
25405Files: src/fileio.c
25406
25407Patch 8.2.4143
25408Problem: MS-Windows: IME support for Win9x is obsolete.
25409Solution: Remove the Win9x code. (Ken Takata, closes #9559)
25410Files: src/gui_w32.c
25411
25412Patch 8.2.4144
25413Problem: Cannot load libsodium dynamically.
25414Solution: Support dynamic loading on MS-Windows. (Ken Takata, closes #9554)
25415Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/buffer.c,
25416 src/crypt.c, src/memline.c, src/proto/crypt.pro
25417
25418Patch 8.2.4145
25419Problem: Confusing error when using name of import for a function.
25420Solution: Pass a flag to trans_function_name().
25421Files: src/vim.h, src/userfunc.c, src/proto/userfunc.pro, src/eval.c,
25422 src/testdir/test_vim9_import.vim
25423
25424Patch 8.2.4146
25425Problem: Vim9: shadowed function can be used in compiled function but not
25426 at script level.
25427Solution: Also give an error in a compiled function. (closes #9563)
25428Files: src/vim9expr.c
25429
25430Patch 8.2.4147
25431Problem: E464 does not always include the offending command.
25432Solution: Add another error message with "%s". (closes #9564)
25433Files: src/errors.h, src/vim9compile.c, src/ex_docmd.c,
25434 src/testdir/test_vim9_script.vim
25435
25436Patch 8.2.4148
25437Problem: Deleting any mapping may cause <ScriptCmd> to not set the script
25438 context.
25439Solution: Only reset last_used_map if it is the deleted mapping.
25440 (closes #9568)
25441Files: src/map.c, src/getchar.c, src/proto/getchar.pro,
25442 src/testdir/test_mapping.vim
25443
25444Patch 8.2.4149
25445Problem: Test override not restored, autocommand left behind.
25446Solution: Correct restoring test override. Delete autocommand afterwards.
25447Files: src/testdir/test_autocmd.vim, src/testdir/test_mapping.vim
25448
25449Patch 8.2.4150
25450Problem: Coverity warns for using pointer after free.
25451Solution: Swap statements, even though using the pointer is no problem.
25452Files: src/map.c
25453
25454Patch 8.2.4151
25455Problem: Reading beyond the end of a line.
25456Solution: For block insert only use the offset for correcting the length.
25457Files: src/ops.c, src/testdir/test_visual.vim
25458
25459Patch 8.2.4152
25460Problem: Block insert with double wide character fails.
25461Solution: Adjust the expected output.
25462Files: src/testdir/test_utf8.vim
25463
25464Patch 8.2.4153
25465Problem: MS-Windows: Global IME is no longer supported.
25466Solution: Remove the Global IME implementation. (Ken Takata, closes #9562)
25467Files: Filelist, runtime/doc/mbyte.txt, src/Make_mvc.mak, src/dimm.idl,
25468 src/glbl_ime.cpp, src/glbl_ime.h, src/gui_w32.c, src/vim.h
25469
25470Patch 8.2.4154
25471Problem: ml_get error when exchanging windows in Visual mode.
25472Solution: Correct end of Visual area when entering another buffer.
25473Files: src/window.c, src/testdir/test_visual.vim
25474
25475Patch 8.2.4155
25476Problem: Translating strftime() argument results in check error.
25477Solution: Add gettext comment.
25478Files: src/time.c
25479
25480Patch 8.2.4156
25481Problem: Fileinfo message overwrites echo'ed message.
25482Solution: Reset need_fileinfo when displaying a message. (Rob Pilling,
25483 closes #9569)
25484Files: src/message.c, src/testdir/test_messages.vim,
25485 src/testdir/dumps/Test_fileinfo_after_echo.dump
25486
25487Patch 8.2.4157
25488Problem: Terminal test fails because Windows sets the title.
25489Solution: Add the "vterm_title" testing override and use it in the test.
25490 (Ozaki Kiichi, closes #9556)
25491Files: runtime/doc/testing.txt, src/globals.h, src/terminal.c,
25492 src/testing.c, src/testdir/test_terminal.vim
25493
25494Patch 8.2.4158
25495Problem: MS-Windows: memory leak in :browse.
25496Solution: Free stuff before returning. (Ken Takata, closes #9574)
25497Files: src/gui_w32.c
25498
25499Patch 8.2.4159
25500Problem: MS-Windows: _WndProc() is very long.
25501Solution: Move code to separate functions. (Ken Takata, closes #9573)
25502Files: src/gui_w32.c
25503
25504Patch 8.2.4160
25505Problem: Cannot change the register used for Select mode delete.
25506Solution: Make CTRL-R set the register to be used when deleting text for
25507 Select mode. (Shougo Matsushita, closes #9531)
25508Files: runtime/doc/visual.txt, src/globals.h, src/normal.c, src/ops.c,
25509 src/testdir/test_selectmode.vim
25510
25511Patch 8.2.4161
25512Problem: Vim9: warning for missing white space after imported variable.
25513Solution: Do not skip white space. (closes #9567)
25514Files: src/vim9expr.c, src/testdir/test_vim9_import.vim
25515
25516Patch 8.2.4162
25517Problem: Vim9: no error for redefining function with export.
25518Solution: Check for existing function with/without prefix. (closes #9577)
25519Files: src/userfunc.c, src/scriptfile.c, src/testdir/test_vim9_import.vim
25520
25521Patch 8.2.4163
25522Problem: No error for omitting function name after autoload prefix.
25523Solution: Check for missing function name. (issue #9577)
25524Files: src/userfunc.c, src/testdir/test_vim9_import.vim
25525
25526Patch 8.2.4164 (after 8.2.4162)
25527Problem: Error in legacy code for function shadowing variable.
25528Solution: Only give the error in Vim9 script.
25529Files: src/userfunc.c
25530
25531Patch 8.2.4165
25532Problem: The nv_g_cmd() function is too long.
25533Solution: Move code to separate functions. (Yegappan Lakshmanan,
25534 closes #9576)
25535Files: src/normal.c
25536
25537Patch 8.2.4166
25538Problem: Undo synced when switching buffer in another window.
25539Solution: Do not sync undo when not needed. (closes #9575)
25540Files: src/buffer.c, src/testdir/test_timers.vim
25541
25542Patch 8.2.4167
25543Problem: Vim9: error message for old style import.
25544Solution: Use another error message. Add a test.
25545Files: src/evalvars.c, src/errors.h, src/testdir/test_vim9_import.vim
25546
25547Patch 8.2.4168 (after 8.2.4163)
25548Problem: Disallowing empty function name breaks existing plugins.
25549Solution: Allow empty function name in legacy script.
25550Files: src/userfunc.c, src/testdir/test_autoload.vim,
25551 src/testdir/sautest/autoload/foo.vim
25552
25553Patch 8.2.4169
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025554Problem: MS-Windows: unnecessary casts and other minor things.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025555Solution: Clean up the MS-Windows code. (Ken Takata, closes #9583)
25556Files: src/gui_w32.c
25557
25558Patch 8.2.4170
25559Problem: MS-Windows: still using old message API calls.
25560Solution: Call the "W" functions directly. (Ken Takata, closes #9582)
25561Files: src/gui_w32.c, src/os_mswin.c, src/os_win32.c, src/os_win32.h
25562
25563Patch 8.2.4171
25564Problem: Cannot invoke option function using autoload import.
25565Solution: Expand the import to an autoload function name. (closes #9578)
25566Files: src/userfunc.c, src/evalvars.c, src/proto/evalvars.pro,
25567 src/option.c, src/testdir/test_vim9_import.vim
25568
25569Patch 8.2.4172
25570Problem: Filetype detection for BASIC is not optimal.
25571Solution: Improve BASIC filetype detection. (Doug Kearns)
25572Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
25573 src/testdir/test_filetype.vim
25574
25575Patch 8.2.4173
25576Problem: Cannot use an import in 'foldexpr'.
25577Solution: Set the script context to where 'foldexpr' was set. (closes #9584)
25578 Fix that the script context was not set for all buffers.
25579Files: src/eval.c, src/proto/eval.pro, src/fold.c, src/structs.h,
25580 src/option.c, src/testdir/test_vim9_import.vim
25581
25582Patch 8.2.4174
25583Problem: Vim9: can use an autoload name in normal script.
25584Solution: Disallow using an autoload name.
25585Files: src/userfunc.c, src/errors.h, src/testdir/test_vim9_import.vim
25586
25587Patch 8.2.4175
25588Problem: MS-Windows: runtime check for multi-line balloon is obsolete.
25589Solution: Remove the obsolete code. (Ken Takata, closes #9592)
25590Files: src/evalfunc.c, src/gui_w32.c, src/proto/gui_w32.pro
25591
25592Patch 8.2.4176
25593Problem: Vim9: cannot use imported function with call().
25594Solution: Translate the function name. (closes #9590)
25595Files: src/evalfunc.c, src/testdir/test_vim9_import.vim
25596
25597Patch 8.2.4177
25598Problem: Vim9: autoload script not loaded after "vim9script noclear".
25599Solution: Check IMP_FLAGS_AUTOLOAD properly. (closes #9593)
25600Files: src/vim9compile.c, src/testdir/test_vim9_import.vim
25601
25602Patch 8.2.4178
25603Problem: Vim9: invalid error for return type of lambda when debugging.
25604Solution: Do not check the return type of a lambda. (closes #9589)
25605Files: src/vim9cmds.c
25606
25607Patch 8.2.4179
25608Problem: 'foldtext' is evaluated in the current script context.
25609Solution: Use the script context where the option was set.
25610Files: src/fold.c, src/buffer.c, src/eval.c, src/proto/eval.pro,
25611 src/findfile.c, src/testdir/test_vim9_import.vim
25612
25613Patch 8.2.4180
25614Problem: 'balloonexpr' is evaluated in the current script context.
25615Solution: Use the script context where the option was set.
25616Files: src/beval.c, src/option.c, src/proto/option.pro,
25617 src/testdir/test_balloon.vim,
25618 src/testdir/dumps/Test_balloon_eval_term_01.dump,
25619 src/testdir/dumps/Test_balloon_eval_term_01a.dump,
25620 src/testdir/dumps/Test_balloon_eval_term_02.dump
25621
25622Patch 8.2.4181
25623Problem: Vim9: cannot use an import in 'diffexpr'.
25624Solution: Set the script context when evaluating 'diffexpr'. Do not require
25625 'diffexpr' to return a bool, it was ignored anyway.
25626Files: src/evalvars.c, src/testdir/test_vim9_import.vim
25627
25628Patch 8.2.4182 (after 8.2.4182)
25629Problem: Memory leak when evaluating 'diffexpr'.
25630Solution: Use free_tv() instead of clear_tv().
25631Files: src/evalvars.c
25632
25633Patch 8.2.4183
25634Problem: Cannot use an import in 'formatexpr'.
25635Solution: Set the script context when evaluating 'formatexpr'.
25636Files: src/textformat.c, src/testdir/test_vim9_import.vim
25637
25638Patch 8.2.4184
25639Problem: Cannot use an import in 'includeexpr'.
25640Solution: Set the script context when evaluating 'includeexpr'
25641Files: src/findfile.c, src/testdir/test_vim9_import.vim
25642
25643Patch 8.2.4185
25644Problem: Cannot use an import in 'indentexpr'.
25645Solution: Set the script context when evaluating 'indentexpr'
25646Files: src/indent.c, src/testdir/test_vim9_import.vim
25647
25648Patch 8.2.4186
25649Problem: Cannot use an import in 'patchexpr'.
25650Solution: Set the script context when evaluating 'patchexpr'. Do not
25651 require 'patchexpr' to return a bool, it was ignored anyway.
25652Files: src/evalvars.c, src/testdir/test_vim9_import.vim
25653
25654Patch 8.2.4187
25655Problem: Gnuplot file not recognized.
25656Solution: Recognize ".gnuplot". (closes #9588)
25657Files: runtime/filetype.vim, src/testdir/test_filetype.vim
25658
25659Patch 8.2.4188
25660Problem: Not all gitconfig files are recognized.
25661Solution: Add a few more patterns. (Tim Pope, closes #9597)
25662Files: runtime/filetype.vim, src/testdir/test_filetype.vim
25663
25664Patch 8.2.4189
25665Problem: MS-Windows: code for "old look" is obsolete.
25666Solution: Delete obsolete code. Use "MS Shell Dlg" font. (Ken Takata,
25667 closes #9596)
25668Files: src/gui_w32.c
25669
25670Patch 8.2.4190
25671Problem: All conceal tests are skipped without the screendumps feature.
25672Solution: Only skip the tests that use screendumps. (closes #9599)
25673Files: src/testdir/test_conceal.vim
25674
25675Patch 8.2.4191
25676Problem: json5 files are not recognized.
25677Solution: Add a pattern for json5 files. (closes #9601)
25678Files: runtime/filetype.vim, src/testdir/test_filetype.vim
25679
25680Patch 8.2.4192
25681Problem: Cannot use an import in 'printexpr'.
25682Solution: Set the script context when evaluating 'printexpr'.
25683Files: src/evalvars.c, src/testdir/test_vim9_import.vim
25684
25685Patch 8.2.4193
25686Problem: Cannot use an import in 'charconvert'.
25687Solution: Set the script context when evaluating 'charconvert'. Also expand
25688 script-local functions in 'charconvert'.
25689Files: src/evalvars.c, src/optionstr.c, src/testdir/test_vim9_import.vim
25690
25691Patch 8.2.4194
25692Problem: MS-Windows: code for calculating font size is duplicated.
25693Solution: Move the code to a function. (Ken Takata, closes #9603)
25694Files: src/gui_w32.c
25695
25696Patch 8.2.4195
25697Problem: Resizing terminal may cause to behave like CTRL-Z.
25698Solution: Set "got_tstp" only when in_mch_suspend is set. (Dorian Bivolaru,
25699 closes #9602, closes #9586)
25700Files: src/os_unix.c
25701
25702Patch 8.2.4196
25703Problem: Various file types not recognized.
25704Solution: Add patterns to recognize more file types (closes #9607)
25705Files: runtime/filetype.vim, src/testdir/test_filetype.vim
25706
25707Patch 8.2.4197
25708Problem: Cannot use an import in the "expr" part of 'spellsuggest'.
25709Solution: Set the script context when evaluating "expr" of 'spellsuggest'.
25710Files: src/evalvars.c, src/testdir/test_vim9_import.vim
25711
25712Patch 8.2.4198
25713Problem: Vim9: the switch for executing instructions is too long.
25714Solution: Move some code to separate functions.
25715Files: src/vim9execute.c
25716
25717Patch 8.2.4199
25718Problem: MS-Windows: Support for MSVC before 2003 is not useful.
25719Solution: Remove the exceptions for MSVC 6.0. (Ken Takata, closes #9616)
25720Files: src/GvimExt/gvimext.h, src/ex_docmd.c, src/feature.h,
25721 src/gui_w32.c, src/if_cscope.c, src/if_ole.cpp, src/if_ruby.c,
25722 src/macros.h, src/os_mswin.c, src/os_win32.c, src/os_win32.h,
25723 src/proto/os_win32.pro, src/time.c, src/vim.h
25724
25725Patch 8.2.4200
25726Problem: Some tests do not clean up properly.
25727Solution: Delete created files. (Yegappan Lakshmanan, closes #9611)
25728Files: src/testdir/test_filetype.vim, src/testdir/test_messages.vim,
25729 src/testdir/test_vim9_import.vim
25730
25731Patch 8.2.4201
25732Problem: When using the GUI CTRL-Z does not stop gvim.
25733Solution: When using the GUI set SIGTSTP to SIG_DFL. (Andrew Maltsev,
25734 closes #9570)
25735Files: src/os_unix.c
25736
25737Patch 8.2.4202
25738Problem: Vim9: cannot export function that exists globally.
25739Solution: When checking if a function already exists only check for
25740 script-local functions. (closes #9615)
Bram Moolenaar47c532e2022-03-19 15:18:53 +000025741Files: src/userfunc.c, src/proto/userfunc.pro, src/vim.h,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025742 src/vim9compile.c, src/vim9instr.c,
25743 src/testdir/test_vim9_import.vim
25744
25745Patch 8.2.4203
25746Problem: Entering a character with CTRL-V may include modifiers.
25747Solution: Reset "mod_mask" when entering a character with digits after
25748 CTRL-V. (closes #9610)
25749Files: src/edit.c, src/testdir/test_edit.vim
25750
25751Patch 8.2.4204
25752Problem: screenpos() has non-zero row for invisible text.
25753Solution: Only add the window row when the text is visible. (closes #9618)
25754Files: src/move.c, src/testdir/test_cursor_func.vim
25755
25756Patch 8.2.4205
25757Problem: The normal_cmd() function is too long.
25758Solution: Move parts to separate functions. (Yegappan Lakshmanan,
25759 closes #9608)
25760Files: src/normal.c
25761
25762Patch 8.2.4206
25763Problem: Condition with many "(" causes a crash.
25764Solution: Limit recursion to 1000.
25765Files: src/errors.h, src/eval.c, src/testdir/test_eval_stuff.vim
25766
25767Patch 8.2.4207 (after 8.2.4206)
25768Problem: Recursion test fails with MSVC.
25769Solution: Use a smaller limit for MSVC.
25770Files: src/eval.c
25771
25772Patch 8.2.4208
25773Problem: Using setbufvar() may change the window title.
25774Solution: Do not redraw when creating the autocommand window. (closes #9613)
25775Files: src/autocmd.c, src/testdir/test_functions.vim
25776
25777Patch 8.2.4209
25778Problem: partial in 'opfunc' cannot use an imported function.
25779Solution: Also expand the function name in a partial. (closes #9614)
25780Files: src/evalvars.c, src/testdir/test_vim9_import.vim
25781
25782Patch 8.2.4210 (after 8.2.4208)
25783Problem: Window title test fails in some configurations.
25784Solution: Only run the test if the title can be obtained.
25785Files: src/testdir/test_functions.vim
25786
25787Patch 8.2.4211 (after 8.2.4208)
25788Problem: Window title test still fails in some configurations.
25789Solution: Use WaitForAssert().
25790Files: src/testdir/test_functions.vim
25791
25792Patch 8.2.4212 (after 8.2.4208)
25793Problem: Window title test still fails in some configurations.
25794Solution: Explicitly set the 'title' option.
25795Files: src/testdir/test_functions.vim
25796
25797Patch 8.2.4213
25798Problem: Too much code for supporting old MSVC versions.
25799Solution: Remove MSVC 2003 support. (Ken Takata, closes #9623)
25800Files: Filelist, src/INSTALLpc.txt, src/Make_mvc.mak, src/gui_w32.c,
25801 src/msvcsetup.bat, src/os_win32.c
25802
25803Patch 8.2.4214
25804Problem: Illegal memory access with large 'tabstop' in Ex mode.
25805Solution: Allocate enough memory.
25806Files: src/ex_getln.c, src/testdir/test_ex_mode.vim
25807
25808Patch 8.2.4215
25809Problem: Illegal memory access when copying lines in Visual mode.
25810Solution: Adjust the Visual position after copying lines.
25811Files: src/ex_cmds.c, src/testdir/test_visual.vim
25812
25813Patch 8.2.4216
25814Problem: Vim9: cannot use a function from an autoload import directly.
25815Solution: Add the AUTOLOAD instruction to figure out at runtime.
25816 (closes #9620)
25817Files: src/vim9expr.c, src/vim9.h, src/vim9execute.c, src/vim9instr.c,
25818 src/proto/vim9instr.pro, src/testdir/test_vim9_import.vim,
25819 src/testdir/test_vim9_disassemble.vim
25820
25821Patch 8.2.4217
25822Problem: Illegal memory access when undo makes Visual area invalid.
25823Solution: Correct the Visual area after undo.
25824Files: src/undo.c, src/testdir/test_visual.vim
25825
25826Patch 8.2.4218
25827Problem: Illegal memory access with bracketed paste in Ex mode.
25828Solution: Reserve space for the trailing NUL.
25829Files: src/edit.c, src/testdir/test_paste.vim
25830
25831Patch 8.2.4219
25832Problem: Reading before the start of the line.
25833Solution: Check boundary before trying to read the character.
25834Files: src/register.c, src/testdir/test_visual.vim
25835
25836Patch 8.2.4220
25837Problem: MS-Windows: some old compiler support remains.
25838Solution: Remove obsolete compiler support. (Ken Takata, closes #9627)
25839Files: src/Make_mvc.mak, src/vim.h
25840
25841Patch 8.2.4221
25842Problem: Some functions in normal.c are very long.
25843Solution: Move code to separate functions. (Yegappan Lakshmanan,
25844 closes #9628)
25845Files: src/normal.c
25846
25847Patch 8.2.4222
25848Problem: MS-Windows: clumsy way to suppress progress on CI.
25849Solution: Check for "$CI" in the Makefile itself. (Ken Takata, closes #9631)
25850Files: .github/workflows/ci.yml, ci/appveyor.bat, src/Make_mvc.mak
25851
25852Patch 8.2.4223
25853Problem: Long/int compiler warnings; function arguments swapped.
25854Solution: Add type casts. Swap arguments. (Ken Takata, closes #9632)
25855Files: src/alloc.c, src/eval.c, src/vim9script.c
25856
25857Patch 8.2.4224
25858Problem: Vim9: no error when using a number for map() second argument
25859Solution: Disallow number to string conversion. (closes #9630)
25860Files: src/eval.c, src/evalfunc.c, src/testdir/test_vim9_builtin.vim
25861
25862Patch 8.2.4225
25863Problem: Vim9: depth argument of :lockvar not parsed in :def function.
25864Solution: Parse the optional depth argument. (closes #9629)
25865 Fix that locking doesn't work for a non-materialize list.
25866Files: src/vim9cmds.c, src/evalvars.c, src/structs.h, src/evalfunc.c,
25867 src/errors.h, src/vim9execute.c, src/testdir/test_vim9_cmd.vim,
25868 src/testdir/test_vim9_disassemble.vim
25869
25870Patch 8.2.4226 (after 8.2.4224)
25871Problem: Filter-map test fails.
25872Solution: Only reject number argument in Vim9 script.
25873Files: src/eval.c
25874
25875Patch 8.2.4227
25876Problem: Vim9: using "lockvar!" in :def function does not work.
25877Solution: Add "!" instead of "-1". (closes #9634)
25878Files: src/vim9cmds.c, src/testdir/test_vim9_cmd.vim
25879
25880Patch 8.2.4228
25881Problem: No tests for clicking in the GUI tabline.
25882Solution: Add test functions to generate the events. Add tests using the
25883 functions. (Yegappan Lakshmanan, closes #9638)
25884Files: runtime/doc/builtin.txt, runtime/doc/testing.txt,
25885 runtime/doc/usr_41.txt, src/evalfunc.c, src/normal.c,
25886 src/proto/testing.pro, src/testdir/test_diffmode.vim,
25887 src/testdir/test_gui.vim, src/testdir/test_normal.vim,
25888 src/testing.c
25889
25890Patch 8.2.4229
25891Problem: Possible crash when invoking timer callback fails.
25892Solution: Initialize the typval. Give an error for an empty callback.
25893 (closes #9636)
25894Files: src/time.c, src/testdir/test_vim9_builtin.vim
25895
25896Patch 8.2.4230
25897Problem: MS-Windows: set_guifontwide() is included but won't work.
25898Solution: Include set_guifontwide() only for X11. (Ken Takata, closes #9640)
25899Files: src/gui.c
25900
25901Patch 8.2.4231
25902Problem: Vim9: map() gives type error when type was not declared.
25903Solution: Only check the type when it was declared, like extend() does.
25904 (closes #9635)
25905Files: src/list.c, src/evalfunc.c, src/vim9instr.c,
25906 src/testdir/test_vim9_builtin.vim,
25907 src/testdir/test_vim9_assign.vim
25908
25909Patch 8.2.4232 (after 8.2.4231)
25910Problem: Some compilers don't like a goto label without statement.
25911Solution: Return instead of using a goto.
25912Files: src/list.c
25913
25914Patch 8.2.4233
25915Problem: Crash when recording and using Select mode.
25916Solution: When deleting the last recorded character check there is something
25917 to delete.
25918Files: src/getchar.c, src/testdir/test_registers.vim
25919
25920Patch 8.2.4234
25921Problem: test_garbagecollect_now() does not check v:testing as documented.
25922Solution: Give an error if v:testing is not set.
25923Files: src/testing.c, src/errors.h, src/testdir/test_functions.vim
25924
25925Patch 8.2.4235
25926Problem: Invalid check for NULL pointer.
25927Solution: Remove the check.
25928Files: src/getchar.c
25929
25930Patch 8.2.4236
25931Problem: Accessing freed memory.
25932Solution: Set the bh_curr pointer to NULL.
25933Files: src/getchar.c
25934
25935Patch 8.2.4237
25936Problem: Record buffer wrong if character in Select mode was not typed.
25937Solution: Only delete the tail from the record buffer if the character was
25938 typed. (closes #9650)
25939Files: src/normal.c, src/testdir/test_registers.vim
25940
25941Patch 8.2.4238
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010025942Problem: *.tf file could be filetype "tf" or "terraform".
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025943Solution: Detect the type from the file contents. (closes #9642)
25944Files: runtime/filetype.vim, runtime/autoload/dist/ft.vim,
25945 src/testdir/test_filetype.vim
25946
25947Patch 8.2.4239
25948Problem: Build fails with unusual configuration.
25949Solution: Adjust #ifdef. (closes #9651)
25950Files: src/testing.c
25951
25952Patch 8.2.4240
25953Problem: Error for using flatten() in Vim9 script is unclear.
25954Solution: Add a remark to use flattennew().
25955Files: src/errors.h
25956
25957Patch 8.2.4241
25958Problem: Some type casts are redundant.
25959Solution: Remove the type casts. (closes #9643)
25960Files: src/blob.c, src/buffer.c, src/channel.c, src/clientserver.c,
25961 src/clipboard.c, src/drawline.c, src/drawscreen.c, src/edit.c,
25962 src/evalfunc.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_eval.c,
25963 src/fold.c, src/if_cscope.c, src/json.c, src/match.c,
25964 src/memline.c, src/message.c, src/misc1.c, src/normal.c,
25965 src/ops.c, src/option.c, src/optionstr.c, src/os_unix.c,
25966 src/register.c, src/sign.c, src/spellfile.c, src/tag.c, src/ui.c,
25967 src/undo.c, src/window.c
25968
25969Patch 8.2.4242
25970Problem: Put in Visual mode cannot be repeated.
25971Solution: Use "P" to put without yanking the deleted text into the unnamed
25972 register. (Shougo Matsushita, closes #9591)
25973Files: runtime/doc/visual.txt, src/normal.c, src/register.c,
25974 src/testdir/test_visual.vim
25975
25976Patch 8.2.4243
25977Problem: Lua tests fail with Lua 5.4.4.
25978Solution: Check messages like before Lua 5.4.3. (Jakub KulĂ­k, closes #9652)
25979Files: src/testdir/test_lua.vim
25980
25981Patch 8.2.4244
25982Problem: MS-Windows: warning from MSVC on debug build.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025983Solution: Adjust "/opt" options. Remove unused variables. Make variables
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025984 uppercase for consistency. (Ken Takata, closes #9647)
25985Files: src/Make_mvc.mak
25986
25987Patch 8.2.4245
25988Problem: ":retab 0" may cause illegal memory access.
25989Solution: Limit the value of 'tabstop' to 10000.
25990Files: src/option.c, src/vim.h, src/indent.c,
25991 src/testdir/test_options.vim
25992
25993Patch 8.2.4246
25994Problem: One error message not in errors.h. (Antonio Colombo)
25995Solution: Move the message and rename.
25996Files: src/errors.h, src/if_perl.xs
25997
25998Patch 8.2.4247
25999Problem: Stack corruption when looking for spell suggestions.
26000Solution: Prevent the depth increased too much. Add a five second time
26001 limit to finding suggestions.
26002Files: src/spellsuggest.c, src/testdir/test_spell.vim
26003
26004Patch 8.2.4248
26005Problem: No proper test for moving the window separator.
26006Solution: Add a test. Add comment in code. (closes #9656)
26007Files: src/window.c, src/testdir/test_window_cmd.vim
26008
26009Patch 8.2.4249
26010Problem: The timeout limit for spell suggestions is always 5000 milli
26011 seconds.
26012Solution: Add the "timeout" entry to 'spellsuggest'.
26013Files: runtime/doc/options.txt, src/spellsuggest.c,
26014 src/testdir/test_spell.vim
26015
26016Patch 8.2.4250
26017Problem: Channel out callback test is flaky on Mac.
26018Solution: Assign high priority to the test process. (Ozaki Kiichi,
26019 closes #9653)
26020Files: src/testdir/test_channel_pipe.py, src/testdir/thread_util.py
26021
26022Patch 8.2.4251
26023Problem: Vala files are not recognized.
26024Solution: Add the *.vala pattern. (closes #9654)
26025Files: runtime/filetype.vim, src/testdir/test_filetype.vim
26026
26027Patch 8.2.4252
26028Problem: Generating the normal command table at runtime is inefficient.
26029Solution: Generate the table with a Vim script and put it in a header file.
26030 (Yegappan Lakshmanan, closes #9648)
26031Files: Filelist, runtime/doc/builtin.txt, runtime/doc/usr_41.txt,
26032 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Make_vms.mms,
26033 src/Makefile, src/create_nvcmdidxs.vim, src/evalfunc.c,
26034 src/main.c, src/normal.c, src/nv_cmdidxs.h, src/proto/normal.pro
26035
26036Patch 8.2.4253
26037Problem: Using freed memory when substitute uses a recursive function call.
26038Solution: Make a copy of the substitute text.
26039Files: src/ex_cmds.c, src/testdir/test_substitute.vim
26040
26041Patch 8.2.4254
26042Problem: Using short instead of int.
26043Solution: Use int. (closes #9658)
26044Files: src/if_cscope.c
26045
26046Patch 8.2.4255
26047Problem: Theoretical computation overflow.
26048Solution: Perform multiplication in a wider type. (closes #9657)
26049Files: src/alloc.c, src/drawline.c, src/eval.c, src/evalfunc.c,
26050 src/ex_docmd.c, src/hardcopy.c, src/list.c, src/memfile.c,
26051 src/memline.c, src/popupwin.c
26052
26053Patch 8.2.4256
26054Problem: MS-Windows: compiler warnings when compiled with /W4.
26055Solution: Small adjustments to the code. (Ken Takata, closes #9659)
26056Files: src/gui_w32.c, src/os_win32.c
26057
26058Patch 8.2.4257
26059Problem: Vim9: finding global function without g: prefix but not finding
26060 global variable is inconsistent.
26061Solution: Require using g: for a global function. Change the vim9.vim
26062 script into a Vim9 script with exports. Fix that import in legacy
26063 script does not work.
26064Files: src/vim9expr.c, src/evalfunc.c, src/eval.c, src/userfunc.c,
26065 src/testdir/vim9.vim, src/testdir/test_vim9_assign.vim,
26066 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim,
26067 src/testdir/test_vim9_disassemble.vim,
26068 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
26069 src/testdir/test_vim9_import.vim,
26070 src/testdir/test_vim9_script.vim, src/testdir/test_blob.vim,
26071 src/testdir/test_execute_func.vim, src/testdir/test_debugger.vim,
26072 src/testdir/test_expr.vim, src/testdir/test_filter_map.vim,
26073 src/testdir/test_float_func.vim, src/testdir/test_functions.vim,
26074 src/testdir/test_glob2regpat.vim, src/testdir/test_highlight.vim,
26075 src/testdir/test_iminsert.vim, src/testdir/test_ins_complete.vim,
26076 src/testdir/test_listdict.vim, src/testdir/test_mapping.vim,
26077 src/testdir/test_normal.vim, src/testdir/test_popupwin.vim,
26078 src/testdir/test_profile.vim, src/testdir/test_quickfix.vim,
26079 src/testdir/test_tagfunc.vim, src/testdir/test_textprop.vim,
26080 src/testdir/test_usercommands.vim
26081
26082Patch 8.2.4258
26083Problem: Coverity warns for array overrun.
26084Solution: Restrict depth to MAXWLEN - 1.
26085Files: src/spellsuggest.c
26086
26087Patch 8.2.4259
26088Problem: Number of test functions for GUI events is growing.
26089Solution: Use one function with a dictionary. (Yegappan Lakshmanan,
26090 closes #9660)
26091Files: runtime/doc/builtin.txt, runtime/doc/testing.txt,
26092 runtime/doc/usr_41.txt, src/evalfunc.c, src/proto/testing.pro,
26093 src/testdir/test_gui.vim, src/testdir/test_vim9_builtin.vim,
26094 src/testing.c
26095
26096Patch 8.2.4260
26097Problem: Vim9: can still use a global function without g: at the script
26098 level.
26099Solution: Also check for g: at the script level. (issue #9637)
26100Files: src/userfunc.c, src/proto/userfunc.pro, src/evalvars.c,
26101 src/vim9expr.c, src/testdir/test_vim9_assign.vim,
26102 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim,
26103 src/testdir/test_vim9_disassemble.vim,
26104 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
26105 src/testdir/test_vim9_import.vim,
26106 src/testdir/test_ins_complete.vim, src/testdir/test_popupwin.vim,
26107 src/testdir/dumps/Test_popupwin_scroll_11.dump,
26108 src/testdir/dumps/Test_popupwin_scroll_12.dump
26109
26110Patch 8.2.4261
26111Problem: Accessing invalid memory when a regular expression checks the
26112 Visual area while matching in a string.
26113Solution: Do not try matching the Visual area in a string.
26114Files: src/regexp.c, src/testdir/test_help.vim
26115
26116Patch 8.2.4262 (after 8.2.4261)
26117Problem: Some search tests fail.
26118Solution: Use a better way to reject searching for the Visual area.
26119Files: src/regexp.c
26120
26121Patch 8.2.4263
26122Problem: No test for the GUI find/replace dialog.
26123Solution: Add a test function and a test. (Yegappan Lakshmanan,
26124 closes #9662)
26125Files: runtime/doc/testing.txt, src/testdir/test_gui.vim, src/testing.c
26126
26127Patch 8.2.4264
26128Problem: Vim9: can use old style autoload function name.
26129Solution: Give an error for old style autoload function name.
26130Files: src/errors.h, src/userfunc.c, src/testdir/test_vim9_import.vim,
26131 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
26132
26133Patch 8.2.4265 (after 8.2.4264)
26134Problem: Autoload tests fails.
26135Solution: Use export instead of name with #.
26136Files: src/testdir/sautest/autoload/auto9.vim,
Bram Moolenaar47c532e2022-03-19 15:18:53 +000026137 src/testdir/test_autoload.vim, src/testdir/test_ins_complete.vim
Bram Moolenaarc51cf032022-02-26 12:25:45 +000026138
26139Patch 8.2.4266
26140Problem: Compiler warning for uninitialized variable.
26141Solution: Initialize saved_did_emsg.
26142Files: src/userfunc.c
26143
26144Patch 8.2.4267
26145Problem: Unused entry in keymap enum.
26146Solution: Remove the entry.
26147Files: src/keymap.h
26148
26149Patch 8.2.4268
26150Problem: CI log output is long.
26151Solution: Group output in sections. (Ozaki Kiichi, closes #9670)
26152Files: .github/workflows/ci.yml
26153
26154Patch 8.2.4269
26155Problem: Coverity warns for using a NULL pointer.
26156Solution: Check for "name" to not be NULL.
26157Files: src/userfunc.c
26158
26159Patch 8.2.4270
26160Problem: Generating nv_cmdidxs.h requires building Vim twice.
26161Solution: Move the table into a separate file and use a separate executable
26162 to extract the command characters. (Ozaki Kiichi, closes #9669)
26163Files: src/normal.c, src/nv_cmds.h, Filelist, runtime/doc/builtin.txt,
26164 runtime/doc/usr_41.txt, src/Make_cyg_ming.mak, src/Make_mvc.mak,
26165 src/Make_vms.mms, src/Makefile, src/create_nvcmdidxs.c,
26166 src/create_nvcmdidxs.vim, src/evalfunc.c, src/proto/normal.pro
26167
26168Patch 8.2.4271
26169Problem: MS-Windows: cannot build with Ruby 3.1.0.
26170Solution: Adjust the DLL name and include directory. (Ken Takata,
26171 closes #9666)
26172Files: src/Make_cyg_ming.mak, src/Make_mvc.mak
26173
26174Patch 8.2.4272
26175Problem: Vim9 expr test fails without the channel feature. (Dominique
26176 Pellé)
26177Solution: Remove "g:" before "CheckFeature". (closes #9671)
26178Files: src/testdir/test_vim9_expr.vim
26179
26180Patch 8.2.4273
26181Problem: The EBCDIC support is outdated.
26182Solution: Remove the EBCDIC support.
26183Files: src/ascii.h, src/charset.c, src/cindent.c, src/digraph.c,
26184 src/edit.c, src/eval.c, src/evalfunc.c, src/ex_cmds.c,
26185 src/feature.h, src/filepath.c, src/findfile.c, src/getchar.c,
26186 src/gui.c, src/gui_motif.c, src/hardcopy.c, src/help.c,
26187 src/macros.h, src/map.c, src/mark.c, src/misc2.c, src/normal.c,
26188 src/ops.c, src/option.c, src/option.h, src/optiondefs.h,
26189 src/os_unix.c, src/proto/evalfunc.pro, src/regexp.c,
26190 src/regexp_bt.c, src/regexp_nfa.c, src/register.c, src/screen.c,
26191 src/spell.c, src/strings.c, src/structs.h, src/term.c,
26192 src/version.c, src/viminfo.c, src/testdir/test_edit.vim,
26193 src/testdir/test_exec_while_if.vim, src/testdir/test_expr.vim,
26194 src/testdir/test_gf.vim, src/testdir/test_regexp_utf8.vim
26195
26196Patch 8.2.4274
26197Problem: Basic and form filetype detection is incomplete.
26198Solution: Add a separate function for .frm files. (Doug Kearns, closes #9675)
26199Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
26200 src/testdir/test_filetype.vim
26201
26202Patch 8.2.4275
26203Problem: Cannot use an autoload function from a package under start.
26204Solution: Also look in the "start" package directory. (Bjorn Linse,
26205 closes #7193)
26206Files: src/scriptfile.c, src/testdir/test_packadd.vim
26207
26208Patch 8.2.4276
26209Problem: Separate test function for the GUI scrollbar.
26210Solution: Use test_gui_event(). (Yegappan Lakshmanan, closes #9674)
26211Files: runtime/doc/builtin.txt, runtime/doc/testing.txt,
26212 runtime/doc/usr_41.txt, src/evalfunc.c, src/testing.c,
26213 src/proto/testing.pro, src/testdir/test_gui.vim,
26214 src/testdir/test_vim9_builtin.vim
26215
26216Patch 8.2.4277
26217Problem: Vim9: an import does not shadow a command modifier.
26218Solution: Do not accept a command modifier followed by a dot.
26219Files: src/ex_docmd.c, src/testdir/test_vim9_import.vim
26220
26221Patch 8.2.4278
26222Problem: Build with Athena GUI fails. (Elimar Riesebieter)
26223Solution: Add #ifdef.
26224Files: src/testing.c
26225
26226Patch 8.2.4279
26227Problem: Vim9: cannot change item type with map() after range().
26228Solution: Split the return type in current type and declared type.
26229 (closes #9665)
26230Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9instr.c,
26231 src/vim9type.c, src/proto/vim9type.pro,
26232 src/testdir/test_vim9_builtin.vim
26233
26234Patch 8.2.4280 (after 8.2.4279)
26235Problem: list-dict test crashes.
26236Solution: Check declared type for add().
26237Files: src/vim9expr.vim
26238
26239Patch 8.2.4281
26240Problem: Using freed memory with :lopen and :bwipe.
26241Solution: Do not use a wiped out buffer.
26242Files: src/buffer.c, src/testdir/test_quickfix.vim
26243
26244Patch 8.2.4282
26245Problem: Restricted mode requires the -Z command line option.
26246Solution: Use restricted mode when $SHELL ends in "nologin" or "false".
26247 (closes #9681)
26248Files: runtime/doc/starting.txt, src/option.c,
26249 src/testdir/test_restricted.vim
26250
26251Patch 8.2.4283
26252Problem: Using a variable for the return value is not needed.
26253Solution: Return the value directly. (closes #9687)
26254Files: src/ex_docmd.c, src/misc2.c
26255
26256Patch 8.2.4284
26257Problem: Old mac resources files are no longer used.
26258Solution: Delete the unused files. (Ozaki Kiichi, closes #9688)
26259Files: Filelist, src/Makefile, src/dehqx.py, src/infplist.xml,
26260 src/os_mac.rsr.hqx, src/os_mac_rsrc/app.icns,
26261 src/os_mac_rsrc/doc-txt.icns, src/os_mac_rsrc/doc.icns
26262
26263Patch 8.2.4285
26264Problem: Vim9: type of item in for loop not checked properly.
26265Solution: Adjust the type checking. (closes #9683)
26266Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9cmds.c,
26267 src/testdir/test_vim9_script.vim
26268
26269Patch 8.2.4286
26270Problem: Vim9: strict type checking after copy() and deepcopy().
26271Solution: Allow type to change after making a copy. (closes #9644)
26272Files: src/eval.c, src/proto/eval.pro, src/dict.c, src/proto/dict.pro,
26273 src/list.c, src/proto/list.pro, src/evalfunc.c, src/vim9execute.c,
26274 src/vim9type.c, src/proto/vim9type.pro, src/evalvars.c,
26275 src/testdir/test_vim9_builtin.vim,
26276 src/testdir/test_vim9_assign.vim
26277
26278Patch 8.2.4287
26279Problem: Cannot assign empty list with any list type to variable with
26280 specific list type.
26281Solution: Use unknown list type for empty list if the specified type is any.
26282Files: src/vim9type.c, src/testdir/test_vim9_assign.vim,
26283 src/testdir/test_vim9_func.vim
26284
26285Patch 8.2.4288
26286Problem: Preprocessor indents are inconsistent.
26287Solution: Fix preprocessor indents. (Ken Takata, closes #9691)
26288Files: src/arglist.c, src/change.c, src/ex_cmds.c, src/gui.c,
26289 src/hashtab.c, src/indent.c, src/ops.c, src/os_win32.c
26290
26291Patch 8.2.4289
26292Problem: Warnings reported by MSVC.
26293Solution: Rename variables and other fixes. (Ken Takata, closes #9689)
26294Files: src/cmdexpand.c, src/drawscreen.c, src/filepath.c, src/getchar.c,
26295 src/menu.c, src/os_win32.c, src/version.c
26296
26297Patch 8.2.4290
26298Problem: MS-Windows: using type casts for timer IDs.
26299Solution: Remove type casts and use the right type. (Ken Takata,
26300 closes #9690) Remove old debug comments. Rename variables and
26301 functions.
26302Files: src/gui_w32.c
26303
26304Patch 8.2.4291
26305Problem: Error number used twice.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000026306Solution: Renumber the errors.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000026307Files: src/errors.h
26308
26309Patch 8.2.4292 (after 8.2.4291)
26310Problem: Test fails.
26311Solution: Adjust the expected error number.
26312Files: src/testdir/test_vim9_cmd.vim
26313
26314Patch 8.2.4293
26315Problem: Vim9: when copying a list it gets type list<any> even when the
26316 original list did not have a type.
26317Solution: Only set the type when the original list has a type. (closes #9692)
26318Files: src/list.c, src/testdir/test_vim9_expr.vim
26319
26320Patch 8.2.4294
26321Problem: MS-Windows: #ifdefs for Cygwin are too complicated.
26322Solution: Simplify the conditions. (Ken Takata, closes #9693)
26323Files: src/evalfunc.c, src/main.c, src/os_unix.c, src/os_win32.c,
26324 src/os_win32.h
26325
26326Patch 8.2.4295
26327Problem: Vim9: concatenating two lists may result in wrong type.
26328Solution: Remove the type instead of using list<any>. (closes #9692)
26329Files: src/list.c, src/testdir/test_vim9_expr.vim
26330
26331Patch 8.2.4296
26332Problem: Vim9: not all code covered by tests.
26333Solution: Add a few more tests for corner cases. Fix hang when single quote
26334 is missing.
26335Files: src/vim9expr.c, src/testdir/test_vim9_assign.vim,
26336 src/testdir/test_vim9_cmd.vim, src/testdir/test_vim9_expr.vim
26337
26338Patch 8.2.4297
26339Problem: Vim9: not all code covered by tests.
26340Solution: Add a couple more tests.
26341Files: src/testdir/test_vim9_script.vim,
26342 src/testdir/test_vim9_disassemble.vim
26343
26344Patch 8.2.4298
26345Problem: Divide by zero with huge tabstop value.
26346Solution: Reject tabstop value that overflows to zero.
26347Files: src/indent.c, src/testdir/test_vartabs.vim
26348
26349Patch 8.2.4299
26350Problem: SafeState autocommand interferes with debugging.
26351Solution: Do not trigger SafeState while debugging. (closes #9697)
26352Files: src/main.c
26353
26354Patch 8.2.4300 (after 8.2.4299)
26355Problem: Cannot build tiny version. (Tony Mechelynck)
26356Solution: Add #ifdef.
26357Files: src/main.c
26358
26359Patch 8.2.4301
26360Problem: Vim9: type error for copy of dict.
26361Solution: Do not use dict<any> but no type. (closes #9696)
26362Files: src/dict.c, src/testdir/test_vim9_builtin.vim
26363
26364Patch 8.2.4302
26365Problem: Vim9: return type of getline() is too strict.
26366Solution: Make the declared type list<any>. Also do this for other
26367 functions returning a list of a specific type.
26368Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
26369
26370Patch 8.2.4303
26371Problem: A few messages should not be translated.
26372Solution: Remove _(). (Dominique Pellé, closes #9702)
26373Files: src/syntax.c
26374
26375Patch 8.2.4304
26376Problem: Vim9: slice() makes a copy but doesn't change the type.
26377Solution: Change the declared type like copy(). (closes #9696)
26378Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
26379
26380Patch 8.2.4305
26381Problem: Tex filetype detection fails.
26382Solution: Check value to be positive. (closes #9704)
26383Files: runtime/autoload/dist/ft.vim, src/testdir/test_filetype.vim
26384
26385Patch 8.2.4306
26386Problem: No test for fixed perl filetype check.
26387Solution: Add a test. Sort test functions.
26388Files: src/testdir/test_filetype.vim
26389
26390Patch 8.2.4307
26391Problem: A few more messages should not be translated.
26392Solution: Remove _().
26393Files: src/syntax.c
26394
26395Patch 8.2.4308
26396Problem: Vim9: cannot list autoload function.
26397Solution: Don't give an error for using # when listing a function.
26398 (closes #9703)
26399Files: src/userfunc.c, src/testdir/test_vim9_import.vim
26400
26401Patch 8.2.4309
26402Problem: Vim9: crash when using a partial in the wrong context.
26403Solution: Don't use an NULL outer pointer. (closes #9706)
26404Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
26405
26406Patch 8.2.4310
26407Problem: Vim9: constant list and dict get a declaration type other than
26408 "any".
26409Solution: A constant list and dict have a declared member type "any".
26410 (closes #9701)
26411Files: src/vim9instr.c, src/vim9type.c, src/proto/vim9type.pro,
26412 src/testdir/test_vim9_builtin.vim
26413
26414Patch 8.2.4311
26415Problem: Vim9: changing script variable type not caught at compile time.
26416Solution: Set the declared type.
26417Files: src/vim9instr.c, src/testdir/test_vim9_assign.vim
26418
26419Patch 8.2.4312
26420Problem: No error for using :vim9script in a :def function.
26421Solution: Give an error when compiling.
26422Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
26423
26424Patch 8.2.4313
26425Problem: Vim9: cannot change type of list after making a slice.
26426Solution: Adjust the declared member type. (closes #9696)
26427Files: src/vim9expr.c, src/testdir/test_vim9_builtin.vim
26428
26429Patch 8.2.4314 (after 8.2.4312)
26430Problem: Test fails where lines are skipped.
26431Solution: Only give an error when not skipping commands.
26432Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
26433
26434Patch 8.2.4315
26435Problem: Put in Visual mode not fully tested.
26436Solution: Add a few more test cases. (closes #9708)
26437Files: src/testdir/test_visual.vim
26438
26439Patch 8.2.4316
26440Problem: __CYGWIN32__ is not defined on 64 bit systems.
26441Solution: Update #ifdefs. (Ken Takata, closes #9709)
26442Files: src/main.c, src/os_unix.c, src/pty.c, src/vim.h
26443
26444Patch 8.2.4317
26445Problem: MS-Windows: Vim exits when Python 3 initialisation fails.
26446Solution: Hook into the exit() function to recover from the failure.
26447 (Ken Takata, closes #9710)
26448Files: runtime/doc/if_pyth.txt, src/if_python3.c, src/os_win32.c,
26449 src/errors.h, src/proto/os_win32.pro
26450
26451Patch 8.2.4318
26452Problem: Various comment and indent mistakes, returning wrong zero.
26453Solution: Fix the mistakes. Return NULL instead of FAIL.
26454Files: src/clientserver.c, src/eval.c, src/evalvars.c, src/vim9cmds.c,
26455 src/window.c
26456
26457Patch 8.2.4319
26458Problem: :put does not work properly in compiled function. (John Beckett)
26459Solution: Adjust the direction when using line zero.
26460Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
26461
26462Patch 8.2.4320
26463Problem: Athena and Motif: when maximized scrollbar position is wrong.
26464Solution: Implement the scrollbar padding functions. (closes #9712)
26465Files: src/gui_athena.c, src/gui_motif.c
26466
26467Patch 8.2.4321
26468Problem: Vim9: crash when using a funcref to a closure.
26469Solution: Copy pt_outer to the new partial. (closes #9714)
26470Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
26471
26472Patch 8.2.4322
26473Problem: Vim9: crash when using funcref with closure.
26474Solution: Keep a reference to the funcref that has the outer context.
26475 (closes #9716)
26476Files: src/evalfunc.c, src/structs.h, src/eval.c, src/vim9execute.c,
26477 src/testdir/test_vim9_func.vim
26478
26479Patch 8.2.4323
26480Problem: Vim9: nested function name can start with "_".
26481Solution: Use same rule for function name for nested functions.
26482 (closes #9713)
26483Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
26484
26485Patch 8.2.4324
26486Problem: Vim9: script-local function name can start with "_".
26487Solution: Check for leading capital after "s:". Correct error message.
26488Files: src/userfunc.c, src/errors.h, src/vim9compile.c,
26489 src/testdir/test_vim9_func.vim
26490
26491Patch 8.2.4325
26492Problem: 'wildmenu' only shows few matches.
26493Solution: Add the "pum" option: use a popup menu to show the matches.
26494 (Yegappan Lakshmanan et al., closes #9707)
26495Files: runtime/doc/options.txt, src/vim.h, src/cmdexpand.c,
26496 src/drawscreen.c, src/evalfunc.c, src/ex_getln.c, src/option.h,
26497 src/optionstr.c, src/popupmenu.c, src/proto/cmdexpand.pro,
26498 src/testdir/test_cmdline.vim,
26499 src/testdir/dumps/Test_wildmenu_pum_01.dump,
26500 src/testdir/dumps/Test_wildmenu_pum_02.dump,
26501 src/testdir/dumps/Test_wildmenu_pum_03.dump,
26502 src/testdir/dumps/Test_wildmenu_pum_04.dump,
26503 src/testdir/dumps/Test_wildmenu_pum_05.dump,
26504 src/testdir/dumps/Test_wildmenu_pum_06.dump,
26505 src/testdir/dumps/Test_wildmenu_pum_07.dump,
26506 src/testdir/dumps/Test_wildmenu_pum_08.dump,
26507 src/testdir/dumps/Test_wildmenu_pum_09.dump,
26508 src/testdir/dumps/Test_wildmenu_pum_10.dump,
26509 src/testdir/dumps/Test_wildmenu_pum_11.dump,
26510 src/testdir/dumps/Test_wildmenu_pum_12.dump,
26511 src/testdir/dumps/Test_wildmenu_pum_13.dump,
26512 src/testdir/dumps/Test_wildmenu_pum_14.dump,
26513 src/testdir/dumps/Test_wildmenu_pum_15.dump,
26514 src/testdir/dumps/Test_wildmenu_pum_16.dump,
26515 src/testdir/dumps/Test_wildmenu_pum_17.dump,
26516 src/testdir/dumps/Test_wildmenu_pum_18.dump,
26517 src/testdir/dumps/Test_wildmenu_pum_19.dump,
26518 src/testdir/dumps/Test_wildmenu_pum_20.dump,
26519 src/testdir/dumps/Test_wildmenu_pum_21.dump,
26520 src/testdir/dumps/Test_wildmenu_pum_22.dump,
26521 src/testdir/dumps/Test_wildmenu_pum_23.dump,
26522 src/testdir/dumps/Test_wildmenu_pum_24.dump,
26523 src/testdir/dumps/Test_wildmenu_pum_25.dump,
26524 src/testdir/dumps/Test_wildmenu_pum_26.dump,
26525 src/testdir/dumps/Test_wildmenu_pum_27.dump,
26526 src/testdir/dumps/Test_wildmenu_pum_28.dump,
26527 src/testdir/dumps/Test_wildmenu_pum_29.dump
26528
26529Patch 8.2.4326
26530Problem: "o" and "O" copying comment not sufficiently tested.
26531Solution: Add a test case. (closes #9718)
26532Files: src/testdir/test_textformat.vim
26533
26534Patch 8.2.4327
26535Problem: May end up with no current buffer.
26536Solution: When deleting the current buffer to not pick a quickfix buffer as
26537 the new current buffer.
26538Files: src/buffer.c, src/testdir/test_quickfix.vim
26539
26540Patch 8.2.4328
Bram Moolenaar1588bc82022-03-08 21:35:07 +000026541Problem: Command line complete matches cleared when typing character.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000026542 (Dominique Pellé)
26543Solution: Only remove a popup menu if there is one.
26544Files: src/ex_getln.c, src/testdir/test_cmdline.vim,
26545 src/testdir/dumps/Test_wildmenu_pum_30.dump,
26546 src/testdir/dumps/Test_wildmenu_pum_31.dump
26547
26548Patch 8.2.4329
26549Problem: No support for end line number and column in 'errorformat'.
26550Solution: Add %e and %k. (closes #9624)
26551Files: runtime/doc/quickfix.txt, src/quickfix.c,
26552 src/testdir/test_quickfix.vim
26553
26554Patch 8.2.4330
26555Problem: Vim9: no error if script imports itself.
26556Solution: Give an error when a script imports itself.
26557Files: src/vim9script.c, src/errors.h, src/testdir/test_vim9_import.vim
26558
26559Patch 8.2.4331
26560Problem: Vim9: no test for existing script variable in block.
26561Solution: Add a test.
26562Files: src/testdir/test_vim9_func.vim
26563
26564Patch 8.2.4332
26565Problem: Vim9: incomplete test for existing script variable in block.
26566Solution: Add a couple more tests. Fix uncovered problem.
26567Files: src/userfunc.c, src/vim9compile.c, src/proto/vim9compile.pro,
26568 src/vim9script.c, src/vim9expr.c, src/testdir/test_vim9_func.vim
26569
26570Patch 8.2.4333
26571Problem: cstack not always passed to where it is needed.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000026572Solution: Pass cstack through functions.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000026573Files: src/eval.c, src/vim9expr.c, src/vim9script.c,
26574 src/proto/vim9script.pro, src/vim9compile.c,
26575 src/proto/vim9compile.pro
26576
26577Patch 8.2.4334
26578Problem: Command line popup menu not positioned correctly.
26579Solution: Also use vim_strsize() on the existing text. (Naruhiko Nishino,
26580 closes #9727)
26581Files: src/cmdexpand.c, src/testdir/test_cmdline.vim,
26582 src/testdir/dumps/Test_wildmenu_pum_32.dump
26583
26584Patch 8.2.4335
26585Problem: No autocommand event triggered before changing directory. (Ronnie
26586 Magatti)
26587Solution: Add DirChangedPre. (closes #9721)
26588Files: runtime/doc/autocmd.txt, src/ex_docmd.c, src/proto/ex_docmd.pro,
26589 src/vim.h, src/autocmd.c, src/misc2.c,
26590 src/testdir/test_autocmd.vim
26591
26592Patch 8.2.4336
26593Problem: Using :filter for :scriptnames does not work. (Ben Jackson)
26594Solution: Call message_filtered(). (closes #9720)
26595Files: src/scriptfile.c, src/testdir/test_filter_cmd.vim
26596
26597Patch 8.2.4337
26598Problem: Part of condition is always true.
26599Solution: Remove that part of the condition. (closes #9729)
26600Files: src/filepath.c
26601
26602Patch 8.2.4338
26603Problem: An error from an expression mapping messes up the display.
26604Solution: When the expression results in an empty string return K_IGNORE.
26605 In cmdline mode redraw the command line. (closes #9726)
26606Files: src/getchar.c, src/testdir/test_mapping.vim,
26607 src/testdir/dumps/Test_map_expr_2.dump,
26608 src/testdir/dumps/Test_map_expr_3.dump,
26609 src/testdir/dumps/Test_map_expr_4.dump
26610
26611Patch 8.2.4339
26612Problem: CTRL-A does not work properly with the cmdline popup menu.
26613Solution: Fix issues with CTRL-A. Add more tests for the cmdline popup
26614 menu. Remove TermWait() before VeriryScreenDump(). Refactor the
26615 cmdline popup code. (Yegappan Lakshmanan, closes #9735)
26616Files: src/cmdexpand.c, src/ex_getln.c, src/popupmenu.c,
26617 src/testdir/screendump.vim, src/testdir/test_bufline.vim,
26618 src/testdir/test_cmdline.vim, src/testdir/test_conceal.vim,
26619 src/testdir/test_cursorline.vim, src/testdir/test_diffmode.vim,
26620 src/testdir/test_display.vim, src/testdir/test_highlight.vim,
26621 src/testdir/test_match.vim, src/testdir/test_popup.vim,
26622 src/testdir/test_search_stat.vim, src/testdir/test_terminal.vim,
26623 src/testdir/test_textprop.vim,
26624 src/testdir/dumps/Test_wildmenu_pum_33.dump,
26625 src/testdir/dumps/Test_wildmenu_pum_34.dump,
26626 src/testdir/dumps/Test_wildmenu_pum_35.dump,
26627 src/testdir/dumps/Test_wildmenu_pum_36.dump,
26628 src/testdir/dumps/Test_wildmenu_pum_37.dump
26629
26630Patch 8.2.4340
26631Problem: Amiga: mch_can_exe() is not implemented.
26632Solution: Implement mch_can_exe() for Amiga OS 4. (Ola Söder, closes #9731)
26633Files: src/os_amiga.c
26634
26635Patch 8.2.4341
26636Problem: Command line not redrawn when finishing popup menu and the screen
26637 has scrolled up.
26638Solution: Redraw the command line after updating the screen. (closes #9722)
26639Files: src/cmdexpand.c, src/testdir/test_cmdline.vim,
26640 src/testdir/dumps/Test_wildmenu_pum_38.dump
26641
26642Patch 8.2.4342
26643Problem: CI will soon switch to other windows version.
26644Solution: Use "windows-2019" instead of "windows-latest". (Ozaki Kiichi,
26645 closes #9740)
26646Files: .github/workflows/ci.yml
26647
26648Patch 8.2.4343
26649Problem: When reloading not all properties are detected.
26650Solution: Add the "edit" value to v:fcs_choice. (Rob Pilling, closes #9579)
26651Files: runtime/doc/editing.txt, runtime/doc/eval.txt, src/fileio.c,
26652 src/proto/fileio.pro, src/message.c, src/spellfile.c,
26653 src/testdir/test_filechanged.vim
26654
26655Patch 8.2.4344
26656Problem: Amiga: header file included twice.
26657Solution: Remove #include. (Ola Söder, closes #9733)
26658Files: src/memfile.c
26659
26660Patch 8.2.4345
26661Problem: <amatch> is expanded like a file name for DirChangedPre.
26662Solution: Do not expand <amatch>. (closes #9742) Also for the User event.
26663Files: src/autocmd.c, src/testdir/test_autocmd.vim
26664
26665Patch 8.2.4346
26666Problem: A custom statusline may cause Esc to work like Enter on the
26667 command line when the popup menu is displayed.
26668Solution: Save and restore KeyTyped. (closes #9749)
26669Files: src/drawscreen.c, src/testdir/test_cmdline.vim,
26670 src/testdir/dumps/Test_wildmenu_pum_39.dump
26671
26672Patch 8.2.4347
26673Problem: In some build setups UNUSED is not defined.
26674Solution: Change the logic of how UNUSED is defined. (Ola Söder,
26675 closes #9734)
26676Files: src/vim.h
26677
26678Patch 8.2.4348
26679Problem: "legacy exe cmd" does not do what one would expect.
26680Solution: Apply the "legacy" and "vim9script" command modifiers to the
26681 argument of ":execute".
26682Files: runtime/doc/vim9.txt, src/globals.h, src/eval.c, src/ex_docmd.c,
26683 src/testdir/test_vim9_cmd.vim
26684
26685Patch 8.2.4349
26686Problem: FileChangedShell test fails on MS-Windows.
26687Solution: Skip the test on MS-Windows.
26688Files: src/testdir/test_filechanged.vim
26689
26690Patch 8.2.4350
26691Problem: FEAT_GUI_ENABLED defined but never used.
26692Solution: Remove the #define. (Ola Söder, closes #9732)
26693Files: src/vim.h
26694
26695Patch 8.2.4351
26696Problem: No coverage is measured on MS-Windows CI.
26697Solution: Enable coverage on MS-Windows. (Ozaki Kiichi, closes #9750)
26698Files: .github/workflows/ci.yml
26699
26700Patch 8.2.4352
26701Problem: ReScript files are not recognized.
26702Solution: Add the *.res and *.resi patterns. (Ananda Umamil, closes #9752)
26703Files: runtime/filetype.vim, src/testdir/test_filetype.vim
26704
26705Patch 8.2.4353
26706Problem: CI does not use the latest Lua and Python.
26707Solution: Use Lua 5.4.2 and Python 3.10. (closes #9744)
26708Files: .github/workflows/ci.yml
26709
26710Patch 8.2.4354
26711Problem: Dynamic loading of libsodium not handled properly.
26712Solution: Fix has() and :version. Show an error message when loading fails.
26713 Fix memory leaks. (Ken Takata, closes #9754)
26714Files: src/crypt.c, src/evalfunc.c, src/gui_dwrite.cpp, src/if_cscope.c,
26715 src/os_win32.c, src/proto/crypt.pro, src/proto/os_win32.pro,
26716 src/version.c
26717
26718Patch 8.2.4355
26719Problem: Unnecessary call to check_colorcolumn().
26720Solution: Remove the call. (Sean Dewar, closes #9748)
26721Files: src/option.c, src/window.c
26722
26723Patch 8.2.4356
26724Problem: Command line completion functions are very long.
26725Solution: Refactor into multiple functions. (Yegappan Lakshmanan,
26726 closes #9753)
26727Files: src/cmdexpand.c
26728
26729Patch 8.2.4357 (after 8.2.4348)
26730Problem: sticky command modifiers are too sticky.
26731Solution: Do not apply command modifiers to a sourced script. (closes #9751)
26732Files: src/scriptfile.c, src/testdir/test_vim9_cmd.vim
26733
26734Patch 8.2.4358
26735Problem: Vim9: line number of exception is not set.
26736Solution: Set the line number before throwing an exception. (closes #9755)
26737Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
26738
26739Patch 8.2.4359
26740Problem: crash when repeatedly using :retab.
26741Solution: Bail out when the line is getting too long.
26742Files: src/indent.c, src/testdir/test_retab.vim
26743
26744Patch 8.2.4360
26745Problem: Vim9: allowing use of "s:" leads to inconsistencies.
26746Solution: Disallow using "s:" in Vim9 script at the script level.
26747Files: src/userfunc.c, src/proto/userfunc.pro, src/errors.h,
26748 src/vim9compile.c, src/eval.c, src/testdir/vim9.vim,
26749 src/testdir/test_vim9_assign.vim,
26750 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim,
26751 src/testdir/test_vim9_disassemble.vim,
26752 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
26753 src/testdir/test_vim9_import.vim, src/testdir/test_vim9_script.vim
26754
26755Patch 8.2.4361 (after 8.2.4360)
26756Problem: Vim9: some tests fail.
26757Solution: Fix the tests, mostly by removing "s:".
26758Files: src/testdir/test_expr.vim, src/testdir/test_functions.vim,
26759 src/testdir/test_ins_complete.vim, src/testdir/test_normal.vim,
26760 src/testdir/test_tagfunc.vim
26761
26762Patch 8.2.4362
26763Problem: :retab may allocate too much memory.
26764Solution: Bail out when allocating more than MAXCOL bytes.
26765Files: src/indent.c
26766
26767Patch 8.2.4363
26768Problem: MS-Windows: running out of memory for a very long line.
26769Solution: Use a 32 bit value for MAXCOL also when ints are 64 bits.
26770Files: src/vim.h
26771
26772Patch 8.2.4364
26773Problem: MS-Windows: still running out of memory for a very long line.
26774Solution: Check for negative length.
26775Files: src/indent.c
26776
26777Patch 8.2.4365 (after 8.2.4348)
26778Problem: sticky command modifiers are too sticky.
26779Solution: Do not apply command modifiers to a called function. (closes #9751)
26780Files: src/userfunc.c, src/testdir/test_vim9_cmd.vim
26781
26782Patch 8.2.4366
26783Problem: Not enough tests for command line completion.
26784Solution: Add a few more tests. (Yegappan Lakshmanan, closes #9760)
26785Files: src/cmdexpand.c, src/testdir/test_cmdline.vim,
26786 src/testdir/test_usercommands.vim
26787
26788Patch 8.2.4367
26789Problem: Calling in_vim9script() multiple times.
26790Solution: Call it once and keep the result.
26791Files: src/userfunc.c, src/eval.c
26792
26793Patch 8.2.4368
26794Problem: Amiga: a few compiler warnings.
26795Solution: Adjust #ifdefs. Add "UNUSED". (Ola Söder, closes #9756,
26796 closes #9757)
26797Files: src/term.c, src/os_amiga.c
26798
26799Patch 8.2.4369
26800Problem: Redundant #ifdef argument.
26801Solution: Remove unused MSWIN. (Ola Söder, closes #9758)
26802Files: src/feature.h
26803
26804Patch 8.2.4370
26805Problem: MS-Windows: libsodium.dll not included with the installer.
26806Solution: Add the file to the installer if it exists. (Christian Brabandt,
26807 closes #9762)
26808Files: nsis/gvim.nsi
26809
26810Patch 8.2.4371
26811Problem: Vim9: can create a script variable from a legacy function.
26812Solution: Disallow creating a script variable from a function.
26813Files: src/evalvars.c, src/errors.h, src/testdir/test_vim9_script.vim
26814
26815Patch 8.2.4372
26816Problem: Filetype detection from file contents is in legacy script.
26817Solution: Use a compiled function for filetype detection.
26818Files: runtime/scripts.vim, runtime/autoload/dist/script.vim
26819
26820Patch 8.2.4373
26821Problem: Expression test fails.
26822Solution: Make the test work with latest Vim9 syntax.
26823Files: src/testdir/test_expr.vim
26824
26825Patch 8.2.4374
26826Problem: Unreachable code.
26827Solution: Remove outdated code lines.
26828Files: src/vim9compile.c
26829
26830Patch 8.2.4375
26831Problem: ctx_imports is not used.
26832Solution: Delete ctx_imports. Add missing dependency.
26833Files: src/vim9.h, src/vim9compile.c, src/proto/vim9compile.pro,
26834 src/eval.c, src/evalfunc.c, src/evalvars.c, src/userfunc.c,
26835 src/vim9expr.c, src/vim9script.c, src/Makefile
26836
26837Patch 8.2.4376
26838Problem: Not enough tests for command line completion.
26839Solution: Add a few more tests. (Yegappan Lakshmanan, closes #9771)
26840Files: src/testdir/test_cmdline.vim, src/testdir/test_usercommands.vim
26841
26842Patch 8.2.4377
26843Problem: CI steps for Windows are a bit unorganized.
26844Solution: Organize CI test steps on Windows. (Ozaki Kiichi, closes #9764)
26845Files: .github/workflows/ci.yml
26846
26847Patch 8.2.4378
26848Problem: Incsearch highlight broken when calling searchcount() in 'tabLine'
26849 function. (Mirko Palmer)
26850Solution: Save and restore the incsearch state. (Christian Brabandt,
26851 closes #9763, closes #9633)
26852Files: src/search.c, src/testdir/test_search_stat.vim,
26853 src/testdir/dumps/Test_searchstat_inc_1.dump,
26854 src/testdir/dumps/Test_searchstat_inc_2.dump,
26855 src/testdir/dumps/Test_searchstat_inc_3.dump
26856
26857Patch 8.2.4379
26858Problem: An empty change is reported to a listener.
26859Solution: Do not report an empty change. (closes #9768) Remove unused
26860 return value.
26861Files: src/undo.c, src/change.c, src/testdir/test_listener.vim
26862
26863Patch 8.2.4380
26864Problem: Small differences between Chinese translation files.
26865Solution: Add rule for converting UTF-8 to gb2312. (closes #9773)
26866Files: src/po/Makefile, src/po/Make_all.mak
26867
26868Patch 8.2.4381 (after 8.2.4380)
26869Problem: Translation file listed twice.
26870Solution: Remove one entry.
26871Files: src/po/Make_all.mak
26872
26873Patch 8.2.4382 (after 8.2.4346)
26874Problem: A custom 'tabline' may cause Esc to work like Enter on the
26875 command line when the popup menu is displayed.
26876Solution: Save and restore KeyTyped. (closes #9776)
26877Files: src/drawscreen.c, src/screen.c, src/testdir/test_cmdline.vim,
26878 src/testdir/dumps/Test_wildmenu_pum_40.dump
26879
26880Patch 8.2.4383
26881Problem: Vim9: unused code lines.
26882Solution: Rely on either "cctx" or "cstack" to not be NULL.
26883Files: src/vim9compile.c
26884
26885Patch 8.2.4384
26886Problem: Vim9: error message not tested, some code not tested.
26887Solution: Add a couple of test cases. Give an error for a command modifier
26888 without a command.
26889Files: src/errors.h, src/vim9compile.c, src/ex_docmd.c,
26890 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_cmd.vim
26891
26892Patch 8.2.4385 (after 8.2.4384)
26893Problem: Cannot build tiny version.
26894Solution: Adjust #ifdefs.
26895Files: src/errors.h
26896
26897Patch 8.2.4386 (after 8.2.4384)
26898Problem: Still cannot build tiny version.
26899Solution: Adjust #ifdefs.
26900Files: src/ex_docmd.c
26901
26902Patch 8.2.4387
26903Problem: Command line completion doesn't always work properly.
26904Solution: Adjust triggering after a "|". Add more tests. (Yegappan
26905 Lakshmanan, closes #9779)
26906Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
26907
26908Patch 8.2.4388
26909Problem: Dead code in op_insert().
26910Solution: Remove condition and else block. (closes #9782)
26911Files: src/ops.c
26912
26913Patch 8.2.4389
26914Problem: screenpos() does not handle a position in a closed fold.
26915Solution: Check if the position is inside a closed fold. (closes #9778)
26916Files: src/move.c, src/testdir/test_cursor_func.vim
26917
26918Patch 8.2.4390
26919Problem: Vim9: list from declaration with inferred type does not set the
26920 type on the value.
26921Solution: When inferring the type in a variable declaration also set the
26922 type of the list or dictionary. (closes #9705) Do not set the
26923 type when the member is "any".
26924Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim,
26925 src/testdir/test_vim9_builtin.vim,
26926 src/testdir/test_vim9_disassemble.vim
26927
26928Patch 8.2.4391
26929Problem: Command line executed when typing Esc in the GUI.
26930Solution: Move saving/restoring KeyTyped to build_stl_str_hl().
26931 (closes #9783)
26932Files: src/buffer.c, src/screen.c
26933
26934Patch 8.2.4392 (after 8.2.4002)
26935Problem: MS-Windows with VIMDLL: Escaping CSI is wrong.
26936Solution: Put back #ifdef. (Ken Takata, closes #9769)
26937Files: src/getchar.c
26938
26939Patch 8.2.4393
26940Problem: Possible number overflow with nested folds.
26941Solution: Avoid a negative line number.
26942Files: src/fold.c
26943
26944Patch 8.2.4394 (after 8.2.4392)
26945Problem: UTF8 select mode test fails on MS-Windows.
26946Solution: Revert the #ifdef change.
26947Files: src/getchar.c
26948
26949Patch 8.2.4395
26950Problem: Some code lines not covered by tests.
26951Solution: Add a few more test cases. Fix getting more than one error for
26952 invalid assignment.
26953Files: src/evalvars.c, src/errors.h, src/vim9compile.c,
26954 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_cmd.vim,
26955 src/testdir/test_vim9_func.vim
26956
26957Patch 8.2.4396 (after 8.2.4395)
26958Problem: Python3 test fails.
26959Solution: Remove "let".
26960Files: src/testdir/test_vim9_func.vim
26961
26962Patch 8.2.4397
26963Problem: Crash when using many composing characters in error message.
26964Solution: Use mb_cptr2char_adv() instead of mb_ptr2char_adv().
26965Files: src/testing.c, src/testdir/test_assert.vim
26966
26967Patch 8.2.4398
26968Problem: Some command completion functions are too long.
26969Solution: Refactor code into separate functions. Add a few more tests.
26970 (Yegappan Lakshmanan, closes #9785)
26971Files: src/cmdexpand.c, src/ex_getln.c, src/usercmd.c,
26972 src/proto/usercmd.pro, src/testdir/test_cmdline.vim
26973
26974Patch 8.2.4399
26975Problem: Crash after ml_get error.
26976Solution: When returning "???" flush the line and set ml_line_lnum.
26977Files: src/memline.c
26978
26979Patch 8.2.4400 (after 8.2.4394)
26980Problem: MS-Windows: cannot use the mouse in the console with VIMDLL.
26981Solution: use add_char2buf() instead of fix_input_buffer(). (closes #9784,
26982 closes #9769)
26983Files: src/getchar.c
26984
26985Patch 8.2.4401
26986Problem: Map listing does not clear the rest of the command line.
26987Solution: Call msg_clear_eos(). (closes #5623, closes #5962)
26988Files: src/map.c, src/testdir/test_mapping.vim,
26989 src/testdir/dumps/Test_map_list_1.dump
26990
26991Patch 8.2.4402
26992Problem: Missing parenthesis may cause unexpected problems.
26993Solution: Add more parenthesis is macros. (closes #9788)
26994Files: src/autocmd.c, src/charset.c, src/drawline.c, src/drawscreen.c,
26995 src/evalfunc.c, src/fileio.c, src/fold.c, src/getchar.c,
26996 src/highlight.c, src/memline.c, src/normal.c, src/quickfix.c,
26997 src/regexp.c, src/search.c, src/sha256.c, src/spell.c,
26998 src/spellfile.c, src/spellsuggest.c, src/syntax.c, src/window.c
26999
27000Patch 8.2.4403
27001Problem: ml_get error with nested folds and deleting lines.
27002Solution: Correct the last line number before calling hasFoldingWin().
27003Files: src/change.c
27004
27005Patch 8.2.4404
27006Problem: Vim9: some code not covered by tests.
27007Solution: Add a few specific test cases.
27008Files: src/vim9execute.c, src/testdir/test_vim9_func.vim,
27009 src/testdir/test_vim9_import.vim
27010
27011Patch 8.2.4405
27012Problem: Compiler warning for unused variable without the +folding feature.
27013 (Tony Mechelynck)
27014Solution: Add #ifdef.
27015Files: src/change.c
27016
27017Patch 8.2.4406
27018Problem: Expand functions use confusing argument names.
27019Solution: Rename "file" to "match". Refactor some completion code. Add a
27020 few more tests. (Yegappan Lakshmanan, closes #9790)
27021Files: src/cmdexpand.c, src/testdir/test_usercommands.vim
27022
27023Patch 8.2.4407
27024Problem: Vim9: some code not covered by tests.
27025Solution: Add more tests. Avoid giving two errors. Remove dead code.
27026Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim,
27027 src/testdir/test_vim9_cmd.vim, src/testdir/test_vim9_func.vim
27028
27029Patch 8.2.4408
27030Problem: Vim9: some code not covered by tests.
27031Solution: Add a few more tests. Correct error message. Allow unlet on dict
27032 with a number key.
27033Files: src/vim9execute.c, src/errors.h, src/testdir/test_vim9_assign.vim
27034
27035Patch 8.2.4409
27036Problem: Vim9: some code not covered by tests.
27037Solution: Add a few more tests. Fix reported line number.
27038Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim
27039
27040Patch 8.2.4410
27041Problem: Vim9: some code not covered by tests.
27042Solution: Add a few more tests. Remove dead code.
27043Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim,
27044 src/testdir/test_vim9_cmd.vim, src/testdir/test_vim9_expr.vim,
27045 src/testdir/test_vim9_script.vim
27046
27047Patch 8.2.4411
27048Problem: Bicep files are not recognized.
27049Solution: Match *.bicep files. (Dundar Goc, closes #9791)
27050Files: runtime/filetype.vim, src/testdir/test_filetype.vim
27051
27052Patch 8.2.4412
27053Problem: Translation cleanup script does not remove empty lines at end.
27054Solution: Remove empty lines at the end. (Ken Takata, closes #9794)
27055Files: src/po/cleanup.vim
27056
27057Patch 8.2.4413
27058Problem: Vim9: Coverity warns for using NULL pointer.
27059Solution: Give an internal error when funcref function can't be found.
27060Files: src/vim9execute.c
27061
27062Patch 8.2.4414
27063Problem: Solidity files are not recognized.
27064Solution: Add the *.sol pattern. (Dundar Goc, closes #9792)
27065Files: runtime/filetype.vim, src/testdir/test_filetype.vim
27066
27067Patch 8.2.4415
27068Problem: Function argument name conflicts with C++ keyword.
27069Solution: Rename the argument.
27070Files: src/usercmd.c, src/proto/usercmd.pro
27071
27072Patch 8.2.4416
27073Problem: Vim9: using a script-local function requires using "s:" when
27074 setting 'completefunc'.
27075Solution: Do not require "s:" in Vim9 script. (closes #9796)
27076Files: runtime/doc/options.txt, src/userfunc.c,
27077 src/testdir/test_ins_complete.vim
27078
27079Patch 8.2.4417 (after 8.2.4416)
27080Problem: Using NULL pointer.
27081Solution: Set offset after checking for NULL pointer.
27082Files: src/userfunc.c
27083
27084Patch 8.2.4418
27085Problem: Crash when using special multi-byte character.
27086Solution: Don't use isalpha() for an arbitrary character.
27087Files: src/charset.c, src/proto/charset.pro, src/filepath.c,
27088 src/testdir/test_autochdir.vim
27089
27090Patch 8.2.4419
27091Problem: Illegal memory access when using exactly 20 highlights.
27092Solution: Add one more item in the array. (Brandon Richardson,
27093 closes #9800)
27094Files: src/buffer.c, src/testdir/test_tabline.vim
27095
27096Patch 8.2.4420
27097Problem: Menu translations are inconsistent.
27098Solution: Add a Makefile to convert between encodings. (Ada (Haowen) Yu,
27099 closes #9801)
27100Files: runtime/lang/Makefile, runtime/lang/menu_af_af.latin1.vim,
27101 runtime/lang/menu_ca_es.latin1.vim,
27102 runtime/lang/menu_chinese_gb.936.vim,
27103 runtime/lang/menu_chinese_taiwan.950.vim,
27104 runtime/lang/menu_cs_cz.iso_8859-2.vim,
27105 runtime/lang/menu_cs_cz.utf-8.vim,
27106 runtime/lang/menu_czech_czech_republic.1250.vim,
27107 runtime/lang/menu_czech_czech_republic.ascii.vim,
27108 runtime/lang/menu_da.utf-8.vim,
27109 runtime/lang/menu_de_de.latin1.vim,
27110 runtime/lang/menu_eo.utf-8.vim,
27111 runtime/lang/menu_es_es.latin1.vim,
27112 runtime/lang/menu_fi_fi.latin1.vim,
27113 runtime/lang/menu_fr_fr.latin1.vim,
27114 runtime/lang/menu_hu_hu.iso_8859-2.vim,
27115 runtime/lang/menu_hu_hu.utf-8.vim,
27116 runtime/lang/menu_is_is.latin1.vim,
27117 runtime/lang/menu_it_it.latin1.vim,
27118 runtime/lang/menu_ja_jp.euc-jp.vim,
27119 runtime/lang/menu_ja_jp.utf-8.vim,
27120 runtime/lang/menu_japanese_japan.932.vim,
27121 runtime/lang/menu_ko_kr.euckr.vim,
27122 runtime/lang/menu_ko_kr.utf-8.vim,
27123 runtime/lang/menu_nl_nl.latin1.vim,
27124 runtime/lang/menu_no_no.latin1.vim,
27125 runtime/lang/menu_pl_pl.iso_8859-2.vim,
27126 runtime/lang/menu_pl_pl.utf-8.vim,
27127 runtime/lang/menu_polish_poland.1250.vim,
27128 runtime/lang/menu_pt_br.vim, runtime/lang/menu_pt_pt.vim,
27129 runtime/lang/menu_ru.utf-8.vim,
27130 runtime/lang/menu_ru_ru.koi8-r.vim,
27131 runtime/lang/menu_ru_ru.utf-8.vim, runtime/lang/menu_ru_ru.vim,
27132 runtime/lang/menu_sk_sk.iso_8859-2.vim,
27133 runtime/lang/menu_sl_si.cp1250.vim,
27134 runtime/lang/menu_sl_si.latin2.vim,
27135 runtime/lang/menu_sl_si.utf-8.vim,
27136 runtime/lang/menu_slovak_slovak_republic.1250.vim,
27137 runtime/lang/menu_sr_rs.ascii.vim,
27138 runtime/lang/menu_sr_rs.iso_8859-2.vim,
27139 runtime/lang/menu_sr_rs.iso_8859-5.vim,
27140 runtime/lang/menu_sr_rs.utf-8.vim,
27141 runtime/lang/menu_sv_se.latin1.vim,
27142 runtime/lang/menu_tr_tr.cp1254.vim,
27143 runtime/lang/menu_tr_tr.iso_8859-9.vim,
27144 runtime/lang/menu_tr_tr.utf-8.vim,
27145 runtime/lang/menu_uk_ua.cp1251.vim,
27146 runtime/lang/menu_uk_ua.koi8-u.vim,
27147 runtime/lang/menu_uk_ua.utf-8.vim, runtime/lang/menu_vi_vn.vim,
27148 runtime/lang/menu_zh_cn.utf-8.vim,
27149 runtime/lang/menu_zh_tw.utf-8.vim
27150
27151Patch 8.2.4421
27152Problem: Some installed files and directories have wrong permissions.
27153Solution: Adjust the Makefile and shell to set permissions. (closes #9793)
27154Files: src/Makefile, src/installman.sh
27155
27156Patch 8.2.4422
27157Problem: Autochdir test fails on MS-Windows.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000027158Solution: Expect another error on MS-Windows.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000027159Files: src/testdir/test_autochdir.vim
27160
27161Patch 8.2.4423
27162Problem: "make nvcmdidxs" fails.
27163Solution: Use "-S" instead of "-u" to source the script.
27164Files: src/Makefile
27165
27166Patch 8.2.4424
27167Problem: ".gts" and ".gjs" files are not recognized.
27168Solution: Recognize Glimmer flavored typescript and javascript.
27169 (closes #9799)
27170Files: runtime/filetype.vim, src/testdir/test_filetype.vim
27171
27172Patch 8.2.4425
27173Problem: map() function does not check function arguments at compile time.
27174Solution: Give an error if the arguments of a map() function are wrong.
27175Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim,
27176 src/testdir/test_vim9_func.vim
27177
27178Patch 8.2.4426
27179Problem: map() function on string and blob does not check argument types at
27180 compile time.
27181Solution: Check string and blob argument types. Support "0z1234->func()".
27182Files: src/vim9compile.c, src/evalfunc.c, src/ex_docmd.c,
27183 src/testdir/test_vim9_builtin.vim
27184
27185Patch 8.2.4427
27186Problem: getchar() may return modifiers if no character is available.
27187Solution: Do not process modifiers when there is no character. (closes #9806)
27188Files: src/getchar.c, src/testdir/test_functions.vim
27189
27190Patch 8.2.4428
27191Problem: Crash when switching tabpage while in the cmdline window.
27192Solution: Disallow switching tabpage when in the cmdline window.
27193Files: src/window.c, src/proto/window.pro, src/evalvars.c,
27194 src/evalvars.c, src/usercmd.c
27195
27196Patch 8.2.4429
27197Problem: Using script-local function from the wrong script when using a
27198 partial. (Yegappan Lakshmanan)
27199Solution: Include the script ID in the partial name.
27200Files: src/userfunc.c, src/proto/userfunc.pro, src/evalfunc.c,
27201 src/vim9type.c, src/testdir/test_vim9_import.vim
27202
Bram Moolenaard799daa2022-06-20 11:17:32 +010027203Patch 8.2.4430
27204Problem: GTK: crash when using 'guiligatures' and reading from stdin.
27205Solution: Make a copy of the message. (Amon Sha, closes #9719, closes #9814)
27206Files: src/fileio.c
27207
27208Patch 8.2.4431
27209Problem: Unnecessary condition when assigning to a variable.
27210Solution: Remove the condition.
27211Files: src/evalvars.c
27212
27213Patch 8.2.4432 (after 8.2.4428)
27214Problem: Cannot use settabvar() while the cmdline window is open.
27215Solution: Only give an error when actually switching tabpage.
27216 (closes #9813)
27217Files: src/window.c
27218
27219Patch 8.2.4433
27220Problem: CI: cannot see interface versions for MS-Windows.
27221Solution: List the interface versions. (Ken Takata, closes #9811)
27222Files: .github/workflows/ci.yml
27223
27224Patch 8.2.4434
27225Problem: Duplicate check for cmdline window.
27226Solution: Remove the second check. (Sean Dewar, closes #9816)
27227Files: src/window.c
27228
27229Patch 8.2.4435
27230Problem: Dead code in checking map() arguments. (Dominique Pellé)
27231Solution: Remove the first return statement. (closes #9815)
27232Files: src/evalfunc.c
27233
27234Patch 8.2.4436
27235Problem: Crash with weird 'vartabstop' value.
27236Solution: Check for running into the end of the line.
27237Files: src/indent.c, src/testdir/test_vartabs.vim
27238
27239Patch 8.2.4437
27240Problem: Vartabs test fails on MS-Windows.
27241Solution: Use iso8859-1 'encoding'. (Ken Takata, closes #9818)
27242Files: src/testdir/test_vartabs.vim
27243
27244Patch 8.2.4438
27245Problem: Crash on exit when using cmdline window.
27246Solution: Reset "cmdwin_type" before exiting. (closes #9817)
27247Files: src/ui.c, src/testdir/test_exit.vim
27248
27249Patch 8.2.4439
27250Problem: Accepting "iso8859" 'encoding' as "iso-8859-".
27251Solution: use "iso8859" as "iso-8859-1".
27252Files: src/mbyte.c, src/testdir/test_options.vim
27253
27254Patch 8.2.4440
27255Problem: Crash with specific regexp pattern and string.
27256Solution: Stop at the start of the string.
27257Files: src/regexp_bt.c, src/testdir/test_regexp_utf8.vim
27258
27259Patch 8.2.4441
27260Problem: Vim9: function argument of filter() not checked like map().
27261Solution: Also check the function argument of filter().
27262Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
27263
27264Patch 8.2.4442 (after 8.2.4438)
27265Problem: Test for error reading input fails on MS-Windows.
27266Solution: Don't run the test on MS-Windows.
27267Files: src/testdir/test_exit.vim
27268
27269Patch 8.2.4443 (after 8.2.4440)
27270Problem: Regexp pattern test fails on Mac.
27271Solution: Do not use a swapfile for the buffer.
27272Files: src/testdir/test_regexp_utf8.vim
27273
27274Patch 8.2.4444
27275Problem: Beep caused by test. ASAN reports leaks.
27276Solution: Do not put a NL at the end of the script. Make the text work on
27277 MS-Windows. Do not run the test with ASAN.
27278Files: src/testdir/test_exit.vim
27279
27280Patch 8.2.4445
27281Problem: Exit test fails on MS-Windows anyway.
27282Solution: Skip the test on MS-Windows.
27283Files: src/testdir/test_exit.vim
27284
27285Patch 8.2.4446
27286Problem: Vim9: cannot refer to a global function like a local one.
27287Solution: When g:name is not a variable but a function, use a function
27288 reference. (closes #9826)
27289Files: src/vim9execute.c, src/testdir/test_vim9_builtin.vim
27290
27291Patch 8.2.4447
27292Problem: Vim9: can still use s:var in a compiled function.
27293Solution: Disallow using s:var for Vim9 script. (closes #9824)
27294Files: runtime/doc/vim9.txt, src/vim9expr.c, src/vim9compile.c,
27295 src/testdir/test_vim9_assign.vim
27296
27297Patch 8.2.4448 (after 8.2.4447)
27298Problem: Filetype detection is failing.
27299Solution: Do not use "s:" where it is no longer allowed.
27300Files: runtime/autoload/dist/ft.vim,
27301
27302Patch 8.2.4449
27303Problem: vim9: function argument of sort() not checked at compile time.
27304Solution: Add a compile time check.
27305Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
27306
27307Patch 8.2.4450 (after 8.2.4449)
27308Problem: List sort test fails.
27309Solution: Pass a valid "how" argument.
27310Files: src/testdir/test_listdict.vim
27311
27312Patch 8.2.4451 (after 8.2.4450)
27313Problem: sort() fails when ignoring case.
27314Solution: Accept a number one argument in sort().
27315Files: src/evalfunc.c, src/testdir/test_listdict.vim
27316
27317Patch 8.2.4452
27318Problem: Test for what 8.2.4436 fixes does not check for regression.
27319Solution: Set several options. (Ken Takata, closes #9830)
27320Files: src/testdir/test_vartabs.vim
27321
27322Patch 8.2.4453
27323Problem: :helpgrep may free an option that was not allocated. (Yegappan
27324 Lakshmanan)
27325Solution: Check if the value was allocated.
27326Files: src/option.c, src/proto/option.pro, src/quickfix.c,
27327 src/testdir/test_quickfix.vim
27328
27329Patch 8.2.4454
27330Problem: Resetting cmdwin_type only for one situation.
27331Solution: Reset cmdwin_type before closing windows. (closes #9822)
27332Files: src/ui.c, src/window.c, src/testdir/test_exit.vim
27333
27334Patch 8.2.4455
27335Problem: Accepting one and zero for the second sort() argument is strange.
27336Solution: Disallow using one and zero in Vim9 script.
27337Files: runtime/doc/builtin.txt, src/evalfunc.c, src/list.c,
27338 src/testdir/test_listdict.vim
27339
27340Patch 8.2.4456
27341Problem: Terminal test may fail on some machines.
27342Solution: Increase wait time. (Zdenek Dohnal, closes #9834)
27343Files: src/testdir/test_terminal.vim
27344
27345Patch 8.2.4457
27346Problem: The GPM library can only be linked statically.
27347Solution: Make it possible to load the GPM library dynamically. (Damien)
27348Files: runtime/doc/various.txt, src/config.h.in, src/configure.ac,
27349 src/Makefile, src/evalfunc.c, src/feature.h, src/os_unix.c,
27350 src/proto/os_unix.pro, src/version.c
27351
27352Patch 8.2.4458
27353Problem: Vim9: compiling filter() call fails with funcref that has unknown
27354 arguments.
27355Solution: Do not check the arguments if they are unknown at compile time.
27356 (closes #9835)
27357Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
27358
27359Patch 8.2.4459
27360Problem: Vim9: compiling sort() call fails with a funcref that has unknown
27361 arguments.
27362Solution: Do not check the arguments if they are unknown at compile time.
27363 (closes #9835)
27364Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
27365
27366Patch 8.2.4460
27367Problem: Vim9: wrong error for defining dict function.
27368Solution: Explicitly check for trying to define a dict function.
27369 (closes 9827)
27370Files: src/errors.h, src/userfunc.c, src/vim9compile.c,
27371 src/testdir/test_vim9_func.vim
27372
27373Patch 8.2.4461
27374Problem: MS-Windows: garbage characters on stdout with VIMDLL.
27375Solution: Don't call gui_focus_change() when about to quit. (Ken Takata,
27376 closes #9840)
27377Files: src/gui_w32.c
27378
27379Patch 8.2.4462
27380Problem: Not enough testing for quickfix code.
27381Solution: Add more tests. Fix uncovered problem. (Yegappan Lakshmanan,
27382 closes #9839)
27383Files: src/quickfix.c, src/window.c, src/testdir/test_makeencoding.vim,
27384 src/testdir/test_quickfix.vim
27385
27386Patch 8.2.4463
27387Problem: Completion only uses strict matching.
27388Solution: Add the "fuzzy" item for 'wildoptions'. (Yegappan Lakshmanan,
27389 closes #9803)
27390Files: runtime/doc/options.txt, src/buffer.c, src/cmdexpand.c,
27391 src/option.c, src/option.h, src/optionstr.c,
27392 src/proto/cmdexpand.pro, src/proto/option.pro,
27393 src/proto/search.pro, src/search.c, src/structs.h,
27394 src/testdir/gen_opt_test.vim, src/testdir/test_cmdline.vim
27395
27396Patch 8.2.4464
27397Problem: Dtrace files are recognized as filetype D.
27398Solution: Add a pattern for Dtrace files. (Teubel György, closes #9841)
27399 Add some more testing.
27400Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
27401 src/testdir/test_filetype.vim
27402
27403Patch 8.2.4465
27404Problem: Fuzzy completion does not order matches properly.
27405Solution: Do not use regular expression match. (Yegappan Lakshmanan,
27406 closes #9843)
27407Files: src/cmdexpand.c, src/search.c, src/testdir/test_cmdline.vim
27408
27409Patch 8.2.4466
27410Problem: MS-Windows: illegal memory access in installer when using
27411 "create-directories" as the final argument.
27412Solution: Check the argument count. (Cam Sinclair, closes #9844)
27413Files: src/dosinst.c
27414
27415Patch 8.2.4467
27416Problem: Running filetype test leaves file behind.
27417Solution: Delete the file.
27418Files: src/testdir/test_filetype.vim
27419
27420Patch 8.2.4468
27421Problem: Coverity warns for uninitialized struct member.
27422Solution: Set color.index to zero.
27423Files: src/terminal.c
27424
27425Patch 8.2.4469
27426Problem: Coverity warns for uninitialized variable.
27427Solution: Set the value to zero.
27428Files: src/ex_getln.c
27429
27430Patch 8.2.4470
27431Problem: Coverity warns for uninitialized variable.
27432Solution: Set can_spell to zero.
27433Files: src/drawline.c
27434
27435Patch 8.2.4471
27436Problem: Coverity warns for uninitialized variable.
27437Solution: Set flags to zero.
27438Files: src/vim9cmds.c
27439
27440Patch 8.2.4472
27441Problem: Coverity warns for use of a freed function name.
27442Solution: Only check an autoload name when is prefixed.
27443Files: src/userfunc.c
27444
27445Patch 8.2.4473
Bram Moolenaar8a3b8052022-06-26 12:21:15 +010027446Problem: Coverity warns for not checking return value of ftell().
Bram Moolenaard799daa2022-06-20 11:17:32 +010027447Solution: Bail out if ftell() returns a negative value.
27448Files: src/spellfile.c
27449
27450Patch 8.2.4474
27451Problem: Memory allocation failures not tested in quickfix code.
27452Solution: Add alloc IDs and tests. (Yegappan Lakshmanan, closes #9848)
27453Files: src/alloc.h, src/quickfix.c, src/vim.h,
27454 src/testdir/test_quickfix.vim
27455
27456Patch 8.2.4475
27457Problem: Fuzzy cmdline completion does not work for lower case.
27458Solution: Also use fuzzy completion for lower case input. (Yegappan
27459 Lakshmanan, closes #9849)
27460Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
27461
27462Patch 8.2.4476
27463Problem: Operator name spelled wrong.
27464Solution: Change trinary to ternary. (Goc Dundar, closes #9850)
27465Files: src/testdir/test_expr.vim, src/testdir/test_vim9_expr.vim,
27466 src/testdir/test_vimscript.vim
27467
27468Patch 8.2.4477
27469Problem: Crash when using fuzzy completion.
27470Solution: Temporary fix: put back regexp. (closes #9851)
27471Files: src/cmdexpand.c
27472
27473Patch 8.2.4478
27474Problem: Crash when using fuzzy completion.
27475Solution: Temporary fix: put back regexp. (closes #9852, closes #9851)
27476Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
27477
27478Patch 8.2.4479
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010027479Problem: No fuzzy completion for maps and abbreviations.
Bram Moolenaard799daa2022-06-20 11:17:32 +010027480Solution: Fuzzy complete maps and abbreviations. (Yegappan Lakshmanan,
27481 closes #9856)
27482Files: src/cmdexpand.c, src/map.c, src/proto/map.pro, src/search.c,
27483 src/testdir/test_cmdline.vim
27484
27485Patch 8.2.4480
27486Problem: Suspending with CTRL-Z does not work on Android.
27487Solution: Do not handle SIGTSTP. (closes #9854)
27488Files: src/os_unix.c
27489
27490Patch 8.2.4481
27491Problem: Cmdline popup menu not removed when 'lazyredraw' is set.
27492Solution: Temporarily reset 'lazyredraw' when removing the popup menu.
27493 (closes #9857)
27494Files: src/cmdexpand.c, src/testdir/test_cmdline.vim,
27495 src/testdir/dumps/Test_wildmenu_pum_41.dump
27496
27497Patch 8.2.4482
27498Problem: No fuzzy cmdline completion for user defined completion.
27499Solution: Add fuzzy completion for user defined completion. (Yegappan
27500 Lakshmanan, closes #9858)
27501Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
27502
27503Patch 8.2.4483
27504Problem: Command completion makes two rounds to collect matches.
27505Solution: Use a growarray to collect matches. (Yegappan Lakshmanan,
27506 closes #9860)
27507Files: src/buffer.c, src/cmdexpand.c, src/map.c,
27508 src/testdir/test_cmdline.vim
27509
27510Patch 8.2.4484
27511Problem: Vim9: some error messages are not tested.
27512Solution: Add a few more test cases. Delete dead code.
27513Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim,
27514 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim
27515
27516Patch 8.2.4485
27517Problem: Compiler warning for uninitialized variable.
27518Solution: Initialize the variable. (John Marriott)
27519Files: src/cmdexpand.c
27520
27521Patch 8.2.4486
27522Problem: MS-Windows GUI: slow scrolling with maximized window.
27523Solution: Use a better way to check the window is on screen. (Ken Takata,
27524 closes #9865)
27525Files: src/gui_w32.c
27526
27527Patch 8.2.4487
27528Problem: Vim9: cannot compare with v:null.
27529Solution: Allow comparing anything with v:null. (closes #9866)
27530Files: src/vim9instr.c, src/typval.c, src/proto/typval.pro,
27531 src/vim9.h, src/vim9execute.c, src/evalvars.c,
27532 src/testdir/test_vim9_expr.vim,
27533 src/testdir/test_vim9_disassemble.vim
27534
27535Patch 8.2.4488 (after 8.2.4487)
27536Problem: Build error with +eval but without +channel or +job.
27537Solution: Add #ifdef. (John Marriott)
27538Files: src/typval.c
27539
27540Patch 8.2.4489 (after 8.2.4487)
27541Problem: Failing test for comparing v:null with number.
27542Solution: Allow comparing v:null with number in legacy script.
27543 (Ken Takata, closes #9873) Also do this for float.
27544Files: src/typval.c, src/testdir/test_vimscript.vim
27545
27546Patch 8.2.4490
27547Problem: Terminal focus reporting only works for xterm-like terminals.
27548 (Jonathan Rascher)
27549Solution: Remove the "focus_mode" flag. (closes #9859)
27550Files: src/term.c
27551
27552Patch 8.2.4491
27553Problem: MS-Windows makefile dependencies are outdated.
27554Solution: Update dependencies. (Ken Takata, closes #9876)
27555Files: src/Make_cyg_ming.mak, src/Make_mvc.mak
27556
27557Patch 8.2.4492
27558Problem: No error if an option is given an invalid value with
27559 ":let &opt = val".
27560Solution: Give the error. (closes #9864)
27561Files: src/evalvars.c, src/testdir/test_options.vim
27562
27563Patch 8.2.4493 (after 8.2.4492)
27564Problem: Options test fails in the GUI.
27565Solution: Do not save and restore 'term'.
27566Files: src/testdir/gen_opt_test.vim
27567
27568Patch 8.2.4494
27569Problem: The find_tags() function is much too long.
27570Solution: Refactor the function. (Yegappan Lakshmanan, closes #9869)
27571Files: src/quickfix.c, src/tag.c, src/testdir/test_tagjump.vim
27572
27573Patch 8.2.4495
27574Problem: Help test fails in 24 line terminal.
27575Solution: Use up to 23 lines for text.
27576Files: src/testdir/test_help.vim
27577
27578Patch 8.2.4496 (after 8.2.4494)
27579Problem: Coverity gives warnings after tags code refactoring.
27580Solution: Avoid the warnings. (Yegappan Lakshmanan, closes #9882)
27581Files: src/tag.c
27582
27583Patch 8.2.4497
27584Problem: Wrong color for half of wide character next to pum scrollbar.
27585Solution: Redraw the screen cell with the right color. (closes #9874)
27586Files: src/screen.c, src/testdir/test_ins_complete.vim,
27587 src/testdir/dumps/Test_scrollbar_on_wide_char.dump
27588
27589Patch 8.2.4498
27590Problem: Using <Plug> with "noremap" does not work.
27591Solution: Always remap <Plug>. (closes #9879, closes #9789)
27592Files: runtime/doc/map.txt, src/getchar.c, src/testdir/test_mapping.vim
27593
27594Patch 8.2.4499
27595Problem: Vim9: at the script level declarations leak from try block to
27596 catch and finally block.
27597Solution: End the block and start a new one. (closes #9883)
27598Files: src/ex_eval.c, src/testdir/test_vim9_script.vim
27599
27600Patch 8.2.4500
27601Problem: Vim9: can declare a global variable on the command line.
27602Solution: Disallow declaring a variable on the command line. (closes #9881)
27603Files: src/errors.h, src/evalvars.c, src/testdir/test_vim9_assign.vim,
27604 src/testdir/test_vim9_script.vim,
27605 src/testdir/dumps/Test_vim9_reject_declaration.dump
27606
27607Patch 8.2.4501
27608Problem: With 'showbreak' set and after the end of the line the cursor
27609 may be displayed in the wrong position.
27610Solution: Do not apply 'showbreak' after the end of the line. (closes #9884)
27611Files: src/charset.c, src/testdir/test_breakindent.vim,
27612 src/testdir/dumps/Test_cursor_position_with_showbreak.dump
27613
27614Patch 8.2.4502
27615Problem: In the GUI a modifier is not recognized for the key typed after
27616 CTRL-X, which may result in a mapping to be used. (Daniel
27617 Steinberg)
27618Solution: Recognize a modifier starting with CSI. (closes #9889)
27619Files: src/getchar.c, src/testdir/test_ins_complete.vim
27620
27621Patch 8.2.4503
27622Problem: Vim9: there is no point in supporting :Print and :mode.
27623Solution: Do not recognize :Print and :mode as commands. (closes #9870)
27624Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
27625
27626Patch 8.2.4504
27627Problem: When there is a partially matching map and modifyOtherKeys is
27628 active a full map may not work.
27629Solution: Only simplify modifiers when there is no matching mapping.
27630 (closes #8792)
27631Files: src/getchar.c, src/testdir/test_termcodes.vim
27632
27633Patch 8.2.4505
27634Problem: Vim9: outdated "autocmd nested" still works.
27635Solution: Do not accept the :autocmd argument "nested" without "++" in Vim9
27636 script.
27637Files: src/autocmd.c, src/errors.h, src/testdir/test_autocmd.vim
27638
27639Patch 8.2.4506
27640Problem: "pattern not found" for :global is not an error message.
27641Solution: In Vim9 script make this an actual error, so that try/catch can be
27642 used as expected.
27643Files: src/ex_cmds.c, src/errors.h, src/testdir/test_global.vim
27644
27645Patch 8.2.4507 (after 8.2.4506)
27646Problem: Test fails because of new error message.
27647Solution: Avoid the test fails.
27648Files: src/testdir/test_vim9_cmd.vim
27649
27650Patch 8.2.4508
27651Problem: Vim9: cannot assign to a global variable on the command line.
27652Solution: Allow using :vim9cmd for assignment on the command line.
27653Files: src/evalvars.c, src/testdir/test_vim9_script.vim,
27654 src/testdir/dumps/Test_vim9_reject_declaration.dump,
27655 src/testdir/dumps/Test_vim9_reject_declaration_1.dump,
27656 src/testdir/dumps/Test_vim9_reject_declaration_2.dump
27657
27658Patch 8.2.4509
27659Problem: Vim9: can declare a variable with ":va".
27660Solution: Disallow using ":va", require using ":var".
27661Files: src/evalvars.c, src/errors.h, src/vim9compile.c,
27662 src/testdir/test_vim9_assign.vim
27663
27664Patch 8.2.4510
27665Problem: Vim9: shortening commands leads to confusing script.
27666Solution: In Vim9 script require at least ":cont" for ":continue", "const"
27667 instead of "cons", "break" instead of "brea", "catch" instead of
27668 "cat", "else" instead of "el" "elseif" instead of "elsei" "endfor"
27669 instead of "endfo" "endif" instead of "en" "endtry" instead of
27670 "endt", "finally" instead of "fina", "throw" instead of "th",
27671 "while" instead of "wh".
27672Files: src/ex_cmds.h, src/ex_docmd.c, src/errors.h, src/evalvars.c,
27673 src/vim9compile.c, src/testdir/test_vim9_script.vim
27674
27675Patch 8.2.4511
27676Problem: Filetype test fails.
27677Solution: Change "endw" to "endwhile".
27678Files: runtime/autoload/dist/ft.vim
27679
27680Patch 8.2.4512
27681Problem: The find_tags_in_file() function is much too long.
27682Solution: Refactor into multiple smaller functions. (Yegappan Lakshmanan,
27683 closes #9892)
27684Files: Filelist, src/Makefile, src/quickfix.c, src/tag.c,
27685 src/testdir/test83-tags2, src/testdir/test83-tags3,
27686 src/testdir/test_tagjump.vim
27687
27688Patch 8.2.4513
27689Problem: Window-local directory is not applied if 'acd' fails.
27690Solution: Don't call do_autochdir(). (closes #9891)
27691Files: src/window.c, src/testdir/test_autochdir.vim
27692
27693Patch 8.2.4514
27694Problem: Vim9: some flow commands can be shortened.
27695Solution: Also require using the full name for ":return", ":enddef",
27696 ":continue", ":export" and ":import".
27697Files: src/ex_cmds.h, src/ex_docmd.c, src/errors.h, src/userfunc.c,
27698 src/testdir/test_vim9_script.vim
27699
27700Patch 8.2.4515
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010027701Problem: Old substitute syntax is still supported.
Bram Moolenaard799daa2022-06-20 11:17:32 +010027702Solution: Disallow using backslash after ":s" in Vim9 script.
27703Files: src/ex_cmds.c, src/errors.h, src/testdir/test_substitute.vim
27704
27705Patch 8.2.4516 (after 8.2.4515)
27706Problem: Build failure without the +eval feature.
27707Solution: Move error message outside of #ifdef.
27708Files: src/errors.h
27709
27710Patch 8.2.4517
27711Problem: MS-Windows: cannot specify location of sodium library.
27712Solution: Allow for using a path for SODIUM. (Ken Takata, closes #9896)
27713Files: src/Make_cyg_ming.mak
27714
27715Patch 8.2.4518
27716Problem: The binary tag search feature is always enabled.
27717Solution: Remove the #ifdefs. Add a few more tests. (Yegappan Lakshmanan,
27718 closes #9893)
27719Files: src/evalfunc.c, src/feature.h, src/tag.c, src/version.c,
27720 src/testdir/test_tagjump.vim, src/testdir/test_taglist.vim
27721
27722Patch 8.2.4519
27723Problem: Vim9: Can still use ":fini" and ":finis" for ":finish".
27724Solution: Require using ":finish".
27725Files: src/ex_cmds.h, src/testdir/test_vim9_script.vim
27726
27727Patch 8.2.4520
27728Problem: Using wrong highlight for cursor line number.
27729Solution: Take filler lines into account when using CursorLineNr.
27730 (closes #9897)
27731Files: src/drawline.c, src/testdir/test_diffmode.vim,
27732 src/testdir/dumps/Test_diff_with_cursorline_number_01.dump,
27733 src/testdir/dumps/Test_diff_with_cursorline_number_02.dump
27734
27735Patch 8.2.4521 (after 8.2.4520)
27736Problem: Build failure without the +diff feature. (John Marriott)
27737Solution: Define filler+lines if not declaring it.
27738Files: src/drawline.c
27739
27740Patch 8.2.4522 (after 8.2.4492)
27741Problem: GUI test fails with Motif. (Dominique Pellé)
27742Solution: Remove using an invalid value for 'guifontset'.
27743Files: src/testdir/test_gui.vim
27744
27745Patch 8.2.4523
27746Problem: When gvim is started maximized the 'window' option isn't set
27747 properly. (Christian J. Robinson)
27748Solution: Check if 'windows' was already set or not. (Ken Takata,
27749 closes #9904)
27750Files: src/term.c
27751
27752Patch 8.2.4524
27753Problem: MS-Windows: cannot build with some sodium libraries.
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010027754Solution: Make the DLL name configurable. Add build instructions.
Bram Moolenaard799daa2022-06-20 11:17:32 +010027755 (Ken Takata, closes #9905)
27756Files: src/INSTALLpc.txt, src/Make_cyg_ming.mak, src/Make_mvc.mak,
27757 src/crypt.c
27758
27759Patch 8.2.4525
27760Problem: Some GUI tests don't work on Athena.
27761Solution: Skip tests that won't work. (Yegappan Lakshmanan, closes #9902)
27762Files: src/testdir/test_gui.vim
27763
27764Patch 8.2.4526
27765Problem: Vim9: cannot set variables to a null value.
27766Solution: Add null_list, null_job, etc.
27767Files: runtime/doc/vim9.txt, src/eval.c, src/proto/eval.pro,
27768 src/vim9expr.c, src/vim9script.c, src/vim9instr.c,
27769 src/vim9compile.c, src/vim9execute.c, src/vim9.h, src/vim9type.c,
27770 src/evalvars.c, src/testdir/test_vim9_assign.vim,
27771 src/testdir/test_vim9_disassemble.vim,
27772 src/testdir/test_vim9_func.vim, src/testdir/test_expr.vim
27773
27774Patch 8.2.4527
27775Problem: The Athena GUI is old and does not work well.
27776Solution: Remove the Athena GUI from configure to find out who still wants
27777 support for this GUI.
27778Files: src/configure.ac, src/auto/configure, src/Makefile
27779
27780Patch 8.2.4528
27781Problem: Crash when using null_function for a partial.
27782Solution: Don't call fname_trans_sid() with NULL. (closes #9908)
27783Files: src/userfunc.c, src/testdir/test_vim9_func.vim
27784
27785Patch 8.2.4529
27786Problem: Vim9: comparing partial with function fails.
27787Solution: Support this comparison. Avoid a crash. (closes #9909)
27788 Add more test cases.
27789Files: src/vim9instr.c, src/userfunc.c, src/vim9type.c,
27790 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim,
27791 src/testdir/test_vim9_func.vim, src/testdir/test_vimscript.vim
27792
27793Patch 8.2.4530
27794Problem: Making comparison with null work changes legacy behavior.
27795Solution: Only use the better comparison in Vim9 script. (closes #9910)
27796Files: src/typval.c, src/testdir/test_expr.vim
27797
27798Patch 8.2.4531
27799Problem: LGTM warnings for condition always true and buffer size too small.
27800Solution: Remove the useless condition. Make the buffer larger. (Goc
27801 Dundar, closes #9914)
27802Files: src/charset.c, src/term.c
27803
27804Patch 8.2.4532
27805Problem: Suspending with CTRL-Z does not work on OpenBSD.
27806Solution: Adjust #ifdef for SIGTSTP. (Stuart Henderson, closes #9912)
27807Files: src/os_unix.c
27808
27809Patch 8.2.4533
27810Problem: Vim9: no test that after assigning null the type is still checked.
27811Solution: Add a test.
27812Files: src/testdir/test_vim9_assign.vim
27813
27814Patch 8.2.4534
27815Problem: Vim9: "is" operator with empty string and null returns true.
27816Solution: Consider empty string and null to be different for "is".
27817Files: src/typval.c, src/vim9execute.c, src/testdir/test_vim9_expr.vim
27818
27819Patch 8.2.4535
Bram Moolenaar8a3b8052022-06-26 12:21:15 +010027820Problem: Filename modifier ":8" removes the filename.
Bram Moolenaard799daa2022-06-20 11:17:32 +010027821Solution: Use strncpy() instead of vim_strncpy(). (Christian Brabandt,
27822 closes #9918, closes #8600)
27823Files: src/filepath.c, src/testdir/test_shortpathname.vim
27824
27825Patch 8.2.4536 (after 8.2.4534)
27826Problem: Debugger test fails when breaking on expression.
27827Solution: Compare strings with "==" instead of "is".
27828Files: src/debugger.c
27829
27830Patch 8.2.4537
27831Problem: Output from linter and language server shows up in git.
27832Solution: Add patterns to .gitignore. (Goc Dundar, closes #9925)
27833Files: .gitignore
27834
27835Patch 8.2.4538
27836Problem: The find_tags_in_file() function is too long.
27837Solution: Refactor into smaller functions. (Yegappan Lakshmanan,
27838 closes #9920)
27839Files: src/tag.c, src/testdir/test_tagjump.vim
27840
27841Patch 8.2.4539
27842Problem: When comparing special v:none and v:null are handled the same when
27843 compiling.
27844Solution: Pass more information so that v:none can be handled differently at
27845 compile time. (issue #9923)
27846Files: src/vim9instr.c, src/vim9compile.c, src/globals.h,
27847 src/testdir/test_vim9_expr.vim
27848
27849Patch 8.2.4540
27850Problem: Line number for error is off by one.
27851Solution: Remember the line number of the comparison. (closes #9923)
27852Files: src/eval.c, src/testdir/test_vim9_expr.vim
27853
27854Patch 8.2.4541
27855Problem: Crash in debugger when a variable is not available in the current
27856 block.
27857Solution: Check for a NULL name. (closes #9926)
27858Files: src/vim9execute.c, src/testdir/test_debugger.vim
27859
27860Patch 8.2.4542
27861Problem: Vim9: "break" inside try/catch not handled correctly.
27862Solution: First jump to :endtry. (closes #9927)
27863Files: src/vim9cmds.c, src/vim9.h, src/testdir/test_vim9_script.vim
27864
27865Patch 8.2.4543
27866Problem: Coverity warning for refactored tag search code.
27867Solution: Avoid the warnings. Update comments. Add one more test case.
27868 (Yegappan Lakshmanan, closes #9928)
27869Files: src/tag.c, src/testdir/test_tagjump.vim
27870
27871Patch 8.2.4544
27872Problem: Coverity warnings for not using returned value.
27873Solution: Assign to vim_ignored.
27874Files: src/tag.c
27875
27876Patch 8.2.4545
27877Problem: MS-Windows: the installed icon is low resolution.
27878Solution: Use a better icon. Install vim.ico. (Christian Brabandt,
27879 closes #9931, closes #9930)
27880Files: Filelist, nsis/gvim.nsi, src/vim.ico, runtime/bitmaps/vim.ico
27881
27882Patch 8.2.4546
27883Problem: Duplicate #undef.
27884Solution: Remove one #undef. (closes #9932)
27885Files: src/regexp_nfa.c
27886
27887Patch 8.2.4547
27888Problem: The neXTaw GUI is old and does not work well.
27889Solution: Remove the neXTaw GUI from configure to find out who still wants
27890 support for this GUI.
27891Files: src/configure.ac, src/auto/configure, src/Makefile
27892
27893Patch 8.2.4548
27894Problem: Script-local function is deleted when used in a funcref.
27895Solution: Do not consider a function starting with "<SNR>" reference
27896 counted. (closes #9916, closes #9820)
27897Files: src/userfunc.c, src/testdir/test_vim9_func.vim
27898
27899Patch 8.2.4549
27900Problem: Cannot build with Motif and editres. (Tony Mechelynck)
27901Solution: Fix configure mistake.
27902Files: src/configure.ac, src/auto/configure
27903
27904Patch 8.2.4550
27905Problem: Motif: cannot set the color of the scrollbar thumb.
27906Solution: Remove #ifdef.
27907Files: src/gui_motif.c
27908
27909Patch 8.2.4551
27910Problem: When mapping <Esc> terminal codes are not recognized.
27911Solution: Specifically recognize a mapping with just <Esc> and check for
27912 terminal codes even though there is no partial mapping.
27913 (closes #9903)
27914Files: src/getchar.c, src/testdir/test_termcodes.vim
27915
27916Patch 8.2.4552
27917Problem: In a :def function "put = expr" does not work.
27918Solution: Skip over white space. (closes #9936)
27919Files: src/vim9cmds.c, src/testdir/test_vim9_cmd.vim
27920
27921Patch 8.2.4553
27922Problem: Linear tag search is a bit slow.
27923Solution: Remove a vim_ftell() call. (Yegappan Lakshmanan, closes #9937)
27924Files: src/tag.c, src/testdir/test_taglist.vim
27925
27926Patch 8.2.4554
27927Problem: Vim9: using null values not sufficiently tested.
27928Solution: Add more tests. Fix uncovered problem.
27929Files: src/vim9type.c, src/testdir/test_vim9_assign.vim,
27930 src/testdir/test_vim9_func.vim
27931
27932Patch 8.2.4555
27933Problem: getmousepos() returns the wrong column. (Ernie Rael)
27934Solution: Limit to the text size, not the number of bytes.
27935Files: src/mouse.c, src/testdir/test_functions.vim
27936
27937Patch 8.2.4556
27938Problem: Test fails without the +job or +channel feature. (Dominique Pellé)
27939Solution: Adjust #ifdefs. Pass on skip flag. (closes #9942)
27940Files: src/eval.c, src/vim9compile.c
27941
27942Patch 8.2.4557
27943Problem: Confusing comment about 'cursorlineopt'.
27944Solution: Adjust comment. (closes #9939) Add parenthesis around logical
27945 OR.
27946Files: src/drawline.c
27947
27948Patch 8.2.4558
27949Problem: Motif: using default colors does not work as expected.
27950Solution: Do not try to store the default colors, use the resources.
27951 (closes #9933)
27952Files: src/gui_motif.c, src/gui.h
27953
27954Patch 8.2.4559 (after 8.24555)
27955Problem: getmousepos() returns the screen column. (Ernie Rael)
27956Solution: Return the text column, as documented.
27957Files: src/mouse.c, src/testdir/test_functions.vim
27958
27959Patch 8.2.4560
27960Problem: Suspending with CTRL-Z does not work on DragonFlyBSD.
27961Solution: Adjust #ifdef. (Ozaki Kiichi, closes #9943)
27962Files: src/os_unix.c
27963
27964Patch 8.2.4561
27965Problem: Build failure with some combination of features. (John Marriott)
27966Solution: Adjust #ifdef.
27967Files: src/mouse.c
27968
27969Patch 8.2.4562
27970Problem: Linear tag search is not optimal.
27971Solution: Improve linear tag search performance. (Yegappan Lakshmanan,
27972 closes #9944)
27973Files: src/tag.c
27974
27975Patch 8.2.4563
27976Problem: "z=" in Visual mode may go beyond the end of the line.
27977Solution: Adjust "badlen".
27978Files: src/spellsuggest.c, src/testdir/test_spell.vim
27979
27980Patch 8.2.4564
27981Problem: Running test leaves file behind. (Dominique Pellé)
27982Solution: Run the profiling in a separate Vim instance. (closes #9952)
27983Files: src/testdir/test_vim9_script.vim
27984
27985Patch 8.2.4565
27986Problem: No command line completion for :breakadd and :breakdel.
27987Solution: Add completion for :breakadd and :breakdel. (Yegappan Lakshmanan,
27988 closes #9950)
27989Files: runtime/doc/builtin.txt, src/cmdexpand.c, src/spellsuggest.c,
27990 src/usercmd.c, src/vim.h, src/testdir/test_cmdline.vim,
27991 src/testdir/test_writefile.vim
27992
27993Patch 8.2.4566
27994Problem: Check for existing buffer in session file does not work for files
27995 in the home directory.
27996Solution: Use fnamemodify(). (James Cherti, closes #9945) Add a test.
27997Files: src/session.c, src/testdir/test_mksession.vim
27998
27999Patch 8.2.4567
28000Problem: Bracketed paste doesn't work well in Visual linewise mode.
28001Solution: Handle linewise Visual mode differently. (closes #9947)
28002Files: src/normal.c, src/testdir/test_paste.vim
28003
28004Patch 8.2.4568
28005Problem: getmousepos() does not compute the column below the last line.
28006Solution: Also compute the column when the mouse is below the last line.
28007 (Sean Dewar, closes #9946)
28008Files: src/mouse.c, src/testdir/test_functions.vim
28009
28010Patch 8.2.4569
28011Problem: Coverity warning for not using a return value.
28012Solution: Add "(void)".
28013Files: src/popupwin.c
28014
28015Patch 8.2.4570
28016Problem: No command line completion for :profile and :profdel.
28017Solution: Implement completion. (Yegappan Lakshmanan, closes #9955)
28018Files: src/cmdexpand.c, src/profiler.c, src/testdir/test_cmdline.vim,
28019 src/testdir/test_profile.vim
28020
28021Patch 8.2.4571
28022Problem: Not all gdb files are recognized.
28023Solution: Add a few more patterns for gdb. (Jade Lovelace, closes #9956)
28024Files: runtime/filetype.vim, src/testdir/test_filetype.vim
28025
28026Patch 8.2.4572
28027Problem: Vim9: return type "any" is sometimes changed to first returned
28028 type. (Virginia Senioria)
28029Solution: Do not change the return type if declared as "any". (closes #9949)
28030Files: src/vim9cmds.c, src/testdir/test_vim9_func.vim
28031
28032Patch 8.2.4573
28033Problem: A nested function (closure) is compiled for debugging without
28034 context.
28035Solution: Check if a nested function is marked for debugging before
28036 compiling it. Give an error when trying to compile a closure
28037 without its context. (closes #9951)
28038Files: src/vim9compile.c, src/vim9execute.c, src/proto/vim9execute.pro,
28039 src/vim9expr.c, src/errors.h
28040
28041Patch 8.2.4574
28042Problem: Vim9: test for profiling fails.
28043Solution: Mark function for profiling earlier to avoid E1271.
28044Files: src/testdir/test_vim9_script.vim
28045
28046Patch 8.2.4575
28047Problem: Vim9: test for profiling still fails.
28048Solution: Update flags for profiling and breakpoints when obtaining the
28049 compile type. Do not set the FC_CLOSURE flag for a toplevel
28050 function.
28051Files: src/vim.h, src/vim9compile.c, src/proto/vim9compile.pro,
28052 src/eval.c, src/vim9execute.c, src/vim9expr.c, src/vim9instr.c,
28053 src/vim9.h
28054
28055Patch 8.2.4576
28056Problem: Vim9: error for comparing with null can be annoying.
28057Solution: Allow comparing anything with null. (closes #9948)
28058Files: src/vim9instr.c, src/typval.c, src/testdir/test_vim9_expr.vim
28059
28060Patch 8.2.4577
28061Problem: Message test is flaky. (Elimar Riesebieter)
28062Solution: Trigger the autocommand event only after startup is finished.
28063Files: src/testdir/test_messages.vim
28064
28065Patch 8.2.4578
28066Problem: No warning when an autoload script for completion function has an
28067 error.
28068Solution: Do not ignore errors when a function name is given with a dot or
28069 '#' character. (closes #9958)
28070Files: src/eval.c, src/testdir/test_cmdline.vim
28071
28072Patch 8.2.4579
28073Problem: Cannot use page-up and page-down in the command line completion
28074 popup menu.
28075Solution: Check for to page-up and page-down keys. (Yegappan Lakshmanan,
28076 closes #9960)
28077Files: src/cmdexpand.c, src/ex_getln.c, src/spellsuggest.c, src/vim.h,
28078 src/testdir/test_cmdline.vim,
28079 src/testdir/dumps/Test_wildmenu_pum_42.dump,
28080 src/testdir/dumps/Test_wildmenu_pum_43.dump,
28081 src/testdir/dumps/Test_wildmenu_pum_44.dump,
28082 src/testdir/dumps/Test_wildmenu_pum_45.dump,
28083 src/testdir/dumps/Test_wildmenu_pum_46.dump,
28084 src/testdir/dumps/Test_wildmenu_pum_47.dump,
28085 src/testdir/dumps/Test_wildmenu_pum_48.dump,
28086 src/testdir/dumps/Test_wildmenu_pum_49.dump,
28087 src/testdir/dumps/Test_wildmenu_pum_50.dump
28088
28089Patch 8.2.4580
28090Problem: Vim9: incorrect error for shadowing variable.
28091Solution: Do not pass the context when compiling a referenced function.
28092Files: src/vim9expr.c, src/testdir/test_vim9_func.vim
28093
28094Patch 8.2.4581
28095Problem: Null types not fully tested.
28096Solution: Add some more tests using null types.
28097Files: src/testdir/test_vim9_expr.vim
28098
28099Patch 8.2.4582
28100Problem: Useless code handling a type declaration.
28101Solution: Remove the code and give an error.
28102Files: src/eval.c, src/errors.h, src/testdir/test_vim9_script.vim,
28103 src/testdir/dumps/Test_misplaced_type.dump
28104
28105Patch 8.2.4583 (after 8.2.4582)
28106Problem: Screendump test fails.
28107Solution: Check that making a screendump is possible.
28108Files: src/testdir/test_vim9_script.vim
28109
28110Patch 8.2.4584 (after 8.2.4578)
28111Problem: Error for using autoload function in custom completion.
28112Solution: Do not check for errors when using an autoload function.
28113 (closes #9962)
28114Files: src/eval.c, src/testdir/test_cmdline.vim
28115
28116Patch 8.2.4585
28117Problem: Cannot use keypad page-up/down for completion menu.
28118Solution: Recognize the keypad keys. (Yegappan Lakshmanan, closes #9963)
28119Files: src/ex_getln.c, src/testdir/test_cmdline.vim
28120
28121Patch 8.2.4586
28122Problem: Vim9: no error for using lower case name for "func" argument.
28123 (Ernie Rael)
28124Solution: Check the name as soon as the type is known.
28125Files: src/userfunc.c, src/testdir/test_vim9_func.vim
28126
28127Patch 8.2.4587
28128Problem: Vim9: double free after unpacking a list.
28129Solution: Make a copy of the value instead of moving it. (closes #9968)
28130Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
28131
28132Patch 8.2.4588
28133Problem: Mapping with key code after other matching mapping does not work.
28134Solution: Change ">" to ">=". (closes #9903)
28135Files: src/getchar.c, src/testdir/test_termcodes.vim
28136
28137Patch 8.2.4589
28138Problem: Cannot index the g: dictionary.
28139Solution: Recognize using "g:[key]". (closes #9969)
28140Files: src/ex_docmd.c, src/eval.c, src/vim9compile.c,
28141 src/testdir/test_vim9_assign.vim
28142
28143Patch 8.2.4590
28144Problem: Vim9: range type check has wrong offset.
28145Solution: Adjust offset for CHECKTYPE. Remove other type check.
28146Files: src/vim9compile.c, src/vim9execute.c,
28147 src/testdir/test_vim9_assign.vim
28148
28149Patch 8.2.4591
28150Problem: Cursor line not updated when a callback moves the cursor.
28151Solution: Check if the cursor moved. (closes #9970)
28152Files: src/main.c, src/drawscreen.c, src/proto/drawscreen.pro,
28153 src/testdir/test_cursorline.vim,
28154 src/testdir/dumps/Test_cursorline_callback_1.dump
28155
28156Patch 8.2.4592
28157Problem: Search continues after giving E1204.
28158Solution: Return failure after giving E1204. (closes #9972)
28159Files: src/regexp_nfa.c
28160
28161Patch 8.2.4593
28162Problem: Unnecessary call to redraw_later().
28163Solution: Remove the call to redraw_later() in op_yank(). (closes #9971)
28164Files: src/register.c
28165
28166Patch 8.2.4594
28167Problem: Need to write script to a file to be able to source them.
28168Solution: Make ":source" use lines from the current buffer. (Yegappan
28169 Lakshmanan et al., closes #9967)
28170Files: runtime/doc/repeat.txt, runtime/doc/todo.txt, src/alloc.c,
28171 src/digraph.c, src/eval.c, src/ex_cmds.h, src/scriptfile.c,
28172 src/proto/scriptfile.pro, src/vim9script.c,
28173 src/testdir/test_source.vim
28174
28175Patch 8.2.4595
28176Problem: X11: using --remote-wait may keep the CPU busy.
28177Solution: Set the timeout for select() on every call. (Jacopo Secchiero,
28178 closes #9973)
28179Files: src/if_xcmdsrv.c
28180
28181Patch 8.2.4596
28182Problem: Installing tutor binary may fail.
28183Solution: Fix the dependency. (Sergei Trofimovich, closes #9978)
28184Files: src/Makefile
28185
28186Patch 8.2.4597
28187Problem: LuaV_debug() not covered by tests.
28188Solution: Add a test. (Dominique Pellé, closes #9980)
28189Files: src/testdir/test_lua.vim
28190
28191Patch 8.2.4598
28192Problem: Profile completion test sometimes fails.
28193Solution: Delete the .res file before running tests.
28194Files: src/testdir/runtest.vim
28195
28196Patch 8.2.4599
28197Problem: GTK: get assertion errors when scrolling a split window.
28198Solution: Use GDK_IS_DRAWABLE() on the scrollbar window. (closes #9982)
28199Files: src/gui_gtk.c
28200
28201Patch 8.2.4600
28202Problem: Vim9: not enough test coverage for executing :def function.
28203Solution: Add a few more tests. Fix inconsistencies.
28204Files: src/vim9execute.c, src/evalvars.c, src/proto/evalvars.pro,
28205 src/testdir/test_listdict.vim, src/testdir/test_vim9_assign.vim,
28206 src/testdir/test_vim9_cmd.vim
28207
28208Patch 8.2.4601
28209Problem: Vim9: not enough test coverage for executing :def function.
28210Solution: Add a few more tests.
28211Files: src/testdir/test_vim9_script.vim, src/testdir/test_vim9_func.vim,
28212 src/testdir/test_vim9_cmd.vim
28213
28214Patch 8.2.4602
28215Problem: Vim9: not enough test coverage for executing :def function.
28216Solution: Add a few more tests. Fix uncovered problem. Remove dead code.
28217Files: src/vim9execute.c, src/vim9.h, src/vim9instr.c,
28218 src/proto/vim9instr.pro, src/vim9compile.c,
28219 src/testdir/test_vim9_script.vim, src/testdir/test_vim9_expr.vim
28220
28221Patch 8.2.4603
28222Problem: Sourcing buffer lines is too complicated.
28223Solution: Simplify the code. Make it possible to source Vim9 script lines.
28224 (Yegappan Lakshmanan, closes #9974)
28225Files: runtime/doc/repeat.txt, src/ex_docmd.c, src/proto/scriptfile.pro,
28226 src/scriptfile.c, src/structs.h, src/testdir/test_source.vim
28227
28228Patch 8.2.4604
28229Problem: Error for redefining a script item may be confusing.
28230Solution: Put quotes around the name.
28231Files: src/errors.h
28232
28233Patch 8.2.4605
28234Problem: Error for arguments of remote_expr() even when the +clientserver
28235 feature is not included.
28236Solution: Move #ifdef.
28237Files: src/clientserver.c
28238
28239Patch 8.2.4606 (after 8.2.4605)
28240Problem: Test fails because of changed error message.
28241Solution: Update the expected error message
28242Files: src/testdir/test_vim9_import.vim
28243
28244Patch 8.2.4607
28245Problem: Sourcing buffer lines may lead to errors for conflicts.
28246Solution: Add the ++clear argument. (Yegappan Lakshmanan, closes #9991)
28247Files: runtime/doc/repeat.txt, src/scriptfile.c, src/vim9script.c,
28248 src/proto/vim9script.pro, src/testdir/test_source.vim
28249
28250Patch 8.2.4608
28251Problem: getcompletion() does not work properly when 'wildoptions
28252 contains "fuzzy".
28253Solution: Do not use addstar(). (Yegappan Lakshmanan, closes #9992,
28254 closes #9986)
28255Files: runtime/doc/builtin.txt, src/cmdexpand.c,
28256 src/testdir/test_cmdline.vim
28257
28258Patch 8.2.4609
28259Problem: :unhide does not check for failing to close a window.
28260Solution: When closing a window fails continue with the next one. Do not
28261 try closing the autocmd window. (closes #9984)
28262Files: src/buffer.c, src/window.c, src/proto/window.pro,
28263 src/testdir/test_autocmd.vim
28264
28265Patch 8.2.4610
28266Problem: Some conditions are always true.
28267Solution: Remove the useless conditions. (closes #9993)
28268Files: src/clientserver.c, src/drawline.c, src/drawscreen.c,
28269 src/ex_cmds.c, src/fileio.c, src/message.c, src/misc2.c,
28270 src/ops.c, src/sign.c, src/spell.c, src/vim9cmds.c, src/window.c
28271
28272Patch 8.2.4611
28273Problem: Typos in tests; one lua line not covered by test.
28274Solution: Fix typos. Add test case. (Dominique Pellé, closes #9994)
28275Files: src/testdir/test_breakindent.vim, src/testdir/test_crypt.vim,
28276 src/testdir/test_cursorline.vim, src/testdir/test_digraph.vim,
28277 src/testdir/test_gui.vim, src/testdir/test_lua.vim,
28278 src/testdir/test_regexp_latin.vim, src/testdir/test_signals.vim,
28279 src/testdir/test_spell.vim, src/testdir/test_statusline.vim,
28280 src/testdir/test_vim9_disassemble.vim,
28281 src/testdir/test_vim9_expr.vim, src/testdir/test_vimscript.vim
28282
28283Patch 8.2.4612
28284Problem: Vim9: cannot use a recursive call in a nested function. (Sergey
28285 Vlasov)
28286Solution: Define the funcref before compiling the function. (closes #9989)
28287Files: src/vim9compile.c, src/vim9instr.c, src/proto/vim9instr.pro,
28288 src/vim9expr.c, src/testdir/test_vim9_func.vim
28289
28290Patch 8.2.4613
28291Problem: Return type of swapfile_unchanged() is wrong.
28292Solution: Use "int". (closes #10000 Yeah!)
28293Files: src/memline.c
28294
28295Patch 8.2.4614
28296Problem: Redrawing too much when 'cursorline' is set and jumping around.
28297Solution: Rely on win_update() to redraw the current and previous cursor
28298 line, do not mark lines as modified. (closes #9996)
28299Files: src/drawline.c, src/drawscreen.c, src/move.c, src/proto/move.pro,
28300 src/option.c
28301
28302Patch 8.2.4615
28303Problem: Mapping with escaped bar does not work in :def function. (Sergey
28304 Vlasov)
28305Solution: Do not remove the backslash. (closes #10002)
28306Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/syntax.c,
28307 src/vim9cmds.c, src/testdir/test_vim9_cmd.vim
28308
28309Patch 8.2.4616
28310Problem: Vim9: Declarations in a {} block of a user command do not use Vim9
28311 rules if defined in a legacy script. (Yegappan Lakshmanan)
28312Solution: Pretend the script is Vim9 script.
28313Files: src/usercmd.c, src/testdir/test_usercommands.vim
28314
28315Patch 8.2.4617
28316Problem: No completion for :scriptnames.
28317Solution: Implement :scriptnames completion. (Yegappan Lakshmanan,
28318 closes #10005)
28319Files: runtime/doc/builtin.txt, src/cmdexpand.c, src/ex_cmds.h,
28320 src/scriptfile.c, src/usercmd.c, src/vim.h,
28321 src/testdir/test_cmdline.vim, src/testdir/test_quickfix.vim
28322
28323Patch 8.2.4618
28324Problem: Command line completion does not recognize single letter commands.
28325Solution: Use the condition from find_ex_command().
28326Files: src/ex_docmd.c
28327
28328Patch 8.2.4619
28329Problem: Mapping is cancelled when mouse moves and popup is visible.
28330Solution: Only generate mouse moved events when a popup may use them.
28331 (closes #10004)
28332Files: src/gui.c, src/globals.h, src/popupwin.c
28333
28334Patch 8.2.4620 (after 8.2.4618)
28335Problem: Two letter substitute commands don't work. (Yegappan Lakshmanan)
28336Solution: Invert condition.
28337Files: src/ex_docmd.c
28338
28339Patch 8.2.4621
28340Problem: Crash when using the tabline right-click menu.
28341Solution: Use XtPointer for XmNuserData. (closes #10009)
28342Files: src/gui_motif.c
28343
28344Patch 8.2.4622
28345Problem: Vim9: Crash with :execute and :finish. (Sergey Vlasov)
28346Solution: Check for NULL. (closes #10011)
28347Files: src/eval.c, src/testdir/test_vim9_script.vim
28348
28349Patch 8.2.4623
28350Problem: Coverity warns for using uninitialized field.
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010028351Solution: Initialize the field to zero.
Bram Moolenaard799daa2022-06-20 11:17:32 +010028352Files: src/ex_docmd.c
28353
28354Patch 8.2.4624
28355Problem: Old Coverity warning for resource leak.
28356Solution: Close the file if memory allocation fails.
28357Files: src/diff.c
28358
28359Patch 8.2.4625
28360Problem: Old Coverity warning for resource leak.
28361Solution: Call FreeWild() if expanding matches did not fail.
28362Files: src/help.c
28363
28364Patch 8.2.4626
28365Problem: Visual area not fully updated when removing sign in Visual mode
28366 while scrolling.
28367Solution: Adjust check for topline. (closes #10017)
28368Files: src/drawscreen.c, src/testdir/test_display.vim,
28369 src/testdir/dumps/Test_display_scroll_update_visual.dump
28370
28371Patch 8.2.4627
28372Problem: flatten() does not use maxdepth correctly.
28373Solution: Use a recursive implementation. (closes #10020)
28374Files: src/list.c, src/testdir/test_flatten.vim
28375
28376Patch 8.2.4628
28377Problem: Not enough testing for 2/3 letter substitute commands.
28378Solution: Add more tests. (Yegappan Lakshmanan, closes #10019)
28379Files: src/testdir/test_cmdline.vim, src/testdir/test_substitute.vim
28380
28381Patch 8.2.4629
28382Problem: flattennew() makes a deep copy unnecessarily.
28383Solution: Use a shallow copy. (issue #10012)
28384Files: src/list.c
28385
28386Patch 8.2.4630
28387Problem: 'cursorline' not always updated with 'cursorlineopt' is
28388 "screenline".
28389Solution: Call check_redraw_cursorline() more often. (closes #10013)
28390Files: src/normal.c, src/edit.c, src/testdir/test_cursorline.vim,
28391 src/testdir/dumps/Test_cursorline_screenline_1.dump,
28392 src/testdir/dumps/Test_cursorline_screenline_2.dump
28393
28394Patch 8.2.4631
28395Problem: Crash when switching window in BufWipeout autocommand.
28396Solution: Put any buffer in the window to avoid it being NULL.
28397 (closes #10024)
28398Files: src/window.c, src/buffer.c, src/testdir/test_autocmd.vim
28399
28400Patch 8.2.4632
28401Problem: Using freed memory in flatten().
28402Solution: Clear typval after recursing into list.
28403Files: src/list.c
28404
28405Patch 8.2.4633
28406Problem: Visual range does not work before command modifiers.
28407Solution: Move Visual range to after command modifiers.
28408Files: src/ex_docmd.c, src/testdir/test_source.vim
28409
28410Patch 8.2.4634
28411Problem: Vim9: cannot initialize a variable to null_list.
28412Solution: Give negative count to NEWLIST. (closes #10027)
28413 Also fix inconsistencies in comparing with null values.
28414Files: src/vim9instr.c, src/proto/vim9instr.pro, src/vim9.h,
28415 src/vim9compile.c, src/vim9expr.c, src/vim9execute.c,
28416 src/evalvars.c, src/typval.c, src/testdir/test_vim9_expr.vim,
28417 src/testdir/test_vim9_builtin.vim,
28418 src/testdir/test_vim9_disassemble.vim
28419
28420Patch 8.2.4635 (after 8.2.4634)
28421Problem: Tests using null list or dict fail.
28422Solution: Only use the new rules for Vim9 script.
28423Files: src/evalvars.c
28424
28425Patch 8.2.4636 (after 8.2.4633)
28426Problem: Not using Visual range.
28427Solution: Put the command pointer back to the range.
28428Files: src/ex_docmd.c
28429
28430Patch 8.2.4637
28431Problem: Warning for using uninitialized variable. (Tony Mechelynck)
28432Solution: Initialize it.
28433Files: src/ex_docmd.c
28434
28435Patch 8.2.4638
28436Problem: Superfluous check if a redraw is needed for 'cursorline'.
28437Solution: Remove check_redraw_cursorline(). (closes #10030, closes #10029)
28438Files: src/drawscreen.c, src/proto/drawscreen.pro, src/edit.c,
28439 src/main.c, src/normal.c, src/move.c,
28440 src/testdir/dumps/Test_cursorcolumn_callback_1.dump,
28441 src/testdir/dumps/Test_relativenumber_callback_1.dump,
28442 src/testdir/test_highlight.vim, src/testdir/test_number.vim
28443
28444Patch 8.2.4639
28445Problem: Not sufficient parenthesis in preprocessor macros.
28446Solution: Add more parenthesis. (closes #10031)
28447Files: src/globals.h, src/gui.h, src/if_py_both.h, src/macros.h,
28448 src/option.h, src/regexp.h, src/spell.h, src/structs.h, src/vim.h,
28449 src/vim9.h
28450
28451Patch 8.2.4640
28452Problem: Some boolean options use "long" instead of "int".
28453Solution: Adjust the type. (James McCoy, closes #10033)
28454Files: src/option.h
28455
28456Patch 8.2.4641
28457Problem: May mark the wrong window for redrawing.
28458Solution: Use redraw_win_later(). (closes #10032)
28459Files: src/move.c
28460
28461Patch 8.2.4642
28462Problem: Vim9: in :def function script var cannot be null.
28463Solution: Only initialize a script variable when not set to a null value.
28464 (closes #10034)
28465Files: src/vim9execute.c, src/vim9type.c, src/globals.h, src/evalvars.c,
28466 src/vim.h, src/vim9script.c, src/testdir/test_vim9_expr.vim
28467
28468Patch 8.2.4643
28469Problem: Vim9: variable may be locked unintentionally.
28470Solution: Clear "v_lock". (closes #10036)
28471Files: src/vim9execute.c, src/testdir/test_vim9_builtin.vim
28472
28473Patch 8.2.4644
28474Problem: Redrawing too often when 'relativenumber' is set.
28475Solution: Only redraw when the cursor line changed. (Lewis Russell,
28476 closes #10040)
28477Files: src/change.c, src/drawscreen.c, src/structs.h
28478
28479Patch 8.2.4645
28480Problem: 'shortmess' changed when session does not store options.
28481Solution: Save and restore 'shortmess' if needed. (James Charti,
28482 closes #10037)
28483Files: src/session.c, src/testdir/test_mksession.vim
28484
28485Patch 8.2.4646
28486Problem: Using buffer line after it has been freed in old regexp engine.
28487Solution: After getting mark get the line again.
28488Files: src/regexp_bt.c, src/testdir/test_regexp_latin.vim
28489
28490Patch 8.2.4647
28491Problem: "source" can read past end of copied line.
28492Solution: Add a terminating NUL.
28493Files: src/scriptfile.c, src/testdir/test_source.vim
28494
28495Patch 8.2.4648
28496Problem: Handling LSP messages is a bit slow.
28497Solution: Included support for LSP messages. (Yegappan Lakshmanan,
28498 closes #10025)
28499Files: runtime/doc/channel.txt, src/channel.c, src/job.c, src/json.c,
28500 src/proto/json.pro, src/structs.h, src/testdir/test_channel.vim,
28501 src/testdir/test_channel_lsp.py
28502
28503Patch 8.2.4649
28504Problem: Various formatting problems.
28505Solution: Improve the code formatting.
28506Files: src/mark.c, src/quickfix.c, src/regexp_nfa.c, src/register.c,
28507 src/testdir/test_filechanged.vim, src/gui_athena.c,
28508 src/gui_motif.c, src/os_unix.c
28509
28510Patch 8.2.4650
28511Problem: "import autoload" only works with using 'runtimepath'.
28512Solution: Also support a relative and absolute file name.
28513Files: runtime/doc/vim9.txt, src/structs.h, src/scriptfile.c,
28514 src/proto/scriptfile.pro, src/vim9script.c, src/vim9expr.c,
28515 src/vim9.h, src/vim9execute.c, src/vim9instr.c,
28516 src/proto/vim9instr.pro, src/vim.h, src/userfunc.c,
28517 src/proto/userfunc.pro, src/testdir/test_vim9_import.vim,
28518 src/testdir/test_vim9_disassemble.vim
28519
28520Patch 8.2.4651 (after 8.2.4650)
28521Problem: Test fails because path differs.
28522Solution: Only compare the tail of the path.
28523Files: src/testdir/test_vim9_disassemble.vim
28524
28525Patch 8.2.4652 (after 8.2.4650)
28526Problem: Leaking memory if assignment fails.
28527Solution: Clear assigned value on failure.
28528Files: src/vim9execute.c
28529
28530Patch 8.2.4653
28531Problem: "import autoload" does not check the file name.
28532Solution: Give an error if the file is not readable. (closes #10049)
28533Files: src/filepath.c, src/proto/filepath.pro, src/errors.h,
28534 src/ex_cmds.c, src/ex_docmd.c, src/spellfile.c,
28535 src/testdir/test_vim9_import.vim
28536
28537Patch 8.2.4654 (after 8.2.4653)
28538Problem: Missing changes for import check.
28539Solution: Add missing changes.
28540Files: src/vim9script.c
28541
28542Patch 8.2.4655
28543Problem: Command line completion popup menu positioned wrong when using a
28544 terminal window.
28545Solution: Position the popup menu differently when editing the command line.
28546 (Yegappan Lakshmanan, closes #10050, closes #10035)
28547Files: src/popupmenu.c, src/testdir/test_cmdline.vim,
28548 src/testdir/test_terminal.vim,
28549 src/testdir/dumps/Test_wildmenu_pum_term_01.dump
28550
28551Patch 8.2.4656
28552Problem: Vim9: can't use items from "import autoload" with autoload
28553 directory name.
28554Solution: Let sn_autoload_prefix overrule sn_import_autoload.
28555 (closes #10054)
28556Files: src/structs.h, src/vim9instr.c, src/vim9expr.c, src/vim9script.c,
28557 src/testdir/test_vim9_import.vim
28558
28559Patch 8.2.4657
28560Problem: Errors for functions are sometimes hard to read.
28561Solution: Use printable_func_name() in more places.
28562Files: src/vim9execute.c, src/userfunc.c, src/proto/userfunc.pro,
28563 src/vim9expr.c, src/eval.c, src/vim9instr.c, src/vim9type.c,
28564 src/testdir/test_vim9_expr.vim
28565
28566Patch 8.2.4658
28567Problem: Org-mode files are not recognized.
28568Solution: Add patterns to recognize "org" files. (closes #10046)
28569Files: runtime/filetype.vim, src/testdir/test_filetype.vim
28570
28571Patch 8.2.4659
28572Problem: Invalid memory access when using printable function name.
28573Solution: Adjust copied name length.
28574Files: src/userfunc.c
28575
28576Patch 8.2.4660
28577Problem: Cursorcolumn is sometimes not correct.
28578Solution: Recompute the cursor column when entering Insert mode and the
28579 cursor is on a character wider than a screen cell. (closes #10057)
28580Files: src/edit.c, src/testdir/test_highlight.vim,
28581 src/testdir/dumps/Test_cursorcolumn_insert_on_tab_1.dump,
28582 src/testdir/dumps/Test_cursorcolumn_insert_on_tab_2.dump
28583
28584Patch 8.2.4661
28585Problem: Coverity warning for using uninitialized variable.
28586Solution: Initialize variable to NULL.
28587Files: src/vim9expr.c
28588
28589Patch 8.2.4662
28590Problem: No error for using out of range list index.
28591Solution: Check list index at script level like in compiled function.
28592 (closes #10051)
28593Files: src/vim.h, src/evalvars.c, src/list.c, src/proto/list.pro,
28594 src/eval.c, src/vim9execute.c, src/testdir/test_vim9_assign.vim
28595
28596Patch 8.2.4663
28597Problem: Occasional crash when running the GUI tests.
28598Solution: Check that the line index is not too high. (closes #8681)
28599Files: src/screen.c
28600
28601Patch 8.2.4664
28602Problem: Elvish files are not recognized.
28603Solution: Recognize .elv files. (Bruno Roque, closes #10058)
28604Files: runtime/filetype.vim, src/testdir/test_filetype.vim
28605
28606Patch 8.2.4665
28607Problem: Popup with "minwidth" and scrollbar not updated properly.
28608Solution: Adjust the computation if the window width. (closes #10061)
28609Files: src/popupwin.c, src/testdir/test_popupwin.vim,
28610 src/testdir/dumps/Test_popupwin_previewpopup_4.dump,
28611 src/testdir/dumps/Test_popupwin_previewpopup_5.dump,
28612 src/testdir/dumps/Test_popupwin_previewpopup_7.dump,
28613 src/testdir/dumps/Test_popupwin_previewpopup_8.dump,
28614 src/testdir/dumps/Test_popupwin_previewpopup_9.dump,
28615 src/testdir/dumps/Test_popupwin_previewpopup_10.dump,
28616 src/testdir/dumps/Test_popupwin_drag_minwidth_1.dump,
28617 src/testdir/dumps/Test_popupwin_drag_minwidth_2.dump,
28618 src/testdir/dumps/Test_popupwin_drag_minwidth_3.dump
28619
28620Patch 8.2.4666
28621Problem: Vim9: assignment not recognized in skipped block.
28622Solution: When skipping assume identifier exists. (closes #10059)
28623Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9cmds.c,
28624 src/testdir/test_vim9_cmd.vim, src/testdir/test_vim9_script.vim
28625
28626Patch 8.2.4667
28627Problem: expandcmd() fails on an error.
28628Solution: On failure return the command unmodified. (yegappan Lakshmanan,
28629 closes #10063)
28630Files: runtime/doc/builtin.txt, src/evalfunc.c,
28631 src/testdir/test_expand.vim
28632
28633Patch 8.2.4668
28634Problem: Buffer allocation failures insufficiently tested.
28635Solution: Add tests for memory allocation failures. (Yegappan Lakshmanan,
28636 closes #10064)
28637Files: src/alloc.h, src/buffer.c, src/popupwin.c, src/window.c,
28638 src/testdir/test_buffer.vim, src/testdir/test_swap.vim
28639
28640Patch 8.2.4669
28641Problem: In compiled code len('string') is not inlined.
28642Solution: Compute the length at compile time if possible. (closes #10065)
28643Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9expr.c,
28644 src/testdir/test_vim9_disassemble.vim
28645
28646Patch 8.2.4670
28647Problem: Memory allocation failures for new tab page not tested.
28648Solution: Add tests with failing memory allocation. (Yegappan Lakshmanan,
28649 closes #10067)
28650Files: src/alloc.h, src/blob.c, src/buffer.c, src/window.c,
28651 src/testdir/test_blob.vim, src/testdir/test_buffer.vim,
28652 src/testdir/test_tabpage.vim, src/testdir/test_window_cmd.vim
28653
28654Patch 8.2.4671
28655Problem: 'wildignorecase' is sometimes not used for glob().
28656Solution: Also use 'wildignorecase' when there are no wildcards.
28657 (closes #10066, closes #8350)
28658Files: src/filepath.c, src/testdir/test_functions.vim
28659
28660Patch 8.2.4672
28661Problem: Using :normal with Ex mode may make :substitute hang.
28662Solution: When getting an empty line behave like 'q' was typed.
28663 (closes #10070)
28664Files: src/ex_cmds.c, src/testdir/test_normal.vim
28665
28666Patch 8.2.4673
28667Problem: Redrawing a vertically split window is slow when using CTRL-F and
28668 CTRL-B.
28669Solution: When deciding on USE_REDRAW bail out if scrolling more than three
28670 lines. (issue #8002)
28671Files: src/screen.c
28672
28673Patch 8.2.4674
28674Problem: Cannot force getting MouseMove events.
Bram Moolenaar8a3b8052022-06-26 12:21:15 +010028675Solution: Add the 'mousemoveevent' option with implementation for the GUI.
Bram Moolenaard799daa2022-06-20 11:17:32 +010028676 (Ernie Rael, closes #10044)
28677Files: runtime/doc/gui.txt, runtime/doc/options.txt,
28678 runtime/doc/testing.txt, src/gui.c, src/option.h,
28679 src/optiondefs.h, src/testing.c, src/testdir/test_gui.vim
28680
28681Patch 8.2.4675
28682Problem: No error for missing expression after :elseif. (Ernie Rael)
28683Solution: Check for missing expression. (closes #10068)
28684Files: src/ex_eval.c, src/testdir/test_vim9_script.vim
28685
28686Patch 8.2.4676 (after 8.2.4675)
28687Problem: Test fails with different error.
28688Solution: Add argument to :elseif.
28689Files: src/testdir/test_vimscript.vim
28690
28691Patch 8.2.4677
28692Problem: The Athena GUI support is outdated.
28693Solution: Remove the Athena GUI code.
28694Files: Filelist, src/Makefile, src/proto.h, src/clipboard.c,
28695 src/gui_athena.c, src/proto/gui_athena.pro, src/gui_at_sb.c,
28696 src/gui_at_sb.h, src/gui_at_fs.c, src/gui_motif.c, src/evalfunc.c,
28697 src/gui.c, src/gui_beval.c, src/gui_x11.c, src/if_mzsch.c,
28698 src/main.c, src/menu.c, src/mouse.c, src/version.c, src/feature.h,
28699 src/gui.h, src/structs.h, src/vim.h, src/testdir/gui_init.vim,
28700 src/testdir/setup_gui.vim, src/testdir/test_clientserver.vim,
28701 src/testdir/test_edit.vim, src/testdir/test_gui.vim,
28702 src/testdir/test_highlight.vim, src/testdir/test_quotestar.vim,
28703 src/testdir/test_startup.vim, runtime/doc/gui.txt,
28704 runtime/doc/gui_x11.txt
28705
28706Patch 8.2.4678
28707Problem: Vim9: not all code is tested.
28708Solution: Add a few more tests.
28709Files: src/vim9execute.c, src/testdir/test_vim9_script.vim,
28710 src/testdir/test_vim9_import.vim, src/testdir/test_vim9_cmd.vim
28711
28712Patch 8.2.4679
28713Problem: Cannot have expandcmd() give an error message for mistakes.
28714Solution: Add an optional argument to give errors. Fix memory leak when
28715 expanding files fails. (Yegappan Lakshmanan, closes #10071)
28716Files: runtime/doc/builtin.txt, src/evalfunc.c, src/filepath.c,
28717 src/testdir/test_expand.vim, src/testdir/test_vim9_builtin.vim
28718
28719Patch 8.2.4680
28720Problem: Build failure without +postscript.
28721Solution: Use another error message.
28722Files: src/vim9execute.c, src/testdir/test_vim9_import.vim
28723
28724Patch 8.2.4681
28725Problem: Build fails with a combination of features.
28726Solution: Remove #ifdef for alloc_clear_id(). (John Marriott)
28727Files: src/alloc.c
28728
28729Patch 8.2.4682
28730Problem: Vim9: can use :unlockvar for const variable. (Ernie Rael)
28731Solution: Check whether the variable is a const.
28732Files: src/ex_docmd.c, src/evalvars.c, src/vim9script.c,
28733 src/proto/vim9script.pro, src/eval.c, src/userfunc.c,
28734 src/testdir/test_vim9_cmd.vim
28735
28736Patch 8.2.4683
28737Problem: Verbose check with dict_find() to see if a key is present.
28738Solution: Add dict_has_key(). (Yegappan Lakshmanan, closes #10074)
28739Files: src/channel.c, src/dict.c, src/evalwindow.c, src/filepath.c,
28740 src/highlight.c, src/json.c, src/match.c, src/popupwin.c,
28741 src/proto/dict.pro, src/quickfix.c, src/search.c, src/sign.c,
28742 src/tag.c, src/terminal.c, src/testing.c, src/textprop.c,
28743 src/time.c
28744
28745Patch 8.2.4684
28746Problem: Cannot open a channel on a Unix domain socket.
28747Solution: Add Unix domain socket support. (closes #10062)
28748Files: runtime/doc/channel.txt, src/channel.c, src/testdir/check.vim,
28749 src/testdir/shared.vim, src/testdir/test_channel.py,
28750 src/testdir/test_channel.vim, src/testdir/test_channel_unix.py,
28751 src/testdir/test_cmdline.vim
28752
28753Patch 8.2.4685
28754Problem: When a swap file is found for a popup there is no dialog and the
28755 buffer is loaded anyway.
28756Solution: Silently load the buffer read-only. (closes #10073)
28757Files: runtime/doc/popup.txt, src/memline.c, src/popupwin.c, src/vim.h,
28758 src/buffer.c, src/testdir/test_popupwin.vim
28759
28760Patch 8.2.4686
28761Problem: Configure doesn't find the Motif library with Cygwin.
28762Solution: Check for libXm.dll.a. (Kelvin Lee, closes #10077)
28763Files: src/configure.ac, src/auto/configure
28764
28765Patch 8.2.4687
28766Problem: "vimgrep /\%v/ *" may cause a crash.
28767Solution: When compiling the pattern with the old engine fails, restore the
28768 regprog of the new engine instead of leaving it NULL.
28769 (closes #10079)
28770Files: src/regexp.c
28771
28772Patch 8.2.4688
28773Problem: New regexp engine does not give an error for "\%v".
28774Solution: Check for a value argument. (issue #10079)
28775Files: src/regexp_nfa.c, src/errors.h, src/regexp_bt.c,
28776 src/testdir/test_regexp_latin.vim
28777
28778Patch 8.2.4689
28779Problem: Using <Cmd> in a mapping does not work for mouse keys in Insert
28780 mode. (Sergey Vlasov)
28781Solution: When reading the <Cmd> argument do not use the stuff buffer.
28782 (closes #10080)
28783Files: src/getchar.c
28784
28785Patch 8.2.4690
28786Problem: Channel tests fail on MS-Windows.
28787Solution: Check if the AF_UNIX attribute exists. (closes #10083)
28788Files: src/testdir/test_channel.py, src/testdir/test_channel_unix.py
28789
28790Patch 8.2.4691 (after 8.2.4689)
28791Problem: Solution for <Cmd> in a mapping causes trouble.
28792Solution: Use another solution: put back CTRL-O after reading the <Cmd>
28793 sequence.
28794Files: src/getchar.c
28795
28796Patch 8.2.4692
28797Problem: No test for what 8.2.4691 fixes.
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010028798Solution: Add a test. Use a more generic solution. (closes #10090)
Bram Moolenaard799daa2022-06-20 11:17:32 +010028799Files: src/getchar.c, src/mouse.c, src/testdir/test_mapping.vim
28800
28801Patch 8.2.4693 (after 8.2.4688)
28802Problem: new regexp does not accept pattern "\%>0v".
28803Solution: Do accept digit zero.
28804Files: src/regexp_bt.c, src/regexp_nfa.c,
28805 src/testdir/test_regexp_latin.vim
28806
28807Patch 8.2.4694
28808Problem: Avoidance of #elif causes more preproc nesting.
28809Solution: Use #elif where it is useful. (Ozaki Kiichi, closes #10081)
28810Files: src/option.c, src/optiondefs.h, src/optionstr.c, src/version.c
28811
28812Patch 8.2.4695
28813Problem: JSON encoding could be faster.
28814Solution: Optimize encoding JSON strings. (closes #10086)
28815Files: src/json.c, src/testdir/test_json.vim
28816
28817Patch 8.2.4696
28818Problem: delete() with "rf" argument does not report a failure.
28819Solution: Return -1 if the directory could not be removed. (closes #10078)
28820Files: src/fileio.c, src/testdir/test_functions.vim
28821
28822Patch 8.2.4697
28823Problem: Vim9: crash when adding a duplicate key to a dictionary.
28824Solution: Clear the stack item when it has been moved into the dictionary.
28825 (closes #10087)
28826Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
28827
28828Patch 8.2.4698
28829Problem: Vim9: script variable has no flag that it was set.
28830Solution: Add a flag that it was set, to avoid giving it a value when used.
28831 (closes #10088)
28832Files: src/structs.h, src/vim9script.c, src/vim9execute.c,
28833 src/evalvars.c, src/testdir/test_vim9_assign.vim,
28834 src/testdir/test_vim9_builtin.vim
28835
28836Patch 8.2.4699
28837Problem: Hard to reproduce hang when reading from a channel.
28838Solution: Check for readahead before starting to wait. (closes #10093,
28839 closes #7781, closes #6364)
28840Files: src/channel.c
28841
28842Patch 8.2.4700
28843Problem: Buffer remains active if a WinClosed event throws an exception.
28844Solution: Ignore aborting() when closing the buffer. (closes #10097)
28845Files: src/window.c, src/testdir/test_autocmd.vim
28846
28847Patch 8.2.4701
28848Problem: Kuka Robot Language files not recognized.
28849Solution: Recognize *.src and *.dat files. (Patrick Meiser-Knosowski,
28850 closes #10096)
28851Files: runtime/filetype.vim, src/testdir/test_filetype.vim,
28852 runtime/autoload/dist/ft.vim
28853
28854Patch 8.2.4702
28855Problem: C++ scope labels are hard-coded.
28856Solution: Add 'cinscopedecls' to define the labels. (Rom Praschan,
28857 closes #10109)
28858Files: runtime/doc/indent.txt, runtime/doc/options.txt,
28859 runtime/doc/quickref.txt, runtime/optwin.vim, src/buffer.c,
28860 src/cindent.c, src/option.c, src/option.h, src/optiondefs.h,
28861 src/optionstr.c, src/structs.h, src/testdir/test_cindent.vim
28862
28863Patch 8.2.4703 (after 8.2.4702)
28864Problem: Memory leak in handling 'cinscopedecls'.
28865Solution: Free the memory before returning.
28866Files: src/cindent.c
28867
28868Patch 8.2.4704
28869Problem: Using "else" after return or break increases indent.
28870Solution: Remove "else" and reduce indent. (Goc Dundar, closes #10099)
28871Files: src/fileio.c, src/memline.c, src/option.c, src/syntax.c
28872
28873Patch 8.2.4705
28874Problem: reg_executing may not be cleared.
28875Solution: Reset reg_executing later. (closes #10111, closes #10110)
28876Files: src/ex_docmd.c, src/getchar.c, src/globals.h, src/structs.h,
28877 src/testdir/test_registers.vim
28878
28879Patch 8.2.4706
28880Problem: Buffer remains active if a WinClosed event throws an exception
28881 when there are multiple tabpages.
28882Solution: Ignore aborting() when closing the buffer. (closes #10101)
28883Files: src/window.c, src/testdir/test_autocmd.vim
28884
28885Patch 8.2.4707
28886Problem: Redrawing could be a bit more efficient.
28887Solution: Optimize redrawing. (closes #10105)
28888Files: src/change.c, src/edit.c, src/testdir/test_highlight.vim,
28889 src/testdir/dumps/Test_cursorcolumn_insert_on_tab_3.dump
28890
28891Patch 8.2.4708
28892Problem: PHP test files are not recognized.
28893Solution: Add the *.phpt pattern. (Julien Voisin, closes #10112)
28894Files: runtime/filetype.vim, src/testdir/test_filetype.vim
28895
28896Patch 8.2.4709
28897Problem: After :redraw the statusline highlight might be used.
28898Solution: Clear the screen attribute after redrawing the screen.
28899 (closes #10108)
28900Files: src/ex_docmd.c
28901
28902Patch 8.2.4710
28903Problem: Smart indenting does not work after completion.
28904Solution: Set "can_si". (Christian Brabandt, closes #10113, closes #558)
28905Files: src/edit.c, src/testdir/test_ins_complete.vim
28906
28907Patch 8.2.4711
28908Problem: When 'insermode' is set :edit from <Cmd> mapping misbehaves.
28909Solution: Don't set "need_start_insertmode" when already in Insert mode.
28910 (closes #10116)
28911Files: src/ex_cmds.c, src/testdir/test_edit.vim
28912
28913Patch 8.2.4712
28914Problem: Only get profiling information after exiting.
28915Solution: Add "profile dump" and "profile stop". (Marco Hinz, Yegappan
28916 Lakshmanan, closes #10107)
28917Files: runtime/doc/repeat.txt, src/profiler.c,
28918 src/testdir/test_profile.vim
28919
28920Patch 8.2.4713
28921Problem: Plugins cannot track text scrolling.
28922Solution: Add the WinScrolled event. (closes #10102)
28923Files: runtime/doc/autocmd.txt, src/autocmd.c, src/proto/autocmd.pro,
28924 src/edit.c, src/gui.c, src/main.c, src/structs.h, src/vim.h,
28925 src/window.c, src/proto/window.pro, src/testdir/test_autocmd.vim
28926
28927Patch 8.2.4714
28928Problem: Using g:filetype_dat and g:filetype_src not tested.
28929Solution: Add a test. (Patrick Meiser-Knosowski, closes #10117)
28930Files: src/testdir/test_filetype.vim
28931
28932Patch 8.2.4715
28933Problem: Vagrantfile not recognized.
28934Solution: Recognize Vagrantfile as ruby. (Julien Voisin, closes #10119)
28935Files: runtime/filetype.vim, src/testdir/test_filetype.vim
28936
28937Patch 8.2.4716
28938Problem: Memory allocation failure not tested when defining a function.
28939Solution: Add a test. (Yegappan Lakshmanan, closes #10127)
28940Files: src/alloc.c, src/alloc.h, src/proto/alloc.pro, src/userfunc.c,
28941 src/testdir/test_user_func.vim, src/testdir/test_vim9_func.vim
28942
28943Patch 8.2.4717
28944Problem: For TextYankPost v:event does not contain information about the
28945 operation being inclusive or not.
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010028946Solution: Add "inclusive" to v:event. (Justin M. Keyes, Yegappan Lakshmanan,
Bram Moolenaard799daa2022-06-20 11:17:32 +010028947 closes #10125)
28948Files: runtime/doc/autocmd.txt, src/register.c,
28949 src/testdir/test_autocmd.vim
28950
28951Patch 8.2.4718
28952Problem: @@@ in the last line sometimes drawn in the wrong place.
28953Solution: Make sure the column is valid. (closes #10130)
28954Files: src/drawscreen.c, src/screen.c, src/testdir/test_display.vim
28955 src/testdir/dumps/Test_display_lastline_1.dump,
28956 src/testdir/dumps/Test_display_lastline_2.dump,
28957 src/testdir/dumps/Test_display_lastline_3.dump,
28958 src/testdir/dumps/Test_display_lastline_4.dump
28959
28960Patch 8.2.4719
28961Problem: ">" marker sometimes not displayed in the jumplist.
28962Solution: If the buffer no longer exists show "-invalid-". (Christian
28963 Brabandt, closes #10131, closes #10100)
28964Files: runtime/doc/motion.txt, src/mark.c, src/testdir/Make_all.mak,
28965 src/testdir/test_alot.vim, src/testdir/test_jumplist.vim,
28966 src/testdir/test_jumps.vim
28967
28968Patch 8.2.4720
28969Problem: ABB Rapid files are not recognized properly.
28970Solution: Add checks for ABB Rapid files. (Patrick Meiser-Knosowski,
28971 closes #10104)
28972Files: runtime/autoload/dist/ft.vim, runtime/doc/filetype.txt,
28973 runtime/filetype.vim, src/testdir/test_filetype.vim
28974
28975Patch 8.2.4721
28976Problem: Cooklang files are not recognized.
28977Solution: recognize *.cook files. (Goc Dundar, closes #10120)
28978Files: runtime/filetype.vim, src/testdir/test_filetype.vim
28979
28980Patch 8.2.4722
28981Problem: When a recording is ended with a mapped key that key is also
28982 recorded.
28983Solution: Remember the previous last_recorded_len. (closes #10122)
28984Files: src/getchar.c, src/testdir/test_registers.vim
28985
28986Patch 8.2.4723
28987Problem: The ModeChanged autocmd event is inefficient.
28988Solution: Avoid allocating memory. (closes #10134) Rename
28989 trigger_modechanged() to may_trigger_modechanged().
28990Files: src/misc1.c, src/proto/misc1.pro, src/edit.c, src/ex_docmd.c,
28991 src/ex_getln.c, src/insexpand.c, src/normal.c, src/terminal.c,
28992 src/autocmd.c
28993
28994Patch 8.2.4724
28995Problem: Current instance of last search pattern not easily spotted.
28996Solution: Add CurSearch highlighting. (closes #10133)
28997Files: runtime/doc/options.txt, runtime/doc/syntax.txt, src/highlight.c,
28998 src/match.c, src/normal.c, src/optiondefs.h, src/structs.h,
28999 src/vim.h, src/normal.c, src/testdir/test_search.vim,
29000 src/testdir/dumps/Test_hlsearch_cursearch_multiple_line.dump,
29001 src/testdir/dumps/Test_hlsearch_cursearch_single_line_1.dump,
29002 src/testdir/dumps/Test_hlsearch_cursearch_single_line_2.dump,
29003 src/testdir/dumps/Test_hlsearch_cursearch_single_line_3.dump
29004
29005Patch 8.2.4725 (after 8.2.4724)
29006Problem: Unused variable in tiny build.
29007Solution: Add #ifdef.
29008Files: src/normal.c
29009
29010Patch 8.2.4726
29011Problem: Cannot use expand() to get the script name.
29012Solution: Support expand('<script>'). (closes #10121)
29013Files: runtime/doc/cmdline.txt, src/errors.h, src/ex_docmd.c,
29014 src/scriptfile.c, src/vim.h, src/testdir/test_expand.vim
29015
29016Patch 8.2.4727
29017Problem: Unused code.
29018Solution: Remove code and add #ifdefs. (Dominique Pellé, closes #10136)
29019Files: runtime/doc/editing.txt, runtime/doc/eval.txt,
29020 runtime/doc/vim9.txt, src/errors.h, src/option.c, src/search.c,
29021 src/proto/search.pro
29022
29023Patch 8.2.4728
29024Problem: No test that v:event cannot be modified.
29025Solution: Add a test. (closes #10139)
29026Files: src/testdir/test_autocmd.vim
29027
29028Patch 8.2.4729
29029Problem: HEEx and Surface templates do not need a separate filetype.
29030Solution: Use Eelixir for the similar filetypes. (Aaron Tinio, closes #10124)
29031Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29032
29033Patch 8.2.4730
29034Problem: MS-Windows GUI: cannot use CTRL-/.
29035Solution: Handle the WM_KEYUP event. (Yasuhiro Matsumoto, closes #10141)
29036Files: src/gui_w32.c
29037
29038Patch 8.2.4731
29039Problem: The changelist index is not remembered per buffer.
29040Solution: Keep the changelist index per window and buffer. (closes #10135,
29041 closes #2173)
29042Files: src/buffer.c, src/evalfunc.c, src/structs.h,
29043 src/testdir/test_changelist.vim
29044
29045Patch 8.2.4732
29046Problem: Duplicate code to free fuzzy matches.
29047Solution: Bring back fuzmatch_str_free().
29048Files: src/search.c, src/proto/search.pro, src/cmdexpand.c
29049
29050Patch 8.2.4733 (after 8.2.4729)
29051Problem: HEEx and Surface do need a separate filetype.
29052Solution: Revert 8.2.4729. (closes #10147)
29053Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29054
29055Patch 8.2.4734
29056Problem: getcharpos() may change a mark position.
29057Solution: Copy the mark position. (closes #10148)
29058Files: src/eval.c, src/testdir/test_cursor_func.vim
29059
29060Patch 8.2.4735
29061Problem: Quickfix tests can be a bit hard to read.
29062Solution: Use heredoc instead of strings and line continuation. (Yegappan
29063 Lakshmanan, closes #10145)
29064Files: src/testdir/test_quickfix.vim
29065
29066Patch 8.2.4736
29067Problem: Build problem for Cygwin with Motif.
29068Solution: Undefine ControlMask. (Kelvin Lee, closes #10152)
29069Files: src/mbyte.c
29070
29071Patch 8.2.4737
29072Problem: // in JavaScript string recognized as comment.
29073Solution: Only check for linecomment if 'cindent' is set. (closes #10151)
29074Files: src/change.c, src/testdir/test_textformat.vim
29075
29076Patch 8.2.4738
29077Problem: Esc on commandline executes command instead of abandoning it.
29078Solution: Save and restore KeyTyped when removing the popup menu.
29079 (closes #10154)
29080Files: src/cmdexpand.c, src/testdir/test_cmdline.vim,
29081 src/testdir/dumps/Test_wildmenu_with_pum_foldexpr_1.dump,
29082 src/testdir/dumps/Test_wildmenu_with_pum_foldexpr_2.dump
29083
29084Patch 8.2.4739
29085Problem: Accessing freed memory after WinScrolled autocmd event.
29086Solution: Check the window pointer is still valid. (closes #10156)
29087 Remove the argument from may_trigger_winscrolled().
29088Files: src/window.c, src/proto/window.pro, src/edit.c, src/gui.c,
29089 src/main.c, src/testdir/test_autocmd.vim
29090
29091Patch 8.2.4740
29092Problem: When expand() fails there is no error message.
29093Solution: When 'verbose' is set give an error message.
29094Files: runtime/doc/builtin.txt, src/evalfunc.c,
29095 src/testdir/test_expand.vim
29096
29097Patch 8.2.4741 (after 8.2.4740)
29098Problem: Startup test fails.
29099Solution: Avoid an error for verbose expansion. Fix that the "0verbose"
29100 command modifier doesn't work.
29101Files: runtime/syntax/syntax.vim, runtime/syntax/synload.vim,
29102 src/structs.h, src/ex_docmd.c, src/testdir/test_excmd.vim
29103
29104Patch 8.2.4742
29105Problem: There is no way to start logging very early in startup.
29106Solution: Add the --log argument. Include the date in the start message in
29107 the log file. Avoid a duplicate message when forking. Log an
29108 executed shell command.
29109Files: runtime/doc/starting.txt, runtime/doc/channel.txt,
29110 src/main.c, src/channel.c, src/os_unix.c, src/os_win32.c,
29111 src/testdir/test_startup.vim
29112
29113Patch 8.2.4743
29114Problem: Clang 14 is available on CI.
29115Solution: Switch from clang 13 to 14. (closes #10157)
29116Files: .github/workflows/ci.yml
29117
29118Patch 8.2.4744
29119Problem: A terminal window can't use the bell.
29120Solution: Add bell support for the terminal window. (closes #10178)
29121Files: runtime/doc/options.txt, src/gui_w32.c, src/option.h,
29122 src/optionstr.c, src/terminal.c
29123
29124Patch 8.2.4745 (after 8.2.4744)
29125Problem: Using wrong flag for using bell in the terminal.
29126Solution: Change to use BO_TERM.
29127Files: src/terminal.c, src/misc1.c
29128
29129Patch 8.2.4746
29130Problem: Supercollider filetype not recognized.
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010029131Solution: Match file extensions and check file contents to detect
Bram Moolenaard799daa2022-06-20 11:17:32 +010029132 supercollider. (closes #10142)
29133Files: runtime/filetype.vim, runtime/autoload/dist/ft.vim,
29134 src/testdir/test_filetype.vim
29135
29136Patch 8.2.4747
29137Problem: No filetype override for .sys files.
29138Solution: Add g:filetype_sys. (Patrick Meiser-Knosowski, closes #10181)
29139Files: runtime/doc/filetype.txt, runtime/autoload/dist/ft.vim,
29140 src/testdir/test_filetype.vim
29141
29142Patch 8.2.4748
29143Problem: Cannot use an imported function in a mapping.
29144Solution: Recognize <SID>name.Func.
29145Files: runtime/doc/vim9.txt, src/term.c, src/vim9execute.c,
29146 src/proto/vim9execute.pro, src/scriptfile.c,
29147 src/testdir/test_vim9_import.vim
29148
29149Patch 8.2.4749
29150Problem: <script> is not expanded in autocmd context.
29151Solution: Add the context to the pattern struct. (closes #10144)
29152 Rename AutoPatCmd to AutoPatCmd_T.
29153Files: src/autocmd.c, src/proto/autocmd.pro, src/scriptfile.c,
29154 src/structs.h, src/testdir/test_expand.vim
29155
29156Patch 8.2.4750
29157Problem: Small pieces of dead code.
29158Solution: Remove the dead code. (Goc Dundar, closes #10190) Rename the
29159 qftf_cb struct member to avoid confusion.
29160Files: src/ex_cmds.c, src/misc1.c, src/optionstr.c, src/quickfix.c
29161
29162Patch 8.2.4751 (after 8.2.4748)
29163Problem: Mapping <SID>name.Func does not work for script in autoload
29164 directory.
29165Solution: Use the # form for a script in the autoload directory.
29166 (closes #10186)
29167Files: src/term.c, src/testdir/test_vim9_import.vim
29168
29169Patch 8.2.4752
29170Problem: Wrong 'statusline' value can cause illegal memory access.
29171Solution: Properly check the value. (closes #10192)
29172Files: src/optionstr.c, src/testdir/test_options.vim
29173
29174Patch 8.2.4753
29175Problem: Error from setting an option is silently ignored.
29176Solution: Handle option value errors better. Fix uses of N_().
29177Files: src/option.c, src/proto/option.pro, src/optionstr.c,
29178 src/channel.c, src/crypt.c, src/diff.c, src/edit.c,
29179 src/eval.c, src/evalfunc.c, src/evalvars.c, src/ex_cmds2.c,
29180 src/ex_docmd.c, src/ex_getln.c, src/getchar.c, src/gui.c,
29181 src/gui_gtk_x11.c, src/help.c, src/highlight.c, src/if_tcl.c,
29182 src/main.c, src/memline.c, src/message_test.c,
29183 src/popupmenu.c, src/quickfix.c, src/scriptfile.c, src/spell.c,
29184 src/spellfile.c, src/term.c, src/undo.c, src/vim9script.c
29185
29186Patch 8.2.4754
29187Problem: Still using cached values after unsetting some known environment
29188 variables.
29189Solution: Take care of the side effects. (closes #10194)
29190Files: src/evalfunc.c, src/evalvars.c, src/misc1.c, src/proto/misc1.pro,
29191 src/vim9execute.c, src/optionstr.c, src/testdir/test_environ.vim
29192
29193Patch 8.2.4755
29194Problem: Cannot use <SID>FuncRef in completion spec.
29195Solution: Dereference a function name in another way. (closes #10197)
29196Files: src/eval.c, src/testdir/test_vim9_import.vim
29197
29198Patch 8.2.4756 (after 8.2.4754)
29199Problem: Build error without the +eval feature.
29200Solution: Adjust #ifdefs.
29201Files: src/misc1.c
29202
29203Patch 8.2.4757
29204Problem: List of libraries to suppress lsan errors is outdated.
29205Solution: Add another library. (closes #10201)
29206Files: src/testdir/lsan-suppress.txt
29207
29208Patch 8.2.4758
29209Problem: When using an LSP channel want to get the message ID.
29210Solution: Have ch_sendexpr() return the ID. (Yegappan Lakshmanan,
29211 closes #10202)
29212Files: runtime/doc/channel.txt, src/channel.c, src/evalfunc.c,
29213 src/testdir/test_channel.vim
29214
29215Patch 8.2.4759
29216Problem: CurSearch highlight does not work for multi-line match.
29217Solution: Check cursor position before adjusting columns. (closes #10133)
29218Files: src/structs.h, src/match.c, src/testdir/test_search.vim,
29219 src/testdir/dumps/Test_hlsearch_cursearch_multiple_line.dump,
29220 src/testdir/dumps/Test_hlsearch_cursearch_multiple_line_1.dump,
29221 src/testdir/dumps/Test_hlsearch_cursearch_multiple_line_2.dump,
29222 src/testdir/dumps/Test_hlsearch_cursearch_multiple_line_3.dump,
29223 src/testdir/dumps/Test_hlsearch_cursearch_multiple_line_4.dump,
29224 src/testdir/dumps/Test_hlsearch_cursearch_multiple_line_5.dump
29225
29226Patch 8.2.4760
29227Problem: Using matchfuzzy() on a long list can take a while.
29228Solution: Add a limit to the number of matches. (Yasuhiro Matsumoto,
29229 closes #10189)
29230Files: runtime/doc/builtin.txt, src/search.c,
29231 src/testdir/test_matchfuzzy.vim
29232
29233Patch 8.2.4761
29234Problem: Documentation for using LSP messages is incomplete.
29235Solution: Update the documentation. (Yegappan Lakshmanan, closes #10206)
29236Files: runtime/doc/channel.txt
29237
29238Patch 8.2.4762
29239Problem: Using freed memory when using synstack() and synID() in WinEnter.
29240Solution: Check using the syntax window. (closes #10204)
29241Files: src/syntax.c, src/testdir/test_syntax.vim
29242
29243Patch 8.2.4763
29244Problem: Using invalid pointer with "V:" in Ex mode.
29245Solution: Correctly handle the command being changed to "+".
29246Files: src/ex_docmd.c, src/testdir/test_ex_mode.vim
29247
29248Patch 8.2.4764
29249Problem: CI uses an older gcc version.
29250Solution: Use GCC 11. (closes #10185)
29251Files: .github/workflows/ci.yml, src/testdir/lsan-suppress.txt
29252
29253Patch 8.2.4765
29254Problem: Function matchfuzzy() sorts too many items.
29255Solution: Only put matches in the array. (Yegappan Lakshmanan,
29256 closes #10208)
29257Files: src/search.c
29258
29259Patch 8.2.4766
29260Problem: KRL files using "deffct" not recognized.
29261Solution: Adjust the pattern used for matching. (Patrick Meiser-Knosowski,
29262 closes #10200)
29263Files: runtime/autoload/dist/ft.vim, src/testdir/test_filetype.vim
29264
29265Patch 8.2.4767
29266Problem: Openscad files are not recognized.
29267Solution: Add a filetype pattern. (Niklas Adam, closes #10199)
29268Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29269
29270Patch 8.2.4768
29271Problem: CI: codecov upload sometimes does not work.
29272Solution: Use action v3 instead of v2. (closes #10209)
29273Files: .github/workflows/ci.yml
29274
29275Patch 8.2.4769
29276Problem: Build warning with UCRT.
29277Solution: Adjust #ifdef for _wenviron. (John Marriott)
29278Files: src/evalfunc.c
29279
29280Patch 8.2.4770
29281Problem: Cannot easily mix expression and heredoc.
29282Solution: Support `=expr` in heredoc. (Yegappan Lakshmanan, closes #10138)
29283Files: runtime/doc/eval.txt, src/evalvars.c, src/userfunc.c,
29284 src/testdir/test_let.vim, src/testdir/test_vim9_assign.vim
29285
29286Patch 8.2.4771
29287Problem: Coverity warns for not checking return value.
29288Solution: Check return value of rettv_dict_alloc().
29289Files: src/channel.c
29290
29291Patch 8.2.4772
29292Problem: Old Coverity warning for not checking ftell() return value.
29293Solution: Check return value of fseek() and ftell().
29294Files: src/misc1.c
29295
29296Patch 8.2.4773
29297Problem: Build failure without the +eval feature.
29298Solution: Use other error message. Avoid warnings.
29299Files: src/misc1.c, src/cindent.c, src/term.c
29300
29301Patch 8.2.4774
29302Problem: Crash when using a number for lambda name.
29303Solution: Check the type of the lambda reference.
29304Files: src/eval.c, src/errors.h, src/testdir/test_lambda.vim
29305
29306Patch 8.2.4775
29307Problem: SpellBad highlighting does not work in Konsole.
29308Solution: Do not keep t_8u defined for Konsole. Redraw when t_8u is reset.
29309 (closes #10177)
29310Files: src/term.c
29311
29312Patch 8.2.4776
29313Problem: GTK: 'lines' and 'columns' may change during startup.
29314Solution: Ignore stale GTK resize events. (Ernie Rael, closes #10179)
29315Files: src/gui_gtk_x11.c
29316
29317Patch 8.2.4777 (after 8.2.4775)
29318Problem: Screendump tests fail because of a redraw.
29319Solution: Do not output t_8u before receiving termresponse. Redraw only
29320 when t_8u is not reset and termresponse is received.
29321Files: src/term.c
29322
29323Patch 8.2.4778
29324Problem: Pacman files use dosini filetype.
29325Solution: Use conf instead. (Chaoren Lin, closes #10213)
29326Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29327
29328Patch 8.2.4779
29329Problem: lsan suppression is too version specific.
29330Solution: Leave out the version number. (Christian Brabandt, closes #10214)
29331Files: src/testdir/lsan-suppress.txt
29332
29333Patch 8.2.4780
29334Problem: Parsing an LSP message fails when it is split.
29335Solution: Collapse the received data before parsing. (Yegappan Lakshmanan,
29336 closes #10215)
29337Files: runtime/doc/channel.txt, src/channel.c,
29338 src/testdir/test_channel.vim, src/testdir/test_channel_lsp.py
29339
29340Patch 8.2.4781
29341Problem: Maxima files are not recognized.
29342Solution: Add patterns to detect Maxima files. (Doron Behar, closes #10211)
29343Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29344
29345Patch 8.2.4782
29346Problem: Accessing freed memory.
29347Solution: Clear evalarg after checking for trailing characters.
29348 (issue #10218)
29349Files: src/userfunc.c, src/testdir/test_lambda.vim
29350
29351Patch 8.2.4783
29352Problem: Coverity warns for leaking memory.
29353Solution: Use another strategy freeing "theline".
29354Files: src/evalvars.c
29355
29356Patch 8.2.4784
29357Problem: Lamba test with timer is flaky.
29358Solution: Adjust sleep time on retry.
29359Files: src/testdir/test_lambda.vim
29360
29361Patch 8.2.4785
29362Problem: Visual mode not stopped early enough if win_gotoid() goes to
29363 another buffer. (Sergey Vlasov)
29364Solution: Stop Visual mode before jumping to another buffer. (closes #10217)
29365Files: src/evalwindow.c, src/testdir/test_vim9_builtin.vim,
29366 src/testdir/dumps/Test_win_gotoid_1.dump,
29367 src/testdir/dumps/Test_win_gotoid_2.dump,
29368 src/testdir/dumps/Test_win_gotoid_3.dump
29369
29370Patch 8.2.4786 (after 8.2.4785)
29371Problem: Test for win_gotoid() in Visual mode fails on Mac.
29372Solution: Skip the test on MacOS.
29373Files: src/testdir/test_vim9_builtin.vim
29374
29375Patch 8.2.4787
29376Problem: prop_find() does not find the right property.
29377Solution: Fix the scan order. (closes #10220)
29378Files: src/textprop.c, src/testdir/test_textprop.vim
29379
29380Patch 8.2.4788
29381Problem: Large payload for LSP message not tested.
29382Solution: Add a test with a large LSP payload. (Yegappan Lakshmanan,
29383 closes #10223)
29384Files: src/channel.c, src/testdir/test_channel.vim,
29385 src/testdir/test_channel_lsp.py
29386
29387Patch 8.2.4789
29388Problem: The cursor may be in the in wrong place when using :redraw while
29389 editing the cmdline.
29390Solution: When editing the command line let :redraw update the command line
29391 too. (closes #10210)
29392Files: src/ex_docmd.c, src/testdir/test_cmdline.vim,
29393 src/testdir/dumps/Test_redraw_in_autocmd_1.dump,
29394 src/testdir/dumps/Test_redraw_in_autocmd_2.dump
29395
29396Patch 8.2.4790
29397Problem: Lilypond filetype not recognized.
29398Solution: Add patterns for lilypond. (Doug Kearns)
29399Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29400
29401Patch 8.2.4791
29402Problem: Autocmd events triggered in different order when reusing an empty
29403 buffer.
29404Solution: Call buff_freeall() earlier. (Charlie Groves, closes #10198)
29405Files: src/buffer.c, src/testdir/test_autocmd.vim
29406
29407Patch 8.2.4792
29408Problem: Indent operator creates an undo entry for every line.
29409Solution: Create one undo entry for all lines. (closes #10227)
29410Files: src/indent.c, src/testdir/test_indent.vim
29411
29412Patch 8.2.4793
29413Problem: Recognizing Maxima filetype even though it might be another.
29414Solution: Remove *.mc and *.dem patterns from Maxima files
29415Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29416
29417Patch 8.2.4794
29418Problem: Compiler warning for not initialized variable.
29419Solution: Initialize the variable. (John Marriott)
29420Files: src/indent.c
29421
29422Patch 8.2.4795
29423Problem: 'cursorbind' scrolling depends on whether 'cursorline' is set.
29424Solution: Always call validate_cursor(). (Christian Brabandt, closes #10230,
29425 closes #10014)
29426Files: src/move.c, src/testdir/README.txt,
29427 src/testdir/test_cursorline.vim,
29428 src/testdir/dumps/Test_hor_scroll_1.dump,
29429 src/testdir/dumps/Test_hor_scroll_2.dump,
29430 src/testdir/dumps/Test_hor_scroll_3.dump,
29431 src/testdir/dumps/Test_hor_scroll_4.dump
29432
29433Patch 8.2.4796 (after 8.2.4795)
29434Problem: File left behind after running cursorline tests.
29435Solution: Uncomment the line that deletes the file.
29436Files: src/testdir/test_cursorline.vim
29437
29438Patch 8.2.4797
Bram Moolenaar8a3b8052022-06-26 12:21:15 +010029439Problem: getwininfo() may get outdated values.
Bram Moolenaard799daa2022-06-20 11:17:32 +010029440Solution: Make sure w_botline is up-to-date. (closes #10226)
29441Files: src/evalwindow.c, src/testdir/test_bufwintabinfo.vim
29442
29443Patch 8.2.4798
29444Problem: t_8u option was reset even when set by the user.
29445Solution: Only reset t_8u when using the default value. (closes #10239)
29446Files: src/term.c
29447
29448Patch 8.2.4799
29449Problem: Popup does not use correct topline.
29450Solution: Also add one when firstline is negative. (closes #10229)
29451Files: src/popupwin.c, src/testdir/test_popupwin.vim
29452
29453Patch 8.2.4800 (after 8.2.4798)
29454Problem: Missing test update for adjusted t_8u behavior.
29455Solution: Update and extend the test.
29456Files: src/testdir/test_termcodes.vim
29457
29458Patch 8.2.4801 (after 8.2.4795)
29459Problem: Fix for cursorbind fix not fully tested.
29460Solution: Add another test case. (Christian Brabandt, closes #10240)
29461Files: src/testdir/test_cursorline.vim,
29462 src/testdir/dumps/Test_hor_scroll_5.dump
29463
29464Patch 8.2.4802
29465Problem: Test is not cleaned up.
29466Solution: Make test clean up after itself. Avoid NUL. (closes #10233)
29467Files: src/testdir/test_autocmd.vim
29468
29469Patch 8.2.4803
29470Problem: WinScrolled not always triggered when scrolling with the mouse.
29471Solution: Add calls to may_trigger_winscrolled(). (closes #10246)
29472Files: src/mouse.c, src/testdir/test_autocmd.vim
29473
29474Patch 8.2.4804
29475Problem: Expression in heredoc doesn't work for compiled function.
29476Solution: Implement compiling the heredoc expressions. (Yegappan Lakshmanan,
29477 closes #10232)
29478Files: runtime/doc/eval.txt, src/evalvars.c, src/proto/evalvars.pro,
29479 src/ex_getln.c, src/vim9compile.c, src/proto/vim9compile.pro,
29480 src/testdir/test_vim9_assign.vim
29481
29482Patch 8.2.4805
29483Problem: CurSearch used for all matches in current line.
29484Solution: Don't use the non-zero line count. (closes #10247)
29485Files: src/match.c, src/testdir/test_search.vim,
29486 src/testdir/dumps/Test_hlsearch_cursearch_single_line_1.dump,
29487 src/testdir/dumps/Test_hlsearch_cursearch_single_line_2.dump,
29488 src/testdir/dumps/Test_hlsearch_cursearch_single_line_2a.dump,
29489 src/testdir/dumps/Test_hlsearch_cursearch_single_line_2b.dump
29490
29491Patch 8.2.4806
29492Problem: A mapping using <LeftDrag> does not start Select mode.
29493Solution: When checking for starting select mode with the mouse also do this
29494 when there is typeahead. (closes #10249)
29495Files: src/normal.c
29496
29497Patch 8.2.4807
29498Problem: Processing key events in Win32 GUI is not ideal.
29499Solution: Improve processing of key events. (closes #10155)
29500Files: src/gui_w32.c
29501
29502Patch 8.2.4808
29503Problem: Unused item in engine struct.
29504Solution: Remove "expr". Add comment with tags.
29505Files: src/regexp.h
29506
29507Patch 8.2.4809
29508Problem: Various things not properly tested.
29509Solution: Add various test cases. (Yegappan Lakshmanan, closes #10259)
29510Files: src/testdir/test_blob.vim, src/testdir/test_debugger.vim,
29511 src/testdir/test_listdict.vim, src/testdir/test_vim9_builtin.vim,
29512 src/testdir/test_vim9_import.vim, src/testdir/test_vim9_script.vim
29513
29514Patch 8.2.4810 (after 8.2.4808)
29515Problem: Missing changes in one file.
29516Solution: Also change the struct initializers.
29517Files: src/regexp.c
29518
29519Patch 8.2.4811 (after 8.2.4807)
29520Problem: Win32 GUI: caps lock doesn't work.
29521Solution: Handle VK_CAPITAL. (closes #10260, closes #10258)
29522Files: src/gui_w32.c
29523
29524Patch 8.2.4812
29525Problem: Unused struct item.
29526Solution: Remove "lines" match_T. Simplify the code. (closes #10256)
29527Files: src/match.c, src/structs.h
29528
29529Patch 8.2.4813
29530Problem: Pasting text while indent folding may mess up folds.
29531Solution: Adjust the way folds are split. (Brandon Simmons, closes #10254)
29532Files: src/fold.c, src/testdir/test_fold.vim
29533
29534Patch 8.2.4814
29535Problem: Possible to leave a popup window with win_gotoid().
29536Solution: Give an error when trying to leave a popup window with
29537 win_gotoid(). (closes #10253)
29538Files: src/evalwindow.c, src/testdir/test_terminal3.vim
29539
29540Patch 8.2.4815 (after 8.2.4776)
29541Problem: Cannot build with older GTK version.
29542Solution: Use gtk_window_get_size() instead of gdk_window_get_width() and
29543 gdk_window_get_height(). (Ernie Rael, closes #10257)
29544Files: src/gui_gtk_x11.c
29545
29546Patch 8.2.4816
29547Problem: Still using older codecov app in some places of CI.
29548Solution: Use v3.1.0. (closes #10209)
29549Files: .github/workflows/ci.yml
29550
29551Patch 8.2.4817
29552Problem: Win32 GUI: modifiers are not always used.
29553Solution: Handle more modifiers. (closes #10269)
29554Files: src/gui_w32.c
29555
29556Patch 8.2.4818 (after 8.2 4806)
29557Problem: No test for what 8.2.4806 fixes.
29558Solution: Add a test. (closes #10272)
29559Files: src/testdir/test_mapping.vim
29560
29561Patch 8.2.4819
29562Problem: Unmapping simplified keys also deletes other mapping.
29563Solution: Only unmap a mapping with m_simplified set. (closes #10270)
29564Files: src/map.c, src/testdir/test_mapping.vim
29565
29566Patch 8.2.4820
29567Problem: No simple programmatic way to find a specific mapping.
29568Solution: Add getmappings(). (Ernie Rael, closes #10273)
29569Files: runtime/doc/builtin.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
29570 src/map.c, src/proto/map.pro, src/testdir/test_maparg.vim
29571
29572Patch 8.2.4821
29573Problem: Crash when imported autoload script was deleted.
29574Solution: Initialize local variable. (closes #10274) Give a more meaningful
29575 error message.
29576Files: src/eval.c, src/vim9script.c, src/testdir/test_vim9_import.vim
29577
29578Patch 8.2.4822
29579Problem: Setting ufunc to NULL twice.
29580Solution: Set ufunc to NULL in find_exported(). (closes #19275)
29581Files: src/eval.c, src/vim9script.c
29582
29583Patch 8.2.4823
29584Problem: Concatenating more than 2 strings in a :def function is
29585 inefficient.
29586Solution: Add a count to the CONCAT instruction. (closes #10276)
29587Files: src/vim9.h, src/vim9cmds.c, src/vim9compile.c, src/vim9execute.c,
29588 src/vim9expr.c, src/vim9instr.c, src/proto/vim9instr.pro,
29589 src/testdir/test_vim9_disassemble.vim
29590
29591Patch 8.2.4824
29592Problem: Expression is evaluated multiple times.
29593Solution: Evaluate expression once and store the result. (closes #10278)
29594Files: src/map.c
29595
29596Patch 8.2.4825
29597Problem: Can only get a list of mappings.
29598Solution: Add the optional {abbr} argument. (Ernie Rael, closes #10277)
29599 Rename to maplist(). Rename test file.
29600Files: runtime/doc/builtin.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
29601 src/map.c, src/proto/map.pro, src/testdir/test_maparg.vim,
29602 src/testdir/test_map_functions.vim, src/testdir/Make_all.mak
29603
29604Patch 8.2.4826
29605Problem: .cshtml files are not recognized.
29606Solution: Use html filetype for .cshtml files. (Julien Voisin, closes #10212)
29607Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29608
29609Patch 8.2.4827
29610Problem: Typo in variable name. (Gabriel Dupras)
29611Solution: Rename the variable.
29612Files: src/map.c
29613
29614Patch 8.2.4828
29615Problem: Fix for unmapping simplified key not fully tested.
29616Solution: Add a test case. (closes #10292)
29617Files: src/map.c, src/testdir/test_mapping.vim
29618
29619Patch 8.2.4829
29620Problem: A key may be simplified to NUL.
29621Solution: Use K_ZERO instead. Use macros instead of hard coded values.
29622 (closes #10290)
29623Files: src/getchar.c, src/misc2.c, src/testdir/test_termcodes.vim
29624
29625Patch 8.2.4830
29626Problem: Possible endless loop if there is unused typahead.
29627Solution: Only loop when the typeahead changed.
29628Files: src/channel.c
29629
29630Patch 8.2.4831
29631Problem: Crash when using maparg() and unmapping simplified keys.
29632Solution: Do not keep a mapblock pointer. (closes #10294)
29633Files: src/map.c, src/testdir/test_map_functions.vim
29634
29635Patch 8.2.4832
29636Problem: Passing zero instead of NULL to a pointer argument.
29637Solution: Use NULL. (closes #10296)
29638Files: src/getchar.c, src/term.c
29639
29640Patch 8.2.4833
29641Problem: Failure of mapping not checked for.
29642Solution: Check return value of ins_typebuf(). (closes #10299)
29643Files: src/getchar.c, src/term.c, src/testdir/test_termcodes.vim
29644
29645Patch 8.2.4834
29646Problem: Vim9: some lines not covered by tests.
29647Solution: Add a few more tests. Remove dead code.
29648Files: src/vim9execute.c, src/vim9instr.c, src/vim9.h,
29649 src/testdir/test_vim9_expr.vim
29650
29651Patch 8.2.4835
29652Problem: Vim9: some lines not covered by tests.
29653Solution: Add a few more tests. Fix disassemble output.
29654Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim,
29655 src/testdir/test_vim9_script.vim,
29656 src/testdir/test_vim9_disassemble.vim
29657
29658Patch 8.2.4836
29659Problem: Vim9: some lines not covered by tests.
29660Solution: Remove dead code. Add disassemble tests.
29661Files: src/vim9execute.c, src/vim9.h,
29662 src/testdir/test_vim9_disassemble.vim
29663
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010029664Patch 8.2.4837 (after patch 8.2.0919)
Bram Moolenaard799daa2022-06-20 11:17:32 +010029665Problem: Modifiers not simplified when timed out or using feedkeys() with
29666 'n" flag.
29667Solution: Adjust how mapped flag and timeout are used. (closes #10305)
29668Files: src/getchar.c, src/testdir/test_paste.vim,
29669 src/testdir/test_termcodes.vim
29670
29671Patch 8.2.4838
29672Problem: Checking for absolute path is not trivial.
29673Solution: Add isabsolutepath(). (closes #10303)
29674Files: runtime/doc/builtin.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
29675 src/filepath.c, src/proto/filepath.pro,
29676 src/testdir/test_functions.vim
29677
29678Patch 8.2.4839
29679Problem: Compiler warning for unused argument.
29680Solution: Add "UNUSED".
29681Files: src/gui_gtk_x11.c
29682
29683Patch 8.2.4840
29684Problem: Heredoc expression evaluated even when skipping.
29685Solution: Don't evaluate when "skip" is set. (closes #10306)
29686Files: src/evalvars.c, src/testdir/test_let.vim
29687
29688Patch 8.2.4841
29689Problem: Empty string considered an error for expand() when 'verbose' is
29690 set. (Christian Brabandt)
29691Solution: Do not give an error for an empty result. (closes #10307)
29692Files: src/evalfunc.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
29693 src/filepath.c, src/testdir/test_expand_func.vim
29694
29695Patch 8.2.4842 (after 8.2.4841)
29696Problem: expand("%:p") is not empty when there is no buffer name.
29697Solution: When ignoring errors still return NULL. (closes #10311)
29698Files: src/ex_docmd.c, src/testdir/test_expand_func.vim
29699
29700Patch 8.2.4843 (after 8.2.4807)
29701Problem: Win32 GUI: Treating CTRL + ALT as AltGr is not backwards
29702 compatible. (Axel Bender)
29703Solution: Make a difference between left and right menu keys.
29704 (closes #10308)
29705Files: src/gui_w32.c
29706
29707Patch 8.2.4844
29708Problem: <C-S-I> is simplified to <S-Tab>.
29709Solution: Do not simplify CTRL if there is also SHIFT. (closes #10313)
29710Files: src/getchar.c, src/testdir/test_gui.vim
29711
29712Patch 8.2.4845
29713Problem: Duplicate code.
29714Solution: Move code below if/else. (closes #10314)
29715Files: src/misc1.c
29716
29717Patch 8.2.4846 (after 8.2.4844)
29718Problem: Termcodes test fails.
29719Solution: use CTRL-SHIFT-V to insert an unsimplified key. (closes #10316)
29720Files: runtime/doc/cmdline.txt, src/edit.c, src/getchar.c,
29721 src/testdir/test_gui.vim
29722
29723Patch 8.2.4847
29724Problem: Crash when using uninitialized function pointer.
29725Solution: Check for NULL pointer. (closes #10319, closes #10319)
29726Files: src/eval.c, src/testdir/test_vim9_script.vim
29727
29728Patch 8.2.4848
29729Problem: Local completion with mappings and simplification not working.
29730Solution: Fix local completion <C-N>/<C-P> mappings not ignored if keys are
29731 not simplified. (closes #10323)
29732Files: src/getchar.c, src/testdir/test_popup.vim
29733
29734Patch 8.2.4849
29735Problem: Gleam filetype not detected.
29736Solution: Add a pattern for Gleam files. (Mathias Jean Johansen,
29737 closes #10326)
29738Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29739
29740Patch 8.2.4850
29741Problem: Mksession mixes up "tabpages" and "curdir" arguments.
29742Solution: Correct logic for storing tabpage in session. (closes #10312)
29743Files: src/session.c, src/testdir/test_mksession.vim
29744
29745Patch 8.2.4851
29746Problem: Compiler warning for uninitialized variable.
29747Solution: Use another variable to decide to restore option values.
29748Files: src/session.c
29749
29750Patch 8.2.4852
29751Problem: ANSI color index to RGB value not correct.
29752Solution: Convert the cterm index to ANSI index. (closes #10321,
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010029753 closes #9836)
Bram Moolenaard799daa2022-06-20 11:17:32 +010029754Files: src/term.c
29755
29756Patch 8.2.4853
29757Problem: CI with FreeBSD is a bit outdated.
29758Solution: Use 12.3 instead of 12.1. (closes #10333)
29759Files: .cirrus.yml
29760
29761Patch 8.2.4854
29762Problem: Array size does not match usage.
29763Solution: Make array size 3 instead of 4. (Christian Brabandt, closes #10336)
29764Files: src/term.c
29765
29766Patch 8.2.4855
29767Problem: Robot files are not recognized.
29768Solution: Add patterns for robot files. (Zoe Roux, closes #10339)
29769Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29770
29771Patch 8.2.4856
29772Problem: MinGW compiler complains about unknown escape sequence.
29773Solution: Avoid using a backslash in path. (Christian Brabandt,
29774 closes #10337)
29775Files: .github/workflows/ci.yml
29776
29777Patch 8.2.4857
29778Problem: Yaml indent for multiline is wrong.
29779Solution: Adjust patterns. (closes #10328, closes #8740)
29780Files: runtime/indent/yaml.vim, runtime/indent/testdir/yaml.in,
29781 runtime/indent/testdir/yaml.ok
29782
29783Patch 8.2.4858
29784Problem: K_SPECIAL may be escaped twice.
29785Solution: Avoid double escaping. (closes #10340)
29786Files: src/highlight.c, src/misc2.c, src/proto/misc2.pro, src/term.c,
29787 src/typval.c, src/testdir/test_eval_stuff.vim,
29788 src/testdir/test_feedkeys.vim, src/testdir/test_functions.vim,
29789 src/testdir/test_mapping.vim
29790
29791Patch 8.2.4859
29792Problem: wget2 files are not recognized.
29793Solution: Add patterns to recognize wget2. (Doug Kearns)
29794Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29795
29796Patch 8.2.4860
29797Problem: MS-Windows: always uses current directory for executables.
29798Solution: Check the NoDefaultCurrentDirectoryInExePath environment variable.
29799 (Yasuhiro Matsumoto, closes #10341)
29800Files: runtime/doc/builtin.txt, src/os_win32.c,
29801 src/testdir/test_functions.vim
29802
29803Patch 8.2.4861
29804Problem: It is not easy to restore saved mappings.
29805Solution: Make mapset() accept a dict argument. (Ernie Rael, closes #10295)
29806Files: runtime/doc/builtin.txt, src/errors.h, src/evalfunc.c, src/map.c,
29807 src/typval.c, src/proto/typval.pro,
29808 src/testdir/test_map_functions.vim,
29809 src/testdir/test_vim9_builtin.vim
29810
29811Patch 8.2.4862
29812Problem: Vim9: test may fail when run with valgrind.
29813Solution: Wait longer for callback if needed.
29814Files: src/testdir/test_vim9_script.vim
29815
29816Patch 8.2.4863
29817Problem: Accessing freed memory in test without the +channel feature.
29818 (Dominique Pellé)
29819Solution: Do not generted PUSHCHANNEL or PUSHJOB if they are not
29820 implemented. (closes #10350)
29821Files: src/vim9instr.c, src/errors.h, src/vim9compile.c,
29822 src/testdir/test_vim9_script.vim
29823
29824Patch 8.2.4864 (after 8.2.4863)
29825Problem: Vim9: script test fails.
29826Solution: Remove "if" around declaration.
29827Files: src/testdir/test_vim9_script.vim
29828
29829Patch 8.2.4865
29830Problem: :startinsert right after :stopinsert does not work when popup menu
29831 is still visible.
29832Solution: Use ins_compl_active() instead of pum_visible(). (closes #10352)
29833Files: src/edit.c, src/testdir/test_ins_complete.vim
29834
29835Patch 8.2.4866
29836Problem: Duplicate code in "get" functions.
29837Solution: Use get_var_from() for getwinvar(), gettabvar(), gettabwinvar()
29838 and getbufvar(). (closes #10335)
29839Files: src/evalvars.c
29840
29841Patch 8.2.4867
29842Problem: Listing of mapping with K_SPECIAL is wrong.
29843Solution: Adjust escaping of special characters. (closes #10351)
29844Files: src/map.c, src/message.c, src/testdir/test_mapping.vim
29845
29846Patch 8.2.4868
29847Problem: When closing help window autocmds triggered for the wrong window.
29848Solution: Figure out the new current window earlier. (closes #10348)
29849Files: src/window.c, src/testdir/test_help.vim
29850
29851Patch 8.2.4869
29852Problem: Expression in command block does not look after NL.
29853Solution: Skip over NL to check what follows. (closes #10358)
29854Files: src/eval.c, src/proto/eval.pro, src/vim9script.c,
29855 src/testdir/test_usercommands.vim
29856
29857Patch 8.2.4870
29858Problem: Vim9: expression in :substitute is not compiled.
29859Solution: Use an INSTR instruction if possible. (closes #10334)
29860Files: src/evalfunc.c, src/regexp.c, src/vim9execute.c, src/vim9expr.c,
29861 src/testdir/test_vim9_builtin.vim,
29862 src/testdir/test_vim9_disassemble.vim
29863
29864Patch 8.2.4871
29865Problem: Vim9: in :def function no error for using a range with a command
29866 that does not accept one.
29867Solution: Check for the command to accept a range. (closes #10330)
29868Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
29869
29870Patch 8.2.4872
29871Problem: Vim9: no error for using an expression only at the script level
29872 when followed by an empty line.
29873Solution: Do not check the line number but whether something follows.
29874 (closes #10357)
29875Files: src/ex_eval.c, src/testdir/test_vim9_cmd.vim
29876
29877Patch 8.2.4873
29878Problem: Vim9: using "else" differs from using "endif/if !cond".
29879Solution: Leave the block and enter another one. (closes #10320)
29880Files: src/ex_eval.c, src/testdir/test_vim9_script.vim
29881
29882Patch 8.2.4874
29883Problem: Win32 GUI: horizontal scroll wheel not handled properly.
29884Solution: Also handle WM_MOUSEHWHEEL. (closes #10309)
29885Files: src/gui_w32.c
29886
29887Patch 8.2.4875
29888Problem: MS-Windows: some .exe files are not recognized.
29889Solution: Parse APPEXECLINK junctions. (closes #10302)
29890Files: src/os_mswin.c, src/proto/os_mswin.pro, src/os_win32.c,
29891 src/os_win32.h, src/testdir/test_functions.vim
29892
29893Patch 8.2.4876
29894Problem: MS-Windows: Shift-BS results in strange character in powershell.
29895Solution: Add K_S_BS. (Christian Brabandt, closes #10283, closes #10279)
29896Files: src/edit.c, src/keymap.h, src/term.c, src/testdir/shared.vim,
29897 src/testdir/test_edit.vim
29898
29899Patch 8.2.4877
29900Problem: MS-Windows: Using Normal colors for termguicolors causes problems.
29901Solution: Do not use Normal colors to set sg_gui_fg and sg_gui_bg.
29902 (Christian Brabandt, closes #10317, closes #10241)
29903Files: src/highlight.c
29904
29905Patch 8.2.4878
29906Problem: Valgrind warning for using uninitialized variable.
29907Solution: Initialize the type of newtv.
29908Files: src/strings.c
29909
29910Patch 8.2.4879
29911Problem: Screendump test may fail when using valgrind.
29912Solution: Wait longer for the first screendump.
29913Files: src/testdir/test_vim9_builtin.vim, src/testdir/screendump.vim
29914
29915Patch 8.2.4880
29916Problem: Vim9: misplaced elseif causes invalid memory access.
29917Solution: Check cs_idx not to be negative.
29918Files: src/ex_eval.c
29919
29920Patch 8.2.4881
29921Problem: "P" in Visual mode still changes some registers.
29922Solution: Make "P" in Visual mode not change any register. (Shougo
29923 Matsushita, closes #10349)
29924Files: runtime/doc/change.txt, runtime/doc/index.txt,
29925 runtime/doc/visual.txt, src/normal.c, src/testdir/test_visual.vim
29926
29927Patch 8.2.4882
29928Problem: Cannot make 'breakindent' use a specific column.
29929Solution: Add the "column" entry in 'breakindentopt'. (Christian Brabandt,
29930 closes #10362, closes #10325)
29931Files: runtime/doc/options.txt, src/indent.c, src/structs.h,
29932 src/testdir/test_breakindent.vim
29933
29934Patch 8.2.4883
29935Problem: String interpolation only works in heredoc.
29936Solution: Support interpolated strings. Use syntax for heredoc consistent
29937 with strings, similar to C#. (closes #10327)
29938Files: runtime/doc/eval.txt, src/errors.h, src/eval.c, src/evalvars.c,
29939 src/proto/evalvars.pro, src/typval.c, src/proto/typval.pro,
29940 src/vim9compile.c, src/proto/vim9compile.pro, src/vim9expr.c,
29941 src/testdir/test_debugger.vim, src/testdir/test_expr.vim,
29942 src/testdir/test_let.vim, src/testdir/test_vim9_assign.vim,
29943 src/testdir/test_vim9_disassemble.vim
29944
29945Patch 8.2.4884
29946Problem: Test fails without the job/channel feature. (Dominique Pellé)
29947Solution: Add condition.
29948Files: src/testdir/test_vim9_script.vim
29949
29950Patch 8.2.4885 (after 8.2.4884)
29951Problem: Test fails with the job/channel feature.
29952Solution: Move check for job/channel separately.
29953Files: src/testdir/test_vim9_script.vim
29954
29955Patch 8.2.4886
29956Problem: Vim9: redir in skipped block seen as assignment.
29957Solution: Check for valid assignment.
29958Files: src/ex_docmd.c, src/testdir/test_vim9_assign.vim
29959
29960Patch 8.2.4887
29961Problem: Channel log does not show invoking a timer callback.
29962Solution: Add a ch_log() call.
29963Files: src/time.c
29964
29965Patch 8.2.4888
29966Problem: Line number of lambda ignores line continuation.
29967Solution: Use the line number of where the arguments are. Avoid outputting
29968 "..." twice. (closes #10364)
29969Files: src/userfunc.c
29970
29971Patch 8.2.4889
29972Problem: CI only tests with FreeBSD 12.
29973Solution: Also test with FreeBSD 13. (closes #10366)
29974Files: .cirrus.yml
29975
29976Patch 8.2.4890
29977Problem: Inconsistent capitalization in error messages.
29978Solution: Make capitalization consistent. (Doug Kearns)
29979Files: src/errors.h
29980
29981Patch 8.2.4891
29982Problem: Vim help presentation could be better.
29983Solution: Add an imported file for extra Vim help support. Show highlight
29984 names in the color they have.
29985Files: Filelist, runtime/import/dist/vimhelp.vim
29986
29987Patch 8.2.4892
29988Problem: Test failures because of changed error messages.
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010029989Solution: Adjust the expected error messages.
Bram Moolenaard799daa2022-06-20 11:17:32 +010029990Files: src/testdir/test_vim9_assign.vim,
29991 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim,
29992 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim,
29993 src/testdir/test_expand.vim, src/testdir/test_tcl.vim,
29994 src/testdir/test_vimscript.vim
29995
29996Patch 8.2.4893 (after 8.2.4891)
29997Problem: Distributed import files are not installed.
29998Solution: Add rules to Makefile and NSIS.
29999Files: src/Makefile, nsis/gvim.nsi
30000
30001Patch 8.2.4894
30002Problem: MS-Windows: not using italics.
30003Solution: Use italics. Simplify the code. (closes #10359)
30004Files: src/term.c
30005
30006Patch 8.2.4895
30007Problem: Buffer overflow with invalid command with composing chars.
30008Solution: Check that the whole character fits in the buffer.
30009Files: src/ex_docmd.c, src/testdir/test_cmdline.vim
30010
30011Patch 8.2.4896 (after 8.2.4869)
30012Problem: Expression in command block does not look after NL when command is
30013 typed.
30014Solution: Skip over NL also when not in a script. (closes #10358)
30015Files: src/eval.c, src/testdir/test_usercommands.vim
30016
30017Patch 8.2.4897
30018Problem: Comment inside an expression in lambda ignores the rest of the
30019 expression.
30020Solution: Truncate the line at the comment. (closes #10367)
30021Files: src/eval.c, src/testdir/test_lambda.vim
30022
30023Patch 8.2.4898
30024Problem: Coverity complains about pointer usage.
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010030025Solution: Move code for increment/decrement.
Bram Moolenaard799daa2022-06-20 11:17:32 +010030026Files: src/vim9compile.c
30027
30028Patch 8.2.4899
30029Problem: With latin1 encoding CTRL-W might go before the start of the
30030 command line.
30031Solution: Check already being at the start of the command line.
30032Files: src/ex_getln.c, src/testdir/test_cmdline.vim
30033
30034Patch 8.2.4900
30035Problem: Vim9 expression test fails without the job feature.
30036Solution: Add a check for the job feature. (Dominique Pellé, closes #10373)
30037Files: src/testdir/test_vim9_expr.vim
30038
30039Patch 8.2.4901
30040Problem: NULL pointer access when using invalid pattern.
30041Solution: Check for failed regexp program.
30042Files: src/buffer.c, src/testdir/test_buffer.vim
30043
30044Patch 8.2.4902
30045Problem: Mouse wheel scrolling is inconsistent.
Bram Moolenaar8a3b8052022-06-26 12:21:15 +010030046Solution: Use the MS-Windows system setting. (closes #10368)
Bram Moolenaard799daa2022-06-20 11:17:32 +010030047Files: runtime/doc/scroll.txt, src/gui_w32.c, src/mouse.c,
30048 src/proto/mouse.pro, src/testing.c, src/testdir/test_gui.vim
30049
30050Patch 8.2.4903
30051Problem: Cannot get the current cmdline completion type and position.
30052Solution: Add getcmdcompltype() and getcmdscreenpos(). (Shougo Matsushita,
30053 closes #10344)
30054Files: runtime/doc/builtin.txt, runtime/doc/usr_41.txt, src/cmdexpand.c,
30055 src/proto/cmdexpand.pro, src/evalfunc.c, src/ex_getln.c,
30056 src/proto/ex_getln.pro, src/usercmd.c, src/proto/usercmd.pro,
30057 src/testdir/test_cmdline.vim
30058
30059Patch 8.2.4904
30060Problem: codecov includes MS-Windows install files.
30061Solution: Ignore dosinst.c and uninstall.c.
30062Files: .codecov.yml
30063
30064Patch 8.2.4905
30065Problem: codecov includes MS-Windows install header file.
30066Solution: Ignore dosinst.h.
30067Files: .codecov.yml
30068
30069Patch 8.2.4906
30070Problem: MS-Windows: cannot use transparent background.
30071Solution: Make transparent background work with 'termguicolors' and NONE
30072 background color. (Yasuhiro Matsumoto, closes #10310, closes #7162)
30073Files: runtime/doc/options.txt, src/os_win32.c, src/term.c
30074
30075Patch 8.2.4907
30076Problem: Some users do not want a line comment always inserted.
30077Solution: Add the '/' flag to 'formatoptions' to not repeat the comment
30078 leader after a statement when using "o".
30079Files: runtime/doc/change.txt, src/option.h, src/change.c,
30080 src/testdir/test_textformat.vim
30081
30082Patch 8.2.4908
30083Problem: No text formatting for // comment after a statement.
30084Solution: format a comment when the 'c' flag is in 'formatoptions'.
30085Files: src/textformat.c, src/testdir/test_textformat.vim
30086
30087Patch 8.2.4909
30088Problem: MODE_ enum entries names are too generic.
30089Solution: use CH_MODE_.
30090Files: src/structs.h, src/channel.c, src/job.c, src/terminal.c
30091
30092Patch 8.2.4910
30093Problem: Imperfect coding.
30094Solution: Make code nicer.
30095Files: src/ex_getln.c
30096
30097Patch 8.2.4911
30098Problem: The mode #defines are not clearly named.
30099Solution: Prepend MODE_. Renumber them to put the mapped modes first.
30100Files: src/vim.h, src/autocmd.c, src/buffer.c, src/change.c,
30101 src/charset.c, src/cindent.c, src/clipboard.c, src/debugger.c,
30102 src/digraph.c, src/drawline.c, src/drawscreen.c, src/edit.c,
30103 src/evalfunc.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c,
30104 src/fileio.c, src/fold.c, src/getchar.c, src/globals.h, src/gui.c,
30105 src/gui_gtk.c, src/gui_w32.c, src/gui_xim.c, src/indent.c,
30106 src/insexpand.c, src/macros.h, src/main.c, src/map.c, src/menu.c,
30107 src/message.c, src/misc1.c, src/misc2.c, src/mouse.c,
30108 src/netbeans.c, src/normal.c, src/ops.c, src/option.c,
30109 src/os_unix.c, src/os_win32.c, src/popupmenu.c, src/search.c,
30110 src/tag.c, src/screen.c, src/term.c, src/terminal.c,
30111 src/textformat.c, src/window.c
30112
30113Patch 8.2.4912
30114Problem: Using execute() to define a lambda doesn't work. (Ernie Rael)
30115Solution: Put the getline function in evalarg. (closes #10375)
30116Files: src/eval.c, src/evalfunc.c, src/proto/evalfunc.pro,
30117 src/testdir/test_vim9_func.vim
30118
30119Patch 8.2.4913
30120Problem: Popup_hide() does not always have effect.
30121Solution: Add the POPF_HIDDEN_FORCE flag. (closes #10376)
30122Files: src/popupwin.c, src/vim.h, src/testdir/test_popupwin.vim,
30123 src/testdir/dumps/Test_popup_prop_not_visible_01a.dump,
30124 src/testdir/dumps/Test_popup_prop_not_visible_01b.dump
30125
30126Patch 8.2.4914
30127Problem: String interpolation in :def function may fail.
30128Solution: Do not terminate the expression. (closes #10377)
30129Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
30130
30131Patch 8.2.4915
30132Problem: Sometimes the cursor is in the wrong position.
30133Solution: When the cursor moved to another line, recompute w_botline.
30134 (closes #9736)
30135Files: src/move.c
30136
30137Patch 8.2.4916 (after 8.2.4915)
30138Problem: Mouse in Insert mode test fails.
30139Solution: Fix the test and check relevant positions.
30140Files: src/testdir/test_edit.vim
30141
30142Patch 8.2.4917
30143Problem: Fuzzy expansion of option names is not right.
30144Solution: Pass the fuzzy flag down the call chain. (Christian Brabandt,
30145 closes #10380, closes #10318)
30146Files: src/cmdexpand.c, src/option.c, src/proto/option.pro,
30147 src/testdir/test_options.vim
30148
30149Patch 8.2.4918
30150Problem: Conceal character from matchadd() displayed too many times.
30151Solution: Check the syntax flag. (closes #10381, closes #7268)
30152Files: src/drawline.c, src/testdir/test_matchadd_conceal.vim
30153
30154Patch 8.2.4919
30155Problem: Can add invalid bytes with :spellgood.
30156Solution: Check for a valid word string.
30157Files: src/mbyte.c, src/spellfile.c, src/errors.h,
30158 src/testdir/test_spell_utf8.vim
30159
30160Patch 8.2.4920 (after 8.2.4902)
30161Problem: MS-Windows GUI: unused variables.
30162Solution: Delete the variables. (John Marriott)
30163Files: src/gui_w32.c
30164
30165Patch 8.2.4921
30166Problem: Spell test fails because of new illegal byte check.
30167Solution: Remove the test.
30168Files: src/testdir/test_spell.vim
30169
30170Patch 8.2.4922 (after 8.2.4916)
30171Problem: Mouse test fails on MS-Windows.
30172Solution: Set 'mousemodel' to "extend".
30173Files: src/testdir/test_edit.vim
30174
30175Patch 8.2.4923
30176Problem: Test checks for terminal feature unnecessarily.
30177Solution: Remove CheckRunVimInTerminal. (closes #10383)
30178Files: src/testdir/test_matchadd_conceal.vim
30179
30180Patch 8.2.4924
30181Problem: maparg() may return a string that cannot be reused.
30182Solution: use msg_outtrans_special() instead of str2special().
30183 (closes #10384)
30184Files: src/message.c, src/option.c, src/testdir/test_map_functions.vim,
30185 src/testdir/test_mapping.vim, src/testdir/test_options.vim
30186
30187Patch 8.2.4925
30188Problem: Trailing backslash may cause reading past end of line.
30189Solution: Check for NUL after backslash.
30190Files: src/textobject.c, src/testdir/test_textobjects.vim
30191
30192Patch 8.2.4926
30193Problem: #ifdef for crypt feature around too many lines.
30194Solution: Move code outside of #ifdef. (closes #10388)
30195Files: src/option.c
30196
30197Patch 8.2.4927
30198Problem: Return type of remove() incorrect when using three arguments.
30199Solution: Use first argument type when there are three arguments.
30200 (closes #10387)
30201Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
30202
30203Patch 8.2.4928
30204Problem: Various white space and cosmetic mistakes.
30205Solution: Change spaces to tabs, improve comments.
30206Files: src/bufwrite.c, src/channel.c, src/cindent.c, src/crypt.c,
30207 src/debugger.c, src/digraph.c, src/edit.c, src/evalwindow.c,
30208 src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c, src/fileio.c,
30209 src/filepath.c, src/gui.c, src/highlight.c, src/indent.c,
30210 src/insexpand.c, src/job.c, src/keymap.h, src/macros.h,
30211 src/menu.c, src/misc1.c, src/misc2.c, src/mouse.c, src/move.c,
30212 src/normal.c, src/ops.c, src/option.c, src/option.h, src/search.c,
30213 src/session.c, src/spellsuggest.c, src/structs.h, src/tag.c,
30214 src/term.c, src/terminal.c, src/textformat.c, src/typval.c,
30215 src/ui.c, src/userfunc.c, src/vim.h, src/vim9.h,
30216 src/vim9compile.c, src/vim9execute.c, src/window.c,
30217 src/testdir/test_cursorline.vim, src/os_unix.c, src/if_lua.c,
30218 src/if_py_both.h, src/os_amiga.c, src/os_win32.c, src/os_mswin.c,
30219 src/os_vms.c, src/os_vms_conf.h
30220
30221Patch 8.2.4929
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010030222Problem: Off-by-one error in statusline item.
Bram Moolenaard799daa2022-06-20 11:17:32 +010030223Solution: Subtrace one less. (closes #10394, closes #5599)
30224Files: src/buffer.c, src/testdir/test_statusline.vim,
30225 src/testdir/dumps/Test_statusline_hl.dump
30226
30227Patch 8.2.4930
30228Problem: Interpolated string expression requires escaping.
30229Solution: Do not require escaping in the expression.
30230Files: runtime/doc/eval.txt, src/typval.c, src/proto/typval.pro,
30231 src/dict.c, src/eval.c, src/evalvars.c, src/proto/evalvars.pro,
30232 src/vim9compile.c, src/proto/vim9compile.pro, src/vim9expr.c,
30233 src/vim9instr.c, src/alloc.c, src/proto/alloc.pro,
30234 src/testdir/test_expr.vim, src/testdir/test_let.vim
30235
30236Patch 8.2.4931
30237Problem: Crash with sequence of Perl commands.
30238Solution: Move PUTBACK to another line. (closes #10386)
30239Files: src/if_perl.xs
30240
30241Patch 8.2.4932
30242Problem: Not easy to filter the output of maplist().
30243Solution: Add mode_bits to the dictionary. (Ernie Rael, closes #10356)
30244Files: runtime/doc/builtin.txt, src/map.c,
30245 src/testdir/test_map_functions.vim,
30246 src/testdir/test_vim9_builtin.vim
30247
30248Patch 8.2.4933
30249Problem: A few more capitalization mistakes in error messages.
30250Solution: Adjust capitalization. (Doug Kearns)
30251Files: src/errors.h
30252
30253Patch 8.2.4934
30254Problem: String interpolation fails when not evaluating.
30255Solution: Skip the expression when not evaluating. (closes #10398)
30256Files: src/typval.c, src/evalvars.c, src/proto/evalvars.pro,
30257 src/testdir/test_vim9_expr.vim
30258
30259Patch 8.2.4935
30260Problem: With 'foldmethod' "indent" some lines are not included in the
30261 fold. (Oleg Koshovetc)
30262Solution: Fix it. (Brandon Simmons, closes #10399, closes #3214)
30263Files: src/fold.c, src/testdir/test_fold.vim
30264
30265Patch 8.2.4936
30266Problem: MS-Windows: mouse coordinates for scroll event are wrong.
30267Solution: Convert coordinates to the text area coordinates. (closes #10400)
30268Files: src/gui_w32.c
30269
30270Patch 8.2.4937 (after 8.2.4931)
30271Problem: No test for what 8.2.4931 fixes.
30272Solution: Add a test that triggers a valgrind error.
30273Files: src/testdir/test_perl.vim
30274
30275Patch 8.2.4938
30276Problem: Crash when matching buffer with invalid pattern.
30277Solution: Check for NULL regprog.
30278Files: src/buffer.c, src/testdir/test_buffer.vim
30279
30280Patch 8.2.4939
30281Problem: matchfuzzypos() with "matchseq" does not have all positions.
30282Solution: Also add a position for white space. (closes #10404)
30283Files: runtime/doc/builtin.txt, src/search.c,
30284 src/testdir/test_matchfuzzy.vim
30285
30286Patch 8.2.4940
30287Problem: Some code is never used.
30288Solution: Remove dead code. Add a few more test cases.
30289Files: src/vim9expr.c, src/proto/vim9expr.pro, src/vim9compile.c,
30290 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim
30291
30292Patch 8.2.4941
30293Problem: '[ and '] marks may be wrong after undo.
30294Solution: Adjust the '[ and '] marks if needed. (closes #10407, closes #1281)
30295Files: src/undo.c, src/testdir/test_undo.vim
30296
30297Patch 8.2.4942
30298Problem: Error when setting 'filetype' in help file again.
30299Solution: Deal with text property type already existing. (closes #10409)
30300Files: runtime/import/dist/vimhelp.vim
30301
30302Patch 8.2.4943
30303Problem: Changing 'switchbuf' may have no effect.
30304Solution: Handle 'switchbuf' in didset_string_options(). (Sean Dewar,
30305 closes #10406)
30306Files: src/optionstr.c, src/testdir/test_options.vim
30307
30308Patch 8.2.4944
30309Problem: Text properties are wrong after "cc". (Axel Forsman)
30310Solution: Pass the deleted byte count to inserted_bytes(). (closes #10412,
30311 closes #7737, closes #5763)
30312Files: src/change.c, src/testdir/test_textprop.vim
30313
30314Patch 8.2.4945
30315Problem: Inconsistent use of white space.
30316Solution: Use Tabs and Spaces consistently.
30317Files: src/os_amiga.c, src/if_py_both.h, src/os_win32.c, src/os_mswin.c,
30318 src/os_vms.c, src/os_vms_conf.h
30319
30320Patch 8.2.4946
30321Problem: Vim9: some code not covered by tests.
30322Solution: Add a few more test cases. Remove dead code.
30323Files: src/vim9expr.c, src/testdir/test_vim9_expr.vim,
30324 src/testdir/test_vim9_builtin.vim
30325
30326Patch 8.2.4947
30327Problem: Text properties not adjusted when accepting spell suggestion.
30328Solution: Adjust text properties when text changes. (closes #10414)
30329Files: src/spell.c, src/spellsuggest.c, src/testdir/test_textprop.vim
30330
30331Patch 8.2.4948
30332Problem: Cannot use Perl heredoc in nested :def function. (Virginia
30333 Senioria)
30334Solution: Only concatenate heredoc lines when not in a nested function.
30335 (closes #10415)
30336Files: src/userfunc.c, src/testdir/test_vim9_func.vim
30337
30338Patch 8.2.4949
30339Problem: Vim9: some code not covered by tests.
30340Solution: Add a few more test cases. Fix double error message.
30341Files: src/vim9expr.c, src/testdir/test_vim9_expr.vim
30342
30343Patch 8.2.4950
30344Problem: Text properties position wrong after shifting text.
30345Solution: Adjust the text properties when shifting a block of text.
30346 (closes #10418)
30347Files: src/ops.c, src/testdir/test_textprop.vim
30348
30349Patch 8.2.4951
30350Problem: Smart indenting done when not enabled.
30351Solution: Check option values before setting can_si. (closes #10420)
30352Files: src/indent.c, src/proto/indent.pro, src/change.c, src/edit.c,
30353 src/ops.c, src/testdir/test_smartindent.vim
30354
30355Patch 8.2.4952
30356Problem: GUI test will fail if color scheme changes.
30357Solution: Reduce the test for now.
30358Files: src/testdir/test_gui.vim
30359
30360Patch 8.2.4953
30361Problem: With 'smartindent' inserting '}' after completion goes wrong.
30362Solution: Check the cursor is in indent. (closes #10420)
30363Files: src/indent.c, src/testdir/test_smartindent.vim
30364
30365Patch 8.2.4954
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010030366Problem: Inserting line breaks text property spanning more than one line.
Bram Moolenaard799daa2022-06-20 11:17:32 +010030367Solution: Check TP_FLAG_CONT_PREV and TP_FLAG_CONT_NEXT. (closes #10423)
30368Files: src/textprop.c, src/testdir/test_textprop.vim
30369
30370Patch 8.2.4955
30371Problem: Text property in wrong position after auto-indent.
30372Solution: Adjust text property columns. (closes #10422, closes #7719)
30373Files: src/change.c, src/testdir/test_textprop.vim
30374
30375Patch 8.2.4956
30376Problem: Reading past end of line with "gf" in Visual block mode.
30377Solution: Do not include the NUL in the length.
30378Files: src/normal.c, src/testdir/test_gf.vim
30379
30380Patch 8.2.4957
30381Problem: Text properties in a wrong position after a block change.
30382Solution: Adjust the properties columns. (closes #10427)
30383Files: src/ops.c, src/testdir/test_textprop.vim
30384
30385Patch 8.2.4958
30386Problem: A couple conditions are always true.
30387Solution: Remove the conditions. (Goc Dundar, closes #10428)
30388Files: src/evalfunc.c, src/quickfix.c
30389
30390Patch 8.2.4959
30391Problem: Using NULL regexp program.
30392Solution: Check for regexp program becoming NULL in more places.
30393Files: src/buffer.c, src/testdir/test_buffer.vim
30394
30395Patch 8.2.4960
30396Problem: Text properties that cross line boundary are not correctly updated
30397 for a deleted line.
30398Solution: Correct computing location of text property entry. (Paul Ollis,
30399 closes #10431, closes #10430)
30400Files: src/memline.c, src/testdir/test_textprop.vim
30401
30402Patch 8.2.4961
30403Problem: Build error with a certain combination of features.
30404Solution: Adjust #if. (John Marriott)
30405Files: src/memline.c
30406
30407Patch 8.2.4962
30408Problem: Files show up in git status.
30409Solution: Adjust the list of ignored files. Clean up more test files.
30410 (Shane xb Qian, closes #9929)
30411Files: .gitignore, src/testdir/Makefile
30412
30413Patch 8.2.4963
30414Problem: Expanding path with "/**" may overrun end of buffer.
30415Solution: Use vim_snprintf().
30416Files: src/filepath.c
30417
30418Patch 8.2.4964
30419Problem: MS-Windows GUI: mouse event test is flaky.
30420Solution: Add a short delay after generating a mouse event.
30421Files: src/testdir/test_gui.vim
30422
30423Patch 8.2.4965
30424Problem: GUI: testing mouse move event depends on screen cell size.
30425Solution: Multiply the row and column with the screen cell size.
30426Files: runtime/doc/testing.txt, src/testing.c, src/testdir/test_gui.vim
30427
30428Patch 8.2.4966
30429Problem: MS-Windows GUI: mouse event test gets extra event.
30430Solution: Ignore one move event.
30431Files: src/testdir/test_gui.vim
30432
30433Patch 8.2.4967 (after 8.2.4966)
30434Problem: MS-Windows GUI: mouse event test sometimes fails.
30435Solution: Ignore one move event only if there is an extra event.
30436Files: src/testdir/test_gui.vim
30437
30438Patch 8.2.4968
30439Problem: Reading past end of the line when C-indenting.
30440Solution: Check for NUL.
30441Files: src/cindent.c, src/testdir/test_cindent.vim
30442
30443Patch 8.2.4969
30444Problem: Changing text in Visual mode may cause invalid memory access.
30445Solution: Check the Visual position after making a change.
30446Files: src/change.c, src/edit.c, src/misc2.c, src/proto/misc2.pro,
30447 src/testdir/test_visual.vim
30448
30449Patch 8.2.4970
30450Problem: "eval 123" gives an error, "eval 'abc'" does not.
30451Solution: Also give an error when evaluating only a string. (closes #10434)
30452Files: src/ex_eval.c, src/testdir/test_vim9_cmd.vim
30453
30454Patch 8.2.4971
30455Problem: Vim9: interpolated string seen as range.
30456Solution: Recognize an interpolated string at the start of a command line.
30457 (closes #10434)
30458Files: src/ex_docmd.c, src/testdir/test_vim9_expr.vim
30459
30460Patch 8.2.4972
30461Problem: Vim9: compilation fails when using dict member when skipping.
30462Solution: Do not generate ISN_USEDICT when skipping. (closes #10433)
30463Files: src/vim9expr.c, src/testdir/test_vim9_expr.vim
30464
30465Patch 8.2.4973
30466Problem: Vim9: type error for list unpack mentions argument.
30467Solution: Mention variable. (close #10435)
30468Files: src/vim9.h, src/vim9execute.c, src/vim9instr.c,
30469 src/proto/vim9instr.pro, src/vim9compile.c,
30470 src/testdir/test_vim9_script.vim,
30471 src/testdir/test_vim9_disassemble.vim
30472
30473Patch 8.2.4974
30474Problem: ":so" command may read after end of buffer.
30475Solution: Compute length of text properly.
30476Files: src/scriptfile.c, src/testdir/test_source.vim
30477
30478Patch 8.2.4975
30479Problem: Recursive command line loop may cause a crash.
30480Solution: Limit recursion of getcmdline().
30481Files: src/ex_getln.c, src/testdir/test_cmdline.vim
30482
30483Patch 8.2.4976
30484Problem: Coverity complains about not restoring a saved value.
30485Solution: Restore value before handling error.
30486Files: src/vim9execute.c
30487
30488Patch 8.2.4977
30489Problem: Memory access error when substitute expression changes window.
30490Solution: Disallow changing window in substitute expression.
30491Files: src/ex_cmds.c, src/testdir/test_substitute.vim
30492
30493Patch 8.2.4978
30494Problem: No error if engine selection atom is not at the start.
30495Solution: Give an error. (Christian Brabandt, closes #10439)
30496Files: runtime/doc/pattern.txt, src/errors.h, src/regexp_bt.c,
30497 src/regexp_nfa.c, src/testdir/test_regexp_latin.vim
30498
30499Patch 8.2.4979
30500Problem: Accessing freed memory when line is flushed.
30501Solution: Make a copy of the pattern to search for.
30502Files: src/window.c, src/testdir/test_tagjump.vim
30503
30504Patch 8.2.4980
30505Problem: When 'shortmess' contains 'A' loading a session may still warn for
30506 an existing swap file. (Melker Ă–sterberg)
30507Solution: Keep the 'A' flag to 'shortmess' in the session file.
30508 (closes #10443)
30509Files: src/session.c, src/testdir/test_mksession.vim
30510
30511Patch 8.2.4981
30512Problem: It is not possible to manipulate autocommands.
30513Solution: Add functions to add, get and set autocommands. (Yegappan
30514 Lakshmanan, closes #10291)
30515Files: runtime/doc/autocmd.txt, runtime/doc/builtin.txt,
30516 runtime/doc/usr_41.txt, src/autocmd.c, src/evalfunc.c,
30517 src/proto/autocmd.pro, src/testdir/test_autocmd.vim,
30518 src/testdir/test_vim9_builtin.vim
30519
30520Patch 8.2.4982
30521Problem: Colors in terminal window are not 100% correct.
30522Solution: Use g:terminal_ansi_colors as documented. (closes #10429,
30523 closes #7227 closes #10347)
30524Files: src/job.c, src/option.c, src/proto/term.pro,
30525 src/terminal.c, src/proto/terminal.pro, src/term.c,
30526 src/testdir/test_functions.vim, src/testdir/test_terminal.vim
30527
30528Patch 8.2.4983 (after 8.2.4982)
30529Problem: Colors test fails in the GUI.
30530Solution: Reset g:terminal_ansi_colors.
30531Files: src/testdir/test_functions.vim
30532
30533Patch 8.2.4984
30534Problem: Dragging statusline fails for window with winbar.
30535Solution: Fix off-by-one error. (closes #10448)
30536Files: src/mouse.c, src/testdir/test_winbar.vim
30537
30538Patch 8.2.4985
30539Problem: PVS warns for possible array underrun.
30540Solution: Add a check for a positive value. (Goc Dundar, closes #10451)
30541Files: src/spell.c
30542
30543Patch 8.2.4986
30544Problem: Some github actions are outdated.
30545Solution: Update CodeQl to v2, update checkout to v3. (closes #10450)
30546Files: .github/workflows/ci.yml, .github/workflows/codeql-analysis.yml,
30547 .github/workflows/coverity.yml
30548
30549Patch 8.2.4987
30550Problem: After deletion a small fold may be closable.
30551Solution: Check for a reverse range. (Brandon Simmons, closes #10457)
30552Files: src/fold.c, src/testdir/test_fold.vim
30553
30554Patch 8.2.4988
30555Problem: Textprop in wrong position when replacing multi-byte chars.
30556Solution: Adjust textprop position. (closes #10461)
30557Files: src/change.c, src/testdir/test_textprop.vim
30558
30559Patch 8.2.4989
30560Problem: Cannot specify a function name for :defcompile.
30561Solution: Implement a function name argument for :defcompile.
30562Files: runtime/doc/vim9.txt, src/userfunc.c, src/proto/userfunc.pro,
30563 src/vim9execute.c, src/ex_cmds.h, src/testdir/test_vim9_cmd.vim,
30564 src/testdir/test_vim9_disassemble.vim
30565
30566Patch 8.2.4990 (after 8.2.4989)
30567Problem: Memory leak when :defcompile fails.
30568Solution: Free fname when returning early.
30569Files: src/userfunc.c
30570
30571Patch 8.2.4991
30572Problem: No test for what patch 8.1.0535 fixes.
30573Solution: Add a test. (closes #10462)
30574Files: src/testdir/test_fold.vim
30575
30576Patch 8.2.4992 (after 8.2.4989)
30577Problem: Compiler warning for possibly uninitialized variable. (Tony
30578 Mechelynck)
30579Solution: Initialize variable in the caller instead of in the function.
30580Files: src/userfunc.c, src/vim9execute.c
30581
30582Patch 8.2.4993
30583Problem: smart/C/lisp indenting is optional, which makes the code more
30584 complex, while it only reduces the executable size a bit.
30585Solution: Graduate FEAT_CINDENT, FEAT_SMARTINDENT and FEAT_LISP.
30586Files: runtime/doc/builtin.txt, runtime/doc/indent.txt,
30587 runtime/doc/options.txt, runtime/doc/various.txt, src/feature.h,
30588 src/buffer.c, src/change.c, src/cindent.c, src/charset.c,
30589 src/edit.c, src/evalfunc.c, src/indent.c, src/insexpand.c,
30590 src/main.c, src/mouse.c, src/ops.c, src/option.c, src/optionstr.c,
30591 src/register.c, src/search.c, src/textformat.c, src/version.c,
30592 src/option.h, src/optiondefs.h, src/structs.h, src/globals.h,
30593 src/testdir/test_edit.vim
30594
30595Patch 8.2.4994
30596Problem: Tests are using legacy functions.
30597Solution: Convert a few tests to use :def functions.
30598Files: src/testdir/test_cindent.vim
30599
30600Patch 8.2.4995 (after 8.2.4992)
30601Problem: Still a compiler warning for possibly uninitialized variable.
30602 (Tony Mechelynck)
30603Solution: Initialize variables.
30604Files: src/vim9execute.c
30605
30606Patch 8.2.4996 (after 8.2.4969)
30607Problem: setbufline() may change Visual selection. (Qiming Zhao)
30608Solution: Disable Visual mode when using another buffer. (closes #10466)
30609Files: src/evalbuffer.c, src/testdir/test_bufline.vim
30610
30611Patch 8.2.4997
30612Problem: Python: changing hidden buffer can cause the display to be messed
30613 up.
30614Solution: Do not mark changed lines when using another buffer. (Paul Ollis,
30615 closes #10437, closes #7972)
30616Files: src/if_py_both.h, src/testdir/test_python3.vim
30617
30618Patch 8.2.4998
30619Problem: Vim9: crash when using multiple funcref().
30620Solution: Check if varargs type is NULL. (closes #10467)
30621Files: src/vim9type.c, src/testdir/test_vim9_func.vim
30622
30623Patch 8.2.4999
30624Problem: Filetype test table is not properly sorted.
30625Solution: Sort by filetype. (Doug Kearns)
30626Files: src/testdir/test_filetype.vim
30627
30628Patch 8.2.5000
30629Problem: No patch for documentation updates.
30630Solution: Update documentation files.
30631Files: runtime/doc/arabic.txt, runtime/doc/autocmd.txt,
30632 runtime/doc/builtin.txt, runtime/doc/change.txt,
30633 runtime/doc/channel.txt, runtime/doc/cmdline.txt,
30634 runtime/doc/diff.txt, runtime/doc/digraph.txt,
30635 runtime/doc/editing.txt, runtime/doc/eval.txt,
30636 runtime/doc/filetype.txt, runtime/doc/fold.txt,
30637 runtime/doc/ft_ada.txt, runtime/doc/ft_ps1.txt,
30638 runtime/doc/ft_raku.txt, runtime/doc/ft_rust.txt,
30639 runtime/doc/ft_sql.txt, runtime/doc/gui.txt,
30640 runtime/doc/gui_w32.txt, runtime/doc/helphelp.txt,
30641 runtime/doc/help.txt, runtime/doc/if_cscop.txt,
30642 runtime/doc/if_lua.txt, runtime/doc/if_perl.txt,
30643 runtime/doc/if_pyth.txt, runtime/doc/if_tcl.txt,
30644 runtime/doc/indent.txt, runtime/doc/index.txt,
30645 runtime/doc/insert.txt, runtime/doc/intro.txt,
30646 runtime/doc/map.txt, runtime/doc/mbyte.txt,
30647 runtime/doc/message.txt, runtime/doc/motion.txt,
30648 runtime/doc/netbeans.txt, runtime/doc/options.txt,
30649 runtime/doc/os_dos.txt, runtime/doc/os_vms.txt,
30650 runtime/doc/os_win32.txt, runtime/doc/pattern.txt,
30651 runtime/doc/pi_netrw.txt, runtime/doc/pi_zip.txt,
30652 runtime/doc/popup.txt, runtime/doc/print.txt,
30653 runtime/doc/quickfix.txt, runtime/doc/quickref.txt,
30654 runtime/doc/remote.txt, runtime/doc/repeat.txt,
30655 runtime/doc/rileft.txt, runtime/doc/scroll.txt,
30656 runtime/doc/sign.txt, runtime/doc/spell.txt,
30657 runtime/doc/sponsor.txt, runtime/doc/starting.txt,
30658 runtime/doc/syntax.txt, runtime/doc/tabpage.txt,
30659 runtime/doc/tagsrch.txt, runtime/doc/terminal.txt,
30660 runtime/doc/term.txt, runtime/doc/testing.txt,
30661 runtime/doc/textprop.txt, runtime/doc/tips.txt,
30662 runtime/doc/todo.txt, runtime/doc/uganda.txt,
30663 runtime/doc/undo.txt, runtime/doc/usr_02.txt,
30664 runtime/doc/usr_04.txt, runtime/doc/usr_05.txt,
30665 runtime/doc/usr_06.txt, runtime/doc/usr_08.txt,
30666 runtime/doc/usr_09.txt, runtime/doc/usr_12.txt,
30667 runtime/doc/usr_20.txt, runtime/doc/usr_29.txt,
30668 runtime/doc/usr_40.txt, runtime/doc/usr_41.txt,
30669 runtime/doc/usr_45.txt, runtime/doc/usr_46.txt,
30670 runtime/doc/usr_50.txt, runtime/doc/usr_51.txt,
30671 runtime/doc/usr_52.txt, runtime/doc/usr_90.txt,
30672 runtime/doc/usr_toc.txt, runtime/doc/various.txt,
30673 runtime/doc/version5.txt, runtime/doc/version6.txt,
30674 runtime/doc/version7.txt, runtime/doc/version8.txt,
30675 runtime/doc/version9.txt, runtime/doc/vi_diff.txt,
30676 runtime/doc/vim9.txt, runtime/doc/visual.txt,
30677 runtime/doc/windows.txt, runtime/doc/tags, runtime/doc/Makefile
30678
30679Patch 8.2.5001
30680Problem: Checking translations affects the search pattern history.
30681Solution: Use "keeppatterns". (Doug Kearns)
30682Files: src/po/check.vim
30683
30684Patch 8.2.5002
30685Problem: deletebufline() may change Visual selection.
30686Solution: Disable Visual mode when using another buffer. (closes #10469)
30687Files: src/evalbuffer.c, src/testdir/test_bufline.vim
30688
30689Patch 8.2.5003
30690Problem: Cannot do bitwise shifts.
30691Solution: Add the >> and << operators. (Yegappan Lakshmanan, closes #8457)
30692Files: runtime/doc/eval.txt, src/errors.h, src/eval.c, src/structs.h,
30693 src/vim.h, src/vim9execute.c, src/vim9expr.c,
30694 src/testdir/test_expr.vim, src/testdir/test_vim9_disassemble.vim,
30695 src/testdir/test_vim9_expr.vim
30696
30697Patch 8.2.5004
30698Problem: Right shift on negative number does not work as documented.
30699Solution: Use a uvarnumber_T type cast.
30700Files: runtime/doc/eval.txt, src/eval.c, src/vim9expr.c,
30701 src/vim9execute.c, src/charset.c, src/testdir/test_expr.vim
30702
30703Patch 8.2.5005 (after 8.2.5003)
30704Problem: Compiler warning for uninitialized variable. (John Marriott)
30705Solution: Initialize the pointer to NULL.
30706Files: src/vim9expr.vim
30707
30708Patch 8.2.5006 (after 8.2.5003)
30709Problem: Asan warns for undefined behavior.
30710Solution: Cast the shifted value to unsigned.
30711Files: src/eval.c, src/vim9expr.c, src/vim9execute.c
30712
30713Patch 8.2.5007
30714Problem: Spell suggestion may use uninitialized memory. (Zdenek Dohnal)
30715Solution: Avoid going over the end of the word.
30716Files: src/spellsuggest.c, src/testdir/test_spell_utf8.vim
30717
30718Patch 8.2.5008
30719Problem: When 'formatoptions' contains "/" wrongly wrapping a long trailing
30720 comment.
30721Solution: Pass the OPENLINE_FORMAT flag.
30722Files: src/change.c, src/vim.h, src/textformat.c,
30723 src/testdir/test_textformat.vim
30724
30725Patch 8.2.5009
Bram Moolenaar8a3b8052022-06-26 12:21:15 +010030726Problem: Fold may not be closable after appending.
Bram Moolenaard799daa2022-06-20 11:17:32 +010030727Solution: Set the fd_small flag to MAYBE. (Brandon Simmons, closes #10471)
30728Files: src/fold.c, src/testdir/test_fold.vim
30729
30730Patch 8.2.5010
30731Problem: The terminal debugger uses various global variables.
30732Solution: Add a dictionary to hold the terminal debugger preferences.
30733Files: runtime/doc/terminal.txt,
30734 runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
30735
30736Patch 8.2.5011
30737Problem: Replacing an autocommand requires several lines.
30738Solution: Add the "replace" flag to autocmd_add(). (Yegappan Lakshmanan,
30739 closes #10473)
30740Files: runtime/doc/autocmd.txt, runtime/doc/builtin.txt, src/autocmd.c,
30741 src/testdir/test_autocmd.vim
30742
30743Patch 8.2.5012
30744Problem: Cannot select one character inside ().
30745Solution: Do not try to extend the area if it is empty. (closes #10472,
30746 closes #6616)
30747Files: src/textobject.c, src/testdir/test_textobjects.vim
30748
30749Patch 8.2.5013
30750Problem: After text formatting the cursor may be in an invalid position.
30751Solution: Correct the cursor position after formatting.
30752Files: src/textformat.c, src/testdir/test_textformat.vim
30753
30754Patch 8.2.5014
30755Problem: Byte offsets are wrong when using text properties.
30756Solution: Make sure text properties do not affect the byte counts.
30757 (Paul Ollis, closes #10474)
30758Files: src/memline.c, src/textprop.c, src/testdir/test_textprop.vim
30759
30760Patch 8.2.5015
30761Problem: Hoon and Moonscript files are not recognized.
30762Solution: Add filetype patterns. (Goc Dundar, closes #10478)
30763Files: runtime/filetype.vim, src/testdir/test_filetype.vim
30764
30765Patch 8.2.5016
30766Problem: Access before start of text with a put command.
30767Solution: Check the length is more than zero.
30768Files: src/register.c, src/testdir/test_put.vim
30769
30770Patch 8.2.5017
30771Problem: Gcc 12.1 warns for uninitialized variable.
30772Solution: Initialize the variable. (closes #10476)
30773Files: src/evalvars.c
30774
30775Patch 8.2.5018
30776Problem: Vim9: some code is not covered by tests.
30777Solution: Delete dead code.
30778Files: src/vim9instr.c, src/proto/vim9instr.pro, src/vim9compile.c,
30779 src/vim9expr.c,
30780
30781Patch 8.2.5019
30782Problem: Cannot get the first screen column of a character.
30783Solution: Let virtcol() optionally return a list. (closes #10482,
30784 closes #7964)
30785Files: runtime/doc/builtin.txt, src/evalfunc.c,
30786 src/testdir/test_functions.vim, src/testdir/test_vim9_builtin.vim
30787
30788Patch 8.2.5020
30789Problem: Using 'imstatusfunc' and 'imactivatefunc' breaks 'foldopen'.
30790Solution: Save and restore the KeyTyped flag. (closes #10479)
30791Files: src/gui_xim.c, src/testdir/test_iminsert.vim
Bram Moolenaarc51cf032022-02-26 12:25:45 +000030792
30793
Bram Moolenaard799daa2022-06-20 11:17:32 +010030794Patch 8.2.5021
30795Problem: Build fails with normal features and +terminal. (Dominique Pellé)
30796Solution: Add #ifdefs. (closes #10484)
30797Files: src/terminal.c
30798
30799Patch 8.2.5022
30800Problem: 'completefunc'/'omnifunc' error does not end completion.
30801Solution: Check if there was an error or exception. (closes #10486,
30802 closes #4218)
30803Files: src/insexpand.c, src/testdir/test_ins_complete.vim
30804
30805Patch 8.2.5023
30806Problem: Substitute overwrites allocated buffer.
30807Solution: Disallow undo when in a substitute command.
30808Files: src/normal.c, src/undo.c, src/testdir/test_substitute.vim
30809
30810Patch 8.2.5024
30811Problem: Using freed memory with "]d".
30812Solution: Copy the pattern before searching.
30813Files: src/normal.c, src/testdir/test_tagjump.vim
30814
30815Patch 8.2.5025
30816Problem: Vim9: a few lines not covered by tests.
30817Solution: Add a few tests.
30818Files: src/vim9script.c, src/testdir/test_vim9_assign.vim,
30819 src/testdir/test_vim9_import.vim
30820
30821Patch 8.2.5026
30822Problem: Vim9: a few lines not covered by tests.
30823Solution: Delete dead code. Add a few test cases. make "12->func()" work.
30824Files: src/vim9type.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
30825 src/vim9compile.c, src/testdir/test_vim9_assign.vim,
30826 src/testdir/test_vim9_func.vim
30827
30828Patch 8.2.5027
30829Problem: Error for missing :endif when an exception was thrown. (Dani
30830 Dickstein)
30831Solution: Do not give an error when aborting. (closes #10490)
30832Files: src/ex_docmd.c, src/testdir/test_trycatch.vim
30833
30834Patch 8.2.5028
30835Problem: Syntax regexp matching can be slow.
30836Solution: Adjust the counters for checking the timeout to check about once
30837 per msec. (closes #10487, closes #2712)
30838Files: src/regexp_bt.c, src/regexp_nfa.c
30839
30840Patch 8.2.5029
30841Problem: "textlock" is always zero.
30842Solution: Remove "textlock" and rename "textwinlock" to "textlock".
30843 (closes #10489)
30844Files: runtime/doc/insert.txt, runtime/doc/tags, src/beval.c,
30845 src/change.c, src/edit.c, src/errors.h, src/eval.c, src/ex_cmds.c,
30846 src/ex_getln.c, src/proto/ex_getln.pro, src/globals.h,
30847 src/indent.c, src/insexpand.c, src/map.c, src/register.c,
30848 src/undo.c, src/window.c, src/testdir/test_edit.vim,
30849 src/testdir/test_ins_complete.vim, src/testdir/test_popup.vim,
30850 src/testdir/test_quickfix.vim
30851
30852Patch 8.2.5030
30853Problem: autocmd_add() can only handle one event and pattern.
30854Solution: Support a list of events and patterns. (Yegappan Lakshmanan,
30855 closes #10483)
30856Files: runtime/doc/builtin.txt, src/autocmd.c, src/errors.h,
30857 src/testdir/test_autocmd.vim
30858
30859Patch 8.2.5031
30860Problem: Cannot easily run the benchmarks.
30861Solution: Have "make benchmark" in the src directory work.
30862Files: src/Makefile, src/testdir/Makefile
30863
30864Patch 8.2.5032
30865Problem: Python 3 test fails without the GUI.
30866Solution: Check the balloon_eval feature is available.
30867Files: src/testdir/test_python3.vim
30868
30869Patch 8.2.5033 (after 8.2.5030)
30870Problem: Build error with +eval but without +quickfix. Warning for
30871 uninitialized variable.
30872Solution: Adjust #ifdefs. (John Marriott)
30873Files: src/errors.h, src/autocmd.c
30874
30875Patch 8.2.5034
30876Problem: There is no way to get the byte index from a virtual column.
30877Solution: Add virtcol2col(). (Yegappan Lakshmanan, closes #10477,
30878 closes #10098)
30879Files: runtime/doc/builtin.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
30880 src/move.c, src/proto/move.pro, src/testdir/test_cursor_func.vim
30881
30882Patch 8.2.5035
30883Problem: When splitting a window the changelist position moves.
30884Solution: Set the changelist index a bit later. (closes #10493)
30885Files: src/window.c, src/testdir/test_changelist.vim,
30886 src/testdir/test_normal.vim
30887
30888Patch 8.2.5036 (after 8.2.5028)
30889Problem: Using two counters for timeout check in NFA engine.
30890Solution: Use only one counter. Tune the counts based on guessing.
30891Files: src/regexp_nfa.c
30892
30893Patch 8.2.5037
30894Problem: Cursor position may be invalid after "0;" range.
30895Solution: Check the cursor position when it was set by ";" in the range.
30896Files: src/ex_docmd.c, src/testdir/test_excmd.vim
30897
30898Patch 8.2.5038
30899Problem: A finished terminal in a popup window does not show a scrollbar.
30900Solution: Show the scrollbar if the terminal job is finished. (closes
30901 #10497)
30902Files: src/popupwin.c, src/testdir/test_popupwin.vim,
30903 src/testdir/dumps/Test_popupwin_poptermscroll_1.dump,
30904 src/testdir/dumps/Test_popupwin_poptermscroll_2.dump,
30905 src/testdir/dumps/Test_popupwin_poptermscroll_3.dump
30906
30907Patch 8.2.5039
30908Problem: Confusing error if first argument of popup_create() is wrong.
30909Solution: Give a more informative error.
30910Files: src/popupwin.c, src/testdir/test_popupwin.vim, src/errors.h,
30911 src/testdir/dumps/Test_popup_settext_07.dump
30912
30913Patch 8.2.5040
30914Problem: Scrollbar thumb in scrolled popup not visible.
30915Solution: Show at least one thumb character. (fixes 10492)
30916Files: src/popupwin.c, src/testdir/test_popupwin.vim,
30917 src/testdir/dumps/Test_popupwin_scroll_13.dump
30918
30919Patch 8.2.5041
30920Problem: Cannot close a terminal popup with "NONE" job.
30921Solution: Adjust the conditions for whether a job is running.
30922 (closes #10498)
30923Files: src/buffer.c, src/terminal.c, src/proto/terminal.pro,
30924 src/undo.c, src/testdir/test_popupwin.vim
30925
30926Patch 8.2.5042
30927Problem: Scrollbar thumb in tall scrolled popup not visible.
30928Solution: Show at least one thumb character. (fixes 10492)
30929Files: src/popupwin.c, src/testdir/test_popupwin.vim,
30930 src/testdir/dumps/Test_popupwin_scroll_13.dump
30931
30932Patch 8.2.5043
30933Problem: Can open a cmdline window from a substitute expression.
30934Solution: Disallow opening a command line window when text or buffer is
30935 locked.
30936Files: src/buffer.c, src/ex_getln.c, src/proto/ex_getln.pro,
30937 src/window.c, src/testdir/test_substitute.vim
30938
30939Patch 8.2.5044 (after 8.2.5043)
30940Problem: Command line test fails.
30941Solution: Also beep when cmdline win can't be opened because of locks.
30942 Make the test not beep. Make the test pass on MS-Windows.
30943Files: src/ex_getln.c, src/testdir/test_substitute.vim
30944
30945Patch 8.2.5045
30946Problem: Can escape a terminal popup window when the job is finished.
30947Solution: Only check for a finished job where it is relevant.
30948 (closes #10253)
30949Files: src/popupwin.c, src/testdir/test_popupwin.vim,
30950 src/testdir/dumps/Test_popupwin_poptermscroll_1.dump,
30951 src/testdir/dumps/Test_popupwin_poptermscroll_2.dump,
30952 src/testdir/dumps/Test_popupwin_poptermscroll_3.dump,
30953 src/testdir/dumps/Test_popupwin_poptermscroll_4.dump
30954
30955Patch 8.2.5046
30956Problem: vim_regsub() can overwrite the destination.
30957Solution: Pass the destination length, give an error when it doesn't fit.
30958Files: src/regexp.h, src/regexp.c, src/proto/regexp.pro, src/eval.c,
30959 src/ex_cmds.c
30960
30961Patch 8.2.5047
30962Problem: CurSearch highlight is often wrong.
30963Solution: Remember the last highlighted position and redraw when needed.
30964Files: src/globals.h, src/match.c, src/drawscreen.c, src/change.c,
30965 src/testdir/test_search.vim,
30966 src/testdir/dumps/Test_hlsearch_cursearch_changed_1.dump
30967
30968Patch 8.2.5048
30969Problem: When using XIM the gui test may fail.
30970Solution: Only use --not-a-term when not using XIM.
30971Files: src/testdir/test_gui.vim
30972
30973Patch 8.2.5049
30974Problem: Insufficient tests for autocommands.
30975Solution: Add a few more tests. (Yegappan Lakshmanan, closes #10507)
30976Files: src/autocmd.c, src/testdir/gen_opt_test.vim,
30977 src/testdir/test_autocmd.vim, src/testdir/test_cmdline.vim
30978
30979Patch 8.2.5050
30980Problem: Using freed memory when searching for pattern in path.
30981Solution: Make a copy of the line.
30982Files: src/search.c, src/testdir/test_tagjump.vim
30983
30984Patch 8.2.5051
30985Problem: Check for autocmd_add() event argument is confusing.
30986Solution: Make the code more straightforward.
30987Files: src/autocmd.c
30988
30989Patch 8.2.5052
30990Problem: CI checkout step title is a bit cryptic.
30991Solution: Add a better title. (closes #10509)
30992Files: .github/workflows/ci.yml, .github/workflows/coverity.yml,
30993 .github/workflows/codeql-analysis.yml
30994
30995Patch 8.2.5053
30996Problem: Cannot have a comment halfway an expression in an autocmd command
30997 block.
30998Solution: When skipping over the NL also skip over comments. (closes #10519)
30999Files: src/eval.c, src/testdir/test_autocmd.vim
31000
31001Patch 8.2.5054
31002Problem: No good filetype for conf files similar to dosini.
31003Solution: Add the confini filetype. (closes #10518)
31004Files: runtime/filetype.vim, src/testdir/test_filetype.vim
31005
31006Patch 8.2.5055
31007Problem: Statusline is not updated when terminal title changes.
31008Solution: Redraw the status line when the title changes. (issue #10425)
31009Files: src/terminal.c
31010
31011Patch 8.2.5056
31012Problem: The channel log only contains some of the raw terminal output.
31013Solution: Add the "o" flag to log all terminal output. Use it for "--log".
31014Files: runtime/doc/channel.txt, runtime/doc/starting.txt, src/main.c,
31015 src/channel.c, src/vim.h, src/term.c, src/edit.c, src/normal.c,
31016 src/optionstr.c
31017
31018Patch 8.2.5057
31019Problem: Using gettimeofday() for timeout is very inefficient.
31020Solution: Set a platform dependent timer. (Paul Ollis, closes #10505)
31021Files: src/auto/configure, src/config.h.in, src/configure.ac,
31022 src/drawscreen.c, src/errors.h, src/evalfunc.c, src/ex_cmds.c,
31023 src/ex_getln.c, src/match.c, src/os_mac.h, src/os_macosx.m,
31024 src/os_unix.c, src/os_win32.c, src/proto/os_unix.pro,
31025 src/proto/os_win32.pro, src/proto/regexp.pro, src/quickfix.c,
31026 src/regexp.c, src/regexp.h, src/regexp_bt.c, src/regexp_nfa.c,
31027 src/screen.c, src/search.c, src/structs.h, src/syntax.c,
31028 src/testdir/test_hlsearch.vim, src/testdir/test_search.vim,
31029 src/testdir/test_syntax.vim
31030
31031Patch 8.2.5058
31032Problem: input() does not handle composing characters properly.
31033Solution: Use mb_cptr2char_adv() instead of mb_ptr2char_adv().
31034 (closes #10527)
31035Files: src/getchar.c, src/testdir/test_functions.vim
31036
31037Patch 8.2.5059
31038Problem: Autoconf 2.71 produces many obsolete warnings.
31039Solution: Replace obsolete macros with non-obsolete ones, where the
31040 functionality does not change. (issue #10528)
31041Files: src/configure.ac, src/auto/configure
31042
31043Patch 8.2.5060 (after 8.2.5059)
31044Problem: Running configure fails.
31045Solution: Remove line break.
31046Files: src/configure.ac, src/auto/configure
31047
31048Patch 8.2.5061
31049Problem: C89 requires signal handlers to return void.
31050Solution: Drop RETSIGTYPE and hard-code a void return value.
31051Files: src/configure.ac, src/auto/configure, src/if_cscope.c,
31052 src/os_unix.c, src/pty.c, src/os_mac.h, src/os_vms_conf.h,
31053 src/config.h.in, src/osdef1.h.in
31054
31055Patch 8.2.5062
31056Problem: Coverity warns for dead code.
31057Solution: Remove the dead code.
31058Files: src/os_unix.c, src/match.c
31059
31060Patch 8.2.5063
31061Problem: Error for a command may go over the end of IObuff.
31062Solution: Truncate the message.
31063Files: src/ex_docmd.c, src/testdir/test_cmdline.vim
31064
31065Patch 8.2.5064
31066Problem: No test for what 8.1.0052 fixes.
31067Solution: Add a test. (closes #10531)
31068Files: src/getchar.c, src/testdir/test_mapping.vim
31069
31070Patch 8.2.5065
31071Problem: Wrong return type for main() in tee.c.
31072Solution: Use "int" instead of "void". Remove unused variable.
31073Files: src/tee/tee.c
31074
31075Patch 8.2.5066
31076Problem: Can specify multispace listchars only for whole line.
31077Solution: Add "leadmultispace". (Christian Brabandt, closes #10496)
31078Files: runtime/doc/options.txt, src/drawline.c, src/message.c,
31079 src/screen.c, src/structs.h, src/window.c,
31080 src/testdir/test_listchars.vim
31081
31082Patch 8.2.5067
31083Problem: Timer_create is not available on every Mac system. (Hisashi T
31084 Fujinaka)
31085Solution: Adjust #ifdef.
31086Files: src/os_unix.c
31087
31088Patch 8.2.5068
31089Problem: Gcc 12.1 warning when building tee.
31090Solution: Change type to size_t. (John Marriott)
31091Files: src/tee/tee.c
31092
31093Patch 8.2.5069
31094Problem: Various warnings from clang on MS-Windows.
31095Solution: Fix the code to avoid the warnings. (Yegappan Lakshmanan,
31096 closes #10538)
31097Files: src/dosinst.c, src/fileio.c, src/gui_w32.c, src/os_mswin.c,
31098 src/os_win32.c
31099
31100Patch 8.2.5070
31101Problem: Unnecessary code.
31102Solution: Remove code that isn't needed. (closes #10534)
31103Files: src/message.c, src/screen.c
31104
31105Patch 8.2.5071
31106Problem: With some Mac OS version clockid_t is redefined.
31107Solution: Adjust #ifdefs. (Ozaki Kiichi, closes #10549)
31108Files: src/os_mac.h
31109
31110Patch 8.2.5072
31111Problem: Using uninitialized value and freed memory in spell command.
31112Solution: Initialize "attr". Check for empty line early.
31113Files: src/spell.c, src/testdir/test_spell_utf8.vim
31114
31115Patch 8.2.5073
31116Problem: Clang on MS-Windows produces warnings.
31117Solution: Avoid the warnings. (Yegappan Lakshmanan, closes #10546)
31118Files: src/dosinst.c, src/dosinst.h, src/gui_dwrite.cpp, src/gui_w32.c,
31119 src/iscygpty.c, src/libvterm/src/vterm_internal.h, src/mbyte.c,
31120 src/os_win32.c, src/os_win32.h, src/term.c, src/xdiff/xinclude.h
31121
31122Patch 8.2.5074
31123Problem: Spell test fails on MS-Windows.
31124Solution: Do not change 'encoding'
31125Files: src/testdir/test_spell_utf8.vim
31126
31127Patch 8.2.5075
31128Problem: Clang gives an out of bounds warning.
31129Solution: adjust conditional expression (John Marriott)
31130Files: src/ui.c
31131
31132Patch 8.2.5076
31133Problem: Unnecessary code.
31134Solution: Remove code and replace with function call. (closes #10552)
31135Files: src/drawline.c, src/getchar.c
31136
31137Patch 8.2.5077
31138Problem: Various warnings from clang on MS-Windows.
31139Solution: Avoid the warnings. (Yegappan Lakshmanan, closes #10553)
31140Files: src/dosinst.c, src/dosinst.h, src/filepath.c, src/gui_w32.c,
31141 src/misc1.c, src/os_win32.c
31142
31143Patch 8.2.5078
31144Problem: Substitute test has a one second delay.
31145Solution: Use ":silent!". Add another test case. (closes #10558)
31146Files: src/testdir/test_substitute.vim
31147
31148Patch 8.2.5079
31149Problem: DirChanged autocommand may use freed memory. (Shane-XB Qian)
31150Solution: Free the memory later. (closes #10555)
31151Files: src/ex_docmd.c, src/testdir/test_autocmd.vim
31152
31153Patch 8.2.5080
31154Problem: When indenting gets out of hand it is hard to stop.
31155Solution: When line gets too long set got_int.
31156Files: src/indent.c
31157
31158Patch 8.2.5081
31159Problem: Autocmd test fails on MS-Windows.
31160Solution: Set shellslash to get forward slashes.
31161Files: src/testdir/test_autocmd.vim
31162
31163Patch 8.2.5082 (after 8.2.5080)
31164Problem: Retab test fails.
31165Solution: Disable the test for now.
31166Files: src/testdir/test_retab.vim
31167
31168Patch 8.2.5083
31169Problem: Autocmd test still fails on MS-Windows.
31170Solution: Change backward to forward slashes.
31171Files: src/testdir/test_autocmd.vim
31172
31173Patch 8.2.5084
31174Problem: When the GUI shows a dialog tests get stuck.
31175Solution: Add the --gui-dialog-file argument.
31176Files: runtime/doc/starting.txt, src/Make_mvc.mak, src/gui.c, src/main.c,
31177 src/message.c, src/os_mswin.c, src/proto/gui.pro,
31178 src/proto/main.pro, src/structs.h, src/testdir/Make_dos.mak,
31179 src/testdir/Make_ming.mak, src/testdir/Makefile,
31180 src/testdir/runtest.vim, src/testdir/shared.vim
31181
31182Patch 8.2.5085
31183Problem: Gcc gives warning for signed/unsigned difference.
31184Solution: Use a different pointer type. (John Marriott)
31185Files: src/os_mswin.c
31186
31187Patch 8.2.5086
31188Problem: CI runs on Windows 2019.
31189Solution: Switch to Windows 2022. (closes #10566)
31190Files: .github/workflows/ci.yml
31191
31192Patch 8.2.5087
31193Problem: Cannot build with clang on MS-Windows.
31194Solution: Add support for building with clang. (Yegappan Lakshmanan,
31195 closes #10557)
31196Files: src/GvimExt/Make_ming.mak, src/INSTALLpc.txt,
31197 src/Make_cyg_ming.mak
31198
31199Patch 8.2.5088
31200Problem: Value of cmod_verbose is a bit complicated to use.
31201Solution: Use zero for not set, value + 1 when set. (closes #10564)
31202Files: src/ex_docmd.c, src/ex_getln.c, src/globals.h, src/structs.h
31203
31204Patch 8.2.5089
31205Problem: Some functions return a different value on failure.
31206Solution: Initialize the return value earlier. (Yegappan Lakshmanan,
31207 closes #10568)
31208Files: src/autocmd.c, src/dict.c, src/evalfunc.c, src/list.c
31209
31210Patch 8.2.5090
31211Problem: MS-Windows: vim.def is no longer used.
31212Solution: Delete vim.def. (Ken Takata, closes #10569)
31213Files: Filelist, Makefile, src/vim.def
31214
31215Patch 8.2.5091
31216Problem: Terminal test fails with some shell commands.
31217Solution: Disable setting the window title. (closes #10530)
31218Files: src/testdir/test_terminal.vim
31219
31220Patch 8.2.5092
31221Problem: Using "'<,'>" in Ex mode may compare unrelated pointers.
31222Solution: Set eap->cmd to "+" only later.
31223Files: src/ex_docmd.c
31224
31225Patch 8.2.5093
31226Problem: Error message for unknown command may mention the command twice.
31227 (Malcolm Rowe)
31228Solution: Add the did_append_cmd flag. (closes #10570)
31229Files: src/ex_docmd.c
31230
31231Patch 8.2.5094
31232Problem: MS-Windows GUI: empty command may cause a dialog.
31233Solution: Delete the dialog file. Improve the message.
31234Files: src/testdir/runtest.vim, src/testdir/test_ex_mode.vim
31235
31236Patch 8.2.5095
31237Problem: Terminal test still fails with some shell commands.
31238Solution: Disable setting the window title in the Vim instance running in a
31239 terminal window. (closes #10530)
31240Files: src/testdir/test_terminal.vim
31241
31242Patch 8.2.5096 (after 8.2.5095)
31243Problem: Terminal test still fails with some shell commands.
31244Solution: Add missing "call". (closes #10530)
31245Files: src/testdir/test_terminal.vim
31246
31247Patch 8.2.5097
31248Problem: Using uninitialized memory when using 'listchars'.
31249Solution: Use the length returned by mb_char2bytes(). (closes #10576)
31250Files: src/message.c
31251
31252Patch 8.2.5098
31253Problem: Spelldump test sometimes hangs.
31254Solution: Catch the problem of the spell file not being found to avoid
31255 hanging in the download dialog.
31256Files: src/testdir/test_spell.vim
31257
31258Patch 8.2.5099
31259Problem: Some terminal tests are not retried.
31260Solution: Mark terminal tests as flaky.
31261Files: src/testdir/test_terminal.vim
31262
31263Patch 8.2.5100
31264Problem: Memory usage tests are not retried.
31265Solution: Mark memory usage tests as flaky.
31266Files: src/testdir/test_memory_usage.vim
31267
31268Patch 8.2.5101
31269Problem: MS-Windows with MinGW: $CC may be "cc" instead of "gcc".
31270Solution: Set $CC if it is not matching "clang". (Yegappan Lakshmanan,
31271 closes #10578)
31272Files: src/INSTALLpc.txt, src/Make_cyg_ming.mak
31273
31274Patch 8.2.5102
31275Problem: Interrupt not caught in test.
31276Solution: Consider an exception thrown in the current try/catch when got_int
31277 is set. Also catch early exit when not using try/catch.
31278Files: src/indent.c, src/testing.c, src/testdir/test_retab.vim,
31279 src/testdir/runtest.vim
31280
31281Patch 8.2.5103
31282Problem: Build fails with small features.
31283Solution: Add #ifdef. Skip test on MS-Windows.
31284Files: src/indent.c, src/testdir/test_retab.vim
31285
31286Patch 8.2.5104 (after 8.2.5103)
31287Problem: Test hangs on MS-Windows.
31288Solution: Skip another test on MS-Windows.
31289Files: src/testdir/test_retab.vim
31290
31291Patch 8.2.5105 (after 8.2.5104)
31292Problem: Test still hangs on MS-Windows.
31293Solution: Skip "nocatch" test the right way.
31294Files: src/testdir/test_retab.vim
31295
31296Patch 8.2.5106
31297Problem: Default cmdwin mappings are re-mappable.
31298Solution: Make the default mappings not re-mappable. (closes #10580) Use
31299 symbols for the first do_map() argument.
31300Files: src/vim.h, src/ex_getln.c, src/map.c, src/proto/map.pro,
31301 src/digraph.c, src/netbeans.c
31302
31303Patch 8.2.5107
31304Problem: Some callers of rettv_list_alloc() check for not OK. (Christ van
31305 Willegen)
31306Solution: Use "==" instead of "!=" when checking the return value.
31307Files: src/evalbuffer.c, src/channel.c, src/cmdexpand.c, src/evalfunc.c,
31308 src/evalwindow.c, src/insexpand.c, src/job.c, src/list.c,
31309 src/map.c, src/menu.c, src/mouse.c, src/move.c, src/sign.c,
31310 src/textprop.c, src/term.c, src/time.c
31311
31312Patch 8.2.5108
31313Problem: Retab test disabled because it hangs on MS-Windows.
31314Solution: Also set got_int at the other place a overlong text is detected.
31315Files: src/indent.c, src/testdir/test_retab.vim
31316
31317Patch 8.2.5109
31318Problem: Mode not updated after CTRL-O CTRL-C in Insert mode.
31319Solution: Set redraw_mode and use it. (closes #10581)
31320Files: src/main.c, src/normal.c, src/testdir/test_normal.vim,
31321 src/testdir/dumps/Test_mode_updated_1.dump
31322
31323Patch 8.2.5110
31324Problem: Icon filetype not recognized from the first line.
31325Solution: Add a check for the first line. (Doug Kearns)
31326Files: runtime/autoload/dist/script.vim, src/testdir/test_filetype.vim
31327
31328Patch 8.2.5111
31329Problem: No test for --gui-dialog-file.
31330Solution: Add a test.
31331Files: src/testdir/test_gui.vim
31332
31333Patch 8.2.5112 (after 8.2.5111)
31334Problem: Gui test hangs on MS-Windows.
31335Solution: Use "!start" to start Vim.
31336Files: src/testdir/test_gui.vim
31337
31338Patch 8.2.5113
31339Problem: Timer becomes invalid after fork/exec, :gui gives errors. (Gabriel
31340 Dupras)
31341Solution: Delete the timer befor forking. (closes #10584)
31342Files: src/os_unix.c, src/proto/os_unix.pro, src/gui.c
31343
31344Patch 8.2.5114
31345Problem: Time limit on searchpair() does not work properly.
31346Solution: Set the time limit once instead of for each regexp. (closes #10562)
31347Files: src/search.c, src/evalfunc.c, src/testdir/test_search.vim
31348
31349Patch 8.2.5115
31350Problem: Search timeout is overrun with some patterns.
31351Solution: Check for timeout in more places. Make the flag volatile and
31352 atomic. Use assert_inrange() to see what happened.
31353Files: src/regexp_nfa.c, src/regexp_bt.c, src/regexp.c, src/os_unix.c,
31354 src/proto/os_unix.pro, src/testdir/test_search.vim
31355
31356Patch 8.2.5116
31357Problem: "limit" option of matchfuzzy() not always respected.
31358Solution: Remove "else". (Kazuyuki Miyagi, closes #10586)
31359Files: runtime/doc/builtin.txt, src/search.c,
31360 src/testdir/test_matchfuzzy.vim
31361
31362Patch 8.2.5117
31363Problem: Crash when calling a Lua callback from a :def function. (Bohdan
31364 Makohin)
31365Solution: Handle FC_CFUNC in call_user_func_check(). (closes #10587)
31366Files: src/userfunc.c, src/testdir/test_lua.vim
31367
31368Patch 8.2.5118
31369Problem: MS-Windows: sending a message to another Vim may hang if that Vim
31370 is halted.
31371Solution: Add a timeout to serverSendToVim(). (Ken Takata, closes #10585)
31372Files: runtime/pack/dist/opt/editexisting/plugin/editexisting.vim,
31373 src/os_mswin.c
31374
31375Patch 8.2.5119
31376Problem: CI uses cache v2.
31377Solution: Use cache v3. (closes #10588)
31378Files: .github/workflows/ci.yml
31379
31380Patch 8.2.5120
31381Problem: Searching for quotes may go over the end of the line.
31382Solution: Check for running into the NUL.
31383Files: src/textobject.c
31384
31385Patch 8.2.5121
31386Problem: Interrupt test sometimes fails.
31387Solution: Use a different file name.
31388Files: src/testdir/test_interrupt.vim
31389
31390Patch 8.2.5122
31391Problem: Lisp indenting my run over the end of the line.
31392Solution: Check for NUL earlier.
31393Files: src/indent.c, src/testdir/test_indent.vim
31394
31395Patch 8.2.5123
31396Problem: Using invalid index when looking for spell suggestions.
31397Solution: Do not decrement the index when it is zero.
31398Files: src/spellsuggest.c, src/testdir/test_spell.vim
31399
31400Patch 8.2.5124
31401Problem: When syntax timeout test fails it does not show the time.
31402Solution: Use assert_inrange().
31403Files: src/testdir/test_syntax.vim
31404
31405Patch 8.2.5125
Bram Moolenaar8a3b8052022-06-26 12:21:15 +010031406Problem: MS-Windows: warnings from MinGW compiler.
Bram Moolenaard799daa2022-06-20 11:17:32 +010031407Solution: Use "volatile". (Yasuhiro Matsumoto, closes #10589) Initialize
31408 variable.
31409Files: src/os_win32.c, src/proto/os_win32.pro, src/map.c
31410
31411Patch 8.2.5126
31412Problem: Substitute may overrun destination buffer.
31413Solution: Disallow switching buffers in a substitute expression.
31414Files: src/ex_docmd.c, src/testdir/test_substitute.vim
31415
31416Patch 8.2.5127
31417Problem: Using assert_true() does not show value on failure.
31418Solution: Use assert_inrange(). (closes #10593)
31419Files: src/testdir/test_channel.vim, src/testdir/test_hlsearch.vim
31420
31421Patch 8.2.5128
31422Problem: Syntax highlighting disabled when using synID() in searchpair()
31423 skip expression and it times out. (Jaehwang Jung)
31424Solution: Add the redrawtime_limit_set flag. (closes #10562)
31425Files: src/globals.h, src/drawscreen.c, src/syntax.c
31426
31427Patch 8.2.5129
31428Problem: Timeout handling is not optimal.
31429Solution: Avoid setting timeout_flag twice. Adjust the pointer when
31430 stopping the regexp timeout. Adjust variable name.
31431Files: src/os_unix.c, src/os_win32.c, src/regexp.c
Bram Moolenaarc51cf032022-02-26 12:25:45 +000031432
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010031433Patch 8.2.5130
31434Problem: Edit test for mode message fails when using valgrind.
31435Solution: Use WaitForAssert(). Run beep test later.
31436Files: src/testdir/test_edit.vim
31437
31438Patch 8.2.5131
31439Problem: Timeout implementation is not optimal.
31440Solution: Further improvements for timeouts. Add a test for searchpair()
31441 timeout. (partly by Paul Ollis)
31442Files: src/configure.ac, src/auto/configure,
31443 src/testdir/test_hlsearch.vim, src/testdir/test_search.vim
31444
31445Patch 8.2.5132
31446Problem: :mkview test doesn't test much.
31447Solution: Save the view with the folds closed. (James McCoy, closes #10596)
31448Files: src/testdir/test_mksession.vim
31449
31450Patch 8.2.5133
31451Problem: MacOS: build fails.
31452Solution: Remove "#if 0" from timer_delete().
31453Files: src/os_macosx.m
31454
31455Patch 8.2.5134
31456Problem: Function has confusing name.
31457Solution: Rename tgetent_error() to invoke_tgetent().
31458Files: src/term.c
31459
31460Patch 8.2.5135
31461Problem: Running configure gives warnings for main() return type.
31462Solution: Specify "int" return type. Avoid a few more warnings.
31463Files: src/configure.ac, src/auto/configure
31464
31465Patch 8.2.5136
31466Problem: Debugger test fails when run with valgrind.
31467Solution: Wait longer when using valgrind.
31468Files: src/testdir/shared.vim, src/testdir/test_debugger.vim,
31469 src/testdir/test_search.vim
31470
31471Patch 8.2.5137
31472Problem: Cannot build without the +channel feature. (Dominique Pellé)
31473Solution: Add #ifdef around ch_log() calls. (closes #10598)
31474Files: src/os_unix.c, src/regexp_nfa.c, src/regexp_bt.c
31475
31476Patch 8.2.5138
31477Problem: Various small issues.
31478Solution: Various small improvments.
31479Files: src/filepath.c, src/job.c, src/mark.c, src/move.c,
31480 src/popupwin.c, src/testdir/test_filetype.vim
31481
31482Patch 8.2.5139
31483Problem: TIME_WITH_SYS_TIME is no longer supported by autoconf.
31484Solution: Always include time.h.
31485Files: src/os_unix.h
31486
31487Patch 8.2.5140
31488Problem: Seachpair timeout test is flaky.
31489Solution: Mark the test as flaky so it is retried.
31490Files: src/testdir/test_search.vim
31491
31492Patch 8.2.5141
31493Problem: Using "volatile int" in a signal handler might be wrong.
31494Solution: Use "volatile sig_atomic_t".
31495Files: src/os_unix.c, src/proto/os_unix.pro, src/os_win32.c,
31496 src/proto/os_win32.pro, src/regexp.c,
31497
31498Patch 8.2.5142
31499Problem: Startup test fails if there is a status bar at the top of the
31500 screen. (Ernie Rael)
31501Solution: Use a larger vertical offset in the test.
31502Files: src/testdir/test_startup.vim
31503
31504Patch 8.2.5143
31505Problem: Some tests fail when using valgrind. Spurious leak reports.
31506Solution: Use WaitForAssert(). Avoid failing fork/exec. Skip tests where a
31507 job is killed when running valgrind.
31508Files: src/testdir/test_iminsert.vim, src/testdir/test_popup.vim,
31509 src/testdir/test_cscope.vim, src/testdir/test_channel.vim
31510
31511Patch 8.2.5144
31512Problem: With 'lazyredraw' set completion menu may be displayed wrong.
31513Solution: When the popup menu is visible do not insert a screen line.
31514 (closes #10601)
31515Files: src/screen.c
31516
31517Patch 8.2.5145
31518Problem: Exit test causes spurious valgrind reports.
31519Solution: Skip test. Add CheckNotValgrind.
31520Files: src/testdir/test_exit.vim, src/testdir/check.vim,
31521 src/testdir/test_channel.vim
31522
31523Patch 8.2.5146
31524Problem: Memory leak when substitute expression nests.
31525Solution: Use an array of expression results.
31526Files: src/alloc.c, src/regexp.c, src/proto/regexp.pro,
31527 src/errors.h, src/ex_cmds.c, src/testdir/test_substitute.vim
31528
31529Patch 8.2.5147
31530Problem: Flaky test always fails on retry.
31531Solution: Delete the created function.
31532Files: src/testdir/test_search.vim
31533
31534Patch 8.2.5148
31535Problem: Invalid memory access when using an expression on the command line.
31536Solution: Make sure the position does not go negative.
31537Files: src/ex_getln.c, src/testdir/test_cmdline.vim
31538
31539Patch 8.2.5149 (after 8.2.5148)
31540Problem: Cannot build without the +eval feature. (Tony Mechelynck)
31541Solution: Add #ifdefs.
31542Files: src/ex_getln.c
31543
31544Patch 8.2.5150
31545Problem: Read past the end of the first line with ":0;'{".
31546Solution: When on line zero check the column is valid for line one.
31547Files: src/ex_docmd.c, src/testdir/test_cmdline.vim
31548
31549Patch 8.2.5151
31550Problem: Reading beyond the end of the line with lisp indenting.
31551Solution: Avoid going over the NUL at the end of the line.
31552Files: src/indent.c, src/testdir/test_lispwords.vim
31553
31554Patch 8.2.5152
31555Problem: search() gets stuck with "c" and skip evaluates to true.
31556Solution: Reset the SEARCH_START option. (closes #10608)
31557Files: src/evalfunc.c, src/testdir/test_syntax.vim
31558
31559Patch 8.2.5153
31560Problem: "make uninstall" does not remove colors/lists.
31561Solution: Add a line to the Makefile. (closes #10609)
31562Files: src/Makefile
31563
31564Patch 8.2.5154
31565Problem: Still mentioning version8, some cosmetic issues.
31566Solution: Prefer mentioning version9, cosmetic improvements.
31567Files: src/version.c, src/if_tcl.c, src/regexp.c,
31568 src/testdir/test_gui.vim, src/os_unix.c, Filelist, src/Makefile
31569
31570Patch 8.2.5155
31571Problem: In diff mode windows may get out of sync. (Gary Johnson)
31572Solution: Avoid that the other window scrolls for 'cursorbind'.
31573Files: src/move.c, src/testdir/test_diffmode.vim,
31574 src/testdir/dumps/Test_diff_scroll_1.dump,
31575 src/testdir/dumps/Test_diff_scroll_2.dump
31576
31577Patch 8.2.5156
31578Problem: Search timeout test often fails with FreeBSD.
31579Solution: Double the maximum time.
31580Files: src/testdir/test_search.vim
31581
31582Patch 8.2.5157
31583Problem: MS-Windows GUI: CTRL-key combinations do not always work.
31584Solution: Handle special key combinations better. (closes #10613,
31585 closes #10602, closes #10579)
31586Files: src/gui_w32.c
Bram Moolenaarc51cf032022-02-26 12:25:45 +000031587
Bram Moolenaar8a3b8052022-06-26 12:21:15 +010031588Patch 8.2.5158
31589Problem: TSTP and INT signal tests are not run with valgrind.
31590Solution: Sleep a bit longer. (closes #10614)
31591Files: src/testdir/test_signals.vim
31592
31593Patch 8.2.5159 (after 8.2.5157)
31594Problem: Fix for CTRL-key combinations causes more problems than it solves.
31595Solution: Roll back the change.
31596Files: src/gui_w32.c
31597
31598Patch 8.2.5160
31599Problem: Accessing invalid memory after changing terminal size.
31600Solution: Adjust cmdline_row and msg_row to the value of Rows.
31601Files: src/term.c
31602
Bram Moolenaarc51cf032022-02-26 12:25:45 +000031603
31604 vim:tw=78:ts=8:noet:ft=help:norl: